/* ═══════════════════════════════════════════════
   Med Spa 1 — Template Override Layer
   ═══════════════════════════════════════════════
   Magazine editorial aesthetic. Crate & Barrel vibes.
   Thin lines, generous whitespace, elegant serif.
   All colors via var(--ocf-*). Zero hardcoded values.
   ═══════════════════════════════════════════════ */



/* ─── Global overrides: softer buttons, thinner type ─── */

.btn-primary {
    padding: 1rem 2.5rem;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.2em;
    border-radius: var(--radius-full);
}

.btn-secondary {
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.btn-ghost {
    border-radius: var(--radius-full);
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.heading-section {
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.eyebrow {
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-weight: 400;
    letter-spacing: 0.35em;
    color: var(--ocf-accent);
}


/* ═══════════════════════════════════════════════
   HERO — Magazine Cover
   ═══════════════════════════════════════════════ */

.medspa1-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: -5rem;
}

@media (min-width: 1024px) {
    .medspa1-hero { margin-top: -6rem; }
}

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

.medspa1-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.medspa1-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        color-mix(in srgb, var(--ocf-bg-dark) 85%, transparent) 0%,
        color-mix(in srgb, var(--ocf-bg-dark) 50%, transparent) 35%,
        color-mix(in srgb, var(--ocf-bg-dark) 20%, transparent) 70%,
        color-mix(in srgb, var(--ocf-bg-dark) 10%, transparent) 100%
    );
}

/* Thin decorative lines */
.medspa1-hero-line-h {
    display: none;
    position: absolute;
    bottom: 30%;
    left: 3rem;
    right: 3rem;
    height: 1px;
    background: color-mix(in srgb, var(--ocf-heading-alt) 8%, transparent);
    z-index: 5;
}

.medspa1-hero-line-v {
    display: none;
    position: absolute;
    top: 8rem;
    bottom: 8rem;
    right: 40%;
    width: 1px;
    background: color-mix(in srgb, var(--ocf-heading-alt) 6%, transparent);
    z-index: 5;
}

@media (min-width: 1024px) {
    .medspa1-hero-line-h,
    .medspa1-hero-line-v { display: block; }
}

.medspa1-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 40vh;
    padding-bottom: 4rem;
}

@media (min-width: 1024px) {
    .medspa1-hero-content { padding-bottom: 5rem; }
}

.medspa1-hero-text {
    max-width: 640px;
}

.medspa1-hero-eyebrow {
    display: inline-block;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-xs);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--ocf-secondary);
    margin-bottom: 1.25rem;
}

.medspa1-hero-text h1 {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-hero);
    font-weight: 300;
    color: var(--ocf-heading-alt);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.medspa1-hero-text h1 span {
    display: block;
}

.medspa1-hero-text p {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--ocf-body-alt);
    max-width: 480px;
    margin-bottom: 2rem;
}

.medspa1-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.medspa1-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-xs);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ocf-heading-alt);
    opacity: 0.7;
    transition: opacity var(--duration) ease;
}

.medspa1-hero-link:hover { opacity: 1; }

.medspa1-hero-scroll {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--ocf-body-alt);
}

@media (min-width: 1024px) {
    .medspa1-hero-scroll { display: flex; }
}

.medspa1-hero-scroll span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    writing-mode: vertical-rl;
}


/* ═══════════════════════════════════════════════
   SERVICES — Editorial Image Grid
   ═══════════════════════════════════════════════ */

.medspa1-services {
    background: var(--ocf-bg);
}

.medspa1-services-header {
    max-width: 480px;
    margin-bottom: 3.5rem;
}

.medspa1-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--ocf-border-light);
}

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

@media (min-width: 1024px) {
    .medspa1-services-grid { grid-template-columns: repeat(3, 1fr); }
    .medspa1-service-featured { grid-column: span 2; }
}

.medspa1-service-card {
    display: flex;
    flex-direction: column;
    background: var(--ocf-bg);
    text-decoration: none;
    overflow: hidden;
    transition: all var(--duration-slow) var(--ease);
}

