/* =========================================================
   GRUPO SURAMÉRICA C.A. — Sitio corporativo (5 páginas)
   Hoja de estilos principal
   ========================================================= */

:root {
  --red: #E31E24;
  --red-600: #C4151B;
  --red-700: #9E1014;
  --red-soft: rgba(227, 30, 36, .12);
  --red-glow: rgba(227, 30, 36, .38);

  --ink: #0B0B0D;
  --ink-2: #111114;
  --ink-3: #18181D;
  --ink-4: #23232A;

  --paper: #FFFFFF;
  --paper-2: #F6F6F8;
  --paper-3: #ECECF1;

  --text: #15151A;
  --muted: #5E5F68;
  --muted-2: #8A8B95;
  --line: rgba(11, 11, 13, .08);

  --on-dark: #F7F7F9;
  --on-dark-muted: rgba(247, 247, 249, .72);
  --line-dark: rgba(255, 255, 255, .1);

  --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 2px 10px rgba(11, 11, 13, .06);
  --shadow: 0 18px 50px -20px rgba(11, 11, 13, .35);
  --shadow-red: 0 18px 40px -16px var(--red-glow);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--soft { background: var(--paper-2); }
.section--dark ::selection { background: #fff; color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pending { color: var(--muted-2); font-style: italic; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
}
.section--dark .eyebrow, .page-hero .eyebrow { color: #FF6B6F; }

.title { font-size: clamp(30px, 4.2vw, 50px); margin-top: 16px; }
.title em { font-style: normal; color: var(--red); }
.section--dark .title em { color: #FF5A60; }
.lead { font-size: clamp(16px, 1.25vw, 19px); color: var(--muted); margin-top: 18px; max-width: 62ch; }
.section--dark .lead { color: var(--on-dark-muted); }
.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row .lead { margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .01em; line-height: 1;
  background: var(--bg); color: var(--fg);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, color .3s, border-color .3s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { box-shadow: var(--shadow-red); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { background: var(--red-600); box-shadow: 0 22px 44px -14px var(--red-glow); }
.btn--ghost { --bg: transparent; --fg: var(--text); border: 1.5px solid rgba(11,11,13,.16); }
.btn--ghost:hover { border-color: var(--text); background: var(--text); color: #fff; }
.btn--ghost-light { --bg: rgba(255,255,255,.06); --fg: #fff; border: 1.5px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { background: var(--ink-4); }
.btn--sm { padding: 11px 18px; font-size: 13.5px; }
.btn--wa { --bg: #25D366; --fg: #fff; }
.btn--wa:hover { background: #1EBE5B; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn.is-hidden { display: none; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader__inner { display: grid; gap: 18px; justify-items: center; }
.preloader img { width: 170px; opacity: 0; animation: fadeUp .8s var(--ease-out) .1s forwards; }
.preloader__bar { width: 170px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.preloader__bar::after { content: ""; display: block; height: 100%; width: 40%; background: var(--red); animation: loadbar 1s var(--ease) infinite; }
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Progress bar ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1001; pointer-events: none; }
.progress__bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #FF6B6F); transform-origin: left; transition: width .1s linear; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  color: #fff;
  transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  height: 70px;
  background: rgba(11, 11, 13, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line-dark);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; transition: height .4s var(--ease); }
.header.is-scrolled .brand img { height: 44px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 10px 14px; font-family: var(--font-head); font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.78); border-radius: 999px; transition: color .3s, background .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav__link:hover { color: #fff; }
.nav__link.is-active, .nav__link[aria-current="page"] { color: #fff; }
.nav__link.is-active::after, .nav__link[aria-current="page"]::after, .nav__link:hover::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn--portal { --bg: rgba(255,255,255,.08); --fg: #fff; border: 1px solid rgba(255,255,255,.18); }
.header__cta .btn--portal:hover { background: #fff; color: var(--ink); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); place-items: center; position: relative; z-index: 1002; }
.burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease-out), opacity .3s; }
.burger span + span { margin-top: 5px; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 999; background: var(--ink); color: #fff;
  display: grid; grid-template-rows: 1fr auto; padding: 110px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 50px) 42px); transition: clip-path .7s var(--ease-out); visibility: hidden;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 50px) 42px); visibility: visible; }
.drawer__links { display: grid; gap: 6px; align-content: start; }
.drawer__links a {
  font-family: var(--font-head); font-size: clamp(30px, 8vw, 44px); font-weight: 700; padding: 8px 0; letter-spacing: -.02em;
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  display: flex; align-items: baseline; gap: 14px;
}
.drawer__links a[aria-current="page"] { color: #FF5A60; }
.drawer.is-open .drawer__links a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .07s); }
.drawer__foot { display: grid; gap: 12px; }
.drawer__foot .btn { width: 100%; }

/* ---------- Hero (inicio) ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  background: var(--ink); color: #fff; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 80px;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .5; filter: saturate(.8) contrast(1.05); transform: scale(1.08); will-change: transform; }
.hero__shade { position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 60% at 20% 40%, rgba(11,11,13,.55) 0%, rgba(11,11,13,0) 70%),
    linear-gradient(180deg, rgba(11,11,13,.75) 0%, rgba(11,11,13,.35) 45%, var(--ink) 100%),
    linear-gradient(90deg, rgba(11,11,13,.92) 0%, rgba(11,11,13,.55) 45%, rgba(11,11,13,.2) 100%);
}
.hero__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(60% 60% at 50% 50%, #000 20%, transparent 100%);
}
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; mix-blend-mode: screen; }
.blob--1 { width: 560px; height: 560px; background: var(--red); top: -160px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.blob--2 { width: 380px; height: 380px; background: #ff3b3b; bottom: -140px; left: 20%; opacity: .3; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 50px) scale(1.12); } }

.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@keyframes ping { 75%, 100% { transform: scale(1.8); opacity: 0; } }

.hero__title { font-size: clamp(40px, 6.2vw, 78px); margin-top: 0; line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; }
.hero__title .w > span { display: inline-block; transform: translateY(110%); animation: wordUp .9s var(--ease-out) forwards; animation-delay: calc(.35s + var(--i) * .07s); }
.hero__title em { font-style: normal; color: var(--red); position: relative; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--red); border-radius: 2px; opacity: .35;
  transform: scaleX(0); transform-origin: left; animation: lineIn .8s var(--ease-out) 1.2s forwards;
}
@keyframes wordUp { to { transform: translateY(0); } }
@keyframes lineIn { to { transform: scaleX(1); } }
.hero__text { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255,255,255,.72); max-width: 58ch; margin-top: 24px; opacity: 0; animation: fadeUp .9s var(--ease-out) .9s forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; opacity: 0; animation: fadeUp .9s var(--ease-out) 1.05s forwards; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 44px; font-size: 13px; color: rgba(255,255,255,.6); opacity: 0; animation: fadeUp .9s var(--ease-out) 1.2s forwards; }
.hero__trust strong { color: #fff; font-weight: 600; }

/* Floating cards (cuadrícula escalonada, sin solaparse) */
.hero__visual { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; align-content: center; width: min(520px, 100%); margin-left: auto; }
.fcard {
  position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: 20px; padding: 18px 20px; color: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  opacity: 0; animation: fadeUp 1s var(--ease-out) forwards;
  will-change: transform;
}
.fcard__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-700)); box-shadow: 0 10px 24px -8px var(--red-glow); flex: none; }
.fcard__icon svg { width: 22px; height: 22px; stroke: #fff; }
.fcard__label { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 12px; letter-spacing: .04em; text-transform: uppercase; }
.fcard__value { font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.15; margin-top: 4px; }
.fcard__value small { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 500; display: block; margin-top: 4px; }
.fcard--main { grid-column: 1 / -1; animation-delay: .9s; }
.fcard--main .fcard__value { font-size: 26px; }
.fcard--main::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(140deg, rgba(227,30,36,.6), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; -webkit-mask-composite: xor; padding: 1px; pointer-events: none; }
.fcard--a { grid-column: 1; animation-delay: 1.1s; }
.fcard--b { grid-column: 2; margin-top: 26px; animation-delay: 1.3s; }
.fcard--a .fcard__icon { background: linear-gradient(135deg, #fff, #ddd); } .fcard--a .fcard__icon svg { stroke: var(--ink); }
.fcard__row { display: flex; align-items: center; gap: 12px; }
.fcard__bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); margin-top: 12px; overflow: hidden; }
.fcard__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #FF6B6F); border-radius: 6px; animation: barfill 1.6s var(--ease-out) 1.6s forwards; }
@keyframes barfill { to { width: 100%; } }
.fcard__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fcard__chips span { font-size: 11px; font-weight: 600; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); }
.float { animation: fadeUp 1s var(--ease-out) forwards, floaty 7s ease-in-out infinite; }
.float--2 { animation-delay: 1.1s, 1.9s; }
.float--3 { animation-delay: 1.3s, 2.3s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); opacity: 0; animation: fadeUp 1s var(--ease-out) 1.8s forwards; }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(to bottom, var(--red), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: translateY(-100%); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { to { transform: translateY(100%); } }

/* ---------- Page hero (páginas interiores) ---------- */
.page-hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -3; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.8); transform: scale(1.06); will-change: transform; }
.page-hero__shade { position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(11,11,13,.8) 0%, rgba(11,11,13,.45) 50%, var(--ink) 100%), linear-gradient(90deg, rgba(11,11,13,.9) 0%, rgba(11,11,13,.4) 60%, rgba(11,11,13,.2) 100%); }
.page-hero .blob--1 { width: 460px; height: 460px; top: -200px; right: -100px; opacity: .45; }
.page-hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.page-hero__crumbs { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 18px; opacity: 0; animation: fadeUp .8s var(--ease-out) .1s forwards; }
.page-hero__crumbs a:hover { color: #fff; }
.page-hero__crumbs span { margin: 0 8px; }
.page-hero .eyebrow { opacity: 0; animation: fadeUp .8s var(--ease-out) .2s forwards; }
.page-hero__title { font-size: clamp(34px, 5vw, 60px); margin-top: 16px; line-height: 1.05; letter-spacing: -.03em; font-weight: 800; opacity: 0; animation: fadeUp .9s var(--ease-out) .35s forwards; }
.page-hero__title em { font-style: normal; color: #FF5A60; }
.page-hero__text { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255,255,255,.72); max-width: 52ch; opacity: 0; animation: fadeUp .9s var(--ease-out) .55s forwards; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; opacity: 0; animation: fadeUp .9s var(--ease-out) .7s forwards; }

/* ---------- Facts strip (sin cifras) ---------- */
.facts { background: var(--ink); color: #fff; padding-bottom: clamp(48px, 6vw, 80px); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,.02); }
.fact { padding: 30px 28px; border-right: 1px solid var(--line-dark); position: relative; overflow: hidden; transition: background .4s; }
.fact:last-child { border-right: 0; }
.fact:hover { background: rgba(255,255,255,.04); }
.fact::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.fact:hover::after { transform: scaleX(1); }
.fact svg { width: 26px; height: 26px; color: #FF5A60; }
.fact h3 { font-size: 19px; margin-top: 16px; }
.fact p { color: var(--on-dark-muted); font-size: 14px; margin-top: 8px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding: 20px 0; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-head); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee__item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.scard {
  position: relative; padding: 34px 30px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s; overflow: hidden; isolation: isolate;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.scard::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(227,30,36,.10), transparent 60%);
}
.scard:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(227,30,36,.25); }
.scard:hover::before { opacity: 1; }
.scard__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-700)); color: #fff; box-shadow: 0 14px 28px -12px var(--red-glow); transition: transform .5s var(--ease-out); }
.scard__icon svg { width: 26px; height: 26px; }
.scard:hover .scard__icon { transform: rotate(-6deg) scale(1.06); }
.scard h3 { font-size: 21px; margin-top: 24px; }
.scard p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.scard ul { margin-top: 16px; display: grid; gap: 8px; }
.scard li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.scard li svg { width: 16px; height: 16px; flex: none; color: var(--red); margin-top: 3px; }
.scard__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--red); }
.scard__link svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.scard__link:hover svg { transform: translateX(4px); }

