/* ============================================
   Sage Salon — Stylesheet
   Palette: Midnight Blue (#1B3A5C) + Mint (#4A8B7F)
   Fonts: Cormorant Garamond + Montserrat
============================================ */

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

:root {
    --midnight: #1B3A5C;
    --midnight-deep: #0F2440;
    --midnight-light: #2A5580;
    --mint: #4A8B7F;
    --mint-light: #6BAF9F;
    --mint-pale: #E8F4F0;
    --mint-ghost: #F0F7F5;
    --cream: #FAFAF8;
    --warm-white: #F5F3EF;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --text-muted: #9A9A9A;
    --border: #E8E6E2;
    --shadow-sm: 0 1px 3px rgba(27, 58, 92, 0.06);
    --shadow-md: 0 4px 20px rgba(27, 58, 92, 0.08);
    --shadow-lg: 0 12px 40px rgba(27, 58, 92, 0.12);
    --shadow-xl: 0 20px 60px rgba(27, 58, 92, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    color: var(--midnight);
}

em {
    font-style: italic;
    color: var(--mint);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
    font-weight: 300;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

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

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

.btn-primary {
    background: var(--mint);
    color: #fff;
    box-shadow: 0 4px 16px rgba(74, 139, 127, 0.3);
}

.btn-primary:hover {
    background: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 139, 127, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--mint);
    border: 1.5px solid var(--mint);
}

.btn-outline-light:hover {
    background: var(--mint);
    color: #fff;
    transform: translateY(-2px);
}

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

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

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    transition: color var(--transition);
}

.header.scrolled .logo {
    color: var(--midnight);
}

.logo-mark {
    display: flex;
    align-items: center;
    opacity: 0.9;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.logo-light { color: #fff !important; }

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

.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--mint);
    transition: width var(--transition);
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #fff; }

.header.scrolled .nav-link {
    color: var(--text-mid);
}

.header.scrolled .nav-link:hover {
    color: var(--midnight);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--mint);
    color: #fff !important;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--mint-light);
    transform: translateY(-1px);
}

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.header.scrolled .mobile-toggle span {
    background: var(--midnight);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.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(
        135deg,
        rgba(15, 36, 64, 0.82) 0%,
        rgba(27, 58, 92, 0.70) 50%,
        rgba(74, 139, 127, 0.45) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    width: 100%;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mint-light);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 700px;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    line-height: 1.75;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ---------- Intro / About ---------- */
.intro {
    padding: 120px 0;
    background: var(--cream);
}

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

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.intro-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--mint);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.4;
}

.intro-text .section-title {
    margin-bottom: 24px;
}

.intro-text p {
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.intro-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--mint);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
}

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

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

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mint), var(--mint-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(74, 139, 127, 0.1);
}

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

.service-card:hover .service-icon {
    background: var(--mint);
    color: #fff;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 16px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

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

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

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

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

.gallery-overlay span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: #fff;
    font-style: italic;
}

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

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 120px 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(74, 139, 127, 0.06);
}

.testimonials .section-eyebrow { color: var(--mint-light); }
.testimonials .section-title { color: #fff; }
.testimonials .section-title em { color: var(--mint-light); }

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

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

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

.testimonial-quote {
    margin-bottom: 20px;
    color: var(--mint-light);
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(74, 139, 127, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint-light);
}

.author-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}

/* ---------- CTA Strip ---------- */
.cta-strip {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--mint) 0%, var(--mint-light) 100%);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #fff;
    margin-bottom: 8px;
}

.cta-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-actions .btn-outline-light {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.cta-actions .btn-outline-light:hover {
    background: #fff;
    color: var(--mint);
    border-color: #fff;
}

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

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

.contact-desc {
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 40px;
    font-size: 0.9375rem;
}

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

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

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-sm);
    background: var(--mint-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
}

.contact-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.contact-value a {
    transition: color var(--transition);
}

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

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

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--midnight);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74, 139, 127, 0.1);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A7A7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form-success.show {
    display: block;
    animation: fadeUp 0.5s forwards;
}

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

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--midnight);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--text-mid);
}

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

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

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

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.5);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

.footer-contact p {
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 4px;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    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; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .intro-grid { gap: 48px; }
    .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;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--midnight-deep);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }
    
    .nav.open { right: 0; }
    
    .nav-link {
        color: rgba(255,255,255,0.85) !important;
        font-size: 1rem;
    }
    
    .nav-cta {
        margin-top: 8px;
    }
    
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition);
    }
    
    .mobile-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-image img { height: 350px; }
    
    .intro-image-accent { display: none; }
    
    .services-grid { grid-template-columns: 1fr; }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    
    .gallery-item:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
    .gallery-item:nth-child(2) { grid-column: 1 / 2; }
    .gallery-item:nth-child(3) { grid-column: 2 / 3; }
    .gallery-item:nth-child(4) { grid-column: 1 / 2; }
    .gallery-item:nth-child(5) { grid-column: 2 / 3; }
    .gallery-item:nth-child(6) { grid-column: 1 / -1; }
    
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card:last-child {
        grid-column: auto;
        max-width: none;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper { padding: 32px 24px; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    
    .intro-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 100%; height: 1px; }
    
    .services-grid { gap: 16px; }
    .service-card { padding: 28px 24px; }
    
    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .gallery-item { height: 220px; }
    .gallery-item:nth-child(1) { grid-column: auto; }
}
