/* ── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --cream:       #faf8f4;
    --cream-dark:  #f3efe8;
    --sand:        #e8e0d4;
    --text-primary:#1a1a1a;
    --text-secondary:#4a4a4a;
    --text-muted:  #7a7a7a;
    --white:       #ffffff;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:   0 4px 16px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
    --shadow-lg:   0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
    --radius-sm:   .625rem;
    --radius-md:   1rem;
    --radius-lg:   1.5rem;
    --radius-xl:   2rem;
    --font-display:'DM Serif Display', Georgia, serif;
    --font-body:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition:  .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: var(--emerald-700); color: var(--white);
    padding: .5rem 1rem; border-radius: var(--radius-sm);
    z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ── Container ──────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Typography ─────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

/* ── Buttons ────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-body); font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--emerald-600); color: var(--white);
    box-shadow: 0 2px 8px rgba(5,150,105,.3);
}
.btn-primary:hover {
    background: var(--emerald-700);
    box-shadow: 0 4px 16px rgba(5,150,105,.4);
    transform: translateY(-1px);
}
.btn-secondary {
    background: var(--white); color: var(--emerald-700);
    border: 2px solid var(--emerald-200);
}
.btn-secondary:hover {
    border-color: var(--emerald-400);
    background: var(--emerald-50);
    transform: translateY(-1px);
}
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-lg { padding: .875rem 1.75rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Section Labels ─────────────────────────────── */
.section-label {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8125rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--emerald-600); margin-bottom: .75rem;
}
.section-label::before {
    content: '';
    width: 1.5rem; height: 2px;
    background: var(--emerald-400);
    border-radius: 999px;
}
.section-header { margin-bottom: 3.5rem; }
.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem; max-width: 560px; margin: .75rem auto 0;
}
.text-center { text-align: center; }

/* ── Section Spacing ────────────────────────────── */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--cream-dark); }

/* ── Header ─────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250,248,244,.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}
.logo {
    display: flex; align-items: center; gap: .625rem;
}
.logo-mark {
    width: 2.75rem; height: 2.75rem;
    background: var(--emerald-600);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.375rem; font-weight: 700;
    box-shadow: 0 2px 8px rgba(5,150,105,.3);
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--emerald-800);
}
.main-nav {
    display: flex; align-items: center; gap: 2rem;
}
.main-nav a:not(.btn) {
    font-size: .9375rem; font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}
.main-nav a:not(.btn):hover { color: var(--emerald-600); }

/* ── Mobile Nav Toggle ──────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    width: 2rem; padding: .25rem 0;
}
.nav-toggle-line {
    width: 100%; height: 2px;
    background: var(--text-primary);
    border-radius: 999px;
    transition: var(--transition);
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ───────────────────────────────────────── */
.hero {
    position: relative;
    padding: 4rem 0 5rem;
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(16,185,129,.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(5,150,105,.06) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(4,120,87,.05) 0%, transparent 50%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: .625rem;
    font-size: .875rem; font-weight: 600;
    color: var(--emerald-700);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    padding: .375rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.eyebrow-dot {
    width: .5rem; height: .5rem;
    background: var(--emerald-500);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.3); }
}
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}
.hero-actions {
    display: flex; flex-wrap: wrap; gap: 1rem;
}

/* ── Stat Cards ─────────────────────────────────── */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    grid-template-areas:
        "teal   cream"
        "green  cream"
        "wide   wide";
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex; align-items: center; gap: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,.04);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: float-in .6s ease both;
    animation-delay: var(--delay);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
@keyframes float-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.stat-card--teal   { grid-area: teal;   background: var(--emerald-600); color: var(--white); }
.stat-card--cream  { grid-area: cream;  background: var(--cream-dark); }
.stat-card--green  { grid-area: green;  background: var(--emerald-700); color: var(--white); }
.stat-card--wide   { grid-area: wide; }
.stat-card-icon {
    width: 3rem; height: 3rem;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    background: rgba(255,255,255,.15);
    color: inherit;
}
.stat-card--cream .stat-card-icon {
    background: var(--emerald-100);
    color: var(--emerald-700);
}
.stat-number {
    font-family: var(--font-display);
    font-size: 1.125rem;
    line-height: 1.3;
}
.stat-label {
    font-size: .8125rem;
    opacity: .75;
    margin-top: .125rem;
}