/* Process */
.process { margin-top: 80px; padding: 48px clamp(20px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.process--flat { margin-top: 0; }
.process::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: var(--red); filter: blur(140px); opacity: .25; right: -160px; top: -200px; pointer-events: none; }
.process__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.process__head h3 { font-size: clamp(24px, 2.6vw, 32px); }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; position: relative; }
.process__line { position: absolute; left: 32px; right: 32px; top: 28px; height: 2px; background: rgba(255,255,255,.1); }
.process__line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), #FF6B6F); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) .3s; }
.process.is-in .process__line::after { transform: scaleX(1); }
.step { position: relative; }
.step__num { width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); background: var(--ink); display: grid; place-items: center; position: relative; z-index: 1; transition: border-color .4s, background .4s; }
.step__num svg { width: 22px; height: 22px; }
.process.is-in .step__num { border-color: var(--red); background: var(--red); transition-delay: calc(.4s + var(--i) * .35s); }
.step h4 { font-size: 18px; margin-top: 20px; }
.step p { color: var(--on-dark-muted); font-size: 14px; margin-top: 8px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media { position: relative; min-height: 560px; }
.about__img { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about__img:hover img { transform: scale(1.05); }
.about__img--1 { width: 70%; height: 72%; left: 0; top: 0; }
.about__img--2 { width: 55%; height: 52%; right: 0; bottom: 0; border: 8px solid var(--paper); }
.section--soft .about__img--2 { border-color: var(--paper-2); }
.about__badge {
  position: absolute; left: 6%; bottom: 10%; z-index: 2; background: var(--red); color: #fff; border-radius: 20px; padding: 20px 22px;
  box-shadow: var(--shadow-red); display: grid; gap: 2px; animation: floaty 6s ease-in-out infinite; max-width: 220px;
}
.about__badge strong { font-family: var(--font-head); font-size: 22px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.about__badge span { font-size: 13px; opacity: .9; }
.about__deco { position: absolute; width: 180px; height: 180px; right: 6%; top: 6%; border-radius: 50%; border: 1.5px dashed rgba(227,30,36,.5); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text .lead { margin-top: 20px; }
.about__text > p { color: var(--muted); margin-top: 16px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.pillar { padding: 20px 18px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); transition: transform .4s var(--ease-out), background .4s, color .4s; }
.section--soft .pillar { background: var(--paper); }
.pillar:hover { transform: translateY(-4px); background: var(--ink); color: #fff; }
.pillar:hover p { color: rgba(255,255,255,.7); }
.pillar svg { width: 22px; height: 22px; color: var(--red); }
.pillar h4 { font-size: 15px; margin-top: 12px; }
.pillar p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.about__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Datos de la empresa */
.data { margin-top: 40px; width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.data th, .data td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.data th { font-family: var(--font-head); font-weight: 600; width: 32%; padding-right: 24px; }
.data td { color: var(--muted); }
.data a { color: var(--red); font-weight: 600; }

/* Achievements */
.achv { background: var(--ink); color: #fff; }
.achv__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.achv__card { padding: 30px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); position: relative; overflow: hidden; transition: transform .5s var(--ease-out), border-color .4s; }
.achv__card:hover { transform: translateY(-6px); border-color: rgba(227,30,36,.5); }
.achv__card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--red); filter: blur(70px); opacity: 0; right: -60px; bottom: -80px; transition: opacity .5s; }
.achv__card:hover::after { opacity: .35; }
.achv__card svg { width: 28px; height: 28px; color: #FF5A60; }
.achv__card h3 { font-size: 19px; margin-top: 22px; }
.achv__card p { color: var(--on-dark-muted); font-size: 14px; margin-top: 10px; }
.achv__tag { display: inline-block; margin-top: 18px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(227,30,36,.15); color: #FF8A8E; }

/* Timeline (hitos, sin fechas inventadas) */
.timeline { margin-top: 64px; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line-dark); }
.tl { padding-top: 34px; position: relative; }
.tl::before { content: ""; position: absolute; top: 4px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); border: 2px solid var(--red); transition: background .4s, box-shadow .4s; }
.tl:hover::before { background: var(--red); box-shadow: 0 0 0 8px rgba(227,30,36,.18); }
.tl__key { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: #FF5A60; letter-spacing: -.02em; }
.tl h4 { font-size: 16px; margin-top: 8px; }
.tl p { color: var(--on-dark-muted); font-size: 13.5px; margin-top: 6px; }
.timeline__note { margin-top: 28px; font-size: 13px; color: var(--on-dark-muted); }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; justify-content: center; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-family: var(--font-head); font-size: 13.5px; font-weight: 600; color: var(--muted); transition: all .3s var(--ease); }
.filter:hover { border-color: var(--text); color: var(--text); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; grid-auto-flow: dense; gap: 20px; margin-top: 40px; }
.pcard {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff; cursor: pointer; isolation: isolate;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out), box-shadow .5s;
  transform-style: preserve-3d;
}
.pcard.is-wide { grid-column: span 2; }
.pcard.is-hidden { display: none; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter .6s; filter: saturate(.85); }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,0) 30%, rgba(11,11,13,.9) 100%); transition: opacity .5s; }
.pcard:hover img { transform: scale(1.08); filter: saturate(1.05); }
.pcard:hover { box-shadow: var(--shadow); }
.pcard__body { position: absolute; inset: auto 0 0 0; padding: 24px; z-index: 2; display: grid; gap: 6px; transform: translateY(8px); transition: transform .5s var(--ease-out); }
.pcard:hover .pcard__body { transform: translateY(0); }
.pcard__tag { display: inline-flex; width: max-content; padding: 5px 10px; border-radius: 999px; background: var(--red); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pcard h3 { font-size: 20px; }
.pcard p { font-size: 13.5px; color: rgba(255,255,255,.7); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease-out), opacity .5s; }
.pcard:hover p { max-height: 80px; opacity: 1; }
.pcard__plus { position: absolute; top: 18px; right: 18px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease-out); }
.pcard__plus svg { width: 18px; height: 18px; }
.pcard:hover .pcard__plus { background: var(--red); border-color: var(--red); transform: rotate(90deg); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility .4s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11,11,13,.8); backdrop-filter: blur(10px); }
.modal__panel { position: relative; width: min(960px, 100%); max-height: 90vh; overflow: auto; background: var(--paper); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.1fr .9fr; transform: translateY(24px) scale(.98); transition: transform .5s var(--ease-out); }
.modal.is-open .modal__panel { transform: none; }
.modal__media { min-height: 360px; position: relative; background: var(--ink); }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 40px 36px; }
.modal__body h3 { font-size: 28px; margin-top: 14px; }
.modal__body p { color: var(--muted); margin-top: 14px; }
.modal__list { display: grid; gap: 10px; margin-top: 22px; }
.modal__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.modal__list svg { width: 18px; height: 18px; flex: none; color: var(--red); margin-top: 2px; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); z-index: 3; transition: transform .3s var(--ease-out), background .3s, color .3s; }
.modal__close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; }
.modal__actions { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq.is-open { border-color: rgba(227,30,36,.35); box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 20px 22px; font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.faq__q svg { width: 20px; height: 20px; flex: none; color: var(--red); transition: transform .4s var(--ease-out); }
.faq.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out); }
.faq__a p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq__aside { position: sticky; top: 110px; }
.faq__card { margin-top: 28px; padding: 28px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.faq__card h4 { font-size: 20px; }
.faq__card p { color: var(--on-dark-muted); font-size: 14.5px; margin-top: 10px; }
.faq__card .btn { margin-top: 18px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); margin-top: 48px; align-items: start; }
.form { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(11,11,13,.12); background: var(--paper-2);
  font: inherit; font-size: 15px; color: var(--text); transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(227,30,36,.12); }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--red); }
