/* JJANED Specialist Hospitals — site styles */
:root {
  --orange: #E87636;
  --orange-dark: #C85F22;
  --orange-soft: #FDF1E8;
  --ink: #1F2A37;
  --ink-2: #4B5563;
  --ink-3: #6B7280;
  --line: #E5E7EB;
  --bg: #FFFFFF;
  --bg-2: #F8F7F5;
  --green: #0F7B6C;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 42, 55, 0.08);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-2); }
.section.tight { padding: 48px 0; }
.eyebrow { color: var(--orange-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .6em; }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px;
  font-weight: 600; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: .15s;
  text-decoration: none !important;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border-color: var(--orange); color: var(--orange-dark); background: transparent; }
.btn-outline:hover { background: var(--orange-soft); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--orange-soft); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; }

/* Top bar */
.topbar { background: var(--ink); color: #fff; font-size: .875rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .em { color: #FFB27A; }
.topbar .right { display: flex; gap: 18px; flex-wrap: wrap; }

/* Header / nav */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--orange-soft); color: var(--orange-dark); text-decoration: none; }
.nav .btn { margin-left: 8px; padding: .6em 1.2em; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .topbar .right { display: none; }
}

/* Hero */
.hero { background: linear-gradient(135deg, #FFF7F1 0%, #FFFFFF 55%, #FDF1E8 100%); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 span { color: var(--orange); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 28px; border: 1px solid var(--line); }
.hero-card h3 { margin-bottom: 14px; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.hero-card li { padding: 10px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 12px; align-items: flex-start; }
.hero-card li:last-child { border: 0; }
.hero-card li svg { flex: none; margin-top: 3px; }
.hero-art { position: absolute; right: -80px; top: -60px; width: 420px; opacity: .06; pointer-events: none; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; } .hero-art { display: none; } }

/* Grids and cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--ink-2); font-size: .95rem; margin-bottom: 0; }
.card a.more { display: inline-block; margin-top: 12px; font-weight: 600; }
.card.accent { background: var(--orange); color: #fff; border-color: var(--orange); }
.card.accent .icon { background: rgba(255,255,255,.18); color: #fff; }
.card.accent p { color: rgba(255,255,255,.9); }
.card.accent a { color: #fff; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat b { display: block; font-size: 2rem; color: var(--orange-dark); line-height: 1.1; }
.stat span { color: var(--ink-2); font-size: .9rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.photo { border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, var(--orange-soft), #fff); border: 1px solid var(--line); aspect-ratio: 4/3; display: grid; place-items: center; color: var(--ink-3); font-size: .9rem; text-align: center; padding: 24px; }
.photo.tall { aspect-ratio: 3/4; }
.photo .ph-icon { width: 96px; opacity: .35; margin-bottom: 12px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 8px 0 8px 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange-soft); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 14px; width: 5px; height: 9px; border: solid var(--orange-dark); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* CTA band */
.cta { background: var(--ink); color: #fff; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }
.cta h2 { margin: 0 0 .2em; }
.cta p { margin: 0; color: rgba(255,255,255,.8); }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page header */
.page-head { background: linear-gradient(135deg, #FFF7F1, #FDF1E8); padding: 56px 0; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .3em; }
.crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 10px; }
.crumbs a { color: var(--ink-3); }

/* Service detail blocks */
.service { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.service:last-child { border: 0; }
.service .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; }
.service h3 { margin-bottom: .3em; }
.service p { color: var(--ink-2); }
.service ul { color: var(--ink-2); margin: .5em 0 0; padding-left: 1.2em; }

/* Doctors */
.doc { text-align: center; }
.doc .avatar { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 14px; background: var(--orange-soft); display: grid; place-items: center; color: var(--orange-dark); font-weight: 700; font-size: 1.6rem; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--orange-soft); }
.doc .role { color: var(--orange-dark); font-weight: 600; font-size: .9rem; }
.doc p.bio { margin-top: 8px; }

/* Plans */
.plan { position: relative; }
.plan .price { font-size: 1.9rem; font-weight: 700; color: var(--ink); margin: 6px 0 2px; }
.plan .price small { font-size: .9rem; color: var(--ink-3); font-weight: 500; }
.plan .tag { position: absolute; top: 16px; right: 16px; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .05em; }
.plan .checks { margin: 16px 0 20px; font-size: .95rem; }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #D1D5DB; border-radius: 10px; font: inherit; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
textarea { min-height: 120px; resize: vertical; }
.hint { font-size: .85rem; color: var(--ink-3); margin-top: 6px; }
.notice { background: var(--orange-soft); border-left: 4px solid var(--orange); padding: 14px 16px; border-radius: 8px; font-size: .95rem; }
.notice.ok { background: #E8F5F2; border-color: var(--green); }
.honeypot { position: absolute; left: -9999px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-list li:last-child { border: 0; }
.contact-list .icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; }
.contact-list b { display: block; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 360px; border: 0; display: block; }

/* HMO logos */
.logos { display: flex; flex-wrap: wrap; gap: 12px; }
.logos span { border: 1px solid var(--line); background: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; color: var(--ink-2); font-size: .9rem; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 56px 0 28px; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer a { color: rgba(255,255,255,.85); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer .brand img { height: 56px; margin-bottom: 14px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: rgba(255,255,255,.6); }

/* WhatsApp float */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); text-decoration: none !important;
}
.wa:hover { background: #1EBE5A; }
@media (max-width: 600px) { .wa span { display: none; } .wa { padding: 14px; } }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--ink-2); }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-3 { margin-bottom: 24px; }
.badge { display: inline-block; background: var(--orange-soft); color: var(--orange-dark); font-weight: 600; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
