/* ==========================================================================
   MED SPAS PAGE — ENHANCED STYLES
   No CSS animation: keyframes on GSAP-controlled elements.
   No opacity: 0 on animated elements.
   No gradient buttons. No glassmorphism.
   ========================================================================== */

/* ---- Hero section ---- */
.hero-section.ghl-hero-bg {
    background: #0a0a0c;
    padding-top: clamp(140px, 18vh, 180px);
    padding-bottom: clamp(5rem, 10vh, 8rem);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
}

.hero-section.ghl-hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(94, 14, 215, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* ---- Sub-hero eyebrow ---- */
.sub-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    /* NO opacity: 0 — GSAP controls this */
}

.eyebrow-line {
    width: 20px;
    height: 1.5px;
    background: #5E0ED7;
    border-radius: 2px;
    flex-shrink: 0;
}

.eyebrow-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #5E0ED7;
}

/* ---- Hero title ---- */
.hero-title {
    font-size: clamp(2.8rem, 6vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 2rem;
    /* NO opacity: 0 — GSAP controls via reveal-line spans */
}

/* ---- Accent color (replaces gradient text) ---- */
.text-accent-purple {
    color: #5E0ED7;
}

/* ---- Hero description ---- */
.sub-hero-description {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.7;
    color: #a0a0b0;
    max-width: 640px;
    margin-bottom: 2.5rem;
    /* NO opacity: 0 — GSAP controls this */
}

/* ---- Hero actions ---- */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
    /* NO opacity: 0 — GSAP controls this */
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.85rem;
    background: #5E0ED7;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    background: #731bf0;
    box-shadow: 0 8px 20px rgba(94, 14, 215, 0.25);
    transform: translateY(-2px);
}

.btn-primary:hover svg {
    transform: translate(2px, -2px);
}

.btn-primary.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 0.9rem;
}

.btn-primary.btn-sm {
    padding: 0.7rem 1.4rem;
    font-size: 0.8rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.85rem;
    background: transparent;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.btn-secondary:hover {
    border-color: rgba(94, 14, 215, 0.5);
    background: rgba(94, 14, 215, 0.06);
}

/* ---- Hero stats row ---- */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    /* NO opacity: 0 — GSAP controls .stat-card */
}

/* ---- Stat cards ---- */
.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: #121217;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* NO opacity: 0 — GSAP controls this */
}

.stat-card:hover {
    border-color: rgba(94, 14, 215, 0.3);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #5E0ED7;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: #a0a0b0;
    line-height: 1.4;
}

/* ==========================================================================
   SECTION: PROBLEM VS SOLUTION (MATRIX)
   ========================================================================== */

.ghl-feature-section {
    padding: clamp(5rem, 10vh, 8rem) 0;
    background: #0a0a0c;
}

.ghl-feature-section.alt-bg {
    background: #121217;
}

.section-header {
    margin-bottom: clamp(3rem, 6vh, 5rem);
}

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

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #5E0ED7;
    margin-bottom: 1.25rem;
    /* NO opacity: 0 — GSAP controls this */
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 1.5px;
    background: #5E0ED7;
    border-radius: 2px;
    flex-shrink: 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #ffffff;
}

/* ---- Matrix grid ---- */
.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: clamp(2.5rem, 5vh, 4rem);
}

.matrix-card {
    padding: 2.5rem;
    background: #121217;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* NO opacity: 0 — GSAP controls this */
}

.matrix-card.problem {
    border-left: 3px solid rgba(239, 68, 68, 0.5);
}

.matrix-card.solution {
    border-left: 3px solid rgba(16, 185, 129, 0.5);
}

.matrix-card:hover {
    border-color: rgba(94, 14, 215, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.matrix-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.75rem;
    letter-spacing: 0.01em;
}

.matrix-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.matrix-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a0a0b0;
    /* NO opacity: 0 — GSAP controls this */
}

.matrix-issue-icon,
.matrix-solution-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.matrix-issue-icon::before {
    content: '';
    display: inline-flex;
    width: 18px;
    height: 18px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M9 3L3 9M3 3l6 6' stroke='%23ef4444' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.matrix-solution-icon::before {
    content: '';
    display: inline-flex;
    width: 18px;
    height: 18px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2310b981' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

/* ==========================================================================
   SECTION: CAPABILITY CARDS (6 GRID)
   ========================================================================== */

.ghl-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: clamp(2.5rem, 5vh, 4rem);
}

.capability-card {
    padding: 2rem;
    background: #121217;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* NO opacity: 0 — GSAP controls this */
}

.capability-card:hover {
    background: #181822;
    border-color: rgba(94, 14, 215, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.ghl-service-num {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #5E0ED7;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
}

.ghl-service-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.85rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.ghl-service-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #a0a0b0;
}

/* ==========================================================================
   SECTION: CTA BANNER
   ========================================================================== */

.ghl-cta-section {
    background: #0a0a0c;
    padding: clamp(5rem, 10vh, 8rem) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    overflow: hidden;
}

.ghl-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(94, 14, 215, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-glass {
    position: relative;
    z-index: 2;
    padding: clamp(3rem, 6vw, 5rem);
    background: #121217;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-align: center;
    /* NO opacity: 0 — GSAP controls this */
}

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #5E0ED7;
    margin-bottom: 1.5rem;
}

.cta-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 1.5px;
    background: #5E0ED7;
    border-radius: 2px;
}

.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

/* reveal-line clip pattern — used by GSAP yPercent reveals */
.cta-title .reveal-line,
.section-title .reveal-line,
.hero-title .reveal-line {
    display: block;
    overflow: hidden;
    line-height: inherit;
    padding-bottom: 0.06em;
}

.cta-title .reveal-line span,
.section-title .reveal-line span,
.hero-title .reveal-line span {
    display: block;
    will-change: transform;
}

.cta-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #a0a0b0;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: #0a0a0c;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: clamp(4rem, 8vh, 6rem);
    padding-bottom: clamp(2rem, 4vh, 3rem);
}

.footer-pre-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: #121217;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    margin-bottom: 4rem;
}

.footer-pre-cta-content {
    flex: 1;
}

.footer-pre-cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.footer-pre-cta-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #a0a0b0;
    max-width: 520px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .logo {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #62627a;
    max-width: 280px;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #62627a;
    margin-bottom: 0.5rem;
}

.footer-links-group a {
    font-size: 0.9rem;
    color: #a0a0b0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links-group a:hover,
.footer-links-group a.active {
    color: #5E0ED7;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-copyright p {
    font-size: 0.82rem;
    color: #62627a;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-legal-links a {
    font-size: 0.82rem;
    color: #62627a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #a0a0b0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-pre-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

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

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .cta-banner-glass {
        padding: 2.5rem 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .matrix-card {
        padding: 1.75rem;
    }

    .capability-card {
        padding: 1.5rem;
    }

    .footer-pre-cta {
        padding: 1.5rem;
    }
}
