/* ===========================================================
   Grow Enterprise — design tokens
   Palette:  ink #17181A · graphite #5B6470 · steel #E7E9EC
             paper #FAFAF8 · red #DC2A1F · red-dark #A81F17
             blueprint #16202C (dark technical-drawing navy)
   Type:     Oswald (display) / Inter (body) / JetBrains Mono (data)
   =========================================================== */

:root {
    --ink: #17181A;
    --graphite: #5B6470;
    --graphite-light: #8992A0;
    --steel: #E7E9EC;
    --steel-line: #D7DBE0;
    --paper: #FAFAF8;
    --red: #DC2A1F;
    --red-dark: #A81F17;
    --blueprint: #16202C;
    --blueprint-line: rgba(255, 255, 255, 0.07);
    --blueprint-line-strong: rgba(255, 255, 255, 0.14);

    --font-display: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

    --max-width: 1180px;
    --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
}
.eyebrow::before {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--red);
    display: inline-block;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 0 0 16px;
    line-height: 1.12;
}

h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 20px; letter-spacing: 0.04em; }

p { margin: 0 0 16px; color: var(--graphite); }

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--steel { background: var(--steel); }
.section--blueprint { background: var(--blueprint); color: #fff; }
.section--blueprint p { color: rgba(255,255,255,0.68); }
.section--blueprint .eyebrow { color: #FF6B5E; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 26px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-outline-dark { border-color: var(--steel-line); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- Header ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 250, 248, 0.94);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 2px solid var(--red);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
.brand img { height: 40px; width: auto; flex-shrink: 0; }
.brand-text { font-family: var(--font-display); font-size: 21px; letter-spacing: 0.02em; white-space: nowrap; }
.brand-text b { color: var(--red); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav-mobile { display: none; }
.main-nav a {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    position: relative;
    padding: 4px 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-phone svg { width: 15px; height: 15px; stroke: var(--red); flex-shrink: 0; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    background: var(--blueprint);
    color: #fff;
    overflow: hidden;
    padding: 120px 0 96px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--blueprint-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 45%, transparent 100%);
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FF8A7E;
    border: 1px solid rgba(255, 107, 94, 0.4);
    background: rgba(220, 42, 31, 0.1);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 28px;
}
.hero-badge::before { content: '●'; font-size: 8px; color: var(--red); }

.hero h1 {
    font-size: clamp(34px, 5.4vw, 60px);
    white-space: pre-line;
    margin-bottom: 22px;
}
.hero h1 .accent { color: var(--red); }
.hero p { color: rgba(255,255,255,0.66); font-size: 17px; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-coords {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid var(--blueprint-line-strong);
    padding-top: 22px;
}
.hero-coords span b { color: rgba(255,255,255,0.75); font-weight: 500; }

/* ---------------- Partner / About ---------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.about-copy { position: relative; padding-left: 26px; border-left: 3px solid var(--red); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.stat-block { border-top: 1px solid var(--steel-line); padding-top: 14px; }
.stat-value { font-family: var(--font-display); font-size: 26px; color: var(--red); letter-spacing: 0.02em; }
.stat-label { font-family: var(--font-mono); font-size: 11.5px; color: var(--graphite); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 4px; }

.partner-panel {
    background: var(--ink);
    color: #fff;
    padding: 40px;
    border-radius: var(--radius);
    position: relative;
}
.partner-panel .eyebrow { color: #FF8A7E; }
.partner-panel h3 { color: #fff; margin-bottom: 12px; }
.partner-panel p { color: rgba(255,255,255,0.6); font-size: 14.5px; }
.partner-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 24px;
    padding-top: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---------------- Products ---------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--steel-line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { box-shadow: 0 16px 32px -20px rgba(23, 24, 26, 0.35); border-color: var(--graphite-light); }

.product-media {
    aspect-ratio: 4 / 3;
    background: var(--steel);
    position: relative;
    overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .placeholder-icon {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--graphite-light);
}
.product-media .placeholder-icon svg { width: 56px; height: 56px; stroke-width: 1.1; }
.product-tag {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 2px;
}

.product-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.product-body h3 { margin-bottom: 6px; }
.product-tagline { font-size: 13.5px; color: var(--red); font-weight: 500; margin-bottom: 10px; }
.product-desc { font-size: 14px; flex-grow: 1; }

.spec-plate {
    font-family: var(--font-mono);
    font-size: 12px;
    border-top: 1px dashed var(--steel-line);
    margin-top: 8px;
    padding-top: 12px;
}
.spec-row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--graphite); }
.spec-row b { color: var(--ink); font-weight: 500; }

.product-video-link {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.product-video-link svg { width: 13px; height: 13px; }

/* ---------------- Why us ---------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--steel-line);
    border: 1px solid var(--steel-line);
}
.why-card { background: var(--paper); padding: 32px 26px; }
.why-icon { width: 34px; height: 34px; stroke: var(--red); stroke-width: 1.4; margin-bottom: 18px; }
.why-card h3 { font-size: 16px; margin-bottom: 10px; }
.why-card p { font-size: 13.5px; margin: 0; }

/* ---------------- Contact ---------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
}
.contact-details { border-top: 1px solid var(--blueprint-line-strong); padding-top: 28px; margin-top: 28px; }
.contact-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--blueprint-line); }
.contact-row:last-child { border-bottom: none; }
.contact-row svg { width: 18px; height: 18px; stroke: var(--red); flex-shrink: 0; margin-top: 2px; }
.contact-row .label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.contact-row .value { font-size: 15px; color: #fff; }
.contact-row a.value:hover { color: var(--red); }

.contact-form {
    background: #fff;
    color: var(--ink);
    padding: 36px;
    border-radius: var(--radius);
}
.contact-form h3 { color: var(--ink); }
.form-row { margin-bottom: 18px; }
.form-row label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--graphite);
    margin-bottom: 7px;
}
.form-row input, .form-row textarea, .form-row select {
    width: 100%;
    border: 1px solid var(--steel-line);
    border-radius: var(--radius);
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 14.5px;
    background: var(--paper);
    color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
    outline: none;
    border-color: var(--red);
    background: #fff;
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 12.5px; color: var(--graphite-light); margin-top: 12px; text-align: center; }
.form-success {
    background: #F0FBF3;
    border: 1px solid #BEE8C7;
    color: #1E7A34;
    padding: 16px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 18px;
}
.form-error {
    background: #FDF1EF;
    border: 1px solid #F3C2BB;
    color: var(--red-dark);
    padding: 16px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 18px;
}

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.5); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-size: 16px; }
.footer-brand img { height: 26px; }
.footer-meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em; text-align: right; }
.footer-meta a { color: rgba(255,255,255,0.5); }
.footer-meta a:hover { color: var(--red); }

/* ---------------- Focus visibility ---------------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------- WhatsApp floating button ---------------- */
.whatsapp-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 60;
    transition: transform 0.15s ease;
}
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: #fff; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
    .section { padding: 64px 0; }

    .site-header .container { height: 64px; gap: 10px; }
    .brand img { height: 30px; }
    .brand-text { font-size: 15px; }
    .header-cta { gap: 8px; }
    .header-enquire { display: none; }

    .main-nav-desktop { display: none; }
    .main-nav-mobile {
        display: flex;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--paper);
        flex-direction: column;
        align-items: flex-start;
        padding: 88px 24px 28px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 45;
    }
    .main-nav-mobile.is-open { transform: translateX(0); }
    .main-nav-mobile a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--steel-line); font-size: 14px; }
    html.nav-open, body.nav-open { overflow: hidden; height: 100%; }
    body.nav-open .whatsapp-fab { display: none; }
    .header-phone { display: none; }
    .nav-toggle { display: flex; }
    .hero { padding: 64px 0 56px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-coords { flex-direction: column; gap: 10px; }
    .product-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: 1fr; gap: 14px; }
    .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
    .footer-meta { text-align: left; }
    .contact-form { padding: 26px; }
}
