/* ============================================
   Complete Chiropractic of Rochester
   Warm, Friendly, Terracotta & Sand
   ============================================ */

/* --- Custom Properties --- */
:root {
    --terracotta-50: #fdf0ec;
    --terracotta-100: #fce4da;
    --terracotta-200: #f8c4b0;
    --terracotta-300: #f2a07e;
    --terracotta-400: #e87d52;
    --terracotta-500: #c0603a;
    --terracotta-600: #a84e2e;
    --terracotta-700: #8b3d25;
    --terracotta-800: #703120;
    --terracotta-900: #5c2a1d;

    --sand-50: #fdf8f4;
    --sand-100: #f9efdf;
    --sand-200: #f2dfc0;
    --sand-300: #e8c9a0;
    --sand-400: #d4a574;
    --sand-500: #c4915a;
    --sand-600: #b07d4a;
    --sand-700: #8e6339;

    --warm-gray-50: #faf8f6;
    --warm-gray-100: #f5f0eb;
    --warm-gray-200: #e8e0d8;
    --warm-gray-300: #d4c8bc;
    --warm-gray-600: #6b5e54;
    --warm-gray-700: #4a4038;
    --warm-gray-800: #2d2620;
    --warm-gray-900: #1a1510;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(45, 38, 32, 0.06), 0 1px 2px rgba(45, 38, 32, 0.04);
    --shadow-md: 0 4px 12px rgba(45, 38, 32, 0.08), 0 2px 4px rgba(45, 38, 32, 0.04);
    --shadow-lg: 0 12px 40px rgba(45, 38, 32, 0.12), 0 4px 12px rgba(45, 38, 32, 0.06);
    --shadow-xl: 0 24px 60px rgba(45, 38, 32, 0.15);

    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Lora', Georgia, serif;
}

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

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--warm-gray-800);
    background-color: var(--sand-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--terracotta-500);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}
.skip-link:focus {
    top: 16px;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    line-height: 1.2;
    color: var(--warm-gray-900);
}

/* --- 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-radius: var(--radius-full);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta-500);
    color: #fff;
    padding: 14px 28px;
    box-shadow: 0 4px 16px rgba(192, 96, 58, 0.3);
}
.btn-primary:hover {
    background: var(--terracotta-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 96, 58, 0.35);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 14px 28px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    transform: translateY(-2px);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.0625rem;
}

.btn-full {
    width: 100%;
}

/* --- Section Tags --- */
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terracotta-500);
    background: var(--terracotta-50);
    border: 1px solid var(--terracotta-200);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-tag-light {
    color: var(--sand-200);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- Section Titles --- */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-desc {
    margin: 0 auto;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 248, 244, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--terracotta-600);
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
}
.logo-icon {
    flex-shrink: 0;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--warm-gray-600);
    letter-spacing: 0.02em;
}

.logo-footer {
    color: var(--sand-200);
}
.logo-footer .logo-sub {
    color: var(--sand-400);
}

/* --- Navigation --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--warm-gray-700);
    transition: color 0.2s ease;
    position: relative;
}
.nav-menu a:not(.btn):hover {
    color: var(--terracotta-500);
}
.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta-500);
    border-radius: 1px;
    transition: width 0.25s ease;
}
.nav-menu a:not(.btn):hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: 8px;
}
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--warm-gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #c0603a 0%, #e87d52 30%, #f2a07e 55%, #f8c4b0 75%, #f2c9a0 100%);
    overflow: hidden;
    padding: 120px 24px 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}
.orb-1 {
    width: 500px;
    height: 500px;
    background: #a84e2e;
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}
.orb-2 {
    width: 400px;
    height: 400px;
    background: #f8c4b0;
    bottom: -5%;
    left: -5%;
    animation-delay: -3s;
}
.orb-3 {
    width: 300px;
    height: 300px;
    background: #f2a07e;
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}
.hero-title {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    color: #fff;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(92, 42, 29, 0.2);
}
.hero-accent {
    font-family: var(--font-sans);
    font-size: 0.7em;
    font-weight: 500;
    opacity: 0.9;
}
.hero-desc {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    font-weight: 500;
}
.trust-item svg {
    opacity: 0.8;
}
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}
.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* --- Section Base --- */
.section {
    padding: 96px 0;
}

/* --- Services --- */
.services {
    background: var(--sand-50);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--sand-200);
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--terracotta-200);
}
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta-50);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}
.service-card h3 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.9375rem;
    color: var(--warm-gray-600);
    line-height: 1.65;
}

