/* ========================================
   Meg's Sewing Spot — Styles
   Charcoal + Coral | Bold Editorial
   ======================================== */

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

:root {
    --charcoal-900: #1a1a1a;
    --charcoal-800: #2a2a2a;
    --charcoal-700: #3a3a3a;
    --charcoal-600: #4a4a4a;
    --charcoal-500: #5a5a5a;
    --charcoal-400: #8a8a8a;
    --charcoal-300: #b0b0b0;
    --charcoal-100: #f0f0f0;
    --charcoal-50: #f8f8f8;

    --coral-600: #c94430;
    --coral-500: #E85D4A;
    --coral-400: #f07868;
    --coral-300: #f5a096;
    --coral-200: #fad4cf;
    --coral-100: #fdecec;
    --coral-50: #fef6f5;

    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --nav-height: 72px;
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-max: 1200px;
}

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

body {
    font-family: var(--sans);
    color: var(--charcoal-800);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal-900);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background: var(--coral-500);
    color: #fff;
    border-color: var(--coral-500);
}

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

.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn--ghost-light {
    background: transparent;
    color: var(--charcoal-800);
    border-color: var(--charcoal-300);
}

.btn--ghost-light:hover {
    border-color: var(--coral-500);
    color: var(--coral-500);
}

.btn--full {
    width: 100%;
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header__eyebrow {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 0.75rem;
}

.section-header__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
}

.nav__logo-mark {
    width: 36px;
    height: 36px;
    background: var(--coral-500);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.nav__link:hover {
    color: var(--coral-300);
}

.nav__link--cta {
    background: var(--coral-500);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav__link--cta:hover {
    background: var(--coral-400);
    color: #fff;
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle-line {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--charcoal-900);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

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

.mobile-menu__link {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    padding: 1rem 0;
    transition: color 0.3s ease;
}

.mobile-menu__link:hover {
    color: var(--coral-400);
}

.mobile-menu__link--cta {
    color: var(--coral-500);
}

.mobile-menu__contact {
    margin-top: 2.5rem;
    color: var(--charcoal-400);
    font-size: 0.875rem;
    line-height: 2;
}

.mobile-menu__contact a {
    color: var(--coral-300);
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 2rem) 1.5rem 4rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--charcoal-900) 0%,
        #2d1f1c 30%,
        var(--coral-600) 70%,
        var(--coral-400) 100%
    );
    z-index: 0;
}

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

/* Decorative pattern overlay */
.hero__bg::after {
    content: '';
    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");
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral-200);
    margin-bottom: 1.5rem;
}

.hero__headline {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero__accent {
    color: var(--coral-300);
    font-style: italic;
    font-weight: 500;
}

.hero__sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   Services
   ======================================== */
.services {
    padding: var(--section-padding) 0;
    background: #fff;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--charcoal-100);
    transition: all 0.4s ease;
    background: #fff;
}

.service-card:hover {
    border-color: var(--coral-200);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--coral-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-500);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
    background: var(--coral-500);
    color: #fff;
}

.service-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.625rem;
}

.service-card__text {
    font-size: 0.9375rem;
    color: var(--charcoal-500);
    line-height: 1.65;
}

/* ========================================
   About
   ======================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--charcoal-50);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about__image {
    position: relative;
}

.about__image img {
    border-radius: 12px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 120px;
    height: 120px;
    background: var(--coral-500);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.2;
}

.about__content {
    padding: 1rem 0;
}

.about__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 0.75rem;
}

.about__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.about__body {
    font-size: 1rem;
    color: var(--charcoal-600);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about__stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--charcoal-100);
}

.stat__number {
    display: block;
    font-family: var(--serif);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--coral-500);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat__label {
    font-size: 0.8125rem;
    color: var(--charcoal-500);
    letter-spacing: 0.02em;
}

/* ========================================
   Gallery
   ======================================== */
.gallery {
    padding: var(--section-padding) 0;
    background: #fff;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 1.25rem;
}

.gallery__item {
    border-radius: 12px;
    overflow: hidden;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 3; }
.gallery__item:nth-child(2) { grid-column: 6 / 9; grid-row: 1; }
.gallery__item:nth-child(3) { grid-column: 9 / 13; grid-row: 1; }
.gallery__item:nth-child(4) { grid-column: 1 / 4; grid-row: 2; }
.gallery__item:nth-child(5) { grid-column: 4 / 8; grid-row: 2; }
.gallery__item:nth-child(6) { grid-column: 8 / 13; grid-row: 2; }

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--charcoal-900);
}

.testimonials .section-header__title {
    color: #fff;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--charcoal-800);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    border: 1px solid var(--charcoal-700);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--coral-500);
    transform: translateY(-4px);
}

.testimonial-card__quote-mark {
    font-family: var(--serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--coral-500);
    opacity: 0.4;
    position: absolute;
    top: 0.75rem;
    left: 1.25rem;
}

