/* ============================================
   Dave's Auto Body — Stylesheet
   Teal + Slate Grey | Warm & Friendly
   ============================================ */

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

:root {
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;

    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'DM Serif Display', Georgia, serif;

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

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.12);

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--slate-800);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

a:hover {
    color: var(--teal-600);
}

ul {
    list-style: none;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-primary {
    background: var(--teal-700);
    color: #ffffff;
    border-color: var(--teal-700);
}

.btn-primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--teal-700);
    border-color: var(--teal-700);
}

.btn-secondary:hover {
    background: var(--teal-700);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow var(--transition);
}

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

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-900);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover {
    color: var(--teal-700);
}

.logo-icon {
    color: var(--teal-700);
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a:not(.btn) {
    color: var(--slate-600);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.main-nav a:not(.btn):hover {
    color: var(--teal-700);
    background: var(--teal-50);
}

.main-nav .btn {
    margin-left: 8px;
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.nav-toggle:hover {
    background: var(--slate-100);
}

.nav-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--teal-700) 0%,
        var(--teal-600) 25%,
        var(--teal-500) 50%,
        var(--slate-600) 75%,
        var(--slate-800) 100%
    );
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(20, 184, 166, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(100, 116, 139, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(15, 118, 110, 0.2) 0%, transparent 70%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Floating decorative shapes */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.hero::after {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--teal-100);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-headline br {
    display: none;
}

.hero-sub {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-actions .btn-primary {
    background: #ffffff;
    color: var(--teal-800);
    border-color: #ffffff;
}

.hero-actions .btn-primary:hover {
    background: var(--teal-50);
    border-color: var(--teal-50);
    color: var(--teal-800);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
}

.hero-detail svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* ---------- Section shared ---------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal-700);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--teal-500);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--slate-500);
    max-width: 600px;
    line-height: 1.7;
}

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

.services .section-label,
.services .section-title,
.services .section-desc {
    text-align: center;
}

.services .section-desc {
    margin: 0 auto 56px;
}

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

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: #ffffff;
}

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

.about-images {
    position: relative;
}

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

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

.about-img-float {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}

.about-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-stat {
    position: absolute;
    top: -20px;
    left: -16px;
    background: var(--teal-700);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.about-stat-label {
    display: block;
    font-size: 0.8125rem;
    opacity: 0.8;
    margin-top: 2px;
}

.about-content .section-title {
    text-align: left;
}

.about-content > p {
    color: var(--slate-600);
    margin-bottom: 16px;
    line-height: 1.75;
}

.about-checklist {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--slate-700);
    font-weight: 500;
}

.about-checklist svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ---------- Why Us ---------- */
.why-us {
    padding: 100px 0;
    background: var(--slate-900);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 0% 50%, rgba(13, 148, 136, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 100% 100%, rgba(100, 116, 139, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.why-us .container {
    position: relative;
    z-index: 1;
}

.why-us .section-label {
    color: var(--teal-400);
}

.why-us .section-label::before {
    background: var(--teal-500);
}

.why-us .section-title {
    color: #ffffff;
    text-align: center;
}

.why-us .section-desc {
    color: var(--slate-400);
    text-align: center;
    margin: 0 auto 56px;
}

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

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.why-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--teal-500);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.7;
}

/* ---------- Reviews ---------- */
.reviews {
    padding: 100px 0;
    background: var(--teal-50);
}

.reviews .section-label,
.reviews .section-title,
.reviews .section-desc {
    text-align: center;
}

.reviews .section-desc {
    margin: 0 auto 56px;
}

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

.review-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

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

.review-stars {
    display: flex;
    gap: 4px;
    color: #f59e0b;
    margin-bottom: 20px;
}

.review-text {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 24px;
    font-style: italic;
}

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

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--teal-700);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.review-name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--slate-900);
}

.review-location {
    font-size: 0.8125rem;
    color: var(--slate-400);
}

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    background: #ffffff;
}

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

.contact-info .section-title {
    text-align: left;
}

.contact-info .section-desc {
    text-align: left;
    margin-bottom: 40px;
}

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

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

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-400);
    margin-bottom: 4px;
}

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

.contact-value a {
    color: var(--teal-700);
    font-weight: 600;
}

.contact-value a:hover {
    color: var(--teal-600);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-200);
    position: relative;
}

.map-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.map-link img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.5);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background var(--transition);
}

.map-link:hover .map-overlay {
    background: rgba(15, 23, 42, 0.65);
}

/* ---------- Form ---------- */
.contact-form-wrap {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 40px;
}

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

.form-sub {
    font-size: 0.9375rem;
    color: var(--slate-500);
    margin-bottom: 28px;
    line-height: 1.6;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--slate-800);
    transition: all var(--transition);
    outline: none;
    width: 100%;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--slate-400);
    text-align: center;
    margin-top: 16px;
}

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

.form-success-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.form-success-icon {
    color: var(--teal-600);
}

.form-success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--slate-900);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.6;
    max-width: 320px;
}

/* Hidden by default — shown via JS */
.contact-form.hidden,
.form-success:not([hidden]) {
    display: block;
}

.contact-form.hidden {
    display: none;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: 64px 0 0;
}

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

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-400);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-200);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--slate-400);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
}

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

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

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: var(--slate-500);
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 48px;
    }

    .contact-grid {
        gap: 48px;
    }
}

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

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--slate-200);
        padding: 16px 24px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a:not(.btn) {
        display: block;
        padding: 12px 16px;
        border-radius: var(--radius-md);
    }

    .main-nav a:not(.btn):hover {
        background: var(--teal-50);
    }

    .main-nav .btn {
        margin-left: 0;
        justify-content: center;
        margin-top: 8px;
    }

    .hero {
        min-height: auto;
        padding: 140px 24px 100px;
    }

    .hero-headline br {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

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

    .about-images {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content > p {
        text-align: center;
    }

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

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

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

    .contact-info .section-title,
    .contact-info .section-desc {
        text-align: center;
    }

    .contact-info .section-desc {
        margin: 0 auto 40px;
    }

    .contact-form-wrap {
        padding: 28px 24px;
    }

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

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

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

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

    .header-inner {
        padding: 0 16px;
    }

    .hero {
        padding: 120px 16px 80px;
    }

    .services,
    .about,
    .why-us,
    .reviews,
    .contact {
        padding: 72px 0;
    }

    .service-card {
        padding: 28px 24px;
    }

    .about-img-float {
        right: -8px;
        bottom: -20px;
    }

    .about-stat {
        left: -8px;
        top: -12px;
    }
}