/* --- About --- */
.about {
    background: var(--warm-gray-50);
}
.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-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--sand-50);
}
.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-accent-box {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--terracotta-500);
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.about-accent-box .accent-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}
.about-accent-box .accent-label {
    display: block;
    font-size: 0.8125rem;
    opacity: 0.8;
    margin-top: 2px;
}
.about-content .section-tag {
    margin-bottom: 16px;
}
.about-content .section-title {
    margin-bottom: 24px;
}
.about-text {
    font-size: 1.0625rem;
    color: var(--warm-gray-600);
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--warm-gray-700);
    font-weight: 500;
}
.about-feature-icon {
    flex-shrink: 0;
    margin-top: 2px;
}
.about-content .btn {
    margin-top: 8px;
}

/* --- New Patients --- */
.new-patients {
    background: linear-gradient(145deg, var(--terracotta-700) 0%, var(--terracotta-500) 100%);
    padding: 96px 0;
}
.new-patients-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.new-patients-content .section-title,
.new-patients-content .section-title-light {
    color: #fff;
}
.new-patients-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 36px;
}
.new-patients-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.new-patients-steps li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
}
.new-patients-steps strong {
    display: block;
    color: #fff;
    font-size: 1.0625rem;
    margin-bottom: 4px;
}
.new-patients-steps span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.new-patients-steps a {
    color: var(--sand-200);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.new-patients-steps a:hover {
    color: #fff;
}
.new-patients-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.new-patients-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Testimonials --- */
.testimonials {
    background: var(--sand-50);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--sand-200);
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--sand-500);
    margin-bottom: 16px;
}
.testimonial-text {
    font-size: 1rem;
    color: var(--warm-gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--sand-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--warm-gray-900);
}
.author-detail {
    display: block;
    font-size: 0.8125rem;
    color: var(--warm-gray-600);
}

/* --- Contact --- */
.contact {
    background: var(--warm-gray-50);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}
.contact-desc {
    font-size: 1.0625rem;
    color: var(--warm-gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-detail-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta-50);
    border-radius: var(--radius-md);
}
.contact-detail .contact-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--warm-gray-600);
    margin-bottom: 4px;
}
.contact-detail a {
    color: var(--terracotta-600);
    font-weight: 600;
    font-size: 1.0625rem;
    transition: color 0.2s ease;
}
.contact-detail a:hover {
    color: var(--terracotta-700);
}
.contact-detail > div > span:last-child {
    font-size: 0.9375rem;
    color: var(--warm-gray-600);
    line-height: 1.6;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--sand-200);
}
.form-title {
    font-family: var(--font-sans);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: 28px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--warm-gray-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sand-300);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--warm-gray-800);
    background: var(--sand-50);
    transition: all 0.2s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terracotta-400);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(192, 96, 58, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--sand-400);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--terracotta-50);
    border: 1px solid var(--terracotta-200);
    border-radius: var(--radius-md);
    color: var(--terracotta-700);
    font-size: 0.9375rem;
    font-weight: 500;
}

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

/* --- Footer --- */
.site-footer {
    background: var(--warm-gray-900);
    color: var(--sand-300);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p {
    margin-top: 16px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--sand-400);
    max-width: 300px;
}
.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sand-200);
    margin-bottom: 20px;
}
.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a,
.footer-contact a {
    font-size: 0.9375rem;
    color: var(--sand-400);
    transition: color 0.2s ease;
}
.footer-links a:hover,
.footer-contact a:hover {
    color: var(--terracotta-300);
}
.footer-contact li:last-child {
    color: var(--sand-400);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.footer-bottom {
    border-top: 1px solid rgba(212, 165, 116, 0.15);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--warm-gray-600);
}

/* --- Mobile Menu --- */
.nav-menu.active {
    display: flex;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(253, 248, 244, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--sand-200);
        box-shadow: var(--shadow-md);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu a {
        font-size: 1rem;
        padding: 8px 0;
    }
    .nav-menu a:not(.btn)::after {
        display: none;
    }
    .nav-menu li:last-child {
        margin-top: 8px;
    }
    .nav-menu li:last-child .btn {
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 140px 24px 100px;
    }
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .section {
        padding: 64px 0;
    }

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

    .about-grid,
    .new-patients-inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-img-secondary {
        right: 16px;
        bottom: -20px;
    }
    .about-accent-box {
        top: -12px;
        left: -12px;
    }
    .about-features {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero {
        padding: 120px 16px 80px;
    }
    .service-card {
        padding: 28px 22px;
    }
}

/* --- 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;
    }
}
