/* ==========================================================================
   DOLTalk — static site design system.
   One stylesheet, no framework dependency (no Bootstrap/jQuery needed).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #0d7a70;
  --primary-dark: #085f57;
  --primary-light: #14b8a6;
  --coral: #fb923c;
  --rose: #fb7185;
  --red: #e11d48;
  --amber: #f59e0b;
  --orange: #ea580c;
  --purple: #a855f7;
  --purple-dark: #7e22ce;
  --violet: #8b5cf6;
  --violet-dark: #6d28d9;
  --fuchsia: #e879f9;
  --fuchsia-dark: #c026d3;
  --cyan: #22d3ee;
  --cyan-dark: #0891b2;
  --emerald: #34d399;
  --emerald-dark: #059669;
  --pink: #ec4899;

  --ink: #0f2027;
  --muted: #5b6b76;
  --line: #e4ecea;
  --bg: #f3fbfa;
  --card: #ffffff;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 35px -12px rgba(13, 122, 112, .35);
  --shadow-lg: 0 20px 45px -18px rgba(15, 32, 39, .35);

  --header-h: 76px;
}

/* ---------- reset & base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 { margin: 0 0 .5em; font-weight: 700; line-height: 1.2; }

p { margin: 0 0 1em; color: var(--muted); }

button { font-family: inherit; cursor: pointer; }

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

.section { padding: 64px 0; }
.section-sm { padding: 36px 0; }

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

.grad-text {
  background: linear-gradient(90deg, var(--primary), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 122, 112, .1);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head { max-width: 640px; margin: 0 0 32px; }
.section-head p { font-size: 17px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(13,122,112,.55);
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }

.btn-outline {
  background: #fff;
  color: var(--primary-dark);
  border: 1.5px solid var(--line);
}

.btn-outline:hover { transform: translateY(-2px); border-color: var(--primary); }

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.3);
}

.btn-white:hover { transform: translateY(-2px) scale(1.02); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1.5px solid rgba(255,255,255,.4);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(100deg, var(--primary-dark), var(--primary));
  box-shadow: 0 6px 24px -12px rgba(13,122,112,.45);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 6px 20px -14px rgba(15,32,39,.3);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.site-header .logo img { height: 34px; width: auto; }
.site-header .logo .logo-light { display: block; }
.site-header .logo .logo-dark { display: none; }
.site-header.is-scrolled .logo .logo-light { display: none; }
.site-header.is-scrolled .logo .logo-dark { display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background .2s ease;
}

.site-nav a:hover, .site-nav a.active { background: rgba(255,255,255,.18); }

.site-header.is-scrolled .site-nav a { color: var(--ink); }
.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.active {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: #fff;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

.site-header.is-scrolled .nav-toggle { background: var(--bg); }

.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  display: none;
}

.nav-toggle svg { width: 20px; height: 20px; stroke: #fff; }
.site-header.is-scrolled .nav-toggle svg { stroke: var(--ink); }

.nav-auth-mobile { display: none; }

@media (max-width: 860px) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.25); }
  .site-nav.is-open { display: flex; }
  .site-nav a { color: var(--ink); text-align: left; }
  .nav-toggle { display: inline-flex; }
  .header-actions #headerAuthArea { display: none; }
  .nav-auth-mobile { display: block; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
  .nav-auth-mobile a, .nav-auth-mobile button {
    display: block; width: 100%; text-align: left; background: none; border: none;
    color: var(--ink); font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 999px;
    font-family: inherit; cursor: pointer;
  }
  .nav-auth-mobile a:hover, .nav-auth-mobile button:hover { background: rgba(13,122,112,.08); }
}

/* ---------- avatar ---------- */

.avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--primary-dark) 0%, var(--primary) 55%, var(--bg) 100%);
  padding: 56px 0 0;
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .45;
  pointer-events: none;
  animation: blobFloat 16s ease-in-out infinite;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(24px,-28px) scale(1.08); }
  66% { transform: translate(-18px,16px) scale(.94); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 60px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-copy h1 { color: #fff; font-size: 42px; margin-bottom: 18px; }
.hero-copy p.lead { color: rgba(255,255,255,.85); font-size: 18px; max-width: 520px; }
.hero-copy .eyebrow { background: rgba(255,255,255,.18); color: #fff; }

.hero-stats { display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats .stat-num { color: #fff; font-size: 26px; font-weight: 800; }
.hero-stats .stat-label { color: rgba(255,255,255,.75); font-size: 13px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #cfe0e6;
}

.hero-card img { width: 100%; height: 420px; object-fit: cover; object-position: center 20%; }

.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating-chip .chip-icon {
  width: 34px; height: 34px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}

.floating-chip .chip-title { font-size: 13px; font-weight: 700; line-height: 1.1; }
.floating-chip .chip-sub { font-size: 11px; color: var(--muted); }

/* ---------- booking form card (glass) ---------- */

.booking-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.booking-card h3 { color: #fff; }

.field { margin-bottom: 14px; position: relative; }

.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }

.field input, .field textarea, .field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
}

.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,122,112,.15);
}

.field textarea { resize: vertical; min-height: 110px; }

.required-mark { color: var(--red); margin-left: 4px; }

.field-error {
  color: var(--red);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field.has-error .field-error { display: block; }

/* ---------- symptom tiles ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 860px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } }

.symptom-tile {
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  color: #fff;
  box-shadow: 0 16px 30px -16px rgba(0,0,0,.35);
  transition: transform .3s cubic-bezier(.21,.47,.32,.98), box-shadow .3s ease;
}

.symptom-tile:hover { transform: translateY(-8px); box-shadow: 0 24px 40px -16px rgba(0,0,0,.45); }

.symptom-tile .tile-icon {
  width: 110px; height: 110px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: transform .3s ease;
}

.symptom-tile:hover .tile-icon { transform: scale(1.1) rotate(-6deg); }
.symptom-tile .tile-icon img { width: 56px; height: 56px; filter: brightness(0) invert(1); }
.symptom-tile h3 { text-transform: uppercase; font-size: 19px; margin-bottom: 14px; }
.symptom-tile .tile-list { font-size: 14px; color: rgba(255,255,255,.9); margin-bottom: 18px; }

.tile-rose { background: linear-gradient(140deg, var(--rose), var(--red)); }
.tile-amber { background: linear-gradient(140deg, var(--amber), var(--coral)); }
.tile-purple { background: linear-gradient(140deg, var(--purple), var(--violet)); }
.tile-teal { background: linear-gradient(140deg, var(--primary-light), var(--primary)); }

/* ---------- departments grid ---------- */

.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 860px) { .dept-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .dept-grid { grid-template-columns: repeat(2, 1fr); } }

.dept-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px -16px rgba(15,32,39,.25);
  padding: 26px 16px;
  text-align: center;
  transition: transform .3s cubic-bezier(.21,.47,.32,.98), box-shadow .3s ease;
}

.dept-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.dept-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease;
}

.dept-card:hover .dept-icon { transform: scale(1.12) rotate(-4deg); }
.dept-icon img { width: 34px; height: 34px; filter: brightness(0) invert(1); }
.dept-card .dept-name { font-weight: 700; font-size: 15px; }

.c-rose { background: linear-gradient(140deg, var(--rose), var(--red)); }
.c-cyan { background: linear-gradient(140deg, var(--cyan), var(--cyan-dark)); }
.c-amber { background: linear-gradient(140deg, var(--amber), var(--coral)); }
.c-emerald { background: linear-gradient(140deg, var(--emerald), var(--emerald-dark)); }
.c-violet { background: linear-gradient(140deg, var(--violet), var(--violet-dark)); }
.c-fuchsia { background: linear-gradient(140deg, var(--fuchsia), var(--fuchsia-dark)); }
.c-purple { background: linear-gradient(140deg, var(--purple), var(--purple-dark)); }
.c-orange { background: linear-gradient(140deg, var(--coral), var(--orange)); }

.text-rose { color: var(--red); }
.text-cyan { color: var(--cyan-dark); }
.text-amber { color: var(--amber); }
.text-emerald { color: var(--emerald-dark); }
.text-violet { color: var(--violet-dark); }
.text-fuchsia { color: var(--fuchsia-dark); }
.text-purple { color: var(--purple-dark); }
.text-orange { color: var(--orange); }

/* ---------- doctor cards ---------- */

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 960px) { .doctor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .doctor-grid { grid-template-columns: 1fr; } }

.doctor-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 28px -16px rgba(15,32,39,.25);
  transition: transform .3s cubic-bezier(.21,.47,.32,.98), box-shadow .3s ease;
  display: block;
}

.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.doctor-card .accent-bar { height: 6px; }

.doctor-card .card-body { padding: 20px; }

.doctor-card .doctor-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.doctor-card .avatar-circle { width: 52px; height: 52px; font-size: 18px; }
.doctor-card .doctor-name { font-weight: 700; font-size: 16px; margin: 0; }
.doctor-card .doctor-spec { font-size: 13px; font-weight: 600; margin: 0; }
.doctor-card .doctor-meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.doctor-card .doctor-foot { display: flex; align-items: center; justify-content: space-between; }
.doctor-card .rating { font-size: 13px; color: var(--amber); font-weight: 600; }
.doctor-card .rating .muted { color: var(--muted); font-weight: 400; }

.pill {
  display: inline-flex;
  align-items: center;
  background: var(--bg);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- generic card / section bg ---------- */

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px -16px rgba(15,32,39,.25);
  padding: 24px;
}

.section-tinted { background: linear-gradient(180deg, rgba(13,122,112,.05), transparent); }

