:root {
    --paper: #fbf7ee;
    --paper-deep: #f2ead6;
    --ink: #12271f;
    --ink-soft: rgba(18, 39, 31, 0.68);
    --gold: #d4af37;
    --gold-deep: #b8941f;
    /* --gold/--gold-deep only pass WCAG contrast as a *background* under
       dark text (~7:1) -- as text on --paper they're 1.97:1 / 2.69:1, both
       AA failures. This darker variant is for text/link use only (~7:1 on
       paper); keep buttons on --gold/--gold-deep, don't swap those. */
    --gold-text: #6b5410;
    --teal: #0e6b63;
    --teal-deep: #0a544d;
    --coral: #de6a50;
    --coral-deep: #c14f38;
    --line: rgba(18, 39, 31, 0.12);
    --serif: ui-serif, Georgia, "Times New Roman", serif;
    --sans: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { height: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1 0 auto; }
.footer-section { flex-shrink: 0; }

img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); }

/* Keyboard-only focus ring -- :focus-visible so mouse clicks don't get a
   ring, only Tab navigation does. Nothing in this file styled :focus
   before this, so every link/button/card was previously invisible to
   keyboard users (WCAG 2.4.7). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--teal-deep);
    outline-offset: 2px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 2000;
    background: var(--ink);
    color: var(--paper);
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: top 0.15s ease;
}
.skip-link:focus {
    top: 12px;
}

.eyebrow {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-deep);
}

/* ---------- Nav ---------- */
.navbar-custom {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(251, 247, 238, 0.94);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}

.brand-mark {
    height: 40px;
    width: 40px;
    object-fit: contain;
    background: var(--ink);
    border-radius: 50%;
    padding: 6px;
}

.brand-word {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
}

.brand-word small {
    display: block;
    font-family: var(--sans);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gold-deep);
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    color: var(--ink-soft) !important;
    font-weight: 600;
    font-size: 0.92rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--teal-deep) !important;
}

.dropdown-menu {
    background-color: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.dropdown-item:hover {
    background-color: var(--paper-deep);
    color: var(--ink) !important;
}

/* ---------- Mobile nav (offcanvas, left) ---------- */
.nav-offcanvas {
    background: var(--paper);
    color: var(--ink);
    width: min(320px, 84vw);
}

.nav-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--line);
    padding: 18px 20px;
}

.nav-offcanvas .offcanvas-header .brand-word {
    font-size: 1rem;
}

.nav-offcanvas .btn-close {
    box-shadow: none;
}

.nav-offcanvas .offcanvas-body {
    padding: 12px 12px 24px;
}

.nav-offcanvas .navbar-nav .nav-item {
    border-bottom: 1px solid var(--line);
}

.nav-offcanvas .navbar-nav .nav-link {
    padding: 16px 12px !important;
    font-size: 1.02rem;
}

.nav-offcanvas .navbar-nav .nav-item:last-child {
    border-bottom: none;
    padding: 16px 12px 0;
}

.nav-offcanvas .navbar-nav .nav-item:last-child .btn-solid {
    width: 100%;
    justify-content: center;
}

@media (min-width: 992px) {
    .nav-offcanvas .offcanvas-header { display: none; }
    .nav-offcanvas .navbar-nav .nav-item { border-bottom: none; }
    .nav-offcanvas .navbar-nav .nav-link { padding: 8px 16px !important; font-size: 0.92rem; }
    .nav-offcanvas .navbar-nav .nav-item:last-child { padding: 0; }
}

/* ---------- Buttons ---------- */
.btn-solid, .btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid var(--gold);
    border-radius: 100px;
    background: var(--gold);
    color: var(--ink);
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-solid:hover, .btn-gold:hover {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(212, 175, 55, 0.35);
}

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: 2px solid var(--ink);
    border-radius: 100px;
    color: var(--ink);
    background: transparent;
    transition: all 0.15s ease;
}

