/* ============================================
   Hyman S Caplan Pavilion — Stylesheet
   Palette: Burgundy (#7B2D3B) + Blush (#F5E6E0)
   Fonts: Cormorant Garamond + Inter
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5C1F2B;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-dark: #E8D0C8;
    --cream: #FDF8F6;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --text-on-dark: #F5E6E0;
    --border: rgba(123, 45, 59, 0.12);
    --border-strong: rgba(123, 45, 59, 0.25);
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(123, 45, 59, 0.06);
    --shadow-md: 0 4px 20px rgba(123, 45, 59, 0.08);
    --shadow-lg: 0 8px 40px rgba(123, 45, 59, 0.10);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* ── Typography ── */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

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

.section-title--light {
    color: var(--white);
}

.section-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    max-width: 600px;
}

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--burgundy);
    border-color: var(--burgundy);
}

.btn-outline:hover {
    background-color: var(--burgundy);
    color: var(--white);
    transform: translateY(-1px);
}

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

.btn-light:hover {
    background-color: var(--blush);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

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

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-mark {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--burgundy);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--burgundy);
    border-radius: var(--radius-sm);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

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

.nav-links a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--text-medium);
    letter-spacing: 0.02em;
    position: relative;
    padding: 4px 0;
}

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

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

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

.nav-cta {
    color: var(--burgundy) !important;
    border: 1.5px solid var(--burgundy);
    padding: 8px 20px !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition) !important;
}

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

.nav-cta:hover {
    background-color: var(--burgundy) !important;
    color: var(--white) !important;
}

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

.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background-color: var(--text-dark);
    transition: all var(--transition);
    transform-origin: center;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(253, 248, 246, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.mobile-menu-link:hover {
    color: var(--burgundy);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background-color: var(--cream);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-pattern {
    width: 100%;
    height: 100%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    padding-right: 20px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background-color: var(--burgundy);
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--burgundy);
    font-weight: 400;
}

.hero-subhead {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

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

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.75rem;
    color: var(--burgundy);
    line-height: 1;
}

.hero-stat-label {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-strong);
}

/* Hero Image Stack */
.hero-right {
    position: relative;
}

.hero-image-stack {
    position: relative;
    height: 600px;
}

.hero-img {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.hero-img-main {
    width: 380px;
    height: 500px;
    top: 0;
    right: 0;
    box-shadow: var(--shadow-lg);
}

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

.hero-img-accent {
    width: 260px;
    height: 180px;
    bottom: 40px;
    left: 0;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

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

.hero-img-badge {
    position: absolute;
    bottom: 240px;
    left: -20px;
    background-color: var(--burgundy);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    z-index: 2;
}

.hero-scroll-indicator svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ── Section Divider ── */
.section-divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: var(--border);
}

.divider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--burgundy);
    opacity: 0.4;
}

/* ── About ── */
.about {
    padding: 120px 0;
    background-color: var(--white);
}

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

.about-left {
    padding-top: 8px;
}

.about-body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-value-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    flex-shrink: 0;
}

.about-value span:last-child {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.about-right {
    position: relative;
}

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

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

.about-image-small {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-image-small img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* ── Services ── */
.services {
    padding: 120px 0;
    background-color: var(--cream);
}

.services-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

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

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

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

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

.service-card-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.service-card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card-features li {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-medium);
    padding-left: 16px;
    position: relative;
}

.service-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--burgundy);
    opacity: 0.5;
}

/* ── Approach ── */
.approach {
    padding: 120px 0;
    background-color: var(--white);
}

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

.approach-content {
    order: 1;
}

.approach-body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-medium);
    margin-bottom: 48px;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.approach-step {
    display: flex;
    gap: 24px;
    align-items: start;
}

.approach-step-number {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--burgundy);
    opacity: 0.4;
    line-height: 1;
    padding-top: 4px;
    flex-shrink: 0;
    min-width: 36px;
}

