/* ============================================
   SNO BIZ CARTHAGE — Editorial Cold Theme
   Forest Green + Off-White
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-50:  #f0f7f0;
    --green-100: #d5e8d5;
    --green-200: #aed0ad;
    --green-300: #7cb87c;
    --green-400: #5a9a5a;
    --green-500: #3d7a3d;
    --green-600: #2d6130;
    --green-700: #244f27;
    --green-800: #1c3f1f;
    --green-900: #142e16;
    --green-950: #0a1a0c;

    --cream-50:  #faf9f6;
    --cream-100: #f5f3ee;
    --cream-200: #ebe8e0;
    --cream-300: #d9d4c9;

    --dark:      #0f1f12;
    --dark-text: #e8f0e8;
    --light:     #faf9f6;
    --light-text:#1a2e1c;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  28px;

    --shadow-sm:  0 1px 3px rgba(15,31,18,.08), 0 1px 2px rgba(15,31,18,.06);
    --shadow-md:  0 4px 16px rgba(15,31,18,.10), 0 2px 4px rgba(15,31,18,.06);
    --shadow-lg:  0 12px 40px rgba(15,31,18,.14), 0 4px 12px rgba(15,31,18,.08);
    --shadow-xl:  0 24px 60px rgba(15,31,18,.18), 0 8px 20px rgba(15,31,18,.10);

    --transition: .3s cubic-bezier(.4,0,.2,1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--light-text);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250,249,246,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15,31,18,.08);
    transition: box-shadow var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--green-800);
}

.nav-logo-icon {
    font-size: 1.5rem;
}

.nav-logo-text {
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    padding: 8px 16px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--green-800);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.nav-menu a:hover {
    background: var(--green-100);
    color: var(--green-900);
}

.nav-cta {
    background: var(--green-800) !important;
    color: var(--cream-50) !important;
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background: var(--green-700) !important;
    color: var(--cream-50) !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-800);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,31,18,.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cream-50);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(45,97,48,.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(90,154,90,.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(45,97,48,.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Floating stat cards */
.hero-float {
    position: absolute;
    z-index: 10;
}

.hero-float--tl { top: 15%; left: -20px; }
.hero-float--tr { top: 22%; right: -10px; }
.hero-float--bl { bottom: 20%; left: -10px; }
.hero-float--br { bottom: 12%; right: -20px; }

.float-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 16px 22px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: float 4s ease-in-out infinite;
}

.float-card--accent {
    background: var(--green-800);
    color: var(--cream-50);
}

.float-card-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--green-800);
}

.float-card--accent .float-card-number {
    color: var(--cream-50);
}

.float-card-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--green-600);
}

.float-card--accent .float-card-label {
    color: var(--green-200);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-float--tl .float-card { animation-delay: 0s; }
.hero-float--tr .float-card { animation-delay: .8s; }
.hero-float--bl .float-card { animation-delay: 1.6s; }
.hero-float--br .float-card { animation-delay: 2.4s; }

/* Hero content */
.hero-content {
    max-width: 540px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--green-600);
    background: var(--green-100);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green-500);
    border-radius: 50%;
    display: inline-block;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--green-950);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-headline-accent {
    color: var(--green-600);
    font-style: italic;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--green-700);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero image */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--green-200);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: .95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn--primary {
    background: var(--green-800);
    color: var(--cream-50);
    border-color: var(--green-800);
}

.btn--primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--ghost {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-300);
}

.btn--ghost:hover {
    background: var(--green-100);
    border-color: var(--green-500);
    transform: translateY(-2px);
}

.btn--light {
    background: white;
    color: var(--green-900);
    border-color: white;
}

.btn--light:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,.5);
}

.btn--outline-light:hover {
    background: rgba(255,255,255,.15);
    border-color: white;
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ---------- MARQUEE ---------- */
.marquee {
    background: var(--green-900);
    padding: 16px 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 32px;
    align-items: center;
    animation: marquee-scroll 24s linear infinite;
    width: max-content;
}

.marquee span {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--green-200);
    white-space: nowrap;
    letter-spacing: .02em;
}

