/* Goatplace — identidad original modernizada.
   Paleta: grafito #252529, negro #000, gris acero #8e9eab, gris claro #e0e0e0, blanco y acento agua #99C9C7.
   Rojo solo dentro del logo. Títulos e interfaz: Rajdhani. Cuerpo: Inter. Ambas autoalojadas (SIL OFL, ver /fonts). */
@font-face { font-family: "Rajdhani"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/rajdhani-500.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/rajdhani-600.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/rajdhani-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }

:root {
  --grafito: #252529;
  --negro: #000;
  --acero: #8e9eab;
  --gris: #e0e0e0;
  --blanco: #fff;
  --agua: #99C9C7;
  --agua-osc: #1d6b68;      /* solo para foco y detalles sobre fondo claro (contraste AA) */
  --texto: #252529;
  --texto-2: #4a4a52;       /* texto secundario sobre claro: 8,6:1 sobre blanco */
  --texto-osc-2: #d3d8de;   /* texto secundario sobre oscuro */
  --linea: rgba(37, 37, 41, .14);
  --linea-osc: rgba(142, 158, 171, .38);
  --titulos: "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  --cuerpo: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radio: 16px;
  --ancho: 1180px;
  --gutter: clamp(18px, 5vw, 44px);
  --degradado-oscuro: linear-gradient(to bottom, #252529, #000);
  --degradado-acero: linear-gradient(to top, #8e9eab, #fff);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; color-scheme: light; }
body { margin: 0; background: var(--blanco); color: var(--texto); font: 400 1.0625rem/1.65 var(--cuerpo); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(153, 201, 199, .3); }
:focus-visible { outline: 3px solid var(--agua-osc); outline-offset: 3px; border-radius: 4px; }
.cab :focus-visible, .oscura :focus-visible, .hero :focus-visible, .pie :focus-visible, .menu-movil :focus-visible { outline-color: var(--agua); }
::selection { background: var(--agua); color: #000; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.saltar:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--ancho)); margin-inline: auto; }
section { padding-block: clamp(56px, 9vw, 110px); }

/* Tipografía */
h1, h2, h3, h4 { font-family: var(--titulos); font-weight: 700; line-height: 1; letter-spacing: -.01em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 11vw, 6.5rem); line-height: .95; }
h2 { font-size: clamp(2.3rem, 6vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 600; line-height: 1.05; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--texto-2); max-width: 52ch; }
.resp { font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.55; max-width: 62ch; margin-bottom: 1.6rem; }
.etiqueta { font: 600 .9rem/1 var(--titulos); text-transform: uppercase; letter-spacing: .16em; display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1.1rem; color: var(--texto); }
.etiqueta::before { content: ""; width: 28px; height: 2px; background: var(--agua-osc); }
.bloque { color: var(--agua); }
.cabecera-sec { max-width: 780px; margin-bottom: clamp(30px, 5vw, 58px); }

/* Botones (boton2 original: blanco, borde agua, brillo agua) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 1.5rem; border-radius: 1rem; font: 600 1.15rem/1 var(--titulos); letter-spacing: .02em; text-decoration: none; border: 3px solid var(--agua); background: #fff; color: #000; box-shadow: 0 6px 22px rgba(153, 201, 199, .45); cursor: pointer; transition: background-color .3s, color .3s, transform .3s, box-shadow .3s; }
.btn:hover { background: #000; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(153, 201, 199, .55); }
.btn svg { width: 1.2em; height: 1.2em; }
.btn--borde { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; }
.btn--borde:hover { background: #fff; color: #000; border-color: #fff; box-shadow: none; }
section:not(.oscura):not(.hero) .btn:not(.btn--borde):not(.btn--wa) { background: var(--grafito); color: #fff; border-color: var(--agua); }
section:not(.oscura):not(.hero) .btn:not(.btn--borde):not(.btn--wa):hover { background: #000; }
section:not(.oscura):not(.hero) .btn--borde { color: var(--texto); }
section:not(.oscura):not(.hero) .btn--borde:hover { background: var(--grafito); color: #fff; border-color: var(--grafito); }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }

/* Header sobre el hero: transparente con borde sutil, como el original */
.cab { position: fixed; inset: 0 0 auto 0; z-index: 100; border-bottom: 1px solid rgba(242, 242, 242, .28); background: transparent; transition: background-color .3s; color: #fff; }
.cab.scrolled { background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cab .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { height: 40px; width: auto; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 12px 15px; text-decoration: none; font: 500 1.15rem/1 var(--titulos); letter-spacing: .02em; color: #fff; border-radius: 10px; transition: color .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--agua); font-weight: 700; }
.goat { display: none; align-items: center; gap: 4px; }
.goat .btn { min-height: 44px; padding: 0 1.1rem; font-size: 1.1rem; }
.burger { width: 48px; height: 48px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .7); background: transparent; display: grid; place-items: center; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: transform .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.menu-movil { display: none; padding: 6px var(--gutter) 26px; background: rgba(0, 0, 0, .92); }
.menu-movil.abierto { display: block; }
.menu-movil a { display: block; padding: 16px 0; font: 700 1.8rem/1 var(--titulos); text-decoration: none; color: #fff; border-top: 1px solid var(--linea-osc); }
@media (min-width: 960px) { .nav { display: block; } .goat { display: flex; } .burger, .menu-movil { display: none !important; } }

/* Hero: video a pantalla completa con overlay oscuro, título grande y CTA */
.hero { background: var(--degradado-oscuro); color: #fff; padding-block: clamp(130px, 16vw, 190px) clamp(60px, 8vw, 100px); position: relative; overflow: hidden; isolation: isolate; }
.hero .lead { color: var(--texto-osc-2); }
.hero h1 { max-width: 16ch; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__pie { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 2rem; font: 600 1rem/1.4 var(--titulos); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-osc-2); }
.hero__pie span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--agua); margin-right: .6em; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.2fr .8fr; } }
.hero--video { min-height: 100svh; display: grid; place-items: center; text-align: center; padding-block: 120px 80px; }
.hero--video .hero__inner { max-width: 980px; margin-inline: auto; }
.hero--video h1 { max-width: none; font-size: clamp(3.4rem, 12vw, 8rem); }
.hero--video .lead { margin-inline: auto; color: #fff; }
.hero--video .acciones { justify-content: center; }
.hero--video .etiqueta { color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .8s ease; }
.hero__video.listo { opacity: 1; }
.hero__sombra { position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .55); }

/* Secciones: blanco, oscuro (grafito → negro) y acero (acero → blanco) */
.oscura { background: var(--degradado-oscuro); color: #fff; }
.oscura .lead, .oscura p { color: var(--texto-osc-2); }
.oscura h2, .oscura h3 { color: #fff; }
.oscura .etiqueta { color: #fff; }
.oscura .etiqueta::before { background: var(--agua); }
.acero { background: var(--degradado-acero); color: var(--texto); }
.acero p { color: #1d1d21; }

/* Grillas y tarjetas */
.grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; position: relative; box-shadow: 0 10px 40px -24px rgba(37, 37, 41, .35); transition: transform .35s, box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-6px); border-color: var(--agua); box-shadow: 0 18px 44px -20px rgba(153, 201, 199, .9); }
.card h3 { margin-bottom: .25em; }
.card .precio { font: 600 1.05rem/1.3 var(--titulos); letter-spacing: .04em; color: var(--texto-2); margin: .1rem 0 1.1rem; }
.card ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 10px; }
.card li { padding-left: 1.6em; position: relative; color: var(--texto-2); }
.card li::before { content: ""; position: absolute; left: 0; top: .52em; width: .9em; height: .45em; border-left: 3px solid var(--agua-osc); border-bottom: 3px solid var(--agua-osc); transform: rotate(-45deg) scale(.75); transform-origin: left top; }
.card .btn { margin-top: auto; }
/* tarjetas de vidrio esmerilado sobre fondo oscuro */
.oscura .card, .hero .card { background: rgba(255, 255, 255, .06); border: 1px solid var(--linea-osc); color: #fff; -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .8); }
.oscura .card:hover, .hero .card:hover { border-color: var(--agua); box-shadow: 0 0 0 1px var(--agua), 0 16px 48px -14px rgba(153, 201, 199, .55); }
.oscura .card h3, .hero .card h3 { color: #fff; }
.oscura .card p, .oscura .card li, .oscura .card .precio, .hero .card li { color: var(--texto-osc-2); }
.oscura .card li::before, .hero .card li::before { border-color: var(--agua); }
.oscura .card .btn { background: #fff; color: #000; border-color: var(--agua); }
.oscura .card .btn:hover { background: #000; color: #fff; }
.card--destacada { border-color: var(--agua); background: var(--grafito); color: #fff; }
.card--destacada h3, .card--destacada li, .card--destacada p, .card--destacada .precio { color: #fff; }
.card--destacada li::before { border-color: var(--agua); }
.card--destacada .btn { background: #fff; color: #000; border-color: var(--agua); }
.oscura .card--destacada { background: rgba(153, 201, 199, .1); }
.cinta { position: absolute; top: -14px; right: 20px; background: var(--agua); color: #000; font: 700 .95rem/1 var(--titulos); padding: 8px 12px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }

/* Starter: título grande a la izquierda, imagen con trama de puntos a la derecha */
.starter { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .starter { grid-template-columns: 1fr 1fr; } }
.starter__img { position: relative; isolation: isolate; }
.starter__img::before { content: ""; position: absolute; width: min(400px, 70%); aspect-ratio: 1; left: -4%; top: 8%; background: url("/img/dot-grid.webp") center / cover; border-radius: 50%; z-index: -1; }
.starter__img img { margin-inline: auto; }
.starter ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 12px; font-weight: 600; }
.starter li { padding-left: 1.7em; position: relative; }
.starter li::before { content: ""; position: absolute; left: 0; top: .5em; width: .95em; height: .48em; border-left: 3px solid var(--agua-osc); border-bottom: 3px solid var(--agua-osc); transform: rotate(-45deg) scale(.75); transform-origin: left top; }

/* Pasos */
.pasos { counter-reset: p; display: grid; border-top: 1px solid var(--linea-osc); }
.paso { counter-increment: p; display: grid; grid-template-columns: 52px 1fr; gap: 6px 16px; padding: 26px 0; border-bottom: 1px solid var(--linea-osc); }
.paso::before { content: counter(p); grid-row: span 2; font: 700 2.2rem/1 var(--titulos); color: var(--agua); }
.paso h3, .paso p { grid-column: 2; margin: 0; }
.paso p { color: var(--texto-osc-2); }
.pasos--lista .paso::before { content: none; }
.pasos--lista .paso { grid-template-columns: 1fr; }
.pasos--lista .paso h3, .pasos--lista .paso p { grid-column: auto; }
@media (min-width: 900px) { .paso { grid-template-columns: 70px 1fr 1.3fr; align-items: baseline; } .paso h3, .paso p { grid-column: auto; } .pasos--lista .paso { grid-template-columns: 1fr 1.4fr; } }

/* Preguntas frecuentes: acordeón original (rótulo gris claro) */
.faq details { margin: 0 0 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font: 600 1.25rem/1.3 var(--titulos); background: #e9e9e9; color: #141414; border-radius: 10px; position: relative; letter-spacing: .01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font: 500 1.8rem/1 var(--titulos); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 14px 18px 8px; color: var(--texto-2); max-width: 68ch; margin: 0; }
.oscura .faq summary { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid var(--linea-osc); }
.oscura .faq details p { color: var(--texto-osc-2); }

/* Mapa y estrategia */
.mapa { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .mapa { grid-template-columns: 1fr 1fr; } }
.mapa img { margin-inline: auto; }
.estrategia { background: linear-gradient(to bottom, #8e9eab 0%, #8e9eab 58%, #252529 100%); color: #000; text-align: center; }
.estrategia h2 { color: #000; max-width: 20ch; margin-inline: auto; }
.estrategia p { color: #000; font-weight: 500; max-width: 68ch; margin-inline: auto; }
.slider { overflow: hidden; background: rgba(0, 0, 0, .55); margin-top: 2.4rem; border-block: 1px solid var(--linea-osc); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.slider__pista { display: flex; width: max-content; animation: desliza 38s linear infinite; }
.slider:hover .slider__pista, .slider:focus-within .slider__pista { animation-play-state: paused; }
.slide { display: flex; align-items: center; gap: 12px; padding: 18px 44px; color: #fff; font: 600 1.35rem/1 var(--titulos); letter-spacing: .04em; white-space: nowrap; }
.slide svg { width: 44px; height: 44px; stroke: var(--agua); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes desliza { to { transform: translateX(-50%); } }

/* Beneficios, filetes y listas */
.grid--8 { display: grid; gap: 0 32px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--8 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--8 { grid-template-columns: repeat(4, 1fr); } }
.mini { border-top: 1px solid var(--linea); padding: 18px 0 10px; }
.oscura .mini { border-color: var(--linea-osc); }
.mini h3 { font-size: 1.6rem; margin-bottom: .25em; }
.mini p { margin: 0; color: var(--texto-2); font-size: .98rem; line-height: 1.55; }
.oscura .mini p { color: var(--texto-osc-2); }
.prensa { display: grid; gap: 0 32px; margin-top: 1.6rem; }
@media (min-width: 760px) { .prensa { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .prensa { grid-template-columns: repeat(4, 1fr); } }
.guias { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.guias li { border-top: 1px solid var(--linea); }
.guias li:last-child { border-bottom: 1px solid var(--linea); }
.guias a { display: block; padding: 18px 0; font: 700 1.55rem/1.15 var(--titulos); text-decoration: none; transition: color .25s, padding-left .25s; }
.guias a:hover { color: var(--agua-osc); padding-left: 8px; }

/* Ciclo de Goat Engine */
.ciclo { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .ciclo { grid-template-columns: 1fr 1fr; } }
.ciclo svg { width: 100%; max-width: 520px; margin-inline: auto; overflow: visible; }
.ciclo .nodo { fill: var(--agua); }
.ciclo .nodo-n { fill: #000; font: 700 22px var(--titulos); text-anchor: middle; dominant-baseline: central; }
.ciclo .anillo { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 2; stroke-dasharray: 2 7; }
.ciclo .flecha { fill: none; stroke: var(--agua); stroke-width: 3; stroke-linecap: round; }
.ciclo .rot { fill: #fff; font: 600 17px var(--titulos); letter-spacing: .03em; display: none; }
.ciclo .centro { fill: #fff; font: 700 22px var(--titulos); text-anchor: middle; }
.ciclo .centro-2 { fill: var(--texto-osc-2); font: 400 13px var(--cuerpo); text-anchor: middle; }
@media (min-width: 700px) { .ciclo .rot { display: block; } }
.ciclo ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: c; }
.ciclo li { counter-increment: c; display: grid; grid-template-columns: 42px 1fr; gap: 12px; }
.ciclo li::before { content: counter(c); width: 38px; height: 38px; border-radius: 50%; background: var(--agua); color: #000; font: 700 1.2rem/38px var(--titulos); text-align: center; }
.ciclo li strong { display: block; font: 700 1.35rem/1.1 var(--titulos); color: #fff; }
.ciclo li span { color: var(--texto-osc-2); font-size: .97rem; }
.cierre { color: #fff !important; margin-top: 2rem; font: 700 clamp(1.8rem, 4vw, 2.8rem)/1.05 var(--titulos); max-width: 24ch; }

/* Dónde te van a encontrar */
.donde { display: grid; gap: 24px; }
@media (min-width: 900px) { .donde { grid-template-columns: repeat(3, 1fr); } }
.donde h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border: 1px solid var(--linea); border-radius: 999px; font-weight: 600; font-size: .92rem; background: #fff; }
.frase { margin-top: 2.2rem; font: 700 clamp(1.6rem, 3.6vw, 2.4rem)/1.1 var(--titulos); max-width: 30ch; }

/* Demo y casos */
.ejemplo { display: inline-block; font: 700 .9rem/1 var(--titulos); letter-spacing: .06em; text-transform: uppercase; background: var(--gris); color: #000; padding: 7px 10px; border-radius: 6px; }
.caso { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s; }
.caso:hover { transform: translateY(-6px); border-color: var(--agua); box-shadow: 0 18px 44px -20px rgba(153, 201, 199, .9); }
.caso__img { aspect-ratio: 16 / 10; display: flex; align-items: flex-end; justify-content: flex-end; padding: 12px; color: #1d1d21; font: 600 .95rem var(--titulos); background:
  linear-gradient(var(--grafito), var(--grafito)) 18px 112px / 96px 28px no-repeat,
  linear-gradient(rgba(37,37,41,.2), rgba(37,37,41,.2)) 18px 76px / 52% 10px no-repeat,
  linear-gradient(rgba(37,37,41,.28), rgba(37,37,41,.28)) 18px 40px / 72% 24px no-repeat,
  linear-gradient(rgba(37,37,41,.2), rgba(37,37,41,.2)) 18px 18px / 34% 10px no-repeat,
  linear-gradient(to top, #8e9eab, #e0e0e0); }
.caso__cuerpo { padding: 22px; }
.caso__cuerpo p { color: var(--texto-2); }
.resultados { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 1rem; }
.resultados strong { display: block; font: 700 2.2rem/1 var(--titulos); color: var(--grafito); }
.resultados span { font-size: .85rem; color: var(--texto-2); }
.demo__marco { border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 18px 50px -26px rgba(37, 37, 41, .5); max-width: 980px; }
.demo__barra { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--gris); font: 600 .9rem var(--titulos); color: #1d1d21; }
.demo__barra i { width: 10px; height: 10px; border-radius: 50%; background: var(--acero); }
.demo__barra span { margin-left: 12px; }
.demo__cuerpo { padding: clamp(18px, 4vw, 40px); display: grid; gap: 28px; }
.demo__perfil { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.demo__avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--grafito); color: #fff; display: grid; place-items: center; font: 700 2rem var(--titulos); }
.demo__perfil h3 { margin: 0; font-size: 2.2rem; } .demo__perfil p { margin: 0; color: var(--texto-2); }
.demo__perfil .btn { margin-left: auto; min-height: 44px; font-size: 1rem; }
.demo__gal { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .demo__gal { grid-template-columns: repeat(4, 1fr); } }
.demo__gal img, .demo__gal div { aspect-ratio: 9 / 16; width: 100%; object-fit: cover; border-radius: 10px; background: var(--gris); display: grid; place-items: center; color: #1d1d21; font: 600 .85rem var(--titulos); }
.demo__cols { display: grid; gap: 14px; }
@media (min-width: 760px) { .demo__cols { grid-template-columns: repeat(3, 1fr); } }
.demo__cols div { border: 1px solid var(--linea); border-radius: 12px; padding: 14px 16px; font-size: .92rem; }
.demo__cols strong { display: block; margin-bottom: .2em; font: 700 1.2rem/1.1 var(--titulos); }
.demo__leyenda { margin-top: 14px; }

/* Blog */
.articulo { max-width: 720px; margin-inline: auto; }
.articulo h2 { font-size: clamp(2rem, 4.4vw, 2.6rem); margin-top: 1.6em; }
.articulo h3 { margin-top: 1.4em; }
.articulo .lead { max-width: none; font-size: 1.2rem; }
.articulo img { border-radius: var(--radio); margin-block: 1.6rem; }
.articulo a:not(.btn) { text-decoration-color: var(--agua-osc); text-decoration-thickness: 2px; }
.meta { font: 600 1rem/1.3 var(--titulos); color: var(--texto-2); letter-spacing: .04em; }
.card .meta { margin-bottom: .6rem; }

/* Formulario */
.form { display: grid; gap: 14px; max-width: 520px; }
.form label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; }
.form input, .form textarea { font: inherit; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--linea); background: #fff; color: var(--texto); min-height: 50px; caret-color: var(--agua-osc); }
.form input:focus, .form textarea:focus { border-color: var(--grafito); outline: none; }

/* Footer: columnas centradas sobre degradado negro, como el original */
.pie { background: linear-gradient(to top, #000, #252529); color: #fff; padding-block: 64px 0; }
.pie__grid { display: grid; gap: 36px; text-align: center; }
@media (min-width: 760px) { .pie__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.pie img { height: 44px; width: auto; margin: 0 auto 16px; }
.pie p { color: var(--texto-osc-2); font-size: .98rem; }
.pie h2 { font: 600 1.35rem/1 var(--titulos); letter-spacing: .04em; color: #fff; margin-bottom: .8rem; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; color: var(--texto-osc-2); }
.pie a { text-decoration: none; display: inline-block; padding: 11px 0; color: #fff; font-weight: 400; transition: color .3s; }
.pie a:hover { color: var(--agua); }
.pie__legal { margin-top: 44px; padding: 14px 0 16px; border-top: 1px solid var(--linea-osc); font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--texto-osc-2); }

/* WhatsApp */

/* Aparición suave al hacer scroll: solo transform y opacidad */
.js .rev { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .rev.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rev { opacity: 1; transform: none; }
  .slider__pista { flex-wrap: wrap; width: auto; justify-content: center; }
}
.hero .etiqueta { color: #fff; }
.hero .etiqueta::before { background: var(--agua); }

/* Proyectos del portfolio y vista de escritorio + celular */
.proyecto { display: grid; gap: 34px; align-items: center; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--linea); }
.proyecto:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .proyecto { grid-template-columns: 1fr 1.15fr; } .proyecto:nth-of-type(even) .vista { order: -1; } }
.proyecto h2 { margin-bottom: .3em; }
.lista-simple { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 8px; color: var(--texto-2); }
.lista-simple li { padding-left: 1.5em; position: relative; }
.lista-simple li::before { content: ""; position: absolute; left: 0; top: .6em; width: .6em; height: .6em; border-radius: 50%; background: var(--agua-osc); }
.vista { position: relative; padding-bottom: 28px; }
.vista__pc { border-radius: 14px; overflow: hidden; border: 1px solid var(--linea); background: #fff; box-shadow: 0 20px 50px -26px rgba(37, 37, 41, .55); }
.vista__pc img { width: 100%; height: auto; }
.vista__movil { position: absolute; right: 4%; bottom: 0; width: 24%; min-width: 92px; border-radius: 16px; overflow: hidden; border: 4px solid #000; background: #000; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .6); }
.vista__movil img { width: 100%; height: auto; }
.caso__enlace { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gris); }
.caso__enlace img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.caso:hover .caso__enlace img { transform: scale(1.04); }
.proyecto .resultados { margin-block: 1rem 1.6rem; }

/* ===== Mejoras: hero informativo, barra de contacto móvil, profundidad ===== */
.hero--video { padding-block: 118px 56px; }
.hero__sombra { background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,.62) 55%, rgba(0,0,0,.82)); }
.hero__datos { list-style: none; margin: 2.2rem auto 0; padding: 0; display: grid; gap: 10px; max-width: 920px; text-align: left; }
.hero__datos li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--linea-osc); border-radius: 14px; background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .95rem; line-height: 1.35; color: var(--texto-osc-2); }
.hero__datos svg { width: 30px; height: 30px; stroke: var(--agua); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__datos strong { display: block; font: 700 1.2rem/1.1 var(--titulos); color: #fff; letter-spacing: .02em; }
@media (min-width: 760px) { .hero__datos { grid-template-columns: repeat(3, 1fr); } .hero__datos li { grid-template-columns: 34px 1fr; } }
.oscura { position: relative; isolation: isolate; overflow: hidden; }
.oscura::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 45% at 85% 0%, rgba(153, 201, 199, .14), transparent 70%), radial-gradient(40% 35% at 5% 100%, rgba(142, 158, 171, .12), transparent 70%); pointer-events: none; }
.frase { color: inherit; }
.oscura .frase { color: #fff; }
.cab { transition: background-color .3s, min-height .3s; }
.cab.scrolled .wrap { min-height: 66px; }
.cab .wrap { transition: min-height .3s; }
.card h3 { text-wrap: balance; }
.slide span { text-transform: none; }

/* Barra fija de contacto solo en celular: vender es lo primero */
.barra-cta { display: none; }
@media (max-width: 759px) {
  .barra-cta { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: fixed; inset: auto 0 0 0; z-index: 95; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(0, 0, 0, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--linea-osc); }
  .barra-cta a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; border-radius: 14px; font: 700 1.2rem/1 var(--titulos); letter-spacing: .02em; text-decoration: none; }
  .barra-cta__wa svg { width: 1.3em; height: 1.3em; }
  .barra-cta__tel { background: #fff; color: #000; padding-inline: 1.4rem; border: 3px solid var(--agua); }
  .wa-flotante { display: none; }
  body { padding-bottom: 76px; }
}

/* ===== Cabra vectorial (nítida a cualquier tamaño) y botón de WhatsApp ===== */
.goat { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.goat .btn { display: none; }
@media (min-width: 960px) { .goat { margin-left: 0; } .goat .btn { display: inline-flex; } }
.goat__cabra { display: block; background: none; animation: none; width: auto; height: auto; }
.goat__cabra svg { height: 38px; aspect-ratio: 484 / 535; width: auto; fill: none; stroke: #fff; stroke-width: 16; stroke-linejoin: round; stroke-linecap: round; overflow: visible; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 4px rgba(255, 255, 255, .55)) drop-shadow(0 0 10px rgba(200, 235, 255, .3)); }
@media (min-width: 960px) { .goat__cabra svg { height: 52px; } .cab .wrap { min-height: 80px; } }
.goat__cabra .c1 { animation: cabra-a 2.4s steps(1) infinite; }
.goat__cabra .c2 { animation: cabra-b 2.4s steps(1) infinite; }
@keyframes cabra-a { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes cabra-b { 0% { opacity: 0; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .goat__cabra .c2 { display: none; } .goat__cabra .c1 { opacity: 1; } }
.cab .wrap { min-height: 84px; }

/* WhatsApp: logo original (degradado verde y contorno blanco) y llamada azul, como en el sitio de origen */
.btn svg { width: 1.35em; height: 1.35em; flex: none; }
.btn--wa { background: #fff; color: #000; border-color: var(--agua); box-shadow: 0 6px 22px rgba(153, 201, 199, .45); }
.btn--wa:hover { background: #000; color: #fff; border-color: var(--agua); }
section:not(.oscura):not(.hero) .btn--wa { background: var(--grafito); color: #fff; }
.wa-flotante { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 68px; height: 68px; padding: 0; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; box-shadow: none; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); isolation: isolate; transition: transform .25s; }
.wa-flotante svg { width: 66px; height: 66px; }
.wa-flotante::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; z-index: -1; animation: pulso 2.8s ease-out infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70%, 100% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } }
.wa-flotante:hover { transform: scale(1.08); background: none; }
.wa-flotante:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 50%; }
.llamar-flotante { position: fixed; left: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #0077c2; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .55); transition: transform .25s, background-color .25s; }
.llamar-flotante svg { width: 30px; height: 30px; }
.llamar-flotante:hover { transform: scale(1.08); background: #0a89dc; }
.llamar-flotante:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 759px) {
  .llamar-flotante, .wa-flotante { display: none; }
  .barra-cta { grid-template-columns: 1fr 1.4fr; }
  .barra-cta__wa { background: #fff; color: #000; border: 3px solid var(--agua); font-size: 1.3rem; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: pulso-barra 2.8s ease-out infinite; }
  .barra-cta__wa svg { width: 1.5em; height: 1.5em; }
  .barra-cta__tel { background: #0077c2; color: #fff; border: 3px solid rgba(255, 255, 255, .85); gap: .45em; padding-inline: 1rem; }
  .barra-cta__tel svg { width: 1.3em; height: 1.3em; }
}
@keyframes pulso-barra { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); } }
@media (prefers-reduced-motion: reduce) { .wa-flotante::after, .barra-cta__wa { animation: none !important; } }

.wa-flotante img { width: 68px; height: 68px; display: block; }

/* Logo de WhatsApp (imagen original) dentro de botones */
.ico-wa { width: 1.55em; height: 1.55em; flex: none; display: block; }
.barra-cta__wa .ico-wa { width: 1.7em; height: 1.7em; }
.wa-flotante img { width: 72px; height: 72px; }
.wa-flotante { width: 72px; height: 72px; }

/* Botón del encabezado: píldora limpia, sin borde grueso ni brillo que choque con el video */
.goat { gap: 14px; }
.goat .btn { min-height: 48px; padding: 0 24px; gap: 10px; border: 0; border-radius: 999px; background: #fff; color: #000; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .55); font-size: 1.2rem; white-space: nowrap; transition: background-color .25s, transform .25s, box-shadow .25s; }
.goat .btn .ico-wa { width: 28px; height: 28px; }
.goat .btn:hover { background: var(--agua); color: #000; transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .6); }
.goat .btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.goat__cabra { flex: none; }
.goat__cabra svg { flex: none; }
@media (min-width: 960px) and (max-width: 1180px) {
  .nav a { padding: 12px 9px; font-size: 1.05rem; }
  .goat { gap: 8px; }
  .goat__cabra svg { height: 44px; }
  .goat .btn { padding: 0 16px; font-size: 1.08rem; min-height: 46px; }
  .logo img { height: 36px; }
}

/* Botón flotante de WhatsApp: vector fino, redondo y del mismo estilo que el de llamada */
.wa-flotante { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; padding: 0; border-radius: 50%; background: #25D366; border: 2px solid rgba(255, 255, 255, .9); display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .55); filter: none; transition: transform .25s, background-color .25s; }
.wa-flotante::after { content: none; animation: none; }
.wa-flotante svg { width: 34px; height: 34px; }
.wa-flotante:hover { transform: scale(1.08); background: #2ee66f; }
.wa-flotante:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wa-flotante { border: 0; }
.wa-flotante svg { width: 38px; height: 38px; }

/* Botón flotante de WhatsApp: la burbuja del logo, con contorno blanco fino */
.wa-flotante { width: 64px; height: 64px; border: 0; background: none; box-shadow: none; border-radius: 0; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); transition: transform .25s; }
.wa-flotante svg { width: 64px; height: 64px; overflow: visible; }
.wa-flotante:hover { transform: scale(1.08); background: none; }
.wa-flotante:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 50%; }

.ico-wa { overflow: visible; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .25)); }

/* Dónde aparecer: íconos simples de cada buscador y asistente */
.hero__donde { margin: 1.8rem auto 0; max-width: 760px; }
.hero__donde p { font: 600 1rem/1 var(--titulos); letter-spacing: .16em; text-transform: uppercase; color: var(--texto-osc-2); margin: 0 0 .9rem; }
.hero__donde ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; }
.hero__donde li { display: flex; flex-direction: column; align-items: center; gap: 6px; font: 600 1rem/1.1 var(--titulos); color: #fff; letter-spacing: .02em; }
.hero__donde svg { width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; padding: 7px; box-sizing: content-box; border: 1px solid var(--linea-osc); border-radius: 50%; background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (min-width: 760px) { .hero__donde ul { grid-template-columns: repeat(7, 1fr); } }

/* Artículos: franja oscura arriba para que el menú se lea y el título destaque */
.hero--articulo { padding-block: clamp(120px, 14vw, 160px) clamp(36px, 5vw, 60px); }
.hero--articulo h1 { max-width: 22ch; font-size: clamp(2.4rem, 7vw, 4.6rem); margin-bottom: 0; }
.hero--articulo .meta { color: var(--texto-osc-2); margin-bottom: 1rem; }
.hero--articulo .meta a { color: #fff; text-decoration-color: var(--agua); }
.articulo > .lead:first-child { margin-top: 0; }

@media (max-width: 759px) { .barra-cta { grid-template-columns: 1fr 1.4fr; } }

/* Sección "ya tengo web" sobre fondo acero: texto oscuro y 3 columnas */
.acero .mini { border-color: rgba(37, 37, 41, .35); }
.acero .mini h3 { color: #000; }
.acero .mini p { color: #1d1d21; }
.acero h3 { color: #000; }
@media (min-width: 1000px) { .grid--3col { grid-template-columns: repeat(3, 1fr); } }

/* Pasos sobre fondo claro */
.pasos--claro, .pasos--claro .paso { border-color: var(--linea); }
.pasos--claro .paso::before { color: var(--agua-osc); }
.pasos--claro .paso p { color: var(--texto-2); }

/* Móvil: sin barra inferior, solo los dos botones flotantes (llamar y WhatsApp) */
@media (max-width: 759px) {
  .barra-cta { display: none !important; }
  .llamar-flotante, .wa-flotante { display: grid !important; bottom: 16px; }
  .llamar-flotante { left: 14px; width: 54px; height: 54px; }
  .wa-flotante { right: 14px; }
  body { padding-bottom: 0 !important; }
}

/* Enlaces internos a guías del blog */
.enlaces-guias { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.enlaces-guias a { display: block; padding: 14px 16px; border: 1px solid currentColor; border-radius: 10px; text-decoration: none; font-weight: 600; opacity: .9; }
.enlaces-guias a:hover, .enlaces-guias a:focus-visible { opacity: 1; text-decoration: underline; }

/* Ficha de datos de la empresa (Quiénes somos) */
.datos-entidad { display: grid; gap: 0; margin: 0; max-width: 820px; border-top: 1px solid var(--linea); }
.datos-entidad dt { font-weight: 700; padding-top: 14px; color: var(--texto); }
.datos-entidad dd { margin: 0; padding: 2px 0 14px; border-bottom: 1px solid var(--linea); color: var(--texto-2); overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .datos-entidad { grid-template-columns: 180px 1fr; }
  .datos-entidad dt, .datos-entidad dd { padding: 14px 0; border-bottom: 1px solid var(--linea); }
}
.pie p a { color: var(--agua); text-decoration: underline; }
