:root {
    --ink: #173b3d;
    --ink-soft: #486263;
    --forest: #173b3d;
    --forest-deep: #102e31;
    --ice: #eaf3f0;
    --paper: #f7f6f0;
    --white: #fff;
    --accent: #d0a76a;
    --line: rgba(23, 59, 61, .14);
    --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.site-shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding-block: 112px; }
.eyebrow {
    margin: 0 0 17px;
    color: #67817c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .19em;
    line-height: 1.4;
    text-transform: uppercase;
}
.eyebrow--light { color: #d2e2dc; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", "DM Sans", Arial, sans-serif; }

/* Shared root header: retain the existing menu hooks used by older pages. */
#header {
    position: relative;
    z-index: 10;
    width: 100%;
    background: rgba(250, 250, 246, .97);
    border-bottom: 1px solid var(--line);
}
#header .main-menu { position: relative; left: auto; right: auto; width: min(1440px, calc(100% - 72px)); max-width: 1440px !important; margin: 0 auto; padding: 12px 0; }
#header .row { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: clamp(28px, 4vw, 78px); }
#header .site-logo { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; color: var(--forest); text-decoration: none; }
#header .site-logo img { width: 60px; height: 60px; object-fit: contain; }
#header .site-logo__wordmark { display: flex; flex-direction: column; font-family: "Manrope", "DM Sans", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .11em; line-height: 1.35; text-transform: uppercase; white-space: nowrap; }
#header .site-logo__wordmark strong { color: var(--forest); font-size: 17px; letter-spacing: -.025em; line-height: 1.25; text-transform: none; }
#nav-menu-container { display: block; flex: 1 1 auto; min-width: 0; }
#nav-menu-container > ul, #nav-menu-container .nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(9px, 1vw, 22px);
    margin: 0;
    padding: 0;
    list-style: none;
}
#header .site-menu-row { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: clamp(26px, 3vw, 64px); }
#header .site-navigation { display: block; flex: 1 1 0; min-width: 0; }
#header .site-navigation__list {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(5, minmax(max-content, 1fr)) max-content;
    align-items: center;
    justify-content: stretch;
}
#header .site-navigation__list > li { justify-self: center; }
#header .site-navigation__list > .site-access { justify-self: end; }
#nav-menu-container li { position: relative; list-style: none; }
#nav-menu-container a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #29494a;
    font-size: clamp(15px, .9vw, 20px);
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}
#nav-menu-container a:hover { color: #987347; }
#nav-menu-container .menu-has-children > ul {
    position: absolute;
    top: calc(100% + 4px);
    left: -15px;
    display: none;
    min-width: 240px;
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 35px rgba(14, 43, 43, .14);
}
#nav-menu-container .menu-has-children:hover > ul,
#nav-menu-container .menu-has-children:focus-within > ul { display: block; }
#nav-menu-container .menu-has-children > ul a { width: 100%; padding: 7px 10px; white-space: normal; }
#nav-menu-container .site-access a {
    min-height: 46px;
    padding: 0 20px;
    font-size: clamp(13px, .78vw, 16px);
    color: #fff;
    background: var(--forest);
    border-radius: 4px;
}
#nav-menu-container .site-access a:hover { color: #fff; background: #28585a; }

