/* ============================================
   GGLASHES and SKIN — Stylesheet
   Teal + Slate Grey Editorial Design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-teal-50: #f0fdfa;
    --color-teal-100: #ccfbf1;
    --color-teal-200: #99f6e4;
    --color-teal-300: #5eead4;
    --color-teal-400: #2dd4bf;
    --color-teal-500: #14b8a6;
    --color-teal-600: #0d9488;
    --color-teal-700: #0f766e;
    --color-teal-800: #115e59;
    --color-teal-900: #134e4a;
    --color-teal-950: #042f2e;

    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    --color-slate-950: #020617;

    --color-cream: #faf9f7;
    --color-warm-white: #fefdfb;
    --color-dark-overlay: rgba(4, 47, 46, 0.72);

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

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

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

/* --- 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(--color-slate-800);
    background-color: var(--color-warm-white);
    -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;
}

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

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

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

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

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

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

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

em {
    font-style: italic;
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-teal-600);
    margin-bottom: var(--space-md);
    display: block;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-slate-900);
    margin-bottom: var(--space-lg);
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-slate-500);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-teal-700);
    color: white;
    border: 2px solid var(--color-teal-700);
}

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

.btn-outline {
    background: transparent;
    color: var(--color-teal-700);
    border: 2px solid var(--color-teal-700);
}

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

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
}

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

.btn-full {
    width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(250, 249, 247, 0.97);
    border-bottom-color: var(--color-slate-100);
    box-shadow: var(--shadow-sm);
}

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

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    z-index: 1001;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-teal-700);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-teal-700);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-slate-900);
    letter-spacing: 0.02em;
}

.logo-text em {
    font-style: italic;
    color: var(--color-teal-700);
    font-weight: 600;
}

/* Logo light variant for footer */
.logo-light .logo-text {
    color: white;
}

.logo-light .logo-text em {
    color: var(--color-teal-300);
}

.logo-light .logo-mark {
    color: white;
    border-color: white;
}

/* --- Navigation --- */
.nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate-600);
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-teal-600);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-teal-700);
}

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

.btn-nav {
    background: var(--color-teal-700);
    color: white !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8125rem;
}

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

.btn-nav:hover {
    background: var(--color-teal-800);
    color: white !important;
    transform: translateY(-1px);
}

/* --- Nav Toggle --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1001;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.nav-toggle:hover {
    background: var(--color-slate-100);
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-slate-800);
    position: relative;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--color-slate-800);
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

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

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

/* Mobile nav */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-warm-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-2xl);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 1000;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        gap: var(--space-xl);
    }

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

    .btn-nav {
        font-size: 0.875rem;
        padding: 0.875rem 2rem;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-slate-950);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4, 47, 46, 0.85) 0%,
        rgba(15, 118, 110, 0.70) 50%,
        rgba(15, 23, 42, 0.80) 100%
    );
}

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

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

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: white;
    margin-bottom: var(--space-xl);
}

.hero-headline em {
    font-style: italic;
    color: var(--color-teal-300);
    font-weight: 600;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.65;
}

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

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255,255,255,0.5);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

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

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: var(--space-5xl) 0;
    background: var(--color-warm-white);
}

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

.service-card {
    background: white;
    border: 1px solid var(--color-slate-100);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    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(--color-teal-500), var(--color-teal-700));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

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

.service-icon {
    width: 56px;
    height: 56px;
    color: var(--color-teal-700);
    margin-bottom: var(--space-lg);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-name {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-slate-900);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--color-slate-500);
    line-height: 1.65;
    margin-bottom: var(--space-lg);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-features li {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-slate-600);
    padding-left: var(--space-lg);
    position: relative;
}

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

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: var(--space-5xl) 0;
    background: var(--color-slate-50);
}

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

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

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

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

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--color-teal-700);
    color: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.accent-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

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

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

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