.marquee span:last-child {
    color: var(--green-400);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- SECTION COMMON ---------- */
.section {
    padding: 100px 0;
}

.section-header {
    max-width: 640px;
    margin-bottom: 64px;
}

.section-header--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--green-600);
    margin-bottom: 16px;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--green-950);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--green-700);
}

.text-accent {
    color: var(--green-600);
    font-style: italic;
}

/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 56/68;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-content .section-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--green-800);
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.signature-line {
    flex: 0 0 48px;
    height: 2px;
    background: var(--green-400);
}

.signature-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--green-700);
}

/* ---------- PRODUCTS ---------- */
.products {
    background: var(--cream-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 28px;
}

.product-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-950);
    margin-bottom: 10px;
}

.product-card-desc {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--green-700);
}

/* ---------- WHY US ---------- */
.why-us {
    background: var(--green-900);
    color: var(--cream-50);
}

.why-us .section-eyebrow {
    color: var(--green-300);
}

.why-us .section-headline {
    color: var(--cream-50);
}

.why-us .text-accent {
    color: var(--green-300);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: background var(--transition), border-color var(--transition);
}

.feature-card:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    color: var(--green-300);
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cream-50);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--green-200);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    background: var(--green-700);
    padding: 80px 0;
}

.cta-banner-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--green-300);
    margin-bottom: 16px;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--cream-50);
    line-height: 1.15;
    margin-bottom: 36px;
    letter-spacing: -0.02em;
}

.text-accent-light {
    color: var(--green-200);
    font-style: italic;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- VISIT / CONTACT ---------- */
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
}

.contact-label {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--green-600);
    padding-top: 4px;
}

.contact-value {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--green-800);
}

.contact-value a {
    color: var(--green-700);
    text-decoration: none;
    border-bottom: 1px solid var(--green-300);
    transition: border-color var(--transition);
}

.contact-value a:hover {
    border-color: var(--green-600);
    color: var(--green-800);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.map-link img {
    width: 100%;
    aspect-ratio: 56/28;
    object-fit: cover;
}

.map-link-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,31,18,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: .95rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.map-link:hover .map-link-overlay {
    opacity: 1;
}

/* Form */
.visit-form-wrap {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-950);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--green-800);
    margin-bottom: 8px;
}

.form-optional {
    font-weight: 400;
    color: var(--green-500);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: .95rem;
    color: var(--green-950);
    background: var(--cream-50);
    border: 1.5px solid var(--green-200);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(61,122,61,.15);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 32px;
}

.success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--green-100);
    color: var(--green-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.form-success p {
    font-size: 1rem;
    color: var(--green-800);
    line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--green-950);
    color: var(--green-200);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cream-50);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--green-400);
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream-50);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: .9rem;
    color: var(--green-400);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--cream-50);
}

.footer-contact address {
    font-style: normal;
    font-size: .9rem;
    line-height: 1.7;
    color: var(--green-400);
}

.footer-contact a {
    color: var(--green-400);
    border-bottom: 1px solid rgba(165,208,173,.3);
    transition: border-color var(--transition);
}

.footer-contact a:hover {
    border-color: var(--green-300);
    color: var(--cream-50);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 28px;
    text-align: center;
}

.footer-bottom p {
    font-size: .85rem;
    color: var(--green-600);
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .hero-image {
        order: 0;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-float { display: none; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        align-items: stretch;
        padding: 96px 24px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 1000;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu a {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-overlay.open {
        display: block;
    }

    .section {
        padding: 72px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-inner {
        padding: 40px 16px;
    }

    .hero-headline {
        font-size: 2.4rem;
    }

    .visit-form-wrap {
        padding: 24px;
    }

    .feature-card {
        padding: 28px;
    }
}
