/*
 Theme Name:   CompuTux Child
 Theme URI:    https://computux.mx
 Description:  Child theme de Astra para CompuTux — TI en Evolución
 Author:       Germán Jiménez Leal
 Author URI:   https://computux.mx
 Template:     astra
 Version:      2.26.4
 Text Domain:  computux-child
*/

/* ============ VARIABLES ============ */
:root {
  --ctx-orange: #ff6600;
  --ctx-orange-dark: #e05a00;
  --ctx-navy: #1a1a2e;
  --ctx-dark: #121215;
  --ctx-dark-2: #1c1c20;
  --ctx-light: #f3f3f1;
  --ctx-white: #ffffff;
  --ctx-ink: #111111;
  --ctx-gray: #b4b4b8;
  --ctx-gray-dark: #5d5d63;
  --ctx-font: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ctx-font-heading: 'Roboto Condensed', 'Arial Narrow', var(--ctx-font);
  --ctx-font-cond: 'Roboto Condensed', 'Arial Narrow', var(--ctx-font);
  --ctx-wrap: 1260px;
  --ctx-ease: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============ BASE + AJUSTES DE ASTRA ============ */
html { scroll-behavior: smooth; }
body {
  background-color: var(--ctx-dark) !important;
  color: var(--ctx-white);
  font-family: var(--ctx-font);
  line-height: 1.7;
  overflow-x: hidden;
}
[id] { scroll-margin-top: 40px; }

.ast-container, .site-content .ast-container { max-width: 100% !important; padding: 0 !important; }
#primary { margin: 0 !important; padding: 0 !important; width: 100% !important; }
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post { padding: 0 !important; background: transparent !important; }
.entry-content > * { max-width: 100% !important; }
.entry-content { margin: 0 !important; }

.ast-primary-header-bar, .ast-above-header, .ast-below-header, #ast-desktop-header,
.ast-mobile-header-wrap, header.site-header,
.ast-footer-overlay, .site-footer, footer.site-footer, .ast-small-footer,
.entry-header, .entry-title { display: none !important; }

.entry-content a, .ctx-footer a, .ctx-menu-overlay a, .ctx-navbar a, .ctx-whatsapp { text-decoration: none !important; }

/* ============ HEADER (hamburguesa a la izquierda + logo) ============ */
.ctx-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 26px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: background var(--ctx-ease), padding var(--ctx-ease), transform 0.35s ease;
}
.ctx-navbar.scrolled { background: rgba(18, 18, 21, 0.96); padding-top: 14px; padding-bottom: 14px; }
.ctx-navbar.ctx-navbar--hidden { transform: translateY(-100%); }
.admin-bar .ctx-navbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .ctx-navbar { top: 46px; } }

.ctx-navbar__logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--ctx-white) !important;
  font-family: var(--ctx-font-cond);
  font-size: 2rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1;
}
.ctx-navbar__logo img { height: 40px; width: auto; }
.ctx-navbar__logo .highlight { color: var(--ctx-orange); }

.ctx-hamburger {
  background: none !important; border: 0; padding: 4px; margin: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ctx-white) !important; box-shadow: none !important;
}
.ctx-hamburger__lines { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; width: 35px; }
.ctx-hamburger__lines span {
  display: block; height: 2px; background: var(--ctx-white);
  transition: transform 0.2s ease-in-out, width 0.15s ease-in-out, opacity 0.2s;
}
.ctx-hamburger__lines span:nth-child(1) { width: 35px; }
.ctx-hamburger__lines span:nth-child(2) { width: 22px; }
.ctx-hamburger__lines span:nth-child(3) { width: 26px; }
.ctx-hamburger:hover .ctx-hamburger__lines span { width: 35px; }
.ctx-hamburger.active .ctx-hamburger__lines span { width: 30px; }
.ctx-hamburger.active .ctx-hamburger__lines span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.ctx-hamburger.active .ctx-hamburger__lines span:nth-child(2) { opacity: 0; }
.ctx-hamburger.active .ctx-hamburger__lines span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.ctx-hamburger__label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.ctx-hamburger:focus-visible { outline: 2px solid var(--ctx-orange); outline-offset: 4px; }

body.ctx-menu-open { overflow: hidden; }
body.ctx-menu-open .ctx-navbar { z-index: 10002; background: transparent; transform: none; }

/* ============ MENÚ A PANTALLA COMPLETA ============ */
.ctx-menu-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(20, 20, 20, 0.96);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 10vw 60px;
  transform: translateX(-100%); visibility: hidden;
  transition: transform var(--ctx-ease), visibility 0s linear 0.4s;
}
.ctx-menu-overlay.active { transform: translateX(0); visibility: visible; transition: transform var(--ctx-ease), visibility 0s; }
.ctx-menu-overlay nav a {
  display: block; padding: 10px 0;
  color: var(--ctx-white) !important;
  font-family: var(--ctx-font-cond); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.2;
  opacity: 0; transform: translateX(-24px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
}
.ctx-menu-overlay.active nav a { opacity: 1; transform: none; }
.ctx-menu-overlay.active nav a:nth-child(1) { transition-delay: 0.10s; }
.ctx-menu-overlay.active nav a:nth-child(2) { transition-delay: 0.16s; }
.ctx-menu-overlay.active nav a:nth-child(3) { transition-delay: 0.22s; }
.ctx-menu-overlay.active nav a:nth-child(4) { transition-delay: 0.28s; }
.ctx-menu-overlay.active nav a:nth-child(5) { transition-delay: 0.34s; }
.ctx-menu-overlay.active nav a:nth-child(6) { transition-delay: 0.40s; }
.ctx-menu-overlay nav a:hover { color: var(--ctx-orange) !important; }
.ctx-menu-overlay__contact { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); max-width: 420px; }
.ctx-menu-overlay__contact a { color: var(--ctx-orange) !important; font-size: 1.2rem; font-weight: 600; }
.ctx-menu-overlay__contact p { color: var(--ctx-gray); margin: 4px 0 0; }

/* ============ PIEZAS COMUNES ============ */
[class^="ctx-"], [class*=" ctx-"], [class^="ctx-"] *, [class*=" ctx-"] * { box-sizing: border-box; }
.ctx-wrap { max-width: var(--ctx-wrap); margin: 0 auto; width: 100%; }
.ctx-band { padding: 110px 40px; }
.ctx-band--dark { background: var(--ctx-dark-2); }
.ctx-band--light { background: var(--ctx-white); color: var(--ctx-ink); }

.ctx-label {
  display: block; margin: 0 0 18px;
  color: var(--ctx-orange); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.ctx-label--dash { display: flex; align-items: center; gap: 14px; color: var(--ctx-white); }
.ctx-label--dash::before { content: ''; width: 28px; height: 3px; background: var(--ctx-orange); }

.ctx-h1, .ctx-h2 {
  font-family: var(--ctx-font-heading) !important; font-weight: 700 !important;
  letter-spacing: -0.04em; margin: 0 0 24px;
}
.ctx-h1 { font-size: clamp(2.5rem, 5.6vw, 4.7rem); line-height: 1.02; color: var(--ctx-white) !important; }
.ctx-h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); line-height: 1.06; color: var(--ctx-white) !important; }
.ctx-band--light .ctx-h2 { color: var(--ctx-ink) !important; }
.ctx-h1 .accent, .ctx-h2 .accent { color: var(--ctx-orange); }
.ctx-lead { color: var(--ctx-gray); font-size: 1.2rem; line-height: 1.6; margin: 0 0 28px; max-width: 640px; }

