/* ==========================================================================
   MotionPath Physiotherapy - Makati, Manila
   Design inspired by Philippine physiotherapy market leaders
   ========================================================================== */

/* Base & Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }

:root {
    --teal: #0A7E8C;
    --teal-dark: #065864;
    --teal-light: #E6F3F5;
    --coral: #F39256;
    --coral-dark: #E67A38;
    --navy: #1A3241;
    --slate: #445666;
    --muted: #7B8A96;
    --bg-soft: #F2F7F9;
    --border: #E2ECEF;
    --white: #FFFFFF;
    --success: #2BA66B;
    --star: #F5B400;
    --shadow-sm: 0 2px 8px rgba(26,50,65,0.06);
    --shadow-md: 0 8px 24px rgba(26,50,65,0.10);
    --shadow-lg: 0 16px 40px rgba(26,50,65,0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--slate);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--coral); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin-bottom: 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.section { padding: 90px 0; }
.section-alt { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 56px; font-size: 1.05rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    min-height: 48px;
    white-space: nowrap;
    letter-spacing: .02em;
}
.btn-primary { background: var(--coral); color: var(--white) !important; border-color: var(--coral); }
.btn-primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: var(--white) !important; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--navy) !important; border-color: var(--white); }
.btn-secondary:hover { background: var(--teal); color: var(--white) !important; border-color: var(--teal); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--teal) !important; border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white) !important; }
.btn-ghost { background: transparent; color: var(--white) !important; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: var(--white); color: var(--white) !important; }
.btn-lg { padding: 16px 36px; font-size: 16px; min-height: 54px; }

/* ==========================================================================
   Top Bar (phone + hours)
   ========================================================================== */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    font-size: 13.5px;
    padding: 9px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-contacts { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-contacts span, .topbar-contacts a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.88); }
.topbar-contacts a:hover { color: var(--coral); }
.topbar-contacts svg { width: 14px; height: 14px; stroke: var(--coral); }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); border-radius: 50%; }
.topbar-social a:hover { background: var(--coral); }
.topbar-social svg { width: 13px; height: 13px; fill: var(--white); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.header {
    background: var(--white);
    box-shadow: 0 1px 0 var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-weight: 800;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    letter-spacing: -0.02em;
    box-shadow: var(--shadow-sm);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { color: var(--navy); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.logo-text span { color: var(--muted); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }

.nav { display: flex; align-items: center; }
.nav-list { display: flex; list-style: none; gap: 4px; padding: 0; margin: 0; align-items: center; }
.nav-list > li { position: relative; margin: 0; }
.nav-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    color: var(--navy);
    font-weight: 500;
    font-size: 14.5px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
}
.nav-list > li > a:hover, .nav-list > li.active > a { color: var(--teal); background: var(--teal-light); }
.nav-list > li > a svg.caret { width: 12px; height: 12px; opacity: .7; }

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    padding: 10px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all .22s ease;
    z-index: 20;
}
.nav-list > li:hover > .dropdown, .nav-list > li.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(2px); }
.dropdown a {
    display: block;
    padding: 9px 12px;
    color: var(--slate);
    font-size: 14px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}
.dropdown a:hover { background: var(--teal-light); color: var(--teal); }

.nav-cta { margin-left: 12px; }

.burger {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}
.burger span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 4px auto; transition: .2s; border-radius: 2px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    background: linear-gradient(120deg, rgba(10,126,140,0.94) 0%, rgba(6,88,100,0.88) 100%), url('../images/hero.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 110px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; right: -10%;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(243,146,86,0.18) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.22);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    backdrop-filter: blur(6px);
    margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 4px rgba(243,146,86,0.25); }
.hero h1 { color: var(--white); margin-bottom: 20px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--coral); font-weight: 800; }
.hero-lead { font-size: 18px; color: rgba(255,255,255,0.92); margin-bottom: 32px; max-width: 540px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.hero-trust-item svg { width: 20px; height: 20px; color: var(--coral); flex-shrink: 0; }

/* Booking card on hero right */
.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    color: var(--slate);
    position: relative;
}
.hero-card::before {
    content: '';
    position: absolute;
    top: -14px; left: 32px;
    background: var(--coral);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 6px 14px;
    border-radius: 99px;
    content: 'FREE ASSESSMENT';
    text-transform: uppercase;
}
.hero-card h3 { margin-bottom: 6px; font-size: 22px; }
.hero-card > p { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.hero-card form { display: flex; flex-direction: column; gap: 12px; }
.hero-card label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 5px; font-family: 'Poppins', sans-serif; }
.hero-card input, .hero-card select, .hero-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    color: var(--navy);
    background: var(--white);
    transition: border-color .2s;
}
.hero-card input:focus, .hero-card select:focus, .hero-card textarea:focus { outline: none; border-color: var(--teal); }
.hero-card select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A7E8C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.hero-card button { margin-top: 6px; width: 100%; }

