/* ============================================================
   SOLUCIONES WEB CANARIAS — styles.css
   Diseño editorial claro · sobrio y profesional · 100% vanilla
   Optimizado para rendimiento: sin blurs ni efectos pesados
   ============================================================ */

:root {
  --bg: #f7f5f0;          /* papel cálido */
  --bg-soft: #efece4;     /* banda suave */
  --surface: #ffffff;
  --border: #e4e0d6;
  --text: #191b1e;        /* tinta */
  --text-dim: #62666d;
  --accent: #0e5f50;      /* verde atlántico profundo */
  --accent-soft: #e9f2ee;
  --accent-border: #d3e4dd;
  --warm: #c05621;        /* terracota (sección dolores) */
  --ink-band: #17191d;    /* banda oscura (casos reales) */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 18px;
  --nav-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 10px 30px rgba(25, 27, 30, 0.06);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--text); color: var(--bg); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #cbc6ba; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #b3ada0; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* Que los anclajes no queden ocultos bajo la barra fija */
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* Antes era un degradado neón; ahora acento sobrio */
.gradient-text { color: var(--accent); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.preloader--done { opacity: 0; visibility: hidden; }
.preloader__logo {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.35em;
  color: var(--text);
  animation: pulse 1.2s ease-in-out infinite alternate;
}
@keyframes pulse { from { opacity: 0.3; } to { opacity: 1; } }

/* ---------- Barra de progreso ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 150;
  height: 3px; width: 0%;
  background: var(--accent);
}

/* ---------- Cursor personalizado ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 190;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.cursor-dot { width: 7px; height: 7px; background: var(--accent); }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(25, 27, 30, 0.28);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
.cursor-ring--hover {
  width: 58px; height: 58px;
  background: rgba(14, 95, 80, 0.06);
  border-color: var(--accent);
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}

/* ---------- Fondo ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg__orb { display: none; } /* los orbes neón se retiraron en el rediseño */
.bg__grain {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.025 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(247, 245, 240, 0.94);
  border-bottom-color: var(--border);
}
.nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.nav__logo { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 700; }
.nav__logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff; font-size: 1.15rem; font-weight: 800;
}
.nav__logo-text { font-size: 0.98rem; letter-spacing: 0.01em; }
.nav__logo-text em { font-style: normal; color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) {
  font-size: 0.95rem; color: var(--text-dim);
  position: relative; transition: color 0.3s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

.nav__burger { display: none; flex-direction: column; gap: 7px; padding: 8px; z-index: 110; }
.nav__burger span {
  width: 26px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.nav__burger--open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600;
  padding: 0.85rem 1.7rem; border-radius: 99px;
  font-size: 0.98rem; line-height: 1;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn--big { padding: 1.1rem 2.2rem; font-size: 1.05rem; }
.btn--small { padding: 0.65rem 1.3rem; font-size: 0.9rem; }
.btn--primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 6px 20px rgba(25, 27, 30, 0.18);
}
.btn--primary:hover { background: var(--accent); box-shadow: 0 10px 28px rgba(14, 95, 80, 0.28); }
.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
}
.btn--ghost:hover { border-color: var(--text); }
.btn__arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in-view { opacity: 1; transform: none; }

/* ---------- Secciones genéricas ---------- */
.section { padding: clamp(5rem, 12vh, 8.5rem) 0; position: relative; }
.section__eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative;
  padding-top: var(--nav-h);
}
.hero__inner { position: relative; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.55rem 1.1rem; border-radius: 99px;
  margin-bottom: 2rem;
}
.hero__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: ping 2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(14, 95, 80, 0.35); }
  70% { box-shadow: 0 0 0 10px rgba(14, 95, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 95, 80, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 8.2vw, 6.4rem);
  font-weight: 800; line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1.8rem;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .word {
  display: inline-block;
  transform: translateY(115%);
  animation: rise 1s var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) .word:nth-child(1) { animation-delay: 0.55s; }
.hero__title .line:nth-child(1) .word:nth-child(2) { animation-delay: 0.63s; }
.hero__title .line:nth-child(1) .word:nth-child(3) { animation-delay: 0.71s; }
.hero__title .line:nth-child(2) .word:nth-child(1) { animation-delay: 0.85s; }
.hero__title .line:nth-child(3) .word:nth-child(1) { animation-delay: 0.99s; }
.hero__title .line:nth-child(3) .word:nth-child(2) { animation-delay: 1.07s; }
.hero__title .line:nth-child(3) .word:nth-child(3) { animation-delay: 1.15s; }
@keyframes rise { to { transform: translateY(0); } }

.hero__sub {
  max-width: 560px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  margin-bottom: 2.6rem;
}
.hero__sub strong { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute; bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-dim);
}
.hero__scroll-line {
  width: 1.5px; height: 52px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollHint 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(20px); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 1.3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: rgba(25, 27, 30, 0.4);
  white-space: nowrap;
  padding-right: 0.5rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Clientes ---------- */
.clients { padding: 4rem 0 0; }
.clients__inner { text-align: center; }
.clients__label {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.6rem;
}
.clients__logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.2rem 3.5rem;
}
.clients__logos span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 800; letter-spacing: 0.14em;
  color: rgba(25, 27, 30, 0.35);
  transition: color 0.4s;
}
.clients__logos span:hover { color: var(--accent); }

