/* ══ BERYL HEALTH — BRAND PALETTE ══ */
:root {
    --deep-teal: #0F5C5A;
    --medium-teal: #3FA69A;
    --light-sage: #A8D5C7;
    --lavender: #9B8CCB;
    --off-white: #F2F4F7;
    --white: #FFFFFF;
    --text-dark: #1a2e2e;
    --text-mid: #4a5a5a;
    --text-light: #7a8a8a;
    --border: rgba(15, 92, 90, 0.08);
    --radius: 14px;
    --shadow: 0 2px 16px rgba(15, 92, 90, 0.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ── Header ── */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-brand {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-right: auto;
}

.header-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--deep-teal);
}

.header-logo-health {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--lavender);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.header-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--medium-teal);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--deep-teal);
    text-decoration: none;
}

.header-cta {
    padding: 10px 20px;
    background: var(--lavender);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
    white-space: nowrap;
}

.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(155, 140, 203, 0.3);
}

/* ── Hero ── */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-content { flex: 1; }

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--deep-teal);
    margin-bottom: 12px;
}

.hero-bold { font-weight: 700; }
.hero-light { font-weight: 400; color: var(--text-mid); }

.hero-divider {
    color: var(--lavender);
    font-size: 18px;
    margin-bottom: 12px;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-mid);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.cta-btn {
    display: inline-block;
    padding: 16px 36px;
    background: var(--lavender);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 20px rgba(155, 140, 203, 0.25);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(155, 140, 203, 0.35);
}

.cta-btn:active { transform: scale(0.98); }

.cta-btn-secondary {
    font-size: 15px;
    color: var(--deep-teal);
    text-decoration: none;
    font-weight: 500;
}

.cta-btn-secondary:hover { text-decoration: underline; }

.hero-image { flex: 1; max-width: 440px; }

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(15, 92, 90, 0.12);
    object-fit: cover;
}

/* ── Pillars ── */
.pillars {
    text-align: center;
    padding: 80px 24px;
    background: var(--white);
}

.pillars-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--lavender);
    margin-bottom: 12px;
}

.pillars-headline {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--deep-teal);
    margin-bottom: 48px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.pillar {
    padding: 36px 24px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.pillar-icon { margin-bottom: 16px; }

.pillar h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--deep-teal);
    margin-bottom: 8px;
}

.pillar p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ── How It Works ── */
.how-it-works {
    padding: 80px 24px;
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--deep-teal);
    text-align: center;
    margin-bottom: 16px;
}

.section-sub {
    text-align: center;
    font-size: 15px;
    color: var(--text-mid);
    margin-bottom: 40px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--deep-teal);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--deep-teal);
    margin-bottom: 4px;
}

.step-text p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.6;
}

.steps-cta { text-align: center; }

/* ── Services ── */
.services {
    padding: 80px 24px;
    background: var(--white);
    max-width: 1100px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    padding: 28px 24px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.15s, box-shadow 0.15s;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.service-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--deep-teal);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
}

.service-card-highlight {
    background: var(--deep-teal);
    border-color: var(--deep-teal);
}

.service-card-highlight h4 { color: var(--white); }
.service-card-highlight p { color: var(--light-sage); }

/* ── Tech Differentiator ── */
.tech {
    padding: 80px 24px;
    background: var(--deep-teal);
    text-align: center;
}

.tech-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--lavender);
    margin-bottom: 12px;
}

.tech-headline {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.tech-body {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.tech-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-item span {
    font-size: 13px;
    font-weight: 500;
    color: var(--light-sage);
}

.tech-optional {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 32px;
    font-style: italic;
}

/* ── Service Area ── */
.service-area {
    padding: 80px 24px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.area-cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.city {
    padding: 8px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--deep-teal);
}

.area-note {
    font-size: 14px;
    color: var(--text-light);
}

/* ── About ── */
.about {
    padding: 80px 24px;
    background: var(--white);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.about-text {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-founders {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.founder-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--off-white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--medium-teal);
}

.founder-placeholder span {
    font-size: 11px;
    color: var(--medium-teal);
    font-weight: 500;
    text-align: center;
}

/* ── Contact ── */
.contact {
    padding: 80px 24px;
    text-align: center;
    background: var(--off-white);
}

.contact-headline {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--deep-teal);
    margin-bottom: 8px;
}

.contact-sub {
    font-size: 15px;
    color: var(--text-mid);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 380px;
    margin: 0 auto 16px;
}

.form-input {
    padding: 16px 20px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus { border-color: var(--lavender); }
.form-input::placeholder { color: var(--text-light); }

.contact-msg {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
}

.contact-msg.success { color: var(--medium-teal); }
.contact-msg.error { color: #ef4444; }

.contact-or {
    margin: 24px 0 16px;
    font-size: 13px;
    color: var(--text-light);
}

.contact-phone-large {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--deep-teal);
    text-decoration: none;
    margin-bottom: 12px;
}

.contact-phone-large:hover { color: var(--medium-teal); }

.contact-note {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

/* ── Footer ── */
.footer {
    padding: 48px 24px;
    background: var(--deep-teal);
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.footer-logo-health {
    font-size: 10px;
    font-weight: 600;
    color: var(--lavender);
    letter-spacing: 3px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--light-sage);
    margin-bottom: 12px;
}

.footer-service-area {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.footer-phone {
    margin-bottom: 16px;
}

.footer-phone a {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
}

.footer-phone a:hover { color: var(--light-sage); }

.footer-legal {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; gap: 10px; }
    .header-location { display: none; }
    .header-phone { font-size: 13px; }
    .header-cta { padding: 8px 16px; font-size: 12px; }

    .hero {
        flex-direction: column;
        padding: 60px 20px 40px;
        text-align: center;
    }
    .hero h1 { font-size: 30px; }
    .hero-ctas { align-items: center; }
    .hero-image { max-width: 100%; }

    .pillars-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .pillars-headline { font-size: 26px; }

    .how-it-works { padding: 60px 20px; }
    .section-title { font-size: 26px; }

    .services { padding: 60px 20px; }
    .services-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    .tech { padding: 60px 20px; }
    .tech-headline { font-size: 26px; }
    .tech-grid { flex-direction: column; align-items: center; gap: 16px; }

    .service-area { padding: 60px 20px; }

    .about { padding: 60px 20px; }
    .about-founders { flex-direction: column; align-items: center; }

    .contact { padding: 60px 20px; }
    .contact-headline { font-size: 26px; }
    .contact-phone-large { font-size: 24px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .header-phone { display: none; }
    .cta-btn { padding: 14px 28px; font-size: 15px; }
}
