/* ===================================================================
   DENTPEER — DESIGN TOKENS
=================================================================== */
:root {
  --primary: #4F46E5;
  --primary-dark: #3730A3;
  --primary-light: #818CF8;
  --accent: #06B6D4;
  --accent-dark: #0891B2;
  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;

  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.7);
  --border: rgba(15, 23, 42, 0.08);

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;

  --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 32px 80px rgba(15, 23, 42, 0.12);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.01em; }

.h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 14px;
}

.p-lead {
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 52ch;
}
.p-body {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 56ch;
  margin-top: 14px;
}

.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.35;
  background-image: radial-gradient(rgba(11,18,32,0.035) 1px, transparent 1px);
  background-size: 3px 3px;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 999; transition: width 0.1s linear;
}

/* ===================================================================
   BUTTONS
=================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.96rem;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.3);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 34px rgba(79, 70, 229, 0.4); }

.btn-ghost {
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.2);
}
.btn-ghost:hover { background: rgba(79, 70, 229, 0.15); transform: translateY(-2px); }

.btn-white { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px) scale(1.02); }

.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px) scale(1.02); }

.card-link { color: var(--primary); font-weight: 600; font-size: 0.94rem; display: inline-block; margin-top: 6px; transition: gap 0.2s ease, opacity 0.2s ease; }
.card-link:hover { opacity: 0.75; }

/* ===================================================================
   NAVBAR
=================================================================== */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 500;
  display: flex; justify-content: center;
}
.nav-inner {
  width: min(1180px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  border-radius: 100px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 30px rgba(15,40,90,0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled .nav-inner { background: rgba(255,255,255,0.86); box-shadow: 0 12px 34px rgba(15,40,90,0.14); }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.brand-logo { max-height: 70px; width: auto; object-fit: contain; }
.brand-mark { width: 34px; height: 34px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.brand-mark svg { width: 34px; height: 34px; }
.brand-mark .n { fill: var(--primary); }
.brand-mark .n2 { fill: var(--accent); }
.brand-mark line { stroke: rgba(11,18,32,0.25); stroke-width: 2; }

.nav-links { display: flex; gap: 8px; }
.nav-link {
  padding: 9px 16px; border-radius: 100px; font-size: 0.92rem; font-weight: 500;
  color: var(--ink-soft); transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.2s var(--ease);
}
.nav-link:hover { color: var(--primary-dark); background: rgba(79, 70, 229, 0.06); transform: translateY(-1px); }
.nav-link.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: none; background: transparent; border-radius: 50%;
}
.hamburger span { width: 20px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 80px; right: 14px; left: 14px; z-index: 480;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(20px);
  border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  padding: 18px; display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-16px) scale(0.97); opacity: 0; pointer-events: none;
  transition: all 0.35s var(--ease);
}
.mobile-menu.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 12px 14px; border-radius: 12px; font-weight: 500; color: var(--ink-soft); }
.mobile-menu a:hover { background: rgba(79, 70, 229, 0.1); color: var(--primary); }

/* ===================================================================
   HERO
=================================================================== */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: var(--bg); opacity: 0.85; /* Blend image with the background */
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.blob-a { width: 480px; height: 480px; background: radial-gradient(circle, rgba(79,70,229,0.35), transparent 70%); top: -180px; left: -140px; animation: floatSlow 16s ease-in-out infinite; }
.blob-b { width: 420px; height: 420px; background: radial-gradient(circle, rgba(6,182,212,0.32), transparent 70%); bottom: -160px; right: -120px; animation: floatSlow 18s ease-in-out infinite reverse; }
.grid-veil {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11,18,32,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(11,18,32,0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black, transparent);
}
@keyframes floatSlow { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px, 25px); } }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }

