:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --accent: #f97352;
  --accent-dark: #e85a38;
  --teal: #22d3ee;
  --navy: #0b2a3a;
  --navy-2: #0f3d4f;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #effcfa;
  --bg: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Anek Bangla", "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5rem; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: .75rem 1.5rem; border-radius: 999px; font-weight: 600; border: 0;
  cursor: pointer; font: inherit; font-weight: 600; transition: .2s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(13, 148, 136, .3); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(249, 115, 82, .35); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: .45rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- top bar / header ---------- */
.topbar { background: #f8fafc; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: .4rem 0; gap: 1rem; }
.topbar .contacts { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.socials { display: flex; gap: .5rem; }
.socials a {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: #e2e8f0; color: var(--ink); font-size: .75rem; font-weight: 700;
}
.socials a:hover { background: var(--primary); color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; }
.logo .mark { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--teal)); display: grid; place-items: center; font-size: 1.4rem; }
.logo img { height: 46px; width: auto; }
.logo small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); }
.logo > span:last-child { white-space: nowrap; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav > li { list-style: none; position: relative; }
.nav > li > a { display: block; padding: .5rem .9rem; border-radius: 999px; font-weight: 500; }
.nav > li > a:hover, .nav > li > a.active { background: var(--soft); color: var(--primary); }
.nav .dropdown {
  position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow); padding: .5rem; display: none; border: 1px solid var(--line);
}
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown { display: block; }
.nav .dropdown a { display: block; padding: .55rem .8rem; border-radius: 10px; font-size: .95rem; }
.nav .dropdown a:hover { background: var(--soft); color: var(--primary); }
.nav { margin: 0; padding: 0; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }
.header-right { display: flex; align-items: center; gap: .6rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .8rem; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; font-family: "Poppins", "Anek Bangla", sans-serif;
}
.lang-switch:hover { border-color: var(--primary); color: var(--primary); }
.lang-switch .globe { font-size: 1rem; }

