@charset "UTF-8";
/* ==========================================================================
   RenovaPress · Hoja de estilos principal
   Mantiene la identidad visual original (Poppins, cian/violeta/magenta,
   botones con efecto onda, sombras azuladas) con código ordenado y responsive.
   ========================================================================== */

:root {
  --cyan: #00bbd3;
  --cyan-light: #03dbf7ab;
  --violet: #6945e8;
  --magenta: #d53fd4;
  --pink: #e70578;
  --green: #29dfa4;
  --black: #000;
  --ink: #111;
  --muted: #555;
  --bg-soft: #f2f5fc;
  --bg-blue: #f3f8fe;
  --white: #fff;
  /* Tonos suaves (fondo) y oscuros (texto) de un solo color, y borde fino gris azulado: elementos del blog */
  --line: #e3e8f4;
  --line-hover: #b7e9f1; /* borde de tarjeta al pasar el ratón */
  --dark: #0d1220; /* bloques oscuros */
  --radius-card: 26px 6px 26px 26px; /* esquina asimétrica de las tarjetas de borde fino */
  --line-cyan: #d6eef4; /* borde de las tarjetas con degradado suave */
  --grad-soft: linear-gradient(225deg, var(--cyan-soft) 0%, var(--violet-soft) 100%); /* degradado suave cian-violeta */
  --font-note: 'Caveat', cursive; /* letra manuscrita de las notas */
  --cyan-soft: #e6f8fb;
  --cyan-dark: #0b6f7d;
  --violet-soft: #f1edfd;
  --pink-soft: #fdebf3;
  --pink-dark: #b8045f;
  --green-soft: #e6faf3;
  --green-dark: #0b7a57;
  --shadow: 0 0 15px 5px rgb(103 151 255 / 12%);
  --shadow-hover: 0 8px 60px 0 rgb(103 151 255 / 11%), 0 12px 90px 0 rgb(103 151 255 / 11%);
  --shadow-soft: 0 4px 24px 0 rgb(103 151 255 / 10%), 0 12px 64px 0 rgb(103 151 255 / 10%);
  --grad: linear-gradient(90deg, var(--magenta) 0%, var(--violet) 100%);
  --grad-hero: linear-gradient(120deg, #5614d5 0%, var(--violet) 35%, var(--magenta) 70%, var(--cyan) 100%);
  --radius: 10px;
  /* Sistema de movimiento (ver CLAUDE.md): una curva y tres duraciones para toda la web */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1); /* frenada larga: paneles e ilustraciones que crecen */
  --dur-fast: .2s;
  --dur: .35s;
  --dur-slow: .6s;
  --delay-close: .15s; /* margen antes de cerrar un desplegable, para que no parpadee al mover el ratón */
  --lift: -6px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.75; color: var(--black); background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--black); line-height: 1.2; font-weight: 600; letter-spacing: -0.5px; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
