:root {
    --gp-green-dark: #16332a;
    --gp-green: #1f5c3f;
    --gp-green-light: #2d7a52;
    --gp-cream: #f7f5ef;
    --gp-text: #1a1f1c;
    --gp-text-muted: #5c655f;
    --gp-border: #e4e2d8;
    --gp-gold: #b8925a;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--gp-text);
    background: #fff;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: 96px; }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: #16332a;
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 96px;
}
.site-logo {
    display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display);
    background: #fff; padding: 10px 18px 18px; border-radius: 0 0 20px 20px;
    align-self: flex-start; position: relative; z-index: 5;
}
.site-logo img { height: 90px; width: auto; }
.site-logo .name { font-size: 16px; font-weight: 600; letter-spacing: 0.5px; line-height: 1.2; color: var(--gp-green-dark); }

/* Oversized "badge" logo - homepage only */
.site-logo.site-logo-hero img { height: 100px; }
@media (max-width: 700px) {
    .site-logo { padding: 6px 12px 12px; border-radius: 0 0 14px 14px; }
    .site-logo img { height: 90px; }
    .site-logo.site-logo-hero img { height: 90px; }
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
    color: rgba(255,255,255,0.82);
    font-size: 14px; font-weight: 500;
    padding: 8px 14px; border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.1); color: #fff; }

/* ===== Nav dropdown ===== */
.nav-dropdown { position: relative; }
.nav-dropdown .caret { font-size: 9px; margin-left: 3px; opacity: 0.7; }
.dropdown-panel {
    position: absolute; top: calc(100% + 14px); left: 0;
    background: var(--gp-green-dark); border-radius: 10px;
    min-width: 220px; padding: 10px 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    z-index: 60;
}
.nav-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a {
    display: block; padding: 11px 20px; font-size: 13.5px; font-weight: 500;
    color: rgba(255,255,255,0.8); border-radius: 0;
}
.dropdown-panel a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.dropdown-panel .dropdown-viewall {
    border-top: 1px solid rgba(255,255,255,0.12); margin-top: 6px; padding-top: 12px;
    color: var(--gp-gold); font-weight: 600; font-size: 12.5px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 2px; background: rgba(255,255,255,0.08); border-radius: 20px; padding: 3px; }
