/* ============================================================
   Maddy Tours - Theme stylesheet
   Palette derived from Maddy-Tours-Logo.png
   sky  #3EBCE7 | sky-soft #B5E3F0 | orange #F6871F
   sun  #FFE45F | sun-soft #FFF1A3 | ink   #241F20
   ============================================================ */

:root {
    --sky: #3EBCE7;
    --sky-dark: #1e9cc9;
    --sky-soft: #B5E3F0;
    --orange: #F6871F;
    --orange-dark: #dd6d0a;
    --sun: #FFE45F;
    --sun-soft: #FFF1A3;
    --ink: #241F20;
    --ink-2: #4a4546;
    --muted: #7c7778;
    --line: #e7eef2;
    --bg: #ffffff;
    --bg-soft: #f4fafd;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(36, 31, 32, 0.08);
    --shadow-lg: 0 22px 50px rgba(36, 31, 32, 0.14);
    --font-head: 'Poppins', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
    font-family: var(--font-body);
    color: var(--ink-2);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--sky-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    cursor: pointer; transition: all .2s; line-height: 1.2;
}
.btn[hidden] { display: none !important; }
.btn-primary { background: var(--sky); color: #fff; }
.btn-primary:hover { background: var(--sky-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(62,188,231,.35); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(246,135,31,.35); }
.btn-outline { border-color: var(--sky); color: var(--sky-dark); background: transparent; }
.btn-outline:hover { background: var(--sky); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1DA851; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sun-soft); color: var(--ink); }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; background: var(--sun-soft); padding: 3px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.main-nav ul { display: flex; align-items: center; gap: .4rem; }
.main-nav ul a {
    display: block; padding: .5rem .9rem; border-radius: 999px;
    font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink-2);
}
.main-nav ul a:hover, .main-nav ul a.active { color: var(--sky-dark); background: var(--sky-soft); }
.nav-cta { margin-left: .8rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 3px; transition: .3s; }
.main-nav { display: flex; align-items: center; }

/* ---------------- Hero ---------------- */
.hero {
    position: relative; min-height: 70vh; display: flex; align-items: center;
    background: linear-gradient(135deg, var(--sky) 0%, var(--sky-soft) 100%);
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: .55; }
.hero-content { position: relative; z-index: 2; padding: 5rem 0; color: var(--ink); max-width: 640px; }
.hero-eyebrow {
    display: inline-block; background: var(--sun); color: var(--ink);
    padding: .35rem 1rem; border-radius: 999px; font-weight: 600;
    font-size: .85rem; font-family: var(--font-head); margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; color: var(--ink-2); margin-bottom: 1.8rem; max-width: 520px; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

.search-bar {
    position: relative; z-index: 3; margin-top: 2.2rem; background: #fff;
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 1.2rem; display: grid; grid-template-columns: 2fr 1fr 1fr auto;
    gap: .9rem; align-items: end;
}
.search-bar label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: .3rem; font-family: var(--font-head); }
.search-bar select, .search-bar input {
    width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--line);
    border-radius: 10px; font-family: var(--font-body); font-size: .95rem; color: var(--ink);
    background: #fff;
}

/* ---------------- Section helpers ---------------- */
.section { padding: 4.5rem 0; }
.section.soft { background: var(--bg-soft); }
.eyebrow { color: var(--orange); font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; margin: .4rem 0 .8rem; }
.section-sub { color: var(--muted); max-width: 640px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; flex-wrap: wrap; }

/* ---------------- Tour cards ---------------- */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.7rem; }
.tour-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--line);
    transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tour-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tour-card:hover .tour-media img { transform: scale(1.06); }
.tour-badge {
    position: absolute; top: .9rem; left: .9rem; background: var(--orange); color: #fff;
    padding: .25rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 600; font-family: var(--font-head);
}
.tour-fav { position: absolute; top: .8rem; right: .8rem; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; color: var(--orange); cursor: pointer; border: 0; font-size: 1.05rem; }
.tour-body { padding: 1.3rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.tour-loc { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; }
.tour-loc::before { content: "📍"; }
.tour-title { font-size: 1.15rem; font-weight: 600; }
.tour-title a { color: var(--ink); }
.tour-title a:hover { color: var(--orange); }
.tour-meta { display: flex; gap: 1rem; font-size: .85rem; color: var(--muted); }
.tour-meta span::before { content: "• "; color: var(--sky); font-weight: 700; }
.tour-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: .9rem; margin-top: auto; }
.tour-price small { display: block; font-size: .75rem; color: var(--muted); }
.tour-price strong { font-size: 1.35rem; color: var(--orange); }
.tour-price del { color: var(--muted); font-size: .85rem; margin-left: .4rem; }
.tour-rating { display: flex; align-items: center; gap: .35rem; color: var(--orange); font-weight: 600; font-size: .9rem; }

