/* Tema claro — activar con html[data-theme="light"] (toggle en header) */

html[data-theme="light"] {
    color-scheme: light;
    --pt-bg: #f4f4f5;
    --pt-surface: #ffffff;
    --pt-surface-2: #ececee;
    --pt-border: rgba(161, 98, 7, 0.22);
    --pt-text: #1a1a1a;
    --pt-muted: #52525b;
    --pt-yellow: #b45309;
    --pt-yellow-hot: #d97706;
    --pt-ink: #0a0a0a;
}

html[data-theme="light"] body {
    background-color: var(--pt-bg);
    color: var(--pt-text);
}

/* Topbar, header y footer: siempre tema oscuro */
html[data-theme="light"] .as-topbar {
    background: #000;
    color: #facc15;
    border-bottom-color: #facc15;
}

html[data-theme="light"] .as-header {
    background: #141414;
    border-bottom-color: rgba(250, 204, 21, 0.28);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .as-header .as-nav a,
html[data-theme="light"] .as-header .as-nav__dropdown-toggle {
    color: #e8e8e8;
}

html[data-theme="light"] .as-header .as-nav a:hover,
html[data-theme="light"] .as-header .as-nav__dropdown-toggle:hover:not(.is-active),
html[data-theme="light"] .as-header .as-nav__dropdown.is-open .as-nav__dropdown-toggle:not(.is-active) {
    color: #ffffff;
}

html[data-theme="light"] .as-header .as-nav__links > li > a.is-active,
html[data-theme="light"] .as-header .as-nav__links > li > a.is-active:hover,
html[data-theme="light"] .as-header .as-nav__dropdown-toggle.is-active,
html[data-theme="light"] .as-header .as-nav__dropdown-toggle.is-active:hover {
    color: #facc15;
    box-shadow: inset 0 -2px 0 #facc15;
}

html[data-theme="light"] .as-header .as-nav__dropdown-menu a.is-active {
    color: #facc15;
    background: rgba(250, 204, 21, 0.12);
    box-shadow: inset 3px 0 0 #facc15;
}

html[data-theme="light"] .as-header .as-nav__dropdown-menu {
    background: rgba(14, 14, 14, 0.98);
    border-color: rgba(250, 204, 21, 0.28);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .as-header .as-nav__dropdown-menu a {
    color: #e8e8e8;
}

html[data-theme="light"] .as-header .as-nav__dropdown-menu a:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

html[data-theme="light"] .as-header .as-nav__tools {
    border-left-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="light"] .as-header .as-lang-select__control {
    color: #f8fafc;
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(250, 204, 21, 0.35);
}

html[data-theme="light"] .as-header .as-lang-select__control:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(250, 204, 21, 0.55);
}

html[data-theme="light"] .as-header .as-theme-toggle {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(250, 204, 21, 0.35);
}

html[data-theme="light"] .as-header .as-theme-toggle:hover {
    border-color: rgba(250, 204, 21, 0.55);
    background: rgba(255, 255, 255, 0.1);
    color: #facc15;
}

html[data-theme="light"] .as-header .as-tailor-made-btn {
    --tm-btn-bg: #ca8a04;
    --tm-btn-bg-hover: #eab308;
    --tm-btn-border: #a16207;
    --tm-btn-signal: rgba(234, 179, 8, 0.7);
    color: #0a0a0a;
}

html[data-theme="light"] .site-footer {
    background-color: #3b3b3b !important;
    color: #c4c4c4;
    border-top-color: rgba(250, 204, 21, 0.16);
}

html[data-theme="light"] .site-footer__overlay {
    background:
        linear-gradient(180deg, rgba(24, 24, 24, 0.44) 0%, rgba(24, 24, 24, 0.58) 45%, rgba(24, 24, 24, 0.68) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, transparent 40%, transparent 60%, rgba(0, 0, 0, 0.28) 100%);
}

html[data-theme="light"] .site-footer__heading,
html[data-theme="light"] .site-footer__agency-name {
    color: #f8fafc;
}

html[data-theme="light"] .site-footer__tagline,
html[data-theme="light"] .site-footer__legal-name,
html[data-theme="light"] .site-footer__meta-label {
    color: #d4d4d4;
}

html[data-theme="light"] .site-footer__menu a,
html[data-theme="light"] .site-footer__contact a,
html[data-theme="light"] .site-footer__social-intro {
    color: #c4c4c4;
}

html[data-theme="light"] .site-footer__menu a:hover,
html[data-theme="light"] .site-footer__contact a:hover {
    color: #facc15;
}

html[data-theme="light"] .site-footer__legal {
    background: rgba(0, 0, 0, 0.44);
    color: #a3a3a3;
}

html[data-theme="light"] .site-footer__legal-menu a {
    color: #e8e8e8;
}

html[data-theme="light"] .site-footer__legal a {
    color: #facc15;
}

/* Acreditaciones */
html[data-theme="light"] .accreditations-section {
    background-color: #ebebed;
    border-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .accreditation-item img {
    filter: none;
    opacity: 0.72;
}

html[data-theme="light"] .accreditation-item img:hover {
    filter: none;
    opacity: 1;
}

/* Tours / páginas internas */
html[data-theme="light"] .tour-detail-section,
html[data-theme="light"] .tours-catalog-section,
html[data-theme="light"] .static-page-section,
html[data-theme="light"] .featured-tours-section,
html[data-theme="light"] .holiday-section,
html[data-theme="light"] .packages-section,
html[data-theme="light"] .why-choose-us-section,
html[data-theme="light"] .testimonials-section,
html[data-theme="light"] .content-page-section,
html[data-theme="light"] .tour-gallery-section {
    background-color: var(--pt-bg) !important;
}

html[data-theme="light"] .tour-breadcrumbs a,
html[data-theme="light"] .tour-breadcrumbs span,
html[data-theme="light"] .static-page__title,
html[data-theme="light"] .tours-page-title,
html[data-theme="light"] .tour-titlebar__title,
html[data-theme="light"] .static-page__prose h2 {
    color: #171717 !important;
}

html[data-theme="light"] .tour-breadcrumbs span {
    color: #404040 !important;
}

html[data-theme="light"] .tour-titlebar {
    background: #ffffff !important;
    border: 1px solid var(--pt-border) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .tour-titlebar__title {
    color: #171717 !important;
}

html[data-theme="light"] .tour-titlebar__subtitle {
    color: var(--pt-muted) !important;
}

html[data-theme="light"] .tour-titlebar__chip {
    background: #fef9c3;
    border-color: rgba(161, 98, 7, 0.28);
    color: #3f3f46;
}

html[data-theme="light"] .tour-titlebar__chip strong {
    color: #a16207;
}

html[data-theme="light"] .tour-sticky-cta {
    background: #ffffff;
    border-top-color: rgba(161, 98, 7, 0.22);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .tour-sticky-cta__title {
    color: #171717;
}

html[data-theme="light"] .form-success-modal {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .form-success-modal__title {
    color: #171717;
}

html[data-theme="light"] .form-success-modal__body {
    color: #52525b;
}

html[data-theme="light"] .form-success-modal__body a {
    color: #a16207;
}

/* Tour — pestañas de itinerario / incluye / FAQ */
html[data-theme="light"] .tour-tabs-headers {
    background-color: #e4e4e7 !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .tab-btn {
    color: #52525b !important;
}

html[data-theme="light"] .tab-btn:hover {
    color: #171717 !important;
    background-color: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .tab-btn.active {
    background-color: #eab308 !important;
    color: #0a0a0a !important;
    box-shadow: 0 4px 12px rgba(161, 98, 7, 0.22);
}

html[data-theme="light"] .tour-tabs-container--featured .tab-btn {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.14) !important;
    color: #52525b !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .tour-tabs-container--featured .tab-btn:hover {
    color: #171717 !important;
    border-color: rgba(161, 98, 7, 0.38) !important;
    background: #fafafa !important;
}

html[data-theme="light"] .tour-tabs-container--featured .tab-btn.active {
    background: #eab308 !important;
    color: #0a0a0a !important;
    border-color: #ca8a04 !important;
    box-shadow: 0 6px 16px rgba(161, 98, 7, 0.25);
}

html[data-theme="light"] .tour-tabs-content {
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .tab-pane__title,
html[data-theme="light"] .tour-presentation h3,
html[data-theme="light"] .itinerary-day__title,
html[data-theme="light"] .itinerary-day:has(.itinerary-short-list) .itinerary-day__title,
html[data-theme="light"] .itinerary-day:not(:has(.itinerary-short-list)) .itinerary-day__title {
    color: #171717 !important;
    border-bottom: none;
}

html[data-theme="light"] .tab-pane__title,
html[data-theme="light"] .tour-presentation h3,
html[data-theme="light"] .inclusions-col__title,
html[data-theme="light"] .faq-item__title {
    color: #171717 !important;
    border-bottom-color: rgba(161, 98, 7, 0.22);
}

html[data-theme="light"] .itinerary-day:has(.itinerary-short-list),
html[data-theme="light"] .itinerary-day:not(:has(.itinerary-short-list)) {
    background: transparent;
    border: none;
}

html[data-theme="light"] .itinerary-day p,
html[data-theme="light"] .itinerary-short-list li,
html[data-theme="light"] .itinerary-sub-list li,
html[data-theme="light"] .inclusions-list li,
html[data-theme="light"] .faq-item p,
html[data-theme="light"] .tour-presentation p {
    color: #3f3f46 !important;
}

html[data-theme="light"] .itinerary-short-list li strong {
    color: #171717;
}

html[data-theme="light"] .tour-tabs-content .itinerary-short-list li strong {
    color: #a16207 !important;
}

html[data-theme="light"] .itinerary-sub-list li::before {
    color: #ca8a04;
}

html[data-theme="light"] #short-itinerary > p em {
    color: var(--pt-muted);
}

html[data-theme="light"] .tour-list-card,
html[data-theme="light"] .tour-presentation,
html[data-theme="light"] .tour-tabs-content,
html[data-theme="light"] .tour-specs-card,
html[data-theme="light"] .static-page__contact-card {
    background-color: var(--pt-surface) !important;
    border-color: var(--pt-border) !important;
    color: var(--pt-text);
}

html[data-theme="light"] .tour-list-card__title,
html[data-theme="light"] .tour-list-card__tagline {
    color: var(--pt-text) !important;
}

html[data-theme="light"] .tour-list-card__duration,
html[data-theme="light"] .tour-list-card__location,
html[data-theme="light"] .featured-tours-desc,
html[data-theme="light"] .static-page__prose,
html[data-theme="light"] .static-page__prose > p {
    color: var(--pt-muted) !important;
}

html[data-theme="light"] .static-page__prose h2 {
    color: #171717 !important;
}

html[data-theme="light"] .static-page__prose li strong {
    color: #262626;
}

/* Home (style.css) — quitar gradientes/fondos oscuros (!important en style.css) */
html[data-theme="light"] .page-home .featured-tours-section,
html[data-theme="light"] .page-home .holiday-section,
html[data-theme="light"] .page-home .packages-section,
html[data-theme="light"] .page-home .why-choose-us-section,
html[data-theme="light"] .page-home .testimonials-section {
    background: var(--pt-bg) !important;
    background-image: none !important;
}

html[data-theme="light"] .page-home .featured-tours-title,
html[data-theme="light"] .page-home .holiday-title,
html[data-theme="light"] .page-home .packages-title,
html[data-theme="light"] .page-home .why-choose-us-title,
html[data-theme="light"] .page-home .testimonials-title,
html[data-theme="light"] .page-home .experiences-hover-title {
    color: #171717 !important;
}

html[data-theme="light"] .page-home .featured-tours-desc,
html[data-theme="light"] .page-home .holiday-desc,
html[data-theme="light"] .page-home .packages-desc,
html[data-theme="light"] .page-home .why-choose-us-desc,
html[data-theme="light"] .page-home .testimonials-desc,
html[data-theme="light"] .page-home .experiences-hover-desc {
    color: var(--pt-muted) !important;
}

/* Home — Featured Programs */
html[data-theme="light"] .page-home .featured-tours-title {
    color: #171717 !important;
}

html[data-theme="light"] .page-home .featured-tours-title strong {
    color: var(--pt-yellow) !important;
}

html[data-theme="light"] .page-home .featured-tours-intro .cursive-subtitle {
    color: var(--pt-yellow) !important;
}

html[data-theme="light"] .page-home .featured-tours-intro a {
    color: var(--pt-yellow);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

html[data-theme="light"] .page-home .featured-tours-intro a:hover {
    color: var(--pt-yellow-hot);
}

html[data-theme="light"] .page-home .featured-tour-card {
    background-color: #0a0a0a;
    border-color: rgba(15, 23, 42, 0.14) !important;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14) !important;
}

html[data-theme="light"] .page-home .featured-tour-card:hover {
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.18) !important;
}

html[data-theme="light"] .page-home .featured-tour-card .tour-card-content h4 {
    color: #ffffff !important;
}

html[data-theme="light"] .page-home .featured-tour-card .tour-card-duration,
html[data-theme="light"] .page-home .featured-tour-card .tour-stars {
    color: #fde047 !important;
}

/* Home — reviews: fondo claro y tipografía legible (no overlay oscuro ni texto #e8e8e8) */
html[data-theme="light"] .page-home .testimonials-section.testimonials-parallax {
    background-image: none !important;
    background-attachment: scroll;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .page-home .testimonials-overlay {
    background: transparent;
}

html[data-theme="light"] .page-home .testimonials-title strong {
    color: var(--pt-yellow);
}

html[data-theme="light"] .page-home .testimonial-card {
    background: #ffffff;
    border: 1px solid var(--pt-border);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html[data-theme="light"] .page-home .testimonial-card:hover {
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .page-home .testimonial-card .stars {
    color: #ca8a04;
}

html[data-theme="light"] .page-home .testimonial-text {
    color: #3f3f46;
}

html[data-theme="light"] .page-home .testimonial-author strong {
    color: #171717;
}

html[data-theme="light"] .page-home .testimonial-author span {
    color: var(--pt-yellow);
}

html[data-theme="light"] .page-home .holiday-promo {
    background: linear-gradient(145deg, #ffffff 0%, #f4f4f5 55%, #fef9c3 100%);
    border-color: var(--pt-border);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .page-home .holiday-promo__title {
    color: #171717;
}

html[data-theme="light"] .page-home .holiday-promo__text {
    color: var(--pt-muted);
}

html[data-theme="light"] .page-home .experiences-hover-section {
    background: #ebebed !important;
}

html[data-theme="light"] .page-home .experiences-hover-cta {
    background: #ebebed !important;
}

html[data-theme="light"] .page-home .package-card {
    background: #ffffff;
    border-color: var(--pt-border);
}

html[data-theme="light"] .page-home .choose-item {
    background: #ffffff;
    border-color: var(--pt-border);
}

html[data-theme="light"] .page-home .choose-item h4 {
    color: #171717;
}

html[data-theme="light"] .page-home .choose-item p {
    color: var(--pt-muted);
}