/* ==========================================================================
   Trust bar (stats)
   ========================================================================== */
.trust-bar { background: var(--navy); color: var(--white); padding: 36px 0; }
.trust-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust-stat strong { display: block; font-family: 'Poppins', sans-serif; font-size: 2.25rem; font-weight: 800; color: var(--coral); line-height: 1; margin-bottom: 6px; }
.trust-stat span { font-size: 14px; color: rgba(255,255,255,0.78); }

/* ==========================================================================
   HMO Insurance Logos (unique PH feature)
   ========================================================================== */
.hmo-bar { padding: 42px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.hmo-title { text-align: center; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 22px; font-family: 'Poppins', sans-serif; font-weight: 600; }
.hmo-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
}
.hmo-logo {
    padding: 14px 18px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--slate);
    letter-spacing: .02em;
    border: 1px solid var(--border);
    text-align: center;
    width: 100%;
    transition: all .2s;
}
.hmo-logo:hover { color: var(--teal); border-color: var(--teal); }
.hmo-logo i { font-style: normal; color: var(--coral); }

/* ==========================================================================
   Services grid
   ========================================================================== */
.services { padding: 90px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: all .3s ease;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--teal);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); transform-origin: top; }
.service-icon {
    width: 60px; height: 60px;
    background: var(--teal-light);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    color: var(--teal);
    transition: all .3s;
}
.service-card:hover .service-icon { background: var(--teal); color: var(--white); }
.service-icon svg { width: 30px; height: 30px; stroke-width: 1.8; }
.service-card h3 { margin-bottom: 10px; color: var(--navy); }
.service-card p { color: var(--slate); font-size: 14.5px; margin-bottom: 16px; line-height: 1.6; }
.service-card .link {
    font-size: 14px;
    font-weight: 600;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    transition: gap .25s;
}
.service-card:hover .link { color: var(--coral); gap: 10px; }
.service-card .link svg { width: 14px; height: 14px; }

/* ==========================================================================
   About section
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img { position: relative; }
.about-img > img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-badge {
    position: absolute;
    bottom: -24px; left: -24px;
    background: var(--white);
    padding: 20px 26px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 240px;
}
.about-badge-icon {
    width: 52px; height: 52px;
    background: var(--coral);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.about-badge-icon svg { width: 26px; height: 26px; }
.about-badge-text strong { display: block; font-family: 'Poppins', sans-serif; font-size: 20px; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.about-badge-text span { font-size: 12.5px; color: var(--muted); }

.about-text .eyebrow { color: var(--coral); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; display: block; font-family: 'Poppins', sans-serif; }
.about-text h2 { margin-bottom: 18px; }
.about-text p { color: var(--slate); margin-bottom: 16px; }
.about-features { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-features li { display: flex; gap: 10px; font-size: 14.5px; color: var(--slate); margin: 0; }
.about-features .check {
    width: 22px; height: 22px; flex-shrink: 0;
    background: var(--teal-light);
    color: var(--teal);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.about-features .check svg { width: 12px; height: 12px; stroke-width: 3; }

/* ==========================================================================
   Conditions we treat
   ========================================================================== */