.btn-line:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-2px);
}

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Generic page hero (About / Services / Contact) ---------- */
.page-hero { padding: 70px 0 60px 0; }

.page-title {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: 65ch;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .page-title { font-size: 2.2rem; }
}

/* ---------- Home hero ---------- */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11,25,21,0.92) 0%, rgba(11,25,21,0.62) 50%, rgba(11,25,21,0.18) 78%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 56px;
    color: #fff;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 16px;
    max-width: 17ch;
    text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}

.hero-content .lede {
    font-size: 1.12rem;
    max-width: 48ch;
    line-height: 1.55;
    margin-bottom: 26px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 2px 14px rgba(0,0,0,0.35);
}

.trust-strip {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(251,247,238,0.96);
    color: var(--ink);
    padding: 12px 22px;
    border-radius: 100px;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    margin-top: 30px;
}

.trust-strip .stars { color: var(--gold-deep); letter-spacing: 1px; }
.trust-strip .divider { width: 1px; height: 16px; background: var(--line); }

/* One considered entrance moment for the flagship hero -- everything else is quiet. */
@keyframes hero-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
    opacity: 0;
    animation: hero-in 0.8s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }

/* ---------- Section shell ---------- */
.panel { padding: 90px 0; }
.panel-alt { background: var(--paper-deep); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-content > * { opacity: 1; animation: none; }
    html { scroll-behavior: auto; }
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.section-head h2 { font-size: 2.1rem; font-family: var(--serif); font-weight: 700; }
.section-head .sub { color: var(--ink-soft); font-size: 1.02rem; max-width: 52ch; margin-top: 8px; }

/* ---------- Intro (home welcome block) ---------- */
.intro-photo { border-radius: 14px; width: 100%; height: 320px; object-fit: cover; }
.intro-copy h2 { font-size: 2rem; margin-bottom: 1.1rem; font-weight: 700; }
.intro-copy p { font-size: 1.05rem; line-height: 1.68; color: var(--ink-soft); max-width: 58ch; margin-bottom: 0.9rem; }

/* ---------- Home gallery grid ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover { transform: scale(1.03); }

/* ---------- Tour / transfer cards ---------- */
.tour-list { display: flex; flex-direction: column; gap: 22px; }

.tour-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(18,39,31,0.08);
    border: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(18,39,31,0.14);
}

.tour-card .photo { position: relative; overflow: hidden; }
.tour-card .photo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }

.tour-card .tag {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(251,247,238,0.94);
    color: var(--teal-deep);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 100px;
}

.tour-card .badge-new {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--coral);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 100px;
}

.tour-card .content { padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.tour-card h3 { font-size: 1.4rem; margin: 0; font-weight: 700; }

.rating { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; }
.rating .stars { color: var(--gold-deep); letter-spacing: 1px; }
.rating .count { color: var(--ink-soft); font-weight: 600; }

.tour-card .desc { color: var(--ink-soft); line-height: 1.6; font-size: 0.98rem; max-width: 62ch; margin: 0; }

.category-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.category-chip {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--teal-deep);
    background: rgba(14,107,99,0.09);
    border-radius: 100px;
    padding: 3px 10px;
}

.tour-card .meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.tour-card .duration { color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; }
.tour-card .price-row { display: flex; align-items: center; gap: 18px; }

.price {
    font-family: var(--sans);
    font-variant-numeric: tabular-nums;
    font-size: 1.3rem;
    font-weight: 800;
}

.price small { font-size: 0.76rem; font-weight: 600; color: var(--ink-soft); margin-left: 3px; }

.direct-note {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--coral-deep);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
}

/* ---------- Flash / promotional tours ---------- */
.tour-card .badge-flash {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--coral);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 100px;
    animation: flash-pulse 1.8s ease-in-out infinite;
}

@keyframes flash-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(222,106,80,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(222,106,80,0); }
}

.price-original {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: line-through;
    margin-right: 6px;
}

