/* =============================================================
   Fire Check · styles.css
   Paleta y tipografía: Manual de marca Fire Check 2026
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Marca */
  --noche:    #0A1430;
  --noche-2:  #0F1C42;
  --noche-3:  #070E22;
  --fire:     #2160E8;
  --claro:    #3B7BFF;
  --profundo: #1638B0;
  --flama:    #FF5A4E;
  --brasa:    #D61F2C;
  --check:    #0FA64E;
  --menta:    #16C784;
  --check-tx: #0B7F3C;

  /* Neutros */
  --white:  #FFFFFF;
  --gris:   #F3F5FA;
  --gris-2: #E6EBF4;
  --ink:    #0A1430;
  --mute:   #4B5675;
  --line:   rgba(10, 20, 48, .10);
  --line-d: rgba(255, 255, 255, .12);

  /* Tipografía */
  --display: "Sora", "Arial Black", system-ui, sans-serif;
  --sans:    "Inter", Arial, system-ui, sans-serif;
  --mono:    "IBM Plex Mono", Consolas, ui-monospace, monospace;

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1240px;
  --radius: 28px;
  --radius-sm: 16px;
  --nav-h: 76px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { background: var(--noche); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.04; letter-spacing: -0.03em; }
input, textarea, select { font: inherit; color: inherit; }
fieldset { border: 0; padding: 0; min-width: 0; }
::selection { background: var(--fire); color: var(--white); }
:focus-visible { outline: 2px solid var(--claro); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--white); color: var(--noche);
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--claro), var(--menta));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fire);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.eyebrow-dark { color: var(--menta); }
.eyebrow-dark::before { display: none; }

.h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--mute); max-width: 56ch; }
.lead-dark { color: rgba(255,255,255,.72); }
.accent-blue { color: var(--fire); }
.accent-mint { color: var(--menta); }

/* =============================================================
   5. Components
   ============================================================= */
/* Buttons */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .95rem 1.4rem; border-radius: 999px; white-space: nowrap;
  transform: translate(var(--bx), var(--by));
  transition: transform .5s var(--ease-out), background-color .3s, color .3s, box-shadow .4s var(--ease-out), border-color .3s;
  isolation: isolate; overflow: hidden;
}
.btn-sm { padding: .7rem 1.1rem; font-size: .88rem; }
.btn-lg { padding: 1.1rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--fire); color: var(--white);
  box-shadow: 0 10px 30px -10px rgba(33, 96, 232, .7), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--claro), var(--profundo));
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(33, 96, 232, .85), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.btn-arrow { display: inline-block; transition: transform .5s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Status pills (estados de la app) */
.status {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .08em;
  padding: .32rem .6rem; border-radius: 999px; white-space: nowrap;
  transition: background-color .4s, color .4s;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-ok   { color: var(--check-tx); background: rgba(22, 199, 132, .14); }
.status-warn { color: #9A5B00; background: rgba(255, 176, 32, .18); }
.status-bad  { color: var(--brasa); background: rgba(214, 31, 44, .10); }
.status-info { color: var(--profundo); background: rgba(33, 96, 232, .12); }

.chip { font-size: .68rem; padding: .35rem .65rem; border-radius: 999px; border: 1px solid var(--line); color: var(--mute); }

/* Image placeholders */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(59,123,255,.22), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(22,199,132,.14), transparent 60%),
    repeating-linear-gradient(135deg, rgba(10,20,48,.045) 0 1px, transparent 1px 14px),
    var(--gris-2);
  display: grid; place-items: center;
  border: 1px solid var(--line);
}
.ph::after {
  content: ""; position: absolute; inset: 14px; border-radius: calc(var(--radius) - 10px);
  border: 1px dashed rgba(10,20,48,.18); pointer-events: none;
}
.ph-label {
  position: relative; z-index: 1; max-width: 80%; text-align: center;
  font-size: .68rem; color: var(--mute); background: rgba(255,255,255,.75);
  padding: .45rem .75rem; border-radius: 999px; backdrop-filter: blur(6px);
}
.ph-43 { aspect-ratio: 4 / 3; }
.ph-45 { aspect-ratio: 4 / 5; }
.ph-11 { aspect-ratio: 1 / 1; }

/* Animated underline link */
.link-underline {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .5s var(--ease-out); padding-bottom: 2px;
}
.link-underline:hover { background-size: 100% 1.5px; }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem; }
.nav-logo { position: relative; display: block; width: 150px; flex: none; }
.nav-logo img { width: 150px; height: auto; transition: opacity .35s; }
.nav-logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav-links { display: none; margin-inline: auto; gap: 2rem; font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.78); }
.nav-links a { position: relative; transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: none; }
.nav-burger { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border-radius: 12px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .4s var(--ease-out), background-color .3s; }
.nav.is-open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav-burger span:last-child  { transform: translateY(-4px) rotate(-45deg); }