.conditions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.condition {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: all .25s;
    text-decoration: none;
    color: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.condition:hover { background: var(--teal); color: var(--white); transform: translateY(-3px); border-color: var(--teal); }
.condition:hover .condition-icon { background: rgba(255,255,255,0.14); color: var(--white); }
.condition-icon {
    width: 48px; height: 48px;
    background: var(--teal-light);
    color: var(--teal);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s;
}
.condition-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.condition span { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
    border: 1px solid var(--border);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo { position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-body { padding: 22px; }
.team-body h4 { margin-bottom: 4px; color: var(--navy); font-size: 17px; }
.team-role { color: var(--coral); font-weight: 600; font-size: 13.5px; letter-spacing: .04em; margin-bottom: 10px; display: block; font-family: 'Poppins', sans-serif; }
.team-credentials { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.team-credentials span { background: var(--bg-soft); color: var(--slate); font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; font-family: 'Poppins', sans-serif; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.price-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all .3s;
    position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--teal); background: linear-gradient(180deg, var(--teal-light) 0%, var(--white) 100%); box-shadow: var(--shadow-md); }
.price-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--coral);
    color: var(--white);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 6px 18px;
    border-radius: 99px;
    font-family: 'Poppins', sans-serif;
}
.price-card h3 { font-size: 20px; margin-bottom: 4px; color: var(--navy); }
.price-tagline { color: var(--muted); font-size: 13.5px; margin-bottom: 28px; display: block; }
.price-amount { font-family: 'Poppins', sans-serif; font-size: 46px; font-weight: 800; color: var(--navy); line-height: 1; display: block; }
.price-amount .currency { font-size: 22px; color: var(--teal); vertical-align: top; margin-right: 4px; font-weight: 600; }
.price-period { color: var(--muted); font-size: 14px; margin: 8px 0 28px; }
.price-features { list-style: none; padding: 0; margin: 0 0 30px; text-align: left; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; color: var(--slate); margin: 0; }
.price-features li:last-child { border-bottom: 0; }
.price-features li svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.price-card .btn { width: 100%; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px 28px;
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.review-stars { color: var(--star); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.review-quote { font-style: italic; color: var(--slate); margin-bottom: 24px; flex-grow: 1; font-size: 14.5px; line-height: 1.7; }
.review-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--border); }
.review-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review-author-info strong { display: block; color: var(--navy); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; }
.review-author-info span { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   Contact section
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-detail { display: flex; gap: 16px; padding: 20px; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border); transition: all .25s; }
.contact-detail:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.contact-detail .icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: var(--teal-light); color: var(--teal);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.contact-detail .icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.contact-detail h4 { font-size: 15px; margin-bottom: 4px; color: var(--navy); font-family: 'Poppins', sans-serif; }
.contact-detail p, .contact-detail a { font-size: 14px; color: var(--slate); margin: 0; }
.contact-detail a:hover { color: var(--teal); }

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.contact-form h3 { margin-bottom: 6px; }
.contact-form > p { color: var(--muted); margin-bottom: 24px; font-size: 14.5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-family: 'Poppins', sans-serif; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14.5px;
    color: var(--navy);
    background: var(--white);
    transition: border-color .2s;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--teal); }
.form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A7E8C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.contact-form button { width: 100%; margin-top: 6px; }

/* ==========================================================================
   Page hero (sub-pages)
   ========================================================================== */
.page-hero {
    background: linear-gradient(135deg, rgba(10,126,140,0.92), rgba(6,88,100,0.92)), url('../images/hero.jpg') center/cover;
    color: var(--white);
    padding: 80px 0 70px;
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.86); max-width: 640px; margin: 0 auto; font-size: 17px; }
.breadcrumb { font-size: 13.5px; margin-bottom: 18px; color: rgba(255,255,255,0.7); font-family: 'Poppins', sans-serif; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.breadcrumb .current { color: var(--white); font-weight: 600; }

/* Service-page hero (gets per-page background) */
.service-hero {
    color: var(--white);
    padding: 90px 0 80px;
    text-align: left;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.service-hero h1 { color: var(--white); margin-bottom: 14px; max-width: 720px; }
.service-hero p { color: rgba(255,255,255,0.92); max-width: 640px; font-size: 17px; margin-bottom: 24px; }
.service-hero .breadcrumb { color: rgba(255,255,255,0.7); }
.service-hero .breadcrumb a { color: rgba(255,255,255,0.75); }
.service-hero .breadcrumb .current { color: var(--white); }
.service-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }

/* ==========================================================================
   Article hub page
   ========================================================================== */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.article-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .article-img img { transform: scale(1.05); }
.article-body { padding: 26px; flex-grow: 1; display: flex; flex-direction: column; }
.article-meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; font-family: 'Poppins', sans-serif; }
.article-meta .cat { background: var(--teal-light); color: var(--teal); padding: 3px 10px; border-radius: 99px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.article-body h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.35; }
.article-body h3 a { color: var(--navy); }
.article-body h3 a:hover { color: var(--teal); }
.article-body p { color: var(--slate); font-size: 14.5px; flex-grow: 1; margin-bottom: 16px; line-height: 1.6; }
.article-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    transition: gap .25s;
}
.article-link:hover { color: var(--coral); gap: 10px; }
.article-link svg { width: 14px; height: 14px; }