/* ---------------- Feature / why us ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.5rem; }
.feature-card {
    background: #fff; border-radius: var(--radius); padding: 1.8rem 1.5rem;
    border: 1px solid var(--line); text-align: center; transition: all .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-soft); }
.feature-icon {
    width: 68px; height: 68px; margin: 0 auto 1rem; border-radius: 20px;
    display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
    background: var(--sun-soft);
}
.feature-card:nth-child(2) .feature-icon { background: var(--sky-soft); }
.feature-card:nth-child(3) .feature-icon { background: var(--sun-soft); }
.feature-card:nth-child(4) .feature-icon { background: var(--sky-soft); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature-card p { font-size: .92rem; color: var(--muted); }

/* ---------------- Stats ---------------- */
.stats { background: var(--ink); color: #fff; padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 1.5rem; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--sun); }
.stat-label { color: #cfc9ca; font-size: .92rem; }

/* ---------------- Testimonials ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1.5rem; }
.testi-card { background: #fff; border-radius: var(--radius); padding: 1.7rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
.testi-stars { color: var(--orange); letter-spacing: 2px; margin-bottom: .8rem; }
.testi-source { margin: -.45rem 0 .75rem; color: var(--muted); font-size: .76rem; font-family: var(--font-head); font-weight: 600; }
.testi-source i { color: #00a680; margin-right: .25rem; }
.testi-text { font-style: italic; color: var(--ink-2); margin-bottom: 1.1rem; }
.testi-person { display: flex; align-items: center; gap: .8rem; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--sky-soft); display: flex; align-items: center; justify-content: center; color: var(--sky-dark); font-weight: 700; font-family: var(--font-head); }
.testi-person strong { display: block; color: var(--ink); font-size: .95rem; }
.testi-person span { font-size: .82rem; color: var(--muted); }

/* ---------------- CTA band ---------------- */
.cta-band {
    background: linear-gradient(120deg, var(--orange), var(--sun));
    border-radius: var(--radius); padding: 3rem 2.5rem; text-align: center; color: var(--ink);
    position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.cta-band p { margin-bottom: 1.5rem; font-weight: 500; }

/* ---------------- Page banner ---------------- */
.page-banner {
    background:
        radial-gradient(circle at 82% 15%, rgba(255,255,255,.18), transparent 45%),
        linear-gradient(120deg, var(--sky-dark) 0%, var(--sky) 55%, var(--sky-soft) 100%);
    padding: 4.2rem 0; text-align: center; position: relative; overflow: hidden;
}
.page-banner h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; }
.page-banner .breadcrumb { margin-top: .6rem; font-size: .92rem; color: rgba(255,255,255,.85); font-family: var(--font-head); }
.page-banner .breadcrumb a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.page-banner .breadcrumb a:hover { color: var(--sun); }

/* ---------------- Forms ---------------- */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .35rem; }
.form-control {
    width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--line);
    border-radius: 10px; font-family: var(--font-body); font-size: .95rem; color: var(--ink);
    background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(62,188,231,.18); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.alert { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1.3rem; font-weight: 500; font-size: .95rem; }
.alert-success { background: #e6f9ef; color: #0b7a45; border: 1px solid #b7ecd2; }
.alert-error { background: #fdecec; color: #b02a2a; border: 1px solid #f5c6c6; }

/* ---------------- Widgets / sidebar ---------------- */
.layout-2col { display: grid; grid-template-columns: 1fr 340px; gap: 2.2rem; align-items: start; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.widget-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--sky-soft); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--orange); }
.widget-search { display: flex; }
.widget-search input { flex: 1; border: 1.5px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; padding: .65rem .9rem; font-family: var(--font-body); }
.widget-search button { border: 0; background: var(--sky); color: #fff; border-radius: 0 10px 10px 0; padding: 0 1rem; cursor: pointer; font-size: 1rem; }
.widget-search button:hover { background: var(--sky-dark); }
.widget-list li { padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.widget-list li:last-child { border-bottom: 0; }
.widget-list a { color: var(--ink-2); font-size: .95rem; }
.widget-list a:hover { color: var(--orange); padding-left: 4px; }
.widget-list .count { float: right; color: var(--muted); font-size: .82rem; }
.widget-list .date { display: block; font-size: .78rem; color: var(--muted); }
.recent-thumb { display: flex; align-items: center; gap: .8rem; padding: .5rem 0; }
.recent-thumb img { width: 62px; height: 54px; border-radius: 8px; object-fit: cover; }
.recent-thumb a { font-size: .9rem; color: var(--ink); font-weight: 500; line-height: 1.35; display: block; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-cloud a { background: var(--bg-soft); border: 1px solid var(--line); padding: .3rem .8rem; border-radius: 999px; font-size: .82rem; color: var(--ink-2); }
.tag-cloud a:hover { background: var(--sky); color: #fff; border-color: var(--sky); }

/* ---------------- Blog cards ---------------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.7rem; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-media img { transform: scale(1.06); }
.blog-cat { position: absolute; top: .9rem; left: .9rem; background: var(--ink); color: var(--sun); padding: .25rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 600; font-family: var(--font-head); }
.blog-body { padding: 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.blog-meta { font-size: .82rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.blog-title { font-size: 1.1rem; font-weight: 600; line-height: 1.4; }
.blog-title a { color: var(--ink); }
.blog-title a:hover { color: var(--orange); }
.blog-excerpt { font-size: .93rem; color: var(--muted); flex: 1; }
.blog-more { color: var(--orange); font-weight: 600; font-size: .9rem; font-family: var(--font-head); }
.blog-more i { font-size: .75rem; transition: transform .25s; display: inline-block; }
.blog-card:hover .blog-more i { transform: translateX(4px); }
.blog-filters { margin-bottom: 1.8rem; }
.blog-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.blog-meta i { color: var(--orange); font-size: .78rem; }

/* Keep the blog content and sidebar in their intended desktop columns. */
.layout-2col > .blog-main,
.layout-2col > .blog-article { grid-column: 1; min-width: 0; }
.layout-2col > .blog-sidebar { grid-column: 2; grid-row: 1; min-width: 0; }

/* ---------------- Blog article (details) ---------------- */
.article-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/9; margin-bottom: 1.6rem; }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: .4rem 0 1rem; line-height: 1.3; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.3rem; margin: 0 0 1.6rem; font-size: .92rem; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.article-meta i { color: var(--orange); }
.article-tags { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.article-tags > strong { font-family: var(--font-head); color: var(--ink); }
.article-author { display: flex; gap: 1rem; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; margin-top: 2rem; }
.article-author .author-avatar { flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--sky-soft); display: flex; align-items: center; justify-content: center; color: var(--sky-dark); font-size: 2.2rem; }
.article-author strong { font-family: var(--font-head); color: var(--ink); }
.article-author p { font-size: .9rem; color: var(--muted); margin-top: .2rem; }
.article-nav { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------------- Tour details ---------------- */
.detail-header { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.2rem; align-items: center; margin-bottom: 2.5rem; }
.detail-header img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.detail-info h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: .6rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 1.3rem; margin: 1rem 0 1.4rem; font-size: .92rem; color: var(--muted); }
.detail-meta strong { color: var(--ink); }
.price-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin-top: 1rem; }
.price-box .now { font-size: 2rem; font-weight: 800; color: var(--orange); font-family: var(--font-head); }
.price-box .was { text-decoration: line-through; color: var(--muted); }
.highlights-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.highlights-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.highlights-list li::before { content: "✓"; color: var(--orange); font-weight: 800; }
.timeline { position: relative; padding-left: 1.8rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 3px; background: var(--sky-soft); border-radius: 3px; }
.tl-item { position: relative; margin-bottom: 1.6rem; }
.tl-item::before { content: ""; position: absolute; left: -1.8rem; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--sky); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--sky); }
.tl-day { font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: .85rem; }
.tl-item h4 { margin: .15rem 0 .3rem; font-size: 1.05rem; }
.tl-item p { font-size: .94rem; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.inc-list li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.inc-list li::before { content: "✓"; position: absolute; left: 0; color: #0b9d5a; font-weight: 700; }
.exc-list li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.exc-list li::before { content: "✕"; position: absolute; left: 0; color: #d64545; font-weight: 700; }

/* ---------------- Booking widget / card ---------------- */
.book-card { position: sticky; top: 120px; }
.book-price { display: flex; align-items: baseline; gap: .6rem; }
.book-price strong { font-size: 2rem; color: var(--orange); font-family: var(--font-head); }
.book-price del { color: var(--muted); }
.book-note { font-size: .82rem; color: var(--muted); margin: .4rem 0 1rem; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.2rem; align-items: start; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px dashed var(--line); }
.info-card:last-child { border-bottom: 0; }
.info-icon { flex: 0 0 50px; height: 50px; border-radius: 14px; background: var(--sun-soft); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.info-card h4 { font-size: 1rem; margin-bottom: .2rem; }
.info-card p { color: var(--muted); font-size: .92rem; }

/* ---------------- Static / policy pages ---------------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin: 1.6rem 0 .7rem; }
.prose h3 { font-size: 1.1rem; margin: 1.3rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: .8rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; }
.prose ol { list-style: decimal; padding-left: 1.4rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: .92rem; overflow: hidden; }
.prose thead th { background: var(--orange); color: #fff; text-align: left; font-family: var(--font-head); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.prose th, .prose td { padding: .7rem .8rem; border: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) { background: var(--bg-soft); }
.prose tbody tr:hover { background: var(--sky-soft); }

/* ---------------- Pagination ---------------- */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-family: var(--font-head); }
.pagination a:hover { background: var(--sky); color: #fff; border-color: var(--sky); }
.pagination .current { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ---------------- Filter chips ---------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.chip { padding: .5rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--sky); color: var(--sky-dark); }
.chip.active { background: var(--sky); color: #fff; border-color: var(--sky); }

/* ---------------- Empty state ---------------- */
.empty { text-align: center; padding: 3.5rem 1rem; color: var(--muted); }
.empty .big { font-size: 3rem; margin-bottom: .5rem; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #cfc9ca; margin-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.2rem; padding: 3.5rem 0 2rem; }
.site-footer .brand-name { color: #fff; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.site-footer ul li { margin-bottom: .55rem; }
.site-footer a { color: #cfc9ca; }
.site-footer a:hover { color: var(--sun); }
.footer-contact li { margin-bottom: .55rem; }
.social-links { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.social-links a { background: #343030; color: #fff; padding: .45rem .9rem; border-radius: 999px; font-size: .8rem; font-family: var(--font-head); }
.social-links a:hover { background: var(--orange); }
.footer-bottom { border-top: 1px solid #3a3536; padding: 1.1rem 0; text-align: center; font-size: .88rem; }

/* ---------------- Topbar ---------------- */
.topbar { background: var(--ink); color: #cfc9ca; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.topbar-links a { color: #cfc9ca; font-family: var(--font-head); font-weight: 500; font-size: .78rem; }
.topbar-links a:hover { color: var(--sun); }
.topbar-contact { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.topbar-contact a { color: #cfc9ca; font-family: var(--font-head); font-weight: 500; font-size: .78rem; }
.topbar-contact a:hover { color: var(--sun); }

/* ---------------- Dark hero ---------------- */
.hero-dark {
    background: var(--ink);
    color: #fff;
}
.hero-dark .hero-bg { opacity: .4; }
.hero-dark::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(20,17,18,.88) 20%, rgba(20,17,18,.35) 60%, rgba(20,17,18,.55) 100%);
}
.hero-dark .hero-content { color: #fff; }
.hero-dark .hero-eyebrow { background: var(--orange); color: #fff; }
.hero-dark h1 { color: #fff; }
.hero-dark p { color: #e8e2e3; }

/* ---------------- Mission / Vision (About) ---------------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem; margin-top: 2.5rem; }
.mv-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; transition: all .25s; }
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mv-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--sun-soft); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.1rem; }
.mv-card:nth-child(2) .mv-icon { background: var(--sky-soft); }
.mv-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.mv-card p { font-size: .95rem; color: var(--muted); }

/* ---------------- Milestones (About) ---------------- */
.milestones { position: relative; max-width: 780px; margin: 0 auto; padding-left: 2.4rem; }
.milestones::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 3px; background: var(--sky-soft); border-radius: 3px; }
.milestone { position: relative; margin-bottom: 2rem; padding: 1.4rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.milestone::before { content: ""; position: absolute; left: -2.4rem; top: 1.7rem; width: 17px; height: 17px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--orange); }
.ms-year { display: inline-block; background: var(--ink); color: var(--sun); font-family: var(--font-head); font-weight: 700; padding: .2rem .9rem; border-radius: 999px; font-size: .8rem; margin-bottom: .5rem; }
.milestone h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.milestone p { font-size: .94rem; color: var(--muted); }

/* ---------------- FAQ accordion ---------------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .9rem; overflow: hidden; transition: box-shadow .25s; }
.faq-item:hover { box-shadow: var(--shadow); }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: none; border: 0; cursor: pointer; text-align: left;
    padding: 1.15rem 1.4rem; font-family: var(--font-head); font-weight: 600;
    font-size: 1rem; color: var(--ink); transition: color .2s;
}
.faq-q:hover { color: var(--orange); }
.faq-icon {
    flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--sky-soft);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    color: var(--sky-dark); transition: transform .3s, background .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
    padding: 0 1.4rem; color: var(--muted); font-size: .95rem;
}
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 1.2rem; }

/* ---------------- Footer extras ---------------- */
.footer-about p { margin-top: .9rem; font-size: .92rem; max-width: 300px; }
.footer-contact li::before { content: "• "; color: var(--orange); }

/* ---------------- Topbar social icons ---------------- */
.topbar-social {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #e8e2e3 !important;
    transition: background .25s, color .25s, transform .25s;
}
.topbar-social:hover { background: var(--orange); color: #fff !important; transform: translateY(-2px); }
.topbar-links { align-items: center; }
.topbar-contact a i { margin-right: .3rem; color: var(--sun); }

/* ---------------- Maddy footer ---------------- */
.maddy-footer * { margin: 0; padding: 0; box-sizing: border-box; }
.maddy-footer {
    font-family: 'Poppins', 'Segoe UI', Roboto, sans-serif;
    width: 100%; max-width: 100%; display: block;
    background: #1a1410; color: rgba(255,255,255,.80);
    line-height: 1.7;
}
.maddy-footer a { text-decoration: none; color: inherit; transition: color .3s ease; }
.maddy-footer a:hover { color: #F68B1F; }
.maddy-footer ul { list-style: none; padding: 0; margin: 0; }
.maddy-footer .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1400px) {
    .maddy-footer .container { max-width: 1400px; padding: 0 40px; }
}
.maddy-footer { --primary: #F68B1F; --primary-dark: #d97a1a; --primary-light: #fce4c8; --sand: #F7E6A5; --dark: #1E1E1E; --white: #FFFFFF; --radius: 18px; --transition: 0.3s ease; --serif: 'Cormorant Garamond', 'Times New Roman', serif; }
.maddy-footer .footer-main { padding: 60px 0 40px; border-bottom: 1px solid rgba(255,255,255,.06); }
.maddy-footer .footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 40px; }
.maddy-footer .footer-brand .logo {
    font-family: var(--serif); font-size: 1.8rem; font-weight: 700;
    color: #fff; margin-bottom: 12px; display: inline-block;
}
.maddy-footer .footer-brand .logo span { color: var(--primary); }
.maddy-footer .footer-brand .tagline {
    font-size: .92rem; line-height: 1.8; color: rgba(255,255,255,.70);
    max-width: 320px; margin-bottom: 18px;
}
.maddy-footer .footer-brand .social-icons { display: flex; gap: 12px; flex-wrap: wrap; }
.maddy-footer .footer-brand .social-icons a {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,.06); color: rgba(255,255,255,.80);
    font-size: 1.2rem; transition: var(--transition);
    border: 1px solid rgba(255,255,255,.06); text-decoration: none;
}
.maddy-footer .footer-brand .social-icons a:hover {
    background: var(--primary); color: #fff; transform: translateY(-3px);
    border-color: var(--primary); box-shadow: 0 4px 14px rgba(246,139,31,.30);
}
.maddy-footer .footer-brand .social-icons a i { font-size: 1.2rem; }
.maddy-footer .footer-links h4,
.maddy-footer .footer-contact h4 {
    font-size: .85rem; font-weight: 600; color: #fff; margin-bottom: 16px;
    letter-spacing: .5px; text-transform: uppercase;
}
.maddy-footer .footer-links ul li { margin-bottom: 8px; }
.maddy-footer .footer-links ul li a {
    font-size: .92rem; color: rgba(255,255,255,.70); transition: var(--transition);
    display: inline-block; position: relative;
}
.maddy-footer .footer-links ul li a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: var(--primary); transition: width .3s ease;
}
.maddy-footer .footer-links ul li a:hover::after { width: 100%; }
.maddy-footer .footer-links ul li a:hover { color: #fff; }
.maddy-footer .footer-contact .contact-item {
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px;
    font-size: .92rem; color: rgba(255,255,255,.70);
}
.maddy-footer .footer-contact .contact-item .icon {
    flex-shrink: 0; width: 20px; text-align: center; color: var(--primary);
    font-size: 1rem; margin-top: 2px;
}
.maddy-footer .footer-contact .contact-item a { color: rgba(255,255,255,.70); transition: var(--transition); }
.maddy-footer .footer-contact .contact-item a:hover { color: var(--primary); }
.maddy-footer .footer-bottom {
    padding: 20px 0; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 12px;
}
.maddy-footer .footer-bottom .copyright { font-size: .82rem; color: rgba(255,255,255,.50); }
.maddy-footer .footer-bottom .copyright span { color: var(--primary); }
.maddy-footer .footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.maddy-footer .footer-bottom .legal-links a { font-size: .82rem; color: rgba(255,255,255,.50); transition: var(--transition); }
.maddy-footer .footer-bottom .legal-links a:hover { color: var(--primary); }
.maddy-footer .footer-bottom .legal-links .divider { color: rgba(255,255,255,.15); font-size: .82rem; }

/* ---------------- Tour gallery ---------------- */
.tour-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-bottom: 2rem; }
.tour-gallery .g-item { position: relative; overflow: hidden; border-radius: 14px; cursor: pointer; aspect-ratio: 4/3; }
.tour-gallery .g-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.tour-gallery .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tour-gallery .g-item:hover img { transform: scale(1.06); }
.tour-gallery .g-item .g-count {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(20,17,18,.55); color: #fff; font-family: var(--font-head);
    font-weight: 600; font-size: 1.1rem; cursor: pointer;
}
.tour-gallery .g-item:hover .g-count { background: rgba(20,17,18,.4); }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 1000; display: none;
    align-items: center; justify-content: center;
    background: rgba(20,17,18,.94); padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-close {
    position: absolute; top: 18px; right: 22px; width: 44px; height: 44px;
    border-radius: 50%; background: rgba(255,255,255,.12); color: #fff;
    border: 0; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: var(--orange); }
.lb-prev, .lb-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12);
    color: #fff; border: 0; font-size: 1.3rem; cursor: pointer;
}
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: var(--orange); }
.lb-counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; font-family: var(--font-head); }

/* ---------------- Tour facts panel ---------------- */
.tour-facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 1rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 2rem;
}
.fact-item { display: flex; gap: .8rem; align-items: flex-start; }
.fact-item .f-icon {
    flex: 0 0 44px; height: 44px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; font-size: 1.15rem;
    background: var(--bg-soft); color: var(--orange);
}
.fact-item .f-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-family: var(--font-head); font-weight: 600; }
.fact-item .f-value { font-size: .92rem; font-weight: 600; color: var(--ink); font-family: var(--font-head); }

/* ---------------- Tabs ---------------- */
.tab-nav {
    display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.8rem;
    border-bottom: 2px solid var(--line); padding-bottom: 0;
}
.tab-btn {
    padding: .7rem 1.4rem; border: 0; background: none; cursor: pointer;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px;
    transition: color .2s, border-color .2s;
}
.tab-btn:hover { color: var(--sky-dark); }
.tab-btn.active { color: var(--orange); border-bottom-color: var(--orange); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------- Tour detail prose ---------------- */
.tour-overview p { font-size: 1rem; color: var(--ink-2); margin-bottom: 1rem; }
.tour-detail-block { margin-bottom: 2rem; }
.tour-detail-block h2 { font-size: 1.3rem; margin-bottom: .8rem; }

/* ---------------- Booking form focus ---------------- */
.book-note .guarantees { display: flex; flex-direction: column; gap: .4rem; margin: .8rem 0 1rem; }
.book-note .guarantees li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.book-note .guarantees li::before { content: "✓"; color: #0b9d5a; font-weight: 800; }
.book-card .form-control.invalid { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214,69,69,.12); }
.field-error { color: #b02a2a; font-size: .78rem; margin-top: .25rem; display: none; }

/* ---------------- Testimonials (homepage) ---------------- */
.testi-grid { align-items: stretch; }
.testi-avatar i { font-size: 1.3rem; color: var(--orange); }

/* ---------------- A11y / polish ---------------- */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--sky-soft); }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
    .detail-header, .layout-2col, .contact-grid, .two-col { grid-template-columns: 1fr; }
    .book-card { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .maddy-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .tour-gallery { grid-template-columns: repeat(3, 1fr); }
    .layout-2col { gap: 1.8rem; }
}
@media (max-width: 768px) {
    html { scroll-padding-top: 90px; }
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; padding: 1rem;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .main-nav ul a { border-radius: 10px; }
    .nav-cta { margin: .6rem 0 0; }
    .search-bar { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .highlights-list { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .maddy-footer .footer-main { padding: 40px 0 30px; }
    .maddy-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .maddy-footer .footer-brand .tagline { max-width: 100%; }
    .maddy-footer .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .maddy-footer .footer-bottom .legal-links { justify-content: center; }
    .maddy-footer .container { padding: 0 16px; }
    .tour-gallery { grid-template-columns: repeat(2, 1fr); }
    .tour-gallery .g-item:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 4/3; }
    .section { padding: 3rem 0; }
    .page-banner { padding: 2.6rem 0; }
    .hero-content { padding: 3.2rem 0; }
    .cta-band { padding: 2.3rem 1.4rem; }
    .stats { padding: 2.4rem 0; }
    .sec-head { flex-direction: column; align-items: flex-start; }
    .topbar-contact a[href^="mailto:"] { display: none; }
    .tab-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .tab-nav::-webkit-scrollbar { display: none; }
    .tab-btn { flex: 0 0 auto; white-space: nowrap; }
    .milestones { padding-left: 1.7rem; }
    .milestone::before { left: -1.7rem; }
    .tour-facts { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 480px) {
    .maddy-footer .footer-main { padding: 30px 0 20px; }
    .maddy-footer .footer-grid { gap: 24px; }
    .maddy-footer .footer-brand .logo { font-size: 1.5rem; }
    .page-banner { padding: 2.2rem 0; }
    .page-banner h1 { font-size: 1.55rem; }
    .hero h1 { font-size: clamp(1.8rem, 7.5vw, 2.3rem); }
    .hero p { font-size: 1rem; }
    .hero-actions .btn { width: 100%; }
    .stat-num { font-size: 2rem; }
    .brand-name { font-size: 1.05rem; }
    .tour-gallery { gap: .5rem; }
    .tour-price strong { font-size: 1.2rem; }
    .tab-btn { padding: .65rem 1rem; font-size: .88rem; }
    .tour-facts { padding: 1.1rem; }
    .widget { padding: 1.2rem; }
}

/* ---------------- UX refresh ---------------- */
:root {
    --ink: #10233f;
    --ink-2: #53647c;
    --muted: #738198;
    --line: #e3ebf3;
    --bg-soft: #f5f9fc;
    --shadow: 0 14px 34px rgba(16, 35, 63, .08);
    --shadow-lg: 0 24px 60px rgba(16, 35, 63, .14);
}

body { background: #fbfdff; color: var(--ink-2); }
.skip-link {
    position: fixed; left: 1rem; top: -4rem; z-index: 1001;
    padding: .65rem 1rem; border-radius: 10px; background: var(--ink); color: #fff;
    font-family: var(--font-head); font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

.topbar { background: #10233f; }
.topbar-inner { min-height: 36px; padding: .3rem 0; }
.topbar-contact a, .topbar-links a { color: rgba(255,255,255,.78); }
.topbar-social { width: 26px; height: 26px; background: rgba(255,255,255,.1); }
.tripadvisor-icon { width: 17px; height: 17px; display: block; object-fit: contain; }
.tripadvisor-fallback { display: inline; font-family: var(--font-head); font-size: .63rem; font-weight: 800; letter-spacing: -.3px; }
.topbar-contact a[href^="mailto"] i { color: var(--sun); }

.site-header { background: rgba(255,255,255,.96); border-bottom-color: rgba(16,35,63,.08); }
.header-inner { min-height: 76px; padding: .65rem 0; }
.brand { gap: .8rem; min-width: 0; }
.brand-logo { width: 48px; height: 48px; padding: 4px; border: 1px solid rgba(16,35,63,.08); }
.brand-name { font-size: 1.18rem; letter-spacing: -.35px; white-space: nowrap; }
.main-nav ul { gap: .15rem; }
.main-nav ul a { padding: .65rem .95rem; font-size: .9rem; }
.main-nav ul a:hover, .main-nav ul a.active { background: #e3f5fb; color: var(--sky-dark); }
.nav-cta { margin-left: .55rem; box-shadow: 0 8px 18px rgba(246,135,31,.2); }

.page-banner {
    padding: clamp(3.2rem, 8vw, 5.2rem) 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(255,255,255,.28), transparent 32%),
        radial-gradient(circle at 88% 80%, rgba(255,255,255,.22), transparent 36%),
        linear-gradient(120deg, #35b5df, #a9e0ef);
}
.page-banner h1 { max-width: 900px; margin-inline: auto; font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.8px; color: #10233f; }
.page-banner .breadcrumb { color: rgba(16,35,63,.72); }
.page-banner .breadcrumb a { color: #087fae; text-decoration: none; }
.page-banner .breadcrumb a:hover { color: var(--orange-dark); }

.section { padding: clamp(3.5rem, 7vw, 5.6rem) 0; }
.sec-head { margin-bottom: 2.5rem; }
.section-title { letter-spacing: -.7px; }
.section-sub { line-height: 1.75; }

.detail-header { gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
.detail-header img { box-shadow: 0 18px 40px rgba(16,35,63,.12); }
.detail-info h1 { letter-spacing: -.75px; }
.detail-meta { gap: .75rem; }
.detail-meta span { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .7rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; }
.detail-meta i { color: var(--orange); }

.layout-2col { grid-template-columns: minmax(0, 1fr) minmax(320px, 370px); gap: clamp(1.8rem, 4vw, 3.5rem); }
.widget { border-color: var(--line); box-shadow: var(--shadow); }
.book-card { top: 102px; padding: 1.6rem; border-radius: 20px; }
.book-card::before { content: "Reserve your place"; display: block; margin: -.25rem 0 1rem; font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange); }
.book-price { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.book-price strong { font-size: 2.35rem; letter-spacing: -1px; }
.book-card .book-note { line-height: 1.45; }
.book-card .guarantees { display: grid; gap: .55rem; margin: 1rem 0 1.35rem; padding: .9rem 1rem; border-radius: 14px; background: #f4fbfd; border: 1px solid #dceff5; }
.book-card .guarantees li { display: flex; align-items: center; gap: .55rem; color: var(--ink-2); font-size: .86rem; }
.book-card .guarantees li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #0b9d5a; }
.book-card .form-group { margin-bottom: .9rem; }
.book-card .form-control { min-height: 48px; border-radius: 12px; background: #fcfeff; }
.book-card textarea.form-control { min-height: 108px; }
.book-card .btn { min-height: 52px; }
.book-card .form-row { gap: .8rem; }
.widget.book-card { margin-bottom: 0; }
.book-help { margin-top: 2.5rem; background: linear-gradient(145deg, #10233f, #1f3e5e); border: 0; color: #fff; }
.book-help .widget-title { color: #fff; border-bottom-color: rgba(255,255,255,.18); }
.book-help .widget-title::after { background: var(--orange); }
.book-help .help-intro { color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.55; margin-bottom: 1rem; }
.book-help .help-row { display: flex; align-items: center; gap: .65rem; color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: .65rem; }
.book-help .help-row i { width: 32px; height: 32px; flex: 0 0 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--orange); font-size: .9rem; }
.book-help .help-row span { word-break: break-word; }
.book-help .btn { margin-top: .75rem; }

.tour-gallery { gap: .85rem; margin-bottom: 2.4rem; }
.tour-gallery .g-item { border-radius: 18px; box-shadow: 0 8px 22px rgba(16,35,63,.08); }
.tour-facts { padding: 1.25rem; box-shadow: none; background: #fff; }
.fact-item .f-icon { background: #e9f8fc; }
.tab-nav { gap: .25rem; margin-bottom: 2rem; border: 1px solid var(--line); border-radius: 14px; padding: .35rem; background: #fff; }
.tab-btn { border: 0; border-radius: 10px; margin: 0; padding: .7rem 1rem; }
.tab-btn.active { background: #e8f7fb; color: #087fae; }
.tab-panel { padding: .2rem .15rem; }
.highlights-list { gap: .8rem 1.5rem; }
.highlights-list li { padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.highlights-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--orange); }
.timeline { padding-top: .25rem; }
.tl-item { padding: 0 0 .2rem .2rem; }
.inc-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; }
.exc-list li::before { content: "\f00d"; font-family: "Font Awesome 6 Free"; }

.mv-grid { gap: 1.25rem; margin-top: 3rem; }
.mv-card { padding: 1.7rem; background: #fff; box-shadow: var(--shadow); }
.about-story .detail-header img { aspect-ratio: 4 / 3; }
.milestones { max-width: 920px; }
.milestone { padding: 1.25rem 1.4rem; box-shadow: 0 8px 22px rgba(16,35,63,.06); }
.faq-list { max-width: 900px; }
.faq-item { border-radius: 16px; margin-bottom: .75rem; }
.faq-q { padding: 1.2rem 1.35rem; font-size: .98rem; }
.faq-a { line-height: 1.75; }
.faq-item.open { border-color: #bfe8f2; box-shadow: 0 12px 28px rgba(16,35,63,.08); }

.tour-loc::before { content: "\f3c5"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.tour-meta span::before { content: ""; }

@media (max-width: 1024px) {
    .layout-2col { grid-template-columns: minmax(0, 1fr) 330px; gap: 1.5rem; }
}
@media (max-width: 768px) {
    .header-inner { min-height: 68px; }
    .main-nav { top: 100%; }
    .layout-2col { grid-template-columns: 1fr; }
    .layout-2col > .blog-main,
    .layout-2col > .blog-article,
    .layout-2col > .blog-sidebar { grid-column: 1; grid-row: auto; }
    .blog-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .blog-sidebar .widget { margin-bottom: 0; }
    .book-card { position: static; }
    .detail-meta span { font-size: .82rem; }
    .mv-grid { grid-template-columns: 1fr; }
    .book-help { margin-top: 1.75rem; }
}
@media (max-width: 480px) {
    .topbar-contact { width: 100%; justify-content: center; }
    .topbar-links { margin-inline: auto; }
    .brand-logo { width: 42px; height: 42px; }
    .brand-name { font-size: 1rem; }
    .blog-sidebar { grid-template-columns: 1fr; }
    .detail-meta { gap: .45rem; }
    .detail-meta span { width: 100%; border-radius: 10px; }
    .book-card { padding: 1.25rem; }
}

/* ---------------- Footer UX refresh ---------------- */
.maddy-footer {
    background: #0c1c31;
    color: rgba(255,255,255,.72);
    overflow: hidden;
}
.maddy-footer .container { width: min(1200px, 92%); padding: 0; }
.footer-cta {
    background:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,.13), transparent 32%),
        linear-gradient(120deg, #0e749a, #27a8ca);
    color: #fff;
}
.footer-cta-inner {
    min-height: 205px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.6rem 0;
}
.footer-eyebrow {
    display: block;
    margin-bottom: .55rem;
    color: #ffe45f;
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
.footer-cta h2 { color: #fff; font-size: clamp(1.45rem, 3vw, 2.1rem); letter-spacing: -.5px; margin-bottom: .45rem; }
.footer-cta p { color: rgba(255,255,255,.82); max-width: 560px; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; flex: 0 0 auto; }
.footer-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.15rem; border-radius: 12px; font-family: var(--font-head); font-weight: 700; font-size: .88rem; transition: transform .2s, background .2s, color .2s; }
.footer-btn:hover { transform: translateY(-2px); }
.maddy-footer .footer-btn-light { background: #fff; color: #0e749a !important; }
.footer-btn-light:hover { background: #ffe45f; color: #10233f; }
.footer-btn-outline { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.footer-btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.maddy-footer .footer-main { padding: 4rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.maddy-footer .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.35fr; gap: clamp(1.5rem, 4vw, 3.6rem); padding: 0; }
.footer-logo { display: inline-flex; align-items: center; gap: .7rem; color: #fff !important; font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; letter-spacing: -.4px; margin-bottom: 1rem; }
.footer-logo b { color: var(--orange); }
.footer-logo-mark { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; background: #ffe45f; color: #10233f; font-size: 1.25rem; }
.footer-logo-image { width: 48px; height: 48px; display: block; object-fit: contain; border-radius: 12px; background: #ffe45f; padding: 3px; }
.maddy-footer .footer-brand .tagline { max-width: 340px; margin-bottom: 1.25rem; color: rgba(255,255,255,.7); line-height: 1.75; }
.footer-trust { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.35rem; }
.footer-trust span { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .65rem; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: rgba(255,255,255,.7); font-size: .74rem; }
.footer-trust i { color: var(--orange); }
.maddy-footer .footer-brand .social-icons { gap: .55rem; }
.maddy-footer .footer-brand .social-icons a { width: 38px; height: 38px; font-size: 1rem; }
.maddy-footer .footer-links h4, .maddy-footer .footer-contact h4 { margin-bottom: 1.1rem; color: #fff; font-size: .78rem; letter-spacing: 1.2px; }
.maddy-footer .footer-links ul li { margin-bottom: .65rem; }
.maddy-footer .footer-links ul li a { color: rgba(255,255,255,.66); font-size: .88rem; }
.maddy-footer .footer-links ul li a:hover { color: #ffe45f; }
.maddy-footer .footer-contact .contact-item { gap: .7rem; margin-bottom: .8rem; color: rgba(255,255,255,.66); font-size: .86rem; line-height: 1.5; }
.maddy-footer .contact-address-content { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem .65rem; }
.maddy-footer .contact-address-content > a:first-child { flex: 1 1 170px; }
.maddy-footer .contact-address .contact-landline { white-space: nowrap; font-size: .8rem; }
.maddy-footer .footer-contact .contact-item .icon { width: 22px; color: var(--orange); }
.maddy-footer .footer-contact .contact-item a { color: rgba(255,255,255,.78); }
.maddy-footer .footer-contact .contact-item a:hover { color: #ffe45f; }
.maddy-footer .footer-bottom { min-height: 70px; padding: 1.2rem 0; border-top: 0; font-size: .76rem; }
.maddy-footer .footer-bottom .copyright { color: rgba(255,255,255,.5); }
.maddy-footer .footer-bottom .copyright span { color: #ffe45f; }
.maddy-footer .footer-bottom .legal-links { gap: .7rem; }
.maddy-footer .footer-bottom .legal-links a { color: rgba(255,255,255,.5); }
.maddy-footer .footer-bottom .legal-links a:hover { color: #ffe45f; }
.back-to-top { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.72) !important; font-family: var(--font-head); font-weight: 700; }
.back-to-top:hover { color: #ffe45f !important; }
.whatsapp-contact-card .info-icon { color: #20b75a; background: #e9f9ef; }
.whatsapp-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: inline-flex; align-items: center; gap: .55rem; color: #fff !important; filter: drop-shadow(0 8px 16px rgba(16,35,63,.2)); }
.whatsapp-float-label { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; padding: .55rem 0; border-radius: 999px 0 0 999px; background: #20b75a; font-family: var(--font-head); font-size: .78rem; font-weight: 700; transition: max-width .25s ease, opacity .25s ease, padding .25s ease; }
.whatsapp-float:hover .whatsapp-float-label, .whatsapp-float:focus-visible .whatsapp-float-label { max-width: 100px; opacity: 1; padding: .55rem .7rem .55rem .85rem; }
.whatsapp-float-icon { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #20b75a; font-size: 1.75rem; transition: transform .2s ease, background .2s ease; }
.whatsapp-float:hover .whatsapp-float-icon, .whatsapp-float:focus-visible .whatsapp-float-icon { transform: scale(1.06); background: #159447; }
@media (max-width: 480px) {
    .whatsapp-float { right: 1rem; bottom: 1rem; }
    .whatsapp-float-label { display: none; }
    .whatsapp-float-icon { width: 50px; height: 50px; font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .footer-cta-inner {
        min-height: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 1.4rem;
        padding: 2.6rem 0;
    }
    .footer-cta-inner p { margin-inline: auto; }
    .footer-cta-actions { width: 100%; justify-content: center; }
    .footer-btn { flex: 1 1 200px; }
    .maddy-footer .footer-main { padding: 3rem 0 2.2rem; }
    .maddy-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.3rem 1.5rem; }
    .maddy-footer .footer-brand, .maddy-footer .footer-contact { grid-column: 1 / -1; }
    .maddy-footer .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
    .footer-cta-inner { min-height: 0; height: auto; padding: 2.2rem 0; gap: 1.15rem; }
    .footer-cta h2 { font-size: 1.5rem; }
    .footer-cta p { font-size: .92rem; }
    .maddy-footer .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .maddy-footer .footer-brand, .maddy-footer .footer-contact { grid-column: auto; }
    .footer-cta-actions { width: 100%; height: auto; display: grid; grid-template-columns: 1fr; gap: .75rem; align-items: stretch; }
    .footer-btn { width: 100%; min-height: 52px; height: auto; flex: 0 0 auto; padding: .9rem 1rem; }
    .maddy-footer .footer-bottom { flex-direction: column; gap: .7rem; }
}

/* ---------------- Tour detail conversion path ---------------- */
.tour-conversion-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    margin: -.35rem 0 1.35rem;
    padding: 1.3rem 1.4rem;
    border: 1px solid #d9edf3;
    border-radius: 18px;
    background: linear-gradient(120deg, #f2fbfd 0%, #fffaf3 100%);
}
.tour-conversion-intro p { max-width: 620px; margin: .35rem 0 .55rem; color: var(--ink-2); font-size: .95rem; line-height: 1.65; }
.tour-conversion-kicker { display: inline-flex; align-items: center; gap: .45rem; color: var(--orange-dark); font-family: var(--font-head); font-size: .75rem; font-weight: 800; letter-spacing: .75px; text-transform: uppercase; }
.tour-conversion-kicker i { color: var(--orange); }
.tour-conversion-proof { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; color: #087fae; font-size: .78rem; font-weight: 700; }
.tour-conversion-proof i { color: #0b9d5a; }
.tour-conversion-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; }
.tour-conversion-actions .btn { min-height: 50px; padding-inline: 1.1rem; font-size: .9rem; }
.book-response-note { display: flex; align-items: center; justify-content: center; gap: .35rem; margin: .75rem 0 0; color: #087fae; text-align: center; }
.book-response-note i { color: var(--orange); }
.tour-mobile-cta { display: none; }

@media (max-width: 768px) {
    body:has(.tour-mobile-cta) { padding-bottom: 76px; }
    body:has(.tour-mobile-cta) .whatsapp-float { display: none; }
    .tour-conversion-intro { display: block; margin-top: -.2rem; padding: 1.15rem; }
    .tour-conversion-intro p { margin-bottom: .65rem; }
    .tour-conversion-actions { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; gap: .55rem; }
    .tour-conversion-actions .btn { width: 100%; padding-inline: .6rem; font-size: .78rem; }
    .tour-mobile-cta {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 95;
        display: flex;
        align-items: center;
        gap: .65rem;
        padding: .65rem max(1rem, env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
        background: rgba(255,255,255,.97);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(16,35,63,.12);
        backdrop-filter: blur(10px);
    }
    .tour-mobile-cta-main { display: flex; align-items: center; gap: .65rem; min-width: 0; flex: 1; padding: .7rem .95rem; border-radius: 12px; background: var(--orange); color: #fff; }
    .tour-mobile-cta-main:hover { color: #fff; background: var(--orange-dark); }
    .tour-mobile-cta-main > i { font-size: 1.05rem; }
    .tour-mobile-cta-main span { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
    .tour-mobile-cta-main strong { font-family: var(--font-head); font-size: .84rem; }
    .tour-mobile-cta-main small { margin-top: .16rem; font-size: .7rem; opacity: .9; white-space: nowrap; }
    .tour-mobile-cta-wa { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: #25D366; color: #fff; font-size: 1.45rem; }
    .tour-mobile-cta-wa:hover { color: #fff; background: #1DA851; }
}

@media (max-width: 480px) {
    .tour-conversion-proof { font-size: .72rem; }
    .tour-conversion-actions .btn { min-height: 48px; }
    body:has(.tour-mobile-cta) { padding-bottom: 84px; }
    .tour-mobile-cta { gap: .5rem; padding-inline: .75rem; }
}

/* ---------------- Tour details: show the complete itinerary ---------------- */
.detail-section-nav {
    position: sticky;
    top: 102px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: 1.5rem 0 2.1rem;
    padding: .35rem;
    background: rgba(255,255,255,.95);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(16,35,63,.06);
    backdrop-filter: blur(8px);
}
.detail-section-nav a {
    padding: .55rem .8rem;
    border-radius: 9px;
    color: var(--ink-2);
    font-family: var(--font-head);
    font-size: .83rem;
    font-weight: 700;
}
.detail-section-nav a:hover { background: #e8f7fb; color: #087fae; }
.detail-section {
    scroll-margin-top: 124px;
    padding: 1.8rem 0 2.1rem;
    border-bottom: 1px solid var(--line);
}
.detail-section:last-of-type { border-bottom: 0; }
.detail-section-title {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    letter-spacing: -.45px;
}
.detail-section .tour-overview p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
    .detail-section-nav { top: 82px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .detail-section-nav::-webkit-scrollbar { display: none; }
    .detail-section-nav a { flex: 0 0 auto; white-space: nowrap; }
    .detail-section { scroll-margin-top: 104px; }
}

/* ---------------- Tailor-made multi-step form ---------------- */
.tailor-hero {
    padding: 4.8rem 0 6.2rem;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,228,95,.15), transparent 36%),
        linear-gradient(135deg, #10233f, #1d354d);
}
.tailor-hero .container { max-width: 780px; }
.tailor-hero .eyebrow { color: var(--sun); }
.tailor-hero h1 { color: #fff; font-size: clamp(2.25rem, 5vw, 3.8rem); letter-spacing: -1px; margin-bottom: .8rem; }
.tailor-hero p { max-width: 620px; margin: 0 auto; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.tailor-section { margin-top: -4rem; position: relative; z-index: 2; }
.tailor-container { max-width: 820px; }
.tailor-card { padding: clamp(1.4rem, 5vw, 2.5rem); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); }
.tailor-card, .tailor-step, .tailor-nav { min-width: 0; }
.tailor-stepper { display: flex; justify-content: space-between; gap: .5rem; margin: 0 0 2.5rem; position: relative; }
.tailor-stepper::before { content: ""; position: absolute; top: 16px; left: 7%; right: 7%; height: 2px; background: var(--line); }
.tailor-step-dot { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .45rem; flex: 1; color: var(--muted); }
.tailor-step-dot span { width: 33px; height: 33px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--line); border-radius: 50%; background: #fff; font-family: var(--font-head); font-size: .78rem; font-weight: 800; }
.tailor-step-dot small { font-family: var(--font-head); font-size: .68rem; font-weight: 700; text-align: center; }
.tailor-step-dot.active span, .tailor-step-dot.done span { background: var(--orange); border-color: var(--orange); color: #fff; }
.tailor-step-dot.active small, .tailor-step-dot.done small { color: var(--ink); }
.tailor-step { display: none; animation: fadeIn .3s ease; }
.tailor-step.active { display: block; }
.tailor-step h2 { margin: .35rem 0 .35rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.tailor-hint { margin: 0 0 1.7rem; color: var(--muted); }
.tailor-step fieldset { margin: 0 0 1.7rem; border: 0; padding: 0; }
.tailor-step legend { margin-bottom: .75rem; color: var(--ink); font-family: var(--font-head); font-size: .9rem; font-weight: 700; }
.tailor-step legend span, .tailor-step label span { color: var(--muted); font-size: .8rem; font-weight: 400; }
.tailor-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.tailor-chip-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tailor-chip { display: inline-flex; padding: .55rem .85rem; border: 1px solid #ccdce8; border-radius: 999px; background: #fbfdff; color: var(--ink-2); cursor: pointer; font-family: var(--font-head); font-size: .82rem; transition: .2s; }
.tailor-chip:hover { border-color: var(--orange); color: var(--orange-dark); }
.tailor-chip-input:checked + .tailor-chip { background: var(--orange); border-color: var(--orange); color: #fff; }
.tailor-chip-input:focus-visible + .tailor-chip { outline: 3px solid rgba(246,135,31,.28); outline-offset: 2px; }
.tailor-checkbox { display: flex; align-items: center; gap: .5rem; margin: -1rem 0 1.6rem; color: var(--ink-2); font-size: .88rem; }
.tailor-checkbox input { accent-color: var(--orange); }
.tailor-nav { display: flex; justify-content: space-between; gap: .8rem; margin-top: 2rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.tailor-nav button[disabled] { opacity: .45; cursor: not-allowed; }
.tailor-review { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tailor-review li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px dashed var(--line); font-size: .86rem; }
.tailor-review li:last-child { border-bottom: 0; }
.tailor-review li span { color: var(--muted); }
.tailor-review li strong { color: var(--ink); text-align: right; }
.tailor-confirm { text-align: center; padding-block: 4rem; }
.tailor-confirm-mark { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; border-radius: 50%; background: #e6f9ef; color: #0b9d5a; font-size: 1.5rem; }
.tailor-confirm h2 { margin-bottom: .5rem; }
.tailor-confirm p { margin: 0 auto 1.5rem; color: var(--muted); max-width: 480px; }
@media (max-width: 560px) {
    .tailor-hero { padding: 3rem 0 4.8rem; }
    .tailor-hero h1 { font-size: clamp(2rem, 10vw, 2.7rem); line-height: 1.08; }
    .tailor-hero p { font-size: .95rem; line-height: 1.65; }
    .tailor-section { margin-top: -3rem; }
    .tailor-card { padding: 1.25rem; border-radius: 18px; }
    .tailor-stepper { gap: .2rem; }
    .tailor-step-dot small { display: none; }
    .tailor-stepper::before { top: 16px; }
    .tailor-chips { gap: .5rem; }
    .tailor-chip { max-width: 100%; white-space: normal; text-align: left; line-height: 1.35; }
    .tailor-nav .btn { min-width: 0; flex: 1 1 0; padding-inline: .75rem; }
    .tailor-review li { flex-direction: column; gap: .2rem; }
    .tailor-review li strong { text-align: left; }
}

/* ---------------- Tour gallery polish ---------------- */
.tour-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(145px, 1fr));
    gap: .8rem;
    margin: 0 0 2.4rem;
    min-width: 0;
}
.tour-gallery .g-item,
.tour-gallery .g-item:first-child {
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 18px;
    background: #eaf3f7;
    box-shadow: 0 10px 24px rgba(16,35,63,.09);
}
.tour-gallery .g-item:first-child { grid-column: 1; grid-row: 1 / span 2; }
.tour-gallery .g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,35,63,0) 55%, rgba(16,35,63,.2)); opacity: 0; transition: opacity .25s; pointer-events: none; }
.tour-gallery .g-item:hover::after { opacity: 1; }
.tour-gallery .g-item img { background: #eaf3f7; }
.tour-gallery .g-count { inset: 0; background: rgba(16,35,63,.58); font-size: 1rem; letter-spacing: .2px; }
.tour-gallery .g-count::before { content: "\f03e"; margin-right: .45rem; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .85rem; }
.tour-gallery .g-item:hover .g-count { background: rgba(16,35,63,.46); }
.lightbox { padding: 1.25rem; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 82vh; border-radius: 16px; }
.lb-close, .lb-prev, .lb-next { background: rgba(255,255,255,.16); backdrop-filter: blur(8px); }
.lb-counter { padding: .35rem .7rem; border-radius: 999px; background: rgba(0,0,0,.35); }
@media (max-width: 768px) {
    .tour-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
    .tour-gallery .g-item:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
    .tour-gallery .g-item { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
    .tour-gallery { gap: .55rem; }
    .tour-gallery .g-item:first-child { border-radius: 14px; }
    .tour-gallery .g-item { border-radius: 12px; }
}

/* ---------------- Homepage why-us section ---------------- */
.why-choose-section { position: relative; overflow: hidden; }
.why-choose-section::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: 70px; border-radius: 50%; background: rgba(62,188,231,.08); pointer-events: none; }
.why-choose-section .container { position: relative; z-index: 1; }
.why-choose-section .sec-head { max-width: 760px; margin-bottom: 2.6rem; }
.why-choose-section .section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.why-choose-section .section-sub { font-size: 1rem; max-width: 700px; }
.why-choose-section .feature-grid { gap: 1rem; }
.why-choose-section .feature-card { min-height: 248px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 1.65rem 1.35rem 1.5rem; border-radius: 20px; box-shadow: 0 8px 22px rgba(16,35,63,.045); }
.why-choose-section .feature-card:hover { transform: translateY(-7px); box-shadow: 0 18px 34px rgba(16,35,63,.12); }
.why-choose-section .feature-icon { position: relative; width: 68px; height: 68px; margin-bottom: 1.05rem; border: 1px solid rgba(16,35,63,.06); box-shadow: inset 0 -4px 0 rgba(16,35,63,.04); font-size: 0; }
.why-choose-section .feature-icon::before { font-family: "Font Awesome 6 Free"; font-size: 1.65rem; font-weight: 900; color: #10233f; }
.why-choose-section .feature-card:nth-child(1) .feature-icon::before { content: "\f19c"; }
.why-choose-section .feature-card:nth-child(2) .feature-icon::before { content: "\f51e"; }
.why-choose-section .feature-card:nth-child(3) .feature-icon::before { content: "\f5a0"; }
.why-choose-section .feature-card:nth-child(4) .feature-icon::before { content: "\f590"; }
.why-choose-section .feature-card h3 { font-size: 1.02rem; margin-bottom: .55rem; text-align: center; }
.why-choose-section .feature-card p { max-width: 230px; margin: 0; font-size: .88rem; line-height: 1.65; text-align: center; }
@media (max-width: 768px) {
    .why-choose-section .sec-head { margin-bottom: 2rem; }
    .why-choose-section .feature-card { min-height: 220px; }
}
@media (max-width: 480px) {
    .why-choose-section .feature-grid { grid-template-columns: 1fr; }
    .why-choose-section .feature-card { min-height: auto; padding: 1.5rem; }
}

/* ---------------- Mobile visibility polish ---------------- */
.prose { overflow-wrap: break-word; }
.table-wrap {
    width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    margin: 1.2rem 0 1.6rem;
}
.table-wrap table { margin: 0; }

@media (max-width: 768px) {
    .main-nav ul a { padding: .75rem .9rem; font-size: 1rem; }
    .search-bar { padding: 1rem; }
    .prose { font-size: .98rem; }
    .prose h2 { font-size: 1.25rem; }
    .prose p, .prose li { line-height: 1.8; }
    .article-author { padding: 1.1rem; }
    .tour-facts { gap: .9rem; }
    .tour-body { padding: 1.1rem; }
    .tour-title { font-size: 1.08rem; }
    .tour-meta { gap: .9rem; flex-wrap: wrap; }
    .section { padding: 2.8rem 0; }
    .sec-head { margin-bottom: 1.6rem; }
    .article-nav .btn { flex: 1 1 auto; }
    .lightbox { padding: 1rem; }
    .lb-close { top: 10px; right: 10px; width: 40px; height: 40px; }
    .lb-prev { left: 8px; } .lb-next { right: 8px; }
    .topbar { font-size: .78rem; }
}
@media (max-width: 480px) {
    .header-inner { gap: .5rem; padding: .55rem 0; }
    .main-nav { padding: .8rem; }
    .hero-content { padding: 2.6rem 0; }
    .hero h1 { margin-bottom: .8rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .search-bar { margin-top: 1.6rem; padding: .9rem; }
    .section { padding: 2.4rem 0; }
    .article-meta { gap: .8rem; }
    .article-nav { flex-direction: column; }
    .article-nav .btn { width: 100%; }
    .detail-header { gap: 1.4rem; }
    .book-card { padding: 1.1rem; }
    .price-box .now { font-size: 1.7rem; }
    .tour-facts { grid-template-columns: 1fr 1fr; gap: .8rem; padding: 1rem; }
    .prose { font-size: .96rem; }
    .prose th, .prose td { padding: .6rem .7rem; font-size: .85rem; }
    .widget { padding: 1.05rem; }
    .breadcrumb { font-size: .84rem; }
    .pagination a, .pagination span { width: 38px; height: 38px; }
}

/* ---------------- Final mobile tour detail spacing overrides ---------------- */
@media (max-width: 768px) {
    .layout-2col:has(.tour-gallery) > div,
    .layout-2col:has(.tour-gallery) aside { min-width: 0; }
    .tour-gallery { width: 100%; margin-bottom: 1.5rem; }
    .tour-gallery .g-item { min-width: 0; overflow: hidden; }
    .tour-gallery .g-item img { width: 100%; height: 100%; object-fit: cover; }
    .detail-header { margin-bottom: 1rem !important; }
    .tour-conversion-intro { margin-bottom: 1rem; }
    .tour-facts { margin-bottom: 1.3rem; }
    .fact-item, .fact-item > span:last-child { min-width: 0; }
    .fact-item .f-value { overflow-wrap: anywhere; }
    .detail-section-nav { margin-top: 1.2rem; margin-bottom: 1rem; }
    .detail-section { padding-block: 1.45rem; }
}

@media (max-width: 480px) {
    .layout-2col:has(.tour-gallery) { gap: 2rem; }
    .tour-gallery { gap: .55rem; margin-bottom: 1.25rem; }
    .tour-gallery .g-item:first-child { aspect-ratio: 16 / 10; }
    .tour-gallery .g-item { aspect-ratio: 4 / 3; }
    .detail-header { padding-inline: .1rem; }
    .detail-info h1 { font-size: clamp(1.45rem, 7vw, 1.9rem); line-height: 1.2; }
    .tour-facts { padding: .9rem; gap: .7rem; }
    .fact-item { gap: .55rem; }
    .fact-item .f-icon { flex-basis: 38px; width: 38px; height: 38px; font-size: 1rem; }
    .fact-item .f-label { font-size: .64rem; }
    .fact-item .f-value { font-size: .8rem; line-height: 1.35; }
    .tour-mobile-cta { padding-top: .55rem; padding-bottom: calc(.55rem + env(safe-area-inset-bottom)); }
    .tour-mobile-cta-main { padding: .65rem .8rem; }
}

/* ---------------- Final footer mobile padding ---------------- */
@media (max-width: 768px) {
    .maddy-footer .container { width: calc(100% - 32px); padding-inline: 0; }
    .footer-cta-inner { padding: 2.75rem 0 2.6rem !important; gap: 1.35rem !important; }
    .maddy-footer .footer-main { padding: 3rem 0 2.25rem; }
    .maddy-footer .footer-bottom { padding: 1.3rem 0 1.5rem; }
}

@media (max-width: 480px) {
    .maddy-footer .container { width: calc(100% - 28px); }
    .footer-cta-inner { padding: 2.6rem 0 2.4rem !important; gap: 1.15rem !important; }
    .footer-btn { padding: .95rem 1rem; }
    .maddy-footer .footer-main { padding: 2.5rem 0 2rem; }
    .maddy-footer .footer-bottom { padding: 1.2rem 0 1.4rem; }
}

/* ---------------- Homepage and Gallery slider ---------------- */
.home-gallery { background: var(--bg-soft); }
.home-gallery .sec-head { align-items: end; }
.gallery-slider { position: relative; min-width: 0; }
.gallery-viewport { overflow: hidden; border-radius: 22px; background: #dcecf2; box-shadow: var(--shadow-lg); }
.gallery-track { display: flex; transition: transform .5s ease; will-change: transform; }
.gallery-slide { position: relative; flex: 0 0 100%; min-width: 0; aspect-ratio: 16 / 7.7; margin: 0; overflow: hidden; }
.gallery-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-slide::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgba(8, 25, 45, .72)); pointer-events: none; }
.gallery-slide-caption { position: absolute; z-index: 1; left: clamp(1rem, 4vw, 2.5rem); bottom: clamp(1rem, 4vw, 2rem); color: #fff; font-family: var(--font-head); font-size: clamp(1.05rem, 2.2vw, 1.65rem); font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.gallery-control { position: absolute; z-index: 2; top: 50%; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(16,35,63,.6); color: #fff; cursor: pointer; transform: translateY(-50%); transition: background .2s, transform .2s; }
.gallery-control:hover, .gallery-control:focus-visible { background: var(--orange); transform: translateY(-50%) scale(1.06); }
.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }
.gallery-dots { display: flex; justify-content: center; gap: .45rem; margin-top: 1rem; }
.gallery-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #b7cbd5; cursor: pointer; transition: width .2s, background .2s; }
.gallery-dot.active { width: 25px; background: var(--orange); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.gallery-grid-item { position: relative; display: block; min-width: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: #dcecf2; box-shadow: 0 8px 22px rgba(16,35,63,.08); }
.gallery-grid-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(8,25,45,.72)); }
.gallery-grid-item span { position: absolute; z-index: 1; left: .8rem; right: .8rem; bottom: .75rem; color: #fff; font-family: var(--font-head); font-size: .86rem; font-weight: 700; line-height: 1.25; }
.gallery-grid-item:hover img, .gallery-grid-item:focus-visible img { transform: scale(1.06); }
.gallery-page-intro { max-width: 760px; }

@media (max-width: 768px) {
    .home-gallery .sec-head { align-items: start; }
    .gallery-slide { aspect-ratio: 4 / 3; }
    .gallery-control { width: 40px; height: 40px; }
    .gallery-prev { left: .7rem; }
    .gallery-next { right: .7rem; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 2rem; }
}

@media (max-width: 480px) {
    .gallery-viewport { border-radius: 15px; }
    .gallery-slide-caption { left: 1rem; right: 1rem; bottom: 1rem; font-size: 1rem; }
    .gallery-control { width: 36px; height: 36px; font-size: .8rem; }
    .gallery-grid-item { border-radius: 12px; }
    .gallery-grid-item span { font-size: .76rem; }
}


/* Footer Bottom Layout */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Adjust color/opacity to match your theme */
}

/* Payment Methods Styling */
.footer-payment-methods {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-payment-methods i {
    font-size: 1.75rem; /* Adjust size as needed */
    color: #ffffff; /* Change to #333333 if your footer background is light */
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-payment-methods i:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }
    
    .footer-payment-methods {
        justify-content: center;
        order: -1; /* Moves payment icons above legal links on mobile for better visibility */
    }
    
    .legal-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }
}