.medspa1-service-card:hover {
    background: var(--ocf-bg-alt);
}

.medspa1-service-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.medspa1-service-featured .medspa1-service-img {
    aspect-ratio: 16/9;
}

.medspa1-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.medspa1-service-card:hover .medspa1-service-img img {
    transform: scale(1.04);
}

.medspa1-service-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--ocf-bg-alt),
        color-mix(in srgb, var(--ocf-accent) 8%, var(--ocf-bg-alt))
    );
}

.medspa1-service-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (min-width: 640px) {
    .medspa1-service-body { padding: 2rem; }
}

.medspa1-service-num {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-sm);
    font-weight: 300;
    color: var(--ocf-label);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.medspa1-service-body h3 {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--ocf-heading);
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.medspa1-service-featured .medspa1-service-body h3 {
    font-size: var(--text-2xl);
}

.medspa1-service-body p {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--ocf-body);
    flex: 1;
}

.medspa1-service-arrow {
    display: inline-flex;
    margin-top: 1.25rem;
    color: var(--ocf-accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--duration) ease;
}

.medspa1-service-card:hover .medspa1-service-arrow {
    opacity: 1;
    transform: translateX(0);
}


/* ═══════════════════════════════════════════════
   TESTIMONIALS — Pull-Quote Carousel
   ═══════════════════════════════════════════════ */

.medspa1-testimonials {
    background: var(--ocf-bg-alt);
}

.medspa1-testimonials-header {
    text-align: center;
    max-width: 480px;
    margin: 0 auto 4rem;
}

.medspa1-quote-carousel {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.medspa1-quote-mark {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 300;
    line-height: 0.8;
    color: var(--ocf-accent);
    opacity: 0.25;
    margin-bottom: 1rem;
}

.medspa1-quote-viewport {
    position: relative;
    min-height: 200px;
}

.medspa1-quote-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.medspa1-quote-slide.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.medspa1-quote-slide blockquote {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-2xl);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: var(--ocf-heading);
    letter-spacing: -0.01em;
    margin-bottom: 2.5rem;
}

.medspa1-quote-attribution {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.medspa1-quote-divider {
    width: 2rem;
    height: 1px;
    background: var(--ocf-accent);
    margin-bottom: 0.5rem;
}

.medspa1-quote-attribution strong {
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ocf-heading);
    letter-spacing: 0.05em;
}

.medspa1-quote-attribution span {
    font-size: var(--text-xs);
    color: var(--ocf-label);
}

.medspa1-quote-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.medspa1-quote-nav button {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--ocf-border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--ocf-heading);
    transition: all var(--duration) ease;
}

.medspa1-quote-nav button:hover {
    border-color: var(--ocf-accent);
    color: var(--ocf-accent);
}

.medspa1-quote-nav button svg {
    width: 1.125rem;
    height: 1.125rem;
}

.medspa1-quote-counter {
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-xs);
    font-weight: 400;
    color: var(--ocf-label);
    letter-spacing: 0.15em;
    min-width: 4rem;
    text-align: center;
}


/* ═══════════════════════════════════════════════
   ABOUT — Editorial Split
   ═══════════════════════════════════════════════ */

.medspa1-about {
    background: var(--ocf-bg);
}

.medspa1-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .medspa1-about-grid {
        grid-template-columns: 5fr 7fr;
        gap: 5rem;
        align-items: start;
    }
}

.medspa1-about-image-wrap {
    position: relative;
}

.medspa1-about-frame {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 2px;
}

.medspa1-about-frame::after {
    content: '';
    position: absolute;
    inset: 0.75rem;
    border: 1px solid color-mix(in srgb, var(--ocf-heading-alt) 25%, transparent);
    border-radius: 1px;
    pointer-events: none;
}

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

.medspa1-about-caption {
    margin-top: 1rem;
    font-size: var(--text-xs);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--ocf-label);
    text-align: center;
}

.medspa1-about-content {
    padding-top: 1rem;
}

