@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --beige: #E8E2D8;
  --ink: #05060E;
  --navy: #272E60;
  --pink: #FDE2E4;
  --green: #25D366;
  --green-dark: #1eb857;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--beige); color: var(--ink); font-family: "Inter", sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .brand-name { font-family: "Source Serif 4", serif; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button, input, select, textarea { margin: 0; font: inherit; }
button { border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }
.container-wide { width: 100%; max-width: 90rem; margin-inline: auto; padding-inline: 1rem; }
.container-main { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
.site-shell { min-height: 100vh; background: var(--beige); color: var(--ink); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid rgba(39,46,96,.1); background: rgba(232,226,216,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; }
.brand { display: flex; align-items: center; gap: .625rem; }
.brand-logo-mark { width: 3.25rem; height: 3.25rem; object-fit: contain; }
.brand-name { color: var(--navy); font-size: 1.125rem; font-weight: 600; line-height: 1.25; }
.brand-name span { display: block; color: rgba(5,6,14,.6); font-family: "Inter",sans-serif; font-size: .75rem; font-weight: 400; }
.desktop-nav { display: none; align-items: center; gap: 1.5rem; }
.desktop-nav a { color: rgba(5,6,14,.8); font-size: .875rem; font-weight: 500; transition: color .15s ease; }
.desktop-nav a:hover { color: var(--navy); }
.header-whatsapp { display: none !important; }
.menu-toggle { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: .5rem; color: var(--navy); }
.menu-toggle .icon { width: 1.5rem; height: 1.5rem; }
.menu-toggle .close-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon { display: none; }
.menu-toggle[aria-expanded="true"] .close-icon { display: block; }
.mobile-menu { border-top: 1px solid rgba(39,46,96,.1); background: var(--beige); }
.mobile-menu nav { display: flex; flex-direction: column; gap: .25rem; padding: 1rem; }
.mobile-menu nav > a:not(.button) { border-radius: .5rem; padding: .625rem .75rem; color: rgba(5,6,14,.8); font-size: 1rem; font-weight: 500; }
.mobile-menu nav > a:not(.button):hover { background: #fff; color: var(--navy); }
.mobile-wa { width: 100%; margin-top: .5rem; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 9999px; font-weight: 500; transition: all .2s ease; }
.button:active, .destination-button:active { transform: scale(.98); }
.button:focus-visible, .destination-button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.button-whatsapp { padding: .75rem 1.5rem; background: var(--green); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.button-whatsapp:hover { background: var(--green-dark); }
.button-dark { padding: .75rem 1.5rem; background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.button-dark:hover { background: #1b2048; }

.hero-section { position: relative; display: flex; min-height: 100dvh; align-items: center; overflow: hidden; padding-top: 5rem; }
.hero-background { position: absolute; inset: 0; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(39,46,96,.85), rgba(39,46,96,.60), rgba(39,46,96,.30)); }
.hero-inner { position: relative; padding-block: 4rem; }
.hero-content { max-width: 42rem; }
.eyebrow { display: inline-block; border-radius: 9999px; background: var(--pink); padding: .25rem 1rem; color: var(--navy); font-size: .875rem; font-weight: 500; }
.hero-content h1 { margin-top: 1.25rem; color: #fff; font-size: 2.25rem; font-weight: 600; line-height: 1.25; }
.hero-content > p { max-width: 36rem; margin-top: 1.25rem; color: rgba(255,255,255,.9); font-size: 1.125rem; line-height: 1.625; }
.hero-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.button-hero-outline { border: 2px solid rgba(255,255,255,.8); padding: .625rem 1.5rem; color: #fff; }
.button-hero-outline:hover { background: #fff; color: var(--navy); }
.trust-badges { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin-top: 2.5rem; }
.trust-badge { display: flex; align-items: center; gap: .5rem; border-radius: .75rem; background: rgba(255,255,255,.1); padding: .625rem .75rem; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.trust-badge .icon { color: var(--pink); }
.trust-badge span { color: #fff; font-size: .75rem; font-weight: 500; }

.section { padding-block: 5rem; }
.section-beige { background: var(--beige); }
.section-white { background: #fff; }
.section-navy { background: var(--navy); }
.section-heading { max-width: 42rem; margin-inline: auto; text-align: center; }
.section-heading h2 { margin-top: 1rem; color: var(--navy); font-size: 1.875rem; font-weight: 600; line-height: 1.2; }
.section-heading p { margin-top: 1rem; color: rgba(5,6,14,.7); font-size: 1rem; line-height: 1.625; }
.section-heading-light h2 { color: #fff; }
.section-heading-light p { color: rgba(255,255,255,.8); }

.services-grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
.service-card { display: flex; flex-direction: column; border-radius: 1rem; background: #fff; padding: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .3s ease, box-shadow .3s ease; animation-delay: var(--delay); }
.service-card:hover { transform: translateY(-.25rem); box-shadow: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1); }
.service-icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: .75rem; background: var(--pink); color: var(--navy); transition: color .15s ease, background .15s ease; }
.service-icon .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.8; }
.service-card:hover .service-icon { background: var(--navy); color: #fff; }
.service-card h3 { margin-top: 1rem; color: var(--navy); font-size: 1.125rem; font-weight: 600; }
.service-card p { flex: 1; margin-top: .5rem; color: rgba(5,6,14,.7); font-size: .875rem; line-height: 1.625; }
.service-link { display: inline-flex; align-items: center; gap: .25rem; margin-top: 1rem; color: var(--navy); font-size: .875rem; font-weight: 500; }
.service-link:hover { color: var(--green); }


/* Buscadores externos: un solo visor con cambio directo */
.travel-engines-section { overflow: hidden; }
.travel-engine-panel { margin-top: 3rem; overflow: hidden; border: 1px solid rgba(39,46,96,.12); border-radius: 1.5rem; background: var(--beige); box-shadow: 0 18px 50px rgba(5,6,14,.08); }
.travel-engine-tabs { display: grid; grid-template-columns: 1fr; gap: .625rem; padding: .75rem; border-bottom: 1px solid rgba(39,46,96,.1); background: rgba(255,255,255,.72); }
.travel-engine-tab { display: flex; min-width: 0; align-items: center; gap: .75rem; border: 1px solid transparent; border-radius: 1rem; padding: .875rem; color: rgba(5,6,14,.68); text-align: left; transition: background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease; }
.travel-engine-tab:hover { background: #fff; color: var(--navy); }
.travel-engine-tab.active { border-color: rgba(39,46,96,.18); background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(39,46,96,.16); }
.travel-engine-tab:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.travel-engine-tab-icon { display: grid; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; place-items: center; border-radius: .8rem; background: var(--pink); color: var(--navy); }
.travel-engine-tab.active .travel-engine-tab-icon { background: rgba(255,255,255,.14); color: #fff; }
.travel-engine-tab-icon .icon { width: 1.35rem; height: 1.35rem; }
.travel-engine-tab strong, .travel-engine-tab small { display: block; }
.travel-engine-tab strong { font-size: .9rem; font-weight: 600; }
.travel-engine-tab small { margin-top: .1rem; font-size: .7rem; line-height: 1.35; opacity: .76; }
.travel-engine-content { padding: 1rem; }
.travel-engine-summary { display: flex; flex-direction: column; gap: 1.25rem; border-radius: 1rem 1rem 0 0; background: #fff; padding: 1.25rem; }
.travel-engine-label { color: var(--navy); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.travel-engine-summary h3 { margin-top: .35rem; color: var(--navy); font-size: 1.35rem; font-weight: 600; }
.travel-engine-summary p { max-width: 42rem; margin-top: .4rem; color: rgba(5,6,14,.66); font-size: .875rem; line-height: 1.6; }
.travel-engine-actions { display: flex; flex-direction: column; align-items: stretch; gap: .7rem; }
.travel-engine-external { align-self: center; color: var(--navy); font-size: .8rem; font-weight: 600; }
.travel-engine-external:hover { color: var(--green-dark); }
.travel-engine-frame { position: relative; min-height: 25rem; overflow: hidden; border-radius: 0 0 1rem 1rem; background: #fff; }
.travel-engine-frame[data-mode="catalog"] { height: min(72rem, 78vh); min-height: 38rem; }
.travel-engine-frame[data-mode="booking"] { height: 32rem; min-height: 32rem; }
.travel-engine-frame iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.travel-engine-consent { display: flex; min-height: inherit; height: 100%; align-items: center; justify-content: center; flex-direction: column; padding: 2rem; color: var(--navy); text-align: center; }
.travel-engine-consent-icon { display: grid; width: 3.5rem; height: 3.5rem; place-items: center; border-radius: 9999px; background: var(--pink); }
.travel-engine-consent-icon .icon { width: 1.65rem; height: 1.65rem; }
.travel-engine-consent strong { margin-top: 1rem; font-family: "Source Serif 4",serif; font-size: 1.25rem; }
.travel-engine-consent p { max-width: 28rem; margin-top: .45rem; color: rgba(5,6,14,.66); font-size: .875rem; }
.travel-engine-consent .button { margin-top: 1.25rem; }

.category-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.category-button { border-radius: 9999px; background: rgba(255,255,255,.1); padding: .5rem 1rem; color: #fff; font-size: .875rem; font-weight: 500; transition: background-color .15s ease,color .15s ease; }
.category-button:hover { background: rgba(255,255,255,.2); }
.category-button.active { background: var(--pink); color: var(--navy); }
.destinations-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.destination-card { overflow: hidden; border-radius: 1rem; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .3s ease,box-shadow .3s ease; }
.destination-card:hover { transform: translateY(-.25rem); box-shadow: 0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1); }
.destination-card.filtered-out { display: none; }
.destination-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.destination-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.destination-image:hover img { transform: scale(1.05); }
.destination-image span { position: absolute; top: .75rem; left: .75rem; border-radius: 9999px; background: var(--pink); padding: .25rem .75rem; color: var(--navy); font-size: .75rem; font-weight: 500; text-transform: capitalize; }
.destination-body { padding: 1.25rem; }
.destination-body h3 { color: var(--navy); font-size: 1.125rem; font-weight: 600; }
.destination-body > p:not(.destination-price) { margin-top: .5rem; color: rgba(5,6,14,.7); font-size: .875rem; line-height: 1.625; }
.destination-body ul { margin-top: .75rem; color: rgba(5,6,14,.6); font-size: .75rem; }
.destination-body li + li { margin-top: .25rem; }
.destination-body strong { color: var(--navy); }
.destination-price { margin-top: .75rem; color: var(--navy); font-size: .875rem; font-weight: 500; }
.destination-button { display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; border-radius: 9999px; background: var(--green); padding: .625rem 1rem; color: #fff; font-size: .875rem; font-weight: 500; transition: background-color .15s ease,transform .15s ease; }
.destination-button:hover { background: var(--green-dark); }
.destination-button .icon { width: 1rem; height: 1rem; }

.about-layout { display: grid; align-items: center; gap: 3rem; }
.about-image { overflow: hidden; border-radius: 1.5rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { margin-top: 1rem; color: var(--navy); font-size: 1.875rem; font-weight: 600; line-height: 1.2; }
.about-content > p:not(.owner-line) { margin-top: 1.25rem; color: rgba(5,6,14,.75); font-size: 1rem; line-height: 1.625; }
.value-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.value-chips span { border-radius: 9999px; background: #fff; padding: .375rem 1rem; color: var(--navy); font-size: .875rem; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.owner-line { margin-top: 1.5rem; color: rgba(5,6,14,.6); font-size: .875rem; }
.about-content .button { margin-top: 1.5rem; }

.process-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
.process-card { position: relative; border-radius: 1rem; background: var(--beige); padding: 1.5rem; }
.process-card > span { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 9999px; background: var(--navy); color: #fff; font-family: "Source Serif 4",serif; font-size: 1.25rem; font-weight: 600; }
.process-card h3 { margin-top: 1rem; color: var(--navy); font-size: 1.125rem; font-weight: 600; }
.process-card p { margin-top: .5rem; color: rgba(5,6,14,.7); font-size: .875rem; line-height: 1.625; }
.process-action { margin-top: 2.5rem; text-align: center; }

.reviews-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
.review-card { display: flex; flex-direction: column; border-radius: 1rem; background: var(--beige); padding: 1.5rem; }
.review-kicker { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.stars { display: flex; gap: .25rem; color: var(--navy); }
.stars .icon { width: 1rem; height: 1rem; fill: var(--pink); }
.review-card > p { flex: 1; margin-top: 1rem; color: rgba(5,6,14,.75); font-size: .875rem; line-height: 1.625; }
.review-card > div:last-child { margin-top: 1rem; }
.review-card h3 { color: var(--navy); font-family: "Inter",sans-serif; font-size: 1rem; font-weight: 600; }
.review-card small { display: block; color: rgba(5,6,14,.6); font-size: .75rem; }
.review-card > div:last-child > span { display: inline-block; margin-top: .5rem; border-radius: .25rem; background: var(--pink); padding: .125rem .5rem; color: var(--navy); font-size: .625rem; font-weight: 500; }


/* Galería con fotografías reales proporcionadas para el proyecto */
.travel-gallery-section { overflow: hidden; }
.travel-gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 3rem; }
.gallery-item { position: relative; min-height: 18rem; margin: 0; overflow: hidden; border-radius: 1rem; background: var(--beige); box-shadow: 0 4px 12px rgba(5,6,14,.08); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.gallery-item:hover img { transform: scale(1.045); }

.contact-layout { display: grid; gap: 3rem; }
.contact-layout-single { grid-template-columns: minmax(0, 1fr); }
.contact-layout-single .contact-info { width: 100%; max-width: 56rem; margin-inline: auto; }
.contact-info { color: #fff; }
.contact-info h2 { margin-top: 1rem; font-size: 1.875rem; font-weight: 600; line-height: 1.2; }
.contact-info > p { margin-top: 1rem; color: rgba(255,255,255,.8); }
.contact-info > ul { margin-top: 2rem; }
.contact-info li { display: flex; align-items: flex-start; gap: .75rem; }
.contact-info li + li { margin-top: 1rem; }
.contact-info li > .icon { margin-top: .125rem; color: var(--pink); }
.contact-info li div { min-width: 0; }
.contact-info li strong { display: block; font-weight: 500; }
.contact-info li a, .contact-info li span { display: block; color: rgba(255,255,255,.8); overflow-wrap: anywhere; }
.contact-info li a:hover { color: #fff; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.contact-pill { display: inline-flex; align-items: center; gap: .5rem; border-radius: 9999px; background: rgba(255,255,255,.1); padding: .5rem 1rem; color: #fff; font-size: .875rem; font-weight: 500; }
.contact-pill:hover { background: rgba(255,255,255,.2); }
.contact-pill-green { background: var(--green); }
.contact-pill-green:hover { background: var(--green-dark); }
.contact-pill .icon { width: 1rem; height: 1rem; }

.site-footer { background: var(--ink); padding-block: 3rem; color: rgba(255,255,255,.8); }
.footer-grid { display: grid; gap: 2rem; }
.footer-logo-wrap { display: inline-flex; max-width: 11rem; border-radius: .75rem; background: #fff; padding: .5rem; }
.footer-logo { width: 100%; height: auto; }
.footer-grid > div > p { margin-top: .75rem; font-size: .875rem; }
.social-links { display: flex; gap: .75rem; margin-top: 1rem; }
.social-links a { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: 9999px; background: rgba(255,255,255,.1); }
.social-links a:hover { background: var(--navy); }
.social-links .icon { width: 1rem; height: 1rem; }
.footer-grid h4 { color: #fff; font-family: "Inter",sans-serif; font-size: 1rem; font-weight: 600; }
.footer-grid ul { margin-top: .75rem; font-size: .875rem; }
.footer-grid li + li { margin-top: .5rem; }
.footer-grid a:hover { color: #fff; }
.footer-cookie-link { padding: 0; color: inherit; font-size: inherit; text-align: left; }
.footer-cookie-link:hover { color: #fff; }
.break-word { overflow-wrap: anywhere; }
.copyright { margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; color: rgba(255,255,255,.5); text-align: center; font-size: .75rem; }
.floating-whatsapp { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50; display: grid; width: 3.5rem; height: 3.5rem; place-items: center; border-radius: 9999px; background: var(--green); color: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1); animation: floatSlow 3s ease-in-out infinite; transition: transform .15s ease; }
.floating-whatsapp:hover { transform: scale(1.1); }
.floating-whatsapp:active { transform: scale(.95); }
.floating-whatsapp .icon { width: 1.75rem; height: 1.75rem; }

/* Consentimiento inspirado en un pase de abordar */
.cookie-pass { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 100; display: grid; width: min(39rem,calc(100vw - 2.5rem)); grid-template-columns: 4.65rem minmax(0,1fr); overflow: hidden; border: 1px solid rgba(39,46,96,.16); border-radius: 1.25rem; background: #fff; color: var(--ink); box-shadow: 0 24px 70px rgba(5,6,14,.24); animation: cookiePassIn .55s cubic-bezier(.16,1,.3,1) both; }
.cookie-pass[hidden] { display: none; }
.cookie-pass.is-leaving { animation: cookiePassOut .22s ease both; }
.cookie-pass-stub { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .8rem; overflow: hidden; background: var(--navy); color: #fff; }
.cookie-pass-stub::after { content: ""; position: absolute; top: .75rem; right: -.5px; bottom: .75rem; border-right: 1px dashed rgba(255,255,255,.45); }
.cookie-pass-stub span { font-size: .62rem; font-weight: 700; letter-spacing: .15em; writing-mode: vertical-rl; }
.cookie-pass-stub .icon { width: 1.45rem; height: 1.45rem; color: var(--pink); }
.cookie-pass-main { position: relative; padding: 1.35rem 1.5rem 1.25rem; }
.cookie-pass-main::before,.cookie-pass-main::after { content: ""; position: absolute; left: -.55rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--beige); }
.cookie-pass-main::before { top: -.55rem; }
.cookie-pass-main::after { bottom: -.55rem; }
.cookie-pass-route { display: flex; align-items: center; gap: .55rem; color: rgba(39,46,96,.6); font-size: .58rem; font-weight: 700; letter-spacing: .13em; }
.cookie-pass-route i { height: 1px; flex: 1; border-top: 1px dashed rgba(39,46,96,.24); }
.cookie-pass-heading { display: flex; align-items: center; gap: .8rem; margin-top: .9rem; }
.cookie-pass-heading img { width: 2.7rem; height: 2.7rem; border-radius: .7rem; background: var(--beige); object-fit: contain; }
.cookie-pass-kicker { display: block; color: var(--navy); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cookie-pass h2 { color: var(--navy); font-size: 1.55rem; font-weight: 600; line-height: 1.05; }
.cookie-pass-main > p { margin-top: .8rem; color: rgba(5,6,14,.7); font-size: .82rem; line-height: 1.55; }
.cookie-pass-actions { display: flex; align-items: center; gap: .65rem; margin-top: 1rem; }
.cookie-pass-accept { border-radius: .7rem; background: var(--navy); padding: .7rem 1rem; color: #fff; font-size: .8rem; }
.cookie-pass-accept:hover { background: #1b2048; }
.cookie-pass-essential { border-bottom: 1px solid rgba(39,46,96,.28); padding: .2rem .1rem; color: var(--navy); font-size: .76rem; font-weight: 600; }
.cookie-pass-essential:hover { border-bottom-color: var(--navy); }
.cookie-pass-privacy { display: inline-block; margin-top: .8rem; color: rgba(39,46,96,.72); font-size: .7rem; font-weight: 600; }
.cookie-pass-privacy:hover { color: var(--navy); }
.cookie-pass button:focus-visible,.footer-cookie-link:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@keyframes cookiePassIn { from { opacity: 0; transform: translateY(1.5rem) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes cookiePassOut { to { opacity: 0; transform: translateY(.75rem) scale(.98); } }

.reveal { opacity: 0; }
.reveal.in-view { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatSlow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.contact-section { min-height: 34rem; display: flex; align-items: center; }

@media (min-width: 640px) {
  .travel-engine-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .travel-engine-content { padding: 1.25rem; }
  .travel-engine-summary { padding: 1.5rem; }
  .travel-engine-frame[data-mode="booking"] { height: 36rem; }

  .container-wide, .container-main { padding-inline: 1.5rem; }
  .hero-content h1 { font-size: 3rem; line-height: 1; }
  .hero-actions { flex-direction: row; }
  .trust-badges { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .section { padding-block: 6rem; }
  .section-heading h2, .about-content h2, .contact-info h2 { font-size: 2.25rem; }
  .services-grid, .destinations-grid, .process-grid, .reviews-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .travel-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-item-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (min-width: 1024px) {
  .travel-engine-tabs { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .travel-engine-tab:hover { transform: translateY(-2px); }
  .travel-engine-summary { flex-direction: row; align-items: center; justify-content: space-between; }
  .travel-engine-actions { flex: 0 0 auto; align-items: center; }
  .travel-engine-frame[data-mode="booking"] { height: 24rem; min-height: 24rem; }

  .desktop-nav { display: flex; }
  .header-whatsapp { display: inline-flex !important; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .hero-content h1 { font-size: 3.75rem; line-height: 1; }
  .services-grid, .destinations-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .about-layout { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .reviews-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .travel-gallery { grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-flow: dense; grid-auto-rows: 11rem; }
  .gallery-item { min-height: 0; }
  .gallery-item-tall { grid-row: span 2; }
  .gallery-item-wide { grid-column: span 2; grid-row: span 2; }
}


@media (max-width: 639px) {
  .travel-engine-frame[data-mode="catalog"] { height: 75vh; min-height: 34rem; }
  .travel-engine-frame[data-mode="booking"] { height: 34rem; min-height: 34rem; }
  .cookie-pass { left: .75rem; bottom: .75rem; width: calc(100vw - 1.5rem); grid-template-columns: 3.15rem minmax(0,1fr); border-radius: 1rem; }
  .cookie-pass-main { padding: 1.1rem 1rem 1rem; }
  .cookie-pass-stub { gap: .55rem; }
  .cookie-pass-heading { align-items: flex-start; }
  .cookie-pass-heading img { width: 2.4rem; height: 2.4rem; }
  .cookie-pass h2 { font-size: 1.35rem; }
  .cookie-pass-actions { align-items: stretch; flex-direction: column; }
  .cookie-pass-accept { width: 100%; }
  .cookie-pass-essential { align-self: center; }
  body.cookie-banner-open .floating-whatsapp { bottom: var(--cookie-banner-space,22rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cookie-pass,.cookie-pass.is-leaving { animation: none; }
}