/* ---------- Puntos de dolor ---------- */
.section__eyebrow--danger { color: var(--warm); }
.pains__highlight { color: var(--warm); }
.pains__grid {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.pain {
  position: relative;
  padding: 2.2rem 2rem;
  border-radius: var(--radius);
  border: 1px solid #eaddd0;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.pain:hover { transform: translateY(-6px); border-color: rgba(192, 86, 33, 0.45); }
.pain__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #f7e9de;
  border: 1px solid #eed7c4;
  color: var(--warm); font-weight: 700; font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.pain h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700; line-height: 1.35;
  margin-bottom: 0.6rem;
}
.pain p { color: var(--text-dim); font-size: 0.97rem; }
.pains__bridge {
  margin-top: 3rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.2rem;
  text-align: center;
  font-size: 1.12rem; color: var(--text-dim);
}
.pains__bridge strong { color: var(--text); }

/* ---------- Servicios ---------- */
.services__grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.card {
  position: relative;
  padding: 2.4rem 2.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
  will-change: transform;
}
/* Realce sutil que sigue al cursor (JS fija --mx / --my) */
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
              rgba(14, 95, 80, 0.06), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--accent-border); }

.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  margin-bottom: 0.7rem;
}
.card p { color: var(--text-dim); margin-bottom: 1.2rem; }
.card__list li {
  position: relative; padding-left: 1.5rem;
  color: var(--text); font-size: 0.95rem;
  margin-bottom: 0.45rem;
}
.card__list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}

