/* ============================================
   ESQUIRE BARBER SHOP — Custom Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --plum-deep: #2A0A28;
    --plum: #4A1942;
    --plum-mid: #6B2158;
    --plum-light: #8B3A6A;
    --plum-pale: #F5E6F0;
    --plum-bg: #FDF8FC;
    --amber: #D4A017;
    --amber-light: #E8B94A;
    --amber-dark: #B8860B;
    --amber-pale: #FFF8E7;
    --cream: #FFFAF5;
    --warm-white: #FFFAF3;
    --charcoal: #1A1A1A;
    --dark: #2C2C2C;
    --gray: #6B6B6B;
    --gray-light: #A0A0A0;
    --gray-pale: #E8E4E0;
    --white: #FFFFFF;

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

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --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 4px 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.16);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.35s 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);
    font-weight: 400;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--plum);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 500;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-sm);
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--plum-deep);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.preloader-bar {
    width: 120px;
    height: 2px;
    background: rgba(212, 160, 23, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: var(--amber);
    border-radius: 2px;
    animation: preloader-fill 1.2s ease forwards;
}

@keyframes preloader-fill {
    to { width: 100%; }
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* --- Typography --- */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: var(--space-sm);
}

.section-headline {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--plum-deep);
    margin-bottom: var(--space-md);
}

.section-intro {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--gray);
    max-width: 600px;
    line-height: 1.7;
}

.accent-italic {
    font-style: italic;
    font-weight: 400;
    color: var(--plum-mid);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--amber);
    color: var(--plum-deep);
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.3);
}

.btn-primary:hover {
    background: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

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

.btn-outline-light:hover {
    background: var(--plum);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

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

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

.site-header.scrolled {
    background: rgba(42, 10, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-sm) 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.logo--light .logo-text {
    color: var(--white);
}

.logo-icon {
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--amber);
    padding: 0.5rem 1.25rem;
    border: 1.5px solid var(--amber);
    border-radius: var(--radius-sm);
    margin-left: var(--space-sm);
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--amber);
    color: var(--plum-deep);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    z-index: 1001;
}

.hamburger {
    position: relative;
    width: 22px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 50%;
}

.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 50%;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, var(--plum-deep) 0%, var(--plum) 40%, var(--plum-mid) 70%, #7B2D6B 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(212, 160, 23, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139, 58, 106, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    max-width: 900px;
}

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

.hero-headline {
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
}

.hero-headline .accent-italic {
    color: var(--amber-light);
    font-size: 0.85em;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 580px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amber);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

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

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(212, 160, 23, 0.6), transparent);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Services --- */
.services {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.services .container:first-child {
    text-align: center;
}

.services .section-intro {
    margin: 0 auto var(--space-xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 25, 66, 0.05);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 800;
    color: var(--plum-pale);
    line-height: 1;
    margin-bottom: var(--space-sm);
    transition: color var(--transition-base);
}

.service-card:hover .service-number {
    color: var(--plum);
    opacity: 0.15;
}

.service-icon {
    margin-bottom: var(--space-md);
}

.service-title {
    font-size: 1.375rem;
    color: var(--plum-deep);
    margin-bottom: var(--space-sm);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.service-includes {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.service-includes li {
    font-size: 0.875rem;
    color: var(--dark);
    padding-left: 1.25rem;
    position: relative;
}

.service-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--amber);
    border-radius: 50%;
}

/* --- About --- */
.about {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.about-images {
    position: relative;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-accent-box {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    background: var(--amber);
    color: var(--plum-deep);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.accent-box-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.accent-box-value {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
}

.about-content {
    padding-top: var(--space-xl);
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.about-body p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark);
}

.value-item svg {
    flex-shrink: 0;
}

.about-cta .btn-primary {
    background: var(--plum);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(74, 25, 66, 0.3);
}

.about-cta .btn-primary:hover {
    background: var(--plum-mid);
    box-shadow: 0 8px 24px rgba(74, 25, 66, 0.4);
}

/* --- Gallery --- */
.gallery {
    padding: var(--space-3xl) 0 var(--space-2xl);
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: var(--space-md);
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 10, 40, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 600;
}

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

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

.gallery-item--large {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
    min-height: 400px;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
    min-height: 240px;
}

.gallery-item--wide {
    grid-column: 1 / 13;
    grid-row: 2 / 3;
    min-height: 300px;
}

/* --- Testimonials --- */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--plum-deep);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 0% 100%, rgba(212, 160, 23, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 100% 0%, rgba(139, 58, 106, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

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

.testimonial-quote {
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-name {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
}

.testimonial-location {
    font-size: 0.8125rem;
    color: var(--amber);
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-mid) 50%, #7B2D6B 100%);
    overflow: hidden;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: var(--space-md);
    text-align: center;
}

.cta-headline {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-headline .accent-italic {
    color: var(--amber-light);
}

.cta-text {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.contact-item {
    display: flex;
    gap: var(--space-md);
}

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

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

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

.contact-link {
    color: var(--plum);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--amber-dark);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: var(--space-lg);
    position: relative;
}

.contact-map a {
    display: block;
    position: relative;
}

.contact-map img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.contact-map:hover img {
    transform: scale(1.03);
}

.map-overlay {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--plum);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.map-overlay:hover {
    background: var(--plum);
    color: var(--white);
}

/* --- Contact Form --- */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(74, 25, 66, 0.05);
}

.form-title {
    font-size: 1.75rem;
    color: var(--plum-deep);
    margin-bottom: var(--space-sm);
}

.form-desc {
    font-size: 0.9375rem;
    color: var(--gray);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.form-group {
    margin-bottom: var(--space-md);
}

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

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--dark);
    background: var(--cream);
    border: 1.5px solid var(--gray-pale);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--plum);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(74, 25, 66, 0.1);
}

.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='%236B6B6B' 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 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
    padding: var(--space-xl);
    animation: fadeIn 0.5s ease;
}

.form-success svg {
    flex-shrink: 0;
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--plum-deep);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--gray);
    line-height: 1.7;
}

.form-success a {
    color: var(--amber-dark);
    font-weight: 600;
}

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

/* --- Footer --- */
.site-footer {
    background: var(--plum-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: var(--space-md);
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: var(--space-md);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

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

.footer-nav a:hover {
    color: var(--white);
}

.footer-address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.footer-link {
    color: var(--amber);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--amber-light);
}

.footer-hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-hours-list li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    font-size: 0.9375rem;
}

.footer-hours-list .day {
    color: rgba(255, 255, 255, 0.6);
}

.footer-hours-list .time {
    color: var(--white);
    font-weight: 500;
}

.footer-hours-list .time.closed {
    color: var(--amber);
}

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

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-location {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s 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) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: var(--space-xl);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .gallery-item--large {
        grid-column: 1 / 7;
    }

    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        background: rgba(42, 10, 40, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .nav-link {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: var(--space-md);
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 8vw, 2.75rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

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

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-img-secondary {
        right: -0.5rem;
        bottom: -1rem;
    }

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

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

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

    .gallery-item--large {
        grid-column: 1;
        min-height: 280px;
    }

    .gallery-item--wide {
        grid-column: 1;
        min-height: 240px;
    }

    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
        min-height: 200px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

@media (max-width: 480px) {
    .hero-content {
        padding: var(--space-2xl) var(--space-md);
    }

    .service-card {
        padding: var(--space-lg);
    }

    .contact-form-wrap {
        padding: var(--space-lg);
    }
}
