/* ========================================
   MERCES DRIVING SCHOOL — STYLESHEET
   Classic & Elegant · Burgundy + Blush
======================================== */

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

:root {
    --burgundy: #6B1B2A;
    --burgundy-deep: #4A1220;
    --burgundy-light: #8B2E42;
    --blush: #F2D5C8;
    --blush-light: #FAECE6;
    --blush-pale: #FDF5F1;
    --gold: #C9A87C;
    --gold-light: #D4BA96;
    --cream: #FDF8F5;
    --charcoal: #1A1A1A;
    --dark: #2C2C2C;
    --gray: #6B6B6B;
    --gray-light: #9A9A9A;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 3px rgba(107, 27, 42, 0.08);
    --shadow-md: 0 4px 20px rgba(107, 27, 42, 0.1);
    --shadow-lg: 0 8px 40px rgba(107, 27, 42, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--dark);
    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 {
    color: inherit;
    text-decoration: none;
}

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

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    border: 2px solid var(--burgundy);
}

.btn-primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

.btn-secondary:hover {
    background: var(--burgundy);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(107, 27, 42, 0.08);
    transition: all var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--burgundy);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    transition: color var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: width var(--transition);
}

.nav-menu a:hover {
    color: var(--burgundy);
}

.nav-menu a::after {
    width: 100%;
}

.nav-cta {
    background: var(--burgundy);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

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

.nav-cta:hover {
    background: var(--burgundy-deep);
    color: var(--white) !important;
    transform: translateY(-1px);
}

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

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all var(--transition);
    display: block;
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all var(--transition);
    display: block;
}

.hamburger.active {
    background: transparent;
}

.hamburger.active::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    padding-top: 72px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 80px;
    min-height: calc(100vh - 72px);
}

.hero-content {
    padding-right: 20px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--burgundy);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline br {
    display: none;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

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

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

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--blush);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    padding-left: 40px;
}

.hero-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 520/680;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -30px;
    left: -50px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
    aspect-ratio: 280/200;
}

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

.hero-badge {
    position: absolute;
    top: 30px;
    right: -20px;
    background: var(--white);
    color: var(--burgundy);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.hero-accent-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--burgundy-light) 40%, var(--gold) 70%, var(--blush) 100%);
}

/* Decorative elements */
.hero::before {
    content: '';
    position: absolute;
    top: 120px;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--blush) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201, 168, 124, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

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

.about-image-wrapper img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-overlay {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--burgundy);
    color: var(--white);
    padding: 28px 32px;
    border-radius: var(--radius-md);
    max-width: 280px;
}

.overlay-quote {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--blush-light);
}

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

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

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

.feature-item svg {
    flex-shrink: 0;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 120px 0;
    background: var(--cream);
}

.section-header {
    margin-bottom: 64px;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: all var(--transition);
    border: 1px solid rgba(107, 27, 42, 0.06);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--burgundy);
    transform: scaleX(0);
    transition: transform var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-card.featured::before {
    background: var(--gold);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--blush-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--blush-light);
}

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

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

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--charcoal);
}

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

.service-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 20px;
}

.service-card.featured p {
    color: var(--blush-light);
}

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

.service-features li {
    font-size: 0.9rem;
    color: var(--gray);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.service-card.featured .service-features li {
    color: var(--blush);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--burgundy);
    transition: all var(--transition);
}

.service-link:hover {
    gap: 12px;
}

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

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

/* ---------- WHY MERCES ---------- */
.why-merces {
    padding: 120px 0;
    background: var(--white);
}

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

.why-content {
    padding-right: 20px;
}

.why-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.why-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.why-item:hover {
    background: var(--blush-pale);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--blush);
    line-height: 1;
    flex-shrink: 0;
    transition: color var(--transition);
}

.why-item:hover .why-number {
    color: var(--burgundy);
}

.why-item h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.why-item p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
}

.why-visual {
    position: relative;
}

.why-image-stack {
    position: relative;
}

.why-image-stack img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.why-accent-block {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 120px;
    height: 120px;
    background: var(--burgundy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 120px 0;
    background: var(--blush-pale);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition);
    border: 1px solid rgba(107, 27, 42, 0.05);
}

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

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

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

.testimonial-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--burgundy);
}

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

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 124, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(242, 213, 200, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-eyebrow {
    color: var(--gold);
}

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

.cta-text {
    font-size: 1.1rem;
    color: var(--blush);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

/* ---------- CONTACT ---------- */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

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

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

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

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

.contact-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.6;
}

.contact-item a {
    color: var(--burgundy);
    font-weight: 600;
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--burgundy-deep);
    text-decoration: underline;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 44px;
    border: 1px solid rgba(107, 27, 42, 0.06);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--blush);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(107, 27, 42, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-light);
}

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

/* Form Success */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: flex;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--blush-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.form-success p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--charcoal);
    color: var(--blush);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-tagline {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-light);
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--gold);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.82rem;
    color: var(--gray);
}

.footer-bottom a {
    color: var(--gray-light);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--blush);
}

/* ---------- SCROLL REVEAL ---------- */
[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-visual {
        padding-left: 20px;
    }

    .hero-image-accent {
        left: -20px;
    }

    .about-container,
    .why-container,
    .contact-grid {
        gap: 48px;
    }

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-content {
        padding-right: 0;
        order: 1;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

    .hero-headline br {
        display: block;
    }

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

    .hero-actions .btn {
        justify-content: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-visual {
        order: 2;
        padding-left: 0;
        margin-top: 40px;
    }

    .hero-image-accent {
        left: 10px;
        bottom: -20px;
    }

    .hero-badge {
        right: 10px;
    }

    .about-container,
    .why-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image-overlay {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .why-accent-block {
        width: 80px;
        height: 80px;
        bottom: -16px;
        left: -16px;
    }

    .why-accent-block svg {
        width: 20px;
        height: 20px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

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

    .hero {
        padding-top: 72px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .about,
    .services,
    .why-merces,
    .testimonials,
    .contact {
        padding: 80px 0;
    }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