.approach-step-content {
    flex: 1;
}

.approach-step-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.approach-step-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.approach-image {
    order: 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.approach-image img {
    width: 100%;
    height: 750px;
    object-fit: cover;
}

/* ── Facility ── */
.facility {
    padding: 120px 0;
    background-color: var(--cream);
}

.facility-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.facility-gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    margin-bottom: 64px;
}

.facility-gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.facility-gallery-item--large {
    grid-row: span 1;
}

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

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

.facility-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.7), transparent);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

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

.facility-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.facility-feature:hover {
    border-color: var(--burgundy);
    box-shadow: var(--shadow-sm);
}

.facility-feature svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

.facility-feature span {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* ── CTA ── */
.cta {
    padding: 120px 0;
    background-color: var(--burgundy);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-bg-pattern {
    width: 100%;
    height: 100%;
}

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

.cta-content .section-eyebrow {
    color: var(--blush);
    opacity: 0.7;
}

.cta-content .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--blush);
    opacity: 0.85;
    margin-bottom: 40px;
}

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

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

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

.contact-info {
    padding-top: 8px;
}

.contact-body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-medium);
    margin-bottom: 40px;
}

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

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

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    flex-shrink: 0;
}

.contact-detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-detail-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.contact-detail-value {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--text-dark);
}

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

.contact-detail-value a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--cream);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--border);
}

.contact-form-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 32px;
}

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

.form-label {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--white);
    transition: all var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-input:focus {
    border-color: var(--burgundy);
    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' 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;
    cursor: pointer;
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 16px 20px;
    background-color: rgba(123, 45, 59, 0.06);
    border-radius: var(--radius-sm);
    color: var(--burgundy);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
}

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

/* ── Map ── */
.map-section {
    border-top: 1px solid var(--border);
}

.map-container {
    height: 400px;
    filter: grayscale(30%) contrast(1.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* ── Footer ── */
.footer {
    background-color: var(--text-dark);
    color: var(--blush);
    padding: 64px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 48px;
    gap: 40px;
    flex-wrap: wrap;
}

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

.footer-logo-mark {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--blush);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(245, 230, 224, 0.3);
    border-radius: var(--radius-sm);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--white);
}

.footer-tagline {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(245, 230, 224, 0.6);
    max-width: 280px;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    color: rgba(245, 230, 224, 0.7);
    transition: color var(--transition);
}

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

.footer-divider {
    height: 1px;
    background-color: rgba(245, 230, 224, 0.1);
    margin-bottom: 32px;
}

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

.footer-copy {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.8rem;
    color: rgba(245, 230, 224, 0.4);
}

.footer-address {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.8rem;
    color: rgba(245, 230, 224, 0.4);
}

.footer-address a {
    color: rgba(245, 230, 224, 0.6);
    transition: color var(--transition);
}

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

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero-img-main {
        width: 320px;
        height: 420px;
    }
    
    .hero-img-accent {
        width: 220px;
        height: 160px;
    }
    
    .about-layout,
    .approach-layout,
    .contact-layout {
        gap: 48px;
    }
    
    .about-image img,
    .approach-image img {
        height: 560px;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-left {
        padding-right: 0;
    }
    
    .hero-right {
        display: none;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .about-layout,
    .approach-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .approach-content {
        order: 1;
    }
    
    .approach-image {
        order: 2;
    }
    
    .approach-image img {
        height: 480px;
    }
    
    .about-image-small {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .facility-gallery {
        grid-template-columns: 1fr;
    }
    
    .facility-gallery-item--large img {
        height: 360px;
    }
    
    .facility-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .about,
    .services,
    .approach,
    .facility,
    .cta,
    .contact {
        padding: 80px 0;
    }
    
    .service-card {
        padding: 32px;
    }
    
    .facility-features {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form-wrapper {
        padding: 32px;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .facility-gallery-item img {
        height: 240px;
    }
}
