:root {
  --primary: #0f5c6e;
  --primary-dark: #0a4352;
  --accent: #f28c38;
  --accent-dark: #d9731f;
  --ink: #1d2a33;
  --muted: #5f6f7a;
  --line: #e3e8ec;
  --bg: #ffffff;
  --bg-alt: #f5f8f9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 40, 55, .08);
  --shadow-lg: 0 20px 50px rgba(15, 40, 55, .16);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 2rem; }
.muted { color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 3rem 1rem; background: var(--bg-alt); border-radius: var(--radius); }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 500; border: 2px solid var(--accent); cursor: pointer; font: inherit; font-weight: 500; transition: .2s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-sm { padding: .5em 1.1em; font-size: .9rem; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.8); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); }
.btn-block { width: 100%; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
.has-hero .site-header:not(.scrolled) .logo,
.has-hero .site-header:not(.scrolled) .nav > a:not(.btn) { color: #fff; }
.has-hero .site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.site-header.scrolled { background: rgba(255,255,255,.97); border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav > a:not(.btn) { color: var(--ink); font-weight: 500; font-size: .95rem; position: relative; }
.nav > a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--accent); transition: width .25s; }
.nav > a:not(.btn):hover::after, .nav > a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(300px, 85vw); flex-direction: column; align-items: flex-start; background: #fff; padding: 90px 28px 28px; gap: 1.2rem; transform: translateX(100%); transition: transform .3s; box-shadow: var(--shadow-lg); }
  .nav.open { transform: none; }
  .has-hero .site-header:not(.scrolled) .nav > a:not(.btn) { color: var(--ink); }
  body.nav-open .nav-toggle span { background: var(--ink) !important; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: linear-gradient(135deg, #0f5c6e 0%, #1b8a8f 45%, #f28c38 100%); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,25,35,.55) 0%, rgba(5,25,35,.35) 50%, rgba(5,25,35,.7) 100%); }
.hero-content { position: relative; padding-top: 72px; max-width: 760px; margin-left: max(16px, (100% - 1180px) / 2); }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; opacity: .92; max-width: 600px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .35em; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent-dark); margin-bottom: .6rem; }
.eyebrow.light { color: #ffd2a8; }

.page-hero { background: linear-gradient(135deg, var(--primary) 0%, #1b8a8f 100%); color: #fff; padding: 4.5rem 0 3.5rem; text-align: center; position: relative; background-size: cover; background-position: center; }
.page-hero.with-image::before { content: ''; position: absolute; inset: 0; background: rgba(5,25,35,.55); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { opacity: .9; margin: 0; }

/* sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head p:last-child { color: var(--muted); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; display: block; background: var(--bg-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.06); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #1b8a8f, #0f5c6e 60%, #f28c38); color: #fff; font-family: var(--serif); font-size: 1.6rem; text-align: center; padding: 1rem; }
.badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); color: var(--ink); font-size: .78rem; font-weight: 600; padding: .3em .8em; border-radius: 999px; }
.badge-cat { left: auto; right: 14px; background: var(--accent); color: #fff; }
.card-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body .eyebrow { color: var(--muted); letter-spacing: .06em; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--primary); }
.card-text { color: var(--muted); font-size: .93rem; flex: 1; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.price { display: flex; flex-direction: column; line-height: 1.25; }
.price small { color: var(--muted); font-size: .75rem; }
.price strong { font-size: 1.35rem; color: var(--primary); }
.price.big strong { font-size: 2rem; }

/* chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
.chip { border: 1px solid var(--line); background: #fff; padding: .5em 1.2em; border-radius: 999px; cursor: pointer; font: inherit; font-size: .9rem; color: var(--ink); transition: .2s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
[data-filter-item].is-hidden { display: none !important; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.cat-card { position: relative; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #1b8a8f, #0f5c6e) center/cover; display: flex; align-items: flex-end; color: #fff; padding: 1.2rem; }
.cat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7)); transition: .3s; }
.cat-card:hover::before { background: linear-gradient(180deg, rgba(15,92,110,.3), rgba(0,0,0,.8)); }
.cat-card span { position: relative; display: flex; flex-direction: column; }
.cat-card strong { font-family: var(--serif); font-size: 1.3rem; }
.cat-card small { opacity: .85; }
.cat-card:hover { color: #fff; }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.feature { padding: 2rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); text-align: center; transition: .25s; }
.feature:hover { border-color: transparent; box-shadow: var(--shadow); }
.f-icon { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: #fff1e5; color: var(--accent-dark); font-size: 1.5rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-grid.compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gallery-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: #000; margin: 0; display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery-item:hover img { transform: scale(1.06); opacity: .9; }
.gallery-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .8rem; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.gallery-item.video { aspect-ratio: auto; background: #000; display: flex; flex-direction: column; }
.gallery-item.video video { width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.gallery-item figcaption { color: #fff; font-size: .85rem; padding: .5rem .8rem; background: #111; }

.lightbox { position: fixed; inset: 0; background: rgba(5,12,18,.94); z-index: 200; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 2rem; }
.lightbox img { max-height: 82vh; max-width: 92vw; border-radius: 6px; box-shadow: 0 10px 50px rgba(0,0,0,.5); }
.lightbox p { color: #ddd; margin: 1rem 0 0; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.feedback-layout .reviews { grid-template-columns: 1fr; }
.review { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); position: relative; }
.review::before { content: '“'; position: absolute; top: .2rem; right: 1.2rem; font-family: var(--serif); font-size: 4.5rem; color: #fde3cc; line-height: 1; }
.review .stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; }
.review p { color: #3a4a55; margin: .7rem 0 1rem; white-space: pre-line; }
.review footer { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 600; flex: none; }
.review strong { display: block; line-height: 1.2; }
.review small { color: var(--muted); }
.rating-summary { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem 1.6rem; background: var(--bg-alt); border-radius: var(--radius); margin-bottom: 1.5rem; }
.rating-summary .big { font-size: 2.6rem; font-family: var(--serif); font-weight: 700; color: var(--primary); line-height: 1; }
.rating-summary .stars { color: #f5a623; font-size: 1.2rem; }

/* forms */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-size: .87rem; font-weight: 500; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-size: .95rem; padding: .75em .9em; border: 1px solid #cfd8de; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,92,110,.15); }
.form textarea { resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.form-status { margin: 0; font-size: .92rem; min-height: 1.2em; }
.form-status.ok { color: #1a7f4b; background: #e7f6ee; padding: .8em 1em; border-radius: 10px; }
.form-status.err { color: #b42318; background: #fdecea; padding: .8em 1em; border-radius: 10px; }
.form-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg); }

.rating-field { border: 0; padding: 0; margin: 0; }
.rating-field legend { font-size: .87rem; font-weight: 500; margin-bottom: .35rem; padding: 0; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input label { font-size: 2rem; color: #d5dbe0; cursor: pointer; transition: color .15s; line-height: 1; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f5a623; }
.rating-input input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* CTA */
.cta-band { background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, #1b8a8f); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

/* tour detail */
.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 3rem; align-items: start; }
@media (max-width: 960px) { .tour-layout { grid-template-columns: 1fr; } }
.tour-main h2 { margin-top: 2.2rem; font-size: 1.6rem; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.5rem; }
.facts { display: flex; flex-wrap: wrap; gap: 1rem; }
.facts > div { display: flex; align-items: center; gap: .7rem; background: var(--bg-alt); padding: .9rem 1.2rem; border-radius: 12px; flex: 1 1 180px; }
.facts svg, .f-dot { color: var(--accent); width: 1.5em; height: 1.5em; font-size: 1.2rem; }
.facts span { display: flex; flex-direction: column; font-weight: 500; line-height: 1.3; }
.facts small { color: var(--muted); font-weight: 400; font-size: .78rem; }
.sticky-box { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.sticky-box .price { margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.sticky-box .form .grid-2 { grid-template-columns: 1fr; }
.list-check, .list-cross { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.list-check li, .list-cross li { padding-left: 1.8rem; position: relative; }
.list-check li::before { content: '✓'; position: absolute; left: 0; color: #1a7f4b; font-weight: 700; }
.list-cross li::before { content: '✕'; position: absolute; left: 0; color: #c0392b; font-weight: 700; }
.inc-exc { gap: 2rem; }
.itinerary { display: flex; flex-direction: column; gap: .7rem; }
.itinerary details { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.itinerary summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 500; display: flex; align-items: center; gap: 1rem; list-style: none; }
.itinerary summary::-webkit-details-marker { display: none; }
.itinerary summary::after { content: '+'; margin-left: auto; font-size: 1.3rem; color: var(--primary); }
.itinerary details[open] summary::after { content: '−'; }
.itinerary details[open] summary { background: var(--bg-alt); }
.day { background: var(--accent); color: #fff; font-size: .75rem; padding: .25em .75em; border-radius: 999px; white-space: nowrap; }
.it-body { padding: .2rem 1.2rem 1rem; color: #3a4a55; }

/* feedback & contact */
.feedback-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 3rem; align-items: start; }
.contact-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (max-width: 960px) { .feedback-layout, .contact-layout { grid-template-columns: 1fr; } .feedback-layout aside { order: -1; } }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; padding: 1.4rem; border-radius: var(--radius); background: var(--bg-alt); }
.contact-card svg { width: 44px; height: 44px; padding: 11px; background: var(--primary); color: #fff; border-radius: 50%; }
.contact-card h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.contact-card p { margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list svg { margin-top: .25em; color: var(--accent); }
.contact-list.light a { color: #fff; }

/* footer */
.site-footer { background: #0b2730; color: #b9c8cf; padding: 4rem 0 0; font-size: .93rem; }
.site-footer .logo { color: #fff; display: inline-block; margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 1rem; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #b9c8cf; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 3rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.social { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding: 1.4rem 0; text-align: center; font-size: .85rem; }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

.not-found h1 { font-size: 6rem; color: var(--primary); margin: 0; }

@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .form-card, .sticky-box { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