/* ── About ──────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image-stack {
    position: relative;
}
.about-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img--main {
    width: 100%;
    aspect-ratio: 520/640;
}
.about-img--secondary {
    position: absolute;
    bottom: -2rem;
    right: -1.5rem;
    width: 55%;
    aspect-ratio: 1;
    border: 6px solid var(--cream);
    box-shadow: var(--shadow-md);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
    position: absolute;
    top: -1rem; right: 2rem;
    background: var(--emerald-600);
    color: var(--white);
    padding: .75rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: .875rem; font-weight: 600;
    display: flex; align-items: center; gap: .5rem;
    box-shadow: var(--shadow-md);
}
.about-content h2 { margin-bottom: 1.25rem; }
.about-content > p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.about-features {
    margin-top: 2rem;
    display: flex; flex-direction: column;
    gap: .875rem;
}
.about-feature {
    display: flex; align-items: center; gap: .875rem;
    font-weight: 500;
}
.about-feature-icon {
    width: 2rem; height: 2rem;
    background: var(--emerald-100);
    color: var(--emerald-700);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ── Products ───────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,.04);
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.product-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.product-card:hover .product-card-img img {
    transform: scale(1.05);
}
.product-card-body {
    padding: 1.5rem;
}
.product-card-body h3 {
    margin-bottom: .5rem;
    color: var(--emerald-800);
}
.product-card-body p {
    color: var(--text-secondary);
    font-size: .9375rem;
    line-height: 1.65;
}

/* ── Location ───────────────────────────────────── */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.location-content h2 { margin-bottom: 1rem; }
.location-desc {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.location-details {
    display: flex; flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.location-details li {
    display: flex; align-items: flex-start; gap: 1rem;
    font-size: 1rem;
}
.location-detail-icon {
    width: 2.25rem; height: 2.25rem;
    background: var(--emerald-100);
    color: var(--emerald-700);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: .125rem;
}
.location-details a {
    color: var(--emerald-700);
    font-weight: 500;
    transition: color var(--transition);
}
.location-details a:hover { color: var(--emerald-500); }
.location-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    min-height: 320px;
}

/* ── Contact ────────────────────────────────────── */
.contact-card {
    background: var(--emerald-800);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.contact-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}
.contact-info {
    padding: 3.5rem;
    display: flex; flex-direction: column;
}
.contact-info .section-label { color: var(--emerald-300); }
.contact-info h2 {
    color: var(--white);
    margin-bottom: 1rem;
}
.contact-info > p {
    color: rgba(255,255,255,.7);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.contact-methods {
    display: flex; flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}
.contact-method {
    display: flex; align-items: center; gap: .875rem;
    color: rgba(255,255,255,.85);
    font-size: .9375rem;
    transition: color var(--transition);
}
.contact-method:hover { color: var(--white); }
.contact-method-icon {
    width: 2.25rem; height: 2.25rem;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--emerald-300);
    flex-shrink: 0;
}

/* ── Form ───────────────────────────────────────── */
.contact-form-wrap {
    background: var(--white);
    padding: 3.5rem;
    display: flex; flex-direction: column;
    justify-content: center;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    display: flex; flex-direction: column;
    gap: .375rem;
    margin-bottom: 1rem;
}
.form-group label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: .9375rem;
    padding: .75rem 1rem;
    border: 2px solid var(--sand);
    border-radius: var(--radius-sm);
    background: var(--cream);
    color: var(--text-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-400);
    box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group textarea { resize: vertical; }

/* ── Form Success ───────────────────────────────── */
.form-success {
    text-align: center;
    padding: 2rem 1rem;
    animation: fade-in .4s ease;
}
.form-success-icon {
    width: 4rem; height: 4rem;
    background: var(--emerald-100);
    color: var(--emerald-600);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
}
.form-success h3 {
    font-size: 1.5rem;
    color: var(--emerald-800);
    margin-bottom: .5rem;
}
.form-success p {
    color: var(--text-secondary);
    font-size: .9375rem;
}
@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
    background: var(--emerald-900);
    color: rgba(255,255,255,.7);
    padding: 3.5rem 0 2rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-mark {
    background: var(--emerald-500);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
    margin-top: .875rem;
    font-size: .9375rem;
    line-height: 1.65;
}
.footer-links {
    display: flex; flex-direction: column;
    gap: .625rem;
}
.footer-links a {
    font-size: .9375rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--emerald-300); }
.footer-contact {
    display: flex; flex-direction: column;
    gap: .625rem;
}
.footer-contact a {
    font-size: .9375rem;
    transition: color var(--transition);
}
.footer-contact a:hover { color: var(--emerald-300); }
.footer-bottom {
    padding-top: 1.75rem;
    text-align: center;
    font-size: .8125rem;
    opacity: .6;
}

/* ── Scroll Animations ──────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-cards { max-width: 480px; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-image-stack { max-width: 480px; }
    .location-grid { grid-template-columns: 1fr; }
    .location-map { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 4.5rem; left: 0; right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--sand);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform .4s ease, opacity .3s ease;
        pointer-events: none;
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .main-nav a:not(.btn) { font-size: 1.1rem; }
    .hero { padding: 3rem 0 4rem; }
    .hero-cards { grid-template-columns: 1fr; grid-template-areas:
        "teal" "cream" "green" "wide"; }
    .stat-card--wide { grid-area: wide; }
    .products-grid { grid-template-columns: 1fr; }
    .contact-card-inner { grid-template-columns: 1fr; }
    .contact-info, .contact-form-wrap { padding: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .about-img--secondary { right: 0; bottom: -1.5rem; }
    .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.125rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .stat-card { padding: 1.125rem; }
    .about-badge { right: 0; top: - .75rem; }
}