/* ---------- about / director ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; text-align: center; } }

.about-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}

.about-points { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 760px) { .about-points { justify-content: center; } }

.about-points .point {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 12px -8px rgba(0,0,0,.2);
}

/* ---------- services section ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 30px -18px rgba(15,32,39,.35);
  transition: transform .3s cubic-bezier(.21,.47,.32,.98), box-shadow .3s ease;
}

.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card .thumb { height: 140px; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .thumb img { transform: scale(1.08); }
.service-card .body { padding: 16px; }
.service-card .body h4 { margin-bottom: 6px; font-size: 16px; }
.service-card .body p { font-size: 13px; margin-bottom: 14px; }

/* ---------- how it works ---------- */

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px) { .steps-grid { grid-template-columns: 1fr; } }

.step .step-icon {
  width: 48px; height: 48px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 12px;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; margin: 0; }

/* ---------- emergency / cta strip ---------- */

.cta-strip {
  background: linear-gradient(120deg, var(--primary), var(--coral));
  color: #fff;
  padding: 40px 0;
}

.cta-strip .container {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

.cta-strip h3 { color: #fff; margin-bottom: 4px; }
.cta-strip p { color: rgba(255,255,255,.85); margin: 0; }
.cta-phones { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-phones a {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.16); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 14px; transition: background .2s ease;
}
.cta-phones a:hover { background: rgba(255,255,255,.28); }

/* ---------- footer ---------- */

.site-footer {
  background: linear-gradient(180deg, #0b1720, #061019);
  color: rgba(255,255,255,.75);
  padding: 56px 0 24px;
  margin-top: 40px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }

.site-footer h5 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a { display: block; color: rgba(255,255,255,.72); font-size: 14px; margin-bottom: 10px; transition: color .2s ease; }
.site-footer a:hover { color: var(--primary-light); }
.site-footer p { color: rgba(255,255,255,.65); font-size: 14px; }

.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; margin: 0;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: 13px; }

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  background: linear-gradient(170deg, var(--primary-dark) 0%, var(--primary) 70%, var(--bg) 100%);
  color: #fff;
  padding: 44px 0 40px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 { color: #fff; margin-bottom: 6px; }
.page-hero p { color: rgba(255,255,255,.85); margin: 0; }

/* ---------- tabs (account page) ---------- */

.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab-btn {
  background: none; border: none; padding: 10px 18px; font-weight: 700; font-size: 14px;
  color: var(--muted); border-radius: 999px 999px 0 0; position: relative;
}
.tab-btn.active { color: var(--primary-dark); }
.tab-btn.active::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: 3px 3px 0 0;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- misc components ---------- */

.badge-status {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.badge-booked { background: rgba(13,122,112,.12); color: var(--primary-dark); }
.badge-pending { background: rgba(245,158,11,.14); color: #92610a; }
.badge-cancelled { background: rgba(225,29,72,.12); color: var(--red); }
.badge-completed { background: rgba(14,116,144,.12); color: #0e7490; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }

.toast-stack {
  position: fixed; top: 20px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px;
  border-left: 4px solid var(--primary); animation: toastIn .25s ease;
  max-width: 320px;
}
.toast.toast-error { border-left-color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(5,15,20,.55); display: none;
  align-items: center; justify-content: center; z-index: 998; padding: 20px;
}
.modal-backdrop.is-open { display: flex; }
.modal-box {
  background: #fff; border-radius: var(--radius); padding: 28px; max-width: 380px; width: 100%;
  box-shadow: var(--shadow-lg); text-align: center; position: relative;
}
.modal-box .modal-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; }
.modal-close { position: absolute; top: 14px; right: 14px; background: var(--bg); border: none; width: 30px; height: 30px; border-radius: 999px; }

/* ---------- auth / login page ---------- */

.auth-wrap {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 20% 20%, rgba(20,184,166,.18), transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(251,146,60,.16), transparent 45%), var(--bg);
  padding: 40px 16px;
}

.auth-card {
  width: 100%; max-width: 420px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 36px 30px; text-align: center;
}
.auth-card img.logo { height: 38px; margin: 0 auto 10px; }
.auth-card .subtitle { font-size: 14px; margin-bottom: 26px; }
.auth-card .field { text-align: left; }
.phone-row { display: flex; gap: 8px; }
.phone-row .prefix {
  display: flex; align-items: center; justify-content: center; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; color: var(--muted);
  background: var(--bg); flex-shrink: 0;
}
.auth-link-btn { background: none; border: none; color: var(--primary-dark); font-weight: 600; font-size: 13px; margin-top: 14px; }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.21,.47,.32,.98), transform .6s cubic-bezier(.21,.47,.32,.98); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- utility ---------- */

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 14px; }
.w-full { width: 100%; }

@media (max-width: 640px) {
  .hero-copy h1 { font-size: 32px; }
  .page-hero h1 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 20px; }
}
