/* ============================================
   All Star Driver Education — Stylesheet
   Classic & Elegant · Terracotta + Sand
   ============================================ */

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

:root {
    --terracotta: #B85450;
    --terracotta-dark: #9A4440;
    --terracotta-light: #D4807C;
    --sand: #F5F0E8;
    --sand-light: #FAF7F2;
    --sand-dark: #E8E0D0;
    --sand-mid: #EDE5D8;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --warm-gray: #7A6E66;
    --warm-gray-light: #A89890;
    --white: #FFFFFF;
    --cream: #FDFCFA;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.06), 0 1px 2px rgba(44, 36, 32, 0.04);
    --shadow-md: 0 4px 16px rgba(44, 36, 32, 0.08), 0 2px 4px rgba(44, 36, 32, 0.04);
    --shadow-lg: 0 12px 40px rgba(44, 36, 32, 0.12), 0 4px 12px rgba(44, 36, 32, 0.06);
    --shadow-xl: 0 24px 60px rgba(44, 36, 32, 0.14), 0 8px 20px rgba(44, 36, 32, 0.08);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

em {
    font-style: italic;
    color: var(--terracotta);
}

/* ---------- Section Labels ---------- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    line-height: 1.15;
}

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

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

.btn-primary {
    background-color: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(184, 84, 80, 0.3);
}

.btn-primary:hover {
    background-color: var(--terracotta-dark);
    box-shadow: 0 6px 20px rgba(184, 84, 80, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--sand-dark);
}

.btn-secondary:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--terracotta);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

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

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 224, 208, 0.6);
    transition: var(--transition);
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--charcoal);
}

.nav-logo-icon {
    color: var(--terracotta);
}

.nav-logo:hover {
    color: var(--terracotta);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--terracotta);
    background-color: rgba(184, 84, 80, 0.06);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--terracotta);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    margin-left: 8px;
}

.nav-cta:hover {
    background-color: var(--terracotta-dark);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

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

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

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

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 50%, var(--sand-mid) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 84, 80, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 84, 80, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(184, 84, 80, 0.08);
    border: 1px solid rgba(184, 84, 80, 0.15);
    border-radius: 100px;
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--terracotta);
    margin-bottom: 28px;
}

.hero-badge svg {
    color: var(--terracotta);
}

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

.hero-headline em {
    color: var(--terracotta);
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--warm-gray);
    line-height: 1.75;
    margin-bottom: 36px;
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-trust-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1;
}

.hero-trust-label {
    font-size: 0.813rem;
    color: var(--warm-gray);
}

.hero-trust-divider {
    width: 1px;
    height: 40px;
    background-color: var(--sand-dark);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 820px;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--terracotta-light);
    border-radius: var(--radius-xl);
    z-index: 0;
    opacity: 0.4;
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background-color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
}

.hero-floating-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(184, 84, 80, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.hero-floating-text {
    display: flex;
    flex-direction: column;
}

.hero-floating-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
}

.hero-floating-desc {
    font-size: 0.813rem;
    color: var(--warm-gray);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--warm-gray-light);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Services ---------- */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

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

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

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

.service-card {
    background-color: var(--sand-light);
    border: 1px solid var(--sand-dark);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    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(--terracotta), var(--terracotta-light));
    opacity: 0;
    transition: var(--transition);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    background-color: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--white);
}

.service-card.featured .service-card-title,
.service-card.featured .service-card-desc,
.service-card.featured .service-card-features li {
    color: var(--white);
}

.service-card.featured .service-card-title em {
    color: var(--terracotta-light);
}

.service-card.featured .service-card-link {
    color: var(--terracotta-light);
}

.service-card.featured .service-card-link:hover {
    color: var(--white);
}

.service-card.featured .service-card-features li::before {
    color: var(--terracotta-light);
}

.service-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--terracotta);
    color: var(--white);
    font-size: 0.688rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(184, 84, 80, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 24px;
}

.service-card.featured .service-card-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.service-card-title {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.service-card-desc {
    font-size: 0.938rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-card-features li {
    font-size: 0.875rem;
    color: var(--charcoal-light);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-weight: 600;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--terracotta);
}

.service-card-link:hover {
    gap: 10px;
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background-color: var(--sand-light);
}

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

.about-image-section {
    position: relative;
}

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

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

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 240px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--sand-light);
}

.about-image-secondary img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: var(--terracotta);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.about-experience-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    text-align: center;
    line-height: 1.3;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.about-value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(184, 84, 80, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.about-value-content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-value-content p {
    font-size: 0.875rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

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

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

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-us-item {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--sand-dark);
    transition: var(--transition);
    background-color: var(--cream);
}

.why-us-item:hover {
    border-color: rgba(184, 84, 80, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.why-us-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sand-dark);
    line-height: 1;
    margin-bottom: 16px;
    transition: var(--transition);
}

.why-us-item:hover .why-us-number {
    color: rgba(184, 84, 80, 0.2);
}

.why-us-title {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.why-us-desc {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 100px 0;
    background-color: var(--sand);
}

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

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(184, 84, 80, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--terracotta);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--charcoal-light);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-gray);
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author-name {
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--charcoal);
}

.testimonial-author-detail {
    font-size: 0.813rem;
    color: var(--warm-gray);
}

/* ---------- CTA ---------- */
.cta {
    padding: 100px 0;
    background-color: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(184, 84, 80, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(184, 84, 80, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-label {
    color: var(--terracotta-light);
}

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

.cta-title em {
    color: var(--terracotta-light);
}

.cta-text {
    font-size: 1.063rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: 36px;
}

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

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

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

.contact-text {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.75;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-detail-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(184, 84, 80, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.contact-detail-content h4 {
    font-family: var(--font-body);
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--warm-gray);
    margin-bottom: 4px;
}

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

.contact-link:hover {
    color: var(--terracotta);
}

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

.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal-light);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--white);
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--charcoal);
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--warm-gray-light);
}

.form-input:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(184, 84, 80, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A6E66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

/* Success State */
.contact-form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 72px;
    height: 72px;
    background-color: rgba(184, 84, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin: 0 auto 20px;
}

.success-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.success-text {
    font-size: 0.938rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ---------- Map ---------- */
.map-section {
    border-top: 1px solid var(--sand-dark);
}

.map-container {
    filter: saturate(0.7) contrast(1.05);
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--terracotta-light);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--terracotta-light);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-contact-list svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--terracotta-light);
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact-link:hover {
    color: var(--terracotta-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero-image img {
        height: 600px;
    }
    
    .services-grid,
    .why-us-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: 100px 0 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image img {
        height: 480px;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    .hero-floating-card {
        left: 16px;
        bottom: 20px;
    }
    
    .services-grid,
    .why-us-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-secondary {
        width: 180px;
        right: -10px;
        bottom: -20px;
    }
    
    .about-experience-badge {
        left: 10px;
        top: -10px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-trust-divider {
        width: 40px;
        height: 1px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    .btn-lg {
        padding: 16px 28px;
        font-size: 0.938rem;
    }
}

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