/* =========================================================
   ARIA CONSULTORÍA — Sistema de diseño
   Estilo: minimal suizo · blanco dominante · grid disciplinado
   Tipografía protagonista · separadores hairline · sin cards excesivas
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --color-primary: #3EC9D4;
  --color-primary-dark: #2AA8B3;
  --color-navy: #1B3468;
  --color-navy-light: #2A4A80;
  --color-navy-deep: #111B30;
  --color-bg-light: #EBF5FB;
  --color-bg-white: #FFFFFF;
  --color-text-dark: #1A1A2E;
  --color-text-mid: #4A5568;
  --color-text-light: #718096;
  --color-accent: #F7C948;
  --color-border: #E2EBF5;
  --color-hairline: #D7E2EE;

  --font-script: "Great Vibes", cursive;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 150px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 78px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-bg-white);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.bg-light { background: var(--color-bg-light); }
.bg-navy { background: var(--color-navy); color: #fff; }
.bg-deep { background: var(--color-navy-deep); color: #fff; }

/* Eyebrow / section index — sello editorial suizo */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}
.eyebrow .idx {
  font-variant-numeric: tabular-nums;
  color: var(--color-text-light);
}
.bg-navy .eyebrow, .bg-deep .eyebrow { color: var(--color-primary); }
.bg-navy .eyebrow .idx, .bg-deep .eyebrow .idx { color: rgba(255,255,255,.45); }

/* Section header block */
.sec-head { max-width: 720px; }
.sec-head h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 22px;
}
.sec-head p {
  color: var(--color-text-mid);
  font-size: clamp(16px, 1.6vw, 19px);
  margin-top: 18px;
  max-width: 580px;
}
.bg-navy .sec-head p, .bg-deep .sec-head p { color: rgba(255,255,255,.72); }

/* Hairline separators — recurso central del estilo suizo */
.rule { height: 1px; background: var(--color-hairline); border: 0; }
.bg-navy .rule, .bg-deep .rule { background: rgba(255,255,255,.16); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 15px 28px;
  border-radius: 2px;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary { background: var(--color-navy); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-light { background: #fff; color: var(--color-navy); }
.btn-light:hover { background: var(--color-bg-light); transform: translateY(-2px); }
.btn-outline { border: 1px solid currentColor; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-ghost { color: var(--color-navy); padding-inline: 0; }
.btn-ghost:hover { color: var(--color-primary-dark); }

/* Text link with underline reveal */
.link-more {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.link-more .arrow { transition: transform .3s var(--ease); }
.link-more:hover .arrow { transform: translateX(4px); }

/* =========================================================
   SCROLL PROGRESS
   ========================================================= */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--color-primary); z-index: 1001;
  transition: width .1s linear;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.navbar.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--color-border);
}

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-script {
  font-family: var(--font-script);
  font-size: 34px;
  color: var(--color-navy);
  line-height: .9;
}
.brand .brand-sub {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-text-mid);
  margin-top: 2px;
}
/* On transparent hero, brand turns light */
.navbar:not(.scrolled) .brand .brand-script { color: #fff; }
.navbar:not(.scrolled) .brand .brand-sub { color: rgba(255,255,255,.8); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text-dark);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--color-primary); transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,.92); }

.nav-right { display: flex; align-items: center; gap: 22px; }