.testimonial-card__text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-card__author {
    font-size: 0.875rem;
    color: var(--coral-300);
    font-weight: 500;
}

/* ========================================
   CTA
   ======================================== */
.cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--coral-500) 0%, var(--coral-600) 100%);
}

.cta__inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.cta__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: #fff;
    margin-bottom: 1rem;
}

.cta__body {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta__actions .btn--ghost-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.cta__actions .btn--ghost-light:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   Contact
   ======================================== */
.contact {
    padding: var(--section-padding) 0;
    background: #fff;
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.contact__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 0.75rem;
}

.contact__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 2.5rem;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact__detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact__detail-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--coral-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-500);
}

.contact__detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-400);
    margin-bottom: 0.25rem;
}

.contact__detail-value {
    display: block;
    font-size: 1rem;
    color: var(--charcoal-800);
    line-height: 1.6;
}

.contact__detail-value a {
    transition: color 0.3s ease;
}

.contact__detail-value a:hover {
    color: var(--coral-500);
}

/* Form */
.contact__form-wrapper {
    background: var(--charcoal-50);
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--charcoal-100);
}

.contact__form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form__group {
    margin-bottom: 1.25rem;
}

.form__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--charcoal-600);
    margin-bottom: 0.5rem;
}

.form__input {
    width: 100%;
    padding: 0.8125rem 1rem;
    border: 1.5px solid var(--charcoal-100);
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 0.9375rem;
    color: var(--charcoal-800);
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.form__input:focus {
    border-color: var(--coral-500);
    box-shadow: 0 0 0 3px rgba(232, 93, 74, 0.1);
}

.form__input::placeholder {
    color: var(--charcoal-300);
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a8a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #e8f5e9;
    border-radius: 8px;
    color: #2e7d32;
    font-size: 0.9375rem;
    margin-top: 1rem;
}

.form__success.show {
    display: flex;
}

/* ========================================
   Map
   ======================================== */
.map-section {
    height: 320px;
    filter: grayscale(0.5);
}

.map-section__map {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--charcoal-900);
    padding: 4rem 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--charcoal-700);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer__logo-mark {
    width: 36px;
    height: 36px;
    background: var(--coral-500);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
}

.footer__tagline {
    font-size: 0.9375rem;
    color: var(--charcoal-400);
    line-height: 1.65;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a {
    font-size: 0.9375rem;
    color: var(--charcoal-400);
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--coral-400);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__contact a {
    font-size: 0.9375rem;
    color: var(--charcoal-400);
    transition: color 0.3s ease;
}

.footer__contact a:hover {
    color: var(--coral-400);
}

.footer__contact span {
    font-size: 0.9375rem;
    color: var(--charcoal-400);
}

.footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: var(--charcoal-500);
}

/* ========================================
   Scroll Reveal
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Stagger children */
.services__grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.services__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.services__grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.services__grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.testimonials__grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.testimonials__grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.testimonials__grid .reveal:nth-child(3) { transition-delay: 0.25s; }

.gallery__item.reveal:nth-child(1) { transition-delay: 0.05s; }
.gallery__item.reveal:nth-child(2) { transition-delay: 0.1s; }
.gallery__item.reveal:nth-child(3) { transition-delay: 0.15s; }
.gallery__item.reveal:nth-child(4) { transition-delay: 0.2s; }
.gallery__item.reveal:nth-child(5) { transition-delay: 0.25s; }
.gallery__item.reveal:nth-child(6) { transition-delay: 0.3s; }

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   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: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .gallery__grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto auto;
    }
    .gallery__item:nth-child(1) { grid-column: 1 / 4; grid-row: 1; }
    .gallery__item:nth-child(2) { grid-column: 4 / 7; grid-row: 1; }
    .gallery__item:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
    .gallery__item:nth-child(4) { grid-column: 3 / 5; grid-row: 2; }
    .gallery__item:nth-child(5) { grid-column: 5 / 7; grid-row: 2; }
    .gallery__item:nth-child(6) { grid-column: 1 / 7; grid-row: 3; }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }
    .nav__toggle {
        display: flex;
    }

    .hero__headline {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

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

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

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

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

    .testimonials__grid .testimonial-card:last-child {
        max-width: none;
    }

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

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery__item:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
    .gallery__item:nth-child(4) { grid-column: 1 / -1; grid-row: auto; }
    .gallery__item:nth-child(6) { grid-column: 1 / -1; grid-row: auto; }
    .gallery__item img {
                height: 260px;
            }
    .gallery__item:nth-child(1) img { height: 320px; }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }
    .hero__actions .btn {
        width: 100%;
    }
    .cta__actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .cta__actions .btn {
        width: 100%;
    }
    .about__stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    .gallery__item:nth-child(1),
    .gallery__item:nth-child(4),
    .gallery__item:nth-child(6) {
        grid-column: auto;
    }
    .gallery__item img {
        height: 260px;
    }
}