.lang-switch a {
    padding: 5px 12px; font-size: 12.5px; font-weight: 600; border-radius: 16px; color: rgba(255,255,255,0.65);
}
.lang-switch a.active { background: var(--gp-green-light); color: #fff; }
.btn-plan-visit {
    background: var(--gp-green-light); color: #fff; padding: 9px 18px;
    border-radius: 20px; font-size: 13.5px; font-weight: 600;
}

.mobile-menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
.mobile-nav-close { display: none; }
.mobile-social { display: none; }

@media (max-width: 900px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; z-index: 80; position: relative; }
    .main-nav.mobile-open {
        display: flex; flex-direction: column;
        position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%;
        background: var(--gp-green-dark); padding: 110px 8px 40px;
        overflow-y: auto; gap: 0; z-index: 65;
        animation: navFadeIn 0.22s ease;
    }
    .main-nav.mobile-open .mobile-nav-close {
        display: block; position: fixed; top: 22px; right: 24px;
        color: #fff; font-size: 30px; line-height: 1; z-index: 66;
        -webkit-tap-highlight-color: transparent;
    }
    @keyframes navFadeIn {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .main-nav.mobile-open > a,
    .nav-dropdown > a {
        display: flex; align-items: center; justify-content: space-between;
        width: 100%; box-sizing: border-box; margin: 0 !important;
        padding: 20px 20px !important; font-size: 20px; font-weight: 600; border-radius: 10px;
        color: rgba(255,255,255,0.92);
        -webkit-tap-highlight-color: transparent;
        transition: background 0.15s;
    }
    .nav-dropdown { width: 100%; margin: 0; padding: 0; }
    .main-nav.mobile-open > a:active,
    .nav-dropdown > a:active { background: rgba(255,255,255,0.07); }
    .main-nav.mobile-open > a.active { background: rgba(255,255,255,0.08); color: #fff; }
    .main-nav > * { border-bottom: 1px solid rgba(255,255,255,0.09); }
    .main-nav > *:last-child { border-bottom: none; }
    .main-nav > .mobile-social { border-bottom: none; }
    .nav-dropdown .caret {
        font-size: 15px; opacity: 0.7; padding: 8px; margin: -8px;
        transition: transform 0.2s; -webkit-tap-highlight-color: transparent;
    }
    .nav-dropdown.expanded .caret { transform: rotate(90deg); opacity: 1; }
    .dropdown-panel {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; background: transparent; padding: 0; min-width: 0;
        max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
        border-radius: 0;
    }
    .nav-dropdown.expanded .dropdown-panel { max-height: 600px; padding: 2px 0 10px; }
    .dropdown-panel a {
        display: block; padding: 11px 4px 11px 6px; border-bottom: none;
        font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.6);
        -webkit-tap-highlight-color: transparent;
    }
    .dropdown-panel a:active { color: #fff; }
    .dropdown-panel .dropdown-viewall { border-top: none; margin-top: 0; padding-top: 12px; color: var(--gp-gold); }
    .header-actions .btn-plan-visit { display: none; }
    .mobile-social {
        display: flex; gap: 16px; padding: 24px 4px 0; margin-top: 10px;
    }
    .mobile-social a {
        width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
        display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px;
        -webkit-tap-highlight-color: transparent;
    }
}

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 640px; display: flex; align-items: center;
    background-size: cover; background-position: center;
    color: #fff; padding: 70px 0;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(10,25,20,0.35) 0%, rgba(10,25,20,0.15) 40%, rgba(10,25,20,0.75) 100%);
    z-index: 1;
}
/* Faint decorative pattern behind inner-page hero titles, reusing the same
   image set in Settings > Footer Background Image, so no separate upload
   is needed. Homepage hero already has its own real photo, so skip it there. */
.hero:not(.hero-home):not(.hero-has-image)::after {
    content: ''; position: absolute; inset: 0;
    background-image: var(--hero-pattern, none);
    background-size: cover; background-position: bottom right; background-repeat: no-repeat;
    opacity: 0.12; z-index: 0;
}
.hero .container { position: relative; z-index: 2; }
.hero-home .container { max-width: none; margin: 0; padding-left: 160px; padding-right: 24px; }
@media (max-width: 1100px) {
    .hero-home .container { padding-left: 60px; }
}
@media (max-width: 900px) {
    .hero-home .container { padding-left: 24px; }
}
.hero-card {
    max-width: 560px; margin-right: auto; text-align: left;
    background: rgba(10,28,22,0.72); border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px; padding: 40px 36px; backdrop-filter: blur(2px);
}
.hero-eyebrow {
    display: flex; align-items: center; gap: 10px;
    font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gp-gold);
    margin-bottom: 20px; font-weight: 700;
}
.hero-eyebrow svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-eyebrow-line { flex: 1; height: 1px; background: var(--gp-gold); opacity: 0.6; min-width: 20px; }
.hero h1 {
    font-family: var(--font-display); font-size: clamp(38px, 5.5vw, 58px);
    font-weight: 600; line-height: 1.05; margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--gp-gold); display: block; }
