/* ============================================
   McIntosh Automotive — Modern Auto Repair Site
   Charcoal + Coral | Vibrant Geometric Design
   ============================================ */

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

:root {
    --charcoal: #1A1D23;
    --charcoal-light: #2A2D35;
    --charcoal-mid: #3A3D45;
    --coral: #E85D4A;
    --coral-light: #FF7A66;
    --coral-dark: #C94A38;
    --coral-pale: #FFF0EE;
    --white: #FFFFFF;
    --off-white: #F7F8FA;
    --gray-100: #F0F1F3;
    --gray-200: #E2E4E8;
    --gray-300: #C5C8CE;
    --gray-500: #8A8D96;
    --gray-700: #4A4D56;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(26, 29, 35, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 29, 35, 0.10);
    --shadow-lg: 0 20px 60px rgba(26, 29, 35, 0.14);
    --transition: 0.3s 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: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* ---------- GEOMETRIC DECORATIONS (global) ---------- */
.geo-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: var(--coral);
    top: -200px;
    right: -150px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: var(--charcoal);
    bottom: 10%;
    left: -100px;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.03;
}

.geo-triangle--1 {
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid var(--coral);
    top: 40%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-square {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--coral);
    opacity: 0.03;
    bottom: 25%;
    left: 8%;
    transform: rotate(45deg);
}

.geo-dots {
    position: absolute;
    top: 30%;
    left: 3%;
    display: grid;
    grid-template-columns: repeat(5, 10px);
    gap: 14px;
    opacity: 0.06;
}

.geo-dots span {
    width: 6px;
    height: 6px;
    background: var(--charcoal);
    border-radius: 50%;
}

/* ---------- HEADER / NAV ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 29, 35, 0.06);
    transition: var(--transition);
}

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

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

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

.logo-accent {
    color: var(--coral);
}

.logo-text {
    letter-spacing: -0.02em;
}

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

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

.nav-links a:not(.btn):hover {
    color: var(--coral);
}

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

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.85rem !important;
    padding: 10px 20px !important;
}

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

.nav-toggle-bar {
    width: 24px;
    height: 2.5px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

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

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn--primary {
    background: var(--coral);
    color: var(--white);
    border-color: var(--coral);
}

.btn--primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 93, 74, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

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

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

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

.btn--cta {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}

.btn--cta:hover {
    background: var(--coral);
    border-color: var(--coral);
    transform: translateY(-1px);
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    border-radius: var(--radius-md);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        var(--charcoal) 0%,
        #2A2520 30%,
        #3D2018 60%,
        var(--coral-dark) 100%
    );
    z-index: 0;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(232, 93, 74, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(232, 93, 74, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--coral-light);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--coral-light) 0%, var(--coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 40px;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero geometric shapes */
.hero-geo {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.08;
}

.geo-shape--circle {
    width: 300px;
    height: 300px;
    border: 3px solid var(--coral-light);
    border-radius: 50%;
    top: 10%;
    right: -50px;
}

.geo-shape--square {
    width: 120px;
    height: 120px;
    background: var(--coral);
    bottom: 15%;
    left: 5%;
    transform: rotate(30deg);
}

.geo-shape--ring {
    width: 200px;
    height: 200px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 20%;
    left: 8%;
}

.geo-shape--dot {
    width: 12px;
    height: 12px;
    background: var(--coral-light);
    border-radius: 50%;
    bottom: 30%;
    right: 12%;
}

/* ---------- SECTION COMMON ---------- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--coral);
    background: var(--coral-pale);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

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

.text-coral {
    color: var(--coral);
}

/* ---------- SERVICES ---------- */
.services {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--charcoal), var(--coral), var(--charcoal));
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--coral-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral);
    margin-bottom: 20px;
    transition: all var(--transition);
}

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

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

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

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

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

.about-visual {
    position: relative;
}

.about-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 6/5;
}

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

.about-accent-block {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--coral);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 30px rgba(232, 93, 74, 0.4);
}

.about-accent-block .accent-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-accent-block .accent-label {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 4px;
    display: block;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

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

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--gray-200);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--charcoal);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ---------- WHY US ---------- */
.why-us {
    padding: 100px 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 93, 74, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.why-us .section-tag {
    background: rgba(232, 93, 74, 0.15);
}

.why-us .section-title {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: var(--charcoal-light);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all var(--transition);
}

.why-card:hover {
    background: var(--charcoal-mid);
    transform: translateY(-4px);
    border-color: rgba(232, 93, 74, 0.3);
}

.why-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--coral);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.why-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 100px 0;
    background: var(--off-white);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    position: relative;
}

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

.testimonial-quote-mark {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--coral);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -8px;
}

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

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--coral-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral);
}

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

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

.testimonial-detail {
    font-size: 0.8rem;
    color: var(--gray-500);
}

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

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

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

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

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

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

.contact-detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--coral-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral);
}

.contact-detail div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-detail strong {
    font-size: 0.9rem;
    color: var(--charcoal);
    font-weight: 600;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.contact-detail a:hover {
    color: var(--coral);
}

/* Form */
.contact-form-wrapper {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-200);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--coral);
}

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

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

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

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

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

/* ---------- LOCATION BANNER ---------- */
.location-banner {
    background: var(--charcoal);
    padding: 56px 0;
}

.location-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.location-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.location-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- FOOTER ---------- */
.footer {
    background: #13151A;
    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.06);
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

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

.footer-links a,
.footer-contact li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

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

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        margin-top: 8px;
    }

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

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

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

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

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

    .about-accent-block {
        right: 10px;
        bottom: -10px;
    }

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

    .about-content .section-tag {
        display: block;
        text-align: center;
    }

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

    .about-stats {
        justify-content: center;
    }

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

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

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

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

    .contact-info .section-tag {
        display: block;
        text-align: center;
    }

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

    .location-content {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}

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

    .hero-title {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

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

    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}
