/* ============================================================
   NEXACLINIC — Design System
   Futuristic Healthcare Platform
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --primary:       #1B4332;
  --primary-mid:   #235C42;
  --teal:          #4CAF50;
  --teal-dim:      rgba(76,175,80,0.15);
  --teal-glow:     rgba(76,175,80,0.35);
  --indigo:        #4F46E5;
  --green:         #2E7D32;
  --red:           #DC2626;
  --red-dim:       rgba(220,38,38,0.15);
  --bg:            #EDF8F2;
  --bg-dark:       #0D2218;
  --white:         #FFFFFF;
  --text:          #1B4332;
  --text-mid:      #2A5C40;
  --text-muted:    #6B7280;
  --border:        #C8E6C9;
  --surface:       rgba(255,255,255,0.85);
  --radius:        14px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --shadow:        0 4px 32px rgba(27,67,50,0.10);
  --shadow-lg:     0 12px 48px rgba(27,67,50,0.16);
  --shadow-teal:   0 8px 32px rgba(76,175,80,0.25);
  --font-display:  'Outfit', sans-serif;
  --font-body:     'Figtree', sans-serif;
  --font-mono:     'DM Mono', monospace;
  --transition:    all 0.28s cubic-bezier(0.4,0,0.2,1);
  --nav-h:         72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
ul { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p  { font-size: 1rem; color: var(--text-mid); line-height: 1.75; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  transition: var(--transition); white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--teal); color: var(--primary);
  box-shadow: 0 4px 20px var(--teal-glow);
}
.btn-primary:hover {
  background: #66BB6A; transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--teal-glow);
}
.btn-dark {
  background: var(--primary); color: var(--white);
}
.btn-dark:hover {
  background: var(--primary-mid); transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent; color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal-dim); transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--text-mid);
  padding: 10px 18px;
}
.btn-ghost:hover { color: var(--teal); }
.btn-red {
  background: var(--red); color: #fff;
  box-shadow: 0 4px 20px rgba(220,38,38,0.3);
}
.btn-red:hover {
  background: #ef4444; transform: translateY(-2px);
}
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 5%;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(27,67,50,0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 32px rgba(0,0,0,0.2);
}
.navbar.light { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.navbar.light .nav-link { color: var(--text); }
.navbar.light .nav-logo { color: var(--primary); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1400px; margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: #fff; letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo span { color: var(--teal); }
.nav-logo .logo-icon {
  width: 36px; height: 36px; background: var(--teal);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  color: rgba(255,255,255,0.85); font-size: 0.8rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: var(--transition);
  font-family: var(--font-display);
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-emergency {
  background: var(--red); color: #fff;
  padding: 8px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
  animation: pulse-red 2s infinite;
  font-family: var(--font-display);
}
@keyframes pulse-red {
  0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(220,38,38,0); }
}
.nav-book {
  background: var(--teal); color: var(--primary);
  padding: 9px 20px; border-radius: 50px;
  font-size: 0.88rem; font-weight: 700;
  font-family: var(--font-display);
  transition: var(--transition);
}
.nav-book:hover { background: #66BB6A; transform: translateY(-1px); box-shadow: var(--shadow-teal); }
.nav-login {
  color: rgba(255,255,255,0.8); font-size: 0.88rem;
  padding: 9px 16px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px; transition: var(--transition);
  font-family: var(--font-display); font-weight: 500;
}
.nav-login:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: var(--transition);
}
.mobile-nav {
  display: flex; position: fixed; top: 0; right: 0; bottom: 0;
  width: min(80vw, 320px);
  z-index: 999;
  background: rgba(13, 34, 24, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(76,175,80,0.15);
  flex-direction: column;
  padding: 100px 8% 40px;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.4);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .nav-link {
  font-size: 1.1rem; font-weight: 700; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}
.mobile-nav-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

/* ── Layout Utilities ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 5%; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }
.text-center { text-align: center; }
.text-white { color: #fff; }

/* ── Section Label ── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-dim); border: 1px solid rgba(76,175,80,0.3);
  color: var(--teal); padding: 6px 16px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  font-family: var(--font-display); margin-bottom: 20px;
}
.section-label.dark {
  background: rgba(76,175,80,0.12); border-color: rgba(76,175,80,0.25); color: var(--teal);
}

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow); transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--transition);
}
.card-dark:hover { background: rgba(255,255,255,0.07); border-color: rgba(76,175,80,0.3); }
.card-glass {
  background: rgba(255,255,255,0.9); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow);
}

/* ── Doctor Card ── */
.doctor-card {
  background: var(--white); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--border); transition: var(--transition);
  position: relative;
}
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.doctor-card .card-img {
  height: 220px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.doctor-card .card-img .doctor-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, #2E7D32 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: #fff; border: 4px solid rgba(255,255,255,0.2);
}
.doctor-card .card-body { padding: 20px; }
.doctor-card .specialty-tag {
  display: inline-block; background: var(--teal-dim); color: var(--teal);
  border: 1px solid rgba(76,175,80,0.3); padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; margin-bottom: 8px; font-family: var(--font-display);
}
.doctor-card h4 { font-size: 1.1rem; margin-bottom: 4px; }
.doctor-card .rating { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.doctor-card .rating .stars { color: #F59E0B; }
.avail-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: 6px; animation: avail-pulse 2s ease-in-out infinite;
}
.avail-dot.available { background: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,0.2); }
.avail-dot.busy { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,0.2); }
.avail-dot.unavailable { background: var(--text-muted); }
@keyframes avail-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

/* ── Service Card ── */
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow); transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: var(--teal);
  transform: scaleY(0); transition: transform 0.3s; transform-origin: bottom;
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--teal-dim); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 18px;
}