/* ---------- Stats ---------- */
.stats { padding-block: clamp(3rem, 8vh, 5rem); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-block: 1px solid var(--border);
  padding-block: 3rem;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.stat__label { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Proceso ---------- */
.process__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.process__sticky { position: sticky; top: calc(var(--nav-h) + 3rem); }
.process__note { color: var(--text-dim); max-width: 380px; }

.process__steps { position: relative; padding-left: 2.6rem; }
.process__line {
  position: absolute; left: 10px; top: 10px; bottom: 10px;
  width: 2px; background: var(--border); border-radius: 2px;
  overflow: hidden;
}
.process__line span {
  display: block; width: 100%; height: 100%;
  background: var(--accent);
  transform: scaleY(0); transform-origin: top;
}
.step { padding-bottom: 3.2rem; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: -2.6rem; top: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.step__num {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--accent);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  margin: 0.4rem 0 0.6rem;
}
.step p { color: var(--text-dim); max-width: 440px; }

/* ---------- Casos reales: banda oscura + scroll horizontal ---------- */
.work { position: relative; background: var(--ink-band); }
.work__sticky {
  position: sticky; top: 0;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  gap: 3rem;
  padding-block: calc(var(--nav-h) + 1rem) 2rem;
}
.work__head { width: min(1180px, 92%); margin-inline: auto; }
.work .section__eyebrow { color: #8fcdbd; }
.work .section__title { color: #f5f4f0; }
.work .section__title .gradient-text { color: #8fcdbd; }
.work__track {
  display: flex; gap: 1.8rem;
  padding-left: max(4vw, calc((100vw - 1180px) / 2));
  will-change: transform;
}
.work__card {
  position: relative;
  flex: 0 0 clamp(300px, 34vw, 430px);
  min-height: 380px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.4rem 2.2rem;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
}
.work__card:hover { transform: translateY(-10px); border-color: rgba(255, 255, 255, 0.3); }
.work__card--a { background: linear-gradient(160deg, #1e3a33, #17191d 70%); }
.work__card--b { background: linear-gradient(160deg, #262b3f, #17191d 70%); }
.work__card--c { background: linear-gradient(160deg, #1f3646, #17191d 70%); }
.work__card--d { background: linear-gradient(160deg, #40302a, #17191d 70%); }
.work__card--e { background: linear-gradient(160deg, #3a3524, #17191d 70%); }
.work__card--f { background: linear-gradient(160deg, #2e2838, #17191d 70%); }
.work__tag {
  align-self: flex-start;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #8fcdbd;
  border: 1px solid rgba(143, 205, 189, 0.35);
  padding: 0.35rem 0.85rem; border-radius: 99px;
  margin-bottom: 1.6rem;
}
.work__card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; line-height: 1.2;
  color: #f5f4f0;
  margin-bottom: 0.8rem;
}
.work__card p { color: #a8adb5; }
.work__card p strong { color: #fff; }
.work__visit {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.92rem;
  color: #8fcdbd;
  transition: transform 0.3s var(--ease-out);
}
.work__card:hover .work__visit { transform: translateX(6px); }
.work__num {
  margin-top: auto; align-self: flex-end;
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 800;
  color: rgba(255, 255, 255, 0.07);
  line-height: 1;
}

/* ---------- Garantías ---------- */
.promises__grid {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.promise {
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.promise:hover { transform: translateY(-8px); border-color: var(--accent-border); }
.promise__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.promise h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.promise p { color: var(--text-dim); font-size: 0.93rem; }

/* ---------- FAQ ---------- */
.faq__inner {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.faq__item {
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
}
.faq__item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 600;
  cursor: pointer;
  transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__plus {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%;
  font-weight: 400; font-size: 1.2rem;
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s;
}
.faq__item[open] .faq__plus {
  transform: rotate(45deg);
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.faq__item p {
  color: var(--text-dim);
  padding-top: 1rem; max-width: 560px;
  animation: faqIn 0.5s var(--ease-out);
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Contacto ---------- */
.cta {
  padding: clamp(6rem, 16vh, 10rem) 0;
  position: relative;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.cta__head { text-align: center; margin-bottom: 3.5rem; }
.cta__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.88rem; font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  padding: 0.6rem 1.3rem; border-radius: 99px;
  margin-bottom: 1.8rem;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.cta__sub {
  color: var(--text-dim);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 560px; margin: 0 auto;
}

.cta__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: start;
  text-align: left;
}

/* ---------- Formulario ---------- */
.form {
  padding: 2.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.2rem; }
.form__field label {
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  font: inherit; color: var(--text);
  background: #fafaf8;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form__field textarea { resize: vertical; min-height: 110px; }
.form__field input::placeholder,
.form__field textarea::placeholder { color: #9aa0a8; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 95, 80, 0.12);
}
.form__check {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.85rem; color: var(--text-dim);
  margin-bottom: 1.2rem; cursor: pointer;
}
.form__check input {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form__check a { color: var(--accent); text-decoration: underline; }
.form__submit { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form__hint {
  margin-top: 0.9rem; text-align: center;
  font-size: 0.82rem; color: #9aa0a8;
}

/* ---------- Canales directos ---------- */
.cta__aside {
  padding: 2.4rem;
  border-radius: var(--radius);
  background: var(--ink-band);
  color: #f5f4f0;
}
.cta__aside h3 {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700; line-height: 1.25;
  margin-bottom: 1.6rem;
}
.cta__channel {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.05rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.98rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), background 0.3s;
}
.cta__channel:hover {
  border-color: #8fcdbd;
  background: rgba(143, 205, 189, 0.08);
  transform: translateY(-3px);
}
.cta__channel-icon { font-size: 1.4rem; }
.cta__channel small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400; font-size: 0.82rem;
  color: #a8adb5;
  margin-top: 0.15rem;
}
.cta__points { margin-top: 1.8rem; }
.cta__points li {
  position: relative; padding-left: 1.6rem;
  color: #a8adb5; font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.cta__points li::before {
  content: "✓"; position: absolute; left: 0;
  color: #8fcdbd; font-weight: 700;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  background: var(--bg);
}
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.8rem;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.footer__links a { color: var(--text-dim); font-size: 0.93rem; transition: color 0.3s; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { color: #9aa0a8; font-size: 0.86rem; width: 100%; text-align: center; margin-top: 0.5rem; }

/* ---------- Banner de cookies ---------- */
.cookies {
  position: fixed; z-index: 160;
  left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  width: min(680px, 94%);
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1.2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(25, 27, 30, 0.18);
  animation: cookiesIn 0.7s var(--ease-out);
}
@keyframes cookiesIn { from { opacity: 0; transform: translate(-50%, 30px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookies[hidden] { display: none; }
.cookies p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.5; }
.cookies p a { color: var(--accent); text-decoration: underline; }
.cookies__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
@media (max-width: 600px) {
  .cookies { flex-direction: column; align-items: stretch; text-align: center; }
  .cookies__actions { justify-content: center; }
}

/* ---------- Volver arriba ---------- */
.to-top {
  position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 90;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-size: 1.2rem;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out), visibility 0.4s, border-color 0.3s, color 0.3s;
}
.to-top--visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .promises__grid { grid-template-columns: repeat(2, 1fr); }
  .pains__grid { grid-template-columns: 1fr; }
  .process__inner, .faq__inner { grid-template-columns: 1fr; }
  .process__sticky { position: static; margin-bottom: 2.5rem; }
  .cta__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__burger { display: flex; }
  .nav__logo-text { display: none; }
  .nav__links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center;
    gap: 2.2rem;
    background: rgba(247, 245, 240, 0.98);
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }
  .nav__links--open { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { font-size: 1.4rem; font-family: var(--font-display); color: var(--text); }

  /* En móvil la sección horizontal pasa a carrusel táctil nativo */
  .work__sticky { position: static; min-height: auto; padding-top: 4rem; }
  .work__track {
    overflow-x: auto; padding-right: 4vw; padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    transform: none !important;
  }
  .work__card { flex: 0 0 82vw; scroll-snap-align: center; min-height: 340px; }
  .work__track::-webkit-scrollbar { height: 4px; }

  .promises__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .form { padding: 1.6rem; }
  .form__row { grid-template-columns: 1fr; }
  .cta__aside { padding: 1.8rem; }
  .hero__scroll { display: none; }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .word { transform: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
}
