/* ============================================================
   DRIVE SERVICE NETWORK — Main Stylesheet
   Brand: Professional, Trustworthy, Modern Automotive
   ============================================================ */

/* CSS Variables */
:root {
    --primary: #0a1628;
    --primary-dark: #060e1a;
    --secondary: #1a3a6b;
    --accent: #c8a84b;
    --accent-dark: #a8882b;
    --red: #c0392b;
    --red-dark: #a93226;
    --text-dark: #1a1a2e;
    --text-light: #5a6a7a;
    --text-muted: #8a9aaa;
    --bg-white: #ffffff;
    --bg-light: #f7f9fc;
    --bg-subtle: #eef2f7;
    --border: #dde3ea;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 6px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 100px 0; }

/* Section Headers */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 640px;
    line-height: 1.7;
}
.section-header { margin-bottom: 50px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* Divider */
.divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin-bottom: 20px;
}
.divider.center { margin: 0 auto 20px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(10, 22, 40, 0.99);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.nav-logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.nav-logo-text span {
    color: var(--accent);
}
.nav-logo-sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    font-weight: 400;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-menu a {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: white;
    background: rgba(255,255,255,0.08);
}
.nav-cta {
    background: var(--accent) !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
}
.nav-cta:hover {
    background: var(--accent-dark) !important;
    color: var(--primary) !important;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 8px;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a::after {
    content: ' ▾';
    font-size: 0.7rem;
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--primary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 10px 20px !important;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8) !important;
    border-radius: 0 !important;
}
.dropdown-menu a:hover {
    background: rgba(255,255,255,0.08) !important;
    color: white !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,168,75,0.3);
}
.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}
.btn-dark {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.btn-dark:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}
.btn-red {
    background: var(--red);
    color: white;
    border-color: var(--red);
}
.btn-red:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192,57,43,0.3);
}
.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}
.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary);
    overflow: hidden;
    padding-top: 72px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.95) 0%, rgba(26,58,107,0.85) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,168,75,0.15);
    border: 1px solid rgba(200,168,75,0.3);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero h1 {
    color: white;
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 24px;
    line-height: 1.15;
}
.hero h1 span { color: var(--accent); }
.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    max-width: 640px;
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}
.hero-stat h3 {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 4px;
}
.hero-stat p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.card-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-subtle);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--secondary);
}
.card-icon.accent { background: rgba(200,168,75,0.1); color: var(--accent); }
.card-icon.red { background: rgba(192,57,43,0.1); color: var(--red); }
.card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.card p { color: var(--text-light); margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* Feature Card */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Service Card */
.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.service-card-img {
    height: 200px;
    background: var(--bg-subtle);
    background-size: cover;
    background-position: center;
}
.service-card-body { padding: 28px; }
.service-card-body h3 { margin-bottom: 10px; }
.service-card-body p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(26,58,107,0.1);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit { margin-top: 8px; }
.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

/* Form Card */
.form-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.form-card h3 {
    margin-bottom: 8px;
    font-size: 1.4rem;
}
.form-card .form-subtitle {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    background: var(--primary);
    color: white;
    padding: 70px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 8px;
    line-height: 1;
}
.stat-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ============================================================
   CTA SECTIONS
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&q=80&w=2000') center/cover;
    opacity: 0.05;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   TRUST BADGES / ICONS
   ============================================================ */
.trust-bar {
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}
.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}
.trust-item .icon {
    font-size: 1.2rem;
    color: var(--accent);
}

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
}
.step-item {
    text-align: center;
    padding: 30px 20px;
}
.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 20px;
}
.step-item h4 { margin-bottom: 10px; }
.step-item p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 16px; }
.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.testimonial-author { font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.testimonial-role { color: var(--text-muted); font-size: 0.8rem; }

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
    gap: 16px;
}
.faq-question .icon {
    font-size: 1.2rem;
    color: var(--accent);
    transition: var(--transition);
    flex-shrink: 0;
}
.faq-answer {
    display: none;
    padding-top: 16px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }

/* ============================================================
   SPLIT SECTIONS
   ============================================================ */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 440px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}
.split-content .section-label { display: block; }
.split-content h2 { margin-bottom: 16px; }
.split-content p { color: var(--text-light); margin-bottom: 16px; line-height: 1.7; }
.check-list { margin: 20px 0; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}
.check-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background: var(--primary);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}
.footer-brand .logo-text span { color: var(--accent); }
.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 24px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent);
    color: var(--primary);
}
.footer-col h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a { color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--accent); }
.footer-parent {
    text-align: center;
    padding: 16px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-parent a { color: rgba(255,255,255,0.4); }
.footer-parent a:hover { color: var(--accent); }

/* ============================================================
   NOTIFICATION / ALERT
   ============================================================ */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success {
    background: rgba(39,174,96,0.1);
    border: 1px solid rgba(39,174,96,0.3);
    color: #1a7a3a;
}
.alert-error {
    background: rgba(192,57,43,0.1);
    border: 1px solid rgba(192,57,43,0.3);
    color: var(--red-dark);
}
.alert-info {
    background: rgba(26,58,107,0.08);
    border: 1px solid rgba(26,58,107,0.2);
    color: var(--secondary);
}

/* ============================================================
   BADGES / TAGS
   ============================================================ */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.badge-accent { background: rgba(200,168,75,0.15); color: var(--accent-dark); }
.badge-primary { background: rgba(26,58,107,0.1); color: var(--secondary); }
.badge-success { background: rgba(39,174,96,0.1); color: #1a7a3a; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-accent { color: var(--accent); }
.text-light { color: var(--text-light); }
.text-white { color: white; }
.text-muted { color: var(--text-muted); }
.bg-primary { background: var(--primary); }
.bg-light { background: var(--bg-light); }
.bg-subtle { background: var(--bg-subtle); }
.bg-white { background: var(--bg-white); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }
.w-full { width: 100%; }
.hidden { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .split-section { grid-template-columns: 1fr; gap: 40px; }
    .split-section.reverse { direction: ltr; }
    .split-image { height: 320px; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-toggle { display: block; }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-menu.open a { padding: 12px 16px; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,0.05);
        margin-top: 4px;
    }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .trust-items { gap: 20px; }
    .cta-btns { flex-direction: column; align-items: center; }
    .hero-btns { flex-direction: column; }
    .section { padding: 60px 0; }
    .section-lg { padding: 80px 0; }
    .page-hero { padding: 100px 0 60px; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .form-card { padding: 24px; }
    .container { padding: 0 16px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade { animation: fadeIn 0.6s ease forwards; }

/* Loading state */
.btn.loading { opacity: 0.7; pointer-events: none; }
.btn.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success state */
.form-success {
    text-align: center;
    padding: 40px 20px;
}
.form-success .success-icon {
    font-size: 3rem;
    color: #27ae60;
    margin-bottom: 16px;
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--text-light); }

/* ============================================================
   FORM SUCCESS STATE
   ============================================================ */
.form-success {
    text-align: center;
    padding: 50px 20px;
}
.form-success .success-icon {
    width: 70px;
    height: 70px;
    background: rgba(39,174,96,0.1);
    border: 2px solid rgba(39,174,96,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #27ae60;
    margin: 0 auto 20px;
}
.form-success h3 { margin-bottom: 12px; color: var(--primary); }
.form-success p { color: var(--text-light); font-size: 0.95rem; }

/* Page hero background image */
.page-hero {
    background-size: cover;
    background-position: center;
}
.page-hero::before {
    background-image: inherit;
}