.flash-countdown {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--coral-deep);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .tour-card { grid-template-columns: 1fr; }
    .tour-card .photo img { min-height: 200px; }
}

/* ---------- Third-party widget placeholders (Bokun / TripAdvisor) ---------- */
.widget-placeholder {
    text-align: center;
    padding: 48px 24px;
    border: 2px dashed var(--line);
    border-radius: 15px;
    color: var(--ink-soft);
    background: rgba(255,255,255,0.5);
}

.booking-widget-section { padding: 50px 0 10px; }

/* ---------- Review / photo carousel ---------- */
.carousel-shell { position: relative; }

.review-track-clip, .gallery-track-clip { overflow: hidden; border-radius: 16px; }
.review-track { display: flex; gap: 24px; transition: transform 0.45s ease; }
.review-track .review-card { flex: 0 0 calc((100% - 48px) / 3); }

.review-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 6px 18px rgba(18,39,31,0.06);
}

.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.95rem;
    flex-shrink: 0;
}

.review-card blockquote { margin: 0 0 12px; font-size: 0.98rem; line-height: 1.6; color: var(--ink); font-style: italic; }
.review-source { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.03em; margin: 0; }

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 8px 20px rgba(18,39,31,0.28);
    transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover { background: var(--teal-deep); transform: translateY(-50%) scale(1.06); }
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; }
.carousel-dots button.active { background: var(--gold-deep); width: 22px; border-radius: 4px; }