/* ── Forms ── */
.form-group { position: relative; margin-bottom: 22px; }
.form-label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-mid);
  margin-bottom: 8px; font-family: var(--font-display);
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; font-family: var(--font-body);
  background: var(--white); color: var(--text);
  transition: var(--transition); outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-dim);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }

/* ── Stats ── */
.stat-number {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--teal); line-height: 1;
}
.stat-label { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; margin-top: 4px; }

/* ── Tags / Chips ── */
.tag {
  display: inline-block; padding: 5px 14px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600; font-family: var(--font-display);
}
.tag-teal { background: var(--teal-dim); color: var(--teal); border: 1px solid rgba(76,175,80,0.25); }
.tag-blue { background: rgba(79,70,229,0.1); color: var(--indigo); border: 1px solid rgba(79,70,229,0.2); }
.tag-green { background: rgba(22,163,74,0.1); color: var(--green); border: 1px solid rgba(22,163,74,0.2); }
.tag-red { background: var(--red-dim); color: var(--red); border: 1px solid rgba(220,38,38,0.2); }
.tag-gray { background: #F1F5F9; color: var(--text-muted); border: 1px solid var(--border); }

/* ── Page Hero (dark) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #062210 100%);
  padding: 160px 0 80px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(76,175,80,0.12) 0%, transparent 70%);
}
.page-hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 560px; }

/* ── Footer ── */
footer {
  background: var(--primary); color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 56px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--teal); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; }
.footer-contact-item .icon { color: var(--teal); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.footer-social a:hover { background: var(--teal); border-color: var(--teal); color: var(--primary); }

/* ── AI Chat Widget ── */
.chat-widget {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
}
.chat-bubble {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, #2E7D32 100%);
  box-shadow: var(--shadow-teal); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: var(--transition);
  animation: chat-float 3s ease-in-out infinite;
}
.chat-bubble:hover { transform: scale(1.1); }
@keyframes chat-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.chat-panel {
  position: absolute; bottom: 72px; right: 0;
  width: 340px; background: var(--white);
  border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 1px solid var(--border); overflow: hidden;
  display: none; flex-direction: column;
}
.chat-panel.open { display: flex; animation: slideUp 0.3s ease; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.chat-header-text h5 { color: #fff; font-size: 0.95rem; font-family: var(--font-display); }
.chat-header-text p { color: rgba(255,255,255,0.6); font-size: 0.75rem; }
.chat-body { padding: 16px; height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-msg {
  max-width: 80%; padding: 10px 14px; border-radius: 16px;
  font-size: 0.88rem; line-height: 1.5;
}
.chat-msg.bot {
  background: #EDF8F2; border-bottom-left-radius: 4px; align-self: flex-start; color: var(--text);
}
.chat-msg.user {
  background: var(--teal); color: var(--primary); font-weight: 500;
  border-bottom-right-radius: 4px; align-self: flex-end;
}
.chat-footer { padding: 12px 16px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.chat-input {
  flex: 1; border: 1px solid var(--border); border-radius: 50px;
  padding: 10px 16px; font-size: 0.88rem; outline: none;
  font-family: var(--font-body); transition: var(--transition);
}
.chat-input:focus { border-color: var(--teal); }
.chat-send {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition);
}
.chat-send:hover { background: #66BB6A; }

/* ── Animations ── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ── Skeleton loader ── */
.skeleton {
  background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
  background-size: 200% 100%; border-radius: 8px;
  animation: skeleton-wave 1.5s ease-in-out infinite;
}
@keyframes skeleton-wave { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--teal); }

/* ── Tabs ── */
.tabs { display: flex; gap: 4px; background: var(--white); border: 1px solid var(--border); border-radius: 50px; padding: 4px; }
.tab-btn {
  padding: 9px 20px; border-radius: 50px; font-size: 0.88rem;
  font-family: var(--font-display); font-weight: 600; color: var(--text-muted);
  transition: var(--transition); background: none; border: none; cursor: pointer;
}
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: #fff; }

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; border-radius: 50%;
  font-size: 0.7rem; font-weight: 700; font-family: var(--font-display);
  padding: 0 5px;
}
.badge-teal { background: var(--teal); color: var(--primary); }
.badge-red { background: var(--red); color: #fff; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.divider-dark { background: rgba(255,255,255,0.08); }

/* ── Alert / Info box ── */
.alert {
  padding: 16px 20px; border-radius: var(--radius);
  display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem;
}
.alert-info { background: rgba(79,70,229,0.08); border: 1px solid rgba(79,70,229,0.2); color: var(--indigo); }
.alert-success { background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.2); color: var(--green); }
.alert-warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); color: #D97706; }
.alert-danger { background: var(--red-dim); border: 1px solid rgba(220,38,38,0.2); color: var(--red); }

/* ── Progress bar ── */
.progress-bar {
  height: 6px; background: var(--border); border-radius: 50px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--teal), #2E7D32);
  border-radius: 50px; transition: width 0.6s ease;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .chat-panel { width: 300px; }
}
@media (max-width: 480px) {
  .container, .container-wide { padding: 0 4%; }
  .btn { padding: 11px 22px; font-size: 0.9rem; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ── Star rating ── */
.stars { color: #F59E0B; letter-spacing: 1px; }

/* ── Accordion ── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-family: var(--font-display); font-weight: 600;
  font-size: 1rem; background: none; border: none; cursor: pointer;
  color: var(--text); text-align: left;
}
.accordion-btn .icon { transition: transform 0.3s; font-size: 1.2rem; color: var(--teal); }
.accordion-btn.open .icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-body.open { max-height: 400px; }
.accordion-body p { padding-bottom: 20px; }