.hero-divider { width: 50px; height: 3px; background: var(--gp-gold); border-radius: 2px; margin-bottom: 22px; }
.hero p.lead { font-size: 16px; color: rgba(255,255,255,0.9); margin-bottom: 30px; line-height: 1.6; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 30px; font-size: 14.5px; font-weight: 600; }
.btn-primary { background: var(--gp-green-light); color: #fff; }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.55); color: #fff; }

@media (max-width: 700px) {
    .hero-card { padding: 26px 22px; max-width: 100%; border-radius: 16px; }
    .hero-eyebrow { font-size: 11px; letter-spacing: 1.5px; gap: 8px; margin-bottom: 16px; }
    .hero-eyebrow svg { width: 15px; height: 15px; }
    .hero-eyebrow-line { display: none; }
    .hero h1 { font-size: clamp(34px, 11vw, 42px) !important; margin-bottom: 14px; }
    .hero-divider { margin-bottom: 16px; }
    .hero p.lead { font-size: 14.5px; margin-bottom: 24px; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn { flex: 1 1 auto; justify-content: center; padding: 12px 18px; font-size: 13.5px; white-space: nowrap; }
}
@media (max-width: 400px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}

/* ===== Pillars ===== */
.pillars { background: var(--gp-cream); padding: 64px 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar { display: flex; gap: 16px; }
.pillar-icon {
    width: 52px; height: 52px; border-radius: 50%; background: var(--gp-green);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.pillar h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--gp-text-muted); }

/* ===== Section headers ===== */
.section { padding: 80px 0; }

/* ===== Section separator ===== */
.section-separator { height: 1px; background: var(--gp-border); }

/* ===== Homepage intro split (two images + text) ===== */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-split-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.intro-split-images img { width: 100%; height: 460px; object-fit: cover; border-radius: 14px; }
.intro-split-images img:last-child { margin-top: 40px; }
.intro-split-text .section-eyebrow { color: var(--gp-gold); }
.intro-split-text h2 { font-family: var(--font-display); font-size: clamp(28px,3.2vw,40px); font-weight: 700; margin: 10px 0 20px; line-height: 1.2; }
.intro-split-text p { font-size: 15.5px; color: var(--gp-text-muted); line-height: 1.7; margin-bottom: 28px; }
@media (max-width: 960px) {
    .intro-split { grid-template-columns: 1fr; gap: 30px; }
    .intro-split-images img:last-child { margin-top: 0; }
}
@media (max-width: 700px) {
    .intro-split-images img { height: 260px; }
}

/* ===== Categories split (text + icon card grid) ===== */
.categories-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.categories-text .section-eyebrow { color: var(--gp-gold); }
.categories-text h2 { font-family: var(--font-display); font-size: clamp(32px,4vw,46px); font-weight: 700; margin: 8px 0 22px; line-height: 1.08; }
.categories-text p { font-size: 15.5px; color: var(--gp-text-muted); line-height: 1.75; margin-bottom: 30px; max-width: 440px; }
.categories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.category-tile {
    background: var(--gp-green-dark); color: #fff; border-radius: 14px;
    padding: 30px 26px; display: block; transition: transform 0.2s;
}
.category-tile:hover { transform: translateY(-4px); }
.category-tile.category-tile-accent { background: var(--gp-green); }
.category-tile-icon {
    display: block; width: 46px; height: 46px; color: var(--gp-gold); margin-bottom: 22px;
}
.category-tile-icon svg { width: 100%; height: 100%; }
.category-tile h4 {
    font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 12px;
    padding-bottom: 12px; border-bottom: 2px solid var(--gp-gold); display: inline-block;
}
.category-tile p { font-size: 13.5px; color: rgba(255,255,255,0.75); line-height: 1.6; }
@media (max-width: 960px) {
    .categories-split { grid-template-columns: 1fr; gap: 36px; }
    .categories-text p { max-width: none; }
}
@media (max-width: 700px) {
    .categories-grid { grid-template-columns: 1fr; }
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    font-size: 13px; color: var(--gp-text-muted); padding: 18px 0;
}
.breadcrumb a { color: var(--gp-text-muted); }
.breadcrumb a:hover { color: var(--gp-green); text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--gp-text); font-weight: 600; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
.section-eyebrow { font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gp-green); font-weight: 700; margin-bottom: 8px; }
.section-head h2 { font-family: var(--font-display); font-size: 34px; font-weight: 600; }
.section-head .view-all { font-size: 13.5px; font-weight: 600; color: var(--gp-green); border-bottom: 1px solid var(--gp-green); padding-bottom: 2px; }

/* ===== Geosite cards ===== */
.geosite-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.geosite-card { border-radius: 14px; overflow: hidden; position: relative; aspect-ratio: 3/4; }
.geosite-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1); }
.geosite-card:hover img { transform: scale(1.09); }
.geosite-card .overlay { transition: background 0.3s; }
.geosite-card:hover .overlay { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.82) 100%); }
.geosite-card h4 { transition: transform 0.3s; }
.geosite-card:hover h4 { transform: translateY(-2px); }
.geosite-card .overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%); color: #fff;
}
.geosite-card .loc { font-size: 12px; opacity: 0.85; display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.geosite-card h4 { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.geosite-card.no-image { background: var(--gp-green); }

/* Category cards have longer description text than regular geosite cards,
   so give them more breathing room instead of the tighter 3:4 crop. */
.category-card { aspect-ratio: 3/4; }
.category-card .overlay { padding-bottom: 28px; }
@media (max-width: 700px) {
    .category-card { aspect-ratio: unset; min-height: 320px; }
}

/* ===== Discover / Activities ===== */
.discover { background: var(--gp-green-dark); color: #fff; padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-block { padding: 10px; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-block:last-child { border-right: none; }
.stat-number { font-family: var(--font-display); font-size: clamp(42px, 5vw, 64px); font-weight: 600; color: var(--gp-gold); line-height: 1; margin-bottom: 12px; }
.stat-label { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85); }
.discover-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 34px; }
.discover-item { text-align: center; }
.discover-item .icon-circle {
    width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 24px;
    background: rgba(255,255,255,0.05); transition: background 0.2s;
}
.discover-item:hover .icon-circle { background: var(--gp-green-light); border-color: var(--gp-green-light); }
.discover-item span { font-size: 13px; font-weight: 500; }

/* ===== News + Gallery split ===== */
.split-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; }
.news-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gp-border); }
.news-item:first-child { padding-top: 0; }
.news-item img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.news-item .date { font-size: 12px; color: var(--gp-text-muted); margin-bottom: 4px; }
.news-item h4 { font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

/* ===== Visitor info bar ===== */
.visitor-bar { background: var(--gp-cream); padding: 44px 0; }
.visitor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.visitor-item .label { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gp-green); font-weight: 700; margin-bottom: 6px; }
.visitor-item .value { font-size: 15px; font-weight: 500; }

