/* =========================================================
   Basajaun Digitala — estilos
   ========================================================= */

/* ---------- Tipografías (alojadas en la propia web) ---------- */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/bricolage-grotesque-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/bricolage-grotesque-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/figtree-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/figtree-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/figtree-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }

/* ---------- Variables (colores, tipografía, medidas) ---------- */
:root {
  --ink: #17231B;          /* texto principal */
  --ink-soft: #3E4E42;     /* texto secundario */
  --ink-mute: #4A5A4E;
  --moss: #33573A;         /* verde principal */
  --moss-light: #7FA27F;
  --moss-pale: #DCE6D9;
  --mint: #9FD39A;         /* verde de la terminal */
  --bg: #F3F5F0;           /* fondo */
  --bg-alt: #E4ECE3;
  --card: #F8FAF6;
  --line: #D6DED3;
  --field-line: #C9D3C6;
  --dark: #17231B;
  --dark-deep: #0F1812;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--moss); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--ink); }
h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1; letter-spacing: -0.03em; font-weight: 800; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 10vw, 130px); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; color: #fff; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--moss);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--mint); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-soft); }
.prose p { font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.prose p + p { margin-top: 16px; }
.green { color: var(--moss); }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 6vw, 88px);
}
.two-col.center { align-items: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(23, 35, 27, .55); }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--moss); color: #fff; }
.btn-primary:hover { background: #2a4930; color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .75); color: var(--ink); border-color: var(--field-line); }
.btn-ghost:hover { color: var(--ink); background: #fff; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.btn .wa { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.btn .wa .wa-fill { fill: currentColor; stroke: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-place { margin-top: 20px; color: var(--ink-mute); font-size: 15px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  transition: background .35s ease, box-shadow .35s ease, -webkit-backdrop-filter .35s, backdrop-filter .35s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 22px;
  transition: padding .35s var(--ease);
}
.brand-mark { transition: width .35s var(--ease), height .35s var(--ease); }

/* Cabecera anclada: al bajar se convierte en una barra compacta */
.site-header.is-stuck {
  background: rgba(243, 245, 240, .86);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(23, 35, 27, .08), 0 14px 30px -24px rgba(23, 35, 27, .45);
}
.site-header.is-stuck .header-inner { padding-block: 10px; }
.site-header.is-stuck .brand-mark { width: 34px; height: 34px; }
@media (min-width: 1181px) {
  .site-header.is-stuck .nav {
    background: transparent; border-color: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-name { white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; line-height: 1; }
.brand-name span { font-weight: 400; color: var(--ink-mute); }

.nav {
  display: flex; align-items: center; gap: 28px;
  background: rgba(243, 245, 240, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(23, 35, 27, .08);
  border-radius: 999px;
  padding: 6px 6px 6px 26px;
}
.nav-link { position: relative; padding: 12px 2px; color: var(--ink); font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }

/* Desplegable de servicios en el menú */
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font: inherit; cursor: pointer; }
.nav-drop-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.nav-drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-drop-menu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 10px); left: -18px; min-width: 300px; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 48px -24px rgba(23, 35, 27, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav-drop.is-open .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1181px) {
  .nav-drop:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
}
.nav-drop-menu a { display: block; padding: 11px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.nav-drop-menu a:hover, .nav-drop-menu a[aria-current="page"] { background: var(--bg-alt); }
.nav-drop-sep { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.nav-drop-sep a { color: var(--moss); font-weight: 600; }

/* Selector de idioma */
.lang-switch {
  list-style: none; margin: 0; padding: 3px;
  display: flex; gap: 2px;
  background: rgba(23, 35, 27, .06); border-radius: 999px;
}
.lang-switch a {
  display: grid; place-items: center;
  min-width: 38px; height: 34px; padding: 0 8px;
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .04em;
  color: var(--ink-mute); text-decoration: none;
  transition: background .2s, color .2s;
}
.lang-switch a:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.lang-switch a.is-current { background: #fff; color: var(--moss); box-shadow: 0 1px 3px rgba(23, 35, 27, .15); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid rgba(23, 35, 27, .1); border-radius: 50%;
  background: rgba(243, 245, 240, .9);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(760px, 94vh, 920px);
  overflow: hidden;
  background: #DCE8EE;
  padding-top: 84px;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 72%;
}
/* Velo suave solo detrás del texto (sigue al contenido, no al borde de la pantalla) */
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 760px 620px at calc(50% - 360px) 46%,
      rgba(243, 245, 240, .86) 0%,
      rgba(243, 245, 240, .62) 42%,
      rgba(243, 245, 240, 0) 78%);
}
.hero h1, .hero .lead, .hero .eyebrow { text-shadow: 0 1px 18px rgba(243, 245, 240, .9); }
.hero-char {
  position: absolute; z-index: 2;
  right: clamp(8px, 8vw, 140px);
  bottom: -44px;
  height: min(76%, 690px);
  aspect-ratio: 996 / 1318;
}
.hero-char img { width: 100%; height: 100%; }
.steam-wrap { position: absolute; left: 79%; top: 48%; width: 10%; height: 13%; overflow: visible; }
.steam {
  fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round;
  stroke-dasharray: 60 140; opacity: 0;
  animation: steam 4.5s ease-out infinite;
}
.s2 { animation-delay: 1.5s; stroke-width: 4; }
.s3 { animation-delay: 3s; stroke-width: 3.5; }
@keyframes steam {
  0%   { stroke-dashoffset: 60;   opacity: 0;  transform: translateY(6px); }
  30%  { opacity: .8; }
  100% { stroke-dashoffset: -140; opacity: 0;  transform: translateY(-14px); }
}
.hero-fg {
  position: absolute; z-index: 3; top: 0; right: 0;
  height: 100%; width: auto; max-width: none;
  aspect-ratio: 1536 / 1024;
  pointer-events: none;
}

/* Hojas que caen (las crea main.js) */
.leaves { position: absolute; inset: 0; z-index: 4; pointer-events: none; perspective: 600px; }
.leaf { position: absolute; opacity: 0; animation: leafA 15s linear infinite; }
.leaf img { width: 100%; height: auto; animation: flutter 2.6s ease-in-out infinite alternate; }
.leaf.b { animation-name: leafB; }
@keyframes leafA {
  0%   { transform: translate(0, 0) rotate(0); opacity: 0; }
  7%   { opacity: 1; }
  25%  { transform: translate(-90px, 170px) rotate(80deg); }
  50%  { transform: translate(-40px, 370px) rotate(160deg); }
  75%  { transform: translate(-190px, 560px) rotate(250deg); }
  90%  { opacity: 1; }
  100% { transform: translate(-150px, 800px) rotate(330deg); opacity: 0; }
}
@keyframes leafB {
  0%   { transform: translate(0, 0) rotate(20deg); opacity: 0; }
  7%   { opacity: 1; }
  30%  { transform: translate(-160px, 200px) rotate(-60deg); }
  55%  { transform: translate(-120px, 420px) rotate(-140deg); }
  80%  { transform: translate(-330px, 620px) rotate(-220deg); }
  90%  { opacity: 1; }
  100% { transform: translate(-300px, 820px) rotate(-280deg); opacity: 0; }
}
@keyframes flutter {
  from { transform: rotateY(0) rotateX(10deg); }
  to   { transform: rotateY(160deg) rotateX(-20deg); }
}

.hero-content { position: relative; z-index: 5; padding-top: clamp(40px, 7vw, 100px); padding-bottom: 120px; }
.hero-copy { max-width: 720px; }
.hero-copy .lead { max-width: 580px; }
.hero h1 {
  font-size: clamp(42px, 5.4vw, 80px);
  line-height: .98;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero .lead { margin-top: 30px; max-width: 560px; }
.actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.underlined { position: relative; display: inline-block; }
.underlined svg { position: absolute; left: -2%; bottom: -.14em; width: 104%; height: .32em; overflow: visible; }
.underlined path {
  fill: none; stroke: var(--moss-light); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 420; animation: draw 1.6s .6s cubic-bezier(.6, .1, .2, 1) both;
}
@keyframes draw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }

.hero-in { animation: rise .9s var(--ease) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .4s; } .d4 { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Aparición al hacer scroll (main.js añade .is-visible) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Franja de compromisos ---------- */
.promises { position: relative; z-index: 6; margin-top: -64px; }
.promises-card {
  list-style: none; margin: 0; padding: clamp(22px, 2.6vw, 34px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(23, 35, 27, .08);
  border-radius: 26px;
  box-shadow: 0 30px 60px -32px rgba(23, 35, 27, .45);
}
.promise { display: flex; gap: 14px; align-items: flex-start; }
.promise + .promise { border-left: 1px solid var(--line); padding-left: clamp(18px, 2.4vw, 32px); }
.promise-ico {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: var(--moss-pale); display: grid; place-items: center;
  transition: transform .4s var(--ease), background .3s;
}
.promise:hover .promise-ico { transform: rotate(-8deg) scale(1.06); background: #cfdec9; }
.promise-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--moss); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.promise h3 { font-size: 18px; margin-bottom: 4px; }
.promise p { font-size: 15px; line-height: 1.45; color: var(--ink-mute); }

/* ---------- ¿Te suena? (chat) ---------- */
.suena {
  position: relative; overflow: hidden;
  padding-block: clamp(90px, 11vw, 150px) clamp(80px, 10vw, 130px);
  background:
    radial-gradient(ellipse 60% 70% at 85% 40%, rgba(127, 162, 127, .28), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(247, 235, 200, .7), transparent 70%),
    var(--bg);
}
.phone-wrap {
  position: relative; justify-self: center; width: 100%; max-width: 400px;
  rotate: 2.5deg;
  animation: phone-float 6s ease-in-out infinite;
}



/* Círculo dibujado a mano sobre "tuya" */
.circled { position: relative; display: inline-block; }
.circled svg { position: absolute; left: -18%; top: -14%; width: 136%; height: 128%; overflow: visible; pointer-events: none; }
.circled path {
  fill: none; stroke: var(--moss-light); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 640; stroke-dashoffset: 0;
}
.js .circled path { stroke-dashoffset: 640; }
.js .suena-copy.is-visible .circled path { animation: circle-draw 1.2s .5s cubic-bezier(.6, .1, .2, 1) forwards; }
@keyframes circle-draw { to { stroke-dashoffset: 0; } }

/* El móvil (y el Basajaun con él) flota suavemente */
@keyframes phone-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.suena-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(40px, 7vw, 110px); align-items: center;
}
.suena-copy h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; }
.suena-copy .lead { margin-top: 24px; max-width: 520px; }
.suena-copy .actions { margin-top: 34px; }

/* Móvil dibujado con CSS */
.phone {
  position: relative; z-index: 1;
  transform: none !important;
  padding: 12px; border-radius: 46px;
  background: #1C2A20;
  box-shadow: 0 40px 80px -30px rgba(23, 35, 27, .55), inset 0 0 0 2px #2F4234;
  transition: opacity .8s var(--ease), translate .8s var(--ease);
}
.js .phone.reveal { translate: 0 40px; }
.js .phone.reveal.is-visible { translate: 0 0; }
.phone-screen {
  display: flex; flex-direction: column;
  height: 600px; border-radius: 36px; overflow: hidden;
  background-color: #EFE9DD;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(51, 87, 58, .06) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 70%, rgba(51, 87, 58, .05) 0 2px, transparent 3px);
  background-size: 34px 34px, 46px 46px;
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 18px 14px;
  background: var(--moss); color: #fff;
}
.chat-head img { width: 40px; height: 40px; border-radius: 50%; }
.chat-head strong { display: block; font-size: 16px; line-height: 1.2; }
.chat-status { font-size: 13px; color: #CFE3CC; }

.chat {
  list-style: none; margin: 0; padding: 16px 14px;
  flex: 1; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
}
.chat { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28px); mask-image: linear-gradient(to bottom, transparent 0, #000 28px); }
.msg {
  position: relative; max-width: 82%;
  padding: 9px 12px 9px;
  border-radius: 14px;
  font-size: 15px; line-height: 1.4; color: var(--ink);
  box-shadow: 0 1px 1px rgba(23, 35, 27, .12);
}
.msg.in { align-self: flex-end; background: #D6EDC6; border-bottom-right-radius: 4px; }
.msg.out { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.msg-who { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.typing {
  align-self: flex-start; display: none; gap: 4px;
  background: #fff; padding: 12px 14px; border-radius: 14px; border-bottom-left-radius: 4px;
  box-shadow: 0 1px 1px rgba(23, 35, 27, .12);
}
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #93A396; animation: dot 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Animación del chat (main.js controla .is-shown / .is-typing) */
.js .chat.is-animated .msg { display: none; }
.js .chat.is-animated .msg.is-shown { display: block; animation: pop .35s var(--ease) both; }
.js .chat.is-typing .typing { display: flex; animation: pop .25s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

.js .chat.is-clearing .msg { transition: opacity .6s ease, transform .6s ease; opacity: 0; transform: translateY(-12px); }

.chat-input {
  display: flex; align-items: center; gap: 10px;
  margin: 0 12px 14px; padding: 6px 6px 6px 18px;
  background: #fff; border-radius: 999px; color: #8A968C; font-size: 15px;
}
.chat-input span:first-child { flex: 1; }
.chat-send { width: 38px; height: 38px; border-radius: 50%; background: var(--moss); display: grid; place-items: center; }
.chat-send svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- Sección oscura / terminal ---------- */
.dark { background: var(--dark); color: #EEF2EC; padding-block: clamp(72px, 9vw, 120px); }
.dark h2 { color: #EEF2EC; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; }
.dark-text { margin-top: 24px; font-size: 18px; line-height: 1.65; color: #C4D0C5; }
.terminal {
  background: var(--dark-deep);
  border: 1px solid #2C3D31;
  border-radius: 18px;
  padding: 22px 24px 28px;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.25vw, 15px);
  line-height: 2;
  color: #C4D0C5;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  overflow-x: auto;
}
.terminal-dots { display: flex; gap: 8px; margin-bottom: 16px; }
.terminal-dots span { width: 11px; height: 11px; border-radius: 50%; background: #3A4C3F; }
.t-user, .t-ok { color: var(--mint); }
.t-dim { color: #7E8F82; }
.typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 0; }
.caret { display: inline-block; width: .6ch; height: 1.1em; background: var(--mint); vertical-align: -.15em; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.okline { opacity: 0; }
/* La animación arranca cuando la terminal entra en pantalla */
.terminal.is-visible .typed { animation: type 2.2s .3s steps(var(--chars, 23)) both; }
.terminal.is-visible .okline { animation: rise .5s ease both; }
.terminal.is-visible .o1 { animation-delay: 2.6s; }
.terminal.is-visible .o2 { animation-delay: 2.9s; }
.terminal.is-visible .o3 { animation-delay: 3.2s; }
.terminal.is-visible .o4 { animation-delay: 3.5s; }
@keyframes type { from { width: 0; } to { width: calc(var(--chars, 23) * 1ch); } }

/* ---------- Cómo trabajo ---------- */
#como h2 { margin-bottom: 56px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { padding: 28px 28px 28px 0; border-top: 2px solid var(--ink); }
.step-n { font-family: var(--font-mono); font-size: 14px; color: var(--moss); }
.steps h3 { margin: 14px 0 10px; font-size: 24px; }
.steps p { font-size: 16px; color: var(--ink-mute); }

/* ---------- Sobre mí (alter ego) ---------- */
.about {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 20% 55%, rgba(127, 162, 127, .35), transparent 70%),
    var(--bg-alt);
  padding-block: clamp(80px, 10vw, 130px);
}
.about-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px); align-items: center;
}
.about-art { margin: 0; justify-self: center; width: 100%; max-width: 340px; }
.about-art img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(23, 35, 27, .25)); }
.about-copy h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; margin-bottom: 26px; }
.about-copy h2 .name { color: var(--moss); }
.about-legend {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: var(--ink);
}
.about-me { margin-top: 18px; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.about-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.about-facts li {
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); border: 1px solid rgba(51, 87, 58, .15);
  font-size: 15px; font-weight: 600; color: var(--moss);
}

/* Mi camino (línea de tiempo) */
.path { margin-top: clamp(64px, 8vw, 110px); }
.path-title { font-family: var(--font-mono); font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--moss); margin-bottom: 30px; }
.path-list {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px;
}
/* La línea que une los puntos se dibuja al aparecer */
.path-list::before {
  content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px;
  background: linear-gradient(90deg, rgba(51, 87, 58, .25), var(--moss));
  transform-origin: left; transform: scaleX(var(--line, 1));
  transition: transform 1.6s var(--ease);
}
.js .path-list::before { --line: 0; }
.js .path-list.is-drawn::before { --line: 1; transform: scaleX(1); }
.path-step { position: relative; padding-top: 34px; }
.path-dot {
  position: absolute; top: 0; left: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-alt); border: 2px solid var(--moss);
}
.path-year { display: block; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: var(--ink); }
.path-step p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.path-step.is-now .path-dot { background: var(--moss); box-shadow: 0 0 0 6px rgba(51, 87, 58, .18); }
.path-step.is-now .path-year { color: var(--moss); }
.path-step.is-now p { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .path-list { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 34px; }
  .path-list::before { left: 9px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--line, 1)); background: linear-gradient(180deg, rgba(51, 87, 58, .25), var(--moss)); }
  .js .path-list.is-drawn::before { transform: scaleY(1); }
  .path-step { padding-top: 0; }
  .path-dot { left: -34px; top: 6px; }
}

/* ---------- Contacto ---------- */
.h2-xl { font-size: clamp(38px, 5vw, 68px); line-height: .98; letter-spacing: -0.035em; }
#contacto .lead { margin: 24px 0 32px; max-width: 440px; font-size: 18px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: var(--ink-mute); }
.contact-list a { font-weight: 600; }

.form {
  display: flex; flex-direction: column; gap: 18px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 26px;
  padding: clamp(24px, 3vw, 40px);
}
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--ink-mute); }
.field {
  width: 100%; font: inherit; font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--field-line); border-radius: 12px;
  background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(51, 87, 58, .15); }
