/* ================================================================
   MonTherapy — Main Homepage Stylesheet
   Mobile-first. Brand: #516134 green, #f3f0e4 ivory, #e45a9a pink
   ================================================================ */

:root {
    --green:    #516134;
    --green-lt: #6a7f47;
    --dark:     #2c2d3f;
    --ivory:    #f3f0e4;
    --peach:    #e9d2b5;
    --pink:     #e45a9a;
    --pink-dk:  #c93d85;
    --white:    #ffffff;
    --muted:    #6b7280;
    --border:   #e5e7eb;
    --radius:   12px;
    --radius-lg:20px;
    --shadow:   0 2px 12px rgba(0,0,0,.08);
    --shadow-md:0 4px 24px rgba(0,0,0,.12);
    --font:     'Poppins', system-ui, sans-serif;
    --transition: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 .5rem;
}

h1 { font-size: clamp(1.75rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); }
h3 { font-size: 1rem; }

h1 em, h2 em { font-style: normal; color: var(--pink); }

p { margin: 0 0 .75rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-lt); }

.kicker {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: .6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1.4rem;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-pink {
    background: var(--pink);
    color: var(--white);
}
.btn-pink:hover {
    background: var(--pink-dk);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(228,90,154,.3);
}

.btn-soft {
    background: var(--ivory);
    color: var(--dark);
    border: 1.5px solid var(--peach);
}
.btn-soft:hover {
    background: var(--peach);
    color: var(--dark);
    transform: translateY(-1px);
}

.btn-sm { padding: .45rem 1rem; font-size: .8rem; }

.top-line {
    background: var(--green);
    color: rgba(255,255,255,.85);
    font-size: .72rem;
    padding: .35rem 0;
}
.top-line .container { gap: .5rem; flex-wrap: wrap; }
.top-line a { color: rgba(255,255,255,.85); font-size: .72rem; text-decoration: none; margin-left: 1rem; }
.top-line a:hover { color: #fff; }
.top-line span { opacity: .7; }

.navbar { padding: .75rem 0; box-shadow: 0 1px 0 var(--border); z-index: 1000; }
.navbar-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.navbar-brand img { height: 36px; width: auto; }
.navbar-brand .wordmark { height: 22px; }
.navbar .nav-link { font-size: .85rem; font-weight: 500; color: var(--dark); padding: .4rem .7rem; }
.navbar .nav-link:hover { color: var(--green); }

.section { padding: 4rem 0; }
@media (max-width: 767px) { .section { padding: 2.5rem 0; } }

.section-heading { text-align: center; max-width: 560px; margin: 0 auto 2.5rem; }
.section-heading p { font-size: .9rem; }

.hero {
    padding: 3.5rem 0 3rem;
    background: linear-gradient(135deg, var(--ivory) 0%, #faf8f2 100%);
    border-bottom: 1px solid var(--peach);
}
.hero .kicker { margin-bottom: .8rem; }
.hero h1 { margin-bottom: 1rem; }
.hero > .container > .row > div:first-child p { font-size: 1rem; max-width: 480px; }
.proof { margin-top: 1.25rem; font-size: .75rem; color: var(--muted); font-weight: 500; letter-spacing: .03em; }

.hero-image {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.hero-image img { max-height: 200px; object-fit: contain; border-radius: var(--radius); }
.hero-image div { font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }

.trust { background: var(--green); color: var(--white); padding: 1rem 0; }
.trust .col-6, .trust .col-lg-3 { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .9; padding: .5rem; }

.care-card {
    background: var(--ivory);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    border: 1.5px solid var(--peach);
    transition: box-shadow var(--transition), transform var(--transition);
}
.care-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.care-card small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); margin-bottom: .5rem; }
.care-card h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: .5rem; }
.care-card p { font-size: .85rem; }

.therapist-section { background: var(--ivory); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.25rem; }
.filters button {
    padding: .45rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: .8rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
}
.filters button:hover { border-color: var(--green); color: var(--green); }
.filters button.active { background: var(--green); border-color: var(--green); color: var(--white); }

.search-box { max-width: 400px; margin: 0 auto 2rem; }
.search-box input {
    width: 100%;
    padding: .65rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    font-size: .85rem;
    font-family: var(--font);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition);
}
.search-box input:focus { border-color: var(--green); }

.therapist-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}
.therapist-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.therapist-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-lt) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.therapist-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.therapist-photo span { font-size: 1.6rem; font-weight: 700; color: rgba(255,255,255,.9); letter-spacing: .05em; }

.therapist-content { padding: .9rem; display: flex; flex-direction: column; flex: 1; }
.therapist-content small { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); display: block; margin-bottom: .2rem; }
.therapist-content h3 { font-size: .9rem; color: var(--dark); margin-bottom: .15rem; line-height: 1.3; }
.therapist-content .degree { font-size: .75rem; font-weight: 600; color: var(--dark); margin-bottom: .1rem; }
.therapist-content .institute { font-size: .7rem; color: var(--muted); margin-bottom: .5rem; }

.modes { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .75rem; }
.modes span { background: var(--ivory); color: var(--green); font-size: .62rem; font-weight: 600; padding: .2rem .55rem; border-radius: 50px; border: 1px solid var(--peach); }