.nav-sheet {
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100svh - var(--nav-h)); overflow-y: auto;
  box-shadow: 0 30px 50px -30px rgba(10,20,48,.35);
  display: grid; gap: .25rem; padding: .5rem var(--gutter) 1.5rem;
  background: var(--white); border-bottom: 1px solid var(--line);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .5s var(--ease-out), visibility 0s .5s;
}
.nav-sheet a:not(.btn) { font-family: var(--display); font-weight: 700; font-size: 1.5rem; padding: .55rem 0; border-bottom: 1px solid var(--line); letter-spacing: -.02em; }
.nav-sheet .btn { margin-top: 1rem; }
.nav.is-open .nav-sheet { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease-out); }

.nav.is-scrolled, .nav.is-open { background: rgba(255,255,255,.88); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
@supports not (backdrop-filter: blur(1px)) { .nav.is-scrolled, .nav.is-open { background: var(--white); } }
.nav.is-scrolled .logo-light, .nav.is-open .logo-light { opacity: 0; }
.nav.is-scrolled .logo-dark, .nav.is-open .logo-dark { opacity: 1; }
.nav.is-scrolled .nav-links { color: var(--mute); }
.nav.is-scrolled .nav-links a:hover { color: var(--ink); }
.nav.is-scrolled .nav-burger span, .nav.is-open .nav-burger span { background: var(--ink); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh; background: var(--noche); color: var(--white);
  padding: calc(var(--nav-h) + 2.5rem) 0 5.5rem;
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-gradient {
  --mx: 70%; --my: 35%;
  position: absolute; inset: -10%;
  background:
    radial-gradient(38% 46% at var(--mx) var(--my), rgba(59,123,255,.55), transparent 70%),
    radial-gradient(32% 40% at calc(100% - var(--mx)) calc(var(--my) + 30%), rgba(22,56,176,.7), transparent 70%),
    radial-gradient(22% 26% at calc(var(--mx) + 8%) calc(var(--my) + 34%), rgba(22,199,132,.22), transparent 70%),
    radial-gradient(60% 60% at 10% 100%, rgba(33,96,232,.25), transparent 70%);
  filter: blur(30px) saturate(130%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero-noise {
  position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { display: grid; gap: 3.5rem; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--menta); box-shadow: 0 0 0 0 rgba(22,199,132,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(22,199,132,0); } 100% { box-shadow: 0 0 0 0 rgba(22,199,132,0); } }
.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em;
  margin-top: 1.4rem; text-wrap: initial;
}
.hero-title .accent-mint { display: block; }
.hero-lead { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.74); max-width: 46ch; }
.hero-lead strong { color: var(--white); font-weight: 600; }
.hero-pillars { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-pillars li {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.9);
  padding: .5rem .85rem .5rem .55rem; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-d);
}
.hero-pillars .mono { font-size: .65rem; color: var(--noche); background: var(--menta); border-radius: 999px; padding: .2rem .45rem; letter-spacing: .04em; }
.hero-ctas { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-backed { margin-top: 1.4rem; font-size: .82rem; color: rgba(255,255,255,.5); }

/* Composition */
.hero-visual { position: relative; height: 520px; max-width: 520px; width: 100%; margin-inline: auto; }
.hero-halo {
  position: absolute; left: 50%; top: 46%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59,123,255,.35), transparent 60%);
  pointer-events: none;
}
[data-depth] { --dx: 0px; --dy: 0px; }
.hero-shield {
  position: absolute; right: -4%; top: 0; width: 62%; height: auto; overflow: visible;
  translate: var(--dx) var(--dy);
  filter: drop-shadow(0 30px 60px rgba(22,56,176,.6));
  opacity: .95;
}
.sh-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 3.2s ease-in-out infinite; }
@keyframes flicker { 0%,100% { transform: scale(1,1); } 30% { transform: scale(.97,1.04); } 60% { transform: scale(1.02,.97); } }
.sh-check { stroke-dasharray: 24; stroke-dashoffset: 0; }