.field__err { font-size: 12px; color: var(--red); display: none; }
.field.is-error .field__err { display: block; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.form__check input { margin-top: 3px; accent-color: var(--red); }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form__success { position: absolute; inset: 0; background: var(--paper); display: grid; place-items: center; text-align: center; padding: 40px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.form.is-sent .form__success { opacity: 1; visibility: visible; }
.form__success .ok { width: 80px; height: 80px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin-inline: auto; animation: pop .6s var(--ease-out); }
.form__success .ok svg { width: 36px; height: 36px; }
.form__success h3 { font-size: 24px; margin-top: 20px; }
.form__success p { color: var(--muted); margin-top: 10px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.cinfo { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s; }
.ccard:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.ccard__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.ccard__icon svg { width: 22px; height: 22px; }
.ccard h4 { font-size: 15px; }
.ccard p, .ccard a { font-size: 14.5px; color: var(--muted); margin-top: 4px; display: block; }
.ccard a:hover { color: var(--red); }
.cmap { margin-top: 6px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--paper-3); position: relative; }
.cmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.cmap__note { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(11,11,13,.8); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 8px; }

/* ---------- CTA band (ancho completo, pegada al footer) ---------- */
.cta { padding: 0; }
.cta--top { padding-top: 0; }
.cta > .container { width: 100%; max-width: none; margin: 0; }
.cta__box {
  position: relative; overflow: hidden; background: var(--red); color: #fff;
  padding: clamp(48px, 7vw, 88px) max(var(--gutter), calc((100% - var(--container)) / 2));
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center;
}
.cta__box::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,.14); right: -200px; top: -260px; }
.cta__box::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); right: 8%; bottom: -220px; }
.cta__box h2 { font-size: clamp(28px, 3.6vw, 44px); position: relative; }
.cta__box p { margin-top: 12px; color: rgba(255,255,255,.85); position: relative; max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; }
.cta .btn--white { --bg: #fff; --fg: var(--red); }
.cta .btn--white:hover { background: var(--ink); color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 72px 0 32px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(227,30,36,.6), transparent); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { height: 64px; width: auto; }
.footer__brand p { color: var(--on-dark-muted); font-size: 14px; margin-top: 18px; max-width: 36ch; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: all .3s; }
.social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.footer h4 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; }
.footer ul { display: grid; gap: 10px; margin-top: 18px; }
.footer li a { color: rgba(255,255,255,.78); font-size: 14.5px; transition: color .3s, padding-left .3s; }
.footer li a:hover { color: #fff; padding-left: 6px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.78); font-size: 14.5px; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: #FF5A60; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Floating ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: none; place-items: center; box-shadow: 0 16px 30px -10px rgba(37,211,102,.6); transition: transform .35s var(--ease-out); }
.wa-float.is-on { display: grid; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2s cubic-bezier(0,0,.2,1) infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
.totop { position: fixed; right: 22px; bottom: 92px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .4s var(--ease-out); border: 1px solid rgba(255,255,255,.15); }
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--red); }
.totop svg { width: 18px; height: 18px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 3000; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; font-size: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: all .4s var(--ease-out); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 40px); }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: #4ADE80; flex: none; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); will-change: opacity, transform; }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-left: 0; width: min(560px, 100%); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .achv__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .timeline::before { display: none; }
  .tl::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line-dark); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .page-hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav, .header__cta .btn--primary { display: none; }
  .burger { display: grid; }
  .header__cta .btn--portal { display: none; }
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 420px; }
  .faq__aside { position: static; }
  .cta__box { grid-template-columns: 1fr; }
  .cta__actions { justify-content: flex-start; }
  .process__steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .process__line { display: none; }
  .pgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .pcard.is-wide { grid-column: span 2; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__media { min-height: 240px; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 24px); min-height: auto; }
  .hero__visual { grid-template-columns: 1fr; }
  .fcard--a, .fcard--b { grid-column: 1; margin-top: 0; }
  .hero__scroll { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .achv__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .pgrid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .pcard.is-wide { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .facts__grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .fact:last-child { border-bottom: 0; }
  .about__img--2 { border-width: 5px; }
  .about__badge { padding: 14px 16px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .totop { right: 16px; bottom: 82px; }
  .data th { width: 40%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .w > span { transform: none; }
  .hero__pill, .hero__text, .hero__actions, .hero__trust, .fcard, .hero__scroll, .page-hero__crumbs, .page-hero .eyebrow, .page-hero__title, .page-hero__text, .page-hero__actions { opacity: 1; }
}