.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 700; line-height: 1.08; margin: 0 0 20px; color: var(--ink);
}
.grad-text {
  background: linear-gradient(100deg, var(--primary) 20%, var(--accent-dark) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.08rem; line-height: 1.7; color: var(--ink-soft); max-width: 52ch; margin-bottom: 32px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero-links { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-links a { font-weight: 600; font-size: 0.92rem; color: var(--primary); }
.hero-links a:hover { opacity: 0.7; }

.hero-visual { position: relative; min-height: 420px; }
.peer-network { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.pn-svg { width: 100%; }
.pn-lines line { stroke: rgba(79,70,229,0.25); stroke-width: 2; }
.pn-node { fill: #fff; stroke: var(--primary); stroke-width: 2.5; }
.pn-node.pn-core { fill: var(--primary); stroke: none; animation: pulse 3s ease-in-out infinite; }
.pn-node.pn-accent { fill: var(--accent); stroke: none; }

@keyframes pulse { 0%,100% { filter: drop-shadow(0 0 0 rgba(79,70,229,0.5)); } 50% { filter: drop-shadow(0 0 14px rgba(79,70,229,0.55)); } }

.pn-tag {
  position: absolute; font-size: 0.72rem; font-weight: 600; padding: 5px 12px;
  background: #fff; border-radius: 100px; box-shadow: var(--shadow-sm); color: var(--ink-soft);
  border: 1px solid var(--border);
}
.pn-tag-1 { top: 8%; left: 50%; transform: translateX(-50%); }
.pn-tag-2 { top: 40%; left: 2%; }
.pn-tag-3 { top: 40%; right: -2%; }
.pn-tag-4 { bottom: 10%; left: 50%; transform: translateX(-50%); }

.float-card {
  position: absolute; background: var(--surface-glass); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.7); border-radius: var(--radius-sm);
  padding: 12px 18px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 2px;
  animation: floatCard 6s ease-in-out infinite;
}
.fc-num { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--primary); }
.fc-label { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.fc-1 { top: 4%; right: 4%; animation-delay: 0s; }
.fc-2 { bottom: 12%; left: -2%; animation-delay: 1.4s; }
.fc-3 { bottom: -2%; right: 12%; animation-delay: 2.6s; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===================================================================
   STATS
=================================================================== */
.stats-strip { position: relative; z-index: 1; padding: 10px 0 60px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 30px; box-shadow: var(--shadow-md);
}
.stat-card { text-align: center; padding: 10px; border-left: 1px solid var(--border); }
.stat-card:first-child { border-left: none; }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.stat-label { font-size: 0.86rem; color: var(--muted); line-height: 1.4; }
.stats-note { font-size: 0.76rem; color: var(--muted); text-align: right; margin-top: 12px; }

/* ===================================================================
   INTRO
=================================================================== */
.intro { padding: 70px 0; }
.intro .h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.intro .p-lead { font-size: 1.12rem; color: var(--ink); line-height: 1.75; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-list { display: flex; flex-direction: column; gap: 18px; }
.intro-list li { display: flex; align-items: center; gap: 14px; font-size: 1.08rem; color: var(--ink); font-weight: 600; letter-spacing: 0.01em; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); flex: none; box-shadow: 0 0 10px rgba(79,70,229,0.4); }

/* ===================================================================
   ABOUT
=================================================================== */
.about { padding: 70px 0; }
.about .h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.about .p-lead { font-size: 1.12rem; color: var(--ink); line-height: 1.75; font-weight: 500; }
.about .p-body { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.8; margin-top: 16px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
.about-cards { display: flex; flex-direction: column; gap: 20px; }
.glass-card {
  background: var(--surface-glass); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.glass-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-tag { display: inline-block; font-weight: 800; color: var(--primary); font-family: var(--font-display); margin-bottom: 12px; font-size: 1.25rem; letter-spacing: -0.01em; }
.card-tag.accent { color: var(--accent-dark); }
.glass-card p { margin: 0; color: var(--ink); line-height: 1.7; font-size: 1.05rem; }

.founder-name {
  white-space: nowrap;
}

/* ===================================================================
   SERVICES
=================================================================== */
.services { padding: 70px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(79,70,229,0.25); }
.service-icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(6,182,212,0.14));
  color: var(--primary);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; color: var(--ink); }
.service-card p { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 20px; }

/* ===================================================================
   HOW IT WORKS
=================================================================== */
.how { padding: 70px 0; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.how-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 36px 30px; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.how-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.how-index { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: rgba(79,70,229,0.15); display: block; margin-bottom: 16px; line-height: 1; letter-spacing: -0.05em; }
.how-step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; color: var(--ink); }
.how-step p { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* ===================================================================
   COMMUNITY
=================================================================== */
.community { padding: 70px 0 30px; }
.community-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; margin-bottom: 70px; }
.benefit-list { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 28px; }
.benefit-list li { position: relative; padding-left: 26px; color: var(--ink-soft); font-weight: 500; }
.benefit-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 2px; background: var(--primary); transform: rotate(45deg); }
.community-visual { display: flex; justify-content: center; }
.pn-svg-big { width: 100%; max-width: 360px; }

.who-block { text-align: center; }
.who-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
.chip {
  padding: 12px 24px; border-radius: 100px; background: var(--surface);
  border: 1px solid var(--border); font-weight: 600; font-size: 0.94rem; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease;
}
.chip:hover { transform: translateY(-3px); background: var(--primary); color: #fff; }

/* ===================================================================
   FORMS
=================================================================== */
.booking, .community-join, .contact { padding: 70px 0; }
.booking-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 54px; align-items: start; }

.premium-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border);
  background: #fbfdff; font-size: 0.94rem; color: var(--ink); outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,0.15);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #E5484D; }
.error-msg { font-size: 0.78rem; color: #E5484D; min-height: 14px; }

.form-status { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; min-height: 0; overflow: hidden; transition: all 0.3s ease; }
.form-status.show { margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; }
.form-status.success { background: rgba(23,201,182,0.14); color: var(--accent-dark); }
.form-status.error { background: rgba(229,72,77,0.1); color: #C4262B; }

.btn-spinner {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff; display: none; animation: spin 0.7s linear infinite;
}
.premium-form button.loading .btn-spinner { display: inline-block; }
.premium-form button.loading .btn-text { opacity: 0.8; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-placeholders { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.contact-item { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: var(--surface); border: 1px dashed var(--border); border-radius: 14px; }
.contact-item span { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; }
.contact-item strong { font-size: 0.95rem; color: var(--ink-soft); font-weight: 500; }

/* ===================================================================
   X-RAY / FINAL CTA
=================================================================== */
.xray { padding: 60px 0; }
.xray-card {
  background: linear-gradient(120deg, var(--primary-dark), var(--accent-dark));
  border-radius: var(--radius-lg); padding: 50px; display: flex; align-items: center;
  justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow-lg);
}

.final-cta { position: relative; padding: 100px 0; text-align: center; overflow: hidden; }
.fc-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent-dark)); background-size: 200% 200%; animation: gradientShift 10s ease infinite; }
@keyframes gradientShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.final-cta .wrap { position: relative; z-index: 1; }
.final-cta .h2 { max-width: 640px; margin: 0 auto 16px; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
.final-cta .p-lead { max-width: 520px; margin: 0 auto 32px; font-size: 1.15rem; font-weight: 500; letter-spacing: 0.01em; }

/* ===================================================================
   CONTACT
=================================================================== */
.contact { padding: 70px 0; }
.contact .h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.contact .p-lead { font-size: 1.12rem; color: var(--ink); line-height: 1.75; font-weight: 500; margin-bottom: 30px; }

.contact-placeholders {
  display: flex; flex-direction: column; gap: 20px;
  background: var(--surface-glass); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 32px; box-shadow: var(--shadow-sm);
  margin-top: 20px;
}
.contact-item { display: flex; flex-direction: column; gap: 6px; }
.contact-item span { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--primary); letter-spacing: 0.05em; }
.contact-item strong { font-size: 1.15rem; font-weight: 600; color: var(--ink); transition: color 0.3s var(--ease); }
.contact-item a { text-decoration: none; display: inline-block; }
.contact-item a:hover strong { color: var(--primary-light); }

/* ===================================================================
   FOOTER
=================================================================== */
.footer { background: #090E17; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.2fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.brand-footer { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 1.05rem; line-height: 1.75; margin-top: 18px; max-width: 360px; }
.footer-col h4 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 22px; color: #fff; }
.footer-col { display: flex; flex-direction: column; }
.footer-col a, .footer-placeholder {
  display: block; color: rgba(255,255,255,0.65); font-size: 1.02rem; font-weight: 500;
  margin-bottom: 14px; text-decoration: none; transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: center; padding: 24px 0; color: rgba(255,255,255,0.4); font-size: 0.95rem; font-weight: 500; }

/* ===================================================================
   FLOATING UI
=================================================================== */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all 0.3s var(--ease); z-index: 400;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

.whatsapp-btn {
  position: fixed; bottom: 26px; left: 26px; width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 400;
}
.whatsapp-btn svg { width: 26px; height: 26px; }

/* ===================================================================
   SCROLL REVEAL
=================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ===================================================================
   RESPONSIVE
=================================================================== */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .community-grid, .booking-grid, .intro-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 340px; margin-bottom: 10px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 10px 14px; }
  .nav-actions .btn-sm { display: none; }
  .hero { padding: 130px 0 60px; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .xray-card { flex-direction: column; text-align: center; padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .stats-grid { grid-template-columns: 1fr 1fr; padding: 26px 18px; gap: 24px; }
  .wrap { padding: 0 20px; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-left: none !important; border-top: 1px solid var(--border); padding-top: 18px; }
  .stat-card:first-child { border-top: none; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--primary); outline-offset: 2px;
}
