/* ════════════════════════════════════════════════════════════════
   AciertaHotel — capa propia sobre la plantilla «aicraft».

   La plantilla aporta la estructura (bootstrap.min.css, default.css y
   style.css, este último recoloreado: su degradado rosa-morado-azul pasa a
   ser el azul y el turquesa del logotipo). Aquí va todo lo demás:

     1 · Tipografía e iconos (Spline Sans y Bootstrap Icons autoalojados)
     2 · Ajustes de la plantilla (cabecera, botones, secciones)
     3 · Piezas de AciertaHotel (maqueta del panel, módulos, precio…)
     4 · Contacto, pie, selector de idioma, WhatsApp flotante
     5 · Páginas legales
     6 · Animación de entrada y responsive

   ⚠ Los iconos son un SUBCONJUNTO de Bootstrap Icons (assets/fonts/
   bootstrap-icons-subset.woff2). Un `bi bi-loquesea` nuevo no se verá hasta
   regenerarlo: ver install/iconos-subset.py.
════════════════════════════════════════════════════════════════ */

/* ── 1 · Tipografía e iconos ───────────────────────────────────── */
@font-face {
  font-family: "Spline Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/spline-sans-latin.woff2) format("woff2");
}
@font-face {
  font-family: bootstrap-icons;
  font-display: swap;
  font-weight: 400;
  font-style: normal;
  src: url(../../fonts/bootstrap-icons-subset.woff2) format("woff2");
}
.bi::before, [class*=" bi-"]::before, [class^=bi-]::before {
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: 400 !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.bi-arrow-left-right::before{content:"\f12b"}
.bi-bank::before{content:"\f62e"}
.bi-braces::before{content:"\f1c9"}
.bi-buildings-fill::before{content:"\f87c"}
.bi-calendar3::before{content:"\f214"}
.bi-check-circle-fill::before{content:"\f26a"}
.bi-check-lg::before{content:"\f633"}
.bi-clock::before{content:"\f293"}
.bi-code-slash::before{content:"\f2c6"}
.bi-credit-card::before{content:"\f2dc"}
.bi-diagram-3::before{content:"\f2ee"}
.bi-envelope::before{content:"\f32f"}
.bi-envelope-paper::before{content:"\f73d"}
.bi-file-earmark-bar-graph::before{content:"\f35a"}
.bi-gear::before{content:"\f3e5"}
.bi-geo-alt-fill::before{content:"\f3e7"}
.bi-graph-up::before{content:"\f3f2"}
.bi-graph-up-arrow::before{content:"\f673"}
.bi-grid-1x2-fill::before{content:"\f3f3"}
.bi-hourglass-split::before{content:"\f41f"}
.bi-house-door::before{content:"\f423"}
.bi-journal-check::before{content:"\f43e"}
.bi-layers-fill::before{content:"\f459"}
.bi-lightning-charge-fill::before{content:"\f46c"}
.bi-palette::before{content:"\f4b1"}
.bi-palette2::before{content:"\f4b2"}
.bi-people::before{content:"\f4d0"}
.bi-person-check::before{content:"\f4d6"}
.bi-person-vcard::before{content:"\f8c9"}
.bi-play-circle::before{content:"\f4f3"}
.bi-plug-fill::before{content:"\f4f6"}
.bi-shield-check::before{content:"\f52f"}
.bi-shield-fill-check::before{content:"\f531"}
.bi-shield-lock::before{content:"\f538"}
.bi-star-half::before{content:"\f587"}
.bi-stars::before{content:"\f589"}
.bi-tag::before{content:"\f5b0"}
.bi-tags::before{content:"\f5b2"}
.bi-ticket-perforated::before{content:"\f6ca"}
.bi-translate::before{content:"\f658"}
.bi-wallet2::before{content:"\f615"}
.bi-whatsapp::before{content:"\f618"}
.bi-window-stack::before{content:"\f6d2"}

:root {
  --font: "Spline Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ah-azul: #0B3D91;
  --ah-azul-2: #1468C2;
  --ah-turq: #0BABC3;
  --ah-grad: linear-gradient(90deg, #0B3D91 -8.37%, #1468C2 52.7%, #0BABC3 110.76%);
  --ah-tinta: #0F1B33;
  --ah-suave: #F4F8FC;
  --ah-borde: #E3EAF3;
  --ah-texto: #4F5B6E;
  --heading-color: var(--ah-tinta);
  --text-color: var(--ah-texto);
}
body { color: var(--ah-texto); background: #fff; }
a { color: var(--ah-azul-2); }

/* ── 2 · Ajustes de la plantilla ───────────────────────────────── */

/* Cabecera: transparente sobre el hero y blanca al fijarse arriba. La
   plantilla la pinta casi negra al fijarse (.sticky usa --black-dark-color),
   y con los enlaces oscuros quedaba ilegible. */
.transparent-header { top: 18px; }
.header-navigation.sticky {
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 24px rgba(15,27,51,.08);
  padding: 10px 0;
  animation: ahSticky .35s ease;
}
@keyframes ahSticky { from { transform: translateY(-100%); } to { transform: none; } }
/* El desenfoque sólo en escritorio: backdrop-filter convierte la cabecera en
   bloque contenedor de sus hijos «fixed», y en móvil el menú lateral y la capa
   oscura quedaban recortados a la altura de la barra. */
@media (min-width: 1200px) {
  .header-navigation.sticky { background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(160%) blur(8px); backdrop-filter: saturate(160%) blur(8px); }
}
html { scroll-padding-top: 96px; }
.main-menu ul li a { text-transform: none; }
.ac-header-one__logo img { width: 200px; height: auto; max-width: 52vw; }
.ac-header-one__right-btn { gap: 14px; }
.ac-header-bnt-1 a { color: var(--ah-tinta); font-weight: 600; }
.ac-header-bnt-1 a:hover { color: var(--ah-azul-2); }
.main-menu ul li a { color: var(--ah-tinta); }
.main-menu ul li a:hover { color: var(--ah-azul-2); }
.navbar-toggler { background: none; }
.theme-btn { gap: 8px; }
.theme-btn.gradient-btn { color: #fff; padding: 13px 22px; border-radius: 8px; }
.theme-btn.gradient-btn:hover { color: #fff; }
.theme-btn.style-two { color: var(--ah-tinta); border-color: #c9d3e1; border-radius: 8px; padding: 13px 26px; }
.theme-btn.style-two:hover { color: #fff; }
.sub-title.style-one { color: var(--ah-azul-2); }
.section-title p { color: var(--ah-texto); }
.ah-soft-bg { background: var(--ah-suave); }
.pt-80 { padding-top: 80px; }
.pb-40 { padding-bottom: 40px; }

/* ── 3 · Piezas de AciertaHotel ────────────────────────────────── */

/* Hero: el fondo de la plantilla es una imagen en rosa y lila; aquí lo mismo
   con CSS y los colores de la marca. */
.ah-hero .hero-wrapper {
  background:
    radial-gradient(ellipse 60% 55% at 12% 10%, rgba(11,171,195,.18), transparent 70%),
    radial-gradient(ellipse 55% 50% at 92% 18%, rgba(20,104,194,.16), transparent 70%),
    linear-gradient(180deg, #F2F8FD 0%, #fff 80%);
  padding: 170px 0 70px;
}
.ah-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 22px;
  border-radius: 999px; background: #fff;
  border: 1px solid var(--ah-borde);
  font-size: 14px; font-weight: 600; color: var(--ah-azul-2);
  box-shadow: 0 4px 16px rgba(15,27,51,.06);
}
.hero-wrapper .hero-content .heading-title { color: var(--ah-tinta); font-size: 56px; line-height: 1.15; }
.hero-wrapper .hero-content .heading-title em,
.ah-grad-text {
  font-style: normal;
  background: var(--ah-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-wrapper .hero-content p.para-one { font-size: 18px; line-height: 1.65; color: var(--ah-texto); max-width: 820px; margin-left: auto; margin-right: auto; }
.ah-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ah-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; }
.ah-pills li { font-size: 15px; color: var(--ah-texto); display: inline-flex; align-items: center; gap: 7px; }
.ah-pills i { color: var(--ah-turq); }
.hero-one_image-box { margin-top: 55px; }

/* Maqueta del panel (HTML): se traduce con la página y no pesa una captura. */
.panel-mockup {
  background: #0F1B33; border-radius: 16px; overflow: hidden; text-align: left;
  box-shadow: 0 40px 90px -20px rgba(11,61,145,.45), 0 0 0 1px rgba(255,255,255,.06);
  max-width: 1020px; margin: 0 auto;
}
.pm-topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #0B1528; border-bottom: 1px solid rgba(255,255,255,.06); }
.pm-topbar-logo { height: 24px; width: auto; }
.pm-topbar-actions .pm-btn { font-size: 12px; background: rgba(11,171,195,.18); color: #7fe3f2; padding: 5px 12px; border-radius: 6px; font-weight: 600; }
.pm-layout { display: flex; min-height: 400px; }
.pm-sidebar { width: 210px; flex: 0 0 auto; padding: 16px 12px; background: #0B1528; border-right: 1px solid rgba(255,255,255,.05); }
.pm-sidebar-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 2px; }
.pm-sidebar-item.active { background: rgba(11,171,195,.16); color: #7fe3f2; font-weight: 600; }
.pm-content { flex: 1; padding: 22px; min-width: 0; }
.pm-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.pm-stat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 14px; }
.pm-stat .val { font-size: 24px; font-weight: 700; color: #fff; }
.pm-stat .lbl { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 2px; }
.pm-cal-days { display: flex; gap: 6px; margin-bottom: 6px; }
.pm-cal-days span { flex: 1; text-align: center; font-size: 11px; color: rgba(255,255,255,.35); font-weight: 700; text-transform: uppercase; }
.pm-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 18px; }
.pm-cell { height: 34px; border-radius: 6px; background: rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center; font-size: 12px; color: rgba(255,255,255,.3); }
.pm-cell.occ { background: rgba(20,104,194,.55); color: rgba(255,255,255,.85); }
.pm-cell.partial { background: rgba(11,171,195,.4); color: #fff; }
.pm-cell.today { outline: 2px solid #0BABC3; outline-offset: -2px; color: #fff; font-weight: 700; }
.pm-booking-row { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.04); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; }
.pm-av { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; flex: 0 0 auto; }
.pm-bn { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); }
.pm-bd { font-size: 12px; color: rgba(255,255,255,.45); }
.pm-bs { margin-left: auto; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.pm-bs.bs-c { background: rgba(16,185,129,.18); color: #6ee7b7; }
.pm-bs.bs-p { background: rgba(245,158,11,.18); color: #fcd34d; }
.pm-bs.bs-n { background: rgba(239,68,68,.18); color: #fca5a5; }

/* Tipos de alojamiento (en lugar de los logos de clientes de la plantilla) */
.ah-tipos { padding: 30px 0 10px; }
.ah-tipos .clients-text p { font-size: 18px; color: var(--ah-texto); }
.ah-tipos-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; margin: 0; list-style: none; }
.ah-tipos-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--ah-borde);
  font-weight: 600; color: var(--ah-tinta); font-size: 15px;
}
.ah-tipos-list span { font-size: 18px; }

/* Texto propio de provincia y municipio */
.ah-geo-extra h3 { font-size: 24px; margin: 14px 0 12px; }
.ah-geo-extra p { line-height: 1.7; }
.ah-stat-n { font-size: 40px; font-weight: 700; background: var(--ah-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.ah-stat-l { font-size: 14px; color: var(--ah-texto); margin-top: 4px; }

/* Tarjetas de funciones */
.iconic-info-box.style-one { position: relative; height: calc(100% - 25px); background: #fff; border: 1px solid var(--ah-borde); border-radius: 18px; padding: 34px 26px; transition: transform .25s, box-shadow .25s; }
.iconic-info-box.style-one:hover,
.ah-js .iconic-info-box.style-one.ah-reveal.is-in:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(11,61,145,.25); }
.iconic-info-box.style-one .icon { margin: 0 auto 18px; color: var(--ah-azul-2); font-size: 28px; border-radius: 20px; }
.iconic-info-box.style-one .content h4 { font-size: 20px; margin-bottom: 10px; color: var(--ah-tinta); }
.iconic-info-box.style-one .content p { font-size: 15px; line-height: 1.6; margin: 0; }
.ah-tag-new { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--ah-grad); padding: 4px 10px; border-radius: 999px; }
.iconic-info-box.style-one.ah-idiomas { height: auto; }
.ah-idiomas .content { text-align: center; width: 100%; }
.ah-idiomas .content p { max-width: 640px; margin: 0 auto 20px; }
.ah-lang-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 48px; }
.ah-lang-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ah-texto); margin-bottom: 10px; }
.ah-lang-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 560px; }
.ah-lang-tags span { font-size: 13px; padding: 4px 11px; border-radius: 999px; background: var(--ah-suave); border: 1px solid var(--ah-borde); color: var(--ah-tinta); }
.ah-lang-tags span.es { background: rgba(11,171,195,.12); border-color: rgba(11,171,195,.35); font-weight: 600; }

/* Pasos */
.ah-step-num {
  width: 92px; height: 92px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 28px; background: var(--ah-grad); color: #fff;
  font-size: 32px; font-weight: 700;
  box-shadow: 0 18px 36px -14px rgba(20,104,194,.6);
}
.ac-process-item .content h5 { font-size: 22px; margin-bottom: 12px; }
.ac-process-item .content p { line-height: 1.65; }

/* Bloque del panel (degradado de la marca) */
.intro-wrapper { padding: 60px 55px 10px; overflow: hidden; }
.intro-wrapper .section-content-box .section-title h2,
.intro-wrapper .section-content-box .sub-title.style-one { color: #fff; }
.intro-wrapper .section-content-box p { color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 26px; }
.intro-wrapper .circle-list.style-one li { color: #fff; font-weight: 500; line-height: 1.5; }
.ah-intro-img { background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.ah-intro-img img { width: 100%; height: auto; display: block; border-radius: 8px; }

/* Módulos */
.ah-modules-hero { max-width: 1000px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--ah-borde); box-shadow: 0 30px 70px -30px rgba(11,61,145,.35); }
.ah-modules-hero img { width: 100%; height: auto; display: block; }
.ah-modules-cap { text-align: center; font-size: 14px; color: var(--ah-texto); margin: 14px 0 50px; }
.ah-mod-group { margin-bottom: 40px; }
.ah-mod-group-title { font-size: 20px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid transparent; border-image: var(--ah-grad) 1; }

/* Acordeón con <details>: lo usan módulos y FAQ. La plantilla lo hace con el
   collapse de Bootstrap y JS; con <details> se abre sin nada. */
details.ah-acc { background: #fff; border: 1px solid var(--ah-borde); border-radius: 12px; padding: 0; margin-bottom: 10px; transition: box-shadow .2s, border-color .2s; }
details.ah-acc.accordion-card.style-one { padding: 0; border-bottom: 1px solid var(--ah-borde); }
details.ah-acc.accordion-card.style-one[open] { border-color: rgba(20,104,194,.35); }
details.ah-acc[open] { border-color: rgba(20,104,194,.35); box-shadow: 0 12px 30px -18px rgba(11,61,145,.35); }
details.ah-acc > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 52px 16px 18px; cursor: pointer; position: relative; font: 600 17px/1.35 var(--font); color: var(--ah-tinta); }
details.ah-acc > summary::-webkit-details-marker { display: none; }
details.ah-acc > summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 400; line-height: 1;
  color: var(--ah-azul-2); background: var(--ah-suave); transition: transform .2s;
}
details.ah-acc[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
details.ah-acc .accordion-content { padding: 0 20px 18px !important; }
details.ah-acc .accordion-content p { line-height: 1.7; margin-bottom: 12px; }
.ah-acc-ico { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(11,171,195,.12); color: var(--ah-azul-2); font-size: 18px; }
.ah-acc-txt { display: flex; flex-direction: column; }
.ah-acc-txt strong { font-weight: 600; }
.ah-acc-txt small { font-size: 13px; font-weight: 400; color: var(--ah-texto); }
.ah-mod-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; color: #fff; background: #087f91; padding: 2px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
.ah-mod-shot { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--ah-borde); margin: 4px 0 14px; }

.ah-check-list { list-style: none; padding: 0; margin: 0; }
.ah-check-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; margin-bottom: 10px; color: var(--ah-texto); }
.ah-check-list li i { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(11,171,195,.14); color: var(--ah-azul-2); font-size: 12px; margin-top: 1px; }

/* Bloque de código del widget */
.code-block { background: #0F1B33; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(15,27,51,.6); }
.code-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #0B1528; }
.code-bar .dots { display: flex; gap: 6px; }
.code-bar .dots span { width: 11px; height: 11px; border-radius: 50%; }
.code-bar .filename { font-size: 12px; color: rgba(255,255,255,.4); font-family: ui-monospace, Consolas, monospace; }
.code-body { padding: 24px; font-family: ui-monospace, Consolas, "Courier New", monospace; font-size: 14px; line-height: 1.85; color: #e2e8f0; overflow-x: auto; white-space: nowrap; }
.code-body .kw { color: #7dd3fc; }
.code-body .attr { color: #a5f3fc; }
.code-body .val { color: #86efac; }
.code-body .cm { color: rgba(255,255,255,.35); font-style: italic; }

/* Funciones avanzadas: el bloque oscuro de testimonios de la plantilla */
.ah-dark-section {
  background:
    radial-gradient(ellipse 45% 60% at 8% 20%, rgba(11,171,195,.22), transparent 70%),
    radial-gradient(ellipse 40% 55% at 95% 85%, rgba(20,104,194,.3), transparent 70%),
    #0B1528;
}
.ah-dark-section .section-title h2 { color: #fff; }
.ah-dark-section .section-title p { color: rgba(255,255,255,.7); }
.testimonial-item.style-one.ah-adv { height: calc(100% - 30px); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); padding: 30px 26px; }
.ah-adv h6 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.ah-adv p { color: rgba(255,255,255,.72) !important; line-height: 1.65; margin: 0; }
.ah-adv-ico { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; background: var(--ah-grad); margin-bottom: 18px; }

/* Roadmap */
.iconic-info-box.style-one.ah-roadmap { padding-top: 58px; }
.ah-roadmap .icon { background: var(--ah-suave); }
.ah-emoji { font-size: 28px; line-height: 1; }
.ah-rm-badge { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.ah-rm-soon { background: rgba(20,104,194,.12); color: var(--ah-azul-2); }
.ah-rm-next { background: rgba(11,171,195,.14); color: #087f91; }
.ah-rm-future { background: #EEF1F6; color: #5b6578; }
.ah-rm-ok { background: rgba(16,185,129,.14); color: #047857; }
.ah-stats { margin-top: 40px; padding: 34px 0 0; border-top: 1px solid var(--ah-borde); row-gap: 26px; }

/* Precio: una tarjeta, sin cifra */
.ah-precio { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12) !important; padding: 44px 40px; }
.ah-precio .pricing-head .package { display: inline-block; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #7fe3f2; margin-bottom: 10px; }
.pricing-item.style-one.ah-precio .pricing-head h3 { color: #fff; font-size: 40px; margin-bottom: 10px; }
.ah-precio-d { color: rgba(255,255,255,.7); margin-bottom: 26px; }
.ah-precio .pricing-body { margin-top: 34px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); }
.ah-precio .ah-check-list li { color: rgba(255,255,255,.85); }
.ah-precio .ah-check-list li strong { color: #fff; }
.ah-precio .ah-check-list li i { background: rgba(11,171,195,.22); color: #7fe3f2; }
.ah-check-cols { columns: 2; column-gap: 30px; }
.ah-check-cols li { break-inside: avoid; }
.ah-precio-nota { color: rgba(255,255,255,.6); font-size: 14px; }
.pricing-section .section-title.title-white p { color: rgba(255,255,255,.72); }
.title-white .sub-title.style-one, .intro-wrapper .sub-title.style-one { background: none; -webkit-text-fill-color: #7fe3f2; color: #7fe3f2; }
.ah-precio-nota strong { color: #fff; }

/* Integraciones */
.ah-intg { height: calc(100% - 24px); margin-bottom: 24px; text-align: center; background: #fff; border: 1px solid var(--ah-borde); border-radius: 16px; padding: 24px 14px; }
.ah-intg h4 { font-size: 16px; margin: 10px 0 6px; }
.ah-intg p { font-size: 13px; line-height: 1.5; margin: 0; }

/* Cierre */
.ah-cta { padding: 0 0 110px; }
.ah-cta .cta-wrapper_one { background: linear-gradient(120deg, #0B2A66 0%, #0B3D91 45%, #0A7F98 100%); border-radius: 22px; padding: 56px 60px; overflow: hidden; }
.ah-cta .cta-one_content-box h2 { color: #fff; }
.ah-cta .cta-one_content-box > p { color: rgba(255,255,255,.85); font-weight: 400; margin-bottom: 30px; }
.ah-cta .cta-one_content-box > p strong { color: #fff; }
.ah-btn-ghost-dark { color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; padding: 13px 26px; }
.ah-btn-ghost-dark:hover { color: var(--ah-azul); background: #fff; }
.ah-cta-nota { font-size: 13px !important; color: rgba(255,255,255,.6) !important; margin: 22px 0 0 !important; font-weight: 400 !important; }
.ah-cta-img { text-align: center; }
.ah-cta-img img { width: 210px; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); background: #fff; border-radius: 40px; padding: 26px; }

/* ── 4 · Contacto, pie, idioma, WhatsApp ───────────────────────── */
.ah-contacto { background: #fff; }
.ct-wa { display: flex; align-items: center; gap: 14px; padding: 16px 20px; margin-top: 8px; border-radius: 14px; background: #128c4b; color: #fff; text-decoration: none; box-shadow: 0 14px 30px -14px rgba(37,211,102,.7); transition: transform .2s; }
.ct-wa:hover { color: #fff; transform: translateY(-2px); }
.ct-wa-ico { font-size: 30px; line-height: 1; }
.ct-wa-txt { display: flex; flex-direction: column; line-height: 1.35; }
.ct-wa-txt strong { font-size: 17px; }
.ct-wa-txt span { font-size: 14px; opacity: .9; }
.ct-puntos { list-style: none; padding: 0; margin: 26px 0 0; }
.ct-puntos li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; line-height: 1.5; }
.ct-puntos i { color: var(--ah-azul-2); font-size: 17px; line-height: 1.5; }
.ct-puntos a { color: var(--ah-azul-2); font-weight: 600; }
.ah-form-card { background: #fff; border: 1px solid var(--ah-borde); border-radius: 20px; padding: 34px; box-shadow: 0 30px 60px -30px rgba(11,61,145,.3); }
.ct-label { display: block; font-size: 14px; font-weight: 600; color: var(--ah-tinta); margin-bottom: 6px; }
.ct-input { width: 100%; padding: 12px 14px; border: 1px solid var(--ah-borde); border-radius: 10px; font: 400 15px var(--font); color: var(--ah-tinta); background: var(--ah-suave); transition: border-color .2s, box-shadow .2s, background .2s; }
.ct-input::placeholder { color: #667085; }
.ct-input:focus-visible { outline: 2px solid var(--ah-azul-2); outline-offset: 2px; }
.ct-input:focus { background: #fff; border-color: var(--ah-azul-2); box-shadow: 0 0 0 3px rgba(20,104,194,.14); }
textarea.ct-input { resize: vertical; min-height: 120px; }
.ct-check { display: flex; gap: 10px; font-size: 14px; color: var(--ah-texto); cursor: pointer; }
.ct-check input { margin-top: 3px; width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--ah-azul-2); }
.ct-check a { color: var(--ah-azul-2); font-weight: 600; }
.ct-submit { width: 100%; border: 0; padding: 15px 22px !important; font-size: 16px; cursor: pointer; }
.ct-submit:disabled { opacity: .6; cursor: default; }
.ct-recaptcha { font-size: 12px; color: #667085; margin: 12px 0 0; text-align: center; }
.grecaptcha-badge { visibility: hidden; }
/* El campo trampa no va con display:none: hay bots que se saltan lo que no se pinta. */
.ct-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-ok, .ct-error { border-radius: 14px; padding: 18px 22px; }
.ct-ok { display: flex; gap: 14px; align-items: flex-start; background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.3); }
.ct-ok i { color: #10b981; font-size: 24px; line-height: 1.2; }
.ct-ok strong { display: block; color: var(--ah-tinta); }
.ct-ok p { margin: 4px 0 0; }
.ct-error { background: rgba(239,68,68,.07); border: 1px solid rgba(239,68,68,.3); margin-bottom: 20px; color: #b91c1c; }
.ct-error ul { margin: 0; padding-left: 18px; }

/* Pie */
.ah-footer { background: var(--ah-suave); border-top: 1px solid var(--ah-borde); }
.ah-footer .footer-logo img { width: 200px; height: auto; }
.ah-footer .footer-content p { line-height: 1.7; }
.ah-footer .footer-title { font-size: 17px; margin-bottom: 18px; }
.ah-footer .footer_widget_nav_menu ul { list-style: none; padding: 0; }
.ah-footer .footer_widget_nav_menu ul li { margin-bottom: 10px; }
.ah-footer .footer_widget_nav_menu ul li a { color: var(--ah-texto); }
.ah-footer .footer_widget_nav_menu ul li a:hover { color: var(--ah-azul-2); }
.ah-ftr-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #0f7a40; }
.ah-ftr-wa i { color: #25d366; font-size: 18px; }
.ah-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.ah-copy p { margin: 0; font-size: 14px; }
.ah-copy-legal a { color: var(--ah-texto); margin-left: 18px; font-size: 14px; }
.ah-copy-legal a:first-child { margin-left: 0; }
.ah-copy-legal a:hover { color: var(--ah-azul-2); }

.ftr-geo { margin-bottom: 30px; border: 1px solid var(--ah-borde); border-radius: 14px; background: #fff; }
.ftr-geo-box + .ftr-geo-box { border-top: 1px solid var(--ah-borde); }
.ftr-geo summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; cursor: pointer; font-weight: 600; color: var(--ah-tinta); }
.ftr-geo summary::-webkit-details-marker { display: none; }
.ftr-geo summary i { color: var(--ah-azul-2); margin-right: 6px; }
.ftr-geo-plus { font-size: 20px; line-height: 1; transition: transform .2s; color: var(--ah-azul-2); }
.ftr-geo-box[open] .ftr-geo-plus { transform: rotate(45deg); }
.ftr-geo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 18px; padding: 4px 18px 18px; max-height: 420px; overflow-y: auto; }
.ftr-geo-grid a { font-size: 14px; color: var(--ah-texto); padding: 3px 0; }
.ftr-geo-grid a:hover { color: var(--ah-azul-2); }

/* Selector de idioma */
.hd-lang { position: relative; }
.hd-lang > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 8px; border: 1px solid #c9d3e1; background: #fff; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ah-tinta); }
.hd-lang > summary::-webkit-details-marker { display: none; }
.hd-lang > summary:hover, .hd-lang[open] > summary { border-color: var(--ah-azul-2); color: var(--ah-azul-2); }
.hd-lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; background: #fff; border: 1px solid var(--ah-borde); border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(15,27,51,.25); z-index: 1001; }
.hd-lang-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ah-tinta); font-size: 14px; }
.hd-lang-menu a:hover { background: var(--ah-suave); }
.hd-lang-menu a.on { font-weight: 700; }
.hd-lang-cod { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; padding: 2px 6px; border-radius: 6px; background: var(--ah-suave); font-size: 12px; font-weight: 700; }
.hd-lang-menu a.on .hd-lang-cod { background: var(--ah-grad); color: #fff; }

/* WhatsApp flotante */
.hd-wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 990; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; background: #128c4b; color: #fff; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(37,211,102,.75); transition: transform .2s; }
.hd-wa-float:hover { color: #fff; transform: translateY(-2px); }
.hd-wa-float .bi-whatsapp { font-size: 22px; }
body:has(.hd-ck) .hd-wa-float { display: none; }

/* ── 5 · Páginas legales ───────────────────────────────────────── */
.ah-legal { padding: 170px 0 90px; background: linear-gradient(180deg, #F2F8FD 0, #fff 360px); }
.ah-legal .container { max-width: 860px; }
.ah-legal-title { font-size: 42px; line-height: 1.2; margin-bottom: 10px; color: var(--ah-tinta); }
.ah-legal-sub { color: var(--ah-texto); margin-bottom: 20px; }
.ah-legal h2 { font-size: 22px; color: var(--ah-tinta); }
.ah-legal p, .ah-legal li { line-height: 1.75; }
.ah-legal .table { --bs-table-bg: transparent; }
.ah-legal .table th { color: var(--ah-tinta); font-weight: 600; }
.btn-price-primary, .btn-price-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 8px; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.btn-price-primary { background: var(--ah-grad); color: #fff; }
.btn-price-outline { background: #fff; color: var(--ah-tinta); border-color: #c9d3e1; }
.btn-price-outline:hover { border-color: var(--ah-azul-2); color: var(--ah-azul-2); }

/* ── 6 · Animación de entrada y responsive ─────────────────────── */
/* Sólo se ocultan si web.js ha marcado <html class="ah-js">: sin JS, todo
   se ve desde el principio. */
.ah-js .ah-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.ah-js .ah-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ah-js .ah-reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1199.98px) {
  .ac-nav-menu:not(.menu-on) { visibility: hidden; transition: left .5s, visibility 0s .5s; }
  .ac-nav-menu.menu-on { visibility: visible; }
  .hero-wrapper .hero-content .heading-title { font-size: 44px; }
  .ac-nav-menu .main-menu ul li a { color: var(--ah-tinta); }
  .nav-button .theme-btn { width: 100%; }
}
@media (max-width: 991.98px) {
  .ah-hero .hero-wrapper { padding: 140px 0 50px; }
  .pm-sidebar { display: none; }
  .ah-cta .cta-wrapper_one { padding: 40px 30px; }
  .ah-check-cols { columns: 1; }
}
@media (max-width: 767.98px) {
  .transparent-header { top: 0; }
  .ac-header-one__logo img { max-width: 44vw; }
  .ac-header-one__right-btn { gap: 8px; }
  .header-navigation .navbar-toggler { margin-left: 4px; }
  .hero-wrapper .hero-content .heading-title { font-size: 34px; line-height: 1.2; }
  .hero-wrapper .hero-content p.para-one { font-size: 16px; }
  .pm-stat-row { grid-template-columns: repeat(2, 1fr); }
  .pm-content { padding: 14px; }
  .intro-wrapper { padding: 40px 22px 0; }
  .ah-form-card { padding: 22px; }
  .ah-precio { padding: 32px 22px; }
  .ah-precio .pricing-head h3 { font-size: 30px; }
  .ah-legal { padding-top: 140px; }
  .ah-legal-title { font-size: 32px; }
  .hd-lang-cur { display: none; }
  .hd-wa-float { right: 16px; bottom: 16px; padding: 14px; }
  .hd-wa-float-txt { display: none; }
  .hd-wa-float .bi-whatsapp { font-size: 26px; }
  .ah-copy { justify-content: center; text-align: center; }
  .ah-copy-legal a { margin: 0 8px; }
}