.phone {
  position: absolute; left: 4%; bottom: 0; width: 262px; height: 500px;
  translate: var(--dx) var(--dy);
  border-radius: 42px; padding: 10px;
  background: linear-gradient(160deg, #24345f, #0b1430 40%, #1a2850);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.12) inset, 0 0 0 1px rgba(0,0,0,.4);
  rotate: -4deg;
}
.phone-notch { position: absolute; top: 18px; left: 50%; width: 82px; height: 22px; transform: translateX(-50%); background: #050a18; border-radius: 999px; z-index: 2; }
.phone-screen {
  height: 100%; border-radius: 33px; background: var(--gris); color: var(--ink);
  padding: 46px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.app-head { display: flex; justify-content: space-between; align-items: baseline; }
.app-kicker { font-size: .62rem; color: var(--fire); }
.app-count { font-family: var(--display); font-weight: 700; font-size: .8rem; }
.app-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.app-summary div { background: var(--white); border-radius: 12px; padding: 8px 6px; text-align: center; box-shadow: 0 1px 0 var(--line); }
.app-summary b { display: block; font-family: var(--display); font-size: 1.2rem; line-height: 1.1; }
.app-summary div:nth-child(1) b { color: var(--check-tx); }
.app-summary div:nth-child(2) b { color: #B86E00; }
.app-summary div:nth-child(3) b { color: var(--brasa); }
.app-summary .mono { font-size: .48rem; color: var(--mute); letter-spacing: .02em; white-space: nowrap; }
.app-list { display: grid; gap: 7px; }
.app-item {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 6px;
  background: var(--white); border-radius: 14px; padding: 10px; box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .4s, transform .4s var(--ease-out);
}
.app-item .mono { font-size: .6rem; color: var(--ink); }
.app-place { font-size: .72rem; font-weight: 600; line-height: 1.25; margin-top: 2px; }
.app-item .app-spec { color: var(--mute); font-size: .52rem; margin-top: 3px; }
.app-item .status { font-size: .5rem; padding: .25rem .45rem; }
.app-item.is-flash { box-shadow: 0 0 0 2px rgba(22,199,132,.6), 0 10px 20px -10px rgba(22,199,132,.6); transform: scale(1.02); }
.app-btn {
  margin-top: auto; text-align: center; font-weight: 600; font-size: .78rem;
  background: var(--fire); color: var(--white); border-radius: 999px; padding: .7rem;
}

.float-card {
  position: absolute; display: flex; align-items: center; gap: .7rem;
  background: rgba(255,255,255,.96); color: var(--ink);
  border-radius: 18px; padding: .75rem 1rem .75rem .75rem;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.55);
  translate: var(--dx) var(--dy);
}
.fc-title { font-weight: 600; font-size: .85rem; line-height: 1.2; }
.fc-sub { font-size: .6rem; color: var(--mute); margin-top: 2px; }
.fc-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: rgba(33,96,232,.12); font-size: 1rem; }
.fc-check { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--menta), var(--check)); color: var(--white); font-weight: 800; }
.fc-notify { right: 0; top: 52%; }
.fc-cert { right: -6%; bottom: 2%; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .62rem; color: rgba(255,255,255,.5);
}
.hero-scroll-line { width: 1px; height: 42px; background: linear-gradient(rgba(255,255,255,.5), transparent); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--menta); transform: translateY(-100%); animation: scrollLine 2.2s var(--ease-soft) infinite; }
@keyframes scrollLine { to { transform: translateY(100%); } }

