/* =============================================================
   Newport Mesa Wellness — Shared Stylesheet
   Used across: welcome, cancer-support, long-covid, lyme pages,
   softwave, hocatt, and all future program/treatment pages.
   ============================================================= */

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

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    background: #fefefc;
    padding-top: 68px;
}

/* ── Layout ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.btn-dark { background: #1a1a1a; color: #fff; }
.btn-dark:hover { background: #333; }
.btn-gold { background: #c8a96e; color: #fff; }
.btn-gold:hover { background: #b8996e; }
.btn-outline { background: transparent; border: 2px solid #1a1a1a; color: #1a1a1a; }
.btn-outline:hover { background: #1a1a1a; color: #fff; }
.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero (used on program/treatment pages) ── */
.page-hero {
    padding: 90px 0 80px;
    text-align: center;
    color: #fff;
}
.page-hero .eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c8a96e;
    margin-bottom: 18px;
}
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow,
.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c8a96e;
    margin-bottom: 14px;
    display: block;
}
.section-header h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-header p {
    color: #666;
    font-size: 1.05rem;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Therapy Cards ── */
.therapies-section { padding: 80px 0; background: #f8f5f0; }
.therapies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.therapy-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid #ede8e0;
    border-left: 4px solid #c8a96e;
}
.therapy-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; color: #1a1a1a; }
.therapy-card p { color: #666; font-size: 0.92rem; line-height: 1.65; }

/* ── Plan / Steps Section ── */
.plan-section { padding: 80px 0; background: #0d0d0d; color: #fff; }
.plan-section .section-header .eyebrow { color: #c8a96e; }
.plan-section .section-header h2 { color: #fff; }
.plan-section .section-header p { color: rgba(255,255,255,0.65); }
.plan-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-bottom: 48px; }
.plan-step {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 28px 24px;
}
.plan-step-num { font-size: 2rem; font-weight: 800; color: #c8a96e; margin-bottom: 12px; }
.plan-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.plan-step p { font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 1.65; }

/* ── Dr. Murphy Section ── */
.dr-section { padding: 80px 0; background: #f8f5f0; }
.dr-inner { display: grid; grid-template-columns: auto 1fr; gap: 52px; align-items: start; }
@media (max-width: 768px) { .dr-inner { grid-template-columns: 1fr; gap: 32px; } }
.dr-photo { width: 240px; border-radius: 14px; overflow: hidden; flex-shrink: 0; }
.dr-photo img { width: 100%; display: block; }
.dr-copy h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.dr-copy p { color: #555; font-size: 0.97rem; line-height: 1.75; margin-bottom: 14px; }
.dr-copy blockquote {
    border-left: 4px solid #c8a96e;
    padding: 16px 20px;
    background: #fff;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #444;
    margin: 24px 0;
    font-size: 0.97rem;
    line-height: 1.7;
}

/* ── Two-Col Cards ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }
.two-col-card { background: #fff; border-radius: 14px; padding: 32px 28px; border: 1px solid #ede8e0; }
.two-col-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; color: #1a1a1a; }
.two-col-card p { color: #555; font-size: 0.95rem; line-height: 1.7; }

/* ── CTA Section ── */
.cta-section {
    padding: 90px 0;
    text-align: center;
    color: #fff;
}
.cta-section .eyebrow { color: #c8a96e; margin-bottom: 18px; }
.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section p {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* ── Lead Form Section ── */
.form-section { padding: 90px 0; background: #fff; }
.form-inner { max-width: 600px; margin: 0 auto; }
.form-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-align: center; margin-bottom: 8px; }
.form-inner > p { text-align: center; color: #666; font-size: 1rem; margin-bottom: 36px; }
.lead-form {
    background: #f8f5f0;
    border-radius: 16px;
    padding: 40px 36px;
    border: 1px solid #ede8e0;
}
@media (max-width: 600px) { .lead-form { padding: 28px 20px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-row > :only-child { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd6cc;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus { border-color: #c8a96e; }
.lead-form textarea { resize: vertical; min-height: 90px; margin-bottom: 12px; }
.lead-form-submit {
    width: 100%;
    padding: 16px;
    background: #1a1a1a;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}
.lead-form-submit:hover { background: #333; }
.form-trust { text-align: center; color: #999; font-size: 0.82rem; margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 32px; color: #2d7a4f; font-weight: 700; font-size: 1.1rem; }
.form-error { display: none; color: #c0392b; font-size: 0.87rem; margin-top: 8px; text-align: center; }

/* ── Footer styles live in resources/views/partials/footer.blade.php ── */
@media (max-width: 768px) {
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* ── Sticky Bottom CTA (call + book) ── */
.sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    justify-content: center;
    gap: 10px;
    background: rgba(26,26,26,0.97);
    backdrop-filter: blur(10px);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    transform: translateY(110%);
    transition: transform 0.3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta a {
    text-align: center;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
}
.sticky-cta .sticky-cta-call {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.sticky-cta .sticky-cta-call:hover { background: rgba(255,255,255,0.2); }
.sticky-cta .sticky-book {
    background: linear-gradient(135deg, #c9b99a 0%, #d4c5a8 100%);
    color: #1a1a1a;
}
.sticky-cta .sticky-book:hover { background: #c8a96e; color: #fff; }
.sticky-cta .call-short { display: none; }
@media (max-width: 768px) {
    .sticky-cta .sticky-cta-call { flex: 1; }
    .sticky-cta .sticky-book { flex: 2; }
    .sticky-cta a { padding: 13px 10px; }
    .sticky-cta .call-full { display: none; }
    .sticky-cta .call-short { display: inline; }
}
@media (max-width: 380px) {
    .sticky-cta { gap: 8px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
    .sticky-cta a { font-size: 0.82rem; padding: 12px 6px; }
}

/* ── Scroll Animations ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: none; }