.about-text {
    font-size: 1rem;
    color: var(--color-slate-600);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.value-icon {
    width: 40px;
    height: 40px;
    color: var(--color-teal-700);
    flex-shrink: 0;
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate-700);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

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

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

    .about-content .section-header {
        text-align: center;
    }

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

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: var(--space-5xl) 0;
    background: var(--color-warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto 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;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 47, 46, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-xl);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

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

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

.gallery-item--large {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
    min-height: 500px;
}

.gallery-item--wide {
    grid-column: 7 / 13;
    min-height: 240px;
}

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

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item--large {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 350px;
    }

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

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--large,
    .gallery-item--wide {
        grid-column: 1;
    }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: var(--space-5xl) 0;
    background: var(--color-teal-950);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials .section-eyebrow {
    color: var(--color-teal-400);
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-title em {
    color: var(--color-teal-400);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    min-width: 100%;
    padding: var(--space-2xl);
    text-align: center;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    color: var(--color-teal-600);
    margin-bottom: var(--space-lg);
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-teal-600);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.author-detail {
    font-size: 0.8125rem;
    color: var(--color-teal-400);
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

.slider-btn:hover {
    background: var(--color-teal-700);
    border-color: var(--color-teal-700);
}

/* ============================================
   LOCATION
   ============================================ */
.location {
    padding: var(--space-5xl) 0;
    background: var(--color-warm-white);
}

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

.location-info .section-header {
    text-align: left;
    margin-bottom: var(--space-2xl);
}

.location-address {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-slate-800);
    line-height: 1.5;
    margin-bottom: var(--space-2xl);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.9375rem;
    color: var(--color-slate-600);
}

.detail-icon {
    width: 20px;
    height: 20px;
    color: var(--color-teal-700);
    flex-shrink: 0;
}

.detail-icon svg {
    width: 100%;
    height: 100%;
}

.detail-item a {
    color: var(--color-slate-600);
    transition: color var(--transition-fast);
}

.detail-item a:hover {
    color: var(--color-teal-700);
}

.location-hours h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-slate-900);
    margin-bottom: var(--space-md);
}

.location-hours ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.location-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9375rem;
    color: var(--color-slate-600);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-slate-100);
}

.location-hours li span:last-child {
    font-weight: 600;
    color: var(--color-slate-800);
}

.location-map a {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
}

.location-map a:hover {
    transform: translateY(-4px);
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 47, 46, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: white;
    transition: background var(--transition-base);
}

.map-overlay svg {
    width: 32px;
    height: 32px;
}

.map-overlay span {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.location-map a:hover .map-overlay {
    background: rgba(4, 47, 46, 0.75);
}

@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-info .section-header {
        text-align: center;
    }

    .location-map img {
        min-height: 300px;
    }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: var(--space-5xl) 0;
    background: var(--color-slate-50);
}

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

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

.contact-intro {
    font-size: 1rem;
    color: var(--color-slate-500);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-slate-100);
    transition: all var(--transition-fast);
}

.contact-method:hover {
    border-color: var(--color-teal-200);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.method-icon {
    width: 44px;
    height: 44px;
    color: var(--color-teal-700);
    flex-shrink: 0;
}

.method-icon svg {
    width: 100%;
    height: 100%;
}

.contact-method span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-slate-700);
}

/* --- Form --- */
.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-slate-100);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-slate-700);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-slate-800);
    background: var(--color-slate-50);
    border: 1.5px solid var(--color-slate-200);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-teal-500);
    background: white;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-slate-400);
}

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

.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='%2394a3b8' 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;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--color-slate-400);
    text-align: center;
    margin-top: var(--space-sm);
}

.form-success {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    color: var(--color-teal-600);
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-slate-900);
    margin-bottom: var(--space-md);
}

.form-success p {
    font-size: 1rem;
    color: var(--color-slate-500);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info .section-header {
        text-align: center;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-slate-950);
    color: white;
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--color-slate-400);
    line-height: 1.7;
    margin-top: var(--space-lg);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal-400);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--color-slate-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-contact address {
    font-size: 0.9375rem;
    color: var(--color-slate-400);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.footer-phone,
.footer-email {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-teal-400);
    transition: color var(--transition-fast);
}

.footer-phone:hover,
.footer-email:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-xl);
    font-size: 0.8125rem;
    color: var(--color-slate-500);
}

.footer-bottom a {
    color: var(--color-teal-400);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: white;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

/* ============================================
   SCROLL ANIMATIONS
   (Progressive enhancement — content visible without JS)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

/* Force visible when JS is disabled */
.no-js .reveal {
    opacity: 1;
    transform: none;
}
