/* =========================================================================
   Rural Ready — style.css
   Brand: #1B4332 forest green · #D4A017 amber gold · #f4f1eb warm off-white
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------ */
:root {
    --green-900: #0f2e22;
    --green-700: #1B4332;      /* primary forest green */
    --green-500: #2d6a4f;      /* document-header green */
    --gold-500:  #D4A017;      /* amber gold */
    --gold-600:  #b88a13;
    --navy-700:  #1f3a5f;      /* pack 2 navy */
    --cream:     #f4f1eb;      /* warm off-white */
    --cream-dk:  #ebe6db;
    --ink:       #1a1a1a;
    --ink-soft:  #3d3d3d;
    --muted:     #6b6b6b;
    --white:     #ffffff;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 2px 6px rgba(15, 46, 34, 0.08);
    --shadow-md: 0 10px 28px rgba(15, 46, 34, 0.14);
    --shadow-lg: 0 24px 60px rgba(15, 46, 34, 0.22);

    --container: 1140px;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Source Sans 3', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
}

/* ---- Reset-ish --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); color: var(--green-700); margin: 0 0 0.6em; line-height: 1.15; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--green-700); color: #fff;
    padding: 10px 16px; border-radius: 0 0 6px 6px; z-index: 1000;
}
.skip-link:focus { left: 16px; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-600);
    margin: 0 0 10px;
}

.section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    margin-bottom: 0.4em;
}
.section-title--light { color: var(--cream); }
.section-lead {
    max-width: 640px;
    margin: 0 0 2.2rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn:hover, .btn:focus-visible { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-900); color: #fff; }
.btn--ghost { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn--ghost:hover { background: var(--green-700); color: #fff; }
.btn--gold { background: var(--gold-500); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-600); color: #fff; }
.btn--block { display: block; width: 100%; text-align: center; }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 241, 235, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-700); }
.brand:hover { text-decoration: none; }
.brand__mark { width: 44px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--green-700);
}
.brand__name-accent { color: var(--gold-600); }
.brand__sub { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.nav__list {
    list-style: none;
    display: flex;
    gap: 26px;
    margin: 0; padding: 0;
    align-items: center;
}
.nav__list a {
    color: var(--green-700);
    font-weight: 600;
    font-size: 0.96rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.nav__list a:hover { text-decoration: none; border-bottom-color: var(--gold-500); }
.nav__cta a {
    background: var(--gold-500);
    color: var(--green-900);
    padding: 10px 18px;
    border-radius: 999px;
    border-bottom: none;
}
.nav__cta a:hover { background: var(--green-700); color: #fff; border-bottom: none; }

.nav__toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--green-700);
    border-radius: 8px;
    width: 44px; height: 44px;
    cursor: pointer;
    position: relative;
}
.nav__burger, .nav__burger::before, .nav__burger::after {
    content: ""; display: block;
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 22px; height: 2px;
    background: var(--green-700);
    transition: transform 0.2s ease, top 0.2s ease;
}
.nav__burger { top: 50%; margin-top: -1px; }
.nav__burger::before { top: -7px; }
.nav__burger::after { top: 7px; }

/* =========================================================================
   HERO — matches the uploaded mockup composition
   ========================================================================= */
.hero {
    background: var(--cream);
    padding: 56px 20px 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    /* Soft warm gradient so it doesn't look like a flat colour block */
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 15%, rgba(255,255,255,0.7), transparent 60%),
                radial-gradient(ellipse at 50% 100%, rgba(212, 160, 23, 0.08), transparent 55%);
    pointer-events: none;
}
.hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}
.hero__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.6rem, 6.5vw, 5.6rem);
    line-height: 1.02;
    color: var(--green-700);
    margin: 12px 0 14px;
    letter-spacing: -0.01em;
}
.hero__tagline {
    font-size: clamp(1.1rem, 2.2vw, 1.55rem);
    color: var(--green-700);
    margin: 0 0 48px;
    font-weight: 400;
}
.hero__tagline strong { font-weight: 700; }

/* -- Fanned document composition --------------------------------------- */
.hero__composition {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: clamp(340px, 44vw, 500px);
}
.doc {
    position: absolute;
    top: 0;
    margin: 0;
    width: 34%;
    max-width: 320px;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-md);
    transform-origin: bottom center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.doc img { width: 100%; height: auto; display: block; }

/* Positions mimic the fanned layout in the mockup */
.doc--contacts { left: 6%;  transform: rotate(-9deg)  translateY(22px); z-index: 1; opacity: 0.82; }
.doc--household{ left: 22%; transform: rotate(-3deg)  translateY(8px);  z-index: 2; }
.doc--grabbag  { left: 40%; transform: rotate(2deg)   translateY(-4px); z-index: 3; }
.doc--powercut { left: 58%; transform: rotate(7deg)   translateY(18px); z-index: 2; }

.doc:hover { transform: rotate(0deg) translateY(-6px); z-index: 10; box-shadow: var(--shadow-lg); }

/* Central shield sits in front of the fanned docs */
.hero__shield {
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    z-index: 5;
    filter: drop-shadow(0 14px 24px rgba(15, 46, 34, 0.25));
}
.hero__shield img {
    width: clamp(130px, 14vw, 180px);
    height: auto;
}

/* Gold rule beneath the composition */
.hero__rule {
    max-width: 800px;
    height: 2px;
    margin: 80px auto 28px;
    background: linear-gradient(to right, transparent, var(--gold-500) 15%, var(--gold-500) 85%, transparent);
    opacity: 0.85;
}

