@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #0b1220;
  --surface: #101c2e;
  --line: #263955;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --blue: #2563eb;
  font-family: Inter, system-ui, sans-serif;
  color: #fff;
  background: var(--bg);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .23em; }
a:hover { color: #b6eaff; }
:focus-visible { outline: 2px solid #7dd3fc; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.13; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.045em; }
p { color: var(--muted); }
.wrap { width: min(100% - 2.5rem, 71rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .6rem; left: .7rem; padding: .5rem 1rem; background: var(--bg); transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { background: #0a1323; border-bottom: 1px solid #23354f; }
.header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .65rem; padding-block: .8rem; }
.brand {
  display: flex;
  align-items: center;
  gap: 6.67%;
  aspect-ratio: 390 / 120;
  container-type: inline-size;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}
.brand--header { width: clamp(9rem, 29vw, 11.625rem); }
.brand--hero { width: clamp(12rem, 29vw, 19rem); margin: 0 auto 1.4rem; }
.brand--footer { width: 10.9375rem; }
.brand > img { width: 28.2%; }
.brand-text { position: relative; display: grid; gap: 1.5cqw; line-height: 1; }
.brand-text::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 22cqw;
  top: 50%;
  left: -4.9cqw;
  transform: translateY(-50%);
  background: #526c8b;
}
.brand-name { color: #fff; font-size: 16.4cqw; font-weight: 800; letter-spacing: -.0625em; }
.brand-name > span { color: #38BDF8; }
.brand-tagline { color: #e2e8f0; font-size: 3.08cqw; letter-spacing: .33em; }
nav { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .9rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: #cbd5e1; text-decoration: none; font-size: .9rem; font-weight: 600; }
nav a:hover { color: var(--accent); }
.menu-button { border: 1px solid var(--line); border-radius: .5rem; background: var(--surface); color: white; font: inherit; padding: .55rem .8rem; cursor: pointer; }
.hero {
  text-align: center;
  background: url("../img/onda.svg") center bottom / auto 9rem no-repeat,
    radial-gradient(ellipse at 50% 93%, #103567 0, transparent 60%),
    radial-gradient(ellipse at 80% 0%, #102949, transparent 60%), #091323;
  border-bottom: 1px solid var(--line);
}
.hero-inner { padding-block: clamp(3.2rem, 6vw, 5.5rem) clamp(6.5rem, 10vw, 9rem); }
.hero h1 { max-width: 14ch; margin-inline: auto; font-size: clamp(2.5rem, 6vw, 5.15rem); font-weight: 800; letter-spacing: -.06em; }
.hero h1 span { color: #8cd9fb; }
.desktop-break { display: none; }
.hero-description { max-width: 36rem; margin: 1.2rem auto 0; font-size: clamp(1rem, 2vw, 1.15rem); color: #b7c9e0; }
.slogan { display: flex; align-items: center; justify-content: center; gap: .65rem; margin-top: 1.2rem; color: #e0edf9; font-style: italic; }
.slogan::before, .slogan::after { content: ""; flex: 0 1 2rem; height: 1px; background: var(--accent); }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: .5rem; font: inherit; font-weight: 700; text-decoration: none; color: #fff; cursor: pointer; }
.primary { background: var(--blue); }
.primary:hover { background: #1d4ed8; color: #fff; }
.primary:disabled { cursor: wait; opacity: .75; }
.secondary { border-color: #526d90; background: #101e34; }
.secondary:hover { border-color: var(--accent); }
.section { padding-block: clamp(3.2rem, 7vw, 6rem); }
.band { background: #0d1728; border-block: 1px solid var(--line); }
.services-grid, .portfolio-grid { display: grid; gap: 1rem; margin-top: clamp(1.5rem, 3vw, 2.4rem); }
.service, .project { border: 1px solid var(--line); border-radius: .8rem; padding: 1.35rem; }
.service { background: var(--surface); }
.service h3 { margin: .85rem 0 .45rem; font-size: 1.15rem; }
.service-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid #2b5077; border-radius: .55rem; background: #112941; color: #72d5fd; }
.service-icon svg { width: 1.4rem; }
.project { min-height: 12rem; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(150deg, #183957, #111d31 66%); }
.legionarios { background: linear-gradient(150deg, #262d53, #111d31 66%); }
.jornuvia { background: linear-gradient(150deg, #123946, #111d31 66%); }
.project h3 { font-size: clamp(1.65rem, 3vw, 2.2rem); letter-spacing: -.04em; }
.project p { margin-top: .6rem; color: #b5c4d8; }
p.status-tag { width: fit-content; color: #aee7ff; border: 1px solid #355878; border-radius: .35rem; padding: .15rem .5rem; margin: 0 0 1rem; font-size: .875rem; }
.about, .contact-layout { display: grid; gap: 1.4rem; }
.about p + p, .contact-layout h2 + p { margin-top: .8rem; }
.about-lead { font-size: 1.4rem; color: #fff; font-weight: 700; }
.email { display: inline-block; margin-top: 1rem; overflow-wrap: anywhere; }
.contact-form { min-width: 0; padding: clamp(1rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; }
.form-hint { margin-bottom: 1rem; font-size: .9rem; }
.fields { display: grid; gap: 1rem; }
label { display: block; margin-bottom: .3rem; font-weight: 600; font-size: .9rem; }
input, select, textarea { width: 100%; padding: .65rem .75rem; border: 1px solid #425875; border-radius: .45rem; background: #0b1526; color: white; font: inherit; }
select { appearance: none; padding-right: 2.2rem; background: #0b1526 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2394a3b8' stroke-width='1.5' d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right .7rem center no-repeat; }
textarea { resize: vertical; min-height: 7rem; }
.privacy-short { margin: 1rem 0 0; font-size: .8rem; line-height: 1.5; }
.consent { display: flex; align-items: baseline; gap: .6rem; margin-block: 1rem; font-size: .9rem; }
.consent input { width: 1rem; height: 1rem; flex: 0 0 1rem; margin: 0; accent-color: var(--blue); align-self: center; }
.consent label { display: inline; margin: 0; }
.form-status:not(:empty) { margin-bottom: .85rem; }
.form-status[data-state="error"] { color: #fda4af; }
.form-status[data-state="success"] { color: #86efac; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem; align-items: center; padding-block: 1.6rem; }
.footer-inner p { margin-top: .4rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; color: var(--muted); }
.privacy { max-width: 46rem; }
.privacy h1 { margin: .9rem 0; font-size: clamp(2rem, 5vw, 3.4rem); }
.privacy h2 { margin: 1.6rem 0 .6rem; font-size: 1.35rem; letter-spacing: -.02em; }
.privacy ul { padding-left: 1.3rem; color: var(--muted); }
@media (min-width: 36rem) {
  .services-grid, .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .full { grid-column: 1 / -1; }
}
@media (width < 48rem) {
  nav { flex-flow: column nowrap; align-items: stretch; }
}
@media (min-width: 48rem) {
  nav { width: auto; gap: clamp(1rem, 2vw, 1.75rem); }
  .nav-contact { border: 1px solid #3c5d84; border-radius: .45rem; padding-inline: .8rem; color: #fff; }
  .hero { background-size: 100% 14rem, auto, auto; }
  .hero h1 { max-width: none; }
  .desktop-break { display: initial; }
  .services-grid, .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about { grid-template-columns: .7fr 1.3fr; gap: 3rem; }
  .contact-layout { grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); }
}
