/* ============================================
   JAY'S PHARMACY — Editorial Pharmacy Website
   Palette: Emerald Green + Cream
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
: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;
    --emerald-950: #022c22;

    --cream-50:  #fefdf8;
    --cream-100: #fefce8;
    --cream-200: #fef9c3;
    --cream-300: #fef08a;
    --cream-400: #fde68a;
    --cream-500: #fcd34d;

    --stone-50:  #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --stone-950: #0c0a09;

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

    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

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

    --shadow-sm:  0 1px 3px rgba(6, 78, 59, 0.06), 0 1px 2px rgba(6, 78, 59, 0.04);
    --shadow-md:  0 4px 16px rgba(6, 78, 59, 0.08), 0 2px 6px rgba(6, 78, 59, 0.04);
    --shadow-lg:  0 12px 40px rgba(6, 78, 59, 0.12), 0 4px 12px rgba(6, 78, 59, 0.06);
    --shadow-xl:  0 24px 60px rgba(6, 78, 59, 0.16), 0 8px 20px rgba(6, 78, 59, 0.08);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--stone-800);
    background-color: var(--cream-50);
    -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;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--emerald-100);
    transition: box-shadow 0.3s ease;
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-logo-mark {
    width: 40px;
    height: 40px;
    background: var(--emerald-800);
    color: var(--cream-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--emerald-900);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a:not(.nav-cta) {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--stone-600);
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--emerald-700);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-600);
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--emerald-700);
    color: var(--cream-50) !important;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: var(--emerald-800);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--emerald-800);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream-50);
    z-index: 999;
    flex-direction: column;
    padding: var(--space-2xl) var(--space-lg);
    gap: var(--space-md);
    border-top: 1px solid var(--emerald-100);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--emerald-900);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--emerald-100);
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: var(--emerald-600);
}

.mobile-menu-cta {
    margin-top: var(--space-lg);
    display: inline-block;
    background: var(--emerald-700);
    color: var(--cream-50);
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 100px var(--space-lg) var(--space-4xl);
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(6, 95, 70, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(6, 78, 59, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Hero Card */
.hero-card {
    background: var(--cream-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
}

.hero-card--headline {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    color: var(--emerald-800);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    width: fit-content;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    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: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--stone-900);
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--stone-600);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn--primary {
    background: var(--emerald-700);
    color: var(--cream-50);
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.3);
}

.btn--primary:hover {
    background: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--emerald-800);
    border: 2px solid var(--emerald-200);
}

.btn--ghost:hover {
    border-color: var(--emerald-400);
    background: var(--emerald-50);
    transform: translateY(-2px);
}

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

/* Floating Stat Cards */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    position: relative;
}

.stat-card {
    background: var(--cream-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-card--1 { transform: translateY(0); }
.stat-card--2 { transform: translateY(calc(var(--space-md) * -1)); }
.stat-card--3 { transform: translateY(calc(var(--space-sm) * 2)); }
.stat-card--4 { transform: translateY(0); }

.stat-card:hover { transform: translateY(-4px) !important; }

.stat-card-icon {
    width: 44px;
    height: 44px;
    background: var(--emerald-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: var(--space-md);
}

.stat-card-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--emerald-900);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.stat-card-unit {
    font-size: 1rem;
    color: var(--emerald-600);
}

.stat-card-label {
    font-size: 0.85rem;
    color: var(--stone-500);
    font-weight: 500;
}

/* ---------- Section Shared ---------- */
.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-3xl);
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--stone-900);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--stone-500);
}

/* ---------- Services ---------- */
.services {
    background: var(--cream-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--cream-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card-img {
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card-body {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--emerald-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: var(--space-xs);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--stone-900);
}

.service-desc {
    font-size: 0.925rem;
    line-height: 1.7;
    color: var(--stone-500);
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image {
    position: relative;
}

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

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-50);
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--stone-600);
}

.about-signature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-sm);
}