/* ==========================================================================
   Full article
   ========================================================================== */
.article-full { max-width: 820px; margin: 0 auto; }
.article-full .article-header { margin-bottom: 40px; }
.article-full .article-header .cat { display: inline-block; background: var(--teal-light); color: var(--teal); padding: 6px 14px; border-radius: 99px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.article-full h1 { margin-bottom: 16px; line-height: 1.2; }
.article-full .article-lead { font-size: 18.5px; color: var(--slate); line-height: 1.6; margin-bottom: 22px; }
.article-full .article-info { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 14px; color: var(--muted); font-family: 'Poppins', sans-serif; }
.article-full .article-info img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.article-full .article-info strong { color: var(--navy); font-weight: 600; }
.article-full .article-info .sep { color: var(--border); }

.article-full .featured-img { width: 100%; border-radius: var(--radius-md); margin: 24px 0 40px; box-shadow: var(--shadow-md); }

.article-full .article-body { font-size: 16.5px; line-height: 1.8; color: var(--slate); }
.article-full .article-body h2 { font-size: 1.7rem; margin: 42px 0 18px; color: var(--navy); }
.article-full .article-body h3 { font-size: 1.3rem; margin: 32px 0 14px; color: var(--navy); }
.article-full .article-body p { margin-bottom: 18px; }
.article-full .article-body ul, .article-full .article-body ol { margin: 16px 0 20px 0; padding-left: 1.4em; }
.article-full .article-body li { margin-bottom: 10px; }
.article-full .article-body a { color: var(--teal); font-weight: 600; border-bottom: 1.5px solid rgba(10,126,140,0.3); }
.article-full .article-body a:hover { color: var(--coral); border-color: var(--coral); }
.article-full .article-body blockquote {
    background: var(--teal-light);
    border-left: 4px solid var(--teal);
    padding: 22px 28px;
    margin: 28px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--navy);
    font-style: italic;
    font-size: 17px;
    line-height: 1.6;
}
.article-full .article-body blockquote strong { color: var(--teal); font-style: normal; }
.article-full .callout {
    background: linear-gradient(135deg, var(--bg-soft), var(--teal-light));
    border-radius: var(--radius-md);
    padding: 28px;
    margin: 32px 0;
    border: 1px solid var(--border);
}
.article-full .callout h4 { color: var(--navy); margin-bottom: 8px; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.article-full .callout h4::before { content: ''; width: 8px; height: 8px; background: var(--coral); border-radius: 50%; }
.article-full .callout p:last-child { margin-bottom: 0; }

/* Related articles */
.related-section { border-top: 1px solid var(--border); padding-top: 60px; margin-top: 70px; }
.related-section h3 { margin-bottom: 30px; text-align: center; }

/* ==========================================================================
   Service page body
   ========================================================================== */
.service-body { max-width: 880px; margin: 0 auto; font-size: 16.5px; line-height: 1.8; color: var(--slate); }
.service-body h2 { font-size: 1.8rem; margin: 40px 0 16px; color: var(--navy); }
.service-body h3 { font-size: 1.3rem; margin: 28px 0 12px; color: var(--navy); }
.service-body p { margin-bottom: 18px; }
.service-body a { color: var(--teal); font-weight: 600; border-bottom: 1.5px solid rgba(10,126,140,0.3); }
.service-body a:hover { color: var(--coral); border-color: var(--coral); }
.service-body ul { margin-bottom: 22px; padding-left: 1.4em; }
.service-body li { margin-bottom: 10px; }
.service-body .highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 28px 0 36px;
    padding: 0;
    list-style: none;
}
.service-body .highlights li {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    gap: 12px;
    margin: 0;
}
.service-body .highlights li svg { width: 24px; height: 24px; color: var(--teal); flex-shrink: 0; }
.service-body .highlights li strong { color: var(--navy); display: block; margin-bottom: 4px; font-family: 'Poppins', sans-serif; }
.service-body .highlights li span { color: var(--muted); font-size: 14px; }

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0 36px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-family: 'Inter', sans-serif;
}
.price-table th, .price-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.price-table th { background: var(--bg-soft); color: var(--navy); font-weight: 700; font-family: 'Poppins', sans-serif; }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 700; color: var(--teal); }
.price-table tr:last-child td { border-bottom: 0; }