.gallery { position: relative; border-radius: 18px; overflow: hidden; }
.gallery-track { display: flex; transition: transform 0.4s ease; }
.gallery-track img { flex: 0 0 100%; width: 100%; height: 440px; object-fit: cover; }
.gallery .carousel-arrow.prev { left: 16px; }
.gallery .carousel-arrow.next { right: 16px; }
.gallery-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 5; }
.gallery-dots button { width: 8px; height: 8px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.9); background: transparent; cursor: pointer; padding: 0; }
.gallery-dots button.active { background: #fff; }

@media (max-width: 900px) {
    .review-track .review-card { flex: 0 0 100%; }
    .carousel-arrow.prev { left: 6px; }
    .carousel-arrow.next { right: 6px; }
    .gallery-track img { height: 280px; }
}

/* ---------- Team (About + teaser) ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 6px 18px rgba(18,39,31,0.06);
    transition: transform 0.2s ease;
}

.team-member:hover { transform: translateY(-6px); }

.member-photo {
    width: 140px; height: 140px;
    border-radius: 50%;
    margin: 0 auto 1.1rem auto;
    object-fit: cover;
    border: 4px solid var(--gold);
}

.member-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.member-role { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.3rem; }

.team-teaser { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; }
.team-teaser img { width: 220px; height: 220px; object-fit: cover; border-radius: 16px; }
.team-teaser h2 { font-size: 1.9rem; margin-bottom: 8px; font-weight: 700; }
.team-teaser .role { font-weight: 700; color: var(--coral-deep); margin-bottom: 12px; }
.team-teaser p { max-width: 56ch; line-height: 1.6; color: var(--ink-soft); margin-bottom: 16px; }
.team-teaser a.link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--ink); }

@media (max-width: 900px) {
    .team-teaser { grid-template-columns: 1fr; }
    .team-teaser img { width: 140px; height: 140px; }
}

/* ---------- Tour detail page ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); padding: 24px 0 0; }
.breadcrumb a { text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--teal-deep); }
.breadcrumb .crumb-sep { display: inline-block; margin: 0 8px; color: var(--ink-soft); }

.detail-head { padding: 18px 0 28px; }
.detail-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 12px; font-weight: 700; }

.detail-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: start; padding-bottom: 90px; }
.detail-grid .gallery { margin-bottom: 36px; }

.detail-body h2 { font-size: 1.5rem; margin: 34px 0 14px; font-weight: 700; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { color: var(--ink-soft); line-height: 1.75; font-size: 1.02rem; max-width: 66ch; margin-bottom: 14px; }

.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.highlights li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 0.98rem; }
.highlights li::before { content: "\2713"; color: var(--teal); font-weight: 800; flex-shrink: 0; margin-top: 2px; }

.guide-card { display: flex; gap: 16px; align-items: center; background: var(--paper-deep); border-radius: 14px; padding: 18px 20px; margin-top: 10px; }
.guide-card img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.guide-card .name { font-weight: 700; }
.guide-card .role { font-size: 0.85rem; color: var(--ink-soft); }

.booking-box {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(18,39,31,0.1);
}

.booking-box .price { font-size: 1.9rem; }
.booking-box .meta { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 20px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.booking-box .meta div { display: flex; justify-content: space-between; color: var(--ink-soft); }
.booking-box .meta div b { color: var(--ink); font-weight: 700; }
.booking-box .btn-solid { width: 100%; justify-content: center; margin-bottom: 10px; }
.booking-box .fineprint { font-size: 0.8rem; color: var(--ink-soft); text-align: center; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
    background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
    text-decoration: none; color: inherit; box-shadow: 0 6px 16px rgba(18,39,31,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: block;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(18,39,31,0.12); }
.related-card img { height: 140px; width: 100%; object-fit: cover; }
.related-card .rc-body { padding: 16px 18px; }
.related-card h4 { font-size: 1.02rem; margin-bottom: 6px; font-weight: 700; }

@media (max-width: 960px) {
    .detail-grid { grid-template-columns: 1fr; }
    .booking-box { position: static; }
    .related { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(18,39,31,0.06);
}

.contact-item { display: flex; align-items: flex-start; margin-bottom: 2rem; }

.contact-icon {
    width: 55px; height: 55px;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon i { font-size: 1.3rem; color: var(--ink); }
.contact-item h4 { font-family: var(--serif); font-weight: 700; margin-bottom: 0.3rem; }
.contact-item p { color: var(--ink-soft); margin: 0; }
.contact-item a { color: inherit; text-decoration: none; }
.contact-item a:hover { color: var(--teal-deep); }

.form-control {
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 12px 15px;
    border-radius: 10px;
}

.form-control:focus {
    background: #fff;
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212,175,55,0.2);
    color: var(--ink);
}

.map-container { width: 100%; height: 350px; border-radius: 15px; overflow: hidden; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ---------- Footer ---------- */
.footer-section { background: var(--ink); color: var(--paper); padding: 56px 0 30px; }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; }
.footer-brand img { height: 46px; width: 46px; border-radius: 50%; object-fit: cover; }
.footer-brand .word { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.footer-brand .word small { display: block; font-family: var(--sans); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; }

.footer-details { font-size: 0.9rem; line-height: 1.9; opacity: 0.8; margin-top: 1rem; }
.footer-details a { text-decoration: none; }
.footer-details a:hover { color: var(--gold); }

.footer-links h5 {
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.1rem;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { text-decoration: none; opacity: 0.8; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); opacity: 1; }

.footer-newsletter-row { border-top: 1px solid rgba(251,247,238,0.14); margin-top: 40px; padding-top: 32px; }
.footer-newsletter-row h5 {
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.newsletter-form { display: flex; gap: 10px; max-width: 420px; }
.newsletter-form .form-control { flex: 1 1 auto; }
.newsletter-form .btn-solid { flex: 0 0 auto; white-space: nowrap; }

.social-links { display: flex; gap: 10px; font-size: 0.88rem; opacity: 0.8; }
.social-links span { opacity: 0.4; }
.social-links a { text-decoration: none; }
.social-links a:hover { color: var(--gold); }

.copyright { border-top: 1px solid rgba(251,247,238,0.14); margin-top: 32px; padding-top: 18px; font-size: 0.8rem; opacity: 0.6; }

/* ---------- Legal / static content pages (Privacy, Terms) ---------- */
.legal-content { max-width: 75ch; line-height: 1.75; }
.legal-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; color: var(--gold-deep); font-size: 1.25rem; }
.legal-content p, .legal-content ul { color: var(--ink-soft); }
.legal-content ul { padding-left: 1.3rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--teal-deep); }