/* Language switcher */
.lang-switch { display: flex; align-items: center; gap: 2px; font-family: var(--font-head); font-size: 13px; font-weight: 500; }
.lang-switch button {
  color: var(--color-text-light); padding: 4px 6px; border-radius: 2px; transition: color .25s;
}
.lang-switch button.active { color: var(--color-navy); }
.lang-switch .sep { color: var(--color-hairline); }
.navbar:not(.scrolled) .lang-switch button { color: rgba(255,255,255,.6); }
.navbar:not(.scrolled) .lang-switch button.active { color: #fff; }
.navbar:not(.scrolled) .lang-switch .sep { color: rgba(255,255,255,.3); }

/* CTA in nav adapts */
.navbar:not(.scrolled) .btn-primary { background: #fff; color: var(--color-navy); }
.navbar:not(.scrolled) .btn-primary:hover { background: var(--color-primary); color: #fff; }

/* Hamburger */
.hamburger { display: none; width: 30px; height: 22px; position: relative; }
.hamburger span {
  position: absolute; left: 0; height: 2px; width: 100%; background: var(--color-navy);
  transition: all .35s var(--ease);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }
.navbar:not(.scrolled) .hamburger span { background: #fff; }
body.menu-open .hamburger span { background: var(--color-navy); }
body.menu-open .hamburger span:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* Mobile overlay */
.mobile-menu {
  position: fixed; inset: 0; background: #fff; z-index: 999;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%); transition: transform .5s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--font-head); font-weight: 600; font-size: 28px;
  color: var(--color-navy); padding: 14px 0; border-bottom: 1px solid var(--color-border);
}
.mobile-menu .btn { margin-top: 30px; align-self: flex-start; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(125deg, var(--color-navy) 0%, var(--color-navy-light) 55%, var(--color-primary-dark) 120%);
  color: #fff; overflow: hidden;
  padding-top: var(--nav-h);
}
/* Abstract node network as a calm texture */
.hero-bg { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.hero-bg svg { width: 100%; height: 100%; }
.hero::after { /* subtle vignette */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 80% 10%, transparent 40%, rgba(17,27,48,.45) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; display: flex; justify-content: center; }
.hero-copy { text-align: center; max-width: 840px; }
.hero-badge { margin-inline: auto; }
.hero h1, .hero-sub { margin-inline: auto; }
.hero-cta { justify-content: center; }
.hero-stats { justify-content: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(62,201,212,.12);
  border: 1px solid rgba(62,201,212,.35);
  padding: 8px 16px; border-radius: 100px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); }

.hero h1 {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.04; letter-spacing: -0.025em;
  margin-top: 26px;
}
.hero h1 em { font-style: normal; color: var(--color-primary); }
.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255,255,255,.74); margin-top: 24px; max-width: 540px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-stats { display: flex; gap: 0; margin-top: 54px; flex-wrap: wrap; }
.hero-stats .stat { padding-right: 32px; margin-right: 32px; border-right: 1px solid rgba(255,255,255,.2); }
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats .stat .num {
  font-family: var(--font-head); font-weight: 600; font-size: 30px; letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 3px;
}
.hero-stats .stat .label { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* Hero visual side */
.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: 4px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.hero-frame img { width: 100%; height: 520px; object-fit: cover; filter: saturate(1.05); }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(27,52,104,.55)); mix-blend-mode: multiply; }
/* Floating metric chip on the image */
.hero-chip {
  position: absolute; left: -26px; bottom: 40px; z-index: 3;
  background: #fff; color: var(--color-text-dark);
  padding: 18px 22px; border-radius: 3px;
  box-shadow: 0 24px 50px -16px rgba(17,27,48,.45);
  min-width: 200px;
}
.hero-chip .k { font-family: var(--font-head); font-weight: 600; font-size: 26px; color: var(--color-navy); }
.hero-chip .v { font-size: 12.5px; color: var(--color-text-mid); margin-top: 2px; }
.hero-chip .spark { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 10px; }
.hero-chip .spark i { width: 6px; background: var(--color-primary); border-radius: 1px; display: block; }

/* =========================================================
   CLIENT LOGOS (marquee)
   ========================================================= */
.clients { padding-block: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--color-border); }
.clients-label {
  text-align: center; font-family: var(--font-head); font-weight: 500; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-text-light);
  margin-bottom: 40px;
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 38s linear infinite; }
.clients:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client {
  padding: 0 clamp(28px, 4vw, 52px);
  white-space: nowrap; display: flex; align-items: center;
}
.client-logo {
  display: block; height: 34px; width: auto;
  opacity: .5; transition: opacity .3s;
}
.client:hover .client-logo { opacity: 1; }

/* =========================================================
   PROBLEM / SOLUTION — two columns, no cards
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > div { padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 60px); }
.split .col-problem { background: #fff; }
.split .col-solution { background: var(--color-navy); color: #fff; }
.split h3 {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em; margin-bottom: 32px;
}
.ps-list { display: flex; flex-direction: column; }
.ps-item {
  display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--color-hairline);
  font-size: 16.5px;
}
.ps-item:last-child { border-bottom: 1px solid var(--color-hairline); }
.col-solution .ps-item { border-color: rgba(255,255,255,.16); }
.col-solution .ps-item:last-child { border-bottom-color: rgba(255,255,255,.16); }
.col-problem .ps-item { color: var(--color-text-mid); }
.ps-mark { width: 26px; height: 26px; flex: none; }
.ps-mark svg { width: 100%; height: 100%; }

/* =========================================================
   SERVICES — editorial numbered rows (not a card grid)
   ========================================================= */