.card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; border-top: 1px solid var(--border); padding-top: .65rem; }
.card-foot > div { flex: 1; min-width: 0; }
.card-foot small { display: block; font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
.card-foot strong { font-size: .78rem; color: var(--dark); }
.card-foot > div a { font-size: .72rem; font-weight: 600; color: var(--pink); text-decoration: none; }

.btn-profile {
    padding: .35rem .75rem;
    border-radius: 50px;
    background: var(--green);
    color: var(--white);
    font-size: .68rem;
    font-weight: 600;
    font-family: var(--font);
    border: none;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-profile:hover { background: var(--green-lt); }

.no-results { text-align: center; padding: 3rem; color: var(--muted); font-size: .9rem; }

.promise { background: var(--dark); color: var(--white); padding: 3rem 0; }
.promise .kicker { color: var(--peach); }
.promise h2 { color: var(--white); }
.promise p { color: rgba(255,255,255,.7); }

.audience {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.audience small { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--peach); }
.audience strong { font-size: 1rem; color: var(--white); line-height: 1.3; }
.audience span { font-size: .8rem; color: rgba(255,255,255,.6); }

.clinic-images { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; border-radius: var(--radius-lg); overflow: hidden; }
.clinic-images img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 575px) { .clinic-images { grid-template-columns: 1fr; } .clinic-images img { height: 180px; } }

.address { background: var(--ivory); border-radius: var(--radius); padding: 1rem 1.25rem; border: 1.5px solid var(--peach); margin: 1rem 0; display: flex; flex-direction: column; gap: .25rem; }
.address strong { font-size: .85rem; color: var(--dark); }
.address span { font-size: .8rem; color: var(--muted); }

.app-section { background: var(--ivory); }
.app-panel { background: var(--green); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; color: var(--white); }
.app-panel img { height: 60px; width: auto; opacity: .9; filter: brightness(0) invert(1); }
.app-panel strong { font-size: .9rem; font-weight: 700; }
.app-panel span { font-size: .8rem; opacity: .75; }

.contact-box {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-lt) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
}
.contact-box .kicker { color: var(--peach); }
.contact-box h2 { color: var(--white); }
.contact-box p { color: rgba(255,255,255,.8); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.contact-actions a, .contact-actions span { font-size: .8rem; color: rgba(255,255,255,.85); }
.contact-actions a:hover { color: var(--white); }

footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 3rem 0 1.5rem; }
footer .navbar-brand img { filter: brightness(0) invert(1); opacity: .9; }
footer p { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: .75rem; max-width: 300px; }
footer .row > div > strong { display: block; color: var(--white); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .75rem; }
footer .row > div > a, footer .row > div > div a { display: block; font-size: .82rem; color: rgba(255,255,255,.6); text-decoration: none; padding: .15rem 0; transition: color var(--transition); }
footer .row > div > a:hover, footer .row > div > div a:hover { color: var(--white); }
footer .row > div > div { margin-top: 1.25rem; }
footer .row > div > div strong { margin-bottom: .5rem; }

.footer-social { display: flex; gap: .75rem; margin-top: .75rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: all var(--transition); }
.footer-social a:hover { background: var(--pink); color: var(--white); }

.copyright { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .72rem; color: rgba(255,255,255,.4); text-align: center; line-height: 1.8; }

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 900;
    background: #25d366;
    color: var(--white);
    border-radius: 50px;
    padding: .6rem 1rem;
    font-size: .78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .45rem;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: box-shadow var(--transition), transform var(--transition);
    text-decoration: none;
}
.whatsapp-float:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.5); }

.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: .5rem .75rem;
    gap: .5rem;
    box-shadow: 0 -2px 12px rgba(0,0,0,.1);
}
.mobile-bar a { flex: 1; padding: .6rem; border-radius: 50px; text-align: center; font-size: .78rem; font-weight: 700; text-decoration: none; border: 1.5px solid var(--border); color: var(--dark); transition: all var(--transition); }
.mobile-bar a:first-child { background: var(--ivory); }
.mobile-bar a:last-child { background: #25d366; color: var(--white); border-color: #25d366; }

.modal-content { border-radius: var(--radius-lg); border: none; }
.modal-header { border-bottom: 1px solid var(--border); padding: 1.25rem 1.5rem; }
.modal-body { padding: 1.5rem; }
.modal-body h3 { font-size: 1.1rem; margin: .25rem 0 .5rem; }
.modal-footer { border-top: 1px solid var(--border); padding: 1rem 1.5rem; }

@media (max-width: 767px) {
    .mobile-bar { display: flex; }
    .whatsapp-float { bottom: 70px; }
    body { padding-bottom: 65px; }
    .therapist-content h3 { font-size: .82rem; }
    .therapist-content .degree { font-size: .7rem; }
    .contact-box { flex-direction: column; }
    .contact-actions { align-items: stretch; }
    .contact-actions a { text-align: center; }
    .section-heading { margin-bottom: 1.75rem; }
    footer p { max-width: 100%; }
}

@media (min-width: 768px) {
    .therapist-content h3 { font-size: .95rem; }
    .care-card h3 { font-size: 1.1rem; }
}

@media (min-width: 992px) {
    .hero { padding: 5rem 0 4rem; }
}