.about-signature-line {
    width: 48px;
    height: 3px;
    background: var(--emerald-500);
    border-radius: 2px;
}

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

/* ---------- Why Section ---------- */
.why {
    background: var(--emerald-900);
    color: var(--cream-50);
}

.why .section-eyebrow {
    background: rgba(254, 252, 232, 0.1);
    border-color: rgba(254, 252, 232, 0.2);
    color: var(--emerald-300);
}

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

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.why-item {
    padding: var(--space-2xl);
    background: rgba(254, 253, 248, 0.04);
    border: 1px solid rgba(254, 253, 248, 0.08);
    border-radius: var(--radius-lg);
    transition: background 0.3s ease;
}

.why-item:hover {
    background: rgba(254, 253, 248, 0.07);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 900;
    color: var(--emerald-500);
    line-height: 1;
    margin-bottom: var(--space-md);
    opacity: 0.7;
}

.why-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cream-50);
    margin-bottom: var(--space-sm);
}

.why-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--stone-400);
}

/* ---------- Quote Section ---------- */
.quote-section {
    background: var(--cream-100);
    padding: var(--space-4xl) 0;
}

.quote-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-3xl);
    background: var(--cream-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-mark {
    font-family: var(--font-serif);
    font-size: 6rem;
    line-height: 0.8;
    color: var(--emerald-200);
    position: absolute;
    top: var(--space-lg);
    left: var(--space-2xl);
    user-select: none;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--stone-800);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.quote-attribution {
    font-size: 0.9rem;
    color: var(--stone-400);
    font-weight: 500;
}

/* ---------- Contact ---------- */
.contact {
    background: var(--cream-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-intro {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--stone-500);
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--emerald-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}

.contact-detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone-400);
    margin-bottom: 2px;
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--stone-800);
    font-weight: 500;
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--emerald-700);
    transition: color 0.2s ease;
}

.contact-detail-value a:hover {
    color: var(--emerald-500);
}

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

/* Contact Form */
.contact-form-wrap {
    position: sticky;
    top: 100px;
}

.contact-form-card {
    background: var(--cream-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: var(--space-sm);
}

.contact-form-sub {
    font-size: 0.925rem;
    color: var(--stone-500);
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--stone-500);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--stone-800);
    background: var(--cream-50);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--emerald-400);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--stone-400);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-2xl);
}

.form-success.show {
    display: block;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    background: var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--emerald-700);
}

.form-success-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: var(--space-sm);
}

.form-success-text {
    font-size: 0.95rem;
    color: var(--stone-500);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--stone-900);
    color: var(--stone-400);
    padding: var(--space-4xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--emerald-700);
    color: var(--cream-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.8rem;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cream-50);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--stone-500);
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream-50);
    margin-bottom: var(--space-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a,
.footer-links span {
    font-size: 0.9rem;
    color: var(--stone-500);
    transition: color 0.2s ease;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--emerald-400);
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    display: block;
    font-size: 0.9rem;
    color: var(--emerald-400);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--emerald-300);
}

.footer-bottom {
    border-top: 1px solid var(--stone-800);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

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

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .service-card-img img {
        transition: none;
    }
    .stat-card {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-cards {
        max-width: 500px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .about-image-accent {
        right: -10px;
        bottom: -20px;
    }

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

    .contact-form-wrap {
        position: static;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: var(--space-3xl);
    }

    .hero-card {
        padding: var(--space-xl);
    }

    .hero-headline {
        font-size: clamp(1.65rem, 6vw, 2.25rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .stat-card--1,
    .stat-card--2,
    .stat-card--3,
    .stat-card--4 {
        transform: none;
    }

    .stat-card:hover {
        transform: translateY(-4px) !important;
    }

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

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

    .quote-mark {
        font-size: 4rem;
        top: var(--space-md);
        left: var(--space-lg);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .section {
        padding: var(--space-3xl) 0;
    }

    .hero-card {
        padding: var(--space-lg);
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: var(--space-lg);
    }
}