.cta-section {
    background: linear-gradient(135deg, var(--navy), #0c1f2a);
    color: var(--white);
    padding: 70px 40px;
    border-radius: var(--radius-lg);
    margin: 60px auto 0;
    max-width: 900px;
    text-align: center;
}
.cta-section h3 { color: var(--white); margin-bottom: 12px; font-size: 1.8rem; }
.cta-section p { color: rgba(255,255,255,0.82); margin-bottom: 24px; font-size: 16.5px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .btn { margin: 0 8px 8px; }

/* ==========================================================================
   Reviews page
   ========================================================================== */
.reviews-intro { text-align: center; margin-bottom: 50px; }
.reviews-intro .big-rating { font-family: 'Poppins', sans-serif; font-size: 58px; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.reviews-intro .big-rating em { color: var(--coral); font-style: normal; }
.reviews-intro .big-stars { color: var(--star); font-size: 22px; letter-spacing: 4px; margin-bottom: 10px; }
.reviews-intro p { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-body { max-width: 860px; margin: 0 auto; font-size: 15.5px; line-height: 1.8; color: var(--slate); }
.legal-body h2 { font-size: 1.4rem; margin: 34px 0 14px; color: var(--navy); }
.legal-body h3 { font-size: 1.15rem; margin: 24px 0 10px; color: var(--navy); }
.legal-body p, .legal-body li { margin-bottom: 10px; }
.legal-body ul { margin-bottom: 18px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.76);
    padding: 70px 0 0;
    font-size: 14.5px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 42px;
    padding-bottom: 50px;
}
.footer h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 600;
}
.footer-about .logo { margin-bottom: 20px; }
.footer-about .logo-text strong, .footer-about .logo-text span { color: var(--white); }
.footer-about p { color: rgba(255,255,255,0.68); margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.footer-social a:hover { background: var(--coral); }
.footer-social svg { width: 16px; height: 16px; fill: var(--white); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.76); transition: color .2s; }
.footer-links a:hover { color: var(--coral); }
.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
    list-style: none;
    color: rgba(255,255,255,0.76);
    font-size: 14px;
    line-height: 1.5;
}
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact svg { width: 18px; height: 18px; color: var(--coral); flex-shrink: 0; margin-top: 2px; stroke-width: 1.8; }
.footer-contact a { color: rgba(255,255,255,0.76); }
.footer-contact a:hover { color: var(--coral); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 26px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: rgba(255,255,255,0.58);
}
.footer-bottom a { color: rgba(255,255,255,0.66); }
.footer-bottom a:hover { color: var(--coral); }
.footer-bottom-right { display: flex; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   WhatsApp float
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.45);
    z-index: 50;
    transition: all .25s;
}
.whatsapp-float:hover { transform: scale(1.08) translateY(-2px); color: var(--white); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ==========================================================================
   Cookie notice
   ========================================================================== */
.cookie {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 100px;
    max-width: 480px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    padding: 20px 24px;
    z-index: 60;
    display: none;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--border);
}
.cookie.show { display: flex; }
.cookie p { font-size: 13.5px; color: var(--slate); margin: 0; flex-grow: 1; line-height: 1.5; }
.cookie p a { color: var(--teal); font-weight: 600; }
.cookie button {
    background: var(--teal);
    color: var(--white);
    border: 0;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    font-size: 13.5px;
    flex-shrink: 0;
    transition: background .2s;
}
.cookie button:hover { background: var(--teal-dark); }

/* ==========================================================================
   Responsive — Tablet
   ========================================================================== */