.hero__wordmark {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    color: var(--green-700);
    margin: 0 0 30px;
    letter-spacing: -0.01em;
}
.hero__wordmark span { color: var(--gold-600); }

.hero__cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* =========================================================================
   Why Rural Ready
   ========================================================================= */
.why { padding: 96px 0 80px; background: var(--white); }
.why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 36px;
}
.why__item {
    background: var(--cream);
    padding: 28px 26px;
    border-radius: var(--radius-md);
    border-top: 4px solid var(--gold-500);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why__item h3 { font-size: 1.25rem; margin-bottom: 0.5em; color: var(--green-700); }
.why__item p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.why__icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: var(--green-700);
    color: var(--gold-500);
    border-radius: 14px;
    margin-bottom: 18px;
}
.why__icon svg { width: 28px; height: 28px; }

/* =========================================================================
   Packs
   ========================================================================= */
.packs {
    padding: 96px 0 90px;
    background: var(--cream);
    position: relative;
}
.packs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 26px;
    margin-top: 40px;
}
.pack {
    background: var(--white);
    padding: 30px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(27, 67, 50, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pack:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pack--one   { border-top: 6px solid var(--green-700); }
.pack--two   { border-top: 6px solid var(--navy-700); }
.pack--three { border-top: 6px solid var(--gold-500); }

.pack__badge {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--green-700);
    margin-bottom: 16px;
    align-self: flex-start;
}
.pack--two .pack__badge { color: var(--navy-700); }
.pack--three .pack__badge { color: var(--gold-600); }

.pack h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    line-height: 1.2;
}
.pack__price {
    font-size: 0.98rem;
    color: var(--muted);
    margin-bottom: 18px;
}
.pack__price-now {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--green-700);
    margin-right: 6px;
}
.pack__list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    flex: 1;
}
.pack__list li {
    padding: 8px 0 8px 26px;
    position: relative;
    border-bottom: 1px dotted rgba(27, 67, 50, 0.12);
    font-size: 0.96rem;
}
.pack__list li:last-child { border-bottom: none; }
.pack__list li::before {
    content: "";
    position: absolute;
    left: 2px; top: 14px;
    width: 12px; height: 6px;
    border-left: 2px solid var(--gold-500);
    border-bottom: 2px solid var(--gold-500);
    transform: rotate(-45deg);
}
.packs__bundle {
    text-align: center;
    background: var(--green-700);
    color: var(--cream);
    padding: 18px 24px;
    margin: 40px auto 0;
    max-width: 640px;
    border-radius: 999px;
    font-size: 1.02rem;
}
.packs__bundle strong { color: var(--gold-500); }

/* =========================================================================
   About
   ========================================================================= */
.about { padding: 96px 0; background: var(--white); }
.about__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    align-items: center;
}
.about__text p { color: var(--ink-soft); font-size: 1.03rem; }
.about__card {
    background: var(--cream);
    padding: 34px 28px;
    text-align: center;
    border-radius: var(--radius-md);
    border: 1px solid rgba(27, 67, 50, 0.1);
    box-shadow: var(--shadow-sm);
}
.about__card img { margin: 0 auto 16px; }
.about__card-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--green-700);
    margin: 0 0 4px;
}
.about__card-title span { color: var(--gold-600); }
.about__card-sub {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 16px;
}
.about__card-meta {
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.5;
}

/* =========================================================================
   Contact CTA
   ========================================================================= */
.contact {
    background: var(--green-700);
    color: var(--cream);
    padding: 90px 0;
    text-align: center;
}
.contact__inner { max-width: 640px; margin: 0 auto; }
.contact p { color: rgba(244, 241, 235, 0.85); font-size: 1.05rem; }
.contact__email {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 20px 0 30px;
}
.contact__email a { color: var(--gold-500); }
.contact__email a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
    background: var(--green-900);
    color: rgba(244, 241, 235, 0.8);
    padding: 48px 0 36px;
    font-size: 0.92rem;
}
.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--cream);
}
.site-footer__brand img { width: 36px; }
.site-footer__brand .brand__name-accent { color: var(--gold-500); }
.site-footer__links {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0; padding: 0;
    justify-content: center;
}
.site-footer__links a { color: rgba(244, 241, 235, 0.85); }
.site-footer__links a:hover { color: var(--gold-500); text-decoration: none; }
.site-footer__copy { margin: 0; text-align: right; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 860px) {
    .nav__toggle { display: block; }
    .nav__list {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--cream);
        border-bottom: 1px solid rgba(27, 67, 50, 0.1);
        padding: 10px 24px 20px;
        box-shadow: var(--shadow-md);
        display: none;
    }
    .nav__list.is-open { display: flex; }
    .nav__list a { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(27, 67, 50, 0.08); }
    .nav__cta a { margin-top: 10px; text-align: center; }

    .about__inner { grid-template-columns: 1fr; gap: 36px; }
    .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
    .site-footer__copy { text-align: center; }
    .site-footer__links { justify-content: center; flex-wrap: wrap; }
    .site-footer__brand { justify-content: center; }
}

@media (max-width: 640px) {
    .hero { padding: 32px 16px 60px; }
    .hero__composition { height: clamp(260px, 70vw, 360px); max-width: 520px; }
    .doc { width: 42%; }
    .doc--contacts { left: -2%; }
    .doc--household{ left: 14%; }
    .doc--grabbag  { left: 44%; }
    .doc--powercut { left: 60%; }
    .hero__shield { bottom: -28px; }
    .hero__rule { margin-top: 60px; }

    .why, .packs, .about, .contact { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
}
