/* =========================================================
   SUNNY NEST — v3 Warm Serif Craft
   Sections: Variables / Reset / Base / Header / Hero /
   Intro Band / Products / Banner / Features / About /
   Testimonials / CTA / Contact / FAQ / Privacy / Footer /
   Animations / Responsive
   ========================================================= */

/* ===== Variables ===== */
:root {
    --primary: #2D5A3A;        /* deep garden green */
    --primary-light: #3A6B48;  /* hover */
    --cream: #F4F7EF;          /* cream background */
    --warm: #EDE8E0;           /* warm grey section */
    --text-heading: #2B2B2B;
    --text-body: #7A7A7A;
    --text-light: #A0A0A0;
    --border: #E4E0DA;
    --dark: #2B2B2B;           /* footer */

    --header-h: 80px;
    --container: 1240px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: var(--text-body);
    background: #fff;
    line-height: 1.8;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-heading);
    font-weight: 500;
    line-height: 1.18;
}

/* ===== Base / Utility ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 36px; }

.overline {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.74rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 18px;
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
h3 { font-size: 2.2rem; }

.accent-line-dark { display: block; width: 56px; height: 2px; background: var(--primary); margin: 22px auto; }

.features-head { text-align: center; max-width: 620px; margin: 0 auto 64px; }

.link-arrow { display: inline-block; margin-top: 22px; font-size: 0.82rem; font-weight: 600; color: var(--primary); border-bottom: 1px solid var(--primary); padding-bottom: 3px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.link-arrow:hover { color: var(--primary-light); border-color: var(--primary-light); }

/* Buttons (flat, no gradient, radius <= 4px) */
.btn {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.76rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.8px;
    padding: 16px 34px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: all .35s var(--ease);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-4px); box-shadow: 0 14px 30px -12px rgba(45,90,58,0.55); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: #fff; color: var(--text-heading); transform: translateY(-4px); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: transparent;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--border);
}
/* Dark (solid light) header for inner pages */
.site-header.header-dark {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem; font-weight: 500;
    color: #fff; letter-spacing: 0.5px;
    transition: color .4s var(--ease);
}
.logo span { color: rgba(255,255,255,0.7); font-style: italic; }
.site-header.scrolled .logo,
.site-header.header-dark .logo { color: var(--text-heading); }
.site-header.scrolled .logo span,
.site-header.header-dark .logo span { color: var(--primary); }
.logo--light { color: #fff; }
.logo--light span { color: rgba(255,255,255,0.7); }

.main-nav { display: flex; gap: 44px; }
.main-nav a {
    font-size: 0.82rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 1.8px;
    color: rgba(255,255,255,0.92);
    position: relative; padding: 4px 0;
    transition: color .3s var(--ease);
}
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; background: var(--primary); transition: width .3s var(--ease); }
.main-nav a:hover::after { width: 100%; }
.site-header.scrolled .main-nav a,
.site-header.header-dark .main-nav a { color: var(--text-heading); }
.site-header.scrolled .main-nav a:hover,
.site-header.header-dark .main-nav a:hover { color: var(--primary); }

