/* =================================================================
   Terra Hills — Home & Garden review site
   Design system: warm, editorial, botanical
   ================================================================= */

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

:root {
    /* Brand greens */
    --green-900: #14331f;
    --green-800: #1a4429;
    --green-700: #1f5135;
    --green-600: #276641;
    --green-500: #2f7d52;
    --green-100: #e4efe5;

    /* Warm neutrals */
    --sand-50: #faf7f0;
    --cream: #f3ede0;
    --paper: #ffffff;
    --ink: #1c211c;
    --muted: #5b635b;
    --line: #e6e0d2;
    --line-strong: #d6cdb8;

    /* Accent */
    --accent: #c2683f;
    --accent-soft: #f4e3d6;
    --gold: #b8902f;

    /* Typography */
    --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Radius & shadow */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-pill: 999px;
    --shadow-sm: 0 2px 8px rgba(28, 51, 31, 0.06);
    --shadow-md: 0 10px 30px rgba(28, 51, 31, 0.10);
    --shadow-lg: 0 24px 60px rgba(28, 51, 31, 0.16);

    /* Layout */
    --container: 1240px;
    --header-h: 68px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--sand-50);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--ink);
}

::selection { background: var(--green-100); color: var(--green-900); }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--green-700);
    color: #fff;
    padding: .75rem 1.25rem;
    z-index: 2000;
    border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------- Layout helpers */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.main { padding-top: var(--header-h); }

.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section--alt { background: var(--cream); }
.section--green { background: var(--green-800); color: #fff; }
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }

.section__head { max-width: 760px; margin-bottom: 2.5rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: .9rem;
}
.section--green .eyebrow { color: #9ccd9a; }
.section__title {
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    margin-bottom: .9rem;
}
.section__text { color: var(--muted); font-size: 1.075rem; }
.section--green .section__text { color: rgba(255,255,255,.82); }

/* -------------------------------------------------- Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: .95rem;
    padding: .72rem 1.4rem;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
    white-space: nowrap;
}
.btn .material-icons-outlined { font-size: 1.15em; }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--green-600); color: var(--green-700); }
.btn--light { background: #fff; color: var(--green-800); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: .9rem 1.8rem; font-size: 1rem; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
    color: var(--green-700);
}
.text-link .material-icons-outlined { font-size: 1.1em; transition: transform .2s var(--ease); }
.text-link:hover .material-icons-outlined { transform: translateX(4px); }

/* -------------------------------------------------- Header */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    background: rgba(250, 247, 240, 0.85);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(250, 247, 240, 0.95); }
.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: .85rem;
}

.logo { display: inline-flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.logo__mark {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: var(--green-700);
    color: #fff;
    border-radius: 9px;
}
.logo__mark .material-icons-outlined { font-size: 19px; }
.logo__text { display: flex; align-items: baseline; gap: .45rem; line-height: 1; }
.logo__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; color: var(--ink); white-space: nowrap; }
.logo__tag { display: none; }

/* -------------------------------------------------- Desktop nav + mega */
.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 0; }
.nav__item { position: static; }
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: .05rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: .875rem;
    color: var(--ink);
    padding: .4rem .55rem;
    border-radius: var(--r-sm);
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--green-700); background: var(--green-100); }
.nav__caret { font-size: 1rem; transition: transform .25s var(--ease); }
.nav__item--mega:hover .nav__caret,
.nav__item--mega.is-open .nav__caret { transform: rotate(180deg); }

.mega {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    z-index: 999;
}
.nav__item--mega:hover .mega,
.nav__item--mega:focus-within .mega,
.nav__item--mega.is-open .mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 2.5rem;
    padding: 2.25rem 24px;
}
.mega__feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--green-800);
    color: #fff;
    border-radius: var(--r-md);
    padding: 1.6rem;
}
.mega__feature-icon {
    font-size: 2rem;
    background: rgba(255,255,255,.12);
    border-radius: 12px;
    padding: .55rem;
    margin-bottom: 1rem;
}
.mega__feature-title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; }
.mega__feature-text { color: rgba(255,255,255,.82); font-size: .95rem; margin: .4rem 0 1.2rem; }
.mega__feature-cta { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: #9ccd9a; }
.mega__feature:hover .mega__feature-cta .material-icons-outlined { transform: translateX(4px); }
.mega__feature-cta .material-icons-outlined { font-size: 1.1rem; transition: transform .2s var(--ease); }

.mega__heading {
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 1rem;
}
.mega__links li { margin-bottom: .65rem; }
.mega__links a {
    font-weight: 500;
    color: var(--ink);
    transition: color .2s var(--ease), padding .2s var(--ease);
    display: inline-block;
}
.mega__links a:hover { color: var(--green-700); padding-left: 4px; }
.mega__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.mega__chip {
    display: inline-block;
    font-size: .85rem;
    padding: .35rem .8rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--muted);
    transition: all .2s var(--ease);
}
.mega__chip:hover { background: var(--green-100); color: var(--green-700); border-color: var(--green-100); }

