/* ===================================
   CSS Custom Properties
   =================================== */
:root {
    --color-midnight: #0A1628;
    --color-midnight-light: #0D1F3C;
    --color-mint: #34D399;
    --color-mint-dark: #059669;
    --color-mint-light: #D1FAE5;
    --color-navy: #1A3A5C;
    --color-navy-light: #2D5A87;
    --color-slate: #6B8FA3;
    --color-slate-light: #94B8CC;
    --color-off-white: #F0F4F8;
    --color-white: #FFFFFF;
    --color-cream: #F8FAFB;
    --color-border: rgba(255,255,255,0.1);
    --color-border-dark: rgba(0,0,0,0.08);
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(10,22,40,0.08);
    --shadow-md: 0 4px 20px rgba(10,22,40,0.1);
    --shadow-lg: 0 8px 40px rgba(10,22,40,0.12);
    --shadow-xl: 0 16px 60px rgba(10,22,40,0.15);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-midnight);
    background: var(--color-white);
    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; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
address { font-style: normal; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--color-midnight);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}
.skip-link:focus { top: 16px; }

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

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-mint-dark);
    margin-bottom: 12px;
}

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

.section-desc {
    font-size: 1.05rem;
    color: var(--color-slate);
    line-height: 1.7;
    max-width: 560px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-desc { margin: 0 auto; }

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

.btn-mint {
    background: var(--color-mint);
    color: var(--color-midnight);
}
.btn-mint:hover { background: var(--color-mint-dark); color: var(--color-white); transform: translateY(-1px); }

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--color-white); }

.btn-outline-dark {
    background: transparent;
    color: var(--color-midnight);
    border: 1.5px solid var(--color-border-dark);
}
.btn-outline-dark:hover { border-color: var(--color-mint); color: var(--color-mint-dark); }

.btn-sm { padding: 8px 18px; font-size: 0.8125rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ===================================
   Header
   =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}
.site-header.scrolled { background: rgba(10, 22, 40, 0.98); box-shadow: var(--shadow-lg); }

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

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

.logo-text { display: none; }
@media (min-width: 640px) { .logo-text { display: block; } }

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 110;
}
.nav-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.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: rotate(-45deg) translate(5px, -5px); }

.nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--color-midnight);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.3);
    z-index: 100;
    overflow-y: auto;
}
.nav-list.open { transform: translateX(0); }

.nav-list a {
    display: block;
    padding: 12px 16px;
    color: var(--color-slate-light);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-list a:hover { color: var(--color-white); background: rgba(255,255,255,0.06); }
.nav-list li:last-child { margin-top: 16px; }

@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .nav-list {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        align-items: center;
        background: transparent;
        padding: 0;
        transform: none;
        box-shadow: none;
        gap: 8px;
        overflow: visible;
    }
    .nav-list a { padding: 8px 14px; font-size: 0.875rem; }
    .nav-list li:last-child { margin-top: 0; }
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }

/* ===================================
   Hero
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-midnight);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/8311885/pexels-photo-8311885.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(13,31,60,0.80) 50%, rgba(10,22,40,0.70) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 120px 0 80px;
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-mint);
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: var(--color-slate-light);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-slate-light);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: 80px 0;
}

@media (min-width: 768px) {
    .section { padding: 100px 0; }
}

/* ===================================
   Products
   =================================== */
.products { background: var(--color-cream); }

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-dark);
    transition: var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.product-img {
    height: 200px;
    overflow: hidden;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-midnight);
}

.product-info p {
    font-size: 0.9375rem;
    color: var(--color-slate);
    line-height: 1.6;
    margin-bottom: 16px;
}

.link-arrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-mint-dark);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.link-arrow:hover { gap: 8px; }

/* ===================================
   Services
   =================================== */
.services { background: var(--color-white); }

.services-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 900px) {
    .services-layout { grid-template-columns: 1fr 1fr; gap: 64px; }
}

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

@media (min-width: 500px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-card {
    padding: 28px;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition);
}
.service-card:hover { border-color: var(--color-mint); background: var(--color-white); box-shadow: var(--shadow-md); }

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-midnight);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--color-midnight);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--color-slate);
    line-height: 1.6;
}