.nav-toggle { display: none; flex-direction: column; gap: 6px; padding: 8px; z-index: 1001; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: all .35s var(--ease); }
.site-header.scrolled .nav-toggle span,
.site-header.header-dark .nav-toggle span { background: var(--text-heading); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; height: 100vh; min-height: 620px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1466692476868-aef1dfb1e735?auto=format&fit=crop&w=1900&q=80') center/cover no-repeat;
    animation: heroZoom 24s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-overlay { position: absolute; inset: 0; background: rgba(35,40,30,0.5); }
.hero-content { position: relative; z-index: 2; max-width: 820px; padding: 0 24px; }
.hero-content .overline { color: rgba(255,255,255,0.8); }
.hero-content h1 { color: #fff; }
.hero-line { display: block; width: 60px; height: 2px; background: #fff; margin: 26px auto; }
.hero-desc { max-width: 560px; margin: 0 auto; color: rgba(255,255,255,0.88); font-size: 1.06rem; }
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

/* ===== Intro Band ===== */
.intro-band { background: var(--cream); padding: 110px 0; }
.intro-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.intro-inner p { font-size: 1.05rem; }
.intro-inner .overline { color: var(--primary); }

/* ===== Products (alternating rows) ===== */
.products { padding: 110px 0; background: #fff; }
.product-row {
    display: grid; grid-template-columns: 1.15fr 1fr;
    align-items: center; gap: 60px;
    margin-bottom: 100px;
}
.product-row:last-child { margin-bottom: 0; }
.product-row.reverse { grid-template-columns: 1fr 1.15fr; }
.product-row.reverse .product-row__media { order: 2; }
.product-row__media {
    height: 480px; position: relative; overflow: hidden;
    background: url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=1100&q=80') center/cover no-repeat;
    transition: transform .6s var(--ease);
}
.product-row__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.28)); }
.product-row__media--2 { background-image: url('https://images.unsplash.com/photo-1485955900006-10f4d324d411?auto=format&fit=crop&w=1100&q=80'); }
.product-row__media--3 { background-image: url('https://hips.hearstapps.com/hmg-prod/images/close-up-image-of-rosemary-growing-in-a-garden-royalty-free-image-1663776933.jpg'); }
.product-row__media--4 { background-image: url('https://images.unsplash.com/photo-1558603668-6570496b66f8?auto=format&fit=crop&w=1100&q=80'); }
.product-row:hover .product-row__media { transform: scale(1.02); }
.badge {
    position: absolute; top: 22px; left: 22px; z-index: 2;
    background: var(--primary); color: #fff;
    font-size: 0.66rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.6px;
    padding: 8px 15px; border-radius: 2px;
}
.product-row__body { padding: 20px 0; }
.product-row.reverse .product-row__body { text-align: right; }
.cat { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.8px; color: var(--primary); margin-bottom: 12px; }
.product-row__body h3 { margin-bottom: 16px; }
.product-row__body p { font-size: 1rem; }
.price { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--primary); margin-top: 20px; }

/* ===== Full-width Banner ===== */
.banner {
    height: 440px; position: relative; overflow: hidden;
    background: url('https://images.unsplash.com/photo-1463936575829-25148e1db1b8?auto=format&fit=crop&w=1900&q=80') center/cover fixed no-repeat;
}
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(20,30,20,0.72) 0%, rgba(20,30,20,0.4) 100%); display: flex; align-items: center; }
.banner-content { max-width: 520px; padding: 0 36px; margin-left: 8%; }
.banner-content .overline { color: rgba(255,255,255,0.8); }
.banner-content h2 { color: #fff; }
.banner-content p { color: rgba(255,255,255,0.88); margin: 16px 0 30px; font-size: 1.04rem; }

/* ===== Features ===== */
.features { padding: 110px 0; background: var(--cream); }
.features-row { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin: 0 auto; }
.feat-item { padding: 0 40px; position: relative; }
.feat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.feat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--primary); display: block; margin-bottom: 16px; }
.feat-item h3 { font-size: 1.5rem; margin-bottom: 12px; }
.feat-item p { font-size: 0.96rem; }

/* ===== Page Hero (light) for inner pages ===== */
.hero-light { background: var(--warm); padding: calc(var(--header-h) + 90px) 0 80px; text-align: center; }
.hero-light .overline { color: var(--primary); }
.hero-light__sub { max-width: 600px; margin: 24px auto 0; font-size: 1.05rem; }