button { font: inherit; cursor: pointer; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--cyan); color: #fff; }
::-webkit-scrollbar { width: 11px; background: #fff; }
::-webkit-scrollbar-thumb { background: #282a32; border: 3px solid #fff; border-radius: 30px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 10px; top: -100px; z-index: 100; background: #000; color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 10px; }
.row { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.row.narrow { max-width: 860px; }
.center { text-align: center; }
.small-note { font-size: 13px; color: var(--muted); }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font-size: inherit; }

/* ---------- Botones con efecto onda (estilo original) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 51px; padding: 0 35px; border-radius: 50px; border: 2px solid transparent; font-size: 15.5px; font-weight: 600; letter-spacing: .1px; overflow: hidden; z-index: 0; text-align: center; white-space: nowrap; }
.btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 100%; padding-bottom: 100%; border-radius: 100%; transform: translate(-50%, -50%) scale(0); transition: transform var(--dur-slow) var(--ease); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(1.2); }
.btn, .btn-head, .btn-promo-top { transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
:is(.btn, .btn-head, .btn-promo-top):is(:hover, :focus-visible) { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(16 24 64 / 14%); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn span { position: relative; z-index: 2; }
.btn-big { height: 60px; padding: 0 50px; font-size: 17px; }
.btn-small { height: 40px; padding: 0 20px; font-size: 13.5px; }
.btn-cyan { background: var(--cyan); color: #fff; border-color: var(--cyan); }
.btn-cyan::before { background: var(--cyan-light); }
.btn-pink { background: #fff; color: var(--pink); border-color: var(--pink); }
.btn-pink::before { background: var(--pink); }
.btn-pink:hover { color: #fff; }
.btn-outline { background: #fff; color: var(--cyan); border-color: var(--cyan); }
.btn-outline::before { background: var(--cyan); }
.btn-outline:hover { color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white::before { background: #fff; }
.btn-outline-white:hover { color: var(--violet); }
.btn-white { background: #fff; color: var(--violet); border-color: #fff; }
.btn-white::before { background: var(--cyan); }
.btn-white:hover { color: #fff; border-color: var(--cyan); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-group.center { justify-content: center; }

/* ---------- Barra de promoción con cuenta atrás ---------- */
.notification-bar { position: relative; z-index: 31; display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 57px; padding: 6px 50px; background: linear-gradient(90deg, var(--promo-from, var(--magenta)) 0%, var(--promo-to, var(--violet)) 100%); color: var(--promo-text, #fff); }
.notification-bar__message { font-size: 15px; font-weight: 500; line-height: 20px; }
.countdowntop { display: flex; gap: 6px; }
.countdowntop > div { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; height: 42px; border: 1px dotted #fff; border-radius: 4px; font-size: 17px; font-weight: 600; line-height: 1.1; }
.countdowntop span { font-size: 10px; font-weight: 400; }
.btn-promo-top { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 22px; border-radius: 50px; background: var(--green); color: #fff; font-size: 14px; font-weight: 600; overflow: hidden; }
.btn-promo-top::before { content: ''; position: absolute; top: 50%; left: 50%; width: 100%; padding-bottom: 100%; border-radius: 100%; background: var(--cyan-light); transform: translate(-50%, -50%) scale(0); transition: transform var(--dur-slow) var(--ease); }
.btn-promo-top:is(:hover, :focus-visible)::before { transform: translate(-50%, -50%) scale(1.2); }
.btn-promo-top span { position: relative; }
.close-top-bar { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #ffffffde; font-size: 23px; line-height: 1; padding: 4px; }
.close-top-bar:hover { color: #fff; }

/* ---------- Cabecera y menú ---------- */
/* Cabecera sticky en todas las páginas, con la MISMA altura siempre (84 px; 70 px en tablet y móvil).
   La barra de promo se va con el scroll y el menú se queda arriba sin cambiar de tamaño (CLS 0).
   Páginas interiores: blanca desde el principio. Portada: transparente sobre el hero.
   Al quedarse fija: blanco translúcido con desenfoque (blur) y sombra suave. */
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); padding: 0 40px; background-color: #fff; box-shadow: var(--shadow-soft); transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
/* El blur va en una capa de fondo y no en la cabecera: si no, el panel del menú móvil (fixed) dejaría de ocupar la pantalla */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #fff; opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header::before { background: rgb(255 255 255 / 80%); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%); }
}
.menu-static .site-header { position: relative; }
.menu-smart .site-header { transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.menu-smart .site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.site-header.scrolled { background-color: transparent; box-shadow: 0 6px 24px rgb(16 24 64 / 8%); }
.site-header.scrolled::before { opacity: 1; }
.home .site-header:not(.scrolled), .has-hero .site-header:not(.scrolled) { background-color: transparent; box-shadow: none; }
/* Portada: el menú no ocupa sitio en la página, va encima del hero */
.home .site-header { margin-bottom: calc(-1 * var(--header-h)); }

.logo { display: flex; flex-direction: column; line-height: 1; color: #000; }
.logo-title { font-size: 30px; font-weight: 700; letter-spacing: -1px; position: relative; }
.logo-title span { color: var(--cyan); }
.logo-title::after { content: "\f25c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 9px; position: absolute; top: -2px; margin-left: 1px; }
.logo-sub { font-size: 12.5px; letter-spacing: 1px; margin-top: 6px; }
.home .site-header:not(.scrolled) .logo, .home .site-header:not(.scrolled) .logo-title span { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 18px; }
.menu { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu > li > a { position: relative; display: block; padding: 28px 12px; font-size: 15.5px; font-weight: 500; color: #000; transition: color var(--dur-fast) var(--ease); }
.menu > li > a:is(:hover, :focus-visible), .menu > li > a[aria-current="page"] { color: var(--cyan); }
.menu > li > a:focus-visible { outline: 2px solid currentColor; outline-offset: -18px; border-radius: 8px; }
.home .site-header:not(.scrolled) .menu > li > a, .home .site-header:not(.scrolled) .sub-toggle { color: #fff; }
.sub-toggle .acc-icon { display: none; } /* en escritorio, flecha; en móvil, el +/− de los acordeones */
.home .site-header:not(.scrolled) .menu > li > a:is(:hover, :focus-visible) { color: var(--cyan); }
.sub-toggle { background: none; border: 0; padding: 6px 4px; margin-left: -8px; color: #000; font-size: 11px; transition: transform var(--dur) var(--ease); }
.badge-number { position: relative; top: -12px; margin-left: 3px; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 60px; color: #fff; background: var(--pink); }

.btn-head { position: relative; display: inline-flex; align-items: center; height: 48px; padding: 0 34px; border-radius: 50px; border: 2px solid var(--cyan); background: var(--cyan); color: #fff; font-weight: 600; font-size: 15px; overflow: hidden; z-index: 0; }
.btn-head::before { content: ''; position: absolute; top: 50%; left: 50%; width: 100%; padding-bottom: 100%; border-radius: 100%; background: var(--cyan-light); transform: translate(-50%, -50%) scale(0); transition: transform var(--dur-slow) var(--ease); z-index: -1; }
.btn-head:is(:hover, :focus-visible)::before { transform: translate(-50%, -50%) scale(1.2); }
.home .site-header:not(.scrolled) .btn-head { background: transparent; border-color: #fff; }

.contacto-menu { display: none; }

/* Megamenú (escritorio): panel a todo el ancho bajo la cabecera */
.mega { position: absolute; top: 100%; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--dur) var(--ease) var(--delay-close), transform var(--dur) var(--ease) var(--delay-close), visibility 0s linear calc(var(--dur) + var(--delay-close)); }
.menu > li.has-mega { position: static; }
.mega { left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: #fff; border-top: 1px solid #eef1f8; border-radius: 0 0 28px 28px; box-shadow: var(--shadow-hover), 0 14px 24px rgb(0 0 0 / 6%); }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -24px; height: 24px; } /* puente para no perder el hover */
.has-mega:is(:hover, :focus-within, .is-open) > .mega { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.sub-toggle[aria-expanded="true"], .has-mega:is(:hover, :focus-within) > .sub-toggle { transform: rotate(180deg); }
.mega-inner { display: grid; grid-template-columns: 1fr 300px; grid-template-areas: "groups cta" "foot foot"; gap: 10px 40px; max-width: 1240px; margin: 0 auto; padding: 34px 40px 0; }
.mega-groups { grid-area: groups; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 24px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-title { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--cyan); margin: 0 0 14px 12px; padding-bottom: 10px; }
.mega-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; border-radius: 3px; background: var(--grad); }
.mega-group { display: none; }
.mega-col a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 16px 4px 16px 4px; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.mega-col a:is(:hover, :focus-visible, [aria-current="page"]) { background: var(--bg-blue); }
.mega-col a:is(:hover, :focus-visible, [aria-current="page"]) strong { color: var(--cyan); }
.mega-icon { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; font-size: 20px; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.mega-icon--cyan { background: #00bbd31f; color: var(--cyan); }
.mega-icon--violet { background: #6945e81a; color: var(--violet); }
.mega-icon--magenta { background: #d53fd41a; color: var(--magenta); }
.mega-icon--pink { background: #e705781a; color: var(--pink); }
.mega-icon--green { background: #29dfa426; color: #16a87a; }
.mega-col a:is(:hover, :focus-visible) .mega-icon { color: #fff; }
.mega-col a:is(:hover, :focus-visible) .mega-icon--cyan { background: var(--cyan); }
.mega-col a:is(:hover, :focus-visible) .mega-icon--violet { background: var(--violet); }
.mega-col a:is(:hover, :focus-visible) .mega-icon--magenta { background: var(--magenta); }
.mega-col a:is(:hover, :focus-visible) .mega-icon--pink { background: var(--pink); }
.mega-col a:is(:hover, :focus-visible) .mega-icon--green { background: var(--green); }
.mega-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }
.mega-text strong { font-size: 15px; font-weight: 600; color: #000; transition: color var(--dur) var(--ease); }
.mega-text small { font-size: 13px; line-height: 1.45; color: var(--muted); }
.mega-cta { grid-area: cta; position: relative; overflow: hidden; align-self: start; display: flex; flex-direction: column; align-items: flex-start; padding: 28px 26px; border-radius: 26px 6px 26px 6px; background: var(--grad); color: #fff; }
.mega-cta::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 28px solid rgb(255 255 255 / 9%); pointer-events: none; }
.mega-cta p { position: relative; z-index: 1; font-size: 13.5px; line-height: 1.6; margin: 0 0 18px; }
.mega-cta .mega-cta-note { font-size: 28px; color: #fff; margin: 0 0 2px; }
.mega-cta .mega-cta-title { font-size: 19px; font-weight: 600; line-height: 1.3; margin: 0 0 8px; }
.mega-cta .btn { position: relative; z-index: 1; height: 46px; padding: 0 26px; font-size: 14.5px; align-items: center; justify-content: center; border-radius: 50px; }
.mega-cta-phone { position: relative; z-index: 1; margin-top: 16px; font-size: 14px; font-weight: 600; color: #fff; }
.mega-cta-phone:is(:hover, :focus-visible) { color: rgb(255 255 255 / 80%); }
.mega-foot { grid-area: foot; display: flex; align-items: center; justify-content: space-between; gap: 12px 30px; flex-wrap: wrap; margin-top: 8px; padding: 18px 12px 24px; border-top: 1px solid #eef1f8; }
.mega-all { font-size: 15px; font-weight: 600; color: var(--violet); }
.mega-all .lnr { margin-left: 4px; font-size: 13px; }
.mega-audit { font-size: 13.5px; color: var(--muted); }
.mega-foot a { transition: color var(--dur) var(--ease); }
.mega-foot a:is(:hover, :focus-visible) { color: var(--cyan); }

/* Botón hamburguesa animado */
.burger { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--cyan); padding: 0; }
.burger span { position: absolute; left: 13px; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top var(--dur) var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero de la home ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: #1b0d4a; }
.hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; transition: opacity var(--dur-slow) var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-video.is-playing ~ .hero-bg { opacity: .65; } /* tras la primera interacción, el color queda semitransparente: el vídeo se ve al 35 % */
.hero-bg { position: absolute; inset: 0; background: var(--grad-hero); background-size: 300% 300%; animation: hero-gradient 18s ease infinite; transition: opacity var(--dur-slow) var(--ease); }
.hero-bg span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 16s ease-in-out infinite; }
.hero-bg span:nth-child(1) { width: 420px; height: 420px; background: var(--cyan); top: -80px; left: -60px; }
.hero-bg span:nth-child(2) { width: 360px; height: 360px; background: var(--pink); bottom: -100px; right: 10%; animation-delay: -4s; }
.hero-bg span:nth-child(3) { width: 260px; height: 260px; background: var(--green); top: 30%; right: -60px; animation-delay: -8s; opacity: .35; }
.hero-bg span:nth-child(4) { width: 300px; height: 300px; background: var(--violet); bottom: 10%; left: 25%; animation-delay: -12s; }
@keyframes hero-gradient { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 25px) scale(.95); } }
.video-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background-image: linear-gradient(45deg, rgba(0, 0, 0, .3) 50%, rgba(0, 0, 0, 0) 50%); background-size: 3px 3px; }
.hero-content { position: relative; z-index: 2; max-width: 980px; padding: 0 20px; text-align: center; color: #fff; }
.hero-kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 6px 18px; border-radius: 50px; background: rgb(255 255 255 / 14%); backdrop-filter: blur(6px); }
.hero-title { font-size: clamp(42px, 7.5vw, 86px); letter-spacing: -1.7px; color: #fff; margin: 18px 0 14px; line-height: 1.05; }
.text-cyan { color: var(--cyan); }
.text-gradient { background: linear-gradient(90deg, #7ff3ff, #fff 50%, #ffb3e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { font-size: clamp(17px, 2vw, 22px); max-width: 640px; margin: 0 auto 32px; opacity: .95; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.scroll-btn { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 3; }
.scroll-btn .mouse { position: relative; display: block; width: 32px; height: 55px; border: 2px solid #fff; border-radius: 23px; transition: border-color var(--dur) var(--ease); }
.scroll-btn .mouse > * { position: absolute; top: 29%; left: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; border-radius: 50%; animation: ani-mouse 2.5s linear infinite; transition: background-color var(--dur) var(--ease); }
.scroll-btn:is(:hover, :focus-visible) .mouse { border-color: var(--cyan); }
.scroll-btn:is(:hover, :focus-visible) .mouse > * { background: var(--cyan); }
@keyframes ani-mouse { 0% { opacity: 1; top: 29%; } 15% { opacity: 1; top: 50%; } 50% { opacity: 0; top: 50%; } 100% { opacity: 0; top: 29%; } }

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero { position: relative; overflow: hidden; padding: 70px 0 80px; background: var(--grad-hero); background-size: 300% 300%; animation: hero-gradient 22s ease infinite; color: #fff; }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(45deg, rgba(0, 0, 0, .18) 50%, rgba(0, 0, 0, 0) 50%); background-size: 3px 3px; pointer-events: none; }
.page-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 960px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); letter-spacing: -1.3px; margin: 8px 0 14px; }
.page-hero-kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 5px 16px; border-radius: 50px; background: rgb(255 255 255 / 16%); margin: 0; }
.page-hero-text { font-size: 18px; max-width: 700px; margin: 0 auto; opacity: .95; }
.page-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.page-hero-shapes span { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .45; animation: float 18s ease-in-out infinite; }
.page-hero-shapes span:nth-child(1) { width: 300px; height: 300px; background: var(--cyan); top: -120px; left: 5%; }
.page-hero-shapes span:nth-child(2) { width: 260px; height: 260px; background: var(--pink); bottom: -140px; right: 8%; animation-delay: -6s; }
.page-hero-shapes span:nth-child(3) { width: 200px; height: 200px; background: var(--green); top: 20%; right: -60px; animation-delay: -10s; opacity: .3; }
.breadcrumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13.5px; margin-bottom: 18px; opacity: .9; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Secciones ---------- */
.box-white, .box-gris, .marketing-box, .yw-box-popular-post { position: relative; overflow: hidden; padding: 90px 0; }
.box-white { background: #fff; }
.box-gris { background: var(--bg-soft); }
.marketing-box { background: linear-gradient(var(--bg-blue), #fff); }
.yw-box-popular-post { background: #fff; }
.yw-text-top-title { color: var(--cyan); font-size: 12px; text-transform: uppercase; letter-spacing: .3px; font-weight: 600; margin-bottom: 8px; }
.section-title { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -1.3px; line-height: 1.15; margin-bottom: 16px; }
.title-black, .title-white { max-width: 760px; margin: 0 auto 50px; text-align: center; font-size: 16px; }
.title-white, .title-white .section-title { color: #fff; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }

/* Tarjetas de servicio */
.service-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 28px 34px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; font-size: 36px; color: #fff; background: linear-gradient(135deg, var(--cyan), var(--violet)); box-shadow: 0 12px 30px rgb(105 69 232 / 25%); margin-bottom: 20px; transition: transform var(--dur-slow) var(--ease); }
.service-icon.big { width: 96px; height: 96px; font-size: 42px; }
.service-card:is(:hover, :focus-visible) .service-icon { transform: rotate(-8deg) scale(1.06); }
.title-services { font-size: 18.5px; font-weight: 600; letter-spacing: -.4px; margin: 0 0 8px; }
.text-services { color: #222; margin: 0; }
.service-price { margin: 14px 0 0; font-weight: 600; color: var(--violet); }
.service-card .more { margin-top: 18px; width: 38px; height: 38px; line-height: 34px; border-radius: 50%; border: 2px solid var(--cyan); color: var(--cyan); font-size: 16px; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-slow) var(--ease); }
.service-card:is(:hover, :focus-visible) .more { background: var(--cyan); color: #fff; transform: rotate(360deg); }

/* Tarjetas de ventajas con icono (páginas de servicio) */
.holder { position: relative; display: flex; gap: 20px; padding: 34px 28px 28px; text-align: left; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.holder-icon { flex: 0 0 60px; font-size: 44px; line-height: 1; color: var(--violet); transition: transform var(--dur-slow) var(--ease); }
.holder:hover .holder-icon { transform: rotate(360deg); }
.holder-title { font-size: 18px; letter-spacing: -.4px; margin: 0 0 6px; padding-right: 40px; }
.holder-body p { margin: 0; color: #222; }

/* Pasos numerados con anillo pulsante */
.steps { list-style: none; margin: 34px 0 0; padding: 0; }
.steps li { position: relative; display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.steps p { margin: 4px 0 0; }
.step-number { position: relative; flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: #fff; font-weight: 600; z-index: 1; }
.step-number::before { content: ''; position: absolute; inset: -30%; border-radius: 50%; background: #00bbd3eb; z-index: -1; animation: pulse-ring 4s cubic-bezier(.215, .61, .355, 1) infinite; }
@keyframes pulse-ring { 0% { transform: scale(.1); } 80%, 100% { opacity: 0; } }
.check-list { list-style: none; margin: 20px 0; padding: 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; }
.check-list .lnr { color: var(--cyan); font-size: 19px; margin-top: 4px; }

/* Tarjeta de opinión (página /opiniones; su tarjeta blanca, .review-card, en components.css) */
.testimonial { margin: 0; text-align: center; }
.testimonial .pic { width: 130px; height: 130px; border-radius: 50%; border: 2px solid #fff; margin: 0 auto 10px; object-fit: cover; }
.testimonial-quote { font-size: 36px; color: #00efffb0; margin-bottom: 8px; }
.testimonial .description { font-size: 17px; font-style: italic; line-height: 1.6; margin: 0 0 14px; }
.testimonial .post { font-weight: 600; font-size: 18px; }
.testimonial .post small { display: block; font-weight: 400; font-size: 14px; opacity: .85; }
.star-rating { color: #f5a814; font-size: 20px; margin: 12px 0 0; letter-spacing: 3px; }


/* FAQ */
.faq .acc { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; }
.faq .acc-btn { padding: 20px 22px 20px 24px; font-weight: 600; font-size: 16px; } /* acordeón: motion.css */
.faq .acc-panel p { padding: 0 24px 20px; margin: 0; }

/* Banda de llamada a la acción */
.cta-band { padding: 70px 0; background: var(--grad); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner .section-title { color: #fff; max-width: 680px; }
.cta-inner .yw-text-top-title { color: #fff; opacity: .85; }
.cta-inner p { margin: 0; }
.cta-inner .btn-group { margin: 0; flex-shrink: 0; }

/* Página de servicio */
.prose { font-size: 16.5px; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .6em; letter-spacing: -.8px; }
.prose h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.prose a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 14px; margin: 10px 0; }
.prose blockquote { margin: 1.5em 0; padding: 14px 22px; border-left: 4px solid var(--cyan); background: var(--bg-blue); border-radius: 0 10px 10px 0; }
.prose ul li, .prose ol li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid #e3e8f4; padding: 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-blue); }
.prose code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: .92em; }
.table-wrap { overflow-x: auto; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { padding-left: 2em; } .prose .ql-indent-2 { padding-left: 4em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }
.prose pre { background: #14102b; color: #e8e6ff; padding: 16px; border-radius: 10px; overflow-x: auto; }
.service-box { padding: 34px 30px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-hover); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.service-box .btn { width: 100%; }
.service-box-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 6px 0 0; }
.service-box-price { font-size: 30px; font-weight: 700; color: var(--violet); margin: 0; letter-spacing: -1px; }
.service-box-note { font-size: 13px; color: var(--muted); margin: 0 0 8px; }

/* Precios */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 40px 32px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.price-card.featured { background: linear-gradient(160deg, #fff 60%, var(--bg-blue)); outline: 2px solid var(--cyan); }
.price-name { font-size: 22px; margin: 0 0 6px; }
.price-text { color: var(--muted); }
.price-amount { font-size: 40px; font-weight: 700; color: var(--violet); letter-spacing: -1.5px; margin: 0 0 10px; }
.price-amount small { font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.price-card .btn { margin-top: auto; }
.monthly-list { list-style: none; margin: 0; padding: 0; }
.monthly-list a { display: flex; align-items: center; gap: 16px; padding: 18px 24px; margin-bottom: 12px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: transform var(--dur) var(--ease); }
.monthly-list a:hover { transform: translateX(6px); }
.monthly-list span:first-child { flex: 1; font-weight: 500; }
.monthly-list strong { color: var(--violet); }
.monthly-list .lnr { color: var(--cyan); }

/* Portfolio y estados vacíos */
.project-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.tags a { display: inline-block; font-size: 12.5px; padding: 2px 10px; margin: 0 6px 6px 0; border-radius: 20px; background: var(--bg-blue); color: var(--violet); }
.card-link { color: var(--cyan); font-weight: 600; }
.empty-state { text-align: center; max-width: 620px; margin: 0 auto; padding: 30px 0; }
.empty-state > .lnr { font-size: 60px; color: var(--cyan); display: block; margin-bottom: 14px; }

/* Contacto */
.contact-layout { align-items: start; }
.contact-form label { display: block; font-weight: 500; font-size: 14.5px; margin-bottom: 16px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form input[type=url], .contact-form input[type=number], .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 14px 16px; border: 2px solid #e3e8f4; border-radius: 12px; font: inherit; background: #fff; transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgb(0 187 211 / 15%); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.checkbox input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--cyan); }
.checkbox a { color: var(--violet); text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.alert { display: flex; gap: 12px; padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { background: #e6fbf4; color: #0b6e4f; }
.alert-success .lnr { font-size: 24px; }
.alert-error { background: #fdecf3; color: #a3044f; }

/* Presupuesto por pasos (/presupuesto). Sin JavaScript se ven todos los pasos seguidos */
.quote-wrap { max-width: 920px; }
.quote fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.quote [hidden] { display: none; } /* .btn y .quote-nav tienen su propio display */
.quote legend { padding: 0; }
.quote-step + .quote-step { margin-top: 44px; }
.quote-legend { margin-bottom: 20px; font-size: 22px; font-weight: 600; color: #000; }
.quote-legend:focus { outline: none; }
.quote-progress { margin-bottom: 28px; }
.quote-progress-text { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.quote-progress-text strong { color: #000; }
.quote-bar { height: 8px; border-radius: 8px; background: #eef1f8; overflow: hidden; }
.quote-bar span { display: block; height: 100%; background: var(--grad); transform: scaleX(var(--p, .25)); transform-origin: left; transition: transform var(--dur) var(--ease); }
.quote-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.contact-form .quote-service { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 20px 18px; border: 2px solid #e3e8f4; border-radius: 20px 6px 20px 6px; background: #fff; cursor: pointer; transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.quote-service input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.quote-service:hover { border-color: var(--cyan); box-shadow: var(--shadow-soft); }
.quote-service:has(:checked) { border-color: var(--cyan); background: var(--bg-blue); }
.quote-service:has(:focus-visible) { outline: 2px solid var(--violet); outline-offset: 3px; }
.quote-service-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #00bbd31f; color: var(--cyan); font-size: 20px; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.quote-service:has(:checked) .quote-service-icon { background: var(--cyan); color: #fff; }
.quote-service strong { font-size: 15.5px; color: #000; }
.quote-service small { font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--muted); }
.quote-group + .quote-group { margin-top: 32px; }
.quote-group-title { margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--cyan); }
.contact-form .quote-q { margin-bottom: 18px; }
.quote-q legend { margin-bottom: 8px; font-size: 14.5px; font-weight: 500; }
.quote-options { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-form .quote-option { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border: 2px solid #e3e8f4; border-radius: 12px; font-weight: 400; cursor: pointer; }
.quote-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--cyan); }
.quote-option:hover { border-color: var(--cyan); }
.quote-option:has(:checked) { border-color: var(--cyan); background: var(--bg-blue); }
.quote-live { margin: 8px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--bg-blue); }
.quote-live strong { color: var(--violet); }
.quote-summary { display: grid; grid-template-columns: minmax(140px, 40%) 1fr; gap: 10px 18px; margin: 0; padding: 20px 22px; border: 2px solid #e3e8f4; border-radius: 16px; }
.quote-summary dt { font-size: 14px; color: var(--muted); }
.quote-summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.quote-price { display: flex; flex-direction: column; gap: 4px; margin: 24px 0 12px; padding: 22px 24px; border-radius: 26px 6px 26px 6px; background: var(--grad); color: #fff; }
.quote-price span { font-size: 13px; letter-spacing: .6px; text-transform: uppercase; }
.quote-price strong { font-size: 30px; line-height: 1.2; }
.quote-price small { font-size: 13.5px; line-height: 1.5; }
.quote-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.quote.is-wizard .quote-step { display: none; margin: 0; }
.quote.is-wizard .quote-step.is-current { display: block; animation: quote-step-in var(--dur) var(--ease); }
.quote.is-wizard .quote-group[disabled] { display: none; }
@keyframes quote-step-in { from { opacity: 0; transform: translateY(12px); } }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); transition: transform var(--dur) var(--ease); }
a.contact-card:hover { transform: translateX(6px); }
.contact-card > .lnr, .contact-card > .fa-brands { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--bg-blue); color: var(--cyan); font-size: 22px; }
.contact-card.whatsapp > .fa-brands { color: #fff; background: var(--green); }
.contact-card strong { display: block; }
.map-facade { margin-top: 20px; padding: 30px; border-radius: 14px; background: var(--bg-soft); text-align: center; }
.map-facade iframe { width: 100%; height: 340px; border: 0; border-radius: 12px; }

/* ---------- Pie ---------- */
/* Pie: azul marino muy oscuro, cuatro columnas, franja de logos y créditos */
.site-footer { --footer-bg: #0a0b22; --footer-line: rgb(255 255 255 / 9%); --footer-muted: #b4bad6; background: var(--footer-bg); color: #fff; }
.footer-main { padding: 80px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.25fr; gap: 40px; align-items: start; }
.logo-footer { display: inline-flex; flex-direction: column; line-height: 1; color: #fff; }
.logo-footer .logo-title { font-size: 30px; color: #fff; }
.logo-footer .logo-sub { color: var(--footer-muted); }
.footer-brand { padding-top: 58px; }
.footer-claim { margin: 22px 0 18px; font-size: 17px; font-weight: 500; line-height: 1.5; }
.footer-nap { font-style: normal; font-size: 13.5px; font-weight: 300; line-height: 1.8; color: var(--footer-muted); }
.footer-nap a:hover { color: var(--cyan); }
.footer-title { position: relative; margin: 0 0 30px; padding-bottom: 12px; font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; border-radius: 3px; background: var(--cyan); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 5px 0; }
.footer-links a { position: relative; display: inline-block; padding-left: 20px; font-size: 15px; font-weight: 300; transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.footer-links a::before { content: '\e876'; font-family: 'Linearicons-Free'; position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 10px; font-weight: 700; color: var(--cyan); }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--cyan); transform: translateX(3px); }
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 34px; padding: 0; }
.footer-social a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 22%); color: var(--cyan); font-size: 21px; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.footer-social a i { transition: transform var(--dur-slow) var(--ease); }
.footer-social a:hover, .footer-social a:focus-visible { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.footer-social a:hover i { transform: rotate(360deg); }
.footer-newsletter-text { margin: -14px 0 18px; font-size: 15.5px; color: var(--footer-muted); }
.newsletter-field { position: relative; display: flex; align-items: center; padding: 6px; border-radius: 60px; background: #e9ecf5; }
.newsletter-field input { flex: 1; min-width: 0; height: 52px; padding: 0 16px 0 22px; border: 0; background: none; font: inherit; font-size: 15.5px; color: #111; }
.newsletter-field input::placeholder { color: #6b7280; }
.newsletter-field input:focus { outline: none; }
.newsletter-field:focus-within { box-shadow: 0 0 0 3px rgb(0 187 211 / 55%); }
.newsletter-field button { flex: 0 0 56px; height: 56px; border: 0; border-radius: 50%; background: var(--cyan); color: #fff; font-size: 19px; transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.newsletter-field button:hover, .newsletter-field button:focus-visible { background: var(--violet); transform: scale(1.05); }
.newsletter-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 13px; font-weight: 300; color: var(--footer-muted); }
.newsletter-consent input { margin-top: 3px; accent-color: var(--cyan); }
.newsletter-consent a { text-decoration: underline; }
.newsletter-msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; font-weight: 500; color: var(--green); }
.newsletter-msg.is-error { color: #ff8fb8; }
.newsletter-note { margin: 4px 0 0; font-size: 12.5px; color: var(--footer-muted); }
.pre-footer-box { border-top: 1px solid var(--footer-line); padding: 34px 0; }
.pre-footer-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 50px; margin: 0 auto; }
.pre-footer-row img { max-height: 46px; width: auto; filter: saturate(0%) brightness(0%) contrast(200%) invert(100%); opacity: .7; transition: opacity var(--dur) var(--ease); }
.pre-footer-row img:hover { opacity: 1; }
.footer-partners { border-top: 1px solid var(--footer-line); padding: 36px 0; }
.footer-partners-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 44px; margin: 0 auto; }
.footer-partners-row img { display: block; height: 56px; width: auto; max-width: 170px; object-fit: contain; opacity: .9; transition: opacity var(--dur) var(--ease); }
.footer-partners-row a:hover img { opacity: 1; }
.footer-box { position: relative; border-top: 1px solid var(--footer-line); color: #fff; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding-top: 28px; padding-bottom: 28px; }
.text-credit { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.8; }
.text-credit strong { font-weight: 600; }
.text-credit .sep { margin: 0 4px; color: var(--footer-muted); }
.text-credit a:hover, .text-credit .link-button:hover { color: var(--cyan); }
.text-credit .link-button { text-decoration: none; font-weight: 300; }
.footer-yoweb { display: inline-flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 600; letter-spacing: -.8px; }
.footer-yoweb:hover { color: var(--cyan); }
.footer-yoweb img { display: block; height: 36px; width: auto; }
.back-to-top { position: absolute; left: 50%; top: -21px; transform: translateX(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--footer-line); background: var(--footer-bg); color: #fafafa; font-size: 20px; opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease), background var(--dur) var(--ease); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--cyan); }

/* ---------- Botones flotantes ---------- */

/* ---------- Popup de salida ---------- */
.popupOverlay { position: fixed; inset: 0; z-index: 40; background: linear-gradient(90deg, #d53fd4ed 0%, #6945e8e6 100%); backdrop-filter: blur(.5rem); }
.popupOverlay-hide { display: none; }
.popup { position: fixed; left: 50%; top: 50%; z-index: 41; width: min(560px, 92vw); max-height: 92vh; overflow: auto; padding: 34px 28px 30px; border-radius: 16px; background: #fff; text-align: center; transform: translate(-50%, -50%); transition: transform var(--dur-slow) var(--ease); }
.popup-hide { transform: translate(-50%, -150vh); }
.popup_x { position: absolute; right: 10px; top: 10px; background: none; border: 0; font-size: 26px; }
.popup_title { font-size: 28px; font-weight: 600; letter-spacing: -1px; line-height: 1.2; margin: 6px 0 14px; }
.popup_title span { font-weight: 300; }
.imagen-popup-promo img { max-height: 160px; width: auto; }
.countdown { display: flex; justify-content: center; gap: 8px; margin: 16px 0; }
.countdown > div { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 74px; padding: 8px 4px; border-radius: 6px; border: 2px dotted #b26818; background: #ffd24436; font-size: 26px; font-weight: 600; line-height: 1.1; }
.countdown span { font-size: 12px; font-weight: 400; }
.popup_text { font-weight: 600; }

/* ---------- Banner de cookies ---------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; padding: 16px 20px; background: #fff; box-shadow: 0 -4px 30px rgb(103 151 255 / 18%); font-size: 14px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; max-width: 760px; }
.cookie-banner a { color: var(--violet); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }

/* ---------- Vídeo emergente ---------- */
.video-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .92); animation: fade-in .3s; }
.video-modal-inner { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; border: 5px solid #fff; border-radius: 6px; }
.video-modal iframe { width: 100%; height: 100%; border: 0; }
body.video-modal-open { overflow: hidden; } /* bloquea el scroll de la página con el vídeo abierto */
.video-modal-close { position: absolute; top: -18px; right: -18px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; font-size: 20px; line-height: 1; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Animaciones de aparición ---------- */
/* ---------- Botones flotantes (Funcionalidades): WhatsApp y llamada ---------- */
.whatsapp-container { position: fixed; bottom: 80px; right: 18px; z-index: 999; }
#whatsapp-button { position: relative; display: block; border-radius: 50%; }
#whatsapp-button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.whatsapp-container .cont-icon { display: block; color: #fff; font-size: 35px; line-height: 1; background: #49e670; padding: 10px 12px; border-radius: 100%; box-shadow: 0 1px 35px 0 rgba(32, 53, 90, .3); }
.cont-icon.is-waggling { animation: chaty-animation-waggle 1s ease-in-out; }
.whatsapp-notification { position: absolute; right: 0; top: -4px; width: 16px; height: 16px; text-align: center; background: red; color: #fff; font-size: 10px; line-height: 16px; border-radius: 50%; z-index: 1101; font-weight: bold; }
.whatsapp-bubble { position: absolute; right: 65px; bottom: 10px; display: flex; align-items: center; max-width: 300px; padding: 4px 21px 4px 6px; border-radius: 12px; background: #fff; color: #000; font-size: 14px; white-space: nowrap; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); pointer-events: none;
  opacity: 0; visibility: hidden; transform: translateX(6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur); }
.whatsapp-bubble.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.whatsapp-text { margin-right: 10px; margin-left: 5px; }
.whatsapp-image { width: 21px; height: 21px; }
.whatsapp-arrow { position: absolute; top: 50%; right: -6px; transform: translateY(-50%); width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 9px solid #fff; }
@keyframes chaty-animation-waggle { 0% { transform: rotateZ(0) scale(1); } 10%, 20%, 30% { transform: rotateZ(0) scale(1.1); } 40% { transform: rotateZ(20deg) scale(1.1); } 50% { transform: rotateZ(-20deg) scale(1.1); } 60% { transform: rotateZ(20deg) scale(1.1); } 70%, 80%, 90% { transform: rotateZ(0) scale(1.1); } 100% { transform: rotateZ(0) scale(1); } }
/* Modo «Con formulario»: ventanita junto al botón */
.whatsapp-panel { position: absolute; right: 0; bottom: 72px; width: min(330px, calc(100vw - 36px)); padding: 22px 20px 18px; border-radius: 18px 18px 4px 18px; background: #fff; color: var(--ink); box-shadow: 0 18px 50px rgb(16 24 64 / 22%); max-height: calc(100vh - 170px); overflow-y: auto; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
@starting-style { .whatsapp-panel { opacity: 0; transform: translateY(8px); } }
.whatsapp-panel-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg-soft); font-size: 14px; }
.whatsapp-panel-close:is(:hover, :focus-visible) { background: #e3e8f4; }
.whatsapp-panel-title { margin: 0 36px 4px 0; font-size: 16px; font-weight: 600; }
.whatsapp-panel-title .fa-whatsapp { color: #25a35a; }
.whatsapp-panel-text { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.whatsapp-panel label { display: block; margin-bottom: 10px; font-size: 13.5px; font-weight: 500; }
.whatsapp-panel :is(input[type="text"], input[type="tel"], textarea) { display: block; width: 100%; margin-top: 4px; padding: 9px 12px; border: 2px solid #e3e8f4; border-radius: 10px; font: inherit; font-size: 14.5px; resize: vertical; }
.whatsapp-panel :is(input, textarea):focus { outline: none; border-color: #49e670; }
.whatsapp-panel .whatsapp-consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.whatsapp-consent input { margin-top: 3px; accent-color: #25a35a; }
.whatsapp-consent a { text-decoration: underline; }
.whatsapp-form-error { min-height: 1.2em; margin: 0 0 8px; font-size: 13px; color: var(--pink); }
.whatsapp-submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; border: 0; border-radius: 50px; background: #25a35a; color: #fff; font: 600 15px 'Poppins', sans-serif; }
.whatsapp-submit:is(:hover, :focus-visible) { background: #1f8a4c; }
.call-button { position: fixed; right: 18px; bottom: 150px; z-index: 999; display: grid; place-items: center; width: 55px; height: 55px; border-radius: 50%; background: var(--cyan); color: #fff; font-size: 22px; box-shadow: 0 1px 35px 0 rgba(32, 53, 90, .3); }
.call-button:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
/* Que no tapen el aviso de cookies mientras está abierto */
body:has(.cookie-banner:not([hidden])) .whatsapp-container { bottom: 120px; }
body:has(.cookie-banner:not([hidden])) .call-button { bottom: 190px; }

/* ==========================================================================
   SISTEMA DE MOVIMIENTO (único para toda la web; documentado en CLAUDE.md)
   Solo se animan transform y opacity (rendimiento, CLS 0). Mismo efecto con
   :focus-visible. Sin movimiento con html.no-motion (abajo).
   ========================================================================== */

/* --- Base: todo lo clicable cambia de color, fondo, borde, sombra y opacidad con suavidad, al entrar y al salir.
   :where() = peso cero: cualquier componente con su propia transición la sustituye. --- */
:where(a, button, summary, label, input, select, textarea) { transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }

/* --- Hover: tarjeta que sube con sombra suave --- */
.hover-lift,
.service-card, .price-card, .holder, .port,
.circle-box, .team-card, .yw-team-card, .svc-feature, .testimonial.review-card, .service-tile, .benefit-card, .advantage { transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
:is(.hover-lift, .service-card, .price-card, .holder, .port, .circle-box, .team-card, .yw-team-card, .svc-feature, .testimonial.review-card, .service-tile, .benefit-card, .advantage):is(:hover, :focus-visible, :has(:focus-visible)) { transform: translateY(var(--lift)); box-shadow: var(--shadow-hover); }

/* --- Hover: transición de fondo y color --- */
.hover-bg { transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }

/* --- Hover: imagen con zoom suave dentro de su caja --- */
.hover-zoom, .port, .team-photo { overflow: hidden; }
:is(.hover-zoom, .port, .team-photo) img { transition: transform var(--dur-slow) var(--ease), filter var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease); }
:is(.hover-zoom, .port):is(:hover, :focus-visible) img { transform: scale(1.06); }

/* --- Hover: subrayado animado (crece de izquierda a derecha y se recoge al salir) --- */
.hover-underline { position: relative; }
.hover-underline::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--dur-fast) var(--ease); }
.hover-underline:is(:hover, :focus-visible)::after { transform: scaleX(1); transform-origin: left; }

/* --- Hover: icono que se desplaza un poco --- */
.hover-icon :is(.lnr, i) { display: inline-block; transition: transform var(--dur-fast) var(--ease); }
.hover-icon:is(:hover, :focus-visible) :is(.lnr, i) { transform: translateX(4px); }

/* --- Aparición al hacer scroll (una sola vez por elemento) ---
   Clases: .reveal-up, .reveal-down, .reveal-left, .reveal-right, .reveal-fade
   Alias antiguos que siguen funcionando: .reveal (= up), .reveal.from-left, .reveal.from-right, .reveal.zoom
   Retardo escalonado: data-delay="120" (ms) o style="--d:120ms". Solo se oculta si hay JavaScript (.js). */
.js :is(.reveal, .reveal-up, .reveal-down, .reveal-left, .reveal-right, .reveal-fade) { opacity: 0; transition: opacity var(--dur-slow) var(--ease) var(--d, 0ms), transform var(--dur-slow) var(--ease) var(--d, 0ms), box-shadow var(--dur-fast) var(--ease); }
.js :is(.reveal, .reveal-up) { transform: translateY(24px); }
.js .reveal-down { transform: translateY(-24px); }
.js :is(.reveal-left, .reveal.from-left) { transform: translateX(-40px); }
.js :is(.reveal-right, .reveal.from-right) { transform: translateX(40px); }
.js .reveal.zoom { transform: scale(.94); }
.js :is(.reveal, .reveal-up, .reveal-down, .reveal-left, .reveal-right, .reveal-fade).in { opacity: 1; transform: none; }
/* Hero: aparece al cargar con CSS, sin esperar al JavaScript (no retrasa el LCP) */
.js .hero .reveal { opacity: 1; transform: none; animation: rp-reveal-up var(--dur-slow) var(--ease) both; animation-delay: var(--d, 0ms); }
.hero .hero-title.reveal { --d: 80ms; } .hero .hero-text.reveal { --d: 160ms; } .hero .hero-ctas.reveal { --d: 240ms; }
@keyframes rp-reveal-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* --- Sin movimiento: <html class="no-motion">. La pone el <head> si el visitante tiene «Reducir movimiento»
   o si se apagan las animaciones en /admin → Funcionalidades. Se paran las animaciones automáticas (bucles y
   apariciones al hacer scroll).
   REGLA FIJA de Nauzet: las TRANSICIONES (hover y todo lo que provoca el visitante: zoom, subir, onda de los
   botones, subrayado, menú, acordeones) funcionan SIEMPRE, suaves, también con «Reducir movimiento».
   Excepciones con animación: menú y acordeones (:where() deja la especificidad como .no-motion *). --- */
.no-motion :where(:not(.sub-toggle, .mega, .mega-col, .acc-panel, .acc-icon)), .no-motion :where(:not(.acc-icon))::before, .no-motion :where(:not(.acc-icon))::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
html.no-motion { scroll-behavior: auto; }
html.no-motion .cont-icon.is-waggling { animation-duration: 1s !important; } /* el botón de WhatsApp conserva su waggle */
html.no-motion .scroll-btn .mouse > * { animation-duration: 2.5s !important; animation-iteration-count: infinite !important; } /* y el ratón del hero, su gota */
html.no-motion :is(.reveal, .reveal-up, .reveal-down, .reveal-left, .reveal-right, .reveal-fade), .no-motion .hero .reveal { opacity: 1; transform: none; animation: none; }


/* ---------- Firma de diseño (tomada de tus temas de Blogger) ---------- */
/* Letra manuscrita girada */
.caveat-font { font-family: var(--font-note); font-size: 30px; font-weight: 400; color: #666; transform: rotate(-6deg); display: inline-block; margin: 0 0 18px; line-height: 1.1; }
.caveat-white { color: #fff; }
.price-card .caveat-font { color: var(--pink); font-size: 26px; margin: 0 0 10px; }
/* Separador corto bajo los títulos */
.title-black .section-title::after, .title-white .section-title::after { content: ''; display: block; width: 46px; height: 3px; margin: 16px auto 0; border-radius: 3px; background: var(--cyan); }
.title-white .section-title::after { background: #fff; }
/* Bloques con fondo fijo (parallax) */
.parallax-box { position: relative; overflow: hidden; background: #1b0d4a no-repeat center / cover fixed; color: #fff; }
.parallax-box::before { content: ''; position: absolute; inset: 0; background-color: rgba(7, 9, 21, .55); }
.parallax-box > .row { position: relative; z-index: 1; }
.counter-box { padding: 70px 0; }
.counter-box::before { background: linear-gradient(90deg, #d53fd4d9, #6945e8d9); }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.counter-number { font-size: 50px; font-weight: 700; line-height: 1; margin: 0 0 10px; letter-spacing: -1px; }
.counter-label { margin: 0; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
/* Tarjetas con esquinas asimétricas (fancy box) */
.holder { border-radius: 8px 25px 8px 25px; }
.service-page .holder { border-radius: 25px 8px 25px 8px; }
/* Precios: pestaña de plan recomendado, precio tachado y burbuja que gira */
.plan-box-recommended { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 3px 18px 5px; border-radius: 0 0 8px 8px; background: #64cdff; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.price-card.featured { padding-top: 54px; }
.price-old { margin: 0; color: var(--muted); text-decoration: line-through; font-size: 17px; }
.discount-bubble { position: absolute; top: 18px; right: 18px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: #fff; font-size: 15px; font-weight: 700; transition: transform var(--dur-slow) var(--ease); }
.price-card:hover .discount-bubble { transform: rotate(360deg); }
@media (hover: none), (max-width: 1024px) { .parallax-box { background-attachment: scroll; } }
@media (max-width: 760px) { .counters { grid-template-columns: 1fr 1fr; gap: 34px 10px; } .counter-number { font-size: 40px; } }


/* Portfolio: rejilla con capa de color al pasar el ratón (como en tus temas) */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-bottom: 30px; }
.port { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow); background: var(--bg-blue); }
.port img { width: 100%; height: 100%; object-fit: cover; }
.port-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; color: #fff; background: linear-gradient(135deg, #d53fd4eb, #6945e8eb); opacity: 0; transition: opacity var(--dur) var(--ease); }
.port:hover .port-overlay, .port:focus-visible .port-overlay { opacity: 1; }
.port-sector { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; }
.port-name { font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: -.3px; line-height: 1.2; transform: translateY(10px); transition: transform var(--dur) var(--ease); }
.port:is(:hover, :focus-visible) .port-name { transform: none; }
.port-more { font-size: 30px; margin-top: 8px; transform: rotate(-90deg); transition: transform var(--dur-slow) var(--ease); }
.port:is(:hover, :focus-visible) .port-more { transform: none; }
.project-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(20, 8, 60, .85); backdrop-filter: blur(6px); animation: fade-in .3s; }
.project-modal-inner { position: relative; width: min(980px, 100%); max-height: 90vh; overflow: auto; padding: 34px; border-radius: 18px; background: #fff; animation: pop-in var(--dur) var(--ease); }
.project-modal-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; align-items: start; }
.project-modal-grid img, .project-image { border-radius: 14px; width: 100%; }
.project-modal-grid h3 { font-size: 17px; margin: 18px 0 4px; }
.project-modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-blue); font-size: 22px; line-height: 1; }
.project-modal-close:hover { background: var(--pink); color: #fff; }
@keyframes pop-in { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .project-modal-grid { grid-template-columns: 1fr; } .project-modal-inner { padding: 24px 18px; } .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .port-name { font-size: 15px; } .port-overlay { opacity: 1; background: linear-gradient(180deg, transparent 40%, #6945e8e6); justify-content: flex-end; } .port-sector, .port-more { display: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .site-header { padding: 0 20px; }
  .menu > li > a { padding-left: 9px; padding-right: 9px; font-size: 14.5px; }
  .btn-head { padding: 0 22px; }
  .mega-inner { grid-template-columns: 1fr 250px; gap: 10px 24px; padding: 28px 20px 0; }
  .mega-groups { gap: 6px 12px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .burger { display: block; z-index: 2; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); flex-direction: column; align-items: stretch; gap: 0; padding: 90px 20px 30px; background: #fff; box-shadow: -10px 0 40px rgb(0 0 0 / 15%); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease); z-index: 1; }
  .main-nav.open { transform: none; visibility: visible; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { z-index: 45; }
  body.menu-open .logo { position: relative; z-index: 2; }
  body.menu-open .home .logo, body.home.menu-open .logo, body.home.menu-open .logo-title span { color: #000; }
  body.home.menu-open .logo-title span { color: var(--cyan); }
  body.menu-open::after { content: ''; position: fixed; inset: 0; background: rgb(0 0 0 / 40%); z-index: 29; }
  .menu { flex-direction: column; align-items: stretch; }
  .menu > li { flex-wrap: wrap; border-bottom: 1px solid #eef1f8; }
  .menu > li > a, .home .site-header:not(.scrolled) .main-nav .menu > li > a { flex: 1; padding: 15px 6px; font-size: 16.5px; color: #000; }
  .menu > li > a:is(:hover, :focus-visible, [aria-current="page"]), .home .site-header:not(.scrolled) .main-nav .menu > li > a:is(:hover, :focus-visible, [aria-current="page"]) { color: var(--cyan); }
  .menu > li > a:focus-visible { outline-offset: -4px; }
  .sub-toggle, .home .site-header:not(.scrolled) .main-nav .sub-toggle { margin: 0; width: 44px; height: 44px; border-radius: 50%; color: #000; font-size: 14px; }
  .sub-toggle[aria-expanded="true"], .has-mega:is(:hover, :focus-within) > .sub-toggle { transform: none; } /* en móvil no gira el botón: cambia el +/− */
  .sub-toggle .lnr { display: none; }
  .sub-toggle .acc-icon { display: block; --acc-size: 26px; }
  .has-mega.is-open > .sub-toggle { background: var(--bg-blue); }
  /* Acordeón (mismo botón y JS que motion.css; en escritorio este panel es el megamenú, por eso sus reglas van aquí) */
  .mega, .has-mega:is(:hover, :focus-within) > .mega { position: static; display: grid; grid-template-rows: 0fr; width: 100%; max-height: none; opacity: 0; visibility: hidden; transform: none; overflow: hidden; background: none; border: 0; border-radius: 0; box-shadow: none; transition: grid-template-rows var(--dur) var(--ease), opacity var(--dur) var(--ease), visibility 0s linear var(--dur); }
  .has-mega.is-open > .mega { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
  .mega::before { display: none; }
  .mega-inner { display: block; min-height: 0; max-width: none; padding: 0; } /* sin relleno: con él, el acordeón cerrado no llega a 0 */
  .mega-groups { display: block; }
  .mega-title { display: none; }
  /* Submenús desplegables por grupo dentro del acordeón */
  .mega-group { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 10px 12px 14px; border: 0; border-radius: 12px; background: none; font: 600 14.5px/1.3 'Poppins', sans-serif; color: #000; text-align: left; --acc-size: 24px; }
  .mega-col.is-open .mega-group { background: var(--bg-blue); color: var(--cyan); }
  .mega-col { display: grid; grid-template-rows: auto 0fr; transition: grid-template-rows var(--dur) var(--ease); }
  .mega-col.is-open { grid-template-rows: auto 1fr; }
  .mega-col ul { min-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur); }
  .mega-col.is-open ul { opacity: 1; visibility: inherit; transition-delay: 0s; } /* inherit: si el megamenú se cierra, se ocultan también */
  .mega-col a { padding: 9px 6px 9px 12px; }
  .mega-icon { flex-basis: 38px; height: 38px; font-size: 16px; border-radius: 11px; }
  .mega-text strong { font-size: 14.5px; }
  .mega-text small { font-size: 12.5px; }
  .mega-cta { margin-top: 12px; padding: 20px; border-radius: 20px 6px 20px 6px; }
  .mega-cta .mega-cta-note { font-size: 24px; }
  .mega-cta .mega-cta-title { font-size: 17px; }
  .mega-foot { display: block; margin: 0; padding: 14px 6px 16px; border: 0; }
  .mega-audit { display: none; }
  .btn-head, .home .site-header:not(.scrolled) .btn-head { margin-top: 24px; justify-content: center; height: 54px; background: var(--cyan); border-color: var(--cyan); }
  .contacto-menu { display: flex; justify-content: center; list-style: none; margin: 18px 0 0; padding: 0; }
  .contacto-menu a { display: block; padding: 8px 34px; color: #fff; font-size: 19px; }
  .list-contacto-mail a { background: var(--violet); border-radius: 20px 0 0 20px; border-right: 1px solid #fff; }
  .list-contacto-phone a { background: var(--green); border-radius: 0 20px 20px 0; }
  .two-cols { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px 30px; }
  .footer-brand { padding-top: 0; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner .btn-group { justify-content: center; }
}

@media (max-width: 760px) {
  .notification-bar { flex-wrap: wrap; gap: 8px 12px; padding: 10px 40px 12px; text-align: center; }
  .notification-bar__message br { display: none; }
  .countdowntop > div { min-width: 46px; height: 36px; font-size: 14px; }
  .notification-bar__message { font-size: 13.5px; flex-basis: 100%; }
  .btn-promo-top { height: 34px; padding: 0 16px; font-size: 13px; }
  .box-white, .box-gris, .marketing-box, .yw-box-popular-post { padding: 60px 0; }
  .title-black, .title-white { margin-bottom: 34px; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-services { grid-template-columns: 1fr 1fr; gap: 10px; }
  .contact-form .quote-service { padding: 16px 14px; }
  .quote-summary { grid-template-columns: 1fr; gap: 2px; }
  .quote-summary dd + dt { margin-top: 10px; }
  .quote-nav .btn { flex: 1; justify-content: center; }
  .popup_title { font-size: 23px; }
  .countdown > div { min-width: 60px; font-size: 21px; }
  .footer-main { padding: 60px 0 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-title { margin-bottom: 18px; }
  .footer-links li { padding: 7px 0; }
  .footer-partners-row { gap: 22px 30px; }
  .footer-partners-row img { height: 44px; max-width: 130px; }
  .footer-row { flex-direction: column; text-align: center; padding-bottom: 90px; }
  .text-credit { font-size: 14px; }
  body:has(.cookie-banner:not([hidden])) .whatsapp-container { bottom: 200px; }
  .whatsapp-panel { position: fixed; left: 12px; right: 12px; bottom: 90px; width: auto; max-height: calc(100vh - 110px); border-radius: 18px; }
  body:has(.cookie-banner:not([hidden])) .call-button { bottom: 270px; }
  .btn-big { height: 54px; padding: 0 32px; font-size: 16px; }
  .logo-title { font-size: 25px; }
  .logo-sub { font-size: 11px; }
  .hero { min-height: 560px; }
}

@media (max-width: 420px) {
  .btn { padding: 0 24px; }
  .hero-ctas .btn, .page-hero-ctas .btn { width: 100%; }
}

/* La home con promo: el header fijo se coloca debajo de la barra solo en escritorio */
@media (min-width: 761px) {
  .home.promo-closed .site-header { top: 0; }
}