.services-list { margin-top: 56px; border-top: 1px solid var(--color-hairline); }
.service-row {
  display: grid; grid-template-columns: 90px 1.1fr 1.4fr auto;
  gap: 32px; align-items: center;
  padding: 34px 8px; border-bottom: 1px solid var(--color-hairline);
  transition: background .35s var(--ease), padding .35s var(--ease);
  position: relative;
}
.service-row:hover { background: var(--color-bg-light); }
.service-row .s-idx {
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--color-primary-dark); font-variant-numeric: tabular-nums;
}
.service-row .s-title { font-family: var(--font-head); font-weight: 600; font-size: clamp(19px, 2.1vw, 24px); letter-spacing: -0.01em; }
.service-row .s-title .en { display: block; font-weight: 400; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-light); margin-top: 6px; }
.service-row .s-desc { color: var(--color-text-mid); font-size: 16px; }
.service-row .s-icon { width: 40px; height: 40px; color: var(--color-primary-dark); justify-self: end; }
.service-row .s-icon svg { width: 100%; height: 100%; }

/* =========================================================
   METHODOLOGY — horizontal timeline
   ========================================================= */
.method-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 60px; position: relative;
}
.method-track::before {
  content: ""; position: absolute; top: 13px; left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,.2);
}
.method-step { padding-right: 32px; position: relative; }
.method-step .node {
  width: 26px; height: 26px; border-radius: 50%; background: var(--color-navy);
  border: 1px solid var(--color-primary); display: grid; place-items: center;
  position: relative; z-index: 2; margin-bottom: 28px;
}
.method-step .node b { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); }
.method-step .m-idx { font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; color: var(--color-primary); text-transform: uppercase; }
.method-step h4 { font-family: var(--font-head); font-weight: 600; font-size: 22px; margin: 8px 0 12px; }
.method-step p { font-size: 15px; color: rgba(255,255,255,.7); }
.method-cta { margin-top: 64px; }

/* =========================================================
   CASE STUDIES — editorial list with big metric
   ========================================================= */
.cases-list { margin-top: 56px; border-top: 1px solid var(--color-hairline); }
.case-row {
  display: grid; grid-template-columns: 1.2fr 1.6fr 1fr auto; gap: 40px;
  align-items: center; padding: 38px 8px; border-bottom: 1px solid var(--color-hairline);
  transition: background .35s var(--ease); cursor: pointer;
}
.case-row:hover { background: #fff; }
.case-row .c-name { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.01em; }
.case-row .c-badge {
  display: inline-block; margin-top: 10px; font-family: var(--font-head); font-weight: 500;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary-dark);
  border: 1px solid var(--color-hairline); padding: 4px 10px; border-radius: 100px;
}
.case-row .c-challenge { color: var(--color-text-mid); font-size: 16px; }
.case-row .c-metric { text-align: right; }
.case-row .c-metric .big { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 3vw, 38px); color: var(--color-navy); letter-spacing: -0.02em; line-height: 1; }
.case-row .c-metric .cap { font-size: 12.5px; color: var(--color-text-light); margin-top: 6px; }
.case-row .c-go { width: 30px; height: 30px; color: var(--color-text-light); transition: transform .3s var(--ease), color .3s; }
.case-row:hover .c-go { color: var(--color-primary-dark); transform: translate(4px,-4px); }
.cases-note { margin-top: 26px; font-size: 13px; color: var(--color-text-light); }

/* =========================================================
   TESTIMONIALS — reel (9:16) cards, horizontal scroll
   ========================================================= */