/* ===== Map download (Lenggong-style full-bleed) ===== */
.map-download {
    position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center;
    text-align: center; color: #fff; background-size: cover; background-position: center;
    padding: 60px 24px;
}
.map-download::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(10,25,20,0.55) 0%, rgba(10,25,20,0.75) 100%);
}
.map-download .inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.map-download .eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--gp-gold); margin-bottom: 16px; font-weight: 600; }
.map-download h2 { font-family: var(--font-display); font-size: clamp(28px,4vw,42px); margin-bottom: 18px; }
.map-download p { font-size: 15.5px; color: rgba(255,255,255,0.88); margin-bottom: 30px; line-height: 1.6; }

/* ===== Partners ===== */
.partners-strip { padding: 50px 0; border-top: 1px solid var(--gp-border); }
.partners-heading { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 34px; }
.partners-heading .line { flex: 1; max-width: 320px; height: 1px; background: var(--gp-gold); }
.partners-heading .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gp-gold); flex-shrink: 0; }
.partners-heading .label { font-size: 15px; font-weight: 700; letter-spacing: 2px; color: var(--gp-green); white-space: nowrap; }
.partners-row { display: flex; align-items: center; justify-content: center; gap: 50px; flex-wrap: wrap; }
.partners-row img { height: 130px; width: auto; object-fit: contain; }

/* ===== Footer ===== */
.site-footer {
    background-color: var(--gp-green-dark); background-repeat: no-repeat; background-position: bottom right; background-size: cover;
    color: rgba(255,255,255,0.75); padding: 70px 0 24px; position: relative;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; position: relative; z-index: 1; }
.footer-logo-icon { width: 54px; height: 54px; color: var(--gp-gold); margin-bottom: 16px; }
.footer-logo-icon svg { width: 100%; height: 100%; }
.footer-brand { color: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-brand-col p { font-size: 13.5px; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
    color: var(--gp-gold); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 10px; padding-bottom: 12px; position: relative;
}
.footer-col h5::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 1px; background: var(--gp-gold);
}
.footer-col h5::before {
    content: ''; position: absolute; left: 40px; bottom: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--gp-gold);
}
.footer-col { margin-top: 6px; }
.footer-col a {
    display: block; font-size: 13.5px; margin-bottom: 12px; color: rgba(255,255,255,0.75);
    padding-left: 16px; position: relative;
}
.footer-col a::before { content: '›'; position: absolute; left: 0; color: var(--gp-gold); font-weight: 700; }
.footer-col a:hover { color: #fff; }
.footer-social-col .footer-social-row { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-social-link { display: flex; align-items: center; justify-content: center; padding-left: 0; margin-bottom: 0; }
.footer-social-link::before { content: none; }
.footer-social-icon {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gp-gold); color: var(--gp-gold);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 9px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px;
    display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,0.5);
    flex-wrap: wrap; gap: 10px; position: relative; z-index: 1;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .pillars-grid { grid-template-columns: 1fr; gap: 28px; }
    .geosite-grid { grid-template-columns: repeat(2, 1fr); }
    .discover-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 20px; }
    .split-grid { grid-template-columns: 1fr; }
    .visitor-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 600px) {
    .partners-heading .line { max-width: 60px; }
    .partners-heading .label { font-size: 12px; letter-spacing: 1px; }
    .partners-row { gap: 28px; }
    .partners-row img { height: 60px; }
    .footer-social-col .footer-social-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
}

/* Broad safety net: most inner pages (Contact, Geoproducts, Education, News,
   Geoguides, Plan Your Visit, About, Organisation, etc.) use inline
   grid-template-columns for 2/3/4-column layouts. On phones these need to
   collapse to a single column, so this catches all of them without having
   to hunt down every inline style individually. */
@media (max-width: 700px) {
    [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    .section { padding: 44px 0; }
    .hero:not(.hero-home) { min-height: 200px !important; padding: 40px 0 !important; }
    .hero:not(.hero-home) h1 { font-size: clamp(24px, 7vw, 30px) !important; }
    .hero:not(.hero-home) .hero-eyebrow { font-size: 11px !important; margin-bottom: 10px !important; }
    .hero.hero-home { min-height: 420px !important; padding-bottom: 40px; }
    .hero.hero-home h1 { font-size: clamp(32px, 9vw, 44px) !important; }
    .map-download { min-height: 380px !important; padding: 40px 20px; }
    .container { padding: 0 18px; }
    .footer-grid {
        grid-template-columns: 1fr 1fr !important; row-gap: 30px;
    }
    .footer-grid > *:nth-child(1) { grid-column: 1 / -1; }
    .footer-grid > *:nth-child(4) { grid-column: 1 / -1; }
    .discover-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
