
/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 2.5rem;
}

.hero-figure {
    width: 100%;
    max-width: 640px;
    margin: 0;
    position: relative;
    z-index: 10;
}

.hero-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 10px;
}

.hero-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

@media (min-width: 969px) {
    .hero {
        display: grid;
        grid-template-columns: minmax(0, 620px) minmax(0, 680px);
        justify-content: center;
        align-items: center;
        gap: 4rem;
    }

    .hero .hero-content {
        text-align: left;
    }

    .hero .hero-subtitle {
        margin-left: 0;
    }

    .hero-figure {
        max-width: none;
    }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 107, 107, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 860px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1.2rem;
    padding: 0.3rem 1rem;
    background: var(--teal-pale);
    border-radius: 4px;
    border: 1px solid var(--teal-muted);
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.vision .cta-button {
    display: block;
    margin: 0 auto;
    max-width: fit-content;
}

/* ── VISION ── */
.vision {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
}

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

.about-layout {
    display: grid;
    gap: 2.5rem;
}

.about-layout .photo-figure {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

@media (min-width: 969px) {
    .about-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 4rem;
    }

    .about-layout .vision-content {
        text-align: left;
    }

    .vision .about-layout .cta-button {
        margin: 0;
    }

    .about-layout .photo-figure {
        max-width: none;
    }
}

.vision-content {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--charcoal);
    margin-bottom: 2.5rem;
}

.vision-content p {
    margin-bottom: 1.5rem;
}

.vision-content p:first-of-type {
    font-weight: 600;
    color: var(--teal);
    font-size: 1.25rem;
}

/* ── SERVICES ── */
.services {
    padding: 6rem 2rem;
    background: var(--soft-gray);
}

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

/* Flex instead of grid so a short last row is centered. Column counts match the
   300px auto-fit grid in base.css: 3 columns from 948px wide, 2 from 624px. */
.services-container {
    container-type: inline-size;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.services-grid .service-card {
    flex: 0 0 100%;
}

@container (min-width: 624px) {
    .services-grid .service-card {
        flex-basis: calc((100% - 1.5rem) / 2);
    }
}

@container (min-width: 948px) {
    .services-grid .service-card {
        flex-basis: calc((100% - 3rem) / 3);
    }
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    background: var(--teal-pale);
    border: 1px solid var(--teal-muted);
    border-radius: 12px;
    color: var(--teal);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}

/* ── CONTACT ── */
.contact {
    padding: 6rem 2rem;
    background: var(--white);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-card {
    background: var(--off-white);
    border-radius: 8px;
    padding: 1.2rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.info-card strong {
    color: var(--teal);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card span {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.6;
    overflow-wrap: break-word;
}

.contact-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: center;
}

/* Contact note */
.contact-note {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-align: center;
}

.contact-note h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--charcoal);
}

.contact-note a {
    color: var(--teal);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

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

/* ── FOOTER ── */

footer a {
    text-decoration: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