.reels { display: flex; gap: 24px; margin-top: 56px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
.reels::-webkit-scrollbar { height: 6px; }
.reels::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 10px; }
.reel {
  flex: 0 0 300px; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; position: relative;
  scroll-snap-align: start;
  background: linear-gradient(160deg, var(--color-navy-light), var(--color-navy-deep));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; transition: transform .4s var(--ease);
}
.reel:nth-child(2n) { background: linear-gradient(160deg, var(--color-primary-dark), var(--color-navy)); }
.reel:hover { transform: translateY(-6px); }
.reel .progress { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; gap: 4px; }
.reel .progress i { flex: 1; height: 2.5px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; }
.reel .progress i.on::after { content:""; display:block; height:100%; width:60%; background:#fff; }
.reel .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center;
  backdrop-filter: blur(4px); transition: background .3s, transform .3s;
}
.reel:hover .play { background: rgba(255,255,255,.28); transform: translate(-50%,-50%) scale(1.06); }
.reel .play svg { width: 20px; height: 20px; margin-left: 3px; color: #fff; }
.reel .quote { color: #fff; font-size: 18px; line-height: 1.45; font-weight: 500; }
.reel .who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.reel .who .av { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: #fff; flex: none; }
.reel .who .meta b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: #fff; }
.reel .who .meta span { font-size: 12px; color: rgba(255,255,255,.65); }

/* =========================================================
   GOOGLE REVIEWS
   ========================================================= */
.reviews-head { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--color-hairline); }
.g-logo { display: flex; align-items: center; gap: 12px; }
.g-logo svg { height: 30px; width: auto; }
.g-logo .g-text { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--color-text-dark); }
.reviews-score { display: flex; align-items: baseline; gap: 12px; }
.reviews-score .num { font-family: var(--font-head); font-weight: 700; font-size: 40px; color: var(--color-navy); letter-spacing: -0.02em; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; color: var(--color-accent); }
.reviews-score .basis { font-size: 13px; color: var(--color-text-light); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-hairline); border: 1px solid var(--color-hairline); }
.review { background: #fff; padding: 30px; }
.review .stars { margin-bottom: 16px; }
.review p { font-size: 15.5px; color: var(--color-text-mid); line-height: 1.6; min-height: 96px; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.review .who .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #fff; flex: none; }
.review .who .meta b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--color-text-dark); }
.review .who .meta span { font-size: 12.5px; color: var(--color-text-light); }
.review .when { font-size: 12px; color: var(--color-text-light); margin-top: 14px; }

/* =========================================================
   ABOUT (summary)
   ========================================================= */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-visual { position: relative; }
.about-visual img { width: 100%; height: 520px; object-fit: cover; border-radius: 4px; }
.about-visual .tag {
  position: absolute; bottom: 24px; left: 24px; background: #fff; padding: 14px 18px; border-radius: 3px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--color-navy);
  box-shadow: 0 20px 40px -18px rgba(17,27,48,.4);
}
.about-badge { display: inline-block; font-family: var(--font-head); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary-dark); border: 1px solid var(--color-hairline); padding: 6px 14px; border-radius: 100px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 38px 0; }
.value { padding: 22px 24px 22px 0; border-top: 1px solid var(--color-hairline); }
.value:nth-child(odd) { padding-right: 28px; }
.value .v-ico { width: 26px; height: 26px; color: var(--color-primary-dark); margin-bottom: 12px; }
.value h5 { font-family: var(--font-head); font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.value p { font-size: 14px; color: var(--color-text-light); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-intro h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.025em; line-height: 1.08; }
.contact-intro p { color: rgba(255,255,255,.75); margin-top: 20px; font-size: 18px; max-width: 440px; }
.contact-info { margin-top: 44px; display: flex; flex-direction: column; }
.contact-info a, .contact-info div {
  display: flex; align-items: center; gap: 16px; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.9); font-size: 15.5px;
}
.contact-info .ico { width: 22px; height: 22px; color: var(--color-primary); flex: none; }
.contact-info a:hover { color: #fff; }

.form-card { background: #fff; border-radius: 4px; padding: clamp(28px, 3.5vw, 44px); box-shadow: 0 40px 90px -40px rgba(0,0,0,.5); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 12.5px; letter-spacing: 0.05em; color: var(--color-text-mid); text-transform: uppercase; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--color-text-dark);
  padding: 13px 14px; border: 1px solid var(--color-border); border-radius: 3px; background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(62,201,212,.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--color-text-light); margin-bottom: 22px; }
.consent input { margin-top: 3px; accent-color: var(--color-primary-dark); }
.form-card .btn-primary { width: 100%; justify-content: center; }
.form-note { font-size: 13px; color: var(--color-primary-dark); margin-top: 16px; text-align: center; display: none; }
.form-note.show { display: block; }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding-block: clamp(56px, 7vw, 84px) 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand .brand-script { color: #fff; }
.footer .brand .brand-sub { color: rgba(255,255,255,.6); }
.footer-about { color: rgba(255,255,255,.6); font-size: 14.5px; margin-top: 20px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; transition: all .3s; }
.footer-social a:hover { background: var(--color-primary); border-color: var(--color-primary); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer h6 { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: rgba(255,255,255,.6); font-size: 14.5px; transition: color .25s; }
.footer ul a:hover { color: var(--color-primary); }
.footer-contact li { color: rgba(255,255,255,.6); font-size: 14.5px; margin-bottom: 12px; }
.footer-bottom { margin-top: clamp(48px, 6vw, 72px); padding-block: 28px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer-bottom .copy { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: var(--color-primary); }
.eu-badge { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: rgba(255,255,255,.45); margin-top: 18px; }
.eu-badge .eu-flag { width: 34px; height: 23px; border-radius: 2px; flex: none; }

/* =========================================================
   INTERNAL PAGE HEADER
   ========================================================= */
.page-hero {
  background: linear-gradient(125deg, var(--color-navy), var(--color-navy-light));
  color: #fff; padding-top: calc(var(--nav-h) + clamp(60px, 8vw, 110px));
  padding-bottom: clamp(60px, 8vw, 110px); position: relative; overflow: hidden;
}
.page-hero .hero-bg { opacity: .35; }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { font-family: var(--font-head); font-size: 13px; letter-spacing: 0.05em; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.025em; line-height: 1.05; max-width: 760px; }
.page-hero p { color: rgba(255,255,255,.74); font-size: clamp(16px, 1.8vw, 20px); margin-top: 22px; max-width: 600px; }

/* Trajectory text block */
.prose { max-width: 760px; }
.prose p { color: var(--color-text-mid); font-size: 18px; margin-bottom: 22px; }
.prose p strong { color: var(--color-text-dark); }

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 56px; }
.team-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
.member img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; filter: grayscale(1); transition: filter .4s; }
.member:hover img { filter: grayscale(0); }
.member h5 { font-family: var(--font-head); font-weight: 600; font-size: 18px; margin-top: 18px; }
.member .role { font-size: 14px; color: var(--color-primary-dark); margin-top: 4px; }
.member .ln { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-text-light); margin-top: 10px; }
.member .ln:hover { color: var(--color-navy); }
.member .ln svg { width: 15px; height: 15px; }

/* Mission/Vision/Values columns */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-hairline); border: 1px solid var(--color-hairline); margin-top: 56px; }
.mvv > div { background: #fff; padding: 40px 34px; }
.mvv .m-num { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--color-primary-dark); letter-spacing: 0.1em; }
.mvv h4 { font-family: var(--font-head); font-weight: 600; font-size: 22px; margin: 14px 0 14px; }
.mvv p { color: var(--color-text-mid); font-size: 15.5px; }

