:root {
  --navy: #0b1f3a;
  --navy-light: #14345d;
  --blue: #1467d2;
  --blue-hover: #0c54b3;
  --blue-light: #eaf3ff;
  --background: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef3f8;
  --text: #152236;
  --text-muted: #5d6b7d;
  --border: #dce3eb;
  --border-strong: #c7d1dd;
  --success: #147a58;
  --whatsapp: #168f54;
  --shadow-sm: 0 8px 24px rgba(11, 31, 58, 0.07);
  --shadow-md: 0 24px 60px rgba(11, 31, 58, 0.12);
  --radius-sm: 0.5rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --container: 1180px;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }
::selection { color: #fff; background: var(--blue); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); letter-spacing: -0.035em; }

h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 1.02;
  font-weight: 700;
}

h2 {
  max-width: 21ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
}

h3 { line-height: 1.25; }
.container { width: min(var(--container), calc(100% - 3rem)); margin-inline: auto; }
.section { padding: clamp(5rem, 8vw, 8.5rem) 0; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 2000;
  padding: .75rem 1rem;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #67a7f8; outline-offset: 3px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.1rem;
  color: var(--blue);
  font-size: .76rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 1.75rem; height: 2px; flex: 0 0 auto; background: currentColor; }
.eyebrow-light { color: #83b8ff; }

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn-primary:disabled { color: #dce9fa; background: #55779e; border-color: #55779e; cursor: wait; transform: none; }
.btn-secondary { color: var(--navy); background: transparent; border-color: var(--border-strong); }
.btn-secondary:hover { color: var(--blue); background: #fff; border-color: var(--blue); }
.btn-large { min-height: 52px; padding: .9rem 1.35rem; }
.btn-light { color: var(--navy); background: #fff; border-color: #fff; }
.btn-light:hover { color: var(--blue); background: var(--blue-light); border-color: var(--blue-light); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  color: var(--navy);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-header.scrolled { background: rgba(255, 255, 255, .98); border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(11, 31, 58, .05); }

@supports (backdrop-filter: blur(12px)) {
  .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); }
}

.nav-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); font-size: 1rem; font-weight: 500; letter-spacing: -.02em; text-decoration: none; }
.brand strong { font-weight: 800; }
.brand-mark { width: 2rem; height: 2rem; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: .35rem; font-size: .95rem; font-weight: 800; }
.header-brand { height: var(--header-height); }
.brand-logo-viewport { position: relative; width: 116px; height: 66px; display: block; flex: 0 0 auto; background: #fff; overflow: hidden; }
.brand-logo { position: absolute; top: -29px; left: 50%; width: 130px; height: auto; max-width: none; display: block; transform: translateX(-50%); }
.menu { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.8rem, 1.35vw, 1.35rem); }
.menu > a:not(.btn) { position: relative; color: #334258; font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.menu > a:not(.btn)::after { content: ""; position: absolute; right: 0; bottom: -.45rem; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.menu > a:not(.btn):hover, .menu > a:not(.btn):focus-visible { color: var(--blue); }
.menu > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.menu .nav-product { color: var(--blue); }
.nav-cta { min-height: 42px; padding-inline: 1rem; font-size: .88rem; }

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle span { width: 19px; height: 2px; display: block; margin: 4px auto; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  background-color: #f2f6fb;
  overflow: hidden;
}

.hero::before { content: ""; position: absolute; top: -18rem; right: -12rem; width: 50rem; height: 50rem; background: radial-gradient(circle, rgba(20, 103, 210, .12), transparent 66%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0 0 0 55%; background-image: linear-gradient(rgba(20, 103, 210, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 103, 210, .055) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to right, transparent, #000 35%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.hero-copy { max-width: 760px; }
.hero-lead { max-width: 65ch; margin-bottom: 2rem; color: var(--text-muted); font-size: clamp(1.05rem, 1.45vw, 1.25rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-disciplines { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0; color: #41536a; font-size: .84rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero-disciplines span { color: var(--blue); }

.hero-system { padding: clamp(1.5rem, 3vw, 2.25rem); color: #fff; background: var(--navy); border: 1px solid #2c4463; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.system-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.3rem; color: #d6e0ec; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.system-status { display: inline-flex; align-items: center; gap: .45rem; color: #91c0ff; }
.system-status i { width: .48rem; height: .48rem; display: block; background: #67d9aa; border-radius: 50%; }
.system-flow { padding: 1.55rem 0; }
.flow-node { display: grid; grid-template-columns: 2.3rem 1fr; align-items: center; gap: 1rem; padding: 1rem; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-sm); }
.flow-node-accent { background: rgba(20, 103, 210, .24); border-color: rgba(105, 169, 255, .5); }
.flow-index { color: #79aff7; font-size: .75rem; font-weight: 700; }
.flow-node strong, .flow-node small { display: block; }
.flow-node strong { color: #fff; font-size: 1.03rem; }
.flow-node small { margin-top: .12rem; color: #aab9cb; font-size: .78rem; }
.flow-connector { height: 1.1rem; padding-left: 2.1rem; }
.flow-connector span { width: 1px; height: 100%; display: block; background: #587b9f; }
.hero-system > p { margin: 0; padding-top: 1.25rem; color: #aebccd; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }

/* Shared heading */
.section-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); align-items: end; gap: clamp(2rem, 7vw, 6rem); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.section-heading > p { max-width: 44ch; color: var(--text-muted); }
.section-heading-compact { margin-bottom: 3.2rem; }

/* Problems */
.problem-section { background: var(--surface); }
.challenge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.challenge { padding: 2.25rem clamp(1.25rem, 3vw, 2.25rem); border-right: 1px solid var(--border); }
.challenge:first-child { padding-left: 0; }
.challenge:last-child { padding-right: 0; border-right: 0; }
.challenge-number { display: block; margin-bottom: 2.25rem; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.challenge h3 { max-width: 17ch; margin-bottom: 1.3rem; font-size: 1.28rem; }
.challenge ul, .service-card ul { margin: 0; padding: 0; list-style: none; }
.challenge li { position: relative; padding: .48rem 0 .48rem 1.2rem; color: var(--text-muted); }
.challenge li::before { content: ""; position: absolute; top: 1.05rem; left: 0; width: .38rem; height: .38rem; background: var(--blue); border-radius: 50%; }

/* Services */
.services { background: var(--background); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.service-card { min-height: 410px; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.service-card:hover { border-color: #a9bed5; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.service-topline { display: flex; justify-content: space-between; margin-bottom: 2rem; color: var(--text-muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service-topline span:first-child { color: var(--blue); }
.service-icon { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; margin-bottom: 1.35rem; color: var(--blue); background: var(--blue-light); border-radius: var(--radius-sm); }
.service-icon svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: .8rem; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.service-card > p { max-width: 48ch; margin-bottom: 1.5rem; color: var(--text-muted); }
.service-card ul { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.service-card li { position: relative; padding: .3rem 0 .3rem 1.2rem; color: #33455a; font-size: .91rem; }
.service-card li::before { content: ""; position: absolute; top: .87rem; left: 0; width: .42rem; height: 2px; background: var(--blue); }

/* Method */
.method { color: #fff; background: var(--navy); }
.method h2 { color: #fff; }
.method-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, .4fr); align-items: end; column-gap: clamp(2rem, 10vw, 8rem); margin-bottom: 4rem; }
.method-intro .eyebrow { grid-column: 1 / -1; }
.method-intro h2, .method-intro > p:last-child { margin-bottom: 0; }
.method-intro > p:last-child { color: #b6c4d3; }
.method-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid #38506f; list-style: none; }
.method-flow li { position: relative; padding: 2.25rem 1.1rem 0 0; }
.method-flow li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--navy); border: 2px solid #79aff7; border-radius: 50%; }
.method-flow li:not(:last-child)::after { content: ""; position: absolute; top: -1px; right: .8rem; width: .35rem; height: .35rem; border-top: 1px solid #79aff7; border-right: 1px solid #79aff7; transform: rotate(45deg); }
.method-flow span, .method-flow strong { display: block; }
.method-flow span { margin-bottom: 1.4rem; color: #79aff7; font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.method-flow strong { margin-bottom: .6rem; color: #fff; font-size: 1rem; }
.method-flow p { margin: 0; color: #9eb0c3; font-size: .8rem; line-height: 1.55; }

/* Digital solutions */
.digital-solutions { background: var(--surface); }
.ds-header { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: clamp(2rem, 7vw, 6rem); margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.ds-heading h2 { margin-bottom: 0; }
.ds-eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.1rem; color: var(--blue); font-size: .76rem; line-height: 1.3; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ds-eyebrow span { width: 1.75rem; flex: 0 0 auto; border-top: 2px solid currentColor; }
.ds-intro { max-width: 45ch; margin: 0; color: var(--text-muted); font-size: 1rem; }

.ds-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ds-card { min-width: 0; padding: clamp(1.5rem, 3vw, 2.4rem); background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius); transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ds-card:hover { background: #fff; border-color: #afc7e2; box-shadow: var(--shadow-sm); }
.ds-card-number { display: block; margin-bottom: 1.5rem; color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.ds-card h3 { max-width: 28ch; margin-bottom: .65rem; color: var(--navy); font-size: clamp(1.08rem, 1.6vw, 1.3rem); letter-spacing: -.025em; }
.ds-card p { max-width: 52ch; margin: 0; color: var(--text-muted); font-size: .92rem; line-height: 1.65; }

.ds-journey { margin-top: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.ds-journey-title { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); color: var(--navy); font-size: clamp(1.45rem, 2.6vw, 2rem); }
.ds-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: clamp(.9rem, 2.4vw, 2rem); }
.ds-flow-panel { min-width: 0; padding: clamp(1.35rem, 2.5vw, 2rem); background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius); }
.ds-flow-panel-accent { background: var(--blue-light); border-color: #8ab6eb; }
.ds-flow-panel h4 { margin: 0 0 .35rem; color: var(--navy); font-size: 1rem; line-height: 1.35; letter-spacing: -.015em; }
.ds-flow-panel p { margin: .9rem 0 0; color: var(--text-muted); font-size: .88rem; line-height: 1.6; }
.ds-flow-panel .ds-flow-meta { margin: 0; color: #49627e; font-size: .72rem; font-weight: 700; letter-spacing: .025em; }
.ds-flow-arrow { min-width: 2rem; display: grid; place-items: center; color: var(--blue); font-size: 1.45rem; font-weight: 700; }
.ds-arrow-vertical { display: none; }
.ds-tags { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.ds-tags li { padding: .5rem .75rem; color: #304966; background: #fff; border: 1px solid var(--border-strong); border-radius: .35rem; font-size: .75rem; font-weight: 700; line-height: 1.2; }
.ds-closing { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--border-strong); }
.ds-closing p { max-width: 67ch; margin: 0; color: var(--text-muted); font-size: .94rem; }
.ds-cta { white-space: nowrap; }

/* Results */
.results { background: var(--surface-alt); }
.results-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(430px, 1fr); gap: clamp(3rem, 9vw, 8rem); align-items: start; }
.results-copy { position: sticky; top: calc(var(--header-height) + 2rem); }
.results-copy > p:last-child { max-width: 54ch; color: var(--text-muted); }
.outcome-list { border-top: 1px solid var(--border-strong); }
.outcome-list > div { display: grid; grid-template-columns: 2.5rem minmax(150px, .65fr) minmax(200px, 1fr); gap: 1rem; align-items: start; padding: 1.6rem 0; border-bottom: 1px solid var(--border-strong); }
.outcome-list span { color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
.outcome-list strong { color: var(--navy); line-height: 1.4; }
.outcome-list p { margin: 0; color: var(--text-muted); font-size: .88rem; line-height: 1.55; }

/* Why and industries */
.why { background: var(--surface); }
.why-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(430px, 1fr); gap: clamp(3rem, 9vw, 8rem); margin-bottom: clamp(5rem, 9vw, 8rem); }
.why-intro > p:last-child { max-width: 54ch; color: var(--text-muted); }
.difference-list { border-top: 1px solid var(--border); }
.difference-list article { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.difference-list article > span { color: var(--blue); font-size: .7rem; font-weight: 700; }
.difference-list h3 { margin-bottom: .35rem; font-size: 1.05rem; }
.difference-list p { margin: 0; color: var(--text-muted); font-size: .88rem; }
.industries { display: grid; grid-template-columns: minmax(0, .75fr) minmax(420px, 1fr); gap: clamp(3rem, 9vw, 8rem); align-items: end; padding-top: 3rem; border-top: 1px solid var(--border-strong); }
.industries h3 { max-width: 22ch; margin-bottom: .7rem; font-size: clamp(1.55rem, 2.5vw, 2.2rem); }
.industries p { max-width: 55ch; margin-bottom: 0; color: var(--text-muted); }
.industries ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.industries li { padding: .62rem .85rem; color: #33485f; background: var(--background); border: 1px solid var(--border); border-radius: .35rem; font-size: .82rem; font-weight: 600; }

/* CTA */
.commercial-cta { padding: clamp(4rem, 7vw, 6rem) 0; color: #fff; background: var(--blue); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; }
.cta-inner .eyebrow { color: #cbe1ff; }
.cta-inner h2 { max-width: 24ch; margin-bottom: .8rem; color: #fff; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta-inner p:last-child { max-width: 62ch; margin: 0; color: #e1edfc; }

/* Contact */
.contact { background: var(--background); }
.contact-heading { max-width: 830px; margin-bottom: 3.5rem; }
.contact-heading h2 { max-width: 20ch; }
.contact-heading > p:last-child { max-width: 70ch; margin: 0; color: var(--text-muted); }
.contact-layout { display: grid; grid-template-columns: minmax(280px, .54fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.contact-details { display: grid; gap: 1.6rem; }
.contact-details > div:not(.contact-note) { padding-bottom: 1.4rem; border-bottom: 1px solid var(--border-strong); }
.contact-label { display: block; margin-bottom: .35rem; color: var(--text-muted); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-details a { color: var(--navy); font-weight: 700; text-decoration-color: #a6b6c8; text-underline-offset: .22rem; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--blue); }
.contact-note { display: grid; grid-template-columns: 2.5rem 1fr; gap: .9rem; padding: 1.2rem; color: #d6e2ef; background: var(--navy); border-radius: var(--radius); }
.contact-note svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: #80b6ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-note p { margin: 0; font-size: .83rem; }
.contact-note strong { color: #fff; }
.contact-form { padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.field-group { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field-group label { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .42rem; color: var(--navy); font-size: .84rem; font-weight: 700; }
.field-group label > span:not(.optional) { color: var(--blue); }
.field-group .optional { color: var(--text-muted); font-size: .7rem; font-weight: 500; }
.field-group input, .field-group select, .field-group textarea { width: 100%; min-height: 50px; padding: .72rem .85rem; color: var(--text); background: #fbfcfe; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); outline: none; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.field-group textarea { min-height: 128px; resize: vertical; }
.field-group input:hover, .field-group select:hover, .field-group textarea:hover { border-color: #95a8bd; }
.field-group input:focus, .field-group select:focus, .field-group textarea:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20, 103, 210, .13); }
.field-group input::placeholder, .field-group textarea::placeholder { color: #8995a4; }
.form-submit { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.35rem; }
.form-submit p { margin: 0; color: var(--text-muted); font-size: .72rem; }
.status { min-height: 1.5rem; margin: 1rem 0 0; font-size: .84rem; font-weight: 700; }

/* Footer */
.site-footer { color: #b7c5d5; background: #08182d; }
.footer-main { display: grid; grid-template-columns: minmax(280px, 1.25fr) minmax(140px, .5fr) minmax(220px, .7fr); gap: clamp(2rem, 7vw, 6rem); padding: 4.5rem 0 3rem; }
.brand-footer { margin-bottom: 1.2rem; color: #fff; }
.brand-footer .brand-mark { color: var(--navy); background: #fff; }
.footer-brand p { max-width: 48ch; margin: 0; font-size: .87rem; }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer-links > span, .footer-contact > span { margin-bottom: .35rem; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a, .footer-contact a { color: #b7c5d5; font-size: .84rem; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .72rem; }

/* WhatsApp */
.wa-float { position: fixed; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 900; min-height: 52px; display: inline-flex; align-items: center; gap: .6rem; padding: .72rem 1rem .72rem .78rem; color: #fff; background: var(--whatsapp); border: 2px solid #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(5, 40, 24, .2); font-size: .84rem; font-weight: 700; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.wa-float:hover { background: #0e7744; transform: translateY(-2px); }
.wa-float svg { width: 1.55rem; height: 1.55rem; fill: currentColor; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .menu { gap: .9rem; }
  .menu > a:not(.btn) { font-size: .8rem; }
  .menu a[href="#contacto"]:not(.btn) { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(370px, .8fr); gap: 3rem; }
  .method-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.8rem; }
  .method-flow li:nth-child(3)::after { display: none; }
}

@media (max-width: 920px) {
  :root { --header-height: 68px; }
  .container { width: min(var(--container), calc(100% - 2.5rem)); }
  .brand-logo-viewport { width: 104px; height: 56px; }
  .brand-logo { top: -25px; width: 111px; }
  .menu-toggle { display: block; }
  .menu { position: fixed; top: var(--header-height); right: 0; left: 0; z-index: 1001; max-height: calc(100svh - var(--header-height)); display: grid; justify-content: stretch; gap: 0; padding: .75rem 1.25rem; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px rgba(11, 31, 58, .12); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-.7rem); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .menu.open { visibility: visible; opacity: 1; transform: none; }
  .menu > a:not(.btn), .menu a[href="#contacto"]:not(.btn) { min-height: 47px; display: flex; align-items: center; padding: 0 .35rem; border-bottom: 1px solid var(--border); font-size: .94rem; }
  .menu > a:not(.btn)::after { display: none; }
  .nav-cta { width: 100%; margin: .75rem 0 .25rem; }
  .hero { min-height: auto; }
  .hero::after { inset: 38% 0 0; }
  .hero-grid, .results-layout, .why-layout, .industries, .contact-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 800px; }
  .hero-system { max-width: 660px; }
  .section-heading { grid-template-columns: 1fr; align-items: start; gap: 1.25rem; }
  .section-heading > p { max-width: 65ch; }
  .ds-header { grid-template-columns: 1fr; align-items: start; gap: 1.25rem; }
  .ds-intro { max-width: 65ch; }
  .results-copy { position: static; }
  .why-layout { margin-bottom: 5rem; }
  .industries ul { justify-content: flex-start; }
  .contact-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-note { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .container { width: min(var(--container), calc(100% - 2rem)); }
  .section { padding: 4.5rem 0; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.5rem); }
  h2 { font-size: clamp(1.9rem, 8.5vw, 2.65rem); }
  .hero { padding: 4.5rem 0; }
  .hero-grid { gap: 3.2rem; }
  .challenge-grid, .service-grid, .method-intro, .footer-main { grid-template-columns: 1fr; }
  .challenge-grid { border-bottom: 0; }
  .challenge, .challenge:first-child, .challenge:last-child { padding: 1.6rem 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .challenge-number { margin-bottom: .8rem; }
  .service-card { min-height: auto; }
  .method-intro { gap: 0; margin-bottom: 3rem; }
  .method-intro .eyebrow { grid-column: auto; }
  .method-intro h2 { margin-bottom: 1.2rem; }
  .method-flow { grid-template-columns: 1fr; gap: 0; border-top: 0; border-left: 1px solid #38506f; }
  .method-flow li { padding: 0 0 2.25rem 2rem; }
  .method-flow li::before { top: .35rem; left: -5px; }
  .method-flow li:not(:last-child)::after { top: auto; right: auto; bottom: 1rem; left: -3px; display: block; transform: rotate(135deg); }
  .method-flow span { margin-bottom: .5rem; }
  .method-flow p { max-width: 48ch; }
  .ds-card-grid { grid-template-columns: 1fr; }
  .ds-journey { padding: 1.5rem; }
  .ds-flow { grid-template-columns: 1fr; gap: .65rem; }
  .ds-flow-arrow { min-height: 1.25rem; line-height: 1; }
  .ds-arrow-horizontal { display: none; }
  .ds-arrow-vertical { display: inline; }
  .ds-tags { gap: .55rem; }
  .ds-closing { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
  .ds-cta { width: 100%; white-space: normal; }
  .outcome-list > div { grid-template-columns: 2rem 1fr; }
  .outcome-list p { grid-column: 2; }
  .cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta-inner .btn { justify-self: start; }
  .form-grid, .contact-details { grid-template-columns: 1fr; }
  .contact-note, .field-full { grid-column: auto; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  .footer-main { gap: 2.5rem; padding-top: 3.5rem; }
}

@media (max-width: 480px) {
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .system-heading { align-items: flex-start; flex-direction: column; }
  .form-submit .btn { width: 100%; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .wa-float { width: 54px; height: 54px; right: max(.9rem, env(safe-area-inset-right)); bottom: max(.9rem, env(safe-area-inset-bottom)); justify-content: center; padding: 0; }
  .wa-float span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto; animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .service-card:hover, .wa-float:hover { transform: none; }
}
