/* ============================================
   ALL STAR DRIVER EDUCATION
   Classic & Elegant Marketing Site
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Emerald Green Palette */
    --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 Palette */
    --cream-50: #fefdf8;
    --cream-100: #fef9ef;
    --cream-200: #fdf3e0;
    --cream-300: #fce8c8;
    --cream-400: #f5d5a0;
    --cream-500: #e8b87a;
    --cream-600: #d4a373;
    --cream-700: #b8865a;
    
    /* Neutrals */
    --neutral-50: #fafaf9;
    --neutral-100: #f5f5f4;
    --neutral-200: #e7e5e4;
    --neutral-300: #d6d3d1;
    --neutral-400: #a8a29e;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;
    --neutral-950: #0c0a09;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --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;
    
    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* --- 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: 16px;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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;
}

/* --- Utility Classes --- */
.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(--cream-200);
    transition: box-shadow var(--transition-base);
}

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

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--emerald-900);
}

.nav__logo-icon {
    color: var(--emerald-700);
}

.nav__logo-accent {
    color: var(--cream-600);
    font-weight: 700;
}

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

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-600);
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--emerald-600);
    transition: width var(--transition-base);
}

.nav__link:hover {
    color: var(--emerald-700);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    padding: 0.5rem 1.25rem;
    background: var(--emerald-700);
    color: white !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.nav__link--cta::after {
    display: none;
}

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

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--cream-50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    color: var(--neutral-700);
    padding: var(--space-sm);
}

.mobile-menu__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mobile-menu__link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--neutral-800);
    transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
    color: var(--emerald-700);
}

.mobile-menu__link--cta {
    margin-top: var(--space-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 0.75rem 2rem;
    background: var(--emerald-700);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    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;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(6, 78, 59, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 163, 115, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero__content {
    max-width: 560px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.4rem 1rem;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--emerald-700);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--emerald-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: var(--space-xl);
}

.hero__headline-accent {
    color: var(--emerald-700);
    font-style: italic;
}

.hero__subheadline {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--neutral-600);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

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

/* --- Stat Cards --- */
.hero__stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: relative;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cream-200);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.stat-card--1 { order: 2; }
.stat-card--2 { order: 1; }
.stat-card--3 { order: 3; }

.stat-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    color: var(--emerald-700);
    flex-shrink: 0;
}

.stat-card__number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--emerald-800);
    line-height: 1;
}

.stat-card__label {
    font-size: 0.8rem;
    color: var(--neutral-500);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* --- Hero Image --- */
.hero__image {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--emerald-700);
    border-radius: var(--radius-lg);
    opacity: 0.1;
    z-index: -1;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn--primary {
    background: var(--emerald-700);
    color: white;
    box-shadow: 0 4px 14px rgba(6, 78, 59, 0.25);
}

.btn--primary:hover {
    background: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(6, 78, 59, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--neutral-700);
    border: 1.5px solid var(--neutral-300);
}

.btn--ghost:hover {
    border-color: var(--emerald-600);
    color: var(--emerald-700);
}

.btn--outline {
    background: transparent;
    color: var(--emerald-700);
    border: 1.5px solid var(--emerald-300);
}

.btn--outline:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-600);
}

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

.btn--outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn--light {
    background: white;
    color: var(--emerald-800);
    box-shadow: var(--shadow-md);
}

.btn--light:hover {
    background: var(--cream-50);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-4xl);
}

.section-header--centered {
    text-align: center;
}

.section-tag {
    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);
    padding: 0.3rem 0.75rem;
    background: var(--emerald-50);
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--neutral-900);
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--neutral-500);
}

/* --- Services Section --- */
.services {
    padding: var(--space-4xl) 0;
    background: white;
}

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

.service-card {
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--cream-200);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.service-card__visual {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.service-card__overlay {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
}

.service-card__badge {
    padding: 0.3rem 0.75rem;
    background: var(--emerald-700);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
}

.service-card__content {
    padding: var(--space-xl);
}

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

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.service-card__description {
    font-size: 0.925rem;
    line-height: 1.65;
    color: var(--neutral-600);
    margin-bottom: var(--space-lg);
}

.service-card__features {
    margin-bottom: var(--space-xl);
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--neutral-700);
    padding: 0.3rem 0;
}

.service-card__features li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--emerald-500);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- About Section --- */
.about {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

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

.about__images {
    position: relative;
}

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

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

.about__image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-50);
}