/* ===== About — Origin ===== */
.origin { padding: 110px 0; background: #fff; }
.origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.origin-media {
    height: 520px;
    background: url('https://images.unsplash.com/photo-1517191297489-48c463380e8f?auto=format&fit=crop&w=1100&q=80') center/cover no-repeat;
}
.origin-body .overline { color: var(--primary); }
.origin-body h2 { margin-bottom: 8px; }
.origin-body p { margin-top: 16px; }

/* ===== Values (reuses features styles) ===== */
.values { padding: 110px 0; background: var(--cream); }

/* ===== Testimonials ===== */
.testimonials { padding: 110px 0; background: #fff; }
.testimonial-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial-card { padding: 12px 28px; border-left: 2px solid var(--border); transition: border-color .35s var(--ease); }
.testimonial-card:hover { border-left-color: var(--primary); }
.stars { color: var(--primary); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 18px; }
.testimonial-card blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; line-height: 1.5; color: var(--text-heading); margin-bottom: 22px; font-style: italic; }
.testimonial-card figcaption { font-size: 0.88rem; font-weight: 600; color: var(--primary); }
.testimonial-card figcaption span { color: var(--text-light); font-weight: 400; }

/* ===== CTA Strip ===== */
.cta-strip { background: var(--primary); color: #fff; padding: 90px 0; text-align: center; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,0.85); margin: 14px 0 32px; }

/* ===== Contact ===== */
.contact-layout { padding: 100px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.contact-form-wrap h2 { margin-bottom: 12px; }
.form-intro { margin-bottom: 34px; font-size: 0.98rem; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { margin-bottom: 22px; display: flex; flex-direction: column; }
.form-field label { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.6px; color: var(--text-heading); margin-bottom: 10px; }
.form-field input, .form-field select, .form-field textarea {
    font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
    padding: 16px; background: var(--cream);
    border: 1px solid var(--border); border-radius: 2px;
    color: var(--text-heading);
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
    width: 100%;
}
.form-field textarea { resize: vertical; min-height: 180px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,90,58,0.12); background: #fff;
}
.form-note { margin-top: 20px; padding: 16px; background: var(--cream); color: var(--primary); font-weight: 600; border-left: 3px solid var(--primary); }

.contact-info { background: var(--warm); padding: 42px 34px; }
.info-block { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.info-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-block h4 { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.8px; color: var(--primary); margin-bottom: 12px; }
.info-block p { font-size: 0.94rem; margin-bottom: 4px; }
.info-block a:hover { color: var(--primary); }
.info-muted { color: var(--text-light); font-size: 0.84rem; }

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: var(--cream); }
.faq-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.faq-card { background: #fff; border: 1px solid var(--border); padding: 34px 32px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.faq-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px -22px rgba(0,0,0,0.18); }
.faq-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.faq-card p { font-size: 0.95rem; }

/* ===== Privacy ===== */
.privacy { padding: 80px 0 120px; background: #fff; }
.privacy-container { max-width: 860px; }
.updated-tag {
    display: inline-block;
    font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--primary); background: var(--cream);
    border-left: 3px solid var(--primary);
    padding: 10px 16px; margin-bottom: 48px;
}
.privacy-block { margin-bottom: 52px; }
.privacy-block h2 { font-size: 1.7rem; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.privacy-block p { margin-bottom: 16px; }
.privacy-block a { color: var(--primary); border-bottom: 1px solid var(--primary); }
.privacy-list { margin: 14px 0 18px; }
.privacy-list li { position: relative; padding-left: 22px; margin-bottom: 12px; }
.privacy-list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.privacy-list strong { color: var(--text-heading); }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding: 90px 0 60px; }
.footer-brand p { margin-top: 18px; font-size: 0.92rem; max-width: 320px; line-height: 1.8; }
.footer-col h5 { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.8px; color: #fff; margin-bottom: 22px; }
.footer-col a, .footer-col p { display: block; font-size: 0.92rem; margin-bottom: 12px; color: rgba(255,255,255,0.7); transition: color .3s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 26px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ===== Animations ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.fade-up.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; transition: none; }
    .hero-bg { animation: none; }
    html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .product-row, .product-row.reverse { grid-template-columns: 1fr; gap: 32px; }
    .product-row.reverse .product-row__media { order: 0; }
    .product-row.reverse .product-row__body { text-align: left; }
    .product-row__media { height: 400px; }
    .origin-grid { grid-template-columns: 1fr; gap: 36px; }
    .origin-media { height: 400px; }
    .features-row, .testimonial-row, .faq-row { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .banner { background-attachment: scroll; }
}

@media (max-width: 768px) {
    .container { padding: 0 22px; }
    .main-nav {
        position: fixed; top: 0; right: 0;
        width: 78%; max-width: 320px; height: 100vh;
        background: var(--dark);
        flex-direction: column; justify-content: center; align-items: flex-start;
        gap: 0; padding: 0 40px;
        transform: translateX(100%);
        transition: transform .4s var(--ease);
        z-index: 999;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { color: #fff !important; font-size: 1rem; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
    .main-nav a::after { display: none; }
    .nav-toggle { display: flex; }

    .features-row, .testimonial-row, .faq-row { grid-template-columns: 1fr; gap: 36px; }
    .feat-item { padding: 0; }
    .feat-item:not(:last-child)::after { display: none; }
    .feat-item:not(:last-child) { border-bottom: 1px solid var(--border); padding-bottom: 32px; }
    .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .intro-band, .products, .features, .origin, .values, .testimonials, .contact-layout, .faq { padding: 70px 0; }
    .banner-content { margin-left: 22px; max-width: 90%; }
    .hero-light { padding-top: calc(var(--header-h) + 60px); padding-bottom: 60px; }
    .product-row { margin-bottom: 70px; }
}
