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

:root {
    --terra-900: #3D1C0A;
    --terra-800: #5C2D0E;
    --terra-700: #7A3B12;
    --terra-600: #964B18;
    --terra-500: #B8601F;
    --terra-400: #D4844A;
    --terra-300: #E8A878;
    --terra-200: #F2C4A0;
    --terra-100: #F9E0CC;
    --terra-50:  #FDF3EC;

    --sand-900:  #2C2418;
    --sand-800:  #3D3225;
    --sand-700:  #5A4A38;
    --sand-600:  #7A6652;
    --sand-500:  #9B8570;
    --sand-400:  #B8A490;
    --sand-300:  #D4C4B4;
    --sand-200:  #E8DDD2;
    --sand-100:  #F3ECE4;
    --sand-50:   #FAF7F4;

    --blue-900:  #0F1D3D;
    --blue-800:  #162A56;
    --blue-700:  #1E3A74;
    --blue-600:  #264A8E;
    --blue-500:  #2F5AA8;
    --blue-400:  #5A82C4;
    --blue-300:  #8FAAD8;
    --blue-200:  #B8C8E8;
    --blue-100:  #DCE8F4;
    --blue-50:   #EFF6FC;

    --white:  #FFFFFF;
    --black:  #0D0D0D;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

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

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

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

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

body {
    font-family: var(--font-body);
    color: var(--sand-800);
    background: var(--sand-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; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ── Typography ───────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--blue-900);
    line-height: 1.2;
    font-weight: 700;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terra-600);
    background: var(--terra-50);
    border: 1px solid var(--terra-200);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--sand-600);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle { margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--terra-700);
    border: 2px solid var(--white);
}
.btn-white:hover {
    background: var(--sand-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

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

/* ── Navbar ───────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 247, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-200);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 247, 244, 0.97);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-900);
}

.logo-icon {
    color: var(--terra-600);
}

.logo-accent {
    color: var(--terra-600);
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sand-700);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover { color: var(--terra-600); background: var(--terra-50); }

.nav-cta {
    background: var(--terra-600);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    margin-left: 8px;
    transition: var(--transition);
}
.nav-cta:hover { background: var(--terra-700); transform: translateY(-1px); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sand-800);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--terra-800) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(184,96,31,.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(47,90,168,.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terra-300);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.text-accent { color: var(--terra-300); }

.hero-subhead {
    font-size: 1.15rem;
    color: rgba(255,255,255,.75);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.2);
}

.hero-right {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 6/7;
    position: relative;
}

.hero-right::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.15);
    pointer-events: none;
}

/* ── Services ─────────────────────────────────────── */
.services {
    padding: 100px 0;
    background: var(--sand-50);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--terra-500), var(--terra-300));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--terra-200);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border: 1px solid var(--terra-100);
    border-radius: var(--radius-sm);
    color: var(--terra-600);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--terra-600);
    color: var(--white);
    border-color: var(--terra-600);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--blue-900);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--sand-600);
    line-height: 1.7;
}

/* ── Why Us ───────────────────────────────────────── */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-text {
    font-size: 1.1rem;
    color: var(--sand-600);
    line-height: 1.8;
    margin-bottom: 36px;
}

.why-list { display: flex; flex-direction: column; gap: 16px; }

.why-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    color: var(--sand-800);
    font-weight: 500;
}

.why-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border: 1px solid var(--terra-200);
    border-radius: 50%;
    color: var(--terra-600);
}

.why-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.why-image-grid img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Inventory ────────────────────────────────────── */
.inventory {
    padding: 100px 0;
    background: var(--sand-50);
}

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

.inventory-card {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

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

.inventory-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
}

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

.inventory-info {
    padding: 24px;
}

.inventory-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--blue-900);
}

.inventory-info p {
    font-size: 0.9rem;
    color: var(--sand-600);
    line-height: 1.6;
}

/* ── CTA Section ──────────────────────────────────── */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 60%, var(--terra-800) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 80% 50%, rgba(184,96,31,.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-box {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box .section-tag { color: var(--terra-300); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

/* ── Contact ──────────────────────────────────────── */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--sand-600);
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-details { display: flex; flex-direction: column; gap: 28px; margin-bottom: 36px; }

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border: 1px solid var(--terra-100);
    border-radius: var(--radius-sm);
    color: var(--terra-600);
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sand-500);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1rem;
    color: var(--sand-800);
    line-height: 1.6;
}

.contact-item a {
    color: var(--terra-600);
    font-weight: 600;
    transition: var(--transition);
}
.contact-item a:hover { color: var(--terra-700); text-decoration: underline; }

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

/* ── Form ─────────────────────────────────────────── */
.form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--blue-900);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sand-700);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--sand-900);
    background: var(--sand-50);
    border: 1.5px solid var(--sand-300);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terra-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(184,96,31,.12);
}

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

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

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border: 2px solid var(--terra-200);
    border-radius: 50%;
    color: var(--terra-600);
}

.form-success h4 {
    font-size: 1.4rem;
    color: var(--blue-900);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--sand-600);
}

/* ── Footer ───────────────────────────────────────── */
.footer {
    background: var(--blue-900);
    color: rgba(255,255,255,.7);
    padding: 64px 0 0;
}

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

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-brand .logo { color: var(--white); }

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,.6);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--terra-300); }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-contact a {
    color: rgba(255,255,255,.6);
    transition: var(--transition);
}
.footer-contact a:hover { color: var(--terra-300); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,.4);
}

/* ── Reveal Animations ────────────────────────────── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s cubic-bezier(.4, 0, .2, 1), transform 0.6s cubic-bezier(.4, 0, .2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-subhead { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-right { max-width: 500px; margin: 0 auto; aspect-ratio: 4/3; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-container { grid-template-columns: 1fr; gap: 48px; }
    .inventory-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-container { grid-template-columns: 1fr; gap: 48px; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250,247,244,.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--sand-200);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-link { padding: 12px 16px; width: 100%; text-align: center; }
    .nav-cta { margin-left: 0; text-align: center; }
    .mobile-toggle { display: flex; }

    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-headline { font-size: clamp(1.75rem, 7vw, 2.5rem); }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; }

    .services-grid { grid-template-columns: 1fr; }
    .inventory-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn-lg { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