.about__image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__image-badge {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.4rem 0.75rem;
    background: var(--emerald-700);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

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

.about__text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--neutral-600);
    margin-bottom: var(--space-lg);
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.about__value {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.about__value-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
    color: var(--emerald-700);
    flex-shrink: 0;
}

.about__value-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
}

.about__value-text {
    font-size: 0.9rem;
    color: var(--neutral-500);
    line-height: 1.6;
}

/* --- Why Us Section --- */
.why-us {
    padding: var(--space-4xl) 0;
    background: var(--emerald-900);
    color: white;
}

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

.why-us__content .section-tag {
    background: rgba(255,255,255,0.1);
    color: var(--emerald-300);
}

.why-us__content .section-title {
    color: white;
}

.why-us__content .section-subtitle {
    color: rgba(255,255,255,0.65);
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.why-item {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.why-item__number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--emerald-400);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.7;
}

.why-item__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.35rem;
}

.why-item__text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
}

.why-us__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.why-us__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Process Section --- */
.process {
    padding: var(--space-4xl) 0;
    background: white;
}

.process__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.process__step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    padding: var(--space-xl);
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cream-200);
    position: relative;
}

.process__step-circle {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    background: var(--emerald-100);
    border-radius: 50%;
    color: var(--emerald-700);
}

.process__step-number {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-md);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-200);
}

.process__step-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.process__step-text {
    font-size: 0.85rem;
    color: var(--neutral-500);
    line-height: 1.6;
}

.process__step-arrow {
    display: flex;
    align-items: center;
    color: var(--emerald-400);
    flex-shrink: 0;
    margin-top: 2rem;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

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

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--cream-200);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.testimonial-card__stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: var(--space-lg);
    color: var(--cream-600);
}

.testimonial-card__text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--neutral-700);
    margin-bottom: var(--space-xl);
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--neutral-900);
}

.testimonial-card__role {
    font-size: 0.8rem;
    color: var(--neutral-400);
}

/* --- CTA Section --- */
.cta {
    padding: var(--space-4xl) 0;
    background: var(--emerald-800);
    position: relative;
    overflow: hidden;
}

.cta__bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(212, 163, 115, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta__title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: white;
    line-height: 1.25;
    margin-bottom: var(--space-lg);
}

.cta__text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.cta__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
    padding: var(--space-4xl) 0;
    background: white;
}

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

.contact__text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--neutral-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;
    gap: var(--space-lg);
    align-items: flex-start;
}

.contact__detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact__detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-400);
    margin-bottom: 0.25rem;
}

.contact__detail-value {
    font-size: 0.95rem;
    color: var(--neutral-800);
    line-height: 1.6;
}

.contact__detail-link {
    color: var(--emerald-700);
    font-weight: 600;
    transition: color var(--transition-fast);
}

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

.contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* --- Contact Form --- */
.contact__form-wrapper {
    background: var(--cream-50);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--cream-200);
}

.contact__form-header {
    margin-bottom: var(--space-xl);
}

.contact__form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.35rem;
}

.contact__form-subtitle {
    font-size: 0.9rem;
    color: var(--neutral-500);
}

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--neutral-800);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--neutral-400);
}

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

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

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

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

.form-success__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.form-success__text {
    font-size: 0.9rem;
    color: var(--neutral-500);
    margin-bottom: var(--space-xl);
}

/* --- Footer --- */
.footer {
    background: var(--neutral-950);
    color: rgba(255,255,255,0.7);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-md);
}

.footer__logo-icon {
    color: var(--emerald-400);
}

.footer__logo-accent {
    color: var(--cream-500);
    font-weight: 700;
}

.footer__tagline {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.5);
    max-width: 280px;
}

.footer__links-title,
.footer__contact-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--space-lg);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-fast);
}

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

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

.footer__phone {
    font-size: 1rem;
    font-weight: 600;
    color: var(--emerald-400);
    transition: color var(--transition-fast);
}

.footer__phone:hover {
    color: var(--emerald-300);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

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

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .hero__content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero__subheadline {
        max-width: 100%;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .hero__stats {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .stat-card--1 { order: 1; }
    .stat-card--2 { order: 2; }
    .stat-card--3 { order: 3; }
    
    .hero__image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about__layout,
    .why-us__layout,
    .contact__layout {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .about__image-secondary {
        right: 0;
        bottom: -20px;
    }
    
    .why-us__image {
        order: -1;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero {
        padding: 90px var(--space-md) var(--space-3xl);
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .process__steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process__step {
        max-width: 100%;
    }
    
    .process__step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
    
    .cta__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero__stats {
        flex-direction: column;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about__image-secondary {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: var(--space-md);
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