/* ---------- TICKER ---------- */
.ticker { background: var(--fire); color: var(--white); overflow: hidden; padding: 1.05rem 0; position: relative; z-index: 2; }
.ticker-track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: ticker 32s linear infinite; }
.ticker span { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -.02em; white-space: nowrap; }
.ticker i { font-style: normal; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--menta); color: var(--noche); font-weight: 800; font-size: .8rem; flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Generic section ---------- */
.section { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.section-head { display: grid; gap: 1.1rem; max-width: 760px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.section-head--row > div:first-child { display: grid; gap: 1.1rem; max-width: 720px; }

/* ---------- SERVICES ---------- */
.service-grid { display: grid; gap: 1rem; }
.service-card {
  --x: 50%; --y: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--radius);
  background: var(--gris); border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s;
  min-height: 360px;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(59,123,255,.16), transparent 45%);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10,20,48,.35); border-color: rgba(33,96,232,.25); }
.service-card:hover::before { opacity: 1; }
.service-card p { color: var(--mute); }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; padding-bottom: 2.5rem; }
.service-num { font-size: .7rem; color: var(--fire); }
.service-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); transition: transform .6s var(--ease-bounce), background-color .4s; }
.service-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--fire); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service-chip-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }

.service-card--feature { background: var(--noche); color: var(--white); border-color: transparent; }
.service-card--feature::after {
  content: ""; position: absolute; right: -30%; top: -30%; width: 90%; aspect-ratio: 1; z-index: -1;
  background: radial-gradient(circle, rgba(59,123,255,.45), transparent 65%);
}
.service-card--feature::before { background: radial-gradient(420px circle at var(--x) var(--y), rgba(22,199,132,.18), transparent 45%); }
.service-card--feature p { color: rgba(255,255,255,.7); }
.service-card--feature .service-num { color: var(--menta); }
.service-card--feature .service-icon { background: rgba(255,255,255,.08); border-color: var(--line-d); }
.service-card--feature .service-icon svg { stroke: var(--menta); }
.service-meta { display: flex; align-items: baseline; gap: .6rem; font-size: .7rem; color: rgba(255,255,255,.6); margin-top: .4rem; }
.service-meta b { font-family: var(--display); font-size: 2.4rem; letter-spacing: -.03em; color: var(--menta); font-weight: 800; }

/* ---------- HOW ---------- */
.how { background: var(--gris); }
.how-inner { display: grid; gap: 3rem; }
.how-sticky { display: grid; gap: 1.1rem; align-content: start; }
.how-ph { margin-top: 1.2rem; }
.steps { position: relative; display: grid; gap: 1rem; padding-left: 2.2rem; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px;
}
.steps::before { background: var(--gris-2); }
.steps::after { background: linear-gradient(var(--claro), var(--menta)); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.step {
  position: relative; background: var(--white); border-radius: 22px; padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid var(--line); display: grid; gap: .55rem;
  transition: box-shadow .5s var(--ease-out), border-color .5s;
}
.step::before {
  content: ""; position: absolute; left: calc(-2.2rem + 3px); top: 1.85rem; width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gris-2); transition: border-color .4s, background-color .4s, box-shadow .4s; z-index: 1;
}
.step.is-active::before { border-color: var(--menta); background: var(--menta); box-shadow: 0 0 0 6px rgba(22,199,132,.18); }
.step.is-active { border-color: rgba(33,96,232,.2); box-shadow: 0 24px 50px -30px rgba(10,20,48,.35); }
.step p { color: var(--mute); }
.step-num { font-size: .7rem; color: var(--fire); }
.step .step-data { font-size: .7rem; color: var(--ink); background: var(--gris); border-radius: 10px; padding: .55rem .75rem; justify-self: start; margin-top: .3rem; }
.step .step-data--ok { color: var(--check-tx); background: rgba(22,199,132,.12); }