/* ---------- Admin ---------- */
.admin-body { background: var(--paper); }

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--ink);
    color: var(--paper);
}
.admin-topbar-brand {
    font-family: var(--serif);
    font-weight: 700;
    color: var(--paper);
    text-decoration: none;
}
.admin-topbar-brand small {
    display: inline-block;
    margin-left: 8px;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}
.admin-topbar-link { color: var(--paper); opacity: 0.75; text-decoration: none; font-size: 0.9rem; }
.admin-topbar-link:hover { color: var(--gold); opacity: 1; }

.admin-topbar-nav { display: flex; align-items: center; gap: 20px; }
/* Three nav items plus the brand no longer fit on a phone -- let the bar
   wrap instead of squeezing the brand onto three lines. */
@media (max-width: 640px) {
    .admin-topbar { flex-wrap: wrap; gap: 6px 16px; padding: 12px 16px; }
    .admin-topbar-nav { gap: 16px; font-size: 0.85rem; }
}
.admin-topbar-form { margin: 0; }
/* The logout control has to be a form button (POST), but should read as the
   sibling link it sits next to. */
.admin-topbar-button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.admin-wrap { max-width: 960px; margin: 0 auto; padding: 40px 20px 60px; color: var(--ink); }

/* ---------- Admin: account security ---------- */
.admin-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 8px 24px rgba(18,39,31,0.06);
}
.admin-panel-title {
    font-family: var(--serif);
    font-size: 1.4rem;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-pill {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
}
.admin-pill-on { background: rgba(23,124,109,0.15); color: var(--teal-deep); }
.admin-pill-off { background: rgba(224,90,74,0.15); color: var(--coral-deep); }

.admin-steps { padding-left: 1.25rem; color: var(--ink); }
.admin-steps > li { margin-bottom: 1.5rem; }

.totp-qr {
    max-width: 220px;
    margin: 1rem 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}
/* The QR is generated as an SVG with its own mm dimensions -- override so it
   scales to the box instead of rendering at print size. */
.totp-qr svg { display: block; width: 100%; height: auto; }

.totp-manual summary { cursor: pointer; color: var(--teal-deep); font-size: 0.9rem; }
.totp-key {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 8px 12px;
    background: rgba(15,42,56,0.06);
    border-radius: 6px;
    font-size: 1rem;
    letter-spacing: 0.12em;
    word-break: break-all;
}

.totp-confirm { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; margin-top: 0.75rem; }
.totp-confirm .form-control { max-width: 160px; letter-spacing: 0.3em; text-align: center; }

.recovery-codes {
    list-style: none;
    padding: 1.25rem;
    margin: 0 0 1.5rem;
    background: rgba(15,42,56,0.05);
    border-radius: 10px;
    display: grid;
    /* Wide enough that a 14-character code never wraps mid-code, which
       makes them hard to read back off a printout. */
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.6rem 1.5rem;
}
.recovery-codes li {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.admin-warning {
    background: rgba(212,175,55,0.14);
    border-left: 4px solid var(--gold);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--ink);
}

.admin-table { color: var(--ink); background: #fff; border-radius: 10px; overflow: hidden; }
.admin-table th { color: var(--teal-deep); }

/* ---------- Cookie consent banner ---------- */
.cookie-consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2000;
    max-width: 640px;
    margin: 0 auto;
    background: var(--ink);
    color: var(--paper);
    padding: 18px 22px;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.28);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
}
.cookie-consent-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1 1 280px;
}
.cookie-consent-banner a { color: var(--gold); text-decoration: underline; }
.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-consent-banner .btn-line {
    border-color: var(--paper);
    color: var(--paper);
}
.cookie-consent-banner .btn-line:hover { background: var(--paper); color: var(--ink); }