/* Service detail blocks (servicios.html) */
.svc-block { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--color-hairline); align-items: start; }
.svc-block .svc-idx { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--color-primary-dark); }
.svc-block h3 { font-family: var(--font-head); font-weight: 600; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; }
.svc-block .en { font-family: var(--font-head); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-light); margin-top: 8px; display: block; }
.svc-block .lead { font-size: 17px; color: var(--color-text-mid); margin-top: 20px; }
.svc-detail h6 { font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-dark); margin-bottom: 16px; }
.svc-detail ul { display: flex; flex-direction: column; }
.svc-detail li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--color-hairline); font-size: 15.5px; color: var(--color-text-mid); }
.svc-detail li svg { width: 18px; height: 18px; color: var(--color-primary-dark); margin-top: 3px; }
.svc-detail .target { margin-top: 28px; font-size: 14px; color: var(--color-text-light); }
.svc-detail .target b { color: var(--color-text-dark); font-family: var(--font-head); }

/* FAQ */
.faq { margin-top: 56px; border-top: 1px solid var(--color-hairline); }
.faq-item { border-bottom: 1px solid var(--color-hairline); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 26px 4px; font-family: var(--font-head); font-weight: 600; font-size: clamp(17px, 2vw, 21px); color: var(--color-text-dark); }
.faq-q .pm { width: 22px; height: 22px; flex: none; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--color-primary-dark); transition: transform .3s var(--ease); }
.faq-q .pm::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-q .pm::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.faq-item.open .pm::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 4px 26px; color: var(--color-text-mid); font-size: 16px; max-width: 760px; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .about-visual img { height: 380px; }
  .method-track { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .method-track::before { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right .lang-switch, .nav-right .btn { display: none; }
  .hamburger { display: block; }
  .split { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .mvv { grid-template-columns: 1fr; }
  .svc-block { grid-template-columns: 1fr; gap: 24px; }
  .svc-block .svc-idx { font-size: 14px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .service-row { grid-template-columns: 44px 1fr; gap: 14px 16px; padding: 24px 4px; }
  .service-row .s-desc { grid-column: 1 / -1; }
  .service-row .s-icon { display: none; }
  .case-row { grid-template-columns: 1fr auto; gap: 16px 20px; padding: 26px 4px; }
  .case-row .c-challenge { grid-column: 1 / -1; }
  .case-row .c-go { display: none; }
  .case-row .c-metric { text-align: left; grid-column: 1 / -1; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-stats .stat { padding-right: 20px; margin-right: 20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .reviews-head { gap: 18px; }
}
