@charset "UTF-8";

/*
 * Pasión por Viajar — interfaz editorial de viajes.
 * Bootstrap resuelve la base responsive; esta hoja conserva la identidad,
 * el contenido y los componentes propios del proyecto.
 */

:root {
    --background-color: #f9fafb;
    --default-color: #374151;
    --heading-color: #111827;
    --accent-color: #0bb2ac;
    --accent-dark: #087a78;
    --accent-soft: #dcf8f5;
    --brand-pink: #ef238c;
    --brand-gold: #f2b335;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
    --travel-line: #dfe5e9;
    --travel-muted: #667085;
    --travel-dark: #07181d;
    --travel-shadow: 0 16px 38px rgba(17, 24, 39, .075);
    --travel-shadow-hover: 0 22px 50px rgba(17, 24, 39, .12);
    --travel-radius: 14px;
    --container: 1380px;
}

html {
    background: var(--background-color);
    scroll-padding-top: 92px;
}

body {
    color: var(--default-color);
    background: var(--background-color);
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

h1,
h2,
h3,
h4 {
    color: var(--heading-color);
    font-family: "Raleway", "Poppins", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -.035em;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - clamp(32px, 5.5vw, 92px)), var(--container));
    max-width: none;
    padding-inline: 0;
}

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 70px 0;
}

.section-white {
    background: #fff;
}

.section-tint {
    background: #f3f7f7;
}