/* ---------- ABOUT ---------- */
.about-inner { display: grid; gap: 4rem; align-items: center; }
.about-visual { position: relative; padding: 0 12% 18% 0; }
.about-ph-main { width: 100%; }
.about-ph-small { position: absolute; right: 0; bottom: 0; width: 46%; border: 6px solid var(--white); box-shadow: 0 30px 60px -30px rgba(10,20,48,.45); }
.about-badge {
  position: absolute; left: -2%; bottom: 10%; display: flex; align-items: center; gap: .8rem;
  background: var(--noche); color: var(--white); border-radius: 20px; padding: .9rem 1.2rem .9rem .9rem;
  box-shadow: 0 30px 60px -25px rgba(10,20,48,.7); font-size: .9rem; line-height: 1.3;
}
.about-badge img { width: 38px; }
.about-badge b { color: var(--menta); }
.about-copy { display: grid; gap: 1.2rem; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--mute); max-width: 56ch; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .8rem; }
.values li { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; border-radius: var(--radius-sm); background: var(--gris); border: 1px solid var(--line); }
.values .mono { font-size: .65rem; color: var(--fire); padding-top: .25rem; }
.values b { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.values p { font-size: .88rem; color: var(--mute); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -.04em; line-height: 1; color: var(--fire); }
.stats .mono { font-size: .62rem; color: var(--mute); margin-top: .5rem; line-height: 1.4; }

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--gris); overflow: hidden; }
.t-controls { display: flex; gap: .6rem; }
.t-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  font-size: 1.2rem; transition: background-color .3s, color .3s, transform .5s var(--ease-out);
}
.t-btn:hover { background: var(--noche); color: var(--white); transform: scale(1.06); }
.t-stage {
  position: relative; display: grid; border-radius: calc(var(--radius) + 8px);
  background: var(--white); border: 1px solid var(--line);
  padding: clamp(2rem, 6vw, 4.5rem); overflow: hidden; isolation: isolate;
  touch-action: pan-y;
}
.t-stage::before {
  content: "”"; position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: -.42em; z-index: -1;
  font-family: var(--display); font-weight: 800; font-size: clamp(12rem, 26vw, 22rem); line-height: 1;
  background: linear-gradient(135deg, rgba(59,123,255,.18), rgba(22,56,176,.06)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.t-slide { grid-area: 1 / 1; display: grid; gap: 2.2rem; align-content: space-between; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease-out), visibility 0s .6s; }
.t-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease-out) .1s; }
.t-slide blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(1.45rem, 3.2vw, 2.55rem); line-height: 1.22; letter-spacing: -.025em; max-width: 26ch; text-wrap: balance; }
.t-slide figcaption { display: flex; align-items: center; gap: 1rem; }
.t-slide figcaption b { display: block; font-family: var(--display); font-weight: 700; }
.t-slide figcaption .mono { display: block; font-size: .64rem; color: var(--mute); margin-top: .15rem; }
.t-avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.t-avatar::after { display: none; }
.t-avatar .mono { font-size: .72rem; color: var(--profundo); }
.t-word { display: inline-block; }
.t-progress { display: flex; gap: .5rem; margin-top: 1.5rem; }
.t-dot { flex: 1; max-width: 120px; height: 3px; border-radius: 3px; background: var(--gris-2); overflow: hidden; }
.t-dot i { display: block; height: 100%; width: 100%; background: var(--fire); transform: scaleX(0); transform-origin: left; }
.t-dot.is-done i { transform: scaleX(1); }
.t-dot.is-active i { animation: tfill var(--t-dur, 6.5s) linear forwards; }
.t-stage:hover ~ .t-progress .t-dot.is-active i, .t-progress.is-paused .t-dot.is-active i { animation-play-state: paused; }
@keyframes tfill { to { transform: scaleX(1); } }