.hero {
    position: relative;
    display: flex;
    min-height: min(720px, calc(100vh - 82px));
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #244649 url("../img/banner-bg.jpg") center 54% / cover no-repeat;
}
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 35, 39, .78), rgba(12, 35, 39, .38) 55%, rgba(12, 35, 39, .08)); }
.hero__content { position: relative; padding-block: 90px 86px; }
.hero h1 { max-width: 820px; margin: 0 0 22px; font-size: clamp(42px, 6.4vw, 82px); font-weight: 600; letter-spacing: -.055em; line-height: 1.04; }
.hero__lead { max-width: 570px; margin-bottom: 31px; color: rgba(255,255,255,.88); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 20px; padding: 0 22px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--light { color: var(--forest-deep); background: #fff; }
.button--light:hover { color: var(--forest-deep); background: #eaf3f0; }
.button--outline-light { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.button--outline-light:hover { color: var(--forest-deep); background: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { color: #987347; }
.text-link--light { color: #fff; }
.text-link--light:hover { color: #f0d4a6; }
.hero__caption { position: absolute; right: 24px; bottom: 20px; margin: 0; color: rgba(255,255,255,.74); font-size: 11px; letter-spacing: .06em; }

.intro { background: var(--paper); }
.intro__grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr); align-items: center; gap: clamp(45px, 8vw, 110px); }
.intro__copy h2, .section-heading h2, .visit h2 { margin-bottom: 22px; font-size: clamp(34px, 4.3vw, 54px); font-weight: 600; letter-spacing: -.045em; line-height: 1.14; }
.intro__copy p:not(.eyebrow) { max-width: 530px; color: var(--ink-soft); }
.intro__copy .lede { color: var(--ink); font-size: 19px; line-height: 1.55; }
.intro__copy .text-link { margin-top: 13px; }
.intro__image { position: relative; margin-bottom: 0; }
.intro__image img { width: 100%; min-height: 380px; max-height: 520px; object-fit: cover; border-radius: 2px; }
.intro__image figcaption { margin-top: 12px; color: #768784; font-size: 12px; }

.landscape-band {
    position: relative;
    padding-block: 100px;
    color: #fff;
    background: linear-gradient(90deg, rgba(15, 47, 49, .88), rgba(15, 47, 49, .32)), url("../img/banner-bg.jpg") center 39% / cover no-repeat;
}
.landscape-band__inner { max-width: var(--shell); }
.landscape-band h2 { max-width: 690px; margin-bottom: 17px; font-size: clamp(38px, 5vw, 62px); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; }
.landscape-band p:last-child { max-width: 510px; margin-bottom: 0; color: rgba(255,255,255,.83); }

.nature { background: #edf2ee; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 39px; }
.section-heading h2 { max-width: 620px; margin-bottom: 0; }
.section-heading > p { max-width: 340px; margin-bottom: 5px; color: var(--ink-soft); }
.nature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.nature-card { overflow: hidden; background: #fff; border: 1px solid rgba(23,59,61,.07); box-shadow: 0 14px 35px rgba(24,55,53,.055); }
.nature-card > img { width: 100%; height: 235px; object-fit: cover; }
.nature-card__body { padding: 25px 25px 28px; }
.card-kicker { display: block; margin-bottom: 11px; color: #728782; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.nature-card h3 { margin-bottom: 10px; font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
.nature-card p { margin-bottom: 0; color: #657977; font-size: 14px; }

.visit { padding-block: 78px; color: #fff; background: var(--forest); }
.visit__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.visit h2 { max-width: 680px; margin-bottom: 14px; font-size: clamp(32px, 4vw, 48px); }
.visit__inner > div:first-child > p:last-child { max-width: 560px; margin-bottom: 0; color: rgba(255,255,255,.75); }
.visit__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 12px; }
.site-footer { padding-block: 30px; color: #d9e5df; background: var(--forest-deep); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer__brand { color: #fff; font-size: 11px; line-height: 1.35; text-decoration: none; }
.site-footer__brand strong { font-family: "Manrope", sans-serif; font-size: 17px; }
.site-footer__inner p { margin: 0; color: #a7bdb6; font-size: 12px; }
.site-footer__top { color: #fff; font-size: 12px; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Existing recommendation content is database-driven; keep its content and give it room to breathe. */
.home-about-area#AUTOCTONA { margin: 0; padding: 56px 0 100px; background: transparent; }
.home-about-area#AUTOCTONA .container > .row { display: block; }
.home-about-area#AUTOCTONA .col-lg-9 { width: 100%; max-width: 850px; margin-inline: auto; }
.home-about-area#AUTOCTONA h3 { padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--forest); font: 700 24px/1.3 "Manrope", "DM Sans", sans-serif; }
.home-about-area#AUTOCTONA p { color: var(--ink-soft) !important; font-size: 16px !important; line-height: 1.8; }
.home-about-area#AUTOCTONA p img { width: 17px; height: 17px; margin-right: 10px; object-fit: contain; vertical-align: -3px; }

/* Trekking overview */
.trekking-page.site-shell { width: min(var(--shell), calc(100% - 48px)); max-width: none; margin: 0 auto; padding: 48px 0 86px; }
.trekking-heading { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.trekking-heading h1 { margin-bottom: 14px; font-size: clamp(36px, 4.4vw, 54px); font-weight: 700; letter-spacing: -.045em; line-height: 1.1; }
.trekking-heading > p:last-child { max-width: 720px; margin: 0 auto; color: var(--ink-soft); font-size: 17px; }
.trekking-map { margin: 0 0 72px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 15px 45px rgba(19, 56, 56, .06); }
.trekking-map__heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.trekking-map__heading .card-kicker { margin-bottom: 7px; }
.trekking-map__heading h2 { margin: 0; font-size: clamp(21px, 2.5vw, 28px); font-weight: 700; letter-spacing: -.03em; }
.trekking-map .iframe-container { position: relative; width: 100%; height: clamp(320px, 42vw, 500px); min-height: 0; max-height: 500px; padding: 0; overflow: hidden; background: #e6eeeb; border-radius: 8px; }
.trekking-map .iframe-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.portal-section { margin: 0 0 66px; }
.portal-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 21px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.portal-section__heading .card-kicker { margin-bottom: 6px; }
.portal-section__heading h2 { margin: 0 0 5px; color: var(--forest); font-size: clamp(25px, 3vw, 34px); font-weight: 700; letter-spacing: -.035em; }
.portal-section__heading p:not(.card-kicker) { max-width: 790px; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.portal-section__hint { flex: 0 0 auto; padding-bottom: 2px; color: #758983; font-size: 12px; }
.portal-sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.portal-sites .portal-card { min-width: 0; margin: 0; overflow: hidden; background: #fff; border: 1px solid rgba(23,59,61,.08); border-radius: 12px; box-shadow: 0 8px 24px rgba(19,56,56,.07); text-align: left; transition: transform .2s ease, box-shadow .2s ease; }
.portal-sites .portal-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(19,56,56,.13); }
.portal-card a { display: flex; height: 100%; flex-direction: column; color: var(--ink); text-decoration: none; }
.portal-card img { width: 100%; height: 190px; object-fit: cover; }
.portal-card h3 { margin: 0; padding: 16px 17px 19px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.4; }
.trekking-home-link { display: flex; justify-content: center; margin-top: 48px; }

@media (max-width: 940px) {
    #header .main-menu { width: calc(100% - 32px); max-width: none !important; }
    #header .site-menu-row { gap: 20px; }
    #nav-menu-container > ul, #nav-menu-container .nav-menu { gap: 10px; }
    #nav-menu-container a { font-size: 13px; }
    #header .site-navigation { overflow-x: auto; }
    #header .site-navigation__list { display: flex; width: max-content; min-width: 100%; justify-content: flex-start; gap: 10px; }
    #header .site-logo img { width: 48px; height: 48px; }
    #header .site-logo__wordmark { font-size: 9px; }
    #header .site-logo__wordmark strong { font-size: 14px; }
    #header .main-menu { width: calc(100% - 32px); }
    .intro__grid { gap: 42px; }
    .nature-grid { gap: 14px; }
    .nature-card__body { padding: 21px 19px 24px; }
}
@media (max-width: 760px) {
    .site-shell { width: min(var(--shell), calc(100% - 36px)); }
    .section-pad { padding-block: 76px; }
    #header .main-menu { width: calc(100% - 28px); max-width: none !important; padding-block: 8px; }
    #header .site-menu-row { align-items: flex-start; flex-wrap: wrap; flex-direction: column; gap: 4px; }
    #header .site-logo img { width: 43px; height: 43px; }
    #header .site-logo__wordmark { font-size: 8px; }
    #header .site-logo__wordmark strong { font-size: 13px; }
    #nav-menu-container { width: 100%; overflow-x: auto; scrollbar-width: thin; }
    #nav-menu-container > ul, #nav-menu-container .nav-menu { width: max-content; min-width: 100%; justify-content: flex-start; gap: 15px; padding-bottom: 4px; }
    #nav-menu-container a { min-height: 34px; font-size: 12px; }
    #nav-menu-container .site-access a { min-height: 32px; padding-inline: 11px; }
    #nav-menu-container .menu-has-children > ul { position: fixed; top: auto; left: 20px; }
    .hero { min-height: 620px; min-height: min(700px, calc(100svh - 105px)); background-position: 58% center; }
    .hero__shade { background: linear-gradient(90deg, rgba(12,35,39,.78), rgba(12,35,39,.39)); }
    .hero__content { padding-block: 75px 92px; }
    .hero h1 { font-size: clamp(42px, 11vw, 65px); }
    .hero__caption { right: 18px; left: 18px; font-size: 10px; }
    .intro__grid { grid-template-columns: 1fr; gap: 32px; }
    .intro__image img { min-height: 270px; max-height: 390px; }
    .landscape-band { padding-block: 76px; background-position: 55% center; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 18px; }
    .nature-grid { grid-template-columns: 1fr; gap: 18px; }
    .nature-card { display: grid; grid-template-columns: minmax(120px, .8fr) 1.2fr; }
    .nature-card > img { height: 100%; min-height: 240px; }
    .visit__inner { align-items: flex-start; flex-direction: column; gap: 28px; }
    .site-footer__inner { align-items: flex-start; flex-wrap: wrap; }
    .site-footer__inner p { order: 3; width: 100%; }
    .trekking-page.site-shell { width: calc(100% - 36px); padding-top: 36px; }
    .trekking-map { margin-bottom: 52px; padding: 16px; }
    .trekking-map__heading, .portal-section__heading { align-items: flex-start; flex-direction: column; gap: 11px; }
    .portal-section { margin-bottom: 48px; }
    .portal-sites { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
    .portal-card img { height: 170px; }
}
@media (max-width: 480px) {
    .site-shell { width: calc(100% - 30px); }
    .hero__actions { align-items: flex-start; flex-direction: column; gap: 17px; }
    .button { min-height: 48px; }
    .nature-card { display: block; }
    .nature-card > img { height: 205px; min-height: 0; }
    .visit__actions { align-items: stretch; flex-direction: column; width: 100%; }
    .visit__actions .button { width: 100%; }
    .trekking-page.site-shell { width: calc(100% - 30px); }
    .trekking-map .iframe-container { height: 330px; }
    .portal-sites { grid-template-columns: 1fr; }
    .portal-card img { height: 205px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