.ctx-head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.ctx-head .ctx-lead { margin-left: auto; margin-right: auto; }
.ctx-head::after { content: ''; display: block; width: 85px; height: 3px; background: var(--ctx-ink); margin: 28px auto 0; }
.ctx-band--dark .ctx-head::after { background: var(--ctx-white); }

.ctx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ctx-orange) !important; color: var(--ctx-ink) !important;
  font-family: var(--ctx-font); font-size: 1rem; font-weight: 700; line-height: 1.2;
  transition: background 0.2s, transform 0.2s;
}
.ctx-btn::after { content: '↗'; font-weight: 400; }
.ctx-btn:hover { background: var(--ctx-orange-dark) !important; transform: translateY(-2px); }
.ctx-btn--white { background: var(--ctx-white) !important; }
.ctx-btn--white:hover { background: var(--ctx-light) !important; }
.ctx-btn--ghost { background: transparent !important; color: var(--ctx-white) !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.3); }
.ctx-btn--ghost:hover { background: rgba(255,255,255,0.08) !important; }
.ctx-btn--block { width: 100%; }

/* ============ HERO: titular a la izquierda, formulario a la derecha ============ */
.ctx-hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  padding: 150px 40px 90px; background: var(--ctx-dark);
}
.ctx-hero__bg { position: absolute; inset: 0; background: radial-gradient(circle at 75% 35%, #2a2a48 0%, var(--ctx-navy) 35%, var(--ctx-dark) 75%); }
.ctx-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ctx-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,21,0.94) 0%, rgba(18,18,21,0.72) 55%, rgba(18,18,21,0.55) 100%); }
.ctx-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; align-items: center;
}
.ctx-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; padding: 0; list-style: none; }
.ctx-pills li { border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; padding: 8px 16px; font-size: 0.85rem; color: var(--ctx-white); }

.ctx-formcard { background: var(--ctx-white); color: var(--ctx-ink); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.ctx-formcard__head { background: var(--ctx-light); padding: 32px 32px 26px; border-bottom: 1px solid #e3e3e0; }
.ctx-formcard__head .ctx-label { margin-bottom: 10px; font-size: 0.7rem; }
.ctx-formcard__title { font-family: var(--ctx-font-heading) !important; font-weight: 700 !important; font-size: 1.6rem !important; line-height: 1.15; letter-spacing: -0.03em; color: var(--ctx-ink) !important; margin: 0 0 10px; }
.ctx-formcard__head p { color: var(--ctx-gray-dark); font-size: 0.9rem; margin: 0; }
.ctx-form { padding: 28px 32px 30px; }
.ctx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ctx-form label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--ctx-ink); margin-bottom: 6px; }
.ctx-form input, .ctx-form select, .ctx-form textarea {
  width: 100%; height: auto; margin: 0 0 16px;
  background: var(--ctx-white) !important; color: var(--ctx-ink) !important;
  border: 1px solid #d9d9d6 !important; border-radius: 10px !important;
  padding: 12px 14px !important; font-family: var(--ctx-font); font-size: 0.95rem;
}
.ctx-form input:focus, .ctx-form select:focus, .ctx-form textarea:focus { outline: none; border-color: var(--ctx-orange) !important; }
.ctx-form textarea { min-height: 86px; resize: vertical; }
.ctx-form__note { color: var(--ctx-gray-dark); font-size: 0.75rem; text-align: center; margin: 14px 0 0; }