.t-people { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.t-person {
  display: flex; align-items: center; gap: .7rem; text-align: left;
  padding: .6rem .8rem .6rem .6rem; border-radius: 18px; border: 1px solid var(--line); background: var(--white);
  transition: background-color .4s, border-color .4s, color .4s, transform .5s var(--ease-out);
}
.t-person .t-avatar { width: 40px; height: 40px; }
.t-person b { display: block; font-family: var(--display); font-size: .9rem; letter-spacing: -.01em; }
.t-person .mono { display: block; font-size: .58rem; color: var(--mute); }
.t-person:hover { transform: translateY(-2px); border-color: rgba(33,96,232,.3); }
.t-person.is-active { background: var(--noche); color: var(--white); border-color: var(--noche); }
.t-person.is-active .mono { color: var(--menta); }

/* ---------- CONTACT ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; background: var(--noche); color: var(--white); padding: clamp(5rem, 11vw, 9rem) 0; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-gradient { --mx: 25%; --my: 30%; opacity: .85; }
.contact-inner { display: grid; gap: 3.5rem; align-items: start; }
.contact-copy { display: grid; gap: 1.3rem; }
.contact-title { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; max-width: 12ch; }
.contact-list { display: grid; gap: 0; margin-top: 1rem; border-top: 1px solid var(--line-d); }
.contact-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-d); }
.contact-list .mono { font-size: .68rem; color: rgba(255,255,255,.5); }
.contact-list a { font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.2rem); letter-spacing: -.01em; }

.contact-form {
  background: var(--white); color: var(--ink); border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 3.5vw, 2.4rem); display: grid; gap: 1.1rem;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.7);
}
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.form-head .mono { font-size: .68rem; color: var(--mute); }
.field-row { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field > span, .field legend { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field em { font-style: normal; color: var(--mute); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--gris); border-radius: 14px;
  padding: .85rem 1rem; font-size: 1rem; transition: border-color .3s, background-color .3s, box-shadow .3s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #8A93AC; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--fire); background: var(--white); box-shadow: 0 0 0 4px rgba(33,96,232,.14); }
.field.is-invalid input { border-color: var(--brasa); box-shadow: 0 0 0 4px rgba(214,31,44,.1); }
.pills { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .45rem; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: inline-block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; background: var(--gris); transition: all .3s var(--ease-out); }
.pills input:checked + span { background: var(--noche); color: var(--white); border-color: var(--noche); }
.pills input:focus-visible + span { outline: 2px solid var(--claro); outline-offset: 2px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin: .6rem 0 .2rem;
  background: linear-gradient(90deg, var(--fire) var(--pct, 11%), var(--gris-2) var(--pct, 11%));
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 6px solid var(--fire); box-shadow: 0 4px 12px rgba(33,96,232,.4); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 6px solid var(--fire); cursor: grab; }
.range-out { font-size: .72rem; color: var(--fire); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-weight: 500; color: #8E1520; background: rgba(214,31,44,.08); padding: .9rem 1rem; border-radius: 14px; }
.form-error a { text-decoration: underline; }
.form-success { font-weight: 600; color: var(--check-tx); background: rgba(22,199,132,.12); padding: .9rem 1rem; border-radius: 14px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--noche-3); color: rgba(255,255,255,.6); padding: 3.5rem 0 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-d); }
.footer-inner img { width: 150px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .9rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .82rem; }
.footer-bottom .mono { font-size: .64rem; }

/* =============================================================
   7. Effects — reveal states (only when JS is running)
   ============================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-split] { opacity: 1; transform: none; }

.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw-i { display: inline-block; will-change: transform; }

/* ---------- PHOTOS (stock) ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--gris-2); isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(10,20,48,.08); pointer-events: none; }
.photo-43 { aspect-ratio: 4 / 3; }
.photo-45 { aspect-ratio: 4 / 5; }
.photo-11 { aspect-ratio: 1 / 1; }
.photo-tone img { filter: saturate(.9) contrast(1.04); }

.service-media { margin: -.6rem -.6rem .4rem; border-radius: calc(var(--radius) - 10px); aspect-ratio: 16 / 10; }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-card .service-top { padding-bottom: .4rem; margin-bottom: 0; }
.service-card--feature .service-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10,20,48,.55));
}

/* Full-bleed band */
.band { position: relative; overflow: hidden; isolation: isolate; color: var(--white); min-height: clamp(420px, 62vw, 680px); display: flex; align-items: flex-end; }
.band-img { position: absolute; inset: -12% 0; z-index: -2; }
.band-img img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,20,48,.1) 0%, rgba(10,20,48,.35) 35%, rgba(10,20,48,.82) 70%, rgba(10,20,48,.95) 100%); }
.band-inner .eyebrow { text-shadow: 0 1px 12px rgba(10,20,48,.9); }
.band-inner { padding-block: clamp(3rem, 7vw, 5.5rem); display: grid; gap: 1.2rem; }
.band-title { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.035em; max-width: 14ch; }
.band-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.band-meta span { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: .45rem .75rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid var(--line-d); backdrop-filter: blur(8px); }
.band-meta span b { color: var(--menta); font-weight: 500; }

