/* ============================================
   SANDRA STYLE BEAUTY SALON — STYLES
   Burgundy + Blush | Vibrant Modern Geometric
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5A1F2B;
    --burgundy-deep: #3D1520;
    --blush: #F5D5CC;
    --blush-light: #FDF0EC;
    --blush-mid: #F8E8E2;
    --coral: #E87461;
    --coral-light: #F4978A;
    --cream: #FFF9F7;
    --white: #FFFFFF;
    --charcoal: #1A1A1A;
    --dark: #2D2D2D;
    --gray: #6B6B6B;
    --gray-light: #9A9A9A;
    --gray-bg: #F7F3F1;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(123, 45, 59, 0.08);
    --shadow-md: 0 4px 16px rgba(123, 45, 59, 0.1);
    --shadow-lg: 0 8px 32px rgba(123, 45, 59, 0.12);
    --shadow-xl: 0 16px 48px rgba(123, 45, 59, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

ul {
    list-style: none;
}

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

/* ---------- Geometric Background Shapes ---------- */
.geo-shape {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--burgundy);
    top: -200px;
    right: -200px;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--coral);
    bottom: 10%;
    left: -150px;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 346px solid var(--burgundy);
    top: 40%;
    right: -80px;
    opacity: 0.03;
    transform: rotate(15deg);
}

.geo-square {
    width: 300px;
    height: 300px;
    background: var(--coral);
    bottom: 30%;
    left: 5%;
    transform: rotate(45deg);
    opacity: 0.03;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 249, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 249, 247, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

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

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

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

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--burgundy);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--burgundy);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--burgundy-dark);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy) 30%, var(--coral) 70%, var(--coral-light) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(123, 45, 59, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232, 116, 97, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(90, 31, 43, 0.3) 0%, transparent 60%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.5) 35px, rgba(255,255,255,0.5) 36px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,0.5) 35px, rgba(255,255,255,0.5) 36px);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.h-shape {
    position: absolute;
    opacity: 0.12;
}

.h-s1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--blush);
    top: -50px;
    left: -80px;
}

.h-s2 {
    width: 180px;
    height: 180px;
    background: var(--coral-light);
    border-radius: 50%;
    top: 20%;
    right: 5%;
}

.h-s3 {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    bottom: 15%;
    left: 8%;
}

.h-s4 {
    width: 80px;
    height: 80px;
    background: var(--blush);
    top: 40%;
    right: 15%;
    transform: rotate(45deg);
}

.h-s5 {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    bottom: -40px;
    right: 10%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
    padding-top: 72px;
}

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

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

.title-line {
    display: block;
}

.title-accent {
    color: var(--blush);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    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: 56px;
}

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

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

.btn-primary:hover {
    background: var(--blush);
    border-color: var(--blush);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--blush-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

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

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

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

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

/* ---------- Services Section ---------- */
.services {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--cream);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(123, 45, 59, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--blush-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: var(--burgundy);
}

.service-card:hover .service-icon-wrap svg {
    stroke: var(--white);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

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

/* ---------- About Section ---------- */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--gray-bg);
}

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

.about-visual {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-img-accent img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--burgundy);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

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

.badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

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

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

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

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--blush);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
}

/* ---------- Gallery Section ---------- */
.gallery {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--cream);
}

.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:nth-child(1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(2) { aspect-ratio: 1; }
.gallery-item:nth-child(3) { aspect-ratio: 4/5; }
.gallery-item:nth-child(4) { aspect-ratio: 1; }
.gallery-item:nth-child(5) { aspect-ratio: 4/5; }
.gallery-item:nth-child(6) { aspect-ratio: 1; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

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

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

/* ---------- Testimonials Section ---------- */
.testimonials {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--gray-bg);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(123, 45, 59, 0.06);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

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

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

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--burgundy), var(--coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.95rem;
}

.author-location {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-light);
    margin-top: 2px;
}

/* ---------- CTA Section ---------- */
.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy) 50%, var(--coral) 100%);
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(232, 116, 97, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 20% 50%, rgba(61, 21, 32, 0.4) 0%, transparent 50%);
}

.cta-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

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

.c-s1 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--white);
    top: -60px;
    left: 10%;
}

.c-s2 {
    width: 150px;
    height: 150px;
    background: var(--blush);
    border-radius: 50%;
    bottom: -40px;
    right: 15%;
}

.c-s3 {
    width: 100px;
    height: 100px;
    background: var(--white);
    top: 50%;
    right: 5%;
    transform: rotate(45deg);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Contact Section ---------- */
.contact {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--cream);
}

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

.contact-info {
    padding: 20px 0;
}

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

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--blush-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

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

.contact-value a {
    color: var(--burgundy);
    font-weight: 500;
}

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

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(123, 45, 59, 0.06);
}

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

.form-subtitle {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 28px;
}

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

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(123, 45, 59, 0.15);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--gray-light);
}

.form-input:focus {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

.form-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='%237B2D3B' stroke-width='2.5' 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-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    background: #E8F5E9;
    color: #2E7D32;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
}

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

/* ---------- Map Section ---------- */
.map-section {
    position: relative;
    z-index: 1;
}

.map-section iframe {
    filter: saturate(0.7) contrast(1.05);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .nav-logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .nav-logo-icon circle {
    fill: var(--blush);
}

.footer-brand .nav-logo-icon path {
    fill: var(--white);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

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

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

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

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.8;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

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

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- 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;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
    
    .nav-cta {
        font-size: 1rem;
        padding: 14px 28px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-img-accent {
        right: 16px;
        bottom: -20px;
        width: 160px;
    }
    
    .about-img-main img {
        height: 400px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(5) {
        aspect-ratio: 4/5;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6) {
        aspect-ratio: 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: 48px;
    }
    
    .contact-form-wrap {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(n) {
        aspect-ratio: 4/5;
    }
}