/* header: login link / signed-in patient menu */
.login-link { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .85rem; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; background: #fff; }
.login-link:hover { border-color: var(--primary); color: var(--primary); }
.user-menu { position: relative; }
.user-menu summary { list-style: none; display: flex; align-items: center; gap: .45rem; cursor: pointer; padding: .25rem .7rem .25rem .25rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary::after { content: "▾"; color: var(--muted); font-size: .75rem; }
.user-menu[open] summary, .user-menu summary:hover { border-color: var(--primary); }
.um-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--primary), #0e7490); }
.um-name { max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-drop { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: .5rem; z-index: 60; }
.um-head { padding: .5rem .7rem .7rem; border-bottom: 1px solid var(--line); margin-bottom: .4rem; }
.um-head b { display: block; }
.um-head small { color: var(--muted); }
.um-drop a { display: block; padding: .55rem .7rem; border-radius: 10px; font-size: .93rem; }
.um-drop a:hover { background: var(--soft); color: var(--primary); }
.um-drop .um-out { color: #b91c1c; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: .3rem; }
body.lang-en { font-family: "Poppins", "Anek Bangla", system-ui, sans-serif; font-size: 16px; }
body.lang-en .hero h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }

.badge {
  display: inline-flex; gap: .4rem; align-items: center; padding: .35rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--primary); box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

/* ---------- hero (two columns on a dark background) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 4.5rem 0 9rem;
  background:
    radial-gradient(circle at 85% 30%, rgba(34, 211, 238, .22) 0, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(13, 148, 136, .45) 0, transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #0b4f5c 100%);
}
.hero::after { /* soft dotted texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero .badge { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #99f6e4; box-shadow: none; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); margin: 1.1rem 0; font-weight: 800; line-height: 1.18; }
.hero h1 .hl { background: linear-gradient(90deg, #5eead4, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { max-width: 560px; margin: 0 0 2rem; color: #cbd5e1; font-size: 1.12rem; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; color: #cbd5e1; font-size: .95rem; }
.trust .avatars { display: flex; }
.trust .avatars span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; border: 3px solid var(--navy-2); margin-left: -10px; background: linear-gradient(135deg, #5eead4, var(--primary)); }
.trust .avatars span:first-child { margin-left: 0; }
.trust b { color: #fff; font-size: 1.1rem; }
.trust .stars { color: #fbbf24; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin-left: auto; }
.hero-visual .ring { position: absolute; inset: 4%; border-radius: 50%; border: 2px dashed rgba(255,255,255,.18); animation: spin 60s linear infinite; }
.hero-visual .photo { position: absolute; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #14b8a6, #0e7490); box-shadow: 0 25px 60px rgba(0,0,0,.35); display: grid; place-items: center; }
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .main { inset: 12%; border: 8px solid rgba(255,255,255,.12); }
.hero-visual .main svg { width: 62%; height: auto; filter: drop-shadow(0 12px 20px rgba(0,0,0,.25)); }
.hero-visual .small { width: 28%; aspect-ratio: 1; border: 5px solid var(--navy-2); font-size: 2.6rem; animation: float 6s ease-in-out infinite; }
.hero-visual .p2 { left: -2%; bottom: 8%; background: linear-gradient(135deg, #fdba74, var(--accent)); }
.hero-visual .p3 { right: 0; top: 2%; background: linear-gradient(135deg, #67e8f9, #0891b2); animation-delay: 1.5s; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .6rem; background: #fff; color: var(--ink);
  padding: .65rem 1rem; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.25); font-size: .9rem; line-height: 1.25; animation: float 7s ease-in-out infinite;
}
.float-card .fi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); font-size: 1.15rem; }
.float-card b { display: block; font-size: 1rem; }
.float-card small { color: var(--muted); }
.fc1 { left: -6%; top: 16%; animation-delay: .8s; }
.fc2 { right: -4%; bottom: 14%; animation-delay: 2.2s; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- calculator (card overlapping the hero) ---------- */
.calc-wrap { position: relative; z-index: 2; margin-top: -6rem; }
.calc {
  background: #fff; border-radius: 26px; box-shadow: 0 30px 70px rgba(11, 42, 58, .18); border: 1px solid var(--line);
  padding: 1.6rem 2rem 2rem; text-align: left;
}
.calc-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.calc-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 0; font-weight: 800; }
.calc-head p { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
.tabs { display: inline-flex; background: #f1f5f9; padding: .3rem; border-radius: 999px; gap: .2rem; }
.tabs button { padding: .6rem 1.2rem; background: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; color: var(--muted); border-radius: 999px; white-space: nowrap; }
.tabs button.active { color: #fff; background: var(--primary); box-shadow: 0 6px 16px rgba(13,148,136,.35); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; align-items: end; }
.calc label { font-size: .9rem; color: #334155; }
.calc select, .calc input { padding: .95rem 1.1rem; font-size: 1.02rem; border-radius: 14px; background: #f8fafc; border-color: #e2e8f0; }
.calc .btn { padding: .95rem 1.5rem; font-size: 1.05rem; border-radius: 14px; }
.calc-result {
  margin-top: 1.2rem; padding: 1.2rem 1.4rem; border-radius: 18px; display: none;
  background: linear-gradient(135deg, var(--soft), #ecfeff); border: 1px solid #99f6e4;
}
.calc-result.show { display: block; animation: pop .25s ease-out; }
.calc-result strong { color: var(--primary-dark); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; display: inline-block; margin: .2rem 0; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }

/* ---------- forms ---------- */
label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
input, select, textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(13,148,136,.25); border-color: var(--primary); }
textarea { min-height: 120px; resize: vertical; }
.form-row { margin-bottom: 1rem; }
.alert { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1rem; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.feature { background: #fff; border-radius: var(--radius); padding: 1.3rem; text-align: center; border: 1px solid var(--line); }
.feature .ic { font-size: 2rem; }
.feature h4 { margin: .5rem 0 .2rem; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section.alt { background: linear-gradient(180deg, #f6fdfc, #effcfa); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; }
.section-head p { color: var(--muted); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .media { position: relative; aspect-ratio: 16/10; background: var(--soft); }
.card .media img, .card .media .img-ph { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card .body p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .ribbon { position: absolute; top: 12px; left: 12px; background: #ef4444; color: #fff; font-size: .8rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; }
.card .ribbon.pop { background: var(--accent); }
.chip { display: inline-block; font-size: .8rem; padding: .2rem .7rem; border-radius: 999px; background: var(--soft); color: var(--primary); font-weight: 600; align-self: flex-start; }
.price { display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.price .old { text-decoration: line-through; color: var(--muted); font-size: .9rem; }
.price .new { color: var(--primary); font-weight: 800; font-size: 1.15rem; }
.price .off { background: #dcfce7; color: #15803d; font-size: .75rem; font-weight: 700; padding: .1rem .5rem; border-radius: 6px; }
.meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: .6rem; margin-top: auto; }
.img-ph { display: grid; place-items: center; background: linear-gradient(135deg, #ccfbf1, #cffafe); font-size: 3rem; }

/* ---------- treatment cards ---------- */
.tcard {
  --c1: #14b8a6; --c2: #0e7490; --tint: #effcfa;
  position: relative; display: flex; flex-direction: column; gap: .75rem; background: #fff;
  border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem; overflow: hidden; transition: .25s;
}
.tcard::before { /* accent strip */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--c1), var(--c2));
}
.tcard:hover { transform: translateY(-5px); box-shadow: 0 22px 45px rgba(11, 42, 58, .12); border-color: transparent; }
.tone-1 { --c1: #2dd4bf; --c2: #0d9488; --tint: #f0fdfa; }
.tone-2 { --c1: #fb7185; --c2: #e11d48; --tint: #fff1f2; }
.tone-3 { --c1: #fbbf24; --c2: #f97316; --tint: #fff7ed; }
.tone-4 { --c1: #a78bfa; --c2: #7c3aed; --tint: #f5f3ff; }
.tone-5 { --c1: #38bdf8; --c2: #0369a1; --tint: #f0f9ff; }
.tone-0 { --c1: #4ade80; --c2: #15803d; --tint: #f0fdf4; }
.tcard-photo { margin: -1.4rem -1.4rem .2rem; aspect-ratio: 16 / 9; overflow: hidden; display: block; }
.tcard-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tcard:hover .tcard-photo img { transform: scale(1.05); }
.tcard-top { display: flex; align-items: center; gap: .9rem; }
.tcard-icon {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 20px -6px var(--c2);
}
.tcard-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tcard-cat { font-size: .78rem; font-weight: 700; color: var(--c2); background: var(--tint); padding: .2rem .65rem; border-radius: 999px; }
.tcard-off { font-size: .78rem; font-weight: 700; color: #fff; background: #ef4444; padding: .2rem .65rem; border-radius: 999px; }
.tcard-pop { font-size: .78rem; font-weight: 700; color: #92400e; background: #fef3c7; padding: .2rem .65rem; border-radius: 999px; }
.tcard h3 { font-size: 1.22rem; margin: .1rem 0 0; }
.tcard h3 a:hover { color: var(--primary); }
.tcard-desc { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.tcard-price { background: var(--tint); border-radius: 14px; padding: .7rem 1rem; }
.tcard-price .lbl { display: block; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tcard-price .price .new { font-size: 1.3rem; color: var(--ink); }
.tcard-meta { display: flex; justify-content: space-between; gap: .5rem; font-size: .85rem; color: var(--muted); }
.tcard-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: .6rem; }
.tcard-actions .btn { padding: .6rem .8rem; }

/* ---------- stats ---------- */
.stats-band {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(13, 148, 136, .45) 0, transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(34, 211, 238, .2) 0, transparent 40%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #0b4f5c 100%);
}
.stats-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .1;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 26px 26px;
}
.stats-band .container { position: relative; z-index: 1; }
.stats-band .section-head h2 { color: #fff; }
.stats-band .section-head p { color: #cbd5e1; }
.stats-band .badge { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #99f6e4; box-shadow: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat {
  position: relative; text-align: left; padding: 1.6rem; border-radius: 22px; overflow: hidden;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); transition: .25s;
}
.stat:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.stat::after { /* glow in the card's colour */
  content: ""; position: absolute; width: 140px; height: 140px; right: -50px; bottom: -60px; border-radius: 50%;
  background: var(--c1); opacity: .18; filter: blur(10px);
}
.stat-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 22px -8px var(--c1);
}
.stat .num {
  font-family: "Poppins", sans-serif; font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.05;
  background: linear-gradient(90deg, #fff, var(--c1)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { font-weight: 700; font-size: 1.05rem; margin-top: .35rem; }
.stat small { display: block; color: #94a3b8; font-size: .85rem; margin-top: .15rem; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: center; }

/* layered visual: big frame, small overlapping frame, dotted pattern, floating cards */
.about-visual { position: relative; aspect-ratio: 1 / .95; max-width: 540px; width: 100%; }
.av-dots {
  position: absolute; left: -4%; top: -5%; width: 45%; height: 45%; opacity: .5;
  background-image: radial-gradient(var(--primary) 1.6px, transparent 1.6px); background-size: 16px 16px;
}
.av-main {
  position: absolute; left: 0; top: 0; width: 80%; height: 84%; border-radius: 32px 32px 120px 32px; overflow: hidden;
  display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(11, 42, 58, .35);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.22) 0, transparent 45%),
    linear-gradient(140deg, var(--primary) 0%, #0e7490 60%, var(--navy-2) 100%);
}
.av-main img { width: 100%; height: 100%; object-fit: cover; }
.av-main svg { width: 52%; height: auto; filter: drop-shadow(0 14px 22px rgba(0,0,0,.25)); }
.av-second {
  position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 8px solid #fff; box-shadow: 0 20px 40px -10px rgba(11, 42, 58, .3);
  background: linear-gradient(135deg, #fdba74, var(--accent)); display: grid; place-items: center;
}
.av-second img { width: 100%; height: 100%; object-fit: cover; }
.av-emoji { font-size: clamp(3rem, 6vw, 4.5rem); }
.av-exp {
  position: absolute; left: -3%; bottom: 6%; display: flex; align-items: center; gap: .8rem;
  background: var(--navy); color: #fff; border-radius: 18px; padding: .9rem 1.2rem; box-shadow: 0 18px 40px -10px rgba(11, 42, 58, .5);
}
.av-exp b { font-family: "Poppins", sans-serif; font-size: 2.2rem; line-height: 1; color: #5eead4; }
.av-exp span { font-size: .9rem; line-height: 1.25; max-width: 7.5rem; color: #cbd5e1; }
.av-rating {
  position: absolute; right: 2%; top: 8%; display: flex; align-items: center; gap: .6rem; background: #fff;
  border-radius: 16px; padding: .65rem 1rem; box-shadow: 0 18px 40px -12px rgba(11, 42, 58, .35); animation: float 7s ease-in-out infinite;
}
.av-rating .fi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fef3c7; font-size: 1.15rem; }
.av-rating b { display: block; font-size: 1.05rem; }
.av-rating small { color: var(--muted); font-size: .8rem; }

.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; margin: 1rem 0 .8rem; }
.about-text { color: var(--muted); font-size: 1.05rem; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1.6rem 0 1.8rem; }
.checks > div {
  display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); transition: .2s;
}
.checks > div:hover { border-color: var(--c1); box-shadow: 0 12px 26px -14px var(--c2); transform: translateY(-2px); }
.checks .ci {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; font-size: 1.25rem;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.checks b { display: block; font-size: .98rem; line-height: 1.3; }
.checks small { display: block; color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.checks.mv { grid-template-columns: 1fr; }

.about-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.about-call { display: flex; align-items: center; gap: .7rem; }
.about-call .ci { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 2px dashed var(--primary); font-size: 1.15rem; }
.about-call small { display: block; color: var(--muted); font-size: .82rem; }
.about-call b { font-family: "Poppins", sans-serif; font-size: 1.1rem; }
.about-call:hover b { color: var(--primary); }

/* ---------- testimonials ---------- */
.reviews-sec { background: linear-gradient(180deg, #f6fdfc 0%, #fff 100%); }
.reviews-layout { display: grid; grid-template-columns: 330px 1fr; gap: 2rem; align-items: center; }

/* rating summary panel */
.rating-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem;
  box-shadow: 0 24px 50px -24px rgba(11, 42, 58, .25); display: flex; flex-direction: column; gap: 1.2rem;
}
.rp-score { display: flex; align-items: center; gap: 1rem; }
.rp-score > b {
  font-family: "Poppins", sans-serif; font-size: 3.6rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--primary), #0e7490); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rp-score .stars { font-size: 1.35rem; }
.rp-score small { display: block; color: var(--muted); font-size: .88rem; }
.rp-bars { display: grid; gap: .45rem; }
.rp-bar { display: grid; grid-template-columns: 2.4rem 1fr 1.6rem; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); }
.rp-bar .track { height: 8px; border-radius: 999px; background: #f1f5f9; overflow: hidden; }
.rp-bar .track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #fbbf24, var(--accent)); }
.rp-bar .n { text-align: right; font-weight: 600; }
.rp-sources small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .45rem; }
.rp-sources div { display: flex; flex-wrap: wrap; gap: .4rem; }
.rp-all { text-align: center; color: var(--primary); font-weight: 600; font-size: .95rem; margin-top: -.4rem; }

/* two scrolling rows of cards */
.review-rows { display: grid; gap: 1.1rem; min-width: 0; }
.marquee { overflow: hidden; padding: .6rem 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 1.1rem; width: max-content; animation: scroll 55s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 65s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

.review {
  position: relative; width: 340px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem 1.3rem 1.1rem;
  display: flex; flex-direction: column; gap: .8rem; transition: .2s;
}
.review:hover { border-color: var(--c1); box-shadow: 0 16px 34px -18px var(--c2); transform: translateY(-3px); }
.review::before { /* large quote mark */
  content: "\201C"; position: absolute; right: 1.1rem; top: .2rem; font-family: Georgia, serif; font-size: 4.5rem; line-height: 1;
  color: var(--c1); opacity: .22;
}
.review .top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.stars { color: #f59e0b; letter-spacing: 1px; }
.stars .off { color: #e2e8f0; }
.review blockquote {
  margin: 0; font-size: .95rem; color: #334155; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.review .who { display: flex; align-items: center; gap: .7rem; padding-top: .8rem; border-top: 1px dashed var(--line); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg, var(--c1, var(--primary)), var(--c2, var(--teal)));
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.who small { display: block; color: var(--muted); font-size: .82rem; }

/* review source badges */
.src { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; padding: .2rem .6rem .2rem .25rem; border-radius: 999px; background: #f1f5f9; color: #475569; white-space: nowrap; }
.src i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-family: "Poppins", sans-serif; background: #fff; }
.src-google { background: #eef4ff; color: #1d4ed8; }
.src-google i { color: #ea4335; font-weight: 800; }
.src-facebook { background: #eef2ff; color: #3b5bdb; }
.src-facebook i { background: #1877f2; color: #fff; font-weight: 800; }
.src-web { background: var(--soft); color: var(--primary-dark); }
.src-direct { background: #fff7ed; color: #c2410c; }

/* ---------- team ---------- */
.doc { text-align: center; }
.doc .media { aspect-ratio: 1/1; }
.doc h3 { font-size: 1.1rem; margin: 0; }
.doc .deg { font-size: .88rem; color: var(--muted); white-space: pre-line; }
.doc-svg { width: 78%; height: auto; margin-top: auto; align-self: end; }
/* ---------- doctor profile page ---------- */
.doc-hero {
  position: relative; overflow: hidden; color: #fff; padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 15% 30%, rgba(13, 148, 136, .45) 0, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(34, 211, 238, .18) 0, transparent 40%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #0b4f5c 100%);
}
.doc-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .1;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 26px 26px;
}
.doc-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 340px 1fr; gap: 3.5rem; align-items: center; }
.dh-visual { position: relative; aspect-ratio: 1; width: 100%; }
.dh-visual .df-ring { border-color: rgba(255,255,255,.25); }
.dh-visual .df-photo { border-color: rgba(255,255,255,.15); }
.dh-status { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); box-shadow: 0 8px 18px rgba(0,0,0,.25); font-size: .85rem; padding: .35rem .9rem; }
.dh-info .crumbs { color: #94a3b8; margin-bottom: 1rem; }
.dh-info .crumbs a { color: #5eead4; }
.dh-info .badge { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #99f6e4; box-shadow: none; }
.dh-info h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin: .8rem 0 .2rem; }
.dh-role { color: #5eead4; font-weight: 600; font-size: 1.1rem; margin: 0 0 1rem; }
.dh-degrees { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.4rem; }
.dh-degrees span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #e2e8f0; font-size: .86rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; }
.dh-facts { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.dh-facts > * { display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.dh-facts a:hover { background: rgba(255,255,255,.12); }
.dh-facts .fi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: 1.1rem; }
.dh-facts small { display: block; color: #94a3b8; font-size: .76rem; }
.dh-facts b { display: block; font-size: .95rem; }
.dh-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.doc-body { padding-top: 3.5rem; }
.doc-main { display: grid; gap: 1.4rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.6rem 1.8rem; }
.info-card h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.3rem; margin: 0 0 1.1rem; }
.info-card h2 .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); font-size: 1.2rem; }
.info-text { color: #475569; font-size: 1.02rem; }
.link { color: var(--primary); font-weight: 600; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: .4rem; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--primary), #99f6e4); }
.timeline li { position: relative; padding: .5rem 0 .5rem .9rem; }
.timeline li::before {
  content: ""; position: absolute; left: -1.38rem; top: .95rem; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--primary);
}
.timeline b { font-size: 1rem; }

.chamber { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; align-items: start; }
.chamber h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.chamber p { margin: 0 0 .6rem; color: #475569; }
.hours { list-style: none; margin: 0; padding: 0; background: var(--soft); border-radius: 16px; overflow: hidden; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid #ccfbf1; font-size: .93rem; }
.hours li:last-child { border-bottom: 0; }
.hours li span { color: var(--muted); }
.hours li.off b { color: #dc2626; }

.book-card {
  position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem;
  box-shadow: 0 30px 60px -30px rgba(11, 42, 58, .35); border-top: 4px solid var(--accent);
}
.book-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.book-head .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff7ed; font-size: 1.3rem; }
.book-head h3 { margin: 0; font-size: 1.25rem; }
.book-head small { color: var(--muted); }
.book-card .form-row { margin-bottom: .8rem; }
.book-card label { font-size: .88rem; }
.book-card input, .book-card select { padding: .7rem .9rem; background: #f8fafc; }
.book-or { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .85rem; margin: 1rem 0; }
.book-or::before, .book-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.book-call { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 16px; border: 2px dashed var(--primary); }
.book-call .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); }
.book-call small { display: block; color: var(--muted); font-size: .8rem; }
.book-call b { font-family: "Poppins", sans-serif; font-size: 1.1rem; }
.book-call:hover b { color: var(--primary); }

.team { container-type: inline-size; }

/* team grid: column count follows the number of doctors (2, 3 or 4+) */
.team-grid { display: grid; gap: 1.5rem; margin-inline: auto; }
.team-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.team-3 { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
.team-4 { grid-template-columns: repeat(4, 1fr); }
@container (max-width: 900px) { .team-4 { grid-template-columns: repeat(3, 1fr); } }
@container (max-width: 680px) { .team-3, .team-4 { grid-template-columns: repeat(2, 1fr); } }
@container (max-width: 440px) { .team-2, .team-3, .team-4 { grid-template-columns: 1fr; } }

.dcard {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: .25s;
}
.dcard:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -20px rgba(11, 42, 58, .3); border-color: transparent; }
.dcard-photo {
  position: relative; display: grid; place-items: end center; aspect-ratio: 1 / .92; overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.35) 0, transparent 55%),
    linear-gradient(160deg, var(--c1), var(--c2));
}
.dcard-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dcard:hover .dcard-photo img { transform: scale(1.05); }
.dcard-spec {
  position: absolute; left: .8rem; bottom: .8rem; background: rgba(255,255,255,.95); color: var(--c2);
  font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; box-shadow: 0 6px 14px rgba(0,0,0,.12);
}
.dcard-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.dcard-body h3 { font-size: 1.12rem; margin: 0; }
.dcard-body h3 a:hover { color: var(--primary); }
.dcard-role { margin: 0; color: var(--c2); font-weight: 600; font-size: .92rem; }
.dcard-deg { margin: 0 0 .7rem; color: var(--muted); font-size: .84rem; flex: 1; }
.dcard-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: .5rem; }
.dcard-actions .btn { padding: .55rem .6rem; }
.team-2 .dcard-body h3, .team-3 .dcard-body h3 { font-size: 1.25rem; }

/* single doctor: highlighted spotlight card */
.dfeature {
  position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 2.5rem; overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(11, 42, 58, .35);
}
.dfeature::before { /* teal wash behind the photo side */
  content: ""; position: absolute; inset: 0 55% 0 0; background: linear-gradient(160deg, var(--soft), #ecfeff); z-index: 0;
}
.dfeature > * { position: relative; z-index: 1; }
.df-visual { position: relative; aspect-ratio: 1; max-width: 400px; width: 100%; margin: 0 auto; }
.df-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(13, 148, 136, .35); animation: spin 60s linear infinite; }
.df-photo {
  position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  border: 8px solid #fff; box-shadow: 0 25px 50px -15px rgba(11, 42, 58, .45);
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.3) 0, transparent 55%), linear-gradient(160deg, #14b8a6, #0e7490 60%, var(--navy-2));
}
.df-photo img { width: 100%; height: 100%; object-fit: cover; }
.df-photo .doc-svg { width: 70%; align-self: center; margin-top: 8%; }
.df-tag {
  position: absolute; top: 6%; right: 0; display: flex; align-items: center; gap: .4rem;
  background: linear-gradient(135deg, #fbbf24, var(--accent)); color: #fff; font-weight: 700; font-size: .9rem;
  padding: .45rem .9rem; border-radius: 999px; box-shadow: 0 12px 24px -8px rgba(249, 115, 82, .6);
}
.df-spec {
  position: absolute; left: -4%; bottom: 10%; display: flex; align-items: center; gap: .6rem; background: #fff;
  padding: .6rem .9rem; border-radius: 16px; box-shadow: 0 18px 36px -12px rgba(11, 42, 58, .35); animation: float 7s ease-in-out infinite;
}
.df-spec .fi, .df-facts .fi { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--soft); font-size: 1.1rem; }
.df-spec small, .df-facts small { display: block; color: var(--muted); font-size: .76rem; }
.df-spec b, .df-facts b { display: block; font-size: .95rem; line-height: 1.25; }
.df-body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin: .9rem 0 .2rem; }
.df-role { margin: 0 0 1rem; color: var(--primary-dark); font-weight: 600; font-size: 1.05rem; }
.df-degrees { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.df-degrees span { background: var(--soft); color: var(--primary-dark); border: 1px solid #99f6e4; font-size: .85rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; }
.df-bio { color: var(--muted); margin: 0 0 1.3rem; }
.df-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.5rem; }
.df-facts a { display: flex; align-items: center; gap: .7rem; padding: .8rem; border: 1px solid var(--line); border-radius: 16px; transition: .2s; }
.df-facts a:hover { border-color: var(--primary); }
.df-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

@container (max-width: 900px) {
  .dfeature { grid-template-columns: 1fr; gap: 2rem; padding: 1.6rem; text-align: center; }
  .dfeature::before { inset: 0 0 55% 0; }
  .df-visual { max-width: 300px; }
  .df-degrees, .df-actions { justify-content: center; }
  .df-facts { text-align: left; }
}
@container (max-width: 480px) {
  .df-facts { grid-template-columns: 1fr; }
  .df-spec { left: -2%; padding: .45rem .7rem; }
  .df-tag { font-size: .8rem; padding: .35rem .7rem; }
  .df-actions .btn { flex: 1; }
}

/* ---------- branches ---------- */
.status { font-size: .78rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; white-space: nowrap; }
.status.open { background: #dcfce7; color: #15803d; }
.status.closed { background: #fee2e2; color: #b91c1c; }
.status.open::before, .status.closed::before { content: "●"; margin-right: .3rem; font-size: .7em; vertical-align: middle; }

/* branch grid: column count follows the number of branches */
.branch-grid { display: grid; gap: 1.4rem; margin-inline: auto; }
.bgrid-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.bgrid-3 { grid-template-columns: repeat(3, 1fr); }
@container (max-width: 860px) { .bgrid-3 { grid-template-columns: repeat(2, 1fr); } }
@container (max-width: 560px) { .bgrid-2, .bgrid-3 { grid-template-columns: 1fr; } }

.bcard {
  position: relative; display: flex; flex-direction: column; gap: .9rem; background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 1.4rem; overflow: hidden; transition: .25s;
}
.bcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--teal)); }
.bcard:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(11, 42, 58, .3); border-color: transparent; }
.bcard-head { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: start; }
.bcard-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: linear-gradient(135deg, #ccfbf1, #cffafe); }
.bcard-head h3 { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.bcard-head h3 a:hover { color: var(--primary); }
.bcard-head small { color: var(--muted); font-size: .82rem; }
.bcard-addr { margin: 0; color: #475569; font-size: .95rem; flex: 1; }
.bcard-hours { list-style: none; margin: 0; padding: 0; border-radius: 14px; background: var(--soft); overflow: hidden; }
.bcard-hours li { display: flex; justify-content: space-between; gap: .8rem; padding: .55rem .9rem; font-size: .88rem; border-bottom: 1px solid #ccfbf1; }
.bcard-hours li:last-child { border-bottom: 0; }
.bcard-hours span { color: var(--muted); }
.bcard-hours li.off b { color: #dc2626; }
.bcard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.bcard-more { margin-left: auto; color: var(--primary); font-weight: 600; font-size: .9rem; }

/* single branch: highlighted spotlight card */
.bfeature {
  display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 30px; overflow: hidden;
  box-shadow: 0 30px 70px -32px rgba(11, 42, 58, .35);
}
.bf-info { padding: 2.2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.bf-top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; }
.bf-top .status { font-size: .85rem; padding: .3rem .9rem; }
.bf-info h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; margin: 0; line-height: 1.25; }
.bf-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.bf-facts li { display: flex; gap: .8rem; align-items: flex-start; }
.bf-facts .fi { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; background: var(--soft); font-size: 1.1rem; }
.bf-facts small { display: block; color: var(--muted); font-size: .8rem; }
.bf-facts b { font-size: 1rem; font-weight: 600; }
.bf-facts a { font-family: "Poppins", sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--primary-dark); }
.bf-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .2rem; }
.bf-map { position: relative; min-height: 360px; background: var(--soft); }
.bf-map iframe, .bf-map > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.bf-map-link { position: absolute; left: 1rem; bottom: 1rem; background: #fff; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); }
.bf-map-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; text-align: center; padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.95) 0, rgba(255,255,255,.55) 35%, transparent 70%),
    repeating-linear-gradient(0deg, #99f6e4 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, #99f6e4 0 1px, transparent 1px 44px),
    linear-gradient(135deg, #ccfbf1, #cffafe);
}
.bf-map-ph .pin {
  width: 76px; height: 76px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; margin-bottom: .8rem;
  background: linear-gradient(135deg, var(--accent), #e11d48); box-shadow: 0 16px 30px -10px rgba(225, 29, 72, .6); font-size: 1.8rem;
}
.bf-map-ph b { font-size: 1.15rem; }
.bf-map-ph small { color: var(--primary); font-weight: 600; }
.bf-map-ph:hover small { text-decoration: underline; }

@container (max-width: 820px) {
  .bfeature { grid-template-columns: 1fr; }
  .bf-map { min-height: 240px; order: -1; }
  .bf-info { padding: 1.5rem; }
}
@container (max-width: 460px) {
  .bf-actions .btn { flex: 1 1 100%; }
}

/* ---------- page header ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 3.5rem 0 3.2rem; text-align: center;
  background:
    radial-gradient(circle at 15% 30%, rgba(13, 148, 136, .45) 0, transparent 40%),
    radial-gradient(circle at 88% 70%, rgba(34, 211, 238, .18) 0, transparent 40%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #0b4f5c 100%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .1;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 26px 26px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin: .6rem 0; }
.page-hero .crumbs { color: #94a3b8; }
.page-hero .crumbs a { color: #5eead4; }
.ph-sub { color: #cbd5e1; max-width: 680px; margin: 0 auto; font-size: 1.05rem; }
.crumbs { color: var(--muted); font-size: .9rem; }
.crumbs a { color: var(--primary); }

.content { font-size: 1.05rem; }
.content h3 { margin-top: 1.5rem; }
.content img { border-radius: 14px; }
.layout-side { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.sidebox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 90px; }
.filter { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.filter a { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; }
.filter a.active, .filter a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- appointment page ---------- */
.appt-form { display: grid; gap: 1.2rem; }
.step { border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.6rem 1.6rem; margin: 0; background: #fff; min-width: 0; }
.step legend { display: flex; align-items: center; gap: .7rem; font-weight: 800; font-size: 1.15rem; padding: 0 .5rem; margin-left: -.5rem; }
.step legend .num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .95rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), #0e7490); box-shadow: 0 6px 14px -4px rgba(13,148,136,.6);
}
.g-form { gap: 1rem; }
.span-2 { grid-column: 1 / -1; }
.step label small, .appt-form label small { color: var(--muted); font-weight: 500; }
.step input, .step select, .step textarea { background: #f8fafc; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.slot { margin: 0; cursor: pointer; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span {
  display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .9rem .5rem; border-radius: 16px;
  border: 2px solid var(--line); background: #f8fafc; text-align: center; transition: .15s;
}
.slot i { font-style: normal; font-size: 1.4rem; }
.slot b { font-size: .98rem; }
.slot small { color: var(--muted); font-size: .8rem; font-weight: 500; }
.slot:hover span { border-color: #99f6e4; }
.slot input:checked + span { border-color: var(--primary); background: var(--soft); box-shadow: 0 8px 18px -10px rgba(13,148,136,.7); }
.slot input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.appt-submit { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.appt-submit .btn { padding: 1rem 2rem; font-size: 1.05rem; }
.appt-submit small { color: var(--muted); }

.appt-success { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 2.5rem; text-align: center; box-shadow: 0 30px 60px -30px rgba(11,42,58,.3); }
.as-icon {
  width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 0 0 10px #d1fae5; animation: pop .35s ease-out;
}
.appt-success h2 { font-size: 1.7rem; margin-bottom: .4rem; }
.appt-success p { color: #475569; max-width: 520px; margin: 0 auto 1.4rem; }
.as-summary { list-style: none; padding: 0; margin: 0 auto 1.6rem; max-width: 460px; text-align: left; background: var(--soft); border-radius: 16px; overflow: hidden; }
.as-summary li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid #ccfbf1; }
.as-summary li:last-child { border-bottom: 0; }
.as-summary span { color: var(--muted); }
.as-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.appt-side { display: grid; gap: 1.2rem; position: sticky; top: 90px; }
.hotline {
  position: relative; overflow: hidden; color: #fff; border-radius: 22px; padding: 1.4rem;
  background: linear-gradient(135deg, var(--navy), #0b4f5c);
}
.hotline .ic { position: absolute; right: -10px; bottom: -14px; font-size: 5rem; opacity: .15; }
.hotline small { display: block; color: #94a3b8; margin-bottom: .2rem; }
.hotline a { font-family: "Poppins", sans-serif; font-size: 1.6rem; font-weight: 800; color: #5eead4; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem 1.4rem; }
.side-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: .9rem; }
.next-steps li { counter-increment: s; position: relative; padding-left: 2.6rem; }
.next-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--soft); color: var(--primary-dark); font-weight: 800; font-size: .9rem;
}
.next-steps b { display: block; }
.next-steps small { color: var(--muted); }
.bh { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px dashed var(--line); }
.bh:first-of-type { border-top: 0; padding-top: 0; }
.bh b { display: block; font-size: .93rem; }
.bh small { color: var(--muted); font-size: .8rem; }

/* ---------- gallery page ---------- */
.gallery-reviews { align-items: start; }
.rp-sticky { position: sticky; top: 90px; }
.review-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.review-filter button {
  font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem;
}
.review-filter button span { background: #f1f5f9; border-radius: 999px; padding: 0 .5rem; font-size: .8rem; }
.review-filter button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.review-filter button.active span { background: rgba(255,255,255,.25); }
.review-grid { columns: 2 300px; column-gap: 1.1rem; }
.review.full { width: auto; break-inside: avoid; margin-bottom: 1.1rem; }
.review.full blockquote { -webkit-line-clamp: unset; display: block; }
.review[hidden] { display: none; }
.empty-note { color: var(--muted); background: var(--soft); border-radius: 16px; padding: 1.5rem; text-align: center; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.photo-item {
  position: relative; padding: 0; border: 0; cursor: zoom-in; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft);
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-item:hover img { transform: scale(1.06); }
.photo-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem .9rem .7rem; color: #fff; font-size: .9rem; text-align: left;
  background: linear-gradient(transparent, rgba(11, 42, 58, .85));
}
.photo-item .zoom {
  position: absolute; top: .7rem; right: .7rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.9); color: var(--ink); opacity: 0; transition: .2s;
}
.photo-item:hover .zoom { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(11, 42, 58, .92); display: grid; place-items: center; padding: 1.5rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 14px; }
.lightbox figcaption { color: #e2e8f0; margin-top: .8rem; }
.lb-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; font-size: 1.2rem; cursor: pointer; background: #fff; }

.review-form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.rf-intro h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin: 1rem 0 .7rem; }
.rf-intro p { color: #475569; font-size: 1.05rem; }
.rf-intro ul { list-style: none; padding: 0; display: grid; gap: .5rem; color: #334155; font-weight: 600; }
.rf-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 1.8rem; box-shadow: 0 30px 60px -30px rgba(11,42,58,.3); border-top: 4px solid var(--accent); }
.rf-card input, .rf-card textarea { background: #f8fafc; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; margin-bottom: 1.1rem; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 2.2rem; line-height: 1; color: #e2e8f0; cursor: pointer; margin: 0; transition: transform .1s, color .1s; }
.star-input label:hover { transform: scale(1.12); }
/* row-reverse: the checked star and every star before it (visually) light up; hover previews the same way */
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f59e0b; }
.star-input input:focus-visible + label { outline: 2px solid var(--primary); border-radius: 6px; }

/* ---------- login / sign-up ---------- */
.auth-section { background: linear-gradient(180deg, #f6fdfc, #fff); }
.auth-wrap { display: grid; grid-template-columns: .9fr 1.1fr; max-width: 1000px; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px -34px rgba(11, 42, 58, .35); padding: 0; }
.auth-aside {
  position: relative; overflow: hidden; color: #fff; padding: 2.5rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(34, 211, 238, .25) 0, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(13, 148, 136, .5) 0, transparent 45%),
    linear-gradient(150deg, var(--navy), #0b4f5c);
}
.auth-mark { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; background: rgba(255,255,255,.12); margin-bottom: 1.4rem; }
.auth-aside h2 { font-size: 1.6rem; margin-bottom: .6rem; }
.auth-aside p { color: #cbd5e1; }
.auth-aside ul { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .9rem; }
.auth-aside li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: .8rem 1rem; font-size: .95rem; }
.auth-card { padding: 2.5rem; }
.auth-card h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: .3rem; }
.auth-card > .muted { margin: 0 0 1.4rem; }
.auth-card input { background: #f8fafc; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f1f5f9; padding: .3rem; border-radius: 14px; margin-bottom: 1.2rem; }
.auth-tabs button { font: inherit; font-weight: 700; border: 0; background: none; padding: .65rem; border-radius: 11px; cursor: pointer; color: var(--muted); }
.auth-tabs button.active { background: #fff; color: var(--primary-dark); box-shadow: 0 4px 12px rgba(11, 42, 58, .1); }
.pw-field { position: relative; }
.pw-field input { padding-right: 3rem; }
.pw-toggle { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer; font-size: 1.05rem; padding: .4rem; opacity: .6; }
.pw-toggle:hover { opacity: 1; }
.auth-note { font-size: .88rem; color: var(--muted); margin: 1rem 0; }
.auth-note a { color: var(--primary); font-weight: 600; }
.auth-switch { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.auth-switch a { color: var(--primary); font-weight: 700; }
.acct-banner { background: var(--soft); border: 1px solid #99f6e4; border-radius: 14px; padding: .8rem 1rem; margin-bottom: 1rem; font-size: .93rem; }
.acct-banner.guest { background: #fff7ed; border-color: #fed7aa; }
.acct-banner a { color: var(--primary-dark); font-weight: 700; }

/* ---------- my account ---------- */
.account-hero {
  color: #fff; padding: 2.6rem 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(13, 148, 136, .45) 0, transparent 40%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #0b4f5c 100%);
}
.ah-inner { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.ah-avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, #5eead4, var(--primary)); border: 4px solid rgba(255,255,255,.2); }
.ah-inner small { color: #5eead4; font-weight: 700; }
.ah-inner h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: .1rem 0; }
.ah-inner p { margin: 0; color: #cbd5e1; font-size: .93rem; }
.ah-actions { margin-left: auto; display: flex; gap: .6rem; flex-wrap: wrap; }
.account { padding-top: 2.5rem; }
.acc-tabs { display: flex; gap: .4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; overflow-x: auto; }
.acc-tabs a { padding: .8rem 1.1rem; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; display: inline-flex; gap: .4rem; align-items: center; }
.acc-tabs a span { background: #f1f5f9; border-radius: 999px; padding: 0 .5rem; font-size: .8rem; }
.acc-tabs a.active { color: var(--primary-dark); border-bottom-color: var(--primary); }
.acc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1.4rem; }
.acc-stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1rem; display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; }
.acc-stat span { grid-row: span 2; font-size: 1.5rem; }
.acc-stat b { font-size: 1.4rem; line-height: 1.1; }
.acc-stat small { color: var(--muted); }
.appt-list { display: grid; gap: .8rem; }
.appt-item { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.2rem; }
.ai-date { width: 66px; text-align: center; background: var(--soft); border-radius: 14px; padding: .5rem .3rem; }
.ai-date b { display: block; font-size: 1.5rem; line-height: 1; color: var(--primary-dark); }
.ai-date small { font-size: .72rem; color: var(--muted); }
.ai-main h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.ai-main p { margin: 0 0 .2rem; color: #475569; font-size: .9rem; }
.appt-status { font-size: .8rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; background: #f1f5f9; }
.appt-status.st-pending { background: #fef3c7; color: #92400e; }
.appt-status.st-confirmed { background: #dcfce7; color: #15803d; }
.appt-status.st-completed { background: #e0f2fe; color: #0369a1; }
.appt-status.st-cancelled { background: #fee2e2; color: #b91c1c; }
.acc-empty { text-align: center; background: #fff; border: 1px dashed #99f6e4; border-radius: 22px; padding: 2.5rem 1.5rem; }
.acc-empty > span { font-size: 2.6rem; }
.acc-empty h3 { margin: .6rem 0 .3rem; }
.acc-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; max-width: 720px; }
.acc-card h2 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.acc-card input { background: #f8fafc; }

/* ---------- careers ---------- */
.jobs-head { margin-bottom: 1.4rem; }
.jobs-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: .8rem 0 0; }
.job-list { display: grid; gap: 1rem; }
.job-card {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.6rem; transition: .25s; overflow: hidden;
}
.job-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--accent), var(--primary)); }
.job-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(11, 42, 58, .35); border-color: transparent; }
.job-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(135deg, #fff7ed, #ffedd5); }
.job-title-row { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.job-card h3 { font-size: 1.25rem; margin: 0; }
.job-card h3 a:hover { color: var(--primary); }
.job-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .45rem; color: #475569; font-size: .9rem; }
.job-excerpt { margin: .6rem 0 0; color: var(--muted); font-size: .93rem; }
.job-cta { display: flex; flex-direction: column; align-items: stretch; gap: .5rem; text-align: center; }
.job-more { color: var(--primary); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.job-card.compact { padding: 1.1rem 1.3rem; }
.job-card.compact h3 { font-size: 1.08rem; }
.deadline { font-size: .78rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; white-space: nowrap; }
.deadline.ok { background: #dcfce7; color: #15803d; }
.deadline.urgent { background: #fee2e2; color: #b91c1c; }
.jobs-empty { display: flex; align-items: center; gap: 1rem; background: var(--soft); border-radius: 20px; padding: 1.5rem; color: #475569; }
.jobs-empty span { font-size: 2.4rem; }
.jobs-empty p { margin: 0; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.perk { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; transition: .2s; }
.perk:hover { transform: translateY(-4px); border-color: var(--c1); }
.perk .ci { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.4rem; background: linear-gradient(135deg, var(--c1), var(--c2)); margin-bottom: 1rem; }
.perk h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.perk p { margin: 0; color: var(--muted); font-size: .93rem; }

.job-hero .badge { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #99f6e4; box-shadow: none; margin-top: .8rem; }
.jh-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: .4rem 0 1.6rem; }
.jh-meta span:not(.deadline) { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #e2e8f0; padding: .35rem .9rem; border-radius: 999px; font-size: .9rem; }
.jh-meta .deadline { padding: .4rem .9rem; font-size: .85rem; }
.job-overview { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.job-overview li { display: flex; gap: .7rem; align-items: center; padding: .8rem; border-radius: 16px; background: var(--soft); }
.job-overview .fi { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: #fff; font-size: 1.1rem; }
.job-overview small { display: block; color: var(--muted); font-size: .78rem; }
.job-overview b { font-size: .95rem; line-height: 1.35; }
.job-content ul, .job-content ol { padding-left: 1.3rem; }
.job-content li { margin: .3rem 0; }
.apply-card { border-top-color: var(--primary); }
.as-icon.closed { background: linear-gradient(135deg, #f87171, #dc2626); box-shadow: 0 0 0 10px #fee2e2; }

/* ---------- contact page ---------- */
.muted { color: var(--muted); }
.contact-tiles-wrap { position: relative; z-index: 2; margin-top: -2.2rem; }
.contact-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.ctile {
  display: flex; flex-direction: column; gap: .15rem; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 1.2rem 1.3rem; box-shadow: 0 20px 40px -24px rgba(11, 42, 58, .35); transition: .2s; min-width: 0;
}
.ctile:hover { transform: translateY(-4px); border-color: var(--c1); }
.ctile .ci {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: .6rem;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 20px -8px var(--c2);
}
.ctile small { color: var(--muted); font-size: .82rem; font-weight: 600; }
.ctile b { font-size: .98rem; line-height: 1.35; overflow-wrap: anywhere; }

.contact-main { padding-top: 3rem; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.6rem; align-items: start; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 2rem; box-shadow: 0 30px 60px -34px rgba(11,42,58,.3); }
.contact-form-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin: .9rem 0 .3rem; }
.contact-form-card input, .contact-form-card textarea { background: #f8fafc; }
.subject-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem; }
.chip-radio { margin: 0; cursor: pointer; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio span { display: inline-block; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #f8fafc; font-size: .9rem; font-weight: 600; transition: .15s; }
.chip-radio:hover span { border-color: #99f6e4; }
.chip-radio input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip-radio input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.appt-success.plain { border: 0; box-shadow: none; padding: 1rem 0; }

.contact-info {
  position: relative; overflow: hidden; color: #fff; border-radius: 26px; padding: 1.8rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(34, 211, 238, .2) 0, transparent 40%),
    linear-gradient(150deg, var(--navy), #0b4f5c);
}
.contact-info h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.contact-info h4 { font-size: 1rem; margin: 1.6rem 0 .6rem; color: #99f6e4; }
.ci-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ci-list li { display: flex; gap: .8rem; align-items: flex-start; }
.ci-list .ci { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 1.1rem; }
.ci-list small { display: block; color: #94a3b8; font-size: .8rem; }
.ci-list b, .ci-list a { font-size: 1rem; overflow-wrap: anywhere; }
.ci-list a:hover { color: #5eead4; }
.ci-hours { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.ci-hours b { display: block; font-size: .92rem; }
.ci-hours small { color: #94a3b8; font-size: .8rem; }
.ci-social { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); }
.ci-social small { display: block; color: #94a3b8; margin-bottom: .6rem; }
.ci-social .socials a { width: 38px; height: 38px; background: rgba(255,255,255,.1); color: #fff; }
.ci-social .socials a:hover { background: var(--primary); }

.map-wrap { margin-bottom: 1rem; }
.map-frame { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-card {
  display: flex; align-items: center; gap: 1.2rem; padding: 2rem; border-radius: 26px; border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)),
    repeating-linear-gradient(0deg, #ccfbf1 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, #ccfbf1 0 1px, transparent 1px 40px), #f0fdfa;
}
.map-card:hover { border-color: var(--primary); }
.map-card .pin { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; background: #fff; box-shadow: 0 12px 28px -10px rgba(11,42,58,.35); animation: float 6s ease-in-out infinite; }
.map-card b { display: block; font-size: 1.1rem; }
.map-card small { color: var(--primary); font-weight: 600; }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.faq-intro h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 1rem 0 .5rem; }
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 1.3rem; transition: .2s; }
.faq details[open] { border-color: #99f6e4; box-shadow: 0 14px 30px -20px rgba(13,148,136,.6); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--primary); font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.1rem; color: #475569; }

/* ---------- CTA / footer ---------- */
.cta { background: linear-gradient(135deg, var(--primary), var(--teal)); color: #fff; border-radius: 26px; padding: 2.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta h2 { margin: 0; }
.cta .btn { background: #fff; color: var(--primary); }

.site-footer { background: var(--navy); color: #cbd5e1; padding: 4rem 0 0; margin-top: 4rem; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.2rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
.site-footer .socials a { background: rgba(255,255,255,.1); color: #fff; }

.wa-float { position: fixed; right: 18px; bottom: 90px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 8px 20px rgba(37,211,102,.4); z-index: 60; }
.mobile-nav { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .about, .layout-side { grid-template-columns: 1fr; }
  .appt-side, .rp-sticky { position: static; }
  .contact-grid, .faq-wrap { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { padding: 1.6rem; }
  .auth-aside ul { display: none; }
  .acc-stats { grid-template-columns: repeat(2, 1fr); }
  .um-name { display: none; }
  .user-menu summary { padding-right: .5rem; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .job-card { grid-template-columns: auto 1fr; }
  .job-cta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .faq-wrap { gap: 1.5rem; }
  .review-form-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .doc-hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .dh-visual { max-width: 260px; margin: 0 auto; }
  .dh-degrees, .dh-facts, .dh-actions { justify-content: center; }
  .dh-facts > * { text-align: left; }
  .book-card { position: static; }
  .reviews-layout { grid-template-columns: 1fr; }
  .rating-panel { max-width: 560px; width: 100%; margin: 0 auto; }
  .about { gap: 2.5rem; }
  .about-visual { margin: 0 auto; max-width: 480px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; order: 3; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .dropdown { position: static; display: block; box-shadow: none; border: 0; padding-left: 1rem; }
  .header-cta { display: none; }
  .hero { padding: 3rem 0 8rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero .actions, .trust { justify-content: center; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stats, .features { grid-template-columns: 1fr 1fr; }
  .stats { gap: .8rem; }
  .stat { padding: 1.1rem; border-radius: 18px; }
  .stat-icon { width: 42px; height: 42px; font-size: 1.2rem; border-radius: 12px; margin-bottom: .8rem; }
  .stat .num { font-size: 1.65rem; }
  .stat .lbl { font-size: .95rem; }
  .hero-visual { max-width: 300px; }
  .float-card { font-size: .78rem; padding: .5rem .7rem; }
  .float-card .fi { width: 28px; height: 28px; font-size: .95rem; }
  .fc1 { left: -8%; } .fc2 { right: -8%; }
  .trust { flex-direction: column; gap: .5rem; }
  .calc { padding: 1.2rem; border-radius: 20px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: .55rem .5rem; font-size: .88rem; white-space: normal; }
  .checks { grid-template-columns: 1fr; }
  .step { padding: 1.1rem 1.1rem 1.3rem; }
  .slots { grid-template-columns: 1fr 1fr 1fr; gap: .4rem; }
  .slot span { padding: .7rem .2rem; }
  .slot small { font-size: .7rem; }
  .appt-submit .btn { width: 100%; }
  .appt-success { padding: 1.6rem 1.1rem; }
  .rf-card { padding: 1.3rem; }
  .contact-tiles { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .auth-card { padding: 1.4rem; }
  .login-link span { display: none; }
  .ah-actions { margin-left: 0; width: 100%; }
  .ah-actions .btn { flex: 1; }
  .appt-item { grid-template-columns: auto 1fr; }
  .appt-status { grid-column: 1 / -1; justify-self: start; }
  .acc-card { padding: 1.2rem; }
  .perks { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: 1fr; padding: 1.2rem; gap: .8rem; }
  .job-icon { width: 46px; height: 46px; font-size: 1.3rem; }
  .job-cta { flex-direction: column; align-items: stretch; }
  .job-overview { grid-template-columns: 1fr; }
  .ctile { padding: .9rem; }
  .ctile .ci { width: 38px; height: 38px; font-size: 1.1rem; }
  .ctile b { font-size: .85rem; }
  .contact-form-card, .contact-info { padding: 1.3rem; }
  .map-card { padding: 1.2rem; }
  .map-frame iframe { height: 300px; }
  .doc-hero { padding: 2.5rem 0 3rem; }
  .dh-visual { max-width: 220px; }
  .dh-facts > * { width: 100%; }
  .dh-actions .btn { flex: 1; }
  .info-card { padding: 1.2rem; }
  .chamber { grid-template-columns: 1fr; }
  .av-exp { padding: .6rem .8rem; left: 0; }
  .av-exp b { font-size: 1.6rem; }
  .av-exp span { font-size: .78rem; }
  .av-rating { padding: .45rem .7rem; right: 0; }
  .av-rating .fi { width: 30px; height: 30px; font-size: .95rem; }
  .av-rating b { font-size: .92rem; }
  .av-rating small { font-size: .72rem; }
  .av-second { border-width: 5px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .topbar .socials, .topbar .email { display: none; }
  .site-header .container { gap: .5rem; }
  .logo { font-size: 1rem; min-width: 0; }
  .logo small { display: none; }
  .logo > span:last-child { white-space: normal; }
  .logo .mark { width: 36px; height: 36px; flex-shrink: 0; }
  .header-right { margin-left: auto; }
  .section { padding: 3rem 0; }
  .review { width: 280px; }
  .rating-panel { padding: 1.2rem; }
  .rp-score > b { font-size: 2.8rem; }
  .mobile-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 70; }
  .mobile-nav a { text-align: center; padding: .5rem 0; font-size: .75rem; color: var(--muted); }
  .mobile-nav a span { display: block; font-size: 1.3rem; }
  .wa-float { bottom: 80px; }
}