.section-head {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-head[style*="text-align:center"],
.section-head:has(.section-lead[style*="margin"]) {
    margin-inline: auto;
}

.eyebrow {
    gap: 10px;
    margin-bottom: 14px;
    color: var(--accent-dark);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.eyebrow::before {
    width: 28px;
    height: 2px;
    background: var(--accent-color);
}

.section-title {
    margin-bottom: 16px;
    color: var(--heading-color);
    font-size: clamp(2.05rem, 3.4vw, 3.25rem);
    line-height: 1.12;
}

.section-title span,
.title-accent {
    color: var(--accent-dark);
}

.section-lead {
    max-width: 720px;
    color: var(--travel-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.btn {
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 7px;
    box-shadow: none;
    font-size: .86rem;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease, border-color .25s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    border-color: var(--accent-color);
    background: var(--accent-color);
    box-shadow: 0 10px 24px rgba(11, 178, 172, .2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
}

.btn-outline {
    border-color: var(--accent-color);
    color: var(--accent-dark);
    background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    color: #fff;
    background: var(--accent-dark);
}

.btn-whatsapp {
    border-color: #20bf6b;
    background: #20bf6b;
    box-shadow: 0 10px 24px rgba(32, 191, 107, .2);
}

.text-link {
    color: var(--accent-dark);
    font-size: .88rem;
    font-weight: 700;
}

/* Encabezado flotante inspirado en la referencia */
.site-header,
.site-header.scrolled {
    top: 14px;
    right: auto;
    left: 50%;
    width: min(calc(100% - 30px), 1430px);
    height: 72px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 999px;
    background: rgba(4, 20, 25, .9);
    box-shadow: 0 14px 38px rgba(3, 18, 22, .22);
    backdrop-filter: blur(16px);
    transform: translateX(-50%);
    transition: top .3s ease, height .3s ease, background .3s ease, box-shadow .3s ease;
    animation: travel-header-in .65s cubic-bezier(.22, .75, .2, 1) both;
}

.site-header.scrolled {
    top: 8px;
    height: 66px;
    background: rgba(4, 20, 25, .97);
    box-shadow: 0 18px 46px rgba(3, 18, 22, .28);
}

.site-header .header-inner {
    width: 100%;
    padding: 0 12px 0 16px;
}

.site-header .brand {
    gap: 10px;
}

.site-header .brand img {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: none;
}

.site-header .brand-text strong {
    font-size: .96rem;
    letter-spacing: -.02em;
}

.site-header .brand-text small {
    margin-top: 3px;
    color: rgba(255, 255, 255, .65);
    font-size: .57rem;
    letter-spacing: .11em;
}

.site-header .main-nav {
    gap: 2px;
}

.site-header .nav-link {
    padding: 9px 11px;
    border-radius: 0;
    color: rgba(255, 255, 255, .82);
    font-size: .8rem;
    font-weight: 600;
    font-family: "Poppins", system-ui, sans-serif;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: #fff;
    background: transparent;
}

.site-header .nav-link::after {
    right: 12px;
    bottom: 3px;
    left: 12px;
    height: 2px;
    background: var(--accent-color);
}

.site-header .header-cta {
    min-height: 42px;
    padding: 9px 18px;
    border-radius: 999px;
}

@keyframes travel-header-in {
    from { opacity: 0; transform: translate(-50%, -18px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Banners */
.home-hero {
    min-height: 720px;
    border-radius: 0 0 30px 30px;
    box-shadow: none;
}

.hero-slide::after {
    background:
        linear-gradient(90deg, rgba(2, 18, 23, .76), rgba(2, 18, 23, .35) 58%, rgba(2, 18, 23, .52)),
        linear-gradient(0deg, rgba(2, 18, 23, .65), transparent 60%);
}

.hero-content {
    min-height: 720px;
    max-width: 900px;
    padding-top: 150px;
    padding-bottom: 86px;
}

.hero-badge {
    margin-bottom: 20px;
    padding: 8px 14px;
    border-color: rgba(255, 255, 255, .32);
    background: rgba(4, 20, 25, .3);
    font-size: .76rem;
}

.hero-title {
    max-width: 880px;
    margin-bottom: 20px;
    font-size: clamp(3rem, 5.4vw, 4.9rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.hero-title span {
    color: #ff72b1;
}

.hero-title .hero-title-main {
    color: #fff;
}

.hero-copy {
    max-width: 670px;
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.75;
}

.hero-arrow {
    width: 46px;
    height: 46px;
    border-color: rgba(255, 255, 255, .34);
    background: rgba(4, 20, 25, .3);
}

.hero-dot.active {
    background: var(--accent-color);
}

.page-hero {
    height: 390px;
    min-height: 390px;
    border-radius: 0;
    box-shadow: none;
    background-position: center;
}

.page-hero::before {
    background: linear-gradient(90deg, rgba(3, 17, 21, .72), rgba(3, 17, 21, .43), rgba(3, 17, 21, .68));
}

.page-hero .container {
    display: flex;
    justify-content: center;
}

.page-hero-content {
    max-width: 860px;
    padding-top: 130px;
    padding-bottom: 48px;
    text-align: center;
}

.page-hero .hero-badge {
    margin-inline: auto;
}

.page-hero h1 {
    max-width: 850px;
    margin-bottom: 12px;
    font-size: clamp(2.35rem, 4.2vw, 3.6rem);
    line-height: 1.08;
    text-wrap: balance;
}

.page-hero .title-accent {
    color: #66e2d4;
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto 15px;
    font-size: .98rem;
}

.breadcrumbs {
    justify-content: center;
    font-size: .78rem;
}

/* Franja de confianza */
.trust-strip {
    position: relative;
    z-index: 5;
    width: min(calc(100% - 42px), 1240px);
    margin-top: -48px;
    padding: 24px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(100deg, var(--accent-dark), var(--accent-color));
    box-shadow: 0 18px 50px rgba(11, 178, 172, .22);
}

.trust-item {
    min-height: 62px;
    padding: 0 22px;
    border-right-color: rgba(255, 255, 255, .25);
}

.trust-icon {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

.trust-item strong,
.trust-item small {
    color: #fff;
}

.trust-item small {
    opacity: .76;
}

/* Composición de Nosotros */
.split-layout {
    gap: clamp(52px, 7vw, 100px);
}

.about-collage {
    position: relative;
    width: min(100%, 650px);
    min-height: 500px;
}

.about-collage-photo {
    position: absolute;
    overflow: hidden;
    border-radius: 12px;
    background: #e8eeee;
    box-shadow: var(--travel-shadow);
}

.about-collage-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-collage-primary {
    top: 0;
    right: 0;
    width: 66%;
    height: 84%;
}

.about-collage-secondary {
    bottom: 0;
    left: 0;
    width: 48%;
    height: 62%;
    border: 8px solid var(--background-color);
}

.about-experience-badge {
    position: absolute;
    z-index: 2;
    right: 10%;
    bottom: 3%;
    display: flex;
    min-width: 225px;
    padding: 20px 22px;
    border-radius: 10px;
    color: #fff;
    background: var(--accent-color);
    box-shadow: 0 16px 34px rgba(11, 178, 172, .3);
    flex-direction: column;
}

.about-experience-badge strong {
    color: #fff;
    font-size: 1.15rem;
}

.about-experience-badge span {
    color: rgba(255, 255, 255, .84);
    font-size: .78rem;
}

.check-list {
    gap: 12px;
}

.check-list i {
    color: #fff;
    background: var(--accent-color);
}

/* Tarjetas blancas con línea de acento */
.category-card,
.feature-card,
.purpose-card,
.fact-card,
.reserve-card,
.guide-card,
.cert-card,
.contact-panel,
.form-panel,
.faq-item,
.planning-note,
.catalog-service-card,
.blog-featured-card,
.blog-side-card,
.blog-grid-card,
.blog-editorial-card {
    border: 1px solid var(--travel-line);
    border-left: 4px solid rgba(11, 178, 172, .28);
    border-radius: 10px;
    background: var(--surface-color);
    box-shadow: 0 10px 26px rgba(17, 24, 39, .045);
    transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}

.category-card:hover,
.category-card:focus-visible,
.feature-card:hover,
.purpose-card:hover,
.fact-card:hover,
.reserve-card:hover,
.guide-card:hover,
.cert-card:hover,
.catalog-service-card:hover,
.blog-featured-card:hover,
.blog-side-card:hover,
.blog-grid-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--travel-shadow-hover);
    transform: translateY(-4px);
}

.category-card {
    min-height: 250px;
    padding: 29px;
    overflow: visible;
}

.category-card::after,
.purpose-card::after {
    display: none;
}

.category-icon,
.feature-card i,
.purpose-card i,
.reserve-card > i {
    border-radius: 8px;
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.category-card:nth-child(2n) .category-icon,
.category-card:nth-child(3n) .category-icon {
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.feature-grid {
    gap: 22px;
}

.feature-card {
    min-height: 220px;
    padding: 30px 25px;
    text-align: left;
}

.feature-card i {
    width: 48px;
    height: 48px;
    margin: 0 0 20px;
    font-size: 1.25rem;
}

.feature-card h3 {
    font-size: 1.12rem;
}

.feature-card p {
    color: var(--travel-muted);
}

.purpose-card {
    padding: 34px;
}

.facts-grid {
    gap: 13px;
}

.fact-card {
    padding: 17px;
}

.legal-card {
    border-radius: 12px;
    background: linear-gradient(120deg, var(--accent-dark), #123946);
}

/* Proceso Bootstrap */
.travely-process {
    width: min(100%, 1050px);
    margin-inline: auto;
}

.travely-process .accordion-item {
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid var(--travel-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .045);
}

.travely-process .accordion-button {
    display: grid;
    min-height: 76px;
    padding: 18px 22px;
    color: var(--heading-color);
    background: #fff;
    box-shadow: none;
    font-size: 1rem;
    font-weight: 600;
    grid-template-columns: 92px 42px 1fr auto;
}

.travely-process .accordion-button:not(.collapsed) {
    color: var(--accent-dark);
    background: #eefaf8;
    box-shadow: inset 4px 0 var(--accent-color);
}

.travely-process .accordion-button:focus {
    border-color: transparent;
    box-shadow: inset 4px 0 var(--accent-color);
}

.travely-process .accordion-button i {
    color: var(--accent-color);
    font-size: 1.35rem;
}

.travely-process .process-number {
    color: var(--accent-color);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.travely-process .accordion-body {
    padding: 0 22px 22px 156px;
    color: var(--travel-muted);
    background: #eefaf8;
}

/* Servicios: portada de catálogos */
.catalog-landing,
.catalog-browser,
.catalog-results-page {
    background: var(--background-color);
}

.catalog-browser-head {
    gap: 40px;
}

.catalog-browser-head > div {
    max-width: 700px;
}

.catalog-landing-search {
    gap: 10px;
    margin-top: 30px;
    padding: 9px;
    border: 1px solid var(--travel-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(17, 24, 39, .05);
}

.catalog-landing-search label {
    min-height: 54px;
    border-radius: 7px;
    background: #f5f7f8;
}

.catalog-landing-search .btn {
    min-height: 54px;
}

.catalog-category-section {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.catalog-category-section::before {
    display: none;
}

.catalog-category-heading {
    align-items: end;
}

.catalog-category-heading h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.catalog-postcard-list {
    gap: 22px;
}

.catalog-postcard,
.catalog-postcard:nth-child(even) {
    height: 278px;
    min-height: 278px;
    overflow: hidden;
    border: 1px solid var(--travel-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, .055);
    transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}

.catalog-postcard:hover,
.catalog-postcard:focus-within {
    border-color: var(--catalog-accent, var(--accent-color));
    box-shadow: var(--travel-shadow-hover);
    transform: translateY(-4px);
}

.catalog-postcard-media,
.catalog-postcard:nth-child(even) .catalog-postcard-media {
    clip-path: none;
}

.catalog-postcard-media::after {
    background: linear-gradient(90deg, transparent 65%, rgba(11, 178, 172, .1));
}

.catalog-postcard-content {
    padding: 34px 42px;
}

.catalog-postcard-content h3 {
    font-size: clamp(1.55rem, 2.3vw, 2rem);
}

.catalog-postcard-bar {
    width: 48px;
    height: 2px;
    margin-bottom: 16px;
}

.catalog-postcard:hover .catalog-postcard-bar {
    width: 90px;
}

.catalog-postcard-content p {
    margin-bottom: 19px;
    color: var(--travel-muted);
    font-size: .9rem;
    line-height: 1.75;
}

.catalog-postcard-button {
    min-height: 43px;
    padding: 9px 17px;
    border-radius: 7px;
    box-shadow: none;
}

/* Interior de cada catálogo: modelo Featured Trips */
.catalog-page-toolbar {
    margin-bottom: 30px;
}

.catalog-active-heading {
    align-items: end;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--travel-line);
}

.catalog-controls {
    top: 84px;
    padding: 9px;
    border: 1px solid var(--travel-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 25px rgba(17, 24, 39, .06);
}

.catalog-search {
    min-height: 51px;
    border-radius: 7px;
    background: #f5f7f8;
}

.catalog-card-grid {
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-service-card {
    display: grid;
    min-height: 300px;
    overflow: hidden;
    grid-template-columns: minmax(220px, 41%) 1fr;
}

.catalog-card-visual {
    min-height: 300px;
    border-radius: 0;
}

.catalog-card-visual::after {
    background: linear-gradient(0deg, rgba(3, 18, 22, .28), transparent 58%);
}

.catalog-card-number,
.catalog-card-icon,
.catalog-card-visual small,
.catalog-card-meta {
    display: none;
}

.catalog-card-content {
    padding: 27px 28px;
}

.catalog-card-content h3 {
    margin-bottom: 9px;
    font-size: 1.24rem;
    line-height: 1.25;
}

.catalog-card-content > p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 13px;
    color: var(--travel-muted);
    font-size: .84rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.catalog-card-preview {
    gap: 5px;
    margin-bottom: 16px;
}

.catalog-card-preview li {
    color: var(--travel-muted);
    font-size: .76rem;
}

.catalog-card-preview li:nth-child(n+4) {
    display: none;
}

.catalog-card-preview i {
    color: var(--accent-color);
}

.catalog-card-actions {
    padding-top: 14px;
    border-top: 1px solid var(--travel-line);
}

.catalog-program-button {
    color: var(--accent-dark);
}

.catalog-quote-link {
    color: #fff;
    background: #20bf6b;
}

/* Galería estilo mosaico */
.gallery-filters {
    margin-bottom: 36px;
}

.filter-btn {
    padding: 10px 17px;
    border-radius: 7px;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
}

.gallery-grid {
    gap: 22px;
}

.gallery-item {
    min-height: 310px;
    border: 1px solid var(--travel-line);
    border-radius: 10px;
    box-shadow: none;
}

.gallery-item::before {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--accent-color);
    content: "\F14D";
    font-family: "bootstrap-icons";
    font-size: 1.25rem;
    opacity: 0;
    transform: translate(-50%, -35%) scale(.75);
    transition: opacity .3s ease, transform .3s ease;
}

.gallery-item::after {
    background: linear-gradient(transparent 35%, rgba(3, 18, 22, .84));
    transition: background .3s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
    border-color: var(--accent-color);
}

.gallery-item:hover::before,
.gallery-item:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-caption {
    right: 22px;
    bottom: 19px;
    left: 22px;
}

.gslide-description {
    background: #fff;
}

.gslide-title {
    color: var(--heading-color) !important;
}

/* Galería en movimiento del Inicio conserva sus tres cintas */
.home-gallery-section {
    color: var(--heading-color);
    background: #f2f7f6;
}

.home-gallery-section .eyebrow,
.home-gallery-section .section-title,
.home-gallery-section .home-section-heading p,
.home-gallery-section .text-link {
    color: inherit;
}

.home-gallery-section .section-title span,
.home-gallery-section .eyebrow,
.home-gallery-section .text-link {
    color: var(--accent-dark);
}

.film-gallery::before,
.film-gallery::after {
    background: linear-gradient(90deg, #f2f7f6, transparent);
}

.film-gallery::after {
    background: linear-gradient(270deg, #f2f7f6, transparent);
}

.film-frame {
    border: 3px solid #fff;
    border-radius: 9px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .08);
}

/* Blog editorial */
.blog-showcase-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.blog-kicker {
    padding: 5px 13px;
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.blog-showcase-heading h2 {
    margin: 14px 0 9px;
    font-size: clamp(2.15rem, 3.6vw, 3.25rem);
}

.blog-showcase-heading p {
    color: var(--travel-muted);
}

.blog-showcase-grid {
    gap: 24px;
}

.blog-featured-card,
.blog-side-card {
    overflow: hidden;
    border-left-width: 1px;
    border-top: 3px solid transparent;
    border-radius: 10px;
    background: #fff;
}

.blog-featured-card:hover,
.blog-side-card:hover {
    border-top-color: var(--accent-color);
}

.blog-featured-card {
    min-height: 560px;
}

.blog-featured-card .blog-card-image {
    height: 300px;
    flex-basis: 300px;
}

.blog-featured-card .blog-card-content {
    padding: 27px 29px;
}

.blog-side-card {
    min-height: 258px;
}

.blog-side-card .blog-card-image {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
}

.article-tag {
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.blog-editorial-feature {
    margin-bottom: 52px;
}

.blog-editorial-card {
    display: grid;
    min-height: 430px;
    overflow: hidden;
    border-left-width: 1px;
    border-top: 3px solid var(--accent-color);
    grid-template-columns: minmax(340px, .85fr) minmax(420px, 1.35fr);
}

.blog-editorial-card .blog-card-image {
    grid-column: 2;
    grid-row: 1;
}

.blog-editorial-card .blog-card-content {
    display: flex;
    padding: 54px 48px;
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    justify-content: center;
}

.blog-editorial-card h3 {
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.18;
}

.blog-editorial-card .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-topic-bar {
    display: flex;
    gap: 0;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--travel-line);
}

.blog-topic-bar span {
    padding: 13px 24px;
    border-bottom: 2px solid transparent;
    color: var(--travel-muted);
    font-size: .83rem;
    font-weight: 600;
}

.blog-topic-bar span:first-child {
    border-bottom-color: var(--accent-color);
    color: var(--accent-dark);
}

.blog-post-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-grid-card {
    display: flex;
    min-height: 430px;
    overflow: hidden;
    border-left-width: 1px;
    border-top: 3px solid transparent;
    flex-direction: column;
}

.blog-grid-card:hover {
    border-top-color: var(--accent-color);
}

.blog-grid-card .blog-card-image {
    height: 205px;
    flex: 0 0 205px;
}

.blog-grid-card .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-grid-card .blog-card-content {
    display: flex;
    height: 100%;
    padding: 23px;
    flex-direction: column;
}

.blog-grid-card h3 {
    font-size: 1.12rem;
}

.blog-grid-card p {
    display: -webkit-box;
    overflow: hidden;
    color: var(--travel-muted);
    font-size: .84rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-grid-card .text-link {
    margin-top: auto;
}

/* Formularios, contacto y llamados */
.contact-layout {
    gap: 30px;
}

.contact-panel,
.form-panel {
    padding: 34px;
}

.contact-row > i {
    color: var(--accent-color);
    background: var(--accent-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
    min-height: 50px;
    border-radius: 7px;
    background: #fbfcfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(11, 178, 172, .12);
}

.faq-item {
    border-left-width: 1px;
}

.faq-item[open] {
    border-color: var(--accent-color);
}

.planning-note {
    border-left-color: var(--accent-color);
}

.cta-band {
    border-radius: 12px;
    background: linear-gradient(110deg, var(--accent-dark), var(--accent-color));
    box-shadow: 0 18px 44px rgba(11, 178, 172, .18);
}

.cta-band::after {
    opacity: .13;
}

.home-contact-section {
    padding-inline: 0;
}

.home-contact-card {
    border-radius: 0;
}

/* Pie y accesos */
.site-footer {
    background: #06181d;
    overflow: hidden;
    overflow: clip;
}

.footer-main {
    gap: 50px;
}

.footer-socials a,
.floating-dock-link,
.back-to-top {
    border-radius: 8px;
}

.floating-dock {
    width: 56px;
    right: 18px;
    bottom: 18px;
    border-radius: 14px;
    background: rgba(4, 24, 29, .97);
}

.floating-dock-link,
.back-to-top {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
}

/* AOS: el contenido permanece accesible si JavaScript no carga */
html:not(.travely-ready) [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

[data-aos] {
    will-change: transform, opacity;
}

/* Recorridos más cortos: mantienen la dirección de entrada y se sienten suaves. */
html.travely-ready [data-aos][data-aos="fade-left"]:not(.aos-animate) {
    transform: translate3d(48px, 0, 0);
}

html.travely-ready [data-aos][data-aos="fade-right"]:not(.aos-animate) {
    transform: translate3d(-48px, 0, 0);
}

html.travely-ready [data-aos][data-aos="fade-up"]:not(.aos-animate) {
    transform: translate3d(0, 38px, 0);
}

html.travely-ready [data-aos][data-aos="fade-down"]:not(.aos-animate) {
    transform: translate3d(0, -32px, 0);
}

html.travely-ready [data-aos][data-aos="zoom-in"]:not(.aos-animate) {
    transform: scale(.94);
}

html.travely-ready [data-aos][data-aos="fade-up-right"]:not(.aos-animate) {
    transform: translate3d(-38px, 34px, 0);
}

html.travely-ready [data-aos][data-aos="fade-up-left"]:not(.aos-animate) {
    transform: translate3d(38px, 34px, 0);
}

html.travely-ready [data-aos][data-aos="fade-down-right"]:not(.aos-animate) {
    transform: translate3d(-38px, -30px, 0);
}

html.travely-ready [data-aos][data-aos="fade-down-left"]:not(.aos-animate) {
    transform: translate3d(38px, -30px, 0);
}

html.travely-ready [data-aos][data-aos="zoom-in-up"]:not(.aos-animate) {
    transform: translate3d(0, 30px, 0) scale(.95);
}

html.travely-ready [data-aos][data-aos="zoom-in-down"]:not(.aos-animate) {
    transform: translate3d(0, -26px, 0) scale(.95);
}

html.travely-ready [data-aos][data-aos="zoom-in-right"]:not(.aos-animate) {
    transform: translate3d(-34px, 0, 0) scale(.95);
}

html.travely-ready [data-aos][data-aos="zoom-in-left"]:not(.aos-animate) {
    transform: translate3d(34px, 0, 0) scale(.95);
}

html.travely-ready [data-aos][data-aos="zoom-out"]:not(.aos-animate) {
    transform: scale(1.07);
}

html.travely-ready [data-aos][data-aos="zoom-out-up"]:not(.aos-animate) {
    transform: translate3d(0, 28px, 0) scale(1.06);
}

html.travely-ready [data-aos][data-aos="zoom-out-down"]:not(.aos-animate) {
    transform: translate3d(0, -26px, 0) scale(1.06);
}

html.travely-ready [data-aos][data-aos="zoom-out-right"]:not(.aos-animate) {
    transform: translate3d(-32px, 0, 0) scale(1.06);
}

html.travely-ready [data-aos][data-aos="zoom-out-left"]:not(.aos-animate) {
    transform: translate3d(32px, 0, 0) scale(1.06);
}

html.travely-ready [data-aos][data-aos="slide-up"]:not(.aos-animate) {
    transform: translate3d(0, 30px, 0);
}

html.travely-ready [data-aos][data-aos="slide-down"]:not(.aos-animate) {
    transform: translate3d(0, -30px, 0);
}

html.travely-ready [data-aos][data-aos="slide-right"]:not(.aos-animate) {
    transform: translate3d(-44px, 0, 0);
}

html.travely-ready [data-aos][data-aos="slide-left"]:not(.aos-animate) {
    transform: translate3d(44px, 0, 0);
}

html.travely-ready [data-aos][data-aos="flip-up"]:not(.aos-animate) {
    transform: perspective(1400px) rotateX(-16deg) translate3d(0, 18px, 0);
}

html.travely-ready [data-aos][data-aos="flip-down"]:not(.aos-animate) {
    transform: perspective(1400px) rotateX(16deg) translate3d(0, -18px, 0);
}

html.travely-ready [data-aos][data-aos="flip-left"]:not(.aos-animate) {
    transform: perspective(1400px) rotateY(-16deg) translate3d(-16px, 0, 0);
}

html.travely-ready [data-aos][data-aos="flip-right"]:not(.aos-animate) {
    transform: perspective(1400px) rotateY(16deg) translate3d(16px, 0, 0);
}

/* Laptop y tablet */
@media (max-width: 1180px) {
    .site-header .brand-text small {
        display: none;
    }

    .site-header .nav-link {
        padding-inline: 8px;
        font-size: .76rem;
    }

    .catalog-card-grid {
        grid-template-columns: 1fr;
    }

    .catalog-service-card {
        min-height: 280px;
    }
}

@media (max-width: 1199px) {
    .site-header,
    .site-header.scrolled {
        top: 9px;
        right: 9px;
        left: 9px;
        width: auto;
        height: 64px;
        border-radius: 16px;
        transform: none;
        animation-name: travel-header-in-mobile;
    }

    @keyframes travel-header-in-mobile {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .site-header .brand img {
        width: 46px;
        height: 46px;
    }

    .site-header .main-nav {
        top: 0;
        right: 0;
        width: min(100vw, 390px);
        height: 100dvh;
        border-radius: 0;
        background: #fff;
    }

    .site-header .main-nav .nav-link {
        padding: 13px 12px;
        border-radius: 9px;
        color: var(--heading-color);
        font-size: .9rem;
    }

    .site-header .main-nav .nav-link:hover,
    .site-header .main-nav .nav-link.active {
        color: var(--accent-dark);
        background: var(--accent-soft);
    }

}

@media (max-width: 920px) {
    .home-hero,
    .hero-content {
        min-height: 670px;
    }

    .page-hero {
        height: 350px;
        min-height: 350px;
    }

    .page-hero-content {
        padding-top: 118px;
    }

    .section {
        padding: 82px 0;
    }

    .section-sm {
        padding: 58px 0;
    }

    .about-collage {
        min-height: 470px;
        margin-inline: auto;
    }

    .blog-editorial-card {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .blog-editorial-card .blog-card-image,
    .blog-editorial-card .blog-card-content {
        grid-column: 1;
    }

    .blog-editorial-card .blog-card-image {
        height: 340px;
        grid-row: 1;
    }

    .blog-editorial-card .blog-card-content {
        padding: 34px;
        grid-row: 2;
    }

    .blog-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Celular */
@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 68px 0;
    }

    .section-sm {
        padding: 48px 0;
    }

    .section-head {
        margin-bottom: 34px;
    }

    .hero-content {
        min-height: 620px;
        padding-top: 130px;
        padding-bottom: 72px;
    }

    .hero-title {
        font-size: clamp(2.35rem, 13vw, 3.15rem);
    }

    .hero-copy {
        font-size: .93rem;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .hero-arrow {
        top: auto;
        bottom: 18px;
        width: 40px;
        height: 40px;
        transform: none;
    }

    .hero-prev { left: 14px; }
    .hero-next { right: 14px; }
    .hero-dots { bottom: 34px; }

    .trust-strip {
        width: calc(100% - 28px);
        margin-top: -26px;
        padding: 14px;
    }

    .trust-item {
        padding-inline: 10px;
    }

    .page-hero {
        height: 330px;
        min-height: 330px;
    }

    .page-hero-content {
        padding-top: 108px;
        padding-bottom: 30px;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 10vw, 2.65rem);
    }

    .page-hero p {
        font-size: .87rem;
        line-height: 1.55;
    }

    .about-collage {
        min-height: 410px;
    }

    .about-collage-primary {
        width: 72%;
        height: 80%;
    }

    .about-collage-secondary {
        width: 52%;
        height: 57%;
        border-width: 6px;
    }

    .about-experience-badge {
        right: 4%;
        min-width: 195px;
        padding: 16px 18px;
    }

    .feature-card,
    .purpose-card,
    .category-card,
    .reserve-card,
    .guide-card,
    .contact-panel,
    .form-panel {
        padding: 24px 21px;
    }

    .travely-process .accordion-button {
        gap: 4px 10px;
        min-height: 82px;
        padding: 16px;
        grid-template-columns: 72px 32px 1fr auto;
        font-size: .9rem;
    }

    .travely-process .accordion-body {
        padding: 0 18px 20px;
    }

    .catalog-postcard,
    .catalog-postcard:nth-child(even) {
        height: auto;
        min-height: 0;
    }

    .catalog-postcard-content {
        padding: 25px 21px 27px;
    }

    .catalog-service-card {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .catalog-card-visual {
        min-height: 250px;
    }

    .catalog-card-content {
        padding: 25px 22px;
    }

    .catalog-controls {
        top: 78px;
    }

    .gallery-grid {
        gap: 14px;
    }

    .gallery-item {
        min-height: 270px;
    }

    .blog-topic-bar {
        overflow-x: auto;
        white-space: nowrap;
    }

    .blog-topic-bar span {
        padding-inline: 15px;
    }

    .blog-post-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid-card {
        min-height: 0;
    }

    .blog-editorial-card .blog-card-image {
        height: 250px;
    }

    .blog-editorial-card .blog-card-content {
        padding: 26px 22px;
    }

    .cta-band {
        padding: 32px 23px;
    }

    .floating-dock {
        right: 7px;
        bottom: 7px;
    }
}

/* Pantallas de poca altura */
@media (min-width: 681px) and (max-height: 820px) {
    .home-hero,
    .hero-content {
        min-height: 640px;
    }

    .hero-title {
        font-size: clamp(2.85rem, 5vw, 4.1rem);
    }
}

/* Monitores grandes y ultrapanorámicos */
@media (min-width: 1920px) {
    :root { --container: 1600px; }

    .site-header,
    .site-header.scrolled {
        width: min(calc(100% - 64px), 1600px);
    }

    .section {
        padding: 112px 0;
    }

    .home-hero,
    .hero-content {
        min-height: 790px;
    }

    .page-hero {
        height: 430px;
        min-height: 430px;
    }
}

@media (min-width: 2560px) {
    :root { --container: 2040px; }

    body { font-size: 17px; }

    .site-header,
    .site-header.scrolled {
        width: min(calc(100% - 96px), 2040px);
    }

    .home-hero,
    .hero-content {
        min-height: 840px;
    }

    .page-hero {
        height: 460px;
        min-height: 460px;
    }

    .catalog-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .blog-post-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ==============================================================
   Correcciones finales de composición, contraste y preguntas
   ============================================================== */

/* El cierre del Inicio termina exactamente donde comienza el pie. */
.home-contact-section.section {
    padding-block: 0;
}

/* La imagen lateral del Blog ocupa su columna completa. */
.blog-side-card {
    grid-template-columns: minmax(210px, 42%) minmax(0, 1fr);
}

.blog-side-card .blog-card-image {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 100%;
}

.blog-side-card .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Preguntas frecuentes en dos columnas independientes. */
.faq-list {
    display: grid;
    width: min(100%, 1220px);
    max-width: none;
    gap: 22px;
    align-items: start;
    margin-inline: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-column {
    display: grid;
    gap: 18px;
    align-content: start;
}

.faq-item {
    margin: 0;
    overflow: clip;
    border: 1px solid var(--travel-line);
    border-left: 3px solid rgba(11, 178, 172, .34);
    border-radius: 11px;
    background: var(--surface-color);
    box-shadow: 0 9px 25px rgba(17, 24, 39, .055);
    transition: border-color .28s ease, box-shadow .28s ease;
}

.faq-item[open] {
    border-color: var(--accent-color);
    box-shadow: 0 14px 34px rgba(17, 24, 39, .08);
}

.faq-item summary {
    display: grid;
    min-height: 80px;
    gap: 14px;
    align-items: center;
    padding: 17px 20px 17px 22px;
    list-style: none;
    cursor: pointer;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-number {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    color: var(--accent-dark);
    background: var(--accent-soft);
    font-family: "Roboto", sans-serif;
    font-size: .72rem;
    font-weight: 800;
    transition: color .25s ease, background .25s ease;
}

.faq-question {
    color: var(--heading-color);
    font-family: "Raleway", "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    transition: color .25s ease;
}

.faq-chevron {
    color: var(--travel-muted);
    font-size: 1.2rem;
    transition: color .3s ease, transform .38s cubic-bezier(.22, 1, .36, 1);
}

.faq-item[open] .faq-number {
    color: #fff;
    background: var(--accent-color);
}

.faq-item[open] .faq-question,
.faq-item[open] .faq-chevron {
    color: var(--accent-dark);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer p {
    margin: 0;
    padding: 0 66px 24px 70px;
    color: var(--travel-muted);
    font-size: .9rem;
    line-height: 1.8;
}

/* En oscuro todas las superficies y textos mantienen contraste real. */
html[data-theme="dark"] .planning-note {
    border-color: var(--travel-line);
    border-left-color: var(--accent-color);
    background: #13242a;
}

html[data-theme="dark"] .planning-note > i {
    color: var(--accent-color);
}

html[data-theme="dark"] .planning-note h3,
html[data-theme="dark"] .step-card h3,
html[data-theme="dark"] .contact-row strong,
html[data-theme="dark"] .form-group label,
html[data-theme="dark"] .catalog-postcard-content h3,
html[data-theme="dark"] .guide-card h3 {
    color: var(--heading-color);
}

html[data-theme="dark"] .planning-note p,
html[data-theme="dark"] .step-card p,
html[data-theme="dark"] .contact-panel > p,
html[data-theme="dark"] .form-panel > p,
html[data-theme="dark"] .contact-row span,
html[data-theme="dark"] .contact-row a,
html[data-theme="dark"] .form-note,
html[data-theme="dark"] .catalog-browser-head p,
html[data-theme="dark"] .catalog-category-heading p,
html[data-theme="dark"] .catalog-postcard-content p,
html[data-theme="dark"] .guide-card li,
html[data-theme="dark"] .check-list span {
    color: var(--travel-muted);
}

html[data-theme="dark"] .faq-item {
    border-color: var(--travel-line);
    border-left-color: rgba(34, 199, 192, .55);
    background: var(--surface-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] .faq-item[open] {
    border-color: var(--accent-color);
}

html[data-theme="dark"] .faq-answer p {
    color: var(--travel-muted);
}

@media (max-width: 1080px) {
    .blog-side-card {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .blog-side-card .blog-card-image {
        height: 220px;
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .faq-list {
        gap: 18px;
        grid-template-columns: 1fr;
    }

    .blog-side-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-side-card .blog-card-image {
        height: 205px;
    }

    .faq-item summary {
        min-height: 72px;
        gap: 11px;
        padding: 14px 15px;
        grid-template-columns: 36px minmax(0, 1fr) 20px;
    }

    .faq-number {
        width: 34px;
        height: 34px;
    }

    .faq-question {
        font-size: .93rem;
    }

    .faq-answer p {
        padding: 0 20px 21px 61px;
        font-size: .85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==============================================================
   Ajustes de presentación solicitados — septiembre 2026
   ============================================================== */

/* Fondo uniforme y claro; las tarjetas conservan superficie blanca. */
body,
.section-white,
.section-tint,
.home-gallery-section,
.home-contact-section,
.catalog-landing,
.catalog-browser,
.catalog-results-page {
    background: #f6f9fc;
}

.film-gallery::before {
    background: linear-gradient(90deg, #f6f9fc, transparent);
}

.film-gallery::after {
    background: linear-gradient(270deg, #f6f9fc, transparent);
}

/* Recupera el formato anterior de los banners internos. */
.page-hero,
.page-hero.catalog-page-hero {
    height: 540px;
    min-height: 540px;
    align-items: center;
    border-radius: 0 0 42px 42px;
    background-position: center;
    box-shadow: 0 26px 70px rgba(8, 49, 58, .18);
}

.page-hero::before {
    background:
        linear-gradient(90deg, rgba(7, 39, 47, .91), rgba(7, 39, 47, .56) 55%, rgba(7, 39, 47, .2)),
        linear-gradient(0deg, rgba(7, 39, 47, .35), transparent 52%);
}

.page-hero .container {
    display: block;
}

.page-hero-content {
    max-width: 860px;
    padding: calc(var(--header-h) + 78px) 0 82px;
    text-align: left;
}

.page-hero .hero-badge {
    margin-inline: 0;
}

.page-hero h1 {
    max-width: 850px;
    font-size: clamp(2.7rem, 4.7vw, 4.25rem);
}

.page-hero p {
    max-width: 690px;
    margin: 0 0 20px;
    font-size: 1.03rem;
}

.breadcrumbs {
    justify-content: flex-start;
    font-size: .86rem;
}

/* El padding debe imponerse porque el CTA también usa la clase container. */
.container.cta-band {
    padding: 48px clamp(28px, 4vw, 56px);
}

.cta-band-inner {
    grid-template-columns: minmax(0, 1fr) auto;
}

.cta-band-inner > div:first-child {
    min-width: 0;
}

.cta-band h2 {
    max-width: 760px;
    font-size: clamp(1.8rem, 3.1vw, 2.75rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

/* Encabezado del catálogo: cuadro limpio, sin raya lateral ni sombra. */
.catalog-results-page .catalog-active-heading {
    margin-bottom: 22px;
    padding: 30px 34px;
    border: 1px solid var(--travel-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

/* Catálogo interno en dos columnas, inspirado en Featured Trips. */
.catalog-results-page .catalog-card-grid {
    grid-auto-rows: 1fr;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-results-page .catalog-service-card {
    height: 100%;
    min-height: 330px;
    grid-template-columns: minmax(210px, 40%) minmax(0, 1fr);
    border: 1px solid var(--travel-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

.catalog-results-page .catalog-service-card:hover,
.catalog-results-page .catalog-service-card:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 16px 34px rgba(17, 24, 39, .08);
    transform: translateY(-3px);
}

.catalog-results-page .catalog-card-visual {
    min-height: 330px;
    border-radius: 0;
}

.catalog-results-page .catalog-card-visual.has-image::before {
    display: none;
}

.catalog-results-page .catalog-card-content {
    justify-content: flex-start;
    padding: 25px 26px;
}

.catalog-results-page .catalog-card-content h3 {
    margin-bottom: 8px;
    font-size: clamp(1.3rem, 1.65vw, 1.65rem);
}

.catalog-results-page .catalog-card-content > p {
    display: block;
    overflow: visible;
    max-width: none;
    margin-bottom: 13px;
    font-size: .86rem;
    line-height: 1.6;
    -webkit-line-clamp: initial;
}

.catalog-results-page .catalog-card-preview {
    gap: 6px 16px;
    margin-bottom: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-results-page .catalog-card-preview li,
.catalog-results-page .catalog-card-preview li:nth-child(n+4) {
    display: grid;
    font-size: .76rem;
    line-height: 1.45;
}

.catalog-results-page .catalog-card-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    padding-top: 15px;
}

.catalog-results-page .catalog-program-button,
.catalog-results-page .catalog-quote-link {
    width: auto;
    min-height: 44px;
    height: auto;
    border-radius: 7px;
}

.catalog-results-page .catalog-program-button {
    flex: 1 1 auto;
    min-width: 0;
}

.catalog-results-page .catalog-quote-link {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 7px;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    font-size: .8rem;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .catalog-results-page .catalog-card-grid {
        grid-template-columns: 1fr;
    }

    .catalog-results-page .catalog-service-card {
        min-height: 350px;
        grid-template-columns: minmax(280px, 36%) minmax(0, 1fr);
    }
}

@media (max-width: 920px) {
    .page-hero,
    .page-hero.catalog-page-hero {
        height: 480px;
        min-height: 480px;
        border-radius: 0 0 28px 28px;
    }

    .page-hero-content {
        padding: 128px 0 70px;
    }

    .cta-band-inner {
        grid-template-columns: 1fr;
    }

    .catalog-results-page .catalog-service-card {
        min-height: 330px;
        grid-template-columns: minmax(250px, 38%) minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    [data-aos][data-aos][data-aos-delay] {
        transition-delay: 0s !important;
    }

    .page-hero,
    .page-hero.catalog-page-hero {
        height: 440px;
        min-height: 440px;
    }

    .page-hero-content {
        padding: 112px 0 58px;
    }

    .page-hero h1 {
        font-size: clamp(2.05rem, 9.7vw, 2.7rem);
    }

    .container.cta-band {
        padding: 32px 23px;
    }

    .cta-band h2 {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
    }

    .cta-actions,
    .cta-actions .btn {
        width: 100%;
    }

    .catalog-results-page .catalog-active-heading {
        padding: 23px 20px;
    }

    .catalog-results-page .catalog-service-card {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .catalog-results-page .catalog-card-visual {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .catalog-results-page .catalog-card-content {
        padding: 23px 20px;
    }

    .catalog-results-page .catalog-card-preview {
        grid-template-columns: 1fr;
    }

    .catalog-results-page .catalog-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-results-page .catalog-quote-link {
        width: 100%;
    }
}

@media (min-width: 1920px) {
    .page-hero,
    .page-hero.catalog-page-hero {
        height: 570px;
        min-height: 570px;
    }

    .catalog-results-page .catalog-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==============================================================
   Terminación visual — galería, videos, blog y tema oscuro
   ============================================================== */

/* Selector de tema integrado en la barra lateral. */
.theme-toggle {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid rgba(11, 178, 172, .2);
    border-radius: 8px;
    color: #075f61;
    background: #eaf8f7;
    cursor: pointer;
    font-size: 1.15rem;
    box-shadow: none;
    transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: var(--accent-color);
    color: #fff;
    background: var(--accent-dark);
    transform: scale(1.06);
}

.theme-toggle::after {
    position: absolute;
    top: 50%;
    right: calc(100% + 11px);
    padding: 5px 9px;
    border-radius: 7px;
    color: #fff;
    background: rgba(12, 39, 48, .96);
    content: attr(data-label);
    font-family: "Poppins", system-ui, sans-serif;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    transform: translate(5px, -50%);
    transition: opacity .18s ease, transform .18s ease;
    white-space: nowrap;
}

.theme-toggle:hover::after,
.theme-toggle:focus-visible::after {
    opacity: 1;
    transform: translate(0, -50%);
}

/* Galería con filas equilibradas: 3 + 2 + 2 fotografías. */
.gallery-grid {
    display: grid;
    gap: 20px;
    grid-auto-flow: dense;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-grid .gallery-item,
.gallery-grid .gallery-item.wide,
.gallery-grid .gallery-item.tall {
    min-height: 0;
    aspect-ratio: 4 / 3;
    grid-column: span 4;
    grid-row: auto;
}

.gallery-grid .gallery-item:nth-child(4),
.gallery-grid .gallery-item:nth-child(5) {
    aspect-ratio: 16 / 9;
    grid-column: span 6;
}

.gallery-grid .gallery-item:nth-child(6) {
    grid-column: span 4;
}

.gallery-grid .gallery-item:nth-child(7) {
    aspect-ratio: 8 / 3;
    grid-column: span 8;
}

.gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 0;
}

/* Distribución de filtros unificada en #galleryMosaic. */

/* Tarjetas de principios: línea superior discreta y realce solo al interactuar. */
.feature-card {
    align-items: center;
    border: 1px solid var(--travel-line);
    border-top: 3px solid rgba(11, 178, 172, .35);
    border-left-width: 1px;
    background: var(--surface-color);
    box-shadow: none;
    text-align: center;
}

.feature-card i {
    margin-right: auto;
    margin-left: auto;
    border-radius: 50%;
}

.feature-card:hover,
.feature-card:focus-within {
    border-color: var(--travel-line);
    border-top-color: var(--accent-color);
    background: var(--surface-color);
    box-shadow: 0 18px 38px rgba(17, 24, 39, .09);
}

/* Sección preparada para videos verticales de TikTok. */
.work-videos-section {
    overflow: hidden;
}

.work-videos-grid {
    display: grid;
    width: min(100%, 1180px);
    gap: 22px;
    margin-inline: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-video-card {
    overflow: hidden;
    border: 1px solid var(--travel-line);
    border-top: 3px solid rgba(11, 178, 172, .45);
    border-radius: 14px;
    background: var(--surface-color);
    box-shadow: 0 12px 30px rgba(17, 24, 39, .06);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.work-video-card:hover,
.work-video-card:focus-within {
    border-top-color: var(--brand-pink);
    box-shadow: var(--travel-shadow-hover);
    transform: translateY(-4px);
}

.work-video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background: #102a31;
}

.work-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-video-fallback {
    position: absolute;
    z-index: 2;
    inset: auto 16px 16px;
    display: flex;
    min-height: 46px;
    gap: 9px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 9px;
    color: #fff;
    background: rgba(5, 19, 24, .86);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
    font-size: .78rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.work-video-fallback i {
    font-size: 1.08rem;
    text-shadow: -1px -1px 0 #25f4ee, 1px 1px 0 #fe2c55;
}

.work-video-card.has-video .work-video-fallback {
    opacity: 0;
    pointer-events: none;
}

.work-video-copy {
    min-height: 112px;
    padding: 19px 18px 21px;
}

.work-video-copy span {
    display: block;
    margin-bottom: 6px;
    color: var(--accent-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.work-video-copy h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

.work-videos-footer {
    display: flex;
    width: min(100%, 1180px);
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin: 34px auto 0;
    padding: 18px 20px;
    border: 1px solid var(--travel-line);
    border-radius: 14px;
    background: var(--surface-color);
}

.work-tiktok-brand {
    display: inline-flex;
    min-width: 0;
    gap: 13px;
    align-items: center;
}

.work-tiktok-brand img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 1px solid var(--travel-line);
    border-radius: 50%;
    object-fit: cover;
}

.work-tiktok-brand span,
.work-tiktok-brand small,
.work-tiktok-brand strong {
    display: block;
    min-width: 0;
}

.work-tiktok-brand small {
    color: var(--travel-muted);
    font-size: .75rem;
}

.work-tiktok-brand strong {
    overflow: hidden;
    color: var(--heading-color);
    font-size: .94rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-tiktok-button {
    flex: 0 0 auto;
    border-color: #151515;
    color: #fff;
    background: #151515;
}

.work-tiktok-button:hover,
.work-tiktok-button:focus-visible {
    border-color: var(--accent-dark);
    color: #fff;
    background: var(--accent-dark);
}

/* Clasificación funcional y paginación del Blog. */
.blog-topic-bar {
    overflow-x: auto;
    scrollbar-width: thin;
}

.blog-topic-button {
    flex: 0 0 auto;
    padding: 13px 24px;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--travel-muted);
    background: transparent;
    cursor: pointer;
    font-size: .83rem;
    font-weight: 700;
    white-space: nowrap;
}

.blog-topic-button:hover,
.blog-topic-button:focus-visible,
.blog-topic-button.active {
    border-bottom-color: var(--accent-color);
    color: var(--accent-dark);
}

.blog-grid-card[hidden] {
    display: none !important;
}

.blog-pagination {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 34px;
    padding: 18px 22px;
    border: 1px solid var(--travel-line);
    border-radius: 12px;
    background: var(--surface-color);
}

.blog-pagination-summary {
    margin: 0;
    color: var(--travel-muted);
    font-size: .82rem;
}

.blog-pagination-nav {
    display: flex;
    gap: 7px;
    align-items: center;
}

.blog-page-button {
    min-width: 38px;
    min-height: 38px;
    padding: 7px 11px;
    border: 1px solid rgba(11, 178, 172, .34);
    border-radius: 8px;
    color: var(--accent-dark);
    background: transparent;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 700;
}

.blog-page-button:hover,
.blog-page-button:focus-visible,
.blog-page-button.active {
    border-color: var(--accent-color);
    color: #fff;
    background: var(--accent-color);
    box-shadow: 0 7px 16px rgba(11, 178, 172, .2);
}

.blog-page-button:disabled {
    cursor: not-allowed;
    opacity: .42;
}

.blog-pagination.single-page .blog-pagination-nav {
    display: none;
}

/* El texto de Ver programa siempre mantiene contraste. */
.catalog-program-button,
.catalog-results-page .catalog-program-button,
.catalog-program-button:hover,
.catalog-program-button:focus-visible,
.catalog-results-page .catalog-program-button:hover,
.catalog-results-page .catalog-program-button:focus-visible {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.catalog-program-button,
.catalog-results-page .catalog-program-button {
    background: #123943 !important;
}

.catalog-program-button:hover,
.catalog-program-button:focus-visible,
.catalog-results-page .catalog-program-button:hover,
.catalog-results-page .catalog-program-button:focus-visible {
    background: var(--accent-dark) !important;
}

/* Tema oscuro completo. */
html[data-theme="dark"] {
    --background-color: #0b151a;
    --default-color: #d6e0e4;
    --heading-color: #f5f8f9;
    --accent-color: #22c7c0;
    --accent-dark: #63ddd6;
    --accent-soft: #15363a;
    --surface-color: #112127;
    --travel-line: #2a3d45;
    --travel-muted: #a5b4bc;
    --travel-shadow: 0 16px 38px rgba(0, 0, 0, .24);
    --travel-shadow-hover: 0 22px 50px rgba(0, 0, 0, .38);
    --teal: #2ed2ca;
    --teal-dark: #83e9e4;
    --teal-soft: #15363a;
    --pink: #ff4ca5;
    --pink-dark: #ff82bd;
    --gold: #f3c760;
    --gold-soft: #25271f;
    --ink: #f5f8f9;
    --ink-2: #c5d2d7;
    --muted: #a8b7be;
    --cream: #0b151a;
    --paper: #112127;
    --line: #2a3d45;
    background: #0b151a;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .section-white,
html[data-theme="dark"] .section-tint,
html[data-theme="dark"] .home-gallery-section,
html[data-theme="dark"] .home-contact-section,
html[data-theme="dark"] .catalog-landing,
html[data-theme="dark"] .catalog-browser,
html[data-theme="dark"] .catalog-results-page {
    color: var(--default-color);
    background: #0b151a;
}

html[data-theme="dark"] .category-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .purpose-card,
html[data-theme="dark"] .fact-card,
html[data-theme="dark"] .reserve-card,
html[data-theme="dark"] .guide-card,
html[data-theme="dark"] .cert-card,
html[data-theme="dark"] .contact-panel,
html[data-theme="dark"] .form-panel,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .planning-note,
html[data-theme="dark"] .catalog-service-card,
html[data-theme="dark"] .catalog-results-page .catalog-service-card,
html[data-theme="dark"] .catalog-results-page .catalog-active-heading,
html[data-theme="dark"] .blog-featured-card,
html[data-theme="dark"] .blog-side-card,
html[data-theme="dark"] .blog-grid-card,
html[data-theme="dark"] .blog-editorial-card,
html[data-theme="dark"] .blog-pagination,
html[data-theme="dark"] .work-video-card,
html[data-theme="dark"] .work-videos-footer,
html[data-theme="dark"] .step-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .catalog-summary-grid,
html[data-theme="dark"] .guide-card,
html[data-theme="dark"] .contact-row,
html[data-theme="dark"] .route-details,
html[data-theme="dark"] .route-tags span {
    color: var(--default-color);
    background: var(--surface-color);
}

html[data-theme="dark"] .trust-strip,
html[data-theme="dark"] .catalog-landing-search,
html[data-theme="dark"] .catalog-postcard,
html[data-theme="dark"] .catalog-postcard:nth-child(even),
html[data-theme="dark"] .service-empty,
html[data-theme="dark"] .program-modal-panel {
    border-color: var(--travel-line);
    color: var(--default-color);
    background: var(--surface-color);
}

html[data-theme="dark"] .catalog-landing-search label,
html[data-theme="dark"] .catalog-search {
    background: #0e1c21;
}

html[data-theme="dark"] .catalog-landing-search input,
html[data-theme="dark"] .catalog-search input {
    color: var(--default-color);
}

html[data-theme="dark"] .catalog-landing-search input::placeholder,
html[data-theme="dark"] .catalog-search input::placeholder,
html[data-theme="dark"] .form-group input::placeholder,
html[data-theme="dark"] .form-group textarea::placeholder {
    color: #82939c;
}

html[data-theme="dark"] .feature-card:hover,
html[data-theme="dark"] .feature-card:focus-within {
    background: var(--surface-color);
}

html[data-theme="dark"] .filter-btn,
html[data-theme="dark"] .catalog-controls,
html[data-theme="dark"] .catalog-search,
html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group select,
html[data-theme="dark"] .form-group textarea {
    border-color: var(--travel-line);
    color: var(--default-color);
    background: #101f25;
}

html[data-theme="dark"] .filter-btn.active,
html[data-theme="dark"] .filter-btn:hover {
    color: #062326;
    background: var(--accent-color);
}

html[data-theme="dark"] .theme-toggle {
    border-color: #40545c;
    color: #f5f8f9;
    background: #26363d;
}

html[data-theme="dark"] .film-gallery::before {
    background: linear-gradient(90deg, #0b151a, transparent);
}

html[data-theme="dark"] .film-gallery::after {
    background: linear-gradient(270deg, #0b151a, transparent);
}

html[data-theme="dark"] .gslide-description {
    background: var(--surface-color);
}

html[data-theme="dark"] .btn-light {
    border-color: #dbe7ea;
    color: #10252b;
    background: #f2f7f8;
}

@media (max-width: 1080px) {
    html[data-theme="dark"] .site-header .main-nav {
        border-left-color: var(--travel-line);
        background: #101f25;
    }

    html[data-theme="dark"] .site-header .main-nav .nav-link,
    html[data-theme="dark"] .mobile-nav-brand strong,
    html[data-theme="dark"] .mobile-nav-footer p {
        color: var(--heading-color);
    }

    html[data-theme="dark"] .mobile-nav-top,
    html[data-theme="dark"] .mobile-nav-footer {
        border-color: var(--travel-line);
    }
}

@media (max-width: 1000px) {
    .gallery-grid .gallery-item,
    .gallery-grid .gallery-item.wide,
    .gallery-grid .gallery-item.tall,
    .gallery-grid .gallery-item:nth-child(n) {
        aspect-ratio: 16 / 11;
        grid-column: span 6;
    }

    .work-videos-grid {
        width: min(100%, 760px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .gallery-grid .gallery-item,
    .gallery-grid .gallery-item.wide,
    .gallery-grid .gallery-item.tall,
    .gallery-grid .gallery-item:nth-child(n),
    .gallery-grid:not([data-gallery-view="all"]) .gallery-item:not(.hidden) {
        aspect-ratio: 4 / 3;
        grid-column: 1 / -1;
    }

    .work-videos-grid {
        width: min(100%, 340px);
        gap: 18px;
        grid-template-columns: 1fr;
    }

    .work-videos-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .work-tiktok-button {
        width: 100%;
    }

    .blog-topic-button {
        padding-inline: 15px;
    }

    .blog-pagination {
        gap: 14px;
        align-items: stretch;
        flex-direction: column;
    }

    .blog-pagination-nav {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 3px;
    }

    .blog-page-button {
        flex: 0 0 auto;
    }

    .floating-dock {
        right: 9px;
        bottom: 9px;
        width: 52px;
        gap: 2px;
        padding: 6px 5px;
        border-radius: 999px;
        background: rgba(25, 31, 35, .97);
    }

    .floating-dock-link,
    .floating-dock-divider {
        display: none;
    }

    .theme-toggle,
    .back-to-top {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 50%;
    }

    .theme-toggle::after {
        display: none;
    }

    .scroll-progress {
        padding: 5px 0;
    }

    .scroll-progress-track {
        display: none;
    }
}

@media (min-width: 2560px) {
    .page-hero,
    .page-hero.catalog-page-hero {
        height: 600px;
        min-height: 600px;
    }

    .catalog-results-page .catalog-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* v21: estados consistentes y controles locales */
html .btn.btn-whatsapp {color:#fff;background:#138747;border:1px solid #138747;--bs-btn-hover-bg:#106d3a;--bs-btn-hover-color:#fff;--bs-btn-active-bg:#0d5c31;}
html .btn.btn-whatsapp:hover,html .btn.btn-whatsapp:focus-visible {color:#fff;background:#106d3a;border-color:#106d3a;box-shadow:0 8px 22px #13874730;}
html .btn.btn-whatsapp:active {color:#fff;background:#0d5c31;border-color:#0d5c31;}
html .btn.btn-whatsapp i {color:inherit;}
.home-gallery-button {margin-top:14px;}
.contact-layout {align-items:stretch;}
.contact-panel {display:flex;flex-direction:column;height:100%;}
.contact-panel .contact-list {flex:1;display:grid;align-content:space-evenly;gap:12px;margin:20px 0;}
.contact-panel .btn-block {margin-top:auto;}
.contact-row > i.ri-whatsapp-fill {color:#25d366;background:#25d36618;}
.contact-row > i.ri-phone-fill {color:#35a655;background:#35a65518;}
.contact-row > i.ri-mail-fill {color:#168de2;background:#168de218;}
.contact-row > i.ri-facebook-circle-fill {color:#1877f2;background:#1877f218;}
.step-card {text-align:center;border:1px solid var(--travel-line);border-top:2px solid var(--accent-dark);border-radius:9px;padding:32px 24px;background:var(--surface-color);}
.step-card:hover {border-color:var(--accent-color);box-shadow:var(--travel-shadow-hover);}
.step-icon {display:grid;place-items:center;width:48px;height:48px;border-radius:50%;margin:0 auto 18px;background:var(--accent-soft);color:var(--accent-color);font-size:23px;}
.floating-dock .theme-toggle {margin-bottom:8px;}
.floating-dock .scroll-progress {margin-bottom:8px;}
.form-group {position:relative;min-width:0;}
.custom-field-trigger {width:100%;min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border:1px solid var(--travel-line);border-radius:8px;background:var(--surface-color);color:var(--default-color);padding:12px 16px;font:inherit;}
.custom-field-trigger:hover,.custom-field-trigger[aria-expanded=true] {border-color:var(--accent-color);}
.custom-field-trigger:focus-visible,.custom-options button:focus-visible,.date-picker-panel button:focus-visible {outline:2px solid var(--accent-color);outline-offset:2px;}
.custom-options,.date-picker-panel {position:absolute;z-index:50;top:calc(100% + 8px);left:0;background:var(--surface-color);color:var(--default-color);border:1px solid var(--travel-line);border-radius:12px;padding:8px;box-shadow:var(--travel-shadow-hover);}
.custom-options {width:100%;max-height:310px;overflow:auto;}
.custom-options[hidden],.date-picker-panel[hidden] {display:none;}
.custom-options button {display:block;width:100%;text-align:left;border:0;border-radius:7px;padding:10px 12px;background:transparent;color:inherit;font:inherit;}
.custom-options button:hover,.custom-options button[aria-selected=true],.date-picker-panel button:hover {background:var(--accent-soft);color:var(--accent-dark);}
.date-picker-panel {width:min(330px,100%);}
.date-picker-head {display:flex;justify-content:space-between;align-items:center;padding:5px;}
.date-picker-panel button {border:0;border-radius:7px;background:transparent;color:inherit;min-height:36px;font:inherit;}
.date-picker-head button {width:36px;}
.date-picker-weekdays,.date-picker-days {display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center;}
.date-picker-weekdays {font-size:13px;color:var(--travel-muted);padding:9px 0;}
.date-picker-days button[aria-pressed=true] {background:var(--accent-dark);color:white;}
.date-picker-actions {display:flex;justify-content:space-between;border-top:1px solid var(--travel-line);margin-top:8px;padding-top:6px;}
.date-picker-actions button {padding:4px 12px;}
.form-group:has(.custom-field-trigger[aria-expanded=true]) {z-index:51;}
@media(max-width:1199px) {
html .site-header .main-nav .nav-link,html .site-header .main-nav .nav-link:hover,html .site-header .main-nav .nav-link.active {background:transparent;box-shadow:none;transform:none;}
html .site-header .main-nav .nav-link:hover,html .site-header .main-nav .nav-link:focus-visible,html .site-header .main-nav .nav-link.active {border-color:var(--accent-color);color:var(--accent-dark);}
html .site-header .main-nav .nav-link .nav-link-icon {background:transparent;box-shadow:none;font-size:25px;color:inherit;}
}
@media(max-width:767px) {
.floating-dock .floating-dock-whatsapp {display:flex;width:40px;height:40px;border-radius:50%;}
.floating-dock {gap:5px;}
.contact-panel {height:auto;}
}
/* v22: medios y ajustes de presentación */
html .btn.btn-whatsapp {background:#25d366;border-color:#25d366;color:#073d25;}
html .btn.btn-whatsapp:hover,html .btn.btn-whatsapp:focus-visible {background:#1fc45e;border-color:#1fc45e;color:#073d25;}
html .btn.btn-whatsapp:active {background:#1ab357;border-color:#1ab357;color:#073d25;}
html .floating-dock .floating-dock-whatsapp {display:flex;align-items:center;justify-content:center;padding:0;line-height:1;background:#25d366;color:#073d25;}
.floating-dock-whatsapp i {display:block;line-height:1;font-size:23px;}
.purpose-grid {gap:26px;}
html .purpose-card {border:1px solid var(--travel-line);border-top:3px solid var(--accent-color);border-radius:18px;padding:32px;background:var(--surface-color);box-shadow:var(--travel-shadow);}
html .purpose-card > i {display:grid;place-items:center;width:58px;height:58px;background:var(--accent-soft);color:var(--accent-dark);border-radius:50%;font-size:28px;margin-bottom:22px;}
html .purpose-card:nth-child(2) {border-top-color:#df2789;}
html .purpose-card:nth-child(2) > i {background:#df278915;color:#d62b86;}
html[data-theme=dark] .purpose-card:nth-child(2) > i {color:#ff83c3;}
html .cert-card {border:1px solid var(--travel-line);border-radius:14px;overflow:hidden;transition:border-color .2s,box-shadow .2s;}
html .cert-card:hover,html .cert-card:focus-within {border-color:var(--accent-color);box-shadow:0 0 0 1px var(--accent-color),var(--travel-shadow);}
.cert-image object {width:100%;height:300px;border:0;}
.document-link {display:inline-flex;margin-top:14px;color:var(--accent-dark);font-weight:600;text-decoration:underline;text-underline-offset:4px;}
.work-videos-grid {display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - 66px)/4);overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 3px 18px;scrollbar-color:var(--accent-color) var(--accent-soft);}
.work-video-card {scroll-snap-align:start;min-width:0;}
.work-video-frame video {object-fit:contain;}
.video-play {position:absolute;inset:0;margin:auto;display:grid;place-items:center;width:64px;height:64px;border:1px solid #ffffff90;border-radius:50%;background:#07181dba;color:white;font-size:32px;backdrop-filter:blur(6px);}
.video-play:hover {background:var(--accent-dark);transform:scale(1.06);}
.video-play[hidden],.video-status[hidden] {display:none;}
.video-status {position:absolute;bottom:12px;left:12px;right:12px;padding:12px;background:#07181de8;color:white;border-radius:10px;font-size:14px;}
html .gslide .gslide-description {background:#10252c;color:#eef7f8;border-top:2px solid #0bb2ac;}
html .gslide .gslide-title {color:#eef7f8;font-family:Raleway,sans-serif;font-size:18px;font-weight:600;margin:0;}
html .gslide .gdesc-inner {padding:18px 24px;}
.gslide-media {border-radius:12px 12px 0 0;overflow:hidden;}
.gallery-grid {grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;}
html .gallery-grid .gallery-item:nth-child(n) {grid-column:auto;aspect-ratio:4/3;grid-row:auto;}
.gallery-grid .gallery-item[hidden] {display:none!important;}
.gallery-pagination {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;margin-top:26px;border:1px solid var(--travel-line);border-radius:12px;background:var(--surface-color);font-size:14px;}
.gallery-pagination nav {display:flex;gap:8px;}
.gallery-pagination button:disabled {opacity:.4;cursor:default;}
.gallery-pagination button[aria-current=page] {background:var(--accent-dark);color:white;}
@media(max-width:1199px){
html .site-header .main-nav {position:fixed;left:auto;right:0;margin:0;width:min(390px,92vw);max-width:92vw;}
.work-videos-grid {grid-auto-columns:calc((100% - 22px)/2);}
}
@media(max-width:767px){
.work-videos-grid {grid-auto-columns:82%;gap:16px;}
.work-video-frame {max-height:510px;}
.gallery-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.gallery-pagination {flex-direction:column;align-items:flex-start;}
.gallery-pagination nav {max-width:100%;flex-wrap:wrap;}
.section-title {font-size:clamp(26px,7vw,32px);line-height:1.22;letter-spacing:-.025em;}
.page-hero h1 {font-size:clamp(32px,8vw,40px);line-height:1.16;}
.section-lead,.purpose-card p,.feature-card p,.step-card p,.about-copy p,.contact-panel > p,.form-panel > p,.cert-body p {font-size:16px;line-height:1.7;font-weight:400;}
.purpose-card h3,.feature-card h3,.step-card h3,.cert-body h3 {font-size:20px;line-height:1.35;font-weight:600;}
html .purpose-card {padding:24px;}
.work-videos-footer {gap:16px;}
.work-videos-footer strong {overflow-wrap:anywhere;}
}
@media(max-width:420px){.gallery-grid {grid-template-columns:1fr;}}
/* Iconos de un solo color: SVG o PNG transparente usado como máscara. */
.theme-icon {display:inline-block;width:1.5em;height:1.5em;background:currentColor;mask:var(--icon-url) center/contain no-repeat;-webkit-mask:var(--icon-url) center/contain no-repeat;vertical-align:middle;}
/* Logos con dos variantes opcionales. */
.brand-icon-dark {display:none;}
html[data-theme=dark] .brand-icon-light {display:none;}
html[data-theme=dark] .brand-icon-dark {display:inline-block;}
/* v23: galería alternada, videos compactos y acciones sin desbordamiento */
html .gallery-grid {grid-template-columns:repeat(6,minmax(0,1fr));gap:22px;}
html .gallery-grid .gallery-item:nth-child(n) {grid-column:span 2;aspect-ratio:auto;height:clamp(180px,21vw,300px);min-width:0;}
html .gallery-grid .gallery-item.gallery-wide {grid-column:span 3;}
html .gallery-grid .gallery-item img {width:100%;height:100%;object-fit:cover;}
html .gslide .gslide-description {display:none;}
html .gslide-media {border-radius:0;}
html .btn.btn-whatsapp,html .btn.btn-whatsapp:hover,html .btn.btn-whatsapp:focus-visible,html .btn.btn-whatsapp:active,
html .floating-dock .floating-dock-whatsapp,html .footer-social-whatsapp {color:#fff;}
html .catalog-quote-link,html .catalog-quote-link:hover,html .catalog-quote-link:focus-visible {color:#fff;background:#25d366;}
html .btn-whatsapp i,html .catalog-quote-link i,html .floating-dock-whatsapp i {color:inherit;}
html .work-videos-grid {width:min(100%,1180px);grid-auto-columns:calc((100% - 88px)/5);gap:22px;align-items:start;}
html .work-video-frame {aspect-ratio:9/16;max-height:none;}
html .work-video-frame video {object-fit:cover;}
html .work-video-frame video.is-playing {object-fit:contain;}
html .catalog-card,html .catalog-card-content {min-width:0;max-width:100%;}
html .catalog-card-content {box-sizing:border-box;overflow-wrap:anywhere;}
html .catalog-card-actions {box-sizing:border-box;min-width:0;max-width:100%;width:100%;margin-left:0;margin-right:0;}
html .catalog-card-actions > * {box-sizing:border-box;min-width:0;max-width:100%;}
@media(max-width:1199px){
html .work-videos-grid {grid-auto-columns:220px;gap:18px;}
}
@media(max-width:767px){
html .work-videos-grid {grid-auto-columns:min(66vw,210px);gap:14px;}
html .video-play {width:52px;height:52px;font-size:26px;}
html .gallery-grid {gap:12px;}
html .gallery-grid .gallery-item:nth-child(n) {height:clamp(100px,23vw,175px);}
html .catalog-card-actions {display:flex;flex-direction:column;align-items:stretch;}
html .catalog-card-actions > * {width:100%;flex:0 1 auto;}
}
html .catalog-service-card {min-width:0;max-width:100%;}
@media(max-width:767px){
html .catalog-results-page .catalog-service-card {grid-template-columns:minmax(0,1fr);}
html .catalog-results-page .catalog-card-content {width:100%;min-width:0;padding:23px 20px;}
html .catalog-results-page .catalog-card-actions {width:100%;min-width:0;max-width:100%;}
html .catalog-results-page .catalog-card-actions > * {width:100%;min-width:0;max-width:100%;}
}
/* v24: una sola distribución para todas las categorías y páginas. */
#galleryMosaic {display:grid;width:100%;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:row;align-items:stretch;gap:22px;}
#galleryMosaic > .gallery-item {display:block;position:relative;box-sizing:border-box;width:100%;max-width:none;min-width:0;min-height:0;height:clamp(180px,21vw,300px);aspect-ratio:auto;grid-column:span 2;grid-row:auto;margin:0;padding:0;}
#galleryMosaic > .gallery-item.gallery-wide {grid-column:span 3;}
#galleryMosaic > .gallery-item[hidden] {display:none!important;}
#galleryMosaic > .gallery-item > img {display:block;width:100%;height:100%;min-height:0;object-fit:cover;}
.gallery-pagination[hidden] {display:none!important;}
@media(max-width:767px){
#galleryMosaic {gap:10px;}
#galleryMosaic > .gallery-item {height:clamp(100px,25vw,190px);}
#galleryMosaic .gallery-caption {padding:8px;}
#galleryMosaic .gallery-caption strong {font-size:12px;line-height:1.25;}
#galleryMosaic .gallery-caption > span {display:none;}
}
/* v25: proporciones, amplitud y movimiento suave */
#galleryMosaic > .gallery-item {height:auto;aspect-ratio:4/3;}
#galleryMosaic > .gallery-item.gallery-wide {height:auto;aspect-ratio:16/9;}
#galleryMosaic > .gallery-item > img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
html .work-videos-grid,html .work-videos-footer {width:100%;max-width:none;}
/* El visor utiliza el espacio disponible incluso con originales pequeños. */
.glightbox-container .gslide-inner-content {width:auto!important;max-width:none!important;}
.glightbox-container .gslide-image {background:transparent;box-shadow:none;max-width:none!important;}
.glightbox-container .gslide-image img {width:min(82vw,1800px)!important;height:82vh!important;max-width:none!important;max-height:82vh!important;object-fit:contain;}
:root {--interaction-ease:cubic-bezier(.22,.61,.36,1);}
html body :is(.btn,.work-tiktok-button,.catalog-program-button,.catalog-quote-link,.filter-btn,.blog-page-button,.blog-topic-button,.video-play,.floating-dock-link,.back-to-top,.theme-toggle) {
 transition:scale .3s var(--interaction-ease),box-shadow .3s var(--interaction-ease),background-color .3s var(--interaction-ease),border-color .3s var(--interaction-ease),color .3s var(--interaction-ease);
}
html body :is(.btn,.work-tiktok-button,.catalog-program-button,.catalog-quote-link,.filter-btn,.blog-page-button,.blog-topic-button,.video-play,.floating-dock-link,.back-to-top,.theme-toggle):is(:hover,:focus-visible) {transform:none;scale:1.025;filter:none;}
html body :is(.btn,.work-tiktok-button,.catalog-program-button,.catalog-quote-link,.video-play,.floating-dock-link,.back-to-top,.theme-toggle):is(:hover,:focus-visible) {opacity:1;}
html body :is(.btn,.work-tiktok-button,.catalog-program-button,.catalog-quote-link):active {scale:1.01;}
html body :is(.category-card,.reserve-card,.feature-card,.purpose-card,.step-card,.service-card,.catalog-service-card,.work-video-card,.cert-card) {
 transition:opacity .65s ease,transform .45s var(--interaction-ease),scale .45s var(--interaction-ease),box-shadow .45s var(--interaction-ease),border-color .45s var(--interaction-ease),background-color .45s var(--interaction-ease);
}
html body :is(.category-card,.reserve-card,.feature-card,.purpose-card,.step-card,.service-card,.catalog-service-card,.work-video-card,.cert-card):hover {transform:none;scale:1.012;}
html body :is(.category-card,.reserve-card,.service-card) :is(i,.category-icon) {transition:transform .45s var(--interaction-ease),color .3s ease,background-color .3s ease;}
@media(max-width:767px){
.glightbox-container .gslide-image img {width:92vw!important;height:78vh!important;max-height:78vh!important;}
}
@media(prefers-reduced-motion:reduce){
html body :is(.btn,.work-tiktok-button,.catalog-program-button,.catalog-quote-link,.filter-btn,.blog-page-button,.blog-topic-button,.video-play,.floating-dock-link,.back-to-top,.theme-toggle,.category-card,.reserve-card,.feature-card,.purpose-card,.step-card,.service-card,.catalog-service-card,.work-video-card,.cert-card) {transition:none;scale:1!important;}
}
/* v26: carrusel sin desplazamiento vertical e iconos de contacto mayores. */
html .work-videos-grid {
    overflow-x: auto;
    overflow-y: hidden;
    padding-top: 12px;
    padding-bottom: 18px;
}
html .contact-row > i {
    font-size: 28px;
    line-height: 1;
}
/* v27: programa móvil en flujo vertical, sin solapamiento de portada y texto. */
@media(max-width:680px){
html .program-modal {padding:12px 10px;place-items:center;}
html .program-modal-panel {
    display:block;
    width:100%;
    max-height:calc(100vh - 24px);
    max-height:calc(100dvh - 24px);
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    border-radius:22px;
}
html .program-modal-cover {
    position:relative;
    width:100%;
    height:clamp(180px,52vw,280px);
    min-height:0;
    aspect-ratio:auto;
    padding:24px;
}
html .program-modal-body {
    display:block;
    position:relative;
    height:auto;
    min-height:0;
    max-height:none;
    overflow:visible;
    padding:26px 22px max(30px,env(safe-area-inset-bottom));
}
html .program-modal-heading {margin:0 0 24px;}
html .program-modal-heading h2 {margin:8px 0 12px;font-size:clamp(26px,7.5vw,34px);line-height:1.15;}
html .program-modal-program ul {grid-template-columns:minmax(0,1fr);}
html .program-modal-close {top:12px;right:12px;z-index:5;}
}

/* v34: keep form tracks within the available viewport. */
.form-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
.contact-row > div {min-width:0;}
@media(max-width:680px){
    .form-grid {grid-template-columns:minmax(0,1fr);}
    .contact-layout {grid-template-columns:minmax(0,1fr);}
}