@media (min-width: 1024px) {
    .medspa1-about-content { padding-top: 2rem; }
}

.medspa1-about-heading {
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.medspa1-commitments {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2.5rem;
    border-top: 1px solid var(--ocf-border-light);
}

.medspa1-commitment {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--ocf-border-light);
}

.medspa1-commitment h4 {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--ocf-heading);
    margin-bottom: 0.375rem;
}

.medspa1-commitment p {
    font-size: var(--text-sm);
    line-height: 1.65;
    color: var(--ocf-body);
}


/* ═══════════════════════════════════════════════
   CTA — Minimal Warm Banner
   ═══════════════════════════════════════════════ */

.medspa1-cta {
    background: var(--ocf-bg-alt);
}

.medspa1-cta-inner {
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
}

.medspa1-cta-line {
    width: 1px;
    height: 3rem;
    background: var(--ocf-divider);
    margin: 0 auto 2.5rem;
}

.medspa1-cta-line:last-child {
    margin: 2.5rem auto 0;
}

.medspa1-cta-desc {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--ocf-body);
    margin-bottom: 2.5rem;
}

.medspa1-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.medspa1-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ocf-heading);
    transition: color var(--duration) ease;
}

.medspa1-cta-phone:hover { color: var(--ocf-accent); }
.medspa1-cta-phone svg { flex-shrink: 0; }


/* ═══════════════════════════════════════════════
   TRUST STATS — Thin line grid
   ═══════════════════════════════════════════════ */

.trust-stat-value {
    font-weight: 300;
}


/* ═══════════════════════════════════════════════
   CONTACT FORM — Luxury details
   ═══════════════════════════════════════════════ */

.medspa1-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.medspa1-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.medspa1-contact-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--ocf-accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.medspa1-contact-item strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ocf-heading);
}

.medspa1-contact-item span {
    font-size: var(--text-sm);
    color: var(--ocf-body);
}

.medspa1-form-card {
    background: var(--ocf-bg);
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius);
    padding: 2rem;
}

.medspa1-form-card h3 {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--ocf-heading);
    margin-bottom: 0.375rem;
}

.medspa1-form-card p {
    font-size: var(--text-sm);
    color: var(--ocf-body);
    margin-bottom: 1.5rem;
}


/* ═══════════════════════════════════════════════
   PAGE HEADER — Editorial inner pages
   ═══════════════════════════════════════════════ */

.page-header .heading-section {
    font-weight: 300;
    letter-spacing: -0.03em;
}


/* ═══════════════════════════════════════════════
   FOOTER — Lighter weight headings
   ═══════════════════════════════════════════════ */

.footer-brand-name {
    font-weight: 300;
    letter-spacing: -0.02em;
}

.footer-heading {
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-weight: 400;
    letter-spacing: 0.2em;
}


/* ═══════════════════════════════════════════════
   NAV — Refined for med spa
   ═══════════════════════════════════════════════ */

.nav-logo {
    font-weight: 300;
    letter-spacing: -0.01em;
}

.nav-link {
    font-weight: 400;
    letter-spacing: 0.2em;
}

.nav-cta {
    border-radius: var(--radius-full);
    font-weight: 500;
    letter-spacing: 0.15em;
}


/* ═══════════════════════════════════════════════
   SHARED DETAIL LAYOUT (Service pages)
   ═══════════════════════════════════════════════ */

.base1-detail-lead {
    font-weight: 300;
}

.base1-detail-sticky-heading {
    font-weight: 400;
}


/* ═══════════════════════════════════════════════
   REVEAL — Kill animation on first section after hero
   ═══════════════════════════════════════════════ */

.medspa1-hero + * .reveal,
.medspa1-hero + * .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 639px) {
    .medspa1-hero-text h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .medspa1-quote-slide blockquote {
        font-size: var(--text-xl);
    }

    .medspa1-services-grid {
        gap: 0;
        background: var(--ocf-bg);
    }

    .medspa1-service-card + .medspa1-service-card {
        border-top: 1px solid var(--ocf-border-light);
    }
}