textarea.field { resize: vertical; min-height: 120px; }
.field.is-invalid { border-color: #A3402A; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--moss); flex: none; }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.alert-ok { background: var(--moss-pale); color: #1F3A25; }
.alert-error { background: #F6E1DA; color: #7A2E1D; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 40;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  animation: wa-in .6s 1.2s var(--ease) both;
}
.wa-float-btn {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366;
  box-shadow: 0 12px 28px -10px rgba(23, 35, 27, .55);
  transition: transform .3s var(--ease);
}
.wa-float-btn svg { width: 32px; height: 32px; }
.wa-float-btn .wa-o { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; }
.wa-float-btn .wa-h { fill: #fff; }
.wa-float:hover .wa-float-btn { transform: scale(1.08); }
.wa-float-tip {
  padding: 10px 14px; border-radius: 14px;
  background: #fff; color: var(--ink);
  font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(23, 35, 27, .45);
  opacity: 0; transform: translateX(8px);
  transition: opacity .25s, transform .25s var(--ease);
  pointer-events: none;
}
.wa-float:hover .wa-float-tip, .wa-float:focus-visible .wa-float-tip { opacity: 1; transform: none; }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float-btn { outline: 3px solid var(--moss); outline-offset: 3px; }
/* Un anillo que late suavemente para llamar la atención sin molestar */
.wa-float-btn { position: relative; }
.wa-float-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; opacity: 0;
  animation: wa-ring 3.5s 3s ease-out infinite;
}
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .7; } 60%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Pie ---------- */
.site-footer { position: relative; margin-top: 40px; background: #17231B; color: #C4D0C5; }
.footer-hills { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(40px, 6vw, 90px); display: block; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(56px, 7vw, 90px) 48px;
}
.footer-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #EEF2EC; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.footer-logo > span span { font-weight: 400; color: #9FB3A3; }
.footer-logo:hover { color: #fff; }
.footer-about { margin-top: 18px; max-width: 340px; font-size: 16px; line-height: 1.6; color: #A9B8AC; }
.footer-h { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin: 0 0 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.footer-list a, .footer-link-btn { color: #EEF2EC; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.footer-list a:hover, .footer-link-btn:hover { color: var(--mint); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 22px 28px; border-top: 1px solid #2C3D31;
  font-size: 14px; color: #8FA193;
}

/* ---------- Móvil ---------- */
/* Menú hamburguesa: también en portátiles pequeños, porque en euskera los textos son más largos */
@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: calc(100% + 4px); left: auto; right: var(--gutter);
    width: min(360px, calc(100% - 2 * var(--gutter)));
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px; border-radius: 22px;
    background: rgba(243, 245, 240, .97);
    box-shadow: 0 20px 40px -20px rgba(23, 35, 27, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 14px 12px; }
  .nav-link::after { display: none; }
  .nav .btn { justify-content: center; margin-top: 6px; }
  .lang-switch { align-self: flex-start; margin: 6px 0 0 8px; }
  .nav-drop-btn { width: 100%; justify-content: space-between; text-align: left; }
  .nav-drop-menu {
    position: static; min-width: 0; padding: 0 0 6px 10px; display: none;
    background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav-drop.is-open .nav-drop-menu { display: block; }
  .nav-drop-menu a { padding: 10px 12px; white-space: normal; }
  .nav-drop-sep { margin-top: 2px; padding-top: 2px; }
}

@media (max-width: 860px) {
  .nav { left: var(--gutter); width: auto; }
  .wa-float-btn { width: 54px; height: 54px; }

  .hero-veil { background: linear-gradient(180deg, rgba(243, 245, 240, .94) 0%, rgba(243, 245, 240, .8) 45%, rgba(243, 245, 240, 0) 70%); }
  .hero { min-height: 0; }
  .hero-bg { object-position: 30% 100%; }
  .hero-char { height: 400px; right: 50%; transform: translateX(50%); bottom: -30px; }
  .hero-content { padding-top: 32px; padding-bottom: 390px; }
  .hero-fg { display: none; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }

  .promises { margin-top: -40px; }
  .promises-card { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .promise + .promise { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }

  .suena-grid { grid-template-columns: minmax(0, 1fr); }
  .phone-wrap { rotate: none; }
  .phone-screen { height: 560px; }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .promises-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise + .promise { border-left: 0; padding-left: 0; }
}

/* ---------- Páginas legales ---------- */
.page-legal main { padding-top: 110px; }
.legal-inner { max-width: 820px; padding-bottom: clamp(80px, 10vw, 140px); }
.legal-back { display: inline-block; margin-bottom: 28px; font-weight: 600; text-decoration: none; }
.legal h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; font-weight: 800; }
.legal-meta { margin-top: 14px; font-family: var(--font-mono); font-size: 14px; color: var(--ink-mute); }
.legal-note { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: var(--moss-pale); color: #1F3A25; font-weight: 500; }
.legal-body { margin-top: 40px; }
.legal-body h2 { font-size: 24px; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal-body p, .legal-body li { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.legal-body ul { padding-left: 20px; margin: 10px 0; }
.legal-body li + li { margin-top: 6px; }
.pending { background: #FBE7B5; color: #6B4A00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.table-wrap th { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--ink); background: var(--card); }
.table-wrap tr:last-child td { border-bottom: 0; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed; left: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 45;
  width: min(400px, calc(100% - 32px));
  padding: 22px 22px 18px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -28px rgba(23, 35, 27, .55);
  animation: rise .5s var(--ease) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-title { font-family: var(--font-display); font-weight: 800; font-size: 19px; margin-bottom: 6px; }
.cookie-text { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie-actions .btn { flex: 1; justify-content: center; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-art { max-width: 240px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cookie-banner { bottom: 86px; }
}

/* ---------- Utilidades ---------- */
.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; }
.section-intro { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-intro h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; }
.section-intro .lead { margin-top: 20px; }

/* ---------- Por qué importa ---------- */
.importa {
  position: relative;
  padding-block: clamp(80px, 10vw, 130px);
  background:
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(127, 162, 127, .22), transparent 70%),
    #FAFBF8;
  border-top: 1px solid var(--line);
}
.importa-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: clamp(40px, 7vw, 110px); align-items: center;
}
.importa-copy h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.04; }
.importa-copy .lead { margin-top: 24px; max-width: 540px; }

/* Búsqueda de Google ilustrada */
.serp {
  --row: 74px; --gap: 10px;
  justify-self: center; width: 100%; max-width: 480px;
  padding: 20px; border-radius: 26px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 40px 70px -40px rgba(23, 35, 27, .45);
  rotate: -1.5deg;
}
.serp-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px;
  border: 1.5px solid var(--field-line);
  font-family: var(--font-mono); font-size: 15px; color: var(--ink);
}
.serp-bar svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink-mute); stroke-width: 2; stroke-linecap: round; }
.serp-typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
.serp-caret { width: 2px; height: 1.2em; background: var(--moss); animation: blink 1.1s steps(1) infinite; }
.serp-list { position: relative; list-style: none; margin: 18px 0 0; padding: 0; height: calc(var(--row) * 3 + var(--gap) * 2); }
.serp-item {
  position: absolute; left: 0; right: 0; top: 0; height: var(--row);
  display: flex; align-items: center; gap: 12px;
  padding: 0 14px; border-radius: 16px;
  background: var(--card); border: 1.5px solid var(--line);
}
.serp-pin { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #ECEFEA; }
.serp-pin svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-mute); stroke-width: 1.8; }
.serp-txt { display: flex; flex-direction: column; min-width: 0; }
.serp-txt strong { font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-txt small { font-size: 13.5px; color: var(--ink-mute); }
.serp-tag { margin-left: auto; display: grid; flex: none; font-size: 12.5px; font-weight: 600; }
.serp-tag > span { grid-area: 1 / 1; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.tag-before { background: #ECEFEA; color: var(--ink-mute); }
.tag-after { background: var(--moss); color: #fff; }

/* Estado final (sin JS o sin animación): tu negocio arriba y destacado */
.serp-item.s1 { transform: translateY(calc(var(--row) + var(--gap))); }
.serp-item.s2 { transform: translateY(calc((var(--row) + var(--gap)) * 2)); }
.serp-item.you { transform: none; background: var(--moss-pale); border-color: var(--moss); box-shadow: 0 16px 30px -18px rgba(51, 87, 58, .7); z-index: 1; }
.serp-item.you .serp-pin { background: var(--moss); }
.serp-item.you .serp-pin svg { stroke: #fff; }
.tag-before { opacity: 0; }

/* Con JS: empieza abajo y "sube" cuando la tarjeta aparece en pantalla */
.js .serp .serp-typed { width: 0; }
.js .serp .s1 { transform: translateY(0); }
.js .serp .s2 { transform: translateY(calc(var(--row) + var(--gap))); }
.js .serp .you { transform: translateY(calc((var(--row) + var(--gap)) * 2)); background: var(--card); border-color: var(--line); box-shadow: none; filter: grayscale(1); opacity: .7; }
.js .serp .you .serp-pin { background: #ECEFEA; }
.js .serp .you .serp-pin svg { stroke: var(--ink-mute); }
.js .serp .tag-before { opacity: 1; }
.js .serp .tag-after { opacity: 0; }

.js .serp.is-visible .serp-typed { animation: serp-type 1.4s .5s steps(var(--chars)) both; }
.js .serp.is-visible .s1 { animation: serp-s1 .9s 2.6s var(--ease) both; }
.js .serp.is-visible .s2 { animation: serp-s2 .9s 2.6s var(--ease) both; }
.js .serp.is-visible .you { animation: serp-you 1s 2.5s var(--ease) both; }
.js .serp.is-visible .you .serp-pin { animation: serp-pin .4s 3.3s ease both; }
.js .serp.is-visible .you .serp-pin svg { animation: serp-pin-svg .4s 3.3s ease both; }
.js .serp.is-visible .tag-before { animation: fade-out .3s 3.3s ease both; }
.js .serp.is-visible .tag-after { animation: fade-in .4s 3.4s ease both; }
@keyframes serp-type { from { width: 0; } to { width: calc(var(--chars) * 1ch); } }
@keyframes serp-s1 { from { transform: translateY(0); } to { transform: translateY(calc(var(--row) + var(--gap))); } }
@keyframes serp-s2 { from { transform: translateY(calc(var(--row) + var(--gap))); } to { transform: translateY(calc((var(--row) + var(--gap)) * 2)); } }
@keyframes serp-you {
  0%   { transform: translateY(calc((var(--row) + var(--gap)) * 2)); filter: grayscale(1); opacity: .7; }
  60%  { transform: translateY(-6px) scale(1.03); }
  100% { transform: none; filter: none; opacity: 1; background: var(--moss-pale); border-color: var(--moss); box-shadow: 0 16px 30px -18px rgba(51, 87, 58, .7); }
}
@keyframes serp-pin { to { background: var(--moss); } }
@keyframes serp-pin-svg { to { stroke: #fff; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { to { opacity: 1; } }

/* Ventajas */
.benefits {
  list-style: none; margin: clamp(56px, 7vw, 90px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.benefit {
  padding: 28px 24px; border-radius: var(--radius);
  background: #fff; border: 1.5px solid var(--line);
  transition: transform .8s var(--ease), translate .4s var(--ease), border-color .3s, opacity .8s var(--ease);
}
.benefit:hover { translate: 0 -4px; border-color: #9DB59F; }
.benefit-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--moss-pale); display: grid; place-items: center; transition: transform .4s var(--ease); }
.benefit:hover .benefit-ico { transform: rotate(-8deg) scale(1.06); }
.benefit-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--moss); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { margin: 20px 0 8px; font-size: 20px; }
.benefit p { font-size: 16px; line-height: 1.55; color: var(--ink-mute); }

/* ---------- Servicios y precios ---------- */
.servicios { background: var(--bg-alt); border-top: 1px solid #D6E0D3; border-bottom: 1px solid #D6E0D3; }

/* ---------- Por qué yo (comparativa) ---------- */
.why { background: var(--bg); }
.why-wrap { overflow-x: auto; border-radius: 26px; background: #fff; border: 1.5px solid #CFDACC; -webkit-overflow-scrolling: touch; }
.why-table { width: 100%; min-width: 780px; border-collapse: separate; border-spacing: 0; }
.why-table th, .why-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.why-table thead th {
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px; line-height: 1.25;
  color: var(--ink-mute); padding-top: 22px; padding-bottom: 18px; width: 15%;
}
.why-table thead th.why-feat { text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--moss); width: 32%; padding-left: 26px; }
.why-table tbody th { text-align: left; font-weight: 600; font-size: 16px; color: var(--ink); padding-left: 26px; }
.why-table tbody tr:last-child th, .why-table tbody tr:last-child td { border-bottom: 0; }
.why-table .is-us { background: rgba(51, 87, 58, .07); }
.why-table thead th.is-us { background: var(--moss); color: #fff; font-weight: 800; font-size: 17px; }
/* Primera columna fija al desplazar en el móvil */
.why-table tbody th, .why-table thead th.why-feat { position: sticky; left: 0; z-index: 1; background: #fff; }

.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.mark svg { width: 18px; height: 18px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mark-y { background: var(--moss); }
.mark-y svg { stroke: #fff; }
.mark-p { background: #F4E6C4; }
.mark-p svg { stroke: #7A5300; }
.mark-n { background: #ECEFEA; }
.mark-n svg { stroke: #6E7C71; }
.is-us .mark-y { box-shadow: 0 0 0 5px rgba(51, 87, 58, .15); }
/* Los ✓ de mi columna se dibujan uno a uno */
.js .why-wrap .is-us .mark { transform: scale(.4); opacity: 0; }
.js .why-wrap .is-us .mark svg path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.js .why-wrap.is-visible .is-us .mark { animation: mark-pop .45s calc(.5s + var(--r, 0) * .14s) cubic-bezier(.34, 1.56, .64, 1) both; }
.js .why-wrap.is-visible .is-us .mark svg path { animation: mark-draw .4s calc(.75s + var(--r, 0) * .14s) ease both; }
@keyframes mark-pop { to { transform: none; opacity: 1; } }
@keyframes mark-draw { to { stroke-dashoffset: 0; } }

.why-legend { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--ink-mute); }
.why-legend li { display: flex; align-items: center; gap: 8px; }
.why-legend .mark { width: 22px; height: 22px; }
.why-legend .mark svg { width: 14px; height: 14px; }
.why-note { margin-top: 30px; max-width: 760px; font-size: 18px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: #FAFBF8; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.04; }
.faq-more { margin: 20px 0 26px; font-size: 18px; color: var(--ink-soft); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid #CFD8CC; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; color: var(--ink);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--moss); }
.faq-ico { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--moss-pale); transition: background .3s, transform .4s var(--ease); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--moss); transition: transform .4s var(--ease); }
.faq-ico::after { transform: rotate(90deg); }
.faq-item[open] .faq-ico { background: var(--moss); transform: rotate(180deg); }
.faq-item[open] .faq-ico::before, .faq-item[open] .faq-ico::after { background: #fff; }
.faq-item[open] .faq-ico::after { transform: rotate(0deg); }
.faq-a { padding: 0 52px 24px 4px; }
.faq-a p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.faq-item[open] .faq-a { animation: faq-open .4s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive de las secciones nuevas ---------- */
@media (max-width: 1100px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .importa-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .serp { rotate: none; }
  .faq-head { position: static; }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .serp { --row: 68px; padding: 14px; }
  .serp-txt small { font-size: 12.5px; }
  .faq-a { padding-right: 4px; }
  .why-table { min-width: 540px; }
  .why-table th, .why-table td { padding: 12px 6px; }
  .why-table thead th { font-size: 12.5px; }
  .why-table thead th.is-us { font-size: 13.5px; }
  .why-table thead th.why-feat, .why-table tbody th { width: 128px; min-width: 128px; padding-left: 14px; font-size: 13.5px; line-height: 1.35; }
  .why-table thead th.why-feat { font-size: 11px; }
  .mark { width: 26px; height: 26px; }
  .mark svg { width: 15px; height: 15px; }
}

/* ---------- Trabajos ---------- */
.trabajos { border-top: 1px solid var(--line); }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.work { display: flex; flex-direction: column; }
.work-shot {
  position: relative; display: block;
  border-radius: 20px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 50px -34px rgba(23, 35, 27, .55);
  text-decoration: none;
  transition: translate .45s var(--ease), box-shadow .45s;
}
.work-shot:hover, .work-shot:focus-visible { translate: 0 -6px; box-shadow: 0 40px 60px -34px rgba(23, 35, 27, .6); }
.work-browser { display: flex; gap: 6px; padding: 11px 14px; background: #EEF1EC; border-bottom: 1px solid var(--line); }
.work-browser i { width: 10px; height: 10px; border-radius: 50%; background: #CBD3C8; }
.work-frame { display: block; height: clamp(260px, 26vw, 360px); overflow: hidden; }
/* Al pasar el ratón, la captura se desplaza como si alguien navegara por la web */
.work-frame img { width: 100%; height: auto; transform: translateY(0); transition: transform 4.5s cubic-bezier(.45, 0, .25, 1); }
.work-shot:hover .work-frame img, .work-shot:focus-visible .work-frame img { transform: translateY(calc(-100% + clamp(260px, 26vw, 360px))); }
.work-open {
  position: absolute; right: 14px; bottom: 14px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  opacity: 0; translate: 0 8px; transition: opacity .3s, translate .3s var(--ease);
}
.work-shot:hover .work-open, .work-shot:focus-visible .work-open { opacity: 1; translate: 0 0; }
.work-info { padding: 22px 4px 0; }
.work-demo { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--moss); background: var(--moss-pale); padding: 4px 10px; border-radius: 999px; }
.work-info h3 { margin: 12px 0 8px; font-size: 22px; }
.work-info h3 span { font-weight: 400; color: var(--ink-mute); font-size: 17px; }
.work-info p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.work-tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; color: var(--ink-mute); }
.work-note { margin-top: 34px; font-size: 15px; color: var(--ink-mute); }

/* ---------- Por qué yo: bloque "lo que no se ve" ---------- */
.trust {
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(32px, 4.5vw, 64px);
  border-radius: 30px;
  background: var(--dark); color: #EEF2EC;
  gap: clamp(28px, 5vw, 72px);
}
.trust-title { color: #EEF2EC; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.trust .dark-text { margin-top: 18px; font-size: 17px; }

/* ---------- Sobre mí: pasos de trabajo ---------- */
.about-steps { margin-top: clamp(56px, 7vw, 96px); }
.about-steps .steps li { border-top-color: rgba(23, 35, 27, .55); }
.steps h4 { margin: 14px 0 10px; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Contacto ---------- */
.contact-form-wrap.no-gap { margin-top: 0; }
.form-intro h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; }
.form-intro .form-lead { margin-top: 18px; font-family: var(--font-body); font-weight: 400; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.form-intro .eyebrow { font-family: var(--font-mono); font-weight: 400; font-size: 14px; line-height: 1.6; color: var(--moss); }
/* Cómo trabajamos: bloque propio en verde bosque */
.proceso { background: #1F3A25; color: #EEF2EC; }
/* Lo que no se ve: franja oscura a todo el ancho */
.noseve { background: var(--dark); color: #EEF2EC; }
.noseve .trust-title { font-size: clamp(30px, 3.4vw, 46px); }
.noseve .dark-text { max-width: 560px; }
.proceso-title { color: #fff; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; margin-bottom: clamp(40px, 5vw, 64px); }
.proceso .steps li { border-top-color: rgba(159, 211, 154, .45); padding-right: 28px; }
.proceso .step-n { color: var(--mint); }
.proceso .steps h3 { color: #fff; }
.proceso .steps p { color: #C4D3C6; }

.contact-chat {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(40px, 7vw, 110px); align-items: center;
}
.contact-form-wrap {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px); align-items: start;
}
.form-intro { position: sticky; top: 110px; }
.form-or { display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--moss-light); margin-bottom: 18px; }
.form-promises { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.form-promises li { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--ink-soft); }
.form-promises li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.form-intro p { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; color: var(--ink); }

@media (max-width: 1100px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .works { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .contact-chat, .contact-form-wrap { grid-template-columns: minmax(0, 1fr); }
  .form-intro { position: static; }
  .work-frame { height: 300px; }
  .work-shot:hover .work-frame img { transform: translateY(calc(-100% + 300px)); }
}

/* ---------- Calculadora de precios ---------- */
.calc {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 36px); align-items: start;
}
.calc-options {
  padding: clamp(22px, 3vw, 38px); border-radius: 26px;
  background: #fff; border: 1.5px solid #C9D9C4;
  display: grid; gap: clamp(26px, 3vw, 36px);
}
.calc-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc-group legend { padding: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2vw, 25px); letter-spacing: -0.01em; color: var(--ink); }
.calc-help { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--ink-mute); }

/* Selector de secciones (5 / 10 / 15) */
.seg {
  position: relative; margin-top: 16px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  padding: 6px; border-radius: 20px; background: var(--bg-alt);
}
.seg-opt {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 14px 8px 12px; border-radius: 15px; cursor: pointer;
  transition: background .3s var(--ease), color .3s, box-shadow .3s, transform .2s var(--ease);
}
.seg-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg-n { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -0.02em; color: var(--ink); transition: color .3s; }
.seg-p { font-size: 14px; font-weight: 600; color: var(--ink-mute); transition: color .3s; }
.seg-opt:hover { background: rgba(255, 255, 255, .6); }
.seg-opt:active { transform: scale(.97); }
.seg-opt:has(input:checked) { background: var(--moss); box-shadow: 0 12px 24px -14px rgba(31, 58, 37, .9); }
.seg-opt:has(input:checked) .seg-n { color: #fff; }
.seg-opt:has(input:checked) .seg-p { color: #CFE3CC; }
.seg-opt:has(input:focus-visible) { outline: 3px solid var(--moss-light); outline-offset: 2px; }

.seg-bk { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.seg-bk .seg-n { font-size: 17px; letter-spacing: -0.01em; text-align: center; line-height: 1.15; }
.seg-bk .seg-opt { padding: 12px 6px 10px; justify-content: center; }

/* Interruptores de extras */
.calc-toggles { margin-top: 16px; display: grid; gap: 10px; }
.calc-toggle {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 16px 18px; border-radius: 18px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--card);
  transition: border-color .3s, background .3s, transform .2s var(--ease);
}
.calc-toggle:hover { border-color: var(--moss-light); }
.calc-toggle:active { transform: scale(.99); }
.calc-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.calc-toggle:has(input:checked) { border-color: var(--moss); background: #EEF5EC; }
.calc-toggle:has(input:focus-visible) { outline: 3px solid var(--moss-light); outline-offset: 2px; }
.calc-switch {
  position: relative; width: 46px; height: 28px; border-radius: 999px;
  background: #C3CEC0; transition: background .3s var(--ease);
}
.calc-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 4px rgba(23, 35, 27, .25);
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
.calc-toggle:has(input:checked) .calc-switch { background: var(--moss); }
.calc-toggle:has(input:checked) .calc-switch::after { transform: translateX(18px); }
.calc-toggle-txt strong { display: block; font-size: 17px; font-weight: 700; color: var(--ink); }
.calc-toggle-txt small { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--ink-mute); }
.calc-toggle-p { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--moss); white-space: nowrap; }

/* Las dos columnas de la calculadora miden lo mismo; el botón del resumen queda abajo */
.calc { align-items: stretch; }
.calc-summary { display: flex; flex-direction: column; }
.calc-summary .calc-cta { margin-top: auto; }
.calc-summary .calc-incl { margin-bottom: 28px; }
.calc-notes { list-style: none; margin: 0 0 22px; padding: 16px 18px; display: grid; gap: 12px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid #33503A; }
.calc-notes li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: #DDE6DC; }
.calc-notes svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--mint); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.calc-summary .calc-notes { margin-top: auto; }
.calc-summary .calc-notes + .calc-cta { margin-top: 0; }
/* Extras en dos columnas cuando hay sitio */
@media (min-width: 1100px) {
  .calc-toggles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-toggle {
    grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "sw price" "txt txt";
    align-content: start; gap: 12px; padding: 16px 16px 18px;
  }
  .calc-toggle .calc-switch { grid-area: sw; }
  .calc-toggle .calc-toggle-p { grid-area: price; justify-self: end; }
  .calc-toggle .calc-toggle-txt { grid-area: txt; }
  .calc-toggle-txt small { font-size: 14px; }
}

/* Resumen */
.calc-summary {
  padding: clamp(24px, 3vw, 34px); border-radius: 26px;
  background: #1F3A25; color: #DDE6DC;
  box-shadow: 0 40px 70px -40px rgba(23, 35, 27, .75);
}
.calc-sum-label { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.calc-total { margin-top: 6px; }
.calc-total output {
  display: inline-block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(54px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.04em;
  color: #fff; font-variant-numeric: tabular-nums;
}
.calc-total output.is-bump { animation: calc-bump .45s var(--ease); }
@keyframes calc-bump { 40% { transform: scale(1.06); color: var(--mint); } }
.calc-config { margin-top: 10px; min-height: 1.5em; font-size: 15.5px; line-height: 1.5; color: #B8C8BB; }
.calc-facts { margin: 20px 0 0; padding: 16px 0; border-top: 1px solid #33503A; border-bottom: 1px solid #33503A; display: grid; gap: 10px; }
.calc-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc-facts dt { font-size: 15px; color: #B8C8BB; }
.calc-facts dd { margin: 0; font-weight: 700; color: #fff; white-space: nowrap; }
.calc-facts dd.is-bump { animation: calc-bump .45s var(--ease); }
.calc-incl-t { margin-top: 18px; font-size: 14px; font-weight: 600; color: #B8C8BB; }
.calc-incl { list-style: none; margin: 10px 0 24px; padding: 0; display: grid; gap: 8px; }
.calc-incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; color: #DDE6DC; }
.calc-incl li[hidden] { display: none; }
.calc-incl li.is-extra { color: #fff; font-weight: 600; animation: calc-in .4s var(--ease); }
@keyframes calc-in { from { opacity: 0; transform: translateX(-8px); } }
.calc-incl svg { width: 19px; height: 19px; flex: none; margin-top: 1px; fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.calc-cta { width: 100%; justify-content: center; text-align: center; }
.calc-summary .btn-primary { background: var(--mint); color: #17231B; }
.calc-summary .btn-primary:hover { background: #B6E2B1; color: #17231B; }
.calc-fine { margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: #B8C8BB; text-align: center; }

/* Debajo: precio por hora y dominio */
.calc-after { margin-top: clamp(20px, 2.6vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.calc-after-card {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 26px 28px; border-radius: 22px;
  background: #fff; border: 1.5px solid #C9D9C4;
  box-shadow: 0 18px 36px -30px rgba(23, 35, 27, .45);
}
.calc-after-card .calc-after-price {
  margin: 0; flex: none; min-width: 120px; padding: 12px 14px; border-radius: 16px;
  background: var(--moss-pale); text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.03em; color: var(--moss);
}
.calc-after-card .calc-after-price small { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }
.calc-after-card .calc-after-price.is-small { font-size: 21px; padding-top: 14px; padding-bottom: 14px; }
.calc-after-card h3 { font-size: 19px; }
.calc-after-card div p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }

/* Pack de idiomas */
.calc-pack-hint { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--moss); }
.calc-deal {
  display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 999px;
  background: rgba(159, 211, 154, .16); border: 1px solid rgba(159, 211, 154, .4);
  font-size: 13.5px; font-weight: 600; color: var(--mint);
  animation: calc-in .4s var(--ease);
}
.calc-deal[hidden] { display: none; }

/* ¿No encuentras lo que necesitas? */
.calc-custom {
  position: relative; overflow: hidden;
  margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  padding: 28px 32px; border-radius: 22px;
  background: var(--moss); color: #fff;
  box-shadow: 0 24px 44px -32px rgba(23, 35, 27, .8);
}
.calc-custom::before {
  content: ""; position: absolute; right: -60px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 211, 154, .28), rgba(159, 211, 154, 0) 70%);
  pointer-events: none;
}
.calc-custom > * { position: relative; }
.calc-custom h3 { font-size: clamp(21px, 1.9vw, 25px); color: #fff; }
.calc-custom p { margin-top: 4px; font-size: 16px; color: #D4E4D1; }
.calc-custom-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-custom .btn-primary { background: var(--mint); color: #17231B; }
.calc-custom .btn-primary:hover { background: #B6E2B1; color: #17231B; }
.calc-custom .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.calc-custom .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

@media (max-width: 980px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-summary { position: static; }
  .calc-after { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .calc-toggle { grid-template-columns: auto minmax(0, 1fr); padding: 14px; gap: 12px; }
  .calc-toggle-p { grid-column: 2; font-size: 16px; }
  .calc-after-card { flex-direction: column; gap: 14px; }
  .calc-after-card .calc-after-price { min-width: 0; }
  .seg-n { font-size: 26px; }
  .seg-bk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg-bk .seg-opt:first-child { grid-column: 1 / -1; }
  .seg-bk .seg-n { font-size: 16px; }
}

/* ---------- Páginas de servicios ---------- */
.svc-links { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.svc-links span { color: var(--ink-mute); margin-right: 4px; }
.svc-links a {
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 500; transition: border-color .2s, background .2s;
}
.svc-links a:hover { border-color: var(--moss); background: var(--moss-pale); }

/* Cabecera con foto (usa los estilos del hero de la portada) */
.hero-svc { min-height: clamp(720px, 92vh, 900px); }
.hero-svc .hero-copy { max-width: 760px; }
.hero-svc h1 { font-size: clamp(38px, 4.6vw, 68px); }
.hero-svc .lead { margin-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-mute); margin-bottom: 22px; }
.crumbs a { color: var(--ink-soft); }
.svc-price {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 9px 18px 9px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); border: 1px solid #C9D9C4; font-weight: 600; color: var(--moss);
  box-shadow: 0 10px 24px -18px rgba(23, 35, 27, .6);
}
.svc-price svg { width: 30px; height: 30px; flex: none; padding: 5px; border-radius: 50%; background: var(--moss); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.hero-svc .actions { margin-top: 26px; }

.svc-for h2, .svc-incl h2, .svc-extra h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; }
.svc-for-text { margin-top: 18px; }
.svc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.svc-checks li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  font-size: 17px; line-height: 1.45; color: var(--ink);
}
.svc-checks svg, .svc-extra-list svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.svc-checks svg { stroke: var(--moss); }

.svc-incl { background: var(--bg-alt); border-top: 1px solid #D6E0D3; border-bottom: 1px solid #D6E0D3; }
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-card { padding: 26px; border-radius: 22px; background: #fff; border: 1.5px solid #C9D9C4; }
.svc-card { transition: translate .35s var(--ease), box-shadow .35s, border-color .3s; }
.svc-card:hover { translate: 0 -6px; border-color: var(--moss-light); box-shadow: 0 26px 44px -30px rgba(23, 35, 27, .55); }
.svc-card-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--moss-pale); transition: transform .35s var(--ease), background .3s; }
.svc-card:hover .svc-card-ico { transform: rotate(-8deg) scale(1.06); background: #cfdec9; }
.svc-card-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--moss); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { margin: 18px 0 8px; font-size: 20px; }
.svc-card p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }

.svc-extra { background: #1F3A25; color: #EEF2EC; }
.svc-extra h2 { color: #fff; }
.svc-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.svc-steps::before {
  content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px;
  background: linear-gradient(180deg, var(--mint), rgba(159, 211, 154, .15));
  transform-origin: top; transform: scaleY(0); transition: transform 1.4s .2s var(--ease);
}
.svc-steps.is-visible::before { transform: scaleY(1); }
.svc-steps li {
  position: relative; display: flex; gap: 18px; align-items: center;
  padding: 14px 18px 14px 0; font-size: 17px; line-height: 1.45; color: #DDE6DC;
}
.js .svc-steps li { opacity: 0; transform: translateX(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.35s + var(--i) * .22s); }
.js .svc-steps.is-visible li { opacity: 1; transform: none; }
.svc-step-n {
  position: relative; z-index: 1; flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: #2A4A31; border: 2px solid var(--mint);
  font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--mint);
}

.svc-faq { background: #FAFBF8; }
.svc-zone { padding: clamp(24px, 3vw, 32px); border-radius: 24px; background: #fff; border: 1.5px solid #C9D9C4; }
.faq-head .svc-zone-t { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.svc-zone p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.svc-towns { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-towns li { padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.svc-faq-t { font-size: clamp(28px, 3vw, 40px); margin-bottom: 20px; }

.svc-others-t { font-size: clamp(28px, 3vw, 40px); margin-bottom: 24px; }
.svc-others-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.svc-other {
  display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 22px;
  background: #fff; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .25s, translate .3s var(--ease), box-shadow .3s;
}
.svc-other:hover { border-color: var(--moss); translate: 0 -4px; box-shadow: 0 22px 40px -30px rgba(23, 35, 27, .55); }
.svc-other strong { font-family: var(--font-display); font-size: 19px; }
.svc-other span { font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.svc-other em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 600; color: var(--moss); }

.svc-checks li { transition: border-color .3s, translate .3s var(--ease); }
.svc-checks li:hover { border-color: var(--moss-light); translate: 4px 0; }

/* Bloque visual de cada servicio */
.svc-visual { background: var(--bg-alt); border-top: 1px solid #D6E0D3; border-bottom: 1px solid #D6E0D3; overflow: hidden; }
.svc-visual h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; }
.svc-vis-text { margin-top: 18px; }
.svc-vis-btn { margin-top: 26px; }
.svc-vis-hint { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--moss); }
.svc-vis-hint svg { width: 24px; height: 24px; fill: none; stroke: var(--moss); stroke-width: 2; stroke-linejoin: round; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translate(4px, 3px); } }

/* Portátil + móvil */
.devices { position: relative; padding: 20px 40px 60px 0; }
.dev-laptop {
  border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 50px 80px -50px rgba(23, 35, 27, .6);
}
.dev-bar { display: flex; gap: 6px; padding: 12px 14px; background: #EEF2EC; border-bottom: 1px solid var(--line); }
.dev-bar span { width: 10px; height: 10px; border-radius: 50%; background: #C9D3C6; }
.dev-laptop .dev-screen { height: 340px; overflow: hidden; }
.dev-screen img { display: block; width: 100%; height: auto; }
.dev-laptop .dev-screen img { animation: autoscroll 16s ease-in-out infinite alternate; }
.dev-phone {
  position: absolute; right: 0; bottom: 0; width: 170px; padding: 8px; border-radius: 30px;
  background: #17231B; box-shadow: 0 40px 60px -30px rgba(23, 35, 27, .8);
}
.dev-phone .dev-screen { height: 330px; overflow: hidden; border-radius: 23px; background: #111; }
.dev-phone .dev-screen img { animation: autoscroll 12s 1s ease-in-out infinite alternate; }
@keyframes autoscroll { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(calc(-100% + 330px)); } }
.dev-badges { list-style: none; margin: 0; padding: 0; }
.dev-badges li {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap;
  box-shadow: 0 16px 30px -20px rgba(23, 35, 27, .6);
}
.dev-badges svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--moss-pale); fill: none; stroke: var(--moss); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dev-badges .b1 { left: -24px; top: 70px; }
.dev-badges .b2 { left: 30px; bottom: 30px; }
.dev-badges .b3 { right: 120px; top: 6px; }
.dev-badges .b4 { right: -10px; top: 170px; }
.js .devices .dev-badges li { opacity: 0; transform: scale(.6) translateY(10px); }
.js .devices.is-visible .dev-badges li { animation: pop .6s var(--ease) both, bob 4s ease-in-out infinite; }
.js .devices.is-visible .b1 { animation-delay: .5s, 1.1s; }
.js .devices.is-visible .b2 { animation-delay: .8s, 1.4s; }
.js .devices.is-visible .b3 { animation-delay: 1.1s, 1.7s; }
.js .devices.is-visible .b4 { animation-delay: 1.4s, 2s; }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* Antes y después */
.ba {
  position: relative; aspect-ratio: 4 / 3.4; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: 0 50px 80px -50px rgba(23, 35, 27, .6);
  user-select: none; touch-action: pan-y;
}
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-after img { width: 100%; height: auto; display: block; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(23, 35, 27, .8); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.ba-label.is-after { left: auto; right: 14px; background: var(--moss); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 35, 27, .15); pointer-events: none; }
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; box-shadow: 0 10px 24px -8px rgba(23, 35, 27, .6);
}
.ba-handle svg { width: 22px; height: 22px; fill: none; stroke: var(--moss); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible + * , .ba:focus-within .ba-handle span { outline: 3px solid var(--moss-light); outline-offset: 2px; }
/* La web "antigua", hecha a propósito con el estilo de hace 15 años */
.old-site { height: 100%; background: #E9E6D8 repeating-linear-gradient(45deg, rgba(0, 0, 0, .03) 0 6px, transparent 6px 12px); font-family: "Times New Roman", Times, serif; color: #222; }
.old-head { padding: 22px 16px; text-align: center; font-size: clamp(22px, 2.6vw, 32px); font-weight: bold; font-style: italic; color: #FFFF66; background: linear-gradient(180deg, #2B3FA8, #0B1A66); text-shadow: 2px 2px 0 #C00; }
.old-marquee { overflow: hidden; white-space: nowrap; padding: 6px 0; background: #FFFF99; color: #C00; font-weight: bold; font-size: 15px; border-block: 2px ridge #999; }
.old-marquee span { display: inline-block; padding-left: 100%; animation: marquee 9s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.old-nav { padding: 8px; text-align: center; font-size: 15px; color: #00E; text-decoration: underline; background: #D4D0C8; border-bottom: 2px outset #fff; }
.old-body { display: flex; gap: 14px; padding: 18px; font-size: 15px; line-height: 1.35; }
.old-img { flex: none; width: 110px; height: 90px; border: 3px ridge #888; background: linear-gradient(135deg, #9AA 0%, #677 100%); }
.old-counter { margin: 4px auto 0; width: max-content; padding: 3px 10px; font-family: "Courier New", monospace; font-size: 13px; color: #0F0; background: #000; border: 2px inset #888; }
.old-foot { padding: 14px; text-align: center; font-size: 12px; color: #555; }

/* Web de ejemplo con selector de idioma */
.langdemo { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 80px -50px rgba(23, 35, 27, .6); }
.ld-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #EEF2EC; border-bottom: 1px solid var(--line); }
.ld-bar span { width: 10px; height: 10px; border-radius: 50%; background: #C9D3C6; }
.ld-bar em { margin-left: 10px; padding: 4px 14px; border-radius: 999px; background: #fff; font-style: normal; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-mute); }
.ld-page { background: #F7F5F2; padding: 18px 22px 26px; }
.ld-nav { display: flex; align-items: center; gap: 16px; }
.ld-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #2A2738; }
.ld-brand i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #CFC6E6, #D8E7D3); }
.ld-links { display: flex; gap: 14px; margin-left: auto; font-size: 13px; color: #6B6680; }
.ld-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #ECE8F3; }
.ld-switch button { border: 0; padding: 6px 10px; border-radius: 999px; background: transparent; font: 600 12px var(--font-mono); color: #6B6680; cursor: pointer; transition: background .25s, color .25s; }
.ld-switch button.is-on { background: #5B4B8A; color: #fff; }
.ld-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 30px; }
.ld-copy [data-k] { transition: opacity .3s, transform .3s; }
.ld-copy.is-switching [data-k] { opacity: 0; transform: translateY(6px); }
.ld-eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8A7FB0; }
.ld-title { margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.08; letter-spacing: -0.02em; color: #2A2738; }
.ld-text { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: #6B6680; }
.ld-btn { display: inline-block; margin-top: 16px; padding: 10px 16px; border-radius: 999px; background: #5B4B8A; color: #fff; font-size: 13.5px; font-weight: 600; }
.ld-art { position: relative; aspect-ratio: 1; border-radius: 120px 120px 22px 22px; overflow: hidden; background: linear-gradient(180deg, #EDE8F6, #F4EFE6); }
.ld-sun { position: absolute; left: 50%; top: 22%; width: 38%; aspect-ratio: 1; margin-left: -19%; border-radius: 50%; background: radial-gradient(circle, #FFE7A8, #F6C86B); animation: sunrise 6s ease-in-out infinite alternate; }
@keyframes sunrise { to { transform: translateY(-10px); } }
.ld-hill { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 60%; border-radius: 50%; background: #B9D3B4; }
.ld-hill.h2 { left: 30%; right: -40%; bottom: -36%; background: #8FB88A; }

/* Mapa de la zona */
.zone-map { display: block; width: 100%; height: auto; margin-top: 20px; font-family: var(--font-body); }
.zm-land { fill: #EAF0E7; }
.zm-sea { fill: #D4E4EC; }
.zm-coast { fill: none; stroke: #AFC6CF; stroke-width: 2; }
.zm-ria { fill: none; stroke: #BBD3DD; stroke-width: 8; stroke-linecap: round; }
.zm-town text { font-size: 18px; font-weight: 600; fill: var(--ink-soft); paint-order: stroke; stroke: #EAF0E7; stroke-width: 4px; stroke-linejoin: round; }
.zm-dot { fill: var(--moss-light); stroke: #fff; stroke-width: 2; }
.zm-pulse { fill: none; stroke: var(--moss-light); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: zm-pulse 3s var(--d) ease-out infinite; }
@keyframes zm-pulse { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.8); } }
.zm-arrow { fill: none; stroke: var(--moss-light); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.zm-town.is-home .zm-dot { fill: var(--moss); }
.zm-town.is-home .zm-pulse { stroke: var(--moss); }
.zm-town.is-home > text { font-weight: 800; fill: var(--ink); }
.zm-here rect { fill: var(--moss); }
.zm-here text { fill: #fff; stroke: none; font-size: 16px; font-weight: 700; }
.zm-here { animation: bob 3.5s ease-in-out infinite; }

/* ===== Apartados propios de cada servicio ===== */
.svc-h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; }
.svc-extra .eyebrow-light + h2 { margin-top: 0; }

/* ¿Te suena? (notas inclinadas) */
.svc-pains { padding-bottom: clamp(40px, 5vw, 70px); }
.pains { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pain { position: relative; padding: 28px 26px 26px; border-radius: 6px 22px 22px 22px; background: #fff; border: 1.5px solid var(--line); box-shadow: 0 24px 40px -32px rgba(23, 35, 27, .5); transition: rotate .4s var(--ease), translate .4s var(--ease); }
.pain::before { content: ""; position: absolute; top: -9px; left: 26px; width: 64px; height: 18px; border-radius: 3px; background: rgba(159, 211, 154, .75); rotate: -3deg; }
.pain.p1 { rotate: -1.4deg; } .pain.p2 { rotate: 1deg; translate: 0 14px; } .pain.p3 { rotate: -.6deg; }
.pain:hover { rotate: 0deg; translate: 0 -4px; }
.pain h3 { font-size: 22px; line-height: 1.15; }
.pain p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }

/* Las piezas de tu web */
.parts-chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.parts-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 15px var(--font-body); color: var(--ink); cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.parts-chip span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); font: 600 12px var(--font-mono); color: var(--moss); transition: background .25s, color .25s; }
.parts-chip:hover { border-color: var(--moss-light); }
.parts-chip.is-on { background: var(--moss); border-color: var(--moss); color: #fff; }
.parts-chip.is-on span { background: var(--mint); color: #17231B; }
.parts-desc { margin-top: 20px; min-height: 4.8em; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1.5px solid #C9D9C4; font-size: 16.5px; line-height: 1.55; color: var(--ink-soft); }
.parts-desc strong { color: var(--ink); }
.parts-count { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--moss); }
.parts-count svg { width: 20px; height: 20px; fill: none; stroke: var(--moss); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.parts-mock { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 80px -50px rgba(23, 35, 27, .6); }
.pm-page { padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: #F6F8F4; }
.pm-block { position: relative; padding: 12px; border-radius: 12px; background: #fff; border: 1.5px dashed #CBD6C7; transition: border-color .3s, box-shadow .3s, scale .3s var(--ease), background .3s; }
.pm-block.pm-0, .pm-block.pm-7 { grid-column: 1 / -1; }
.pm-block em { font: 600 11px var(--font-mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
.pm-block.is-on { border: 1.5px solid var(--moss); background: #EEF5EC; scale: 1.025; box-shadow: 0 16px 30px -18px rgba(31, 58, 37, .7); z-index: 1; }
.pm-block.is-on em { color: var(--moss); }
.pm-art { margin-top: 10px; display: grid; gap: 6px; }
.pm-art i { display: block; height: 8px; border-radius: 4px; background: #DDE5DA; }
.pm-block.is-on .pm-art i { background: #B9D3B4; }
.pm-0 .pm-art { grid-template-columns: 1.4fr 1fr; } .pm-0 .pm-art i:nth-child(1) { height: 16px; grid-column: 1; } .pm-0 .pm-art i:nth-child(2) { grid-row: span 3; height: 100%; min-height: 56px; grid-column: 2; grid-row: 1 / 4; border-radius: 10px; } .pm-0 .pm-art i:nth-child(3) { width: 80%; } .pm-0 .pm-art i:nth-child(4) { width: 90px; height: 18px; border-radius: 999px; background: var(--moss-light); }
.pm-1 .pm-art, .pm-3 .pm-art { grid-template-columns: 1fr 1fr; } .pm-1 .pm-art i, .pm-3 .pm-art i { height: 26px; border-radius: 8px; }
.pm-2 .pm-art { grid-template-columns: 34px 1fr; } .pm-2 .pm-art i:nth-child(1) { width: 34px; height: 34px; border-radius: 50%; grid-row: span 3; }
.pm-4 .pm-art i:nth-child(1) { width: 60px; height: 10px; background: #F2D27A; } .pm-4 .pm-art i:nth-child(4) { width: 50%; }
.pm-5 .pm-art { grid-template-columns: 1fr auto; } .pm-5 .pm-art i:nth-child(even) { width: 30px; background: var(--moss-light); }
.pm-6 .pm-art i { height: 14px; border-radius: 6px; } .pm-6 .pm-art i:nth-child(4) { display: none; }
.pm-7 .pm-art { grid-template-columns: 1fr 1fr 1fr; } .pm-7 .pm-art i { height: 30px; border-radius: 8px; } .pm-7 .pm-art i:nth-child(3) { background: #CFE0EA; } .pm-7 .pm-art i:nth-child(4) { display: none; }

/* Negocios como el tuyo */
.svc-biz { background: var(--bg); }
.svc-plans { background: var(--bg-alt); border-top: 1px solid #D6E0D3; }
.biz-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.biz { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 20px; background: #fff; border: 1.5px solid transparent; transition: border-color .3s, translate .3s var(--ease); }
.biz:hover { border-color: var(--moss-light); translate: 0 -4px; }
.biz-ico { width: 46px; height: 46px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; background: var(--moss); }
.biz-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--mint); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.biz strong { font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.biz > span:last-child { font-size: 15px; line-height: 1.45; color: var(--ink-soft); }

/* Ejemplos de precio / idiomas */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; padding: 30px 28px; border-radius: 24px; background: #fff; border: 1.5px solid var(--line); }
.plan.is-top { background: #1F3A25; border-color: #1F3A25; color: #DDE6DC; box-shadow: 0 40px 60px -40px rgba(23, 35, 27, .8); }
.plan-tag { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--mint); color: #17231B; font-size: 13px; font-weight: 700; }
.plan h3 { font-size: 23px; } .plan.is-top h3 { color: #fff; }
.plan-sub { margin-top: 4px; font-size: 15.5px; color: var(--ink-mute); } .plan.is-top .plan-sub { color: #B8C8BB; }
.plan-price { margin-top: 18px; font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 3.6vw, 50px); line-height: 1; letter-spacing: -0.03em; color: var(--ink); } .plan.is-top .plan-price { color: #fff; }
.plan ul { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; } .plan.is-top ul { border-color: #33503A; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.4; }
.plan li svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--moss); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; } .plan.is-top li svg { stroke: var(--mint); }
.plan-flags { display: flex; gap: 6px; margin-bottom: 14px; }
.plan-flags b { padding: 4px 9px; border-radius: 8px; background: var(--moss-pale); font: 600 12px var(--font-mono); color: var(--moss); } .plan.is-top .plan-flags b { background: #2F5237; color: var(--mint); }
.plans-cta { margin-top: 28px; text-align: center; }

/* Lo que Google enseña de ti */
.anat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.anat-result { padding: 28px 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -46px rgba(23, 35, 27, .55); font-family: Arial, Helvetica, sans-serif; }
.anat-result p { position: relative; padding: 6px 10px; border-radius: 8px; }
.anat-url { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #4D5156; }
.anat-url i { width: 26px; height: 26px; border-radius: 50%; background: var(--moss-pale); }
.anat-title { margin-top: 4px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.3; color: #1A0DAB; }
.anat-desc { margin-top: 2px; font-size: 15px; line-height: 1.55; color: #4D5156; }
.anat-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--moss); color: #fff; font: 700 13px var(--font-mono); flex: none; }
.anat-result .anat-n { position: absolute; left: -44px; top: 50%; margin-top: -13px; }
.anat-result { margin-left: 26px; }
.js .anat.is-visible .anat-result p { animation: anat-hl 4.5s var(--ease) both; }
.js .anat.is-visible .anat-title { animation-delay: 1.2s; } .js .anat.is-visible .anat-desc { animation-delay: 2.4s; }
@keyframes anat-hl { 0%, 100% { background: transparent; } 12%, 30% { background: rgba(159, 211, 154, .35); } }
.anat-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.anat-notes li { display: flex; gap: 14px; }
.anat-notes strong { font-family: var(--font-display); font-size: 19px; }
.anat-notes p { margin-top: 2px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }

/* Lista de revisión */
.svc-audit { background: #1F3A25; color: #EEF2EC; }
.svc-audit .svc-h2 { color: #fff; }
.audit-score { position: relative; width: 150px; height: 150px; margin-top: 30px; }
.audit-score svg { width: 100%; height: 100%; rotate: -90deg; }
.as-bg, .as-fg { fill: none; stroke-width: 9; }
.as-bg { stroke: #33503A; } .as-fg { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.audit-score p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.audit-score strong { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; color: #fff; }
.audit-score span { font: 500 13px var(--font-mono); color: #B8C8BB; }
.audit-done { margin-top: 10px; font-size: 15px; color: #B8C8BB; }
.audit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.audit-list li { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid #33503A; font-size: 15.5px; line-height: 1.3; color: #DDE6DC; }
.audit-tick { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); }
.audit-tick svg { width: 16px; height: 16px; fill: none; stroke: #17231B; stroke-width: 2.800; stroke-linecap: round; stroke-linejoin: round; }
.js .audit-list li { opacity: .35; transition: opacity .4s calc(.3s + var(--i) * .2s); }
.js .audit-list .audit-tick { background: #33503A; transition: background .3s calc(.3s + var(--i) * .2s), scale .4s calc(.3s + var(--i) * .2s) cubic-bezier(.3, 1.6, .5, 1); scale: .7; }
.js .audit-list .audit-tick svg { opacity: 0; transition: opacity .2s calc(.4s + var(--i) * .2s); }
.js .audit-list.is-visible li { opacity: 1; }
.js .audit-list.is-visible .audit-tick { background: var(--mint); scale: 1; }
.js .audit-list.is-visible .audit-tick svg { opacity: 1; }
.js .svc-audit .as-fg { stroke-dashoffset: 100; transition: stroke-dashoffset 2.6s .3s linear; }
.js .svc-audit.is-run .as-fg { stroke-dashoffset: 0; }

/* Dos columnas comparadas */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.split-col { padding: clamp(24px, 3vw, 34px); border-radius: 24px; background: #fff; border: 1.5px solid var(--line); }
.split-col h3 { display: flex; align-items: center; gap: 12px; font-size: 23px; }
.split-col h3 svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--moss-pale); fill: none; stroke: var(--moss); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.split-col ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 4px; }
.split-col li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16.5px; line-height: 1.45; }
.split-col li svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--moss); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.split-col.is-mine { background: var(--moss); border-color: var(--moss); color: #EEF2EC; }
.split-col.is-mine h3 { color: #fff; } .split-col.is-mine h3 svg { background: #2A4A31; stroke: var(--mint); }
.split-col.is-mine li { border-color: rgba(255, 255, 255, .16); } .split-col.is-mine li svg { stroke: var(--mint); }
.split-col.is-bad { background: #F7F3EE; border-style: dashed; border-color: #D9CFC2; color: #5A5148; }
.split-col.is-bad li { border-color: #E5DCD0; } .split-col.is-bad li svg { stroke: #B4543A; }

/* Contador de visitas */
.svc-stats { background: var(--bg-alt); border-top: 1px solid #D6E0D3; border-bottom: 1px solid #D6E0D3; }
.stats-card { padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 80px -50px rgba(23, 35, 27, .6); }
.stats-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.stats-label span { padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); font: 500 12px var(--font-mono); color: var(--ink-mute); }
.stats-bars { margin-top: 22px; height: 190px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; align-items: end; }
.stats-bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.stats-bar i { width: 100%; height: var(--h); border-radius: 10px 10px 4px 4px; background: #C6DBC1; transform-origin: bottom; }
.stats-bar.is-top i { background: var(--moss); }
.stats-bar span { font: 500 12px var(--font-mono); color: var(--ink-mute); }
.js .stats-card .stats-bar i { transform: scaleY(0); transition: transform .9s calc(.2s + var(--i) * .09s) var(--ease); }
.js .stats-card.is-visible .stats-bar i { transform: none; }
.stats-kpis { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stats-kpis strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: var(--ink); }
.stats-kpis span { font-size: 14px; color: var(--ink-mute); }

/* Lo que no prometo */
.honest { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.honest li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid #33503A; font-size: 17px; line-height: 1.4; color: #EEF2EC; }
.honest span { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.honest svg { width: 20px; height: 20px; fill: none; stroke-width: 2.600; stroke-linecap: round; stroke-linejoin: round; }
.honest .is-no span { background: rgba(224, 122, 95, .18); } .honest .is-no svg { stroke: #F0A089; }
.honest .is-yes span { background: rgba(159, 211, 154, .18); } .honest .is-yes svg { stroke: var(--mint); }

/* Qué pasa después */
.tl { position: relative; list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--moss), var(--mint)); transform-origin: left; }
.js .tl::before { transform: scaleX(0); transition: transform 1.6s .2s var(--ease); } .js .tl.is-visible::before { transform: none; }
.tl li { position: relative; padding-top: 40px; }
.tl-dot { position: absolute; top: 0; left: 0; width: 23px; height: 23px; border-radius: 50%; background: var(--bg); border: 5px solid var(--moss); }
.tl strong { font-family: var(--font-display); font-size: 22px; }
.tl p { margin-top: 6px; font-size: 16.5px; line-height: 1.5; color: var(--ink-soft); max-width: 320px; }

/* Test del rediseño */
.quiz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.quiz-list label { position: relative; display: flex; align-items: center; gap: 14px; padding: 17px 18px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); font-size: 17px; line-height: 1.35; cursor: pointer; transition: border-color .25s, background .25s; }
.quiz-list label:hover { border-color: var(--moss-light); }
.quiz-list input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quiz-box { flex: none; width: 28px; height: 28px; border-radius: 9px; border: 2px solid #B9C7B5; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.quiz-box svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.800; stroke-linecap: round; stroke-linejoin: round; scale: 0; transition: scale .3s cubic-bezier(.3, 1.6, .5, 1); }
.quiz-list label:has(input:checked) { border-color: var(--moss); background: #EEF5EC; }
.quiz-list label:has(input:checked) .quiz-box { background: var(--moss); border-color: var(--moss); }
.quiz-list label:has(input:checked) .quiz-box svg { scale: 1; }
.quiz-list label:has(input:focus-visible) { outline: 3px solid var(--moss-light); outline-offset: 2px; }
.quiz-result { margin-top: 28px; padding: 24px; border-radius: 22px; background: #1F3A25; color: #DDE6DC; }
.quiz-meter { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.quiz-meter i { height: 10px; border-radius: 5px; background: #33503A; transition: background .3s; }
.quiz-result[data-n="1"] .quiz-meter i:nth-child(-n+1), .quiz-result[data-n="2"] .quiz-meter i:nth-child(-n+2) { background: var(--mint); }
.quiz-result[data-n="3"] .quiz-meter i:nth-child(-n+3), .quiz-result[data-n="4"] .quiz-meter i:nth-child(-n+4) { background: #F2C66B; }
.quiz-result[data-n="5"] .quiz-meter i:nth-child(-n+5), .quiz-result[data-n="6"] .quiz-meter i { background: #F0A089; }
.quiz-count { margin-top: 14px; font: 500 13px var(--font-mono); color: #B8C8BB; } .quiz-count strong { font-size: 16px; color: #fff; }
.quiz-text { margin-top: 6px; min-height: 3.2em; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; color: #fff; }
.quiz-result .btn { margin-top: 16px; background: var(--mint); color: #17231B; }

/* Retocar o empezar de cero */
.svc-choice { background: var(--bg-alt); border-top: 1px solid #D6E0D3; }
.choice { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: center; }
.choice-card { height: 100%; padding: clamp(24px, 3vw, 34px); border-radius: 24px; background: #fff; border: 1.5px solid #C9D9C4; }
.choice-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--moss-pale); }
.choice-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--moss); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.choice-card h3 { margin-top: 16px; font-size: 23px; }
.choice-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.choice-card li { display: flex; gap: 10px; font-size: 16.5px; line-height: 1.45; color: var(--ink-soft); }
.choice-card li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: var(--moss); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.choice-or { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--moss); }
.choice-or svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.choice-note { margin-top: 24px; display: flex; justify-content: center; align-items: center; gap: 10px; font-weight: 600; color: var(--moss); text-align: center; }
.choice-note svg { width: 28px; height: 28px; flex: none; padding: 5px; border-radius: 50%; background: var(--moss); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }

/* Pequeño diccionario */
.words { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.word { height: 150px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 900px; font: inherit; }
.word-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.word:hover .word-in, .word.is-flipped .word-in { transform: rotateX(180deg); }
.word-f, .word-b { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; border-radius: 22px; backface-visibility: hidden; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; text-align: center; padding: 12px; }
.word-f { background: #fff; border: 1.5px solid #C9D9C4; color: var(--ink); }
.word-b { background: var(--moss); color: #fff; transform: rotateX(180deg); }
.word small { justify-self: center; padding: 3px 9px; border-radius: 8px; font: 600 12px var(--font-mono); letter-spacing: .04em; background: var(--moss-pale); color: var(--moss); }
.word-b small { background: #2A4A31; color: var(--mint); }
.svc-right { background: var(--bg-alt); border-top: 1px solid #D6E0D3; }

/* Una dirección para cada idioma */
.urls { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.urls li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 999px; background: #fff; box-shadow: 0 20px 34px -24px rgba(0, 0, 0, .7); }
.urls li:nth-child(2) { margin-left: 28px; } .urls li:nth-child(3) { margin-left: 56px; }
.urls-lock svg { display: block; width: 20px; height: 20px; fill: none; stroke: var(--moss); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.urls code { font: 500 clamp(14px, 1.4vw, 17px) var(--font-mono); color: var(--ink); }
.urls em { margin-left: auto; padding: 5px 12px; border-radius: 999px; background: var(--moss); color: #fff; font-style: normal; font-size: 13px; font-weight: 700; }
.js .urls li { opacity: 0; translate: -20px 0; transition: opacity .6s calc(.2s + var(--i) * .2s), translate .6s calc(.2s + var(--i) * .2s) var(--ease); }
.js .urls.is-visible li { opacity: 1; translate: 0 0; }

@media (max-width: 980px) {
  .pains, .plans, .split, .anat, .tl, .words { grid-template-columns: minmax(0, 1fr); }
  .pain.p1, .pain.p2, .pain.p3 { rotate: 0deg; translate: 0 0; }
  .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice { grid-template-columns: minmax(0, 1fr); } .choice-or { justify-self: center; rotate: 90deg; }
  .tl::before { left: 10px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform-origin: top; }
  .js .tl::before { transform: scaleY(0); }
  .tl li { padding: 0 0 0 44px; }
  .words { grid-template-columns: repeat(2, minmax(0, 1fr)); } .word { height: 120px; }
  .urls li:nth-child(2), .urls li:nth-child(3) { margin-left: 0; }
  .plan.is-top { order: -1; }
}
@media (max-width: 560px) {
  .audit-list, .biz-grid { grid-template-columns: minmax(0, 1fr); }
  .anat-result { margin-left: 0; padding: 22px 18px; } .anat-result .anat-n { position: static; margin: 0 8px 0 0; vertical-align: middle; width: 22px; height: 22px; display: inline-grid; }
  .urls li { flex-wrap: wrap; border-radius: 18px; }
}

/* Otros servicios con icono */
.svc-other-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--moss-pale); margin-bottom: 6px; transition: transform .35s var(--ease); }
.svc-other:hover .svc-other-ico { transform: rotate(-8deg) scale(1.06); }
.svc-other-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--moss); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Llamada final con el Basajaun saludando */
.svc-cta {
  position: relative; overflow: hidden; margin-top: 26px;
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: end;
  padding: 30px 36px 0; border-radius: 26px; background: var(--moss); color: #fff;
  box-shadow: 0 30px 50px -36px rgba(23, 35, 27, .8);
}
.svc-cta::before { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(159, 211, 154, .3), rgba(159, 211, 154, 0) 70%); }
.svc-cta-img { position: relative; width: 100%; height: auto; align-self: end; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .3)); }
.js .svc-cta.is-visible .svc-cta-img { animation: wave-in 1s .2s var(--ease) both; }
@keyframes wave-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.svc-cta-copy { position: relative; padding-bottom: 34px; }
.svc-cta-kaixo { font-family: var(--font-mono); font-size: 14px; letter-spacing: .08em; color: var(--mint); }
.svc-cta h3 { margin-top: 6px; font-size: clamp(26px, 2.8vw, 38px); color: #fff; }
.svc-cta-copy > p:not(.svc-cta-kaixo) { margin-top: 8px; font-size: 17px; color: #D4E4D1; max-width: 560px; }
.svc-cta .calc-custom-btns { margin-top: 22px; }
.svc-cta .btn-primary { background: var(--mint); color: #17231B; }
.svc-cta .btn-primary:hover { background: #B6E2B1; color: #17231B; }
.svc-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.svc-cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

@media (max-width: 860px) {
  .hero-svc .hero-content { padding-bottom: 380px; }
  .devices { padding: 10px 30px 70px 0; }
  .dev-laptop .dev-screen { height: 240px; }
  .dev-phone { width: 128px; }
  .dev-phone .dev-screen { height: 240px; }
  @keyframes autoscroll { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(calc(-100% + 240px)); } }
  .dev-badges li { font-size: 12.5px; }
  .dev-badges .b1 { left: -6px; top: 40px; }
  .dev-badges .b3 { display: none; }
  .dev-badges .b4 { right: 0; top: 120px; }
  .ld-links { display: none; }
  .ld-hero { grid-template-columns: minmax(0, 1fr); }
  .ld-art { display: none; }
  .old-img { width: 70px; height: 60px; }
  .svc-cta { grid-template-columns: minmax(0, 1fr); padding: 28px 24px 0; }
  .svc-cta-img { width: 150px; order: 2; justify-self: center; }
  .svc-cta-copy { padding-bottom: 0; }
}

@media (max-width: 980px) {
  .svc-cards, .svc-others-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 600px) and (max-width: 980px) {
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Trabajos: webs reales ---------- */
.works-sub { font-size: clamp(22px, 2.2vw, 28px); margin: 0 0 22px; }
.works-sub-wrap { margin: clamp(56px, 7vw, 90px) 0 26px; }
.works-sub-wrap .works-sub { margin-bottom: 6px; }
.works-sub-wrap p { color: var(--ink-soft); font-size: 17px; }
.reals { display: grid; gap: 26px; }
.real {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 3.4vw, 44px); border-radius: 30px;
  background: var(--bg-alt); border: 1px solid #D6E0D3; overflow: hidden;
}
.real.is-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.real.is-flip .real-devices { order: 2; }
.real-devices { position: relative; padding: 0 9% 12% 7%; }
.rd-laptop { position: relative; z-index: 1; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -40px rgba(23, 35, 27, .6); transition: transform .6s var(--ease); }
.rd-bar { display: flex; gap: 5px; padding: 9px 12px; background: #EEF2EC; border-bottom: 1px solid var(--line); }
.rd-bar span { width: 8px; height: 8px; border-radius: 50%; background: #C9D3C6; }
.rd-laptop img, .rd-tablet img, .rd-phone img { display: block; width: 100%; height: auto; }
.rd-tablet {
  position: absolute; z-index: 2; left: 0; bottom: 0; width: 25%; padding: 6px; border-radius: 16px;
  background: #1D2620; box-shadow: 0 30px 50px -26px rgba(23, 35, 27, .75); transition: transform .6s var(--ease);
}
.rd-tablet img { border-radius: 11px; }
.rd-phone {
  position: absolute; z-index: 3; right: 0; bottom: 4%; width: 19%; padding: 5px; border-radius: 20px;
  background: #17231B; box-shadow: 0 30px 50px -24px rgba(23, 35, 27, .8); transition: transform .6s var(--ease);
}
.rd-phone img { border-radius: 15px; }
.real:hover .rd-laptop { transform: translateY(-6px); }
.real:hover .rd-tablet { transform: translate(-6px, -4px) rotate(-2deg); }
.real:hover .rd-phone { transform: translate(6px, -10px) rotate(2deg); }
.real-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--moss); color: #fff; font-size: 13px; font-weight: 700; }
.real-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(159, 211, 154, .3); }
.real-info h3 { margin-top: 16px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.real-type { margin-top: 6px; font-weight: 600; color: var(--moss); }
.real-info > p:not(.real-type) { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.real-info .work-tags { margin-top: 18px; }
@media (max-width: 980px) {
  .real, .real.is-flip { grid-template-columns: minmax(0, 1fr); }
  .real.is-flip .real-devices { order: 0; }
}

/* ---------- Respeto a quien prefiere menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .okline { opacity: 1; transform: none; }
  .typed { width: calc(var(--chars, 23) * 1ch); }
  .leaves { display: none; }
  .circled path { stroke-dashoffset: 0; }
  /* Estado final directo en las animaciones de las secciones nuevas */
  .js .serp .serp-typed { width: calc(var(--chars) * 1ch); }
  .js .serp .s1 { transform: translateY(calc(var(--row) + var(--gap))); }
  .js .serp .s2 { transform: translateY(calc((var(--row) + var(--gap)) * 2)); }
  .js .serp .you { transform: none; filter: none; opacity: 1; background: var(--moss-pale); border-color: var(--moss); }
  .js .serp .tag-before { opacity: 0; }
  .js .serp .tag-after { opacity: 1; }
  .js .why-wrap .is-us .mark { transform: none; opacity: 1; }
  .js .why-wrap .is-us .mark svg path { stroke-dashoffset: 0; }
  .work-frame img { transform: none !important; }
  .rd-laptop, .rd-tablet, .rd-phone { transform: none !important; }
  .js .devices .dev-badges li, .js .svc-steps li, .js .audit-list li, .js .urls li { opacity: 1; transform: none; translate: 0 0; }
  .js .stats-card .stats-bar i, .js .tl::before { transform: none; }
  .js .svc-audit .as-fg { stroke-dashoffset: 0; }
  .word-in { transition: none; }
  .svc-steps::before { transform: none; }
}