.header__actions { display: flex; align-items: center; gap: .45rem; flex-shrink: 0; margin-left: .25rem; }
.header__cta { padding: .5rem 1rem; font-size: .87rem; }

/* -------------------------------------------------- Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    cursor: pointer;
}
.menu-toggle__bar { width: 20px; height: 2px; background: var(--ink); margin-inline: auto; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------- Mobile nav */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 51, 31, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
    z-index: 1100;
}
.overlay.is-active { opacity: 1; visibility: visible; }

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 88vw);
    background: var(--sand-50);
    z-index: 1200;
    transform: translateX(100%);
    transition: transform .32s var(--ease);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--line);
}
.mobile-nav__title { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; }
.mobile-nav__close {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: none; border: 1px solid var(--line-strong); border-radius: var(--r-sm); cursor: pointer;
}
.mobile-nav__body { padding: .5rem 1.25rem 2rem; }
.mobile-nav__link {
    display: block;
    padding: .9rem .25rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
}
.mobile-acc { border-bottom: 1px solid var(--line); }
.mobile-acc__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem .25rem;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
    cursor: pointer;
}
.mobile-acc__trigger > span:first-child { display: inline-flex; align-items: center; gap: .65rem; }
.mobile-acc__trigger .material-icons-outlined { color: var(--green-600); font-size: 1.3rem; }
.mobile-acc__caret { transition: transform .25s var(--ease); }
.mobile-acc.is-open .mobile-acc__caret { transform: rotate(180deg); }
.mobile-acc__panel { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.mobile-acc.is-open .mobile-acc__panel { max-height: 420px; }
.mobile-acc__link { display: block; padding: .55rem .25rem .55rem 2.6rem; color: var(--muted); font-size: .97rem; }
.mobile-acc__link--all { color: var(--green-700); font-weight: 600; }

/* -------------------------------------------------- Hero */
.hero {
    position: relative;
    min-height: clamp(520px, 78vh, 760px);
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(105deg, rgba(15,40,24,.86) 0%, rgba(15,40,24,.55) 55%, rgba(15,40,24,.25) 100%);
}
.hero__inner { max-width: 660px; padding-block: 4rem; }
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: #cfe6cd;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    padding: .4rem .9rem; border-radius: var(--r-pill);
    margin-bottom: 1.3rem;
}
.hero__title { font-size: clamp(2.5rem, 6vw, 4.4rem); color: #fff; margin-bottom: 1.2rem; }
.hero__title em { font-style: italic; color: #9ccd9a; }
.hero__subtitle { font-size: 1.2rem; color: rgba(255,255,255,.88); max-width: 540px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero__stat-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: #fff; }
.hero__stat-label { font-size: .85rem; color: rgba(255,255,255,.75); letter-spacing: .04em; }

/* Simple page hero (non-image) */
.page-hero { background: var(--green-800); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem,6vw,5rem); }
.page-hero__inner { max-width: 720px; }
.page-hero .eyebrow { color: #9ccd9a; }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; margin-bottom: 1rem; }
.page-hero__text { font-size: 1.2rem; color: rgba(255,255,255,.85); }

/* -------------------------------------------------- Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    border-radius: var(--r-lg);
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}
.cat-card__img { position: absolute; inset: 0; z-index: -2; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, rgba(15,40,24,.92) 5%, rgba(15,40,24,.35) 60%, rgba(15,40,24,.1) 100%);
}
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__body { padding: 1.5rem; }
.cat-card__icon { font-size: 1.6rem; background: rgba(255,255,255,.16); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; margin-bottom: .9rem; }
.cat-card__title { font-size: 1.45rem; color: #fff; margin-bottom: .3rem; }
.cat-card__text { font-size: .92rem; color: rgba(255,255,255,.85); }
.cat-card__cta { margin-top: 1rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; color: #cfe6cd; }
.cat-card__cta .material-icons-outlined { font-size: 1.1rem; transition: transform .2s var(--ease); }
.cat-card:hover .cat-card__cta .material-icons-outlined { transform: translateX(4px); }

/* -------------------------------------------------- Review / article cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.r-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.r-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.r-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cream); }
.r-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.r-card:hover .r-card__media img { transform: scale(1.05); }
.r-card__badge {
    position: absolute; top: .85rem; left: .85rem;
    background: rgba(255,255,255,.92);
    color: var(--green-800);
    font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: .3rem .7rem; border-radius: var(--r-pill);
}
.r-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.r-card__meta { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--muted); margin-bottom: .6rem; }
.r-card__title { font-size: 1.25rem; margin-bottom: .5rem; line-height: 1.25; }
.r-card__title a:hover { color: var(--green-700); }
.r-card__text { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }
.r-card__foot { margin-top: auto; }

/* Featured large card */
.feature-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.6rem; }
.feature-card {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    isolation: isolate;
}
.feature-card__img { position: absolute; inset: 0; z-index: -2; }
.feature-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature-card:hover .feature-card__img img { transform: scale(1.05); }
.feature-card::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(to top, rgba(15,40,24,.92), rgba(15,40,24,.15)); }
.feature-card__body { padding: 2rem; }
.feature-card__badge { display:inline-block; background: var(--accent); color:#fff; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:.3rem .8rem; border-radius: var(--r-pill); margin-bottom: 1rem; }
.feature-card__title { font-size: clamp(1.6rem, 3vw, 2.3rem); color:#fff; margin-bottom: .6rem; }
.feature-card__text { color: rgba(255,255,255,.85); max-width: 520px; }
.feature-side { display: flex; flex-direction: column; gap: 1.6rem; }

/* -------------------------------------------------- Value / why cards */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.value-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.8rem 1.5rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value-card__icon {
    width: 52px; height: 52px; display: grid; place-items: center;
    background: var(--green-100); color: var(--green-700);
    border-radius: 14px; margin-bottom: 1.1rem;
}
.value-card__icon .material-icons-outlined { font-size: 1.6rem; }
.value-card__title { font-size: 1.2rem; margin-bottom: .5rem; }
.value-card__text { color: var(--muted); font-size: .95rem; }

/* Section--green variants for cards */
.section--green .value-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section--green .value-card__title { color: #fff; }
.section--green .value-card__text { color: rgba(255,255,255,.8); }
.section--green .value-card__icon { background: rgba(255,255,255,.12); color: #9ccd9a; }

/* -------------------------------------------------- CTA band */
.cta-band {
    background: var(--green-700);
    color: #fff;
    border-radius: var(--r-lg);
    padding: clamp(2.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}
.cta-band__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: #fff; margin-bottom: .8rem; }
.cta-band__text { color: rgba(255,255,255,.85); }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: flex-end; }

/* -------------------------------------------------- Newsletter (footer) */
.newsletter { display: flex; gap: .5rem; margin-top: 1rem; }
.newsletter__input {
    flex: 1;
    min-width: 0;
    padding: .7rem 1rem;
    border-radius: var(--r-pill);
    border: 1px solid var(--line-strong);
    background: var(--paper);
    font-family: var(--font-sans);
    font-size: .92rem;
    color: var(--ink);
}
.newsletter__input:focus { outline: 2px solid var(--green-500); outline-offset: 1px; }

/* -------------------------------------------------- Footer */
.footer { background: var(--green-900); color: rgba(255,255,255,.78); margin-top: auto; }
.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
    gap: 2.5rem;
    padding: clamp(3rem, 5vw, 4.5rem) 24px 3rem;
}
.logo--footer .logo__name { color: #fff; }
.footer__desc { font-size: .95rem; margin-top: 1rem; color: rgba(255,255,255,.7); }
.footer__social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer__social-link {
    width: 40px; height: 40px; display: grid; place-items: center;
    border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
    transition: background .2s var(--ease);
}
.footer__social-link:hover { background: var(--green-600); }
.footer__title { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; font-family: var(--font-sans); font-weight: 600; }
.footer__links li { margin-bottom: .7rem; }
.footer__links a { color: rgba(255,255,255,.7); font-size: .95rem; transition: color .2s var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer__bottom-inner {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    padding: 1.4rem 24px; font-size: .88rem; color: rgba(255,255,255,.6);
}
.footer__bottom-inner a { color: rgba(255,255,255,.7); }
.footer__bottom-inner a:hover { color: #fff; }

/* -------------------------------------------------- Article / prose layout */
.article-head { background: var(--cream); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem,4vw,3rem); }
.article-head__inner { max-width: 820px; }
.article-cat {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: var(--green-700); margin-bottom: 1rem;
}
.article-title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.article-sub { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }
.article-meta__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

.article-hero { margin: 0 0 0; }
.article-hero img { width: 100%; max-height: 540px; object-fit: cover; border-radius: var(--r-lg); }
.article-hero figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; text-align: center; }

.article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 3rem;
    align-items: start;
}
.article-toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.toc-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.3rem 1.4rem;
}
.toc-card__title { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-family: var(--font-sans); font-weight: 600; }
.toc-card__list li { margin-bottom: .6rem; }
.toc-card__list a { font-size: .92rem; color: var(--ink); transition: color .2s var(--ease); display: block; }
.toc-card__list a:hover { color: var(--green-700); }

/* Prose */
.prose { font-size: 1.075rem; color: #25302a; }
.prose > * + * { margin-top: 1.3rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.6rem; padding-top: .4rem; }
.prose h3 { font-size: 1.35rem; margin-top: 2rem; }
.prose h4 { font-size: 1.1rem; margin-top: 1.6rem; }
.prose p { line-height: 1.75; color: #36423a; }
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5rem; line-height: 1.7; }
.prose li::marker { color: var(--green-600); }
.prose img { border-radius: var(--r-md); margin-block: 1.8rem; }
.prose blockquote {
    border-left: 3px solid var(--green-600);
    background: var(--green-100);
    padding: 1.2rem 1.5rem;
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--green-900);
}
.prose blockquote p { color: inherit; }
.prose strong { color: var(--ink); }
.prose hr { border: none; border-top: 1px solid var(--line); margin-block: 2.5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--cream); font-family: var(--font-sans); }

/* -------------------------------------------------- About: process steps */
.process { display: grid; gap: 1.2rem; max-width: 880px; }
.process__step {
    display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; align-items: start;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 1.6rem 1.8rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.process__step:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.process__num {
    width: 64px; height: 64px; display: grid; place-items: center;
    background: var(--green-700); color: #fff;
    font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600;
    border-radius: 50%;
}
.process__title { font-size: 1.3rem; margin-bottom: .4rem; }
.process__text { color: var(--muted); }

/* -------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-info__item { display: flex; gap: 1rem; margin-bottom: 1.6rem; }
.contact-info__icon { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); border-radius: 12px; }
.contact-info__label { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: .2rem; }
.contact-info__text { color: var(--muted); font-size: .95rem; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.field input, .field textarea, .field select {
    width: 100%; padding: .8rem 1rem;
    border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    font-family: var(--font-sans); font-size: 1rem; color: var(--ink); background: var(--sand-50);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--green-500); outline-offset: 1px; background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }

/* -------------------------------------------------- Empty / coming soon */
.empty {
    text-align: center; max-width: 560px; margin-inline: auto;
    background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
    padding: 3rem 2rem;
}
.empty__icon { font-size: 3rem; color: var(--green-600); margin-bottom: 1rem; }
.empty__title { font-size: 1.6rem; margin-bottom: .6rem; }
.empty__text { color: var(--muted); }

/* -------------------------------------------------- Sitemap */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.sitemap-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.6rem 1.7rem;
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.sitemap-card:hover { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.sitemap-card--wide { grid-column: span 3; }
.sitemap-card__head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}
.sitemap-card__icon {
    width: 42px; height: 42px; flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--green-100); color: var(--green-700);
    border-radius: 11px; font-size: 1.4rem;
}
.sitemap-card__title { font-size: 1.2rem; margin: 0; }
.sitemap-card__all {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .85rem; font-weight: 600; color: var(--green-700);
    white-space: nowrap;
}
.sitemap-card__all .material-icons-outlined { font-size: 1rem; transition: transform .2s var(--ease); }
.sitemap-card__all:hover .material-icons-outlined { transform: translateX(3px); }
.sitemap-list--cols { columns: 2; column-gap: 2rem; }
.sitemap-list li { break-inside: avoid; }
.sitemap-list a {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .42rem 0;
    color: var(--ink);
    font-size: .97rem;
    transition: color .2s var(--ease), transform .2s var(--ease);
}
.sitemap-list a .material-icons-outlined { font-size: 1.15rem; color: var(--green-600); }
.sitemap-list a:hover { color: var(--green-700); transform: translateX(3px); }
.sitemap-list__empty { color: var(--muted); font-size: .95rem; padding: .42rem 0; }

/* -------------------------------------------------- Misc utilities */
.divider { height: 1px; background: var(--line); border: none; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ================================================== Responsive */
@media (max-width: 1200px) {
    .header__cta.btn--ghost { display: none; }
    .nav__link { padding: .4rem .45rem; font-size: .85rem; }
}

@media (max-width: 1080px) {
    .nav, .header__cta { display: none; }
    .menu-toggle { display: flex; }
    .header__actions { order: -1; margin-left: 0; margin-right: .25rem; }
    .logo { order: 0; }
    .cat-grid, .value-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-row { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .article-toc { position: static; }
    .article-toc { display: none; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand, .footer__col--news { grid-column: 1 / -1; }
    .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
    .sitemap-card--wide { grid-column: span 2; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .cat-grid, .value-grid, .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
    .cta-band { grid-template-columns: 1fr; }
    .cta-band__actions { justify-content: flex-start; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .sitemap-grid { grid-template-columns: 1fr; }
    .sitemap-card--wide { grid-column: span 1; }
    .sitemap-list--cols { columns: 1; }
    .hero__stats { gap: 1.5rem; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom-inner { flex-direction: column; }
}
