/* ============================================
   Mary's Nails & Spa — Styles
   Classic & Elegant · Plum + Amber Palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --plum-50: #fdf2f8;
    --plum-100: #fce7f3;
    --plum-200: #fbcfe8;
    --plum-300: #f9a8d4;
    --plum-400: #f472b6;
    --plum-500: #db2777;
    --plum-600: #be185d;
    --plum-700: #9d174d;
    --plum-800: #831843;
    --plum-900: #500724;
    --plum-deep: #4A1942;
    --plum-mid: #6B2158;
    --plum-light: #8B3A6A;

    --amber-50: #FFFBF0;
    --amber-100: #FEF3E2;
    --amber-200: #FDE6C8;
    --amber-300: #FAD5A0;
    --amber-400: #F5C070;
    --amber-500: #E8A840;
    --amber-600: #D4903A;
    --amber-700: #B5722E;
    --amber-800: #8B5520;
    --amber-900: #5C3A12;
    --amber-gold: #C89B5C;
    --amber-light: #D4AF6E;

    --cream: #FDF8F4;
    --cream-dark: #F5EDE6;
    --warm-gray: #6B5E57;
    --warm-gray-light: #9C8E86;
    --charcoal: #2D2420;
    --off-white: #FDFBF9;

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

    --shadow-sm: 0 1px 3px rgba(74, 25, 66, 0.06), 0 1px 2px rgba(74, 25, 66, 0.04);
    --shadow-md: 0 4px 16px rgba(74, 25, 66, 0.08), 0 2px 6px rgba(74, 25, 66, 0.04);
    --shadow-lg: 0 12px 40px rgba(74, 25, 66, 0.12), 0 4px 12px rgba(74, 25, 66, 0.06);
    --shadow-xl: 0 24px 60px rgba(74, 25, 66, 0.15);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--off-white);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.938rem;
    letter-spacing: 0.01em;
    transition: all var(--transition);
    white-space: nowrap;
}

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

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

.btn-gold {
    background: linear-gradient(135deg, var(--amber-gold) 0%, var(--amber-light) 100%);
    color: var(--charcoal);
    box-shadow: 0 4px 16px rgba(200, 155, 92, 0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 155, 92, 0.45);
    background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber-gold) 100%);
}

.btn-plum {
    background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum-mid) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(74, 25, 66, 0.3);
}

.btn-plum:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 25, 66, 0.4);
    background: linear-gradient(135deg, var(--plum-mid) 0%, var(--plum-deep) 100%);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* --- Section Headers --- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.section-title em {
    font-style: italic;
    color: var(--plum-deep);
}

.section-subtitle {
    font-size: 1.063rem;
    color: var(--warm-gray);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 249, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(74, 25, 66, 0.06);
    transition: all var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--plum-deep);
}

.logo em {
    font-style: italic;
    color: var(--amber-gold);
}

.logo-icon {
    color: var(--plum-deep);
    flex-shrink: 0;
}

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

.main-nav a {
    padding: 8px 16px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--warm-gray);
    border-radius: 50px;
    transition: all var(--transition);
}

.main-nav a:hover {
    color: var(--plum-deep);
    background: var(--plum-50);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

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

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

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 36, 32, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--plum-deep);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(74, 25, 66, 0.88) 0%,
        rgba(74, 25, 66, 0.72) 40%,
        rgba(107, 33, 88, 0.65) 70%,
        rgba(80, 7, 36, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-gold);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--amber-light);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.82);
    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: 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;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.trust-item svg {
    color: var(--amber-gold);
    flex-shrink: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
    transition: color var(--transition);
}

.hero-scroll:hover {
    color: var(--amber-gold);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

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

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid rgba(74, 25, 66, 0.06);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-deep), var(--amber-gold));
    opacity: 0;
    transition: opacity var(--transition);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--plum-50), var(--plum-100));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-deep);
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--plum-deep), var(--plum-mid));
    color: #fff;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.313rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 12px;
}

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

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--cream);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    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: 500px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--cream);
}

.about-img-secondary img {
    width: 260px;
    height: 330px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber-gold), var(--amber-light));
    opacity: 0.2;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1.063rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--charcoal);
}

.about-feature svg {
    color: var(--amber-gold);
    flex-shrink: 0;
}

.about-content .btn {
    margin-top: 8px;
}

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

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: auto;
}

.gallery-item:first-child {
    grid-row: span 2;
}

.gallery-item:last-child {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74, 25, 66, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: #fff;
    font-weight: 500;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(160deg, var(--plum-deep) 0%, var(--plum-mid) 100%);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='0.02'%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");
}

.testimonials .section-eyebrow {
    color: var(--amber-gold);
}

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

.testimonials .section-title em {
    color: var(--amber-light);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.testimonial-quote {
    color: var(--amber-gold);
    margin-bottom: 20px;
    opacity: 0.7;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--amber-gold);
    letter-spacing: 0.03em;
}

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

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

.contact-desc {
    font-size: 1.063rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--plum-deep), var(--plum-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-gold);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
    margin-bottom: 4px;
}

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

.contact-link {
    color: var(--plum-deep);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}

.contact-link:hover {
    border-color: var(--plum-deep);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(74, 25, 66, 0.06);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 28px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(74, 25, 66, 0.12);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.938rem;
    color: var(--charcoal);
    background: var(--off-white);
    transition: all var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-deep);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(74, 25, 66, 0.08);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--plum-50), var(--plum-100));
    border-radius: var(--radius-md);
    margin-top: 16px;
    color: var(--plum-deep);
    font-weight: 500;
}

.form-success svg {
    color: var(--plum-deep);
    flex-shrink: 0;
}

/* --- Map --- */
.map-section {
    background: var(--cream-dark);
}

.map-container {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: saturate(0.7) contrast(1.05);
}

/* --- Footer --- */
.site-footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.logo-light {
    color: #fff;
}

.logo-light .logo-icon {
    color: var(--amber-gold);
}

.logo-light em {
    color: var(--amber-gold);
}

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

.footer-brand .footer-tagline {
    font-size: 0.938rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
    font-family: var(--font-serif);
    font-size: 1.063rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

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

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

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

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

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

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

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: var(--off-white);
        padding: 100px 32px 40px;
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-xl);
        z-index: 1000;
    }

    .main-nav.active {
        transform: translateX(0);
    }

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

    .main-nav a {
        padding: 14px 16px;
        font-size: 1.063rem;
        border-radius: var(--radius-md);
    }

    .main-nav .btn-gold {
        text-align: center;
        justify-content: center;
        margin-top: 16px;
    }

    .hero-content {
        padding: 140px 24px 100px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

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

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

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

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

    .about-img-secondary {
        right: -16px;
        bottom: -24px;
    }

    .about-img-secondary img {
        width: 200px;
        height: 260px;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:first-child,
    .gallery-item:last-child {
        grid-row: span 1;
    }

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

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

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

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

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

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

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

    .services,
    .about,
    .gallery,
    .testimonials,
    .contact {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

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

    .gallery-item:first-child,
    .gallery-item:last-child {
        grid-row: span 1;
    }
}

/* --- Scroll Reveal (Progressive Enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s 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; }
}

/* Reduced motion: ensure all content is visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