/* ============ FRANJA DE 4 COLUMNAS ============ */
.ctx-strip { background: var(--ctx-white); color: var(--ctx-ink); padding: 0 40px; border-bottom: 1px solid #e6e6e3; }
.ctx-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ctx-strip__item { padding: 44px 28px; border-left: 1px solid #e6e6e3; }
.ctx-strip__item:first-child { border-left: 0; padding-left: 0; }
.ctx-strip__item .ctx-label { font-size: 0.68rem; margin-bottom: 12px; }
.ctx-strip__item h3 { font-family: var(--ctx-font-heading) !important; font-weight: 500 !important; font-size: 1.35rem !important; line-height: 1.3; color: var(--ctx-ink) !important; margin: 0 0 10px; }
.ctx-strip__item p { color: var(--ctx-gray-dark); font-size: 0.88rem; margin: 0; }

/* ============ SERVICIOS: imagen detrás + tarjeta clara encimada ============ */
.ctx-tours { display: grid; grid-template-columns: 1fr 1fr; row-gap: 90px; max-width: 1150px; margin: 0 auto; }
.ctx-tour { position: relative; padding-top: 115px; display: flex; }
.ctx-tour:nth-child(even) { justify-content: flex-end; }
.ctx-tour__media {
  position: absolute; top: 0; width: 80%; height: 400px; overflow: hidden;
  background: linear-gradient(160deg, #2a2a48, var(--ctx-navy));
  display: flex; justify-content: center; align-items: flex-start; padding-top: 22px;
}
.ctx-tour:nth-child(odd) .ctx-tour__media { right: 1px; }
.ctx-tour:nth-child(even) .ctx-tour__media { left: 1px; }
.ctx-tour__media svg { width: 70px; height: 70px; color: var(--ctx-orange); stroke: var(--ctx-orange); }
.ctx-tour__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ctx-tour__card { position: relative; width: 80%; background: rgba(238, 238, 238, 0.94); color: var(--ctx-ink); padding: 50px; }
.ctx-tour__title { font-family: var(--ctx-font-cond) !important; font-weight: 700 !important; font-size: 2.1rem !important; line-height: 1.15; text-transform: uppercase; color: var(--ctx-ink) !important; margin: 0; }
.ctx-tour__title::after { content: ''; display: block; width: 85px; height: 4px; background: var(--ctx-ink); margin: 26px 0; }
.ctx-tour__card p { color: #2c2c2c; font-size: 1.08rem; line-height: 1.75; margin: 0 0 28px; }
.ctx-tour__link { color: var(--ctx-gray-dark) !important; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.ctx-tour__link:hover { color: var(--ctx-orange) !important; }

/* ============ BLOQUE PARTIDO: imagen a la izquierda, pasos a la derecha ============ */
.ctx-split { display: grid; grid-template-columns: 1fr 1fr; background: #131316; min-height: 660px; }
.ctx-split__media { position: relative; min-height: 380px; background: linear-gradient(135deg, #34345a, var(--ctx-navy) 60%, #131316); }
.ctx-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ctx-split__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 65%, #131316 100%); }
.ctx-badge { position: absolute; left: 32px; bottom: 32px; z-index: 1; background: rgba(28,28,32,0.94); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 18px 22px; }
.ctx-badge span { display: block; color: var(--ctx-orange); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
.ctx-badge strong { display: block; color: var(--ctx-white); font-size: 1.2rem; }
.ctx-badge small { color: var(--ctx-gray); }
.ctx-split__body { padding: 90px 8% 90px 7%; align-self: center; }
.ctx-rows { margin-top: 36px; }
.ctx-row { display: grid; grid-template-columns: 56px 1fr; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.ctx-row__num { color: var(--ctx-orange); font-weight: 700; font-size: 0.9rem; padding-top: 3px; }
.ctx-row h3 { font-family: var(--ctx-font-heading) !important; font-weight: 600 !important; font-size: 1.12rem !important; color: var(--ctx-white) !important; margin: 0 0 6px; }
.ctx-row p { color: var(--ctx-gray); margin: 0; }

/* ============ ¿ES PARA SU NEGOCIO? ============ */
.ctx-fit { background: linear-gradient(120deg, #15151a 0%, var(--ctx-navy) 100%); }
.ctx-fit__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.ctx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ctx-checks li { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; background: rgba(255,255,255,0.03); color: var(--ctx-gray); }
.ctx-checks li::before { content: '✓'; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--ctx-orange); color: var(--ctx-ink); font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.ctx-checks strong { color: var(--ctx-white); }

/* ============ PREGUNTAS FRECUENTES ============ */
.ctx-faq__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.ctx-faq details { border-bottom: 1px solid #e3e3e0; }
.ctx-faq details:first-child { border-top: 1px solid #e3e3e0; }
.ctx-faq summary { cursor: pointer; list-style: none; position: relative; padding: 26px 44px 26px 0; font-weight: 700; font-size: 1.1rem; color: var(--ctx-ink); }
.ctx-faq summary::-webkit-details-marker { display: none; }
.ctx-faq summary::after { content: '+'; position: absolute; right: 4px; top: 20px; font-size: 1.5rem; font-weight: 700; color: var(--ctx-orange); }
.ctx-faq details[open] summary::after { content: '–'; }
.ctx-faq details p { color: var(--ctx-gray-dark); margin: 0; padding: 0 44px 26px 0; }

/* ============ LLAMADO FINAL ============ */
.ctx-final { background: #151515; text-align: center; padding: 130px 40px; }
.ctx-final .ctx-h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 980px; margin: 0 auto 40px; }
.ctx-final__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER claro, 3 columnas ============ */
.ctx-footer { background: var(--ctx-white); color: var(--ctx-ink); }
.ctx-footer__grid { max-width: 1150px; margin: 0 auto; padding: 70px 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.ctx-footer__heading { font-family: var(--ctx-font-cond); font-size: 1.5rem; font-weight: 400; color: var(--ctx-ink); margin: 0 0 40px; }
.ctx-footer__heading::after { content: ''; display: block; width: 85px; height: 2px; background: var(--ctx-ink); margin-top: 22px; }
.ctx-footer__list { list-style: none; margin: 0; padding: 0; font-size: 1.1rem; }
.ctx-footer__list li { margin-bottom: 8px; }
.ctx-footer__list a { color: var(--ctx-gray-dark) !important; }
.ctx-footer__list a:hover { color: var(--ctx-orange) !important; }
.ctx-footer__qr img { width: 170px; height: 170px; display: block; border: 1px solid #e3e3e0; padding: 6px; background: #fff; }
.ctx-footer__qr p { font-size: 0.9rem; color: var(--ctx-gray-dark); margin: 12px 0 0; }
.ctx-footer__qr a { color: var(--ctx-orange-dark) !important; font-weight: 600; }
.ctx-footer__social { background: var(--ctx-light); text-align: center; padding: 26px 40px; display: flex; justify-content: center; gap: 36px; }
.ctx-footer__social a { color: var(--ctx-ink) !important; font-weight: 600; }
.ctx-footer__bottom { text-align: center; padding: 22px 40px; font-size: 0.78rem; color: var(--ctx-gray-dark); }

/* ============ WHATSAPP FLOTANTE ============ */
.ctx-whatsapp { position: fixed; bottom: 24px; right: 24px; z-index: 9998; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform 0.3s; }
.ctx-whatsapp:hover { transform: scale(1.1); }
.ctx-whatsapp svg { width: 32px; height: 32px; fill: #fff; }

/* ============ APARICIÓN AL HACER SCROLL ============ */
.ctx-reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.ctx-reveal.visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .ctx-hero__grid, .ctx-fit__grid, .ctx-faq__grid, .ctx-split { grid-template-columns: 1fr; gap: 48px; }
  .ctx-split { gap: 0; }
  .ctx-split__media::after { background: linear-gradient(180deg, transparent 60%, #131316 100%); }
  .ctx-strip__grid { grid-template-columns: 1fr 1fr; }
  .ctx-strip__item, .ctx-strip__item:first-child { padding: 30px 20px; border-left: 0; border-top: 1px solid #e6e6e3; }
  .ctx-tours { grid-template-columns: 1fr; row-gap: 60px; }
  .ctx-tour, .ctx-tour:nth-child(even) { justify-content: flex-start; padding-top: 110px; }
  .ctx-tour:nth-child(odd) .ctx-tour__media, .ctx-tour:nth-child(even) .ctx-tour__media { left: auto; right: 0; width: 90%; }
  .ctx-tour__card { width: 90%; padding: 36px 28px; }
  .ctx-footer__grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 600px) {
  .ctx-navbar { padding: 18px 20px; gap: 18px; }
  .ctx-navbar__logo { font-size: 1.5rem; }
  .ctx-band, .ctx-final { padding: 70px 20px; }
  .ctx-hero { padding: 120px 20px 60px; }
  .ctx-strip { padding: 0 20px; }
  .ctx-strip__grid, .ctx-form__row { grid-template-columns: 1fr; }
  .ctx-form__row { gap: 0; }
  .ctx-split__body { padding: 60px 20px; }
  .ctx-tour__title { font-size: 1.7rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ctx-reveal { opacity: 1; transform: none; transition: none; }
  .ctx-menu-overlay, .ctx-navbar { transition: none; }
}

/* ============ v2.1 — TIPOGRAFÍA Y HERO AL ESTILO PERENNIAL ============ */
body { font-size: 1.125rem; line-height: 1.8; }
.ctx-h1, .ctx-h2, .ctx-formcard__title, .ctx-strip__item h3, .ctx-row h3 {
  text-transform: uppercase; letter-spacing: 0.01em; font-weight: 700 !important;
}
.ctx-h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.12; }
.ctx-h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.15; }
.ctx-final .ctx-h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.ctx-strip__item h3 { font-size: 1.5rem !important; }
.ctx-lead { font-size: 1.2rem; line-height: 1.7; }

/* Hero: imagen a pantalla completa, título centrado y raya blanca */
.ctx-hero { text-align: center; padding: 140px 5% 100px; }
.ctx-hero__bg::after { background: rgba(0, 0, 0, 0.35); }
.ctx-hero__center { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.ctx-hero__center .ctx-h1::after { content: ''; display: block; width: 85px; height: 6px; background: var(--ctx-white); margin: 25px auto 0; }
.ctx-hero__center .ctx-label { letter-spacing: 0.12em; font-size: 0.875rem; color: var(--ctx-white); }
.ctx-hero__center .ctx-lead { margin: 0 auto 32px; color: #e6e6e6; }
.ctx-hero__center .ctx-pills { justify-content: center; }
.ctx-mouse { position: absolute; left: 50%; bottom: 28px; z-index: 1; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,0.8); border-radius: 14px; }
.ctx-mouse::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: ctx-wheel 1.6s infinite; }
@keyframes ctx-wheel { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px); } }

/* Menú: lista a la izquierda, 26px en mayúsculas */
.ctx-menu-overlay { background: rgba(20, 20, 20, 0.9); justify-content: flex-start; padding: 150px 40px 60px; }
.ctx-menu-overlay nav a { font-family: var(--ctx-font); font-weight: 400; font-size: 1.625rem; padding: 6px 0; }

/* Tarjetas de servicio: blanco al 90 %, sólido al pasar el cursor */
.ctx-tour__card { background: rgba(255, 255, 255, 0.9); transition: background 0.3s; }
.ctx-tour__card:hover { background: #fff; }
.ctx-tour__link { color: #999 !important; letter-spacing: 1px; font-size: 0.75rem; }
.ctx-tour__link:hover { color: #020202 !important; }

/* Contacto: titular a la izquierda, formulario a la derecha */
.ctx-final { text-align: left; }
.ctx-final__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.ctx-final .ctx-h2 { margin: 0 0 32px; }
.ctx-final__buttons { justify-content: flex-start; }
@media (max-width: 1000px) { .ctx-final__grid { grid-template-columns: 1fr; gap: 44px; } }
@media (prefers-reduced-motion: reduce) { .ctx-mouse::after { animation: none; } }

/* ============ v2.2 — SERVICIOS COMPACTOS Y "POR QUÉ ELEGIRNOS" ============ */
.ctx-tours { grid-template-columns: repeat(4, 1fr); gap: 30px 26px; max-width: 1320px; }
.ctx-tour, .ctx-tour:nth-child(even) { padding-top: 54px; }
.ctx-tour__media { width: 88%; height: 130px; padding-top: 8px; }
.ctx-tour__media svg { width: 38px; height: 38px; }
.ctx-tour__card { width: 90%; padding: 22px 24px 20px; }
.ctx-tour__title { font-size: 1.3rem !important; }
.ctx-tour__title::after { width: 50px; height: 3px; margin: 12px 0; }
.ctx-tour__card p { font-size: 0.92rem; line-height: 1.5; margin: 0 0 12px; }
.ctx-tour__link { font-size: 0.68rem; }
@media (max-width: 1000px) {
  .ctx-tours { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .ctx-tour, .ctx-tour:nth-child(even) { padding-top: 54px; }
  .ctx-tour:nth-child(odd) .ctx-tour__media, .ctx-tour:nth-child(even) .ctx-tour__media { width: 88%; }
  .ctx-tour__card { width: 90%; padding: 20px; }
}
@media (max-width: 560px) { .ctx-tours { grid-template-columns: 1fr; } }

.ctx-why4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.ctx-why4__item { padding: 10px 30px 10px; border-left: 1px solid #dededb; }
.ctx-why4__item:first-child { border-left: 0; }
.ctx-why4__item .ctx-label { font-size: 0.72rem; margin-bottom: 12px; }
.ctx-why4__item h3 { font-family: var(--ctx-font-heading) !important; font-weight: 700 !important; font-size: 1.7rem !important; text-transform: uppercase; color: var(--ctx-ink) !important; margin: 0 0 12px; }
.ctx-why4__item p { color: var(--ctx-gray-dark); font-size: 1rem; margin: 0; }
@media (max-width: 1000px) { .ctx-why4 { grid-template-columns: 1fr 1fr; gap: 30px 0; } .ctx-why4__item:nth-child(odd) { border-left: 0; } }
@media (max-width: 560px) { .ctx-why4 { grid-template-columns: 1fr; } .ctx-why4__item { border-left: 0; padding: 0; } }

a.ctx-mouse { display: block; cursor: pointer; bottom: 44px; }

/* ============ v2.3 — PREGUNTAS FRECUENTES EN OSCURO ============ */
.ctx-band--dark.ctx-faq details, .ctx-band--dark.ctx-faq details:first-child { border-color: rgba(255, 255, 255, 0.14); }
.ctx-band--dark.ctx-faq summary { color: var(--ctx-white); }
.ctx-band--dark.ctx-faq details p { color: var(--ctx-gray); }

/* ============ v2.4 — SIN DISTRACCIONES ============
   Nada se mueve solo ni aparece de a poco; una sola acción por pantalla. */
.ctx-reveal { opacity: 1; transform: none; transition: none; }
.ctx-mouse::after { animation: none; }
.ctx-btn:hover { transform: none; }
.ctx-tour__card, .ctx-tour__card:hover { background: rgba(255, 255, 255, 0.92); transition: none; }
.ctx-tour__card p { margin-bottom: 0; }
.ctx-whatsapp { width: 52px; height: 52px; box-shadow: none; opacity: 0.85; }
.ctx-whatsapp:hover { transform: none; opacity: 1; }
.ctx-whatsapp svg { width: 28px; height: 28px; }
.ctx-menu-overlay nav a { opacity: 1; transform: none; transition: color 0.2s; }

/* ============ v2.5 — TESTIMONIOS + PIE EN UNA SOLA SECCIÓN, PIE OSCURO ============ */
.ctx-last { background: var(--ctx-dark-2); display: flex; flex-direction: column; }
.ctx-last__main { flex: 1; display: flex; align-items: center; padding: 110px 40px 40px; }
.ctx-testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ctx-testi { margin: 0; padding: 26px 28px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03); }
.ctx-testi blockquote { margin: 0 0 18px; padding: 0; border: 0; background: none; color: var(--ctx-gray); font-size: 1.05rem; font-style: italic; line-height: 1.6; }
.ctx-testi figcaption strong { display: block; color: var(--ctx-white); font-family: var(--ctx-font-heading); text-transform: uppercase; letter-spacing: 0.02em; }
.ctx-testi figcaption span { color: var(--ctx-gray); font-size: 0.85rem; }
@media (max-width: 1000px) { .ctx-testis { grid-template-columns: 1fr; } .ctx-last__main { padding: 70px 20px 40px; } }

.ctx-footer { background: #0c0c0e; color: var(--ctx-gray); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.ctx-footer__grid { padding: 30px 40px 22px; gap: 40px; }
.ctx-footer__heading { color: var(--ctx-white); font-size: 1.15rem; margin: 0 0 16px; }
.ctx-footer__heading::after { background: var(--ctx-white); width: 50px; margin-top: 10px; }
.ctx-footer__list { font-size: 0.95rem; line-height: 1.5; }
.ctx-footer__list li { margin-bottom: 4px; }
.ctx-footer__list a { color: var(--ctx-gray) !important; }
.ctx-footer__list a:hover { color: var(--ctx-white) !important; }
.ctx-footer__qr { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.ctx-footer__qr .ctx-footer__heading { grid-column: 1 / -1; }
.ctx-footer__qr img { width: 96px; height: 96px; padding: 4px; border: 0; }
.ctx-footer__qr p { margin: 0; font-size: 0.85rem; color: var(--ctx-gray); }
.ctx-footer__qr a { color: var(--ctx-orange) !important; }
.ctx-footer__social { background: transparent; padding: 0 40px 10px; gap: 28px; font-size: 0.9rem; }
.ctx-footer__social a { color: var(--ctx-white) !important; font-weight: 400; }
.ctx-footer__bottom { padding: 0 40px 16px; font-size: 0.75rem; color: var(--ctx-gray-dark); }

/* En celular, el panel de imagen de "Cómo trabajamos" solo se muestra si tiene foto */
@media (max-width: 1000px) { .ctx-split__media:not(:has(img)) { display: none; } }

/* ============ v2.8 — SERVICIOS EN DOS BLOQUES DE 4 ============
   Escritorio: los dos bloques juntos en una pantalla (4 × 2).
   Celular: cada bloque llena una pantalla completa; etiquetas angostas en azul con el ícono adentro. */
.ctx-svc__head2 { display: none; }
.ctx-svc__screen + .ctx-svc__screen { margin-top: 30px; }
@media (max-width: 1000px) {
  #servicios .ctx-band { padding-top: 0; padding-bottom: 0; }
  .ctx-svc__screen {
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 96px 0 28px;
  }
  .ctx-svc__screen + .ctx-svc__screen { margin-top: 0; }
  .ctx-svc__head2 { display: block; }
  .ctx-svc .ctx-head { margin-bottom: 28px; }
  .ctx-svc .ctx-tours { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; max-width: 640px; }
  .ctx-tours .ctx-tour, .ctx-tours .ctx-tour:nth-child(even) {
    display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center;
    padding: 14px 16px;
    background: linear-gradient(160deg, #2a2a48, var(--ctx-navy));
  }
  .ctx-tours .ctx-tour .ctx-tour__media {
    position: static; width: auto; height: auto; padding: 0; background: none; overflow: visible;
  }
  .ctx-tours .ctx-tour .ctx-tour__media svg { width: 36px; height: 36px; display: block; }
  .ctx-tours .ctx-tour .ctx-tour__card, .ctx-tours .ctx-tour .ctx-tour__card:hover { width: auto; padding: 0; background: none; color: var(--ctx-white); }
  .ctx-tours .ctx-tour__title { color: var(--ctx-white) !important; font-size: 1.1rem !important; }
  .ctx-tours .ctx-tour__title::after { display: none; }
  .ctx-tours .ctx-tour__card p { color: var(--ctx-gray); font-size: 0.88rem; line-height: 1.4; margin: 4px 0 0; }
}
@media (min-width: 700px) and (max-width: 1000px) {
  .ctx-svc .ctx-tours { grid-template-columns: 1fr 1fr; max-width: none; }
}
@media (min-width: 1001px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .ctx-svc__screen + .ctx-svc__screen { margin-top: 20px; }
}

/* ============ EFECTO CORTINA ============
   Cada panel sube como la cortina de un local y deja ver el siguiente,
   que espera quieto detrás. Para quitar el efecto, borrar este bloque. */
body { overflow-x: clip; }
.ctx-panel { position: relative; }
.ctx-panel + .ctx-panel { margin-top: -100vh; }
.ctx-panel + .ctx-panel::after { content: ''; display: block; height: 100vh; }
.ctx-panel__in { position: sticky; top: 0; min-height: 100vh; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55); }
.ctx-band.ctx-panel__in, .ctx-final.ctx-panel__in { display: flex; flex-direction: column; justify-content: center; }
.ctx-panel:nth-child(1) { z-index: 12; }
.ctx-panel:nth-child(2) { z-index: 11; }
.ctx-panel:nth-child(3) { z-index: 10; }
.ctx-panel:nth-child(4) { z-index: 9; }
.ctx-panel:nth-child(5) { z-index: 8; }
.ctx-panel:nth-child(6) { z-index: 7; }
.ctx-panel:nth-child(7) { z-index: 6; }
.ctx-panel:nth-child(8) { z-index: 5; }
@media (prefers-reduced-motion: reduce) {
  .ctx-panel + .ctx-panel { margin-top: 0; }
  .ctx-panel + .ctx-panel::after { display: none; }
  .ctx-panel__in { position: static; min-height: 0; }
}

/* ============ PÁGINA POR PÁGINA (pantallas de escritorio) ============
   Cada sección ocupa exactamente una pantalla; la rueda del mouse
   pasa a la siguiente (ver custom-menu.js). */
@media (min-width: 1001px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .ctx-hero { height: 100vh; min-height: 0; }
  .ctx-panel__in { height: 100vh; min-height: 0; overflow: hidden; }
  .ctx-band.ctx-panel__in, .ctx-final.ctx-panel__in { padding-top: 112px; padding-bottom: 30px; }
  .ctx-tours { row-gap: 20px; }
  .ctx-split.ctx-panel__in { min-height: 0; }
  .ctx-split__body { padding-top: 110px; padding-bottom: 40px; }
  .ctx-head { margin-bottom: 24px; }
  .ctx-head::after { margin-top: 16px; }
  .ctx-form { padding: 20px 28px 22px; }
  .ctx-formcard__head { padding: 22px 28px 18px; }
  .ctx-form textarea { min-height: 64px; }
}
@media (min-width: 1001px) and (min-height: 700px) and (max-height: 860px) and (prefers-reduced-motion: no-preference) {
  .ctx-band.ctx-panel__in, .ctx-final.ctx-panel__in { padding-top: 88px; padding-bottom: 20px; }
  .ctx-head { margin-bottom: 22px; }
  .ctx-head .ctx-label { margin-bottom: 8px; }
  .ctx-h2 { font-size: 1.9rem; margin-bottom: 14px; }
  .ctx-tours { row-gap: 18px; }
  .ctx-tour, .ctx-tour:nth-child(even) { padding-top: 46px; }
  .ctx-tour__media svg { width: 32px; height: 32px; }
  .ctx-tour__card { padding: 16px 20px 14px; }
  .ctx-tour__title::after { margin: 9px 0; }
  .ctx-tour__card p { margin-bottom: 8px; font-size: 0.88rem; }
  .ctx-form input, .ctx-form select, .ctx-form textarea { padding: 9px 12px !important; margin-bottom: 10px; }
  .ctx-form textarea { min-height: 52px; }
  .ctx-formcard__title { font-size: 1.3rem !important; }
  .ctx-faq summary { padding: 18px 44px 18px 0; }
  .ctx-faq summary::after { top: 12px; }
  .ctx-row { padding: 14px 0; }
  .ctx-checks li { padding: 12px 18px; }
}

@media (min-width: 1001px) and (min-height: 700px) and (max-height: 860px) and (prefers-reduced-motion: no-preference) {
  .ctx-last__main { padding: 88px 40px 16px; }
  .ctx-testi { padding: 16px 20px; }
  .ctx-testi blockquote { margin-bottom: 10px; font-size: 0.95rem; }
  .ctx-footer__grid { padding: 16px 40px 10px; }
  .ctx-footer__qr img { width: 76px; height: 76px; }
}

/* Ícono del mouse fijo en todas las secciones (solo en modo página por página) */
.ctx-mouse--fixed { display: none !important; }
@media (min-width: 1001px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .ctx-mouse--fixed { display: block !important; position: fixed; left: 50%; bottom: 44px; z-index: 9000; transition: opacity 0.3s; }
  .ctx-mouse--fixed.is-hidden { opacity: 0; pointer-events: none; }
  .ctx-has-pager .ctx-hero .ctx-mouse { display: none; }
  .ctx-band.ctx-panel__in, .ctx-final.ctx-panel__in { padding-bottom: 96px; }
  .ctx-split__body { padding-bottom: 96px; }
}
@media (min-width: 1001px) and (min-height: 700px) and (max-height: 860px) and (prefers-reduced-motion: no-preference) {
  .ctx-mouse--fixed { bottom: 16px; transform: scale(0.8); }
  .ctx-band.ctx-panel__in, .ctx-final.ctx-panel__in { padding-bottom: 60px; }
}

/* ============ v2.9 — CELULAR Y TABLETA: UNA PANTALLA POR SECCIÓN ============
   Cada bloque mide exactamente una pantalla y un solo deslizamiento pasa al siguiente
   (scroll-snap nativo). Aquí no se usa el truco de la cortina con position: sticky. */
@media (max-width: 1000px) {
  html { scroll-snap-type: y mandatory; }
  body { font-size: 1rem; line-height: 1.6; }

  .ctx-panel + .ctx-panel { margin-top: 0; }
  .ctx-panel + .ctx-panel::after { display: none; }
  .ctx-panel__in { position: static; min-height: 0; box-shadow: none; }

  .ctx-hero,
  .ctx-svc__screen,
  .ctx-split.ctx-panel__in,
  .ctx-fit.ctx-panel__in,
  .ctx-faq.ctx-panel__in,
  .ctx-final__grid > *,
  .ctx-last__main,
  .ctx-footer {
    min-height: 100vh; min-height: 100svh;
    scroll-snap-align: start; scroll-snap-stop: always;
    display: flex; flex-direction: column; justify-content: center;
  }
  .ctx-svc__screen, .ctx-final__grid > * { padding: 88px 0 24px; }
  .ctx-fit.ctx-panel__in, .ctx-faq.ctx-panel__in { padding: 88px 20px 24px; }
  .ctx-hero { padding: 100px 20px 70px; }

  .ctx-h2 { font-size: 1.6rem; line-height: 1.15; margin-bottom: 14px; }
  .ctx-label { margin-bottom: 10px; }
  .ctx-head { margin-bottom: 20px; }
  .ctx-head::after { margin-top: 14px; }
  .ctx-lead { font-size: 1rem; margin-bottom: 16px; }

  /* Servicios */
  .ctx-svc .ctx-head { margin-bottom: 18px; }
  .ctx-tours .ctx-tour, .ctx-tours .ctx-tour:nth-child(even) { padding: 11px 14px; }
  .ctx-tours .ctx-tour__card p { font-size: 0.85rem; }

  /* Cómo trabajamos */
  .ctx-split { display: flex; }
  .ctx-split__body { padding: 88px 20px 24px; }
  .ctx-rows { margin-top: 16px; }
  .ctx-row { grid-template-columns: 40px 1fr; padding: 12px 0; }
  .ctx-row h3 { font-size: 1.05rem !important; margin-bottom: 2px; }
  .ctx-row p { font-size: 0.92rem; }

  /* ¿Es para su negocio? */
  .ctx-fit__grid { gap: 18px; }
  .ctx-checks { gap: 8px; }
  .ctx-checks li { padding: 10px 14px; gap: 12px; font-size: 0.92rem; }
  .ctx-checks li::before { flex-basis: 24px; height: 24px; }

  /* Preguntas frecuentes */
  .ctx-faq__grid { gap: 14px; }
  .ctx-faq summary { padding: 14px 36px 14px 0; font-size: 1rem; }
  .ctx-faq summary::after { top: 8px; }
  .ctx-faq details p { padding: 0 20px 14px 0; font-size: 0.92rem; }

  /* Contacto: titular en una pantalla, formulario en la siguiente */
  .ctx-final { padding: 0 20px; }
  .ctx-final__grid { display: block; }
  .ctx-final .ctx-h2 { font-size: 1.8rem; margin-bottom: 24px; }
  .ctx-final .ctx-formcard { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .ctx-formcard__head { padding: 18px 20px 14px; border-radius: 22px 22px 0 0; }
  .ctx-final .ctx-form { background: var(--ctx-white); border-radius: 0 0 22px 22px; }
  .ctx-formcard__title { font-size: 1.3rem !important; }
  .ctx-formcard__head p { font-size: 0.85rem; }
  .ctx-form { padding: 16px 20px 18px; }
  .ctx-form__row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ctx-form input, .ctx-form select, .ctx-form textarea { padding: 9px 12px !important; margin-bottom: 10px; }
  .ctx-form textarea { min-height: 56px; }

  /* Testimonios y pie, cada uno en su pantalla */
  .ctx-last { display: block; }
  .ctx-last__main { padding: 88px 20px 24px; }
  .ctx-testis { gap: 10px; }
  .ctx-testi { padding: 14px 16px; }
  .ctx-testi blockquote { font-size: 0.92rem; margin-bottom: 8px; }
  .ctx-footer { border-top: 0; padding: 88px 0 20px; }
  .ctx-footer__grid { padding: 0 28px 16px; gap: 22px; }
  .ctx-footer__heading { margin-bottom: 10px; }
  .ctx-footer__social, .ctx-footer__bottom { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 1000px) and (prefers-reduced-motion: reduce) { html { scroll-snap-type: none; } }

/* ============ v2.10 — VIDEOS EN LA SECCIÓN DE CLIENTES ============ */
.ctx-testis--video { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; }
.ctx-testi video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: contain; margin: 0 0 14px; }
.ctx-testis--video .ctx-testi { padding: 16px 16px 18px; }
@media (min-width: 1001px) { .ctx-testi video { aspect-ratio: auto; height: clamp(150px, calc(100vh - 715px), 300px); } }
@media (min-width: 1001px) and (max-height: 860px) { .ctx-testis--video { max-width: 720px; } .ctx-testi video { margin-bottom: 8px; } }
@media (max-width: 1000px) {
  .ctx-testis--video { grid-template-columns: 1fr; max-width: 420px; }
  .ctx-testis--video .ctx-testi { padding: 10px 10px 12px; }
  .ctx-testi video { margin-bottom: 8px; aspect-ratio: auto; height: clamp(110px, calc((100vh - 400px) / 2), 200px); height: clamp(110px, calc((100svh - 400px) / 2), 200px); }
}

/* ============ v2.12 — CARRETE DE TESTIMONIOS ============
   Tira de miniaturas con scroll horizontal; al tocar una, el video se abre debajo. */
.ctx-last__main .ctx-wrap { min-width: 0; }
.ctx-reel { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 12px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.3) transparent; }
.ctx-reel::before, .ctx-reel::after { content: ''; margin: auto; }
.ctx-reel__item {
  flex: 0 0 210px; padding: 0 0 10px; margin: 0; cursor: pointer; text-align: left;
  background: rgba(255, 255, 255, 0.03) !important; color: var(--ctx-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important; border-radius: 0 !important; box-shadow: none !important;
  font-family: var(--ctx-font); line-height: 1.3;
}
.ctx-reel__item:hover, .ctx-reel__item:focus-visible { border-color: rgba(255, 255, 255, 0.4) !important; outline: none; }
.ctx-reel__item.is-active { border-color: var(--ctx-orange) !important; }
.ctx-reel__thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; margin-bottom: 10px; overflow: hidden; }
.ctx-reel__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ctx-reel__thumb::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 26px no-repeat;
}
.ctx-reel__item.is-active .ctx-reel__thumb::after { background-color: var(--ctx-orange); }
.ctx-reel__item strong { display: block; padding: 0 12px; font-family: var(--ctx-font-heading); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em; }
.ctx-reel__item small { display: block; padding: 2px 12px 0; color: var(--ctx-gray); font-size: 0.8rem; }
.ctx-reel__hint { text-align: center; color: var(--ctx-gray-dark); font-size: 0.85rem; margin: 10px 0 0; }
.ctx-reel__player { margin: 14px auto 0; text-align: center; }
.ctx-reel__player[hidden] { display: none; }
.ctx-reel__player video { display: block; margin: 0 auto; max-width: 100%; width: auto; background: #000; aspect-ratio: auto; height: clamp(150px, calc(100vh - 695px), 46vh); }
#testimonios .ctx-head { margin-bottom: 18px; }
@media (min-width: 1001px) and (max-height: 860px) {
  .ctx-reel__item { flex-basis: 170px; }
  .ctx-reel__player video { height: clamp(150px, calc(100vh - 620px), 46vh); }
  .ctx-reel__hint { margin-top: 4px; }
}
@media (max-width: 1000px) {
  .ctx-reel { gap: 10px; }
  .ctx-reel__item { flex-basis: 150px; }
  .ctx-reel__item strong { font-size: 0.9rem; padding: 0 8px; }
  .ctx-reel__item small { padding: 2px 8px 0; font-size: 0.72rem; }
  .ctx-reel__player video { width: 100%; height: clamp(150px, calc(100vh - 470px), 46vh); height: clamp(150px, calc(100svh - 470px), 46svh); }
}

/* Con un video abierto, en escritorio se oculta el título para que todo siga cabiendo en una pantalla */
@media (min-width: 1001px) { .ctx-reel-open .ctx-head { display: none; } }

/* Testimonio en foto: misma caja que el video */
.ctx-reel__player img { display: block; margin: 0 auto; max-width: 100%; width: auto; object-fit: contain; height: clamp(150px, calc(100vh - 695px), 46vh); }
.ctx-reel__player img[hidden], .ctx-reel__player video[hidden] { display: none; }
@media (min-width: 1001px) and (max-height: 860px) { .ctx-reel__player img { height: clamp(150px, calc(100vh - 620px), 46vh); } }
@media (max-width: 1000px) { .ctx-reel__player img { width: 100%; height: clamp(150px, calc(100vh - 470px), 46vh); height: clamp(150px, calc(100svh - 470px), 46svh); } }

/* v2.14 — En celular el video corre dentro de la misma miniatura */
.ctx-reel__thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.ctx-reel__item.is-inline .ctx-reel__thumb::after { display: none; }
.ctx-reel__item { -webkit-tap-highlight-color: transparent; }
@media (max-width: 1000px) {
  .ctx-reel { flex-wrap: wrap; justify-content: center; overflow-x: visible; }
  .ctx-reel::before, .ctx-reel::after { display: none; }
  .ctx-reel__item { flex: 0 0 calc(50% - 5px); max-width: 260px; }
}

/* ============ v2.15 — VISOR A PANTALLA COMPLETA ============
   La sección muestra solo el título y el carrete, con aire alrededor.
   Al elegir un testimonio, todo lo demás se oscurece y queda únicamente el video (o la foto) al centro. */
.ctx-reel-open .ctx-head { display: block; }
#testimonios .ctx-head { margin-bottom: 36px; }
.ctx-reel__player {
  position: fixed; inset: 0; z-index: 10050; margin: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 12, 0.97);
}
.ctx-reel__player[hidden] { display: none; }
.ctx-reel__player video, .ctx-reel__player img {
  width: auto; height: auto; max-width: 86vw; max-height: 78vh; margin: 0; aspect-ratio: auto;
}
.ctx-lightbox__close {
  position: absolute; top: 22px; right: 28px; width: 48px; height: 48px; padding: 0; cursor: pointer;
  background: none !important; border: 0 !important; box-shadow: none !important;
  color: var(--ctx-white) !important; font-size: 2.4rem; line-height: 1; font-family: var(--ctx-font);
}
.ctx-lightbox__close:hover { color: var(--ctx-orange) !important; }
body.ctx-lightbox-open { overflow: hidden; }
@media (max-width: 1000px) {
  .ctx-reel__player video, .ctx-reel__player img { width: auto; height: auto; max-width: 94vw; max-height: 72vh; }
}

/* ============ v2.16 — EL PIE DE PÁGINA ES SU PROPIA SECCIÓN ============ */
.ctx-footpanel { background: #0c0c0e; display: flex; flex-direction: column; justify-content: center; }
.ctx-footpanel .ctx-footer { background: transparent; border-top: 0; width: 100%; }
@media (min-width: 1001px) {
  .ctx-footpanel.ctx-panel__in { padding-top: 100px; }
  .ctx-footpanel .ctx-footer__grid { padding: 0 40px 56px; gap: 70px; }
  .ctx-footpanel .ctx-footer__heading { font-size: 1.5rem; margin-bottom: 28px; }
  .ctx-footpanel .ctx-footer__heading::after { width: 85px; margin-top: 18px; }
  .ctx-footpanel .ctx-footer__list { font-size: 1.1rem; }
  .ctx-footpanel .ctx-footer__list li { margin-bottom: 8px; }
  .ctx-footpanel .ctx-footer__qr img { width: 150px; height: 150px; }
  .ctx-footpanel .ctx-footer__qr p { font-size: 0.95rem; }
  .ctx-footpanel .ctx-footer__social { padding-bottom: 16px; font-size: 1rem; }
  #testimonios .ctx-head { margin-bottom: 48px; }
  .ctx-reel__item { flex-basis: 260px; }
}
@media (min-width: 1001px) and (max-height: 860px) {
  .ctx-footpanel .ctx-footer__grid { padding-bottom: 30px; }
  .ctx-footpanel .ctx-footer__qr img { width: 120px; height: 120px; }
  .ctx-reel__item { flex-basis: 230px; }
}

/* ============ v2.17 — CARRETE CON FLECHAS Y VISOR FIJO DEBAJO ============ */
#testimonios .ctx-head { margin-bottom: 26px; }
.ctx-reelbar { display: flex; align-items: center; justify-content: center; gap: 10px; }
.ctx-reelbar .ctx-reel { flex: 0 1 auto; min-width: 0; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px; }
.ctx-reelbar .ctx-reel::-webkit-scrollbar { display: none; }
.ctx-reelbar .ctx-reel::before, .ctx-reelbar .ctx-reel::after { display: none; }
.ctx-reelbar .ctx-reel__item { flex: 0 0 170px; max-width: none; scroll-snap-align: start; padding-bottom: 8px; }
.ctx-reelbar .ctx-reel__item strong { font-size: 0.85rem; padding: 0 10px; }
.ctx-reelbar .ctx-reel__item small { font-size: 0.72rem; padding: 2px 10px 0; }
.ctx-reelbar .ctx-reel__thumb { margin-bottom: 8px; }
.ctx-reelbar .ctx-reel__thumb::after { width: 34px; height: 34px; margin: -17px 0 0 -17px; background-size: 20px; }
.ctx-reel__nav {
  flex: 0 0 44px; width: 44px; height: 44px; padding: 0; cursor: pointer; border-radius: 50% !important;
  background: transparent !important; color: var(--ctx-white) !important; box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important; font-size: 1.7rem; line-height: 1; font-family: var(--ctx-font);
}
.ctx-reel__nav:hover { border-color: var(--ctx-orange) !important; color: var(--ctx-orange) !important; }
.ctx-reel__nav:disabled { opacity: 0.25; cursor: default; }
.ctx-reel__nav[hidden] { display: none; }

.ctx-stage { margin: 22px auto 0; background: #000; aspect-ratio: 16 / 9; height: clamp(180px, calc(100vh - 610px), 520px); max-width: 100%; }
.ctx-stage video, .ctx-stage img { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; margin: 0; aspect-ratio: auto; max-width: none; max-height: none; }
.ctx-stage video[hidden], .ctx-stage img[hidden] { display: none; }
@media (min-width: 1001px) and (max-height: 860px) {
  .ctx-stage { height: clamp(180px, calc(100vh - 545px), 520px); margin-top: 14px; }
  .ctx-reelbar .ctx-reel__item { flex-basis: 150px; }
  #testimonios .ctx-head { margin-bottom: 14px; }
}
@media (max-width: 1000px) {
  .ctx-reelbar { gap: 6px; }
  .ctx-reelbar .ctx-reel__item { flex-basis: 132px; }
  .ctx-reel__nav { flex-basis: 34px; width: 34px; height: 34px; font-size: 1.3rem; }
  .ctx-stage { height: auto; width: 100%; margin-top: 16px; }
}

/* ============ v2.18 ============ */
.ctx-footer__bottom a { color: inherit; text-decoration: underline; }

/* ============ v2.19 — páginas de texto (aviso de privacidad) ============ */
.ctx-legal { box-sizing: border-box; max-width: 820px; margin: 0 auto; padding: 150px 24px 90px; color: #d2d2d6; font-size: 1.05rem; line-height: 1.75; }
.ctx-legal h1 { font-family: var(--ctx-font-heading); text-transform: uppercase; color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 10px; }
.ctx-legal h2 { font-family: var(--ctx-font-heading); text-transform: uppercase; color: #fff; font-size: 1.3rem; letter-spacing: 0.02em; margin: 44px 0 12px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); }
.ctx-legal p { margin: 0 0 16px; }
.ctx-legal ul { margin: 0 0 16px; padding-left: 22px; }
.ctx-legal li { margin-bottom: 8px; }
.ctx-legal strong { color: #fff; }
.ctx-legal a { color: var(--ctx-orange); text-decoration: underline !important; }
.ctx-legal__date { color: var(--ctx-gray); font-size: 0.9rem; margin-bottom: 30px !important; }
.ctx-legal__back { margin-top: 44px !important; }
@media (max-width: 600px) { .ctx-legal { padding: 120px 20px 70px; font-size: 1rem; } }
/* En páginas que no son la portada no hay pantallas: el pie no debe "atrapar" el deslizamiento en celular */
@media (max-width: 1000px) {
  body:not(.home) .ctx-footer { scroll-snap-align: none; scroll-snap-stop: normal; min-height: 0; display: block; padding-top: 48px; }
}

/* ============ v2.21 — páginas de texto: columna centrada y barra sólida ============ */
.entry-content > .ctx-legal { max-width: 820px !important; margin-left: auto !important; margin-right: auto !important; }
body:not(.home) .ctx-navbar { background: #121215; }

/* ============ v2.23 — pingüino del logotipo, a la altura de las letras ============ */
.ctx-navbar__logo { gap: 9px; }
.ctx-navbar__mark { height: 0.74em; width: auto; flex: none; display: block; }

/* ============ v2.24 — pingüino más alto que las letras ============ */
.ctx-navbar__mark { height: 1.04em; margin: -0.15em 0; }

/* ============ v2.25 — en celular y tableta no hay mouse: se oculta el ícono ============ */
@media (max-width: 1000px) {
  .ctx-mouse, .ctx-mouse--fixed { display: none !important; }
}

/* ============ v2.26 — "Cómo trabajamos" y "Preguntas frecuentes" centradas, sin panel lateral ============ */
.ctx-split--center { grid-template-columns: 1fr !important; }
.ctx-split--center .ctx-split__body { width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.ctx-split--center .ctx-label,
.ctx-split--center .ctx-h2,
.ctx-split--center .ctx-lead { text-align: center; margin-left: auto; margin-right: auto; }
.ctx-split--center .ctx-rows { text-align: left; }
.ctx-faq__grid--center { grid-template-columns: 1fr !important; gap: 36px; max-width: 820px; margin-left: auto; margin-right: auto; }
.ctx-faq__grid--center > div:first-child { text-align: center; }
.ctx-faq__grid--center .ctx-h2 { margin-left: auto; margin-right: auto; }
@media (max-width: 1000px) { .ctx-faq__grid--center { gap: 14px; } }

/* ============ v2.26.2 — testimonios: miniaturas siempre centradas; raya del título en blanco ============ */
.ctx-reelbar { justify-content: center !important; width: 100%; }
.ctx-reelbar .ctx-reel { flex: 0 1 auto !important; width: auto !important; max-width: 100%; margin-left: auto; margin-right: auto; }
.ctx-reelbar .ctx-reel__item:first-child { margin-left: auto; }
.ctx-reelbar .ctx-reel__item:last-child { margin-right: auto; }
#testimonios .ctx-head::after { background: var(--ctx-white); }