/* ===================================
   Brands
   =================================== */
.brands { background: var(--color-midnight); }
.brands .section-eyebrow { color: var(--color-mint); }
.brands .section-title { color: var(--color-white); }
.brands .section-desc { color: var(--color-slate); }

.brand-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .brand-row { grid-template-columns: repeat(3, 1fr); }
}

.brand-card {
    background: var(--color-midnight-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}
.brand-card:hover { border-color: var(--color-mint); transform: translateY(-2px); }

.brand-logo { margin-bottom: 16px; }
.brand-logo svg { width: 100%; max-width: 200px; margin: 0 auto; }

.brand-desc {
    font-size: 0.9375rem;
    color: var(--color-slate);
    line-height: 1.6;
}

/* ===================================
   About
   =================================== */
.about { background: var(--color-cream); }

.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .about-layout { grid-template-columns: 1fr 1fr; gap: 64px; }
}

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

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

@media (min-width: 640px) {
    .about-image img { height: 500px; }
}

.about-stat {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: var(--color-midnight);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.about-stat .stat-number {
    font-size: 0.8125rem;
    color: var(--color-slate);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-stat .stat-highlight {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-mint);
    font-weight: 700;
}

.about-stat .stat-label {
    font-size: 0.8125rem;
    color: var(--color-slate-light);
    width: 100%;
}

.about-text .section-desc { margin-bottom: 16px; }
.about-text .section-desc:last-of-type { margin-bottom: 24px; }

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 400px) {
    .about-features { grid-template-columns: repeat(2, 1fr); }
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-midnight);
}

/* ===================================
   CTA Banner
   =================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--color-midnight) 0%, var(--color-navy) 100%);
    padding: 72px 0;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .cta-inner { flex-direction: row; text-align: left; justify-content: space-between; }
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--color-white);
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--color-slate-light);
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ===================================
   Contact
   =================================== */
.contact { background: var(--color-white); }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 900px) {
    .contact-layout { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

@media (min-width: 500px) {
    .contact-details { grid-template-columns: repeat(2, 1fr); }
}

.contact-item {
    display: flex;
    gap: 14px;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-mint-light);
    border-radius: var(--radius-sm);
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-slate);
    margin-bottom: 2px;
}

.contact-item a {
    color: var(--color-midnight);
    font-weight: 500;
    transition: color 0.2s;
}
.contact-item a:hover { color: var(--color-mint-dark); }

.contact-item span:not(.contact-label) {
    color: var(--color-midnight);
    font-weight: 500;
}

/* Form */
.contact-form-wrapper {
    background: var(--color-cream);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-form-header { margin-bottom: 24px; }
.contact-form-header h3 { font-size: 1.375rem; margin-bottom: 8px; }
.contact-form-header p { font-size: 0.9375rem; color: var(--color-slate); }

.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-midnight);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-midnight);
    background: var(--color-white);
    border: 1.5px solid var(--color-border-dark);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--color-mint); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-slate-light); }

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    background: var(--color-mint-light);
    border-radius: var(--radius-md);
    color: var(--color-midnight);
}
.form-success p { font-size: 0.9375rem; }

.map-wrapper { margin-top: 8px; }

/* ===================================
   Footer
   =================================== */
.site-footer {
    background: var(--color-midnight);
    color: var(--color-slate-light);
    padding: 64px 0 0;
}

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

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-desc { font-size: 0.9375rem; line-height: 1.7; color: var(--color-slate); max-width: 300px; }

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-mint);
    margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    font-size: 0.9375rem;
    color: var(--color-slate);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-white); }

.footer-col address { font-size: 0.9375rem; line-height: 1.8; }
.footer-col a { color: var(--color-slate); }
.footer-col a:hover { color: var(--color-mint); }

.footer-bottom {
    margin-top: 48px;
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-slate);
}

/* ===================================
   Animations
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Default state: visible (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Only animate if JS is enabled and user prefers motion */
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
    .js-enabled .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.js-enabled .reveal.animated {
    opacity: 1;
    transform: translateY(0);
}