@media (max-width: 992px) {
    .section { padding: 70px 0; }
    .topbar-contacts { gap: 16px; }

    /* Nav */
    .burger { display: inline-flex; }
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: var(--white);
        padding: 90px 24px 40px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.12);
        transition: right .3s ease;
        overflow-y: auto;
        z-index: 99;
    }
    .nav.open { right: 0; }
    .nav-list { flex-direction: column; width: 100%; align-items: stretch; gap: 4px; }
    .nav-list > li { width: 100%; }
    .nav-list > li > a { padding: 14px 16px; justify-content: space-between; width: 100%; font-size: 15px; }
    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 4px 0 4px 14px;
        display: none;
        background: var(--bg-soft);
        border-radius: 8px;
        margin-top: 4px;
    }
    .nav-list > li.open > .dropdown { display: block; }
    .nav-cta { margin: 14px 0 0; width: 100%; }
    .nav-cta .btn { width: 100%; }
    .body-lock { overflow: hidden; }
    .body-lock::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 98;
    }

    /* Hero */
    .hero { padding: 70px 0 80px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-card { max-width: 500px; margin: 0 auto; }
    .trust-bar-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .trust-stat strong { font-size: 1.8rem; }

    /* Grids */
    .services-grid, .reviews-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img { order: 2; max-width: 500px; margin: 0 auto; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .conditions-grid { grid-template-columns: repeat(3, 1fr); }
    .hmo-logos { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; max-width: 460px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

/* ==========================================================================
   Responsive — Mobile
   ========================================================================== */
@media (max-width: 576px) {
    html { scroll-padding-top: 90px; }

    .section { padding: 48px 0; }
    .section-subtitle { margin-bottom: 36px; }
    .container { padding: 0 18px; }

    /* Topbar collapses */
    .topbar { display: none; }

    /* Hero */
    .hero { padding: 40px 0 50px; }
    .hero h1 { font-size: 1.9rem; }
    .hero-lead { font-size: 15.5px; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .hero-btns .btn { width: 100%; }
    .hero-card { padding: 24px 20px; }
    .hero-card::before { left: 20px; }
    .hero-eyebrow { font-size: 12px; padding: 7px 14px; }
    .hero-trust { gap: 16px 24px; margin-top: 28px; }

    /* Trust bar */
    .trust-bar { padding: 28px 0; }
    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
    .trust-stat strong { font-size: 1.6rem; }
    .trust-stat span { font-size: 12.5px; }

    /* HMO */
    .hmo-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hmo-logo { font-size: 13px; padding: 12px 10px; }

    /* Cards grids */
    .services-grid, .reviews-grid, .articles-grid, .team-grid, .conditions-grid, .footer-grid { grid-template-columns: 1fr; gap: 18px; }
    .conditions-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card { padding: 26px 22px; }

    /* About */
    .about-badge { bottom: -18px; left: 50%; transform: translateX(-50%); }
    .about-features { grid-template-columns: 1fr; }

    /* Contact form */
    .contact-form { padding: 26px 22px; }
    .form-row { grid-template-columns: 1fr; }

    /* Article */
    .article-full .article-body { font-size: 15.5px; }
    .article-full .article-info { flex-wrap: wrap; font-size: 12.5px; }
    .article-full .article-info .sep { display: none; }

    /* Page hero */
    .page-hero { padding: 56px 0 48px; }
    .page-hero p { font-size: 15px; }
    .service-hero { padding: 60px 0 54px; }
    .service-hero p { font-size: 15px; }

    /* CTA section */
    .cta-section { padding: 44px 26px; margin-top: 40px; }
    .cta-section h3 { font-size: 1.4rem; }
    .cta-section .btn { width: 100%; margin-bottom: 10px; }

    /* Pricing */
    .price-card { padding: 34px 24px; }
    .price-amount { font-size: 40px; }

    /* Footer */
    .footer { padding: 50px 0 0; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
    .footer-bottom-right { justify-content: center; }

    /* Cookie */
    .cookie {
        left: 12px;
        right: 12px;
        bottom: 92px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 18px;
    }

    /* WhatsApp */
    .whatsapp-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ==========================================================================
   Service cards with cover photo
   ========================================================================== */
.service-card.has-cover {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card.has-cover::before { display: none; }
.service-card.has-cover .service-cover {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-soft);
}
.service-card.has-cover .service-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.service-card.has-cover:hover .service-cover img { transform: scale(1.06); }
.service-card.has-cover .service-card-body {
    padding: 26px 28px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-card.has-cover .service-card-body .link { margin-top: auto; }

/* ==========================================================================
   Condition cards with cover photo
   ========================================================================== */
.condition.has-cover {
    padding: 0;
    overflow: hidden;
    gap: 0;
    text-align: left;
    flex-direction: column;
    align-items: stretch;
}
.condition.has-cover .condition-cover {
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: var(--bg-soft);
}
.condition.has-cover .condition-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.condition.has-cover:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.condition.has-cover:hover .condition-cover img { transform: scale(1.06); }
.condition.has-cover .condition-body {
    padding: 14px 16px 18px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--navy);
    transition: color .2s;
}
.condition.has-cover:hover .condition-body { color: var(--teal); }

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hide-mobile { display: block; }
.show-mobile { display: none; }
@media (max-width: 576px) {
    .hide-mobile { display: none; }
    .show-mobile { display: block; }
}