.photo.about-ph-small { position: absolute; right: 0; bottom: 0; width: 46%; border: 6px solid var(--white); box-sizing: border-box; }
.photo.about-ph-small img { border-radius: calc(var(--radius) - 6px); }
.footer-credits { color: rgba(255,255,255,.45); text-decoration: underline; text-underline-offset: 3px; }
.footer-credits:hover { color: var(--white); }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (max-width: 539px) {
  .hero-visual { height: 470px; transform: scale(.9); transform-origin: top center; margin-bottom: -40px; }
  .phone { left: 0; width: 236px; height: 452px; }
  .hero-shield { width: 58%; right: -2%; }
  .fc-notify { top: 47%; right: -2%; }
  .fc-cert { right: 0; bottom: 6%; }
  .float-card { padding: .6rem .8rem .6rem .6rem; }
  .fc-title { font-size: .78rem; }
  .hero-ctas .btn { width: 100%; }
  .values li { padding: .8rem; gap: .5rem; }
  .service-card { min-height: 0; }
  .service-top { padding-bottom: 1.2rem; }
  .stats { gap: .6rem; }
  .contact-list li { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .band { min-height: 640px; }
  .band-img img { object-position: 40% 50%; }
}
@media (min-width: 540px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card--feature { grid-row: span 2; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger, .nav-sheet { display: none; }
  .hero-inner { grid-template-columns: 1.2fr .8fr; gap: 1.5rem; }
  .hero-visual { margin-right: -2rem; }
  .hero-visual { height: 580px; }
  .phone { width: 280px; height: 548px; }
  .hero-scroll { display: flex; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card--feature { grid-row: auto; transform: translateY(2.5rem); }
  .service-card--feature:hover { transform: translateY(calc(2.5rem - 6px)); }
  .services { padding-bottom: calc(clamp(5rem, 11vw, 9rem) + 2.5rem); }
  .how-inner { grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; }
  .how-sticky { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .about-inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .contact-inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .contact-copy { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .testimonials .container { display: grid; grid-template-columns: 1fr 300px; column-gap: 1.25rem; }
  .testimonials .section-head, .testimonials .t-progress { grid-column: 1 / -1; }
  .t-people { grid-template-columns: 1fr; margin-top: 0; align-content: stretch; }
  .t-person { padding: .9rem 1rem .9rem .8rem; }
}
@media (min-width: 1280px) {
  .hero-title { font-size: 4.6rem; }
}

/* ---------- SUPPORT CHAT ---------- */
.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; }
.fc-chat { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 150; }
.fc-chat-launcher {
  display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.15rem .8rem .9rem; border-radius: 999px;
  background: var(--noche); color: var(--white); font-weight: 600; font-size: .92rem;
  box-shadow: 0 18px 40px -14px rgba(10,20,48,.7), 0 0 0 1.5px rgba(59,123,255,.55);
  transition: transform .5s var(--ease-out), box-shadow .4s, opacity .3s;
}
.fc-chat-launcher img { width: 22px; height: auto; }
.fc-chat-launcher::after { content: ""; position: absolute; top: 6px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--menta); box-shadow: 0 0 0 3px var(--noche); }
.fc-chat-launcher { position: relative; }
.fc-chat-launcher:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -14px rgba(33,96,232,.7), 0 0 0 1px rgba(255,255,255,.1) inset; }
.fc-chat.is-open .fc-chat-launcher { opacity: 0; pointer-events: none; transform: scale(.9); }

.fc-chat-panel {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100svh - 32px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: 26px; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(10,20,48,.55);
  transform-origin: bottom right; animation: chatIn .45s var(--ease-out);
}
.fc-chat-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.fc-chat-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1rem 1rem 1.1rem; background: var(--noche); color: var(--white); }
.fc-chat-head img { width: 26px; height: auto; }
.fc-chat-title { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
.fc-chat-status { font-size: .6rem; color: var(--menta); display: flex; align-items: center; gap: .4rem; }
.fc-chat-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--menta); }
.fc-chat-close { margin-left: auto; width: 38px; height: 38px; border-radius: 12px; color: rgba(255,255,255,.8); }
.fc-chat-close:hover { background: rgba(255,255,255,.1); color: var(--white); }

.fc-chat-log { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--gris); overscroll-behavior: contain; }
.fc-msg { max-width: 86%; padding: .7rem .9rem; border-radius: 18px; font-size: .92rem; line-height: 1.5; animation: msgIn .35s var(--ease-out); }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
.fc-msg p + p, .fc-msg p + ul, .fc-msg ul + p { margin-top: .45rem; }
.fc-msg ul { list-style: disc; padding-left: 1.1rem; }
.fc-msg a { color: var(--fire); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.fc-msg--bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.fc-msg--user { align-self: flex-end; background: var(--fire); color: var(--white); border-bottom-right-radius: 6px; }
.fc-msg--error { align-self: flex-start; background: rgba(214,31,44,.07); color: #8E1520; border: 1px solid rgba(214,31,44,.2); }
.fc-typing { display: inline-flex; gap: 4px; padding: .9rem 1rem; }
.fc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); opacity: .4; animation: typing 1.2s infinite; }
.fc-typing i:nth-child(2) { animation-delay: .15s; } .fc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { opacity: 1; transform: translateY(-3px); } }

.fc-chat-chips { display: flex; gap: .4rem; overflow-x: auto; padding: .6rem 1rem; background: var(--gris); scrollbar-width: none; }
.fc-chat-chips::-webkit-scrollbar { display: none; }
.fc-chat-chips button { flex: none; font-size: .8rem; padding: .45rem .75rem; border-radius: 999px; background: var(--white); border: 1px solid rgba(33,96,232,.25); color: var(--profundo); white-space: nowrap; transition: background-color .3s, color .3s; }
.fc-chat-chips button:hover { background: var(--fire); color: var(--white); }
.fc-chat-chips[hidden] { display: none; }
.fc-chat-form { display: flex; align-items: flex-end; gap: .5rem; padding: .7rem .7rem .3rem; border-top: 1px solid var(--line); }
.fc-chat-form textarea { flex: 1; resize: none; border: 1px solid var(--line); background: var(--gris); border-radius: 16px; padding: .7rem .9rem; font-size: 16px; line-height: 1.4; max-height: 120px; }
.fc-chat-form textarea:focus { outline: none; border-color: var(--fire); background: var(--white); box-shadow: 0 0 0 3px rgba(33,96,232,.14); }
.fc-chat-send { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--fire); color: var(--white); font-size: 1.1rem; transition: background-color .3s, transform .4s var(--ease-out); }
.fc-chat-send:hover { background: var(--profundo); transform: translateX(2px); }
.fc-chat-send:disabled { opacity: .5; cursor: not-allowed; }
.fc-chat-note { font-size: .68rem; color: var(--mute); padding: .3rem 1rem .8rem; line-height: 1.4; }

@media (max-width: 539px) {
  .fc-chat-launcher span { display: none; }
  .fc-chat-launcher { width: 58px; height: 58px; padding: 0; justify-content: center; }
  .fc-chat-panel { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .fc-chat-head { padding-top: max(1rem, env(safe-area-inset-top)); }
  .fc-chat-note { padding-bottom: max(.8rem, env(safe-area-inset-bottom)); }
}

/* =============================================================
   9. Reduced motion — only intrusive loops
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation-duration: 90s; }
  .sh-flame, .hero-scroll-line::after, .pulse-dot { animation: none; }
}
