/* ═══════════════════════════════════════════════════════════════
   PINGALA STUDIO — Dental Demo v2
   Font:    Poppins 400 / 500 / 600 / 700 / 800
   Palette: Deep Navy · Teal · Off-White
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink:        #0C1829;
  --ink-2:      #2D3748;
  --muted:      #64748B;

  --teal:       #0EA8B6;
  --teal-dk:    #0890A0;
  --teal-lt:    #E6F8FA;
  --teal-mid:   #9DE8EF;

  --navy:       #0C2340;
  --navy-2:     #122D52;

  --bg:         #F7F9FC;
  --white:      #FFFFFF;
  --border:     rgba(12, 35, 64, 0.08);
  --border-md:  rgba(12, 35, 64, 0.14);

  --wa:         #25D366;
  --wa-dk:      #1DA851;

  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* ── ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 0.13s + 0.05s);
}
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.28);
}
.btn-wa svg { flex-shrink: 0; }
.btn-wa:hover { background: var(--wa-dk); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.42); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--border-md);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dk); background: var(--teal-lt); }

/* ── HEADER ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { flex-shrink: 0; }
.logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--ink); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(12, 35, 64, 0.22);
  flex-shrink: 0;
}
.header-cta:hover { background: var(--navy-2); transform: translateY(-1px); }

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  background: var(--white);
  padding: 88px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--teal-lt) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-left { display: flex; flex-direction: column; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-lt);
  color: var(--teal-dk);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
  width: fit-content;
  border: 1px solid rgba(14, 168, 182, 0.2);
}

.hero-h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-hl {
  color: var(--teal);
  display: inline;
}

.hero-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 12px 18px;
  background: var(--bg);
  border-radius: 14px;
  width: fit-content;
  border: 1px solid var(--border);
}
.star-row { display: flex; gap: 2px; }
.star { width: 16px; height: 16px; color: #F59E0B; }
.rating-label { font-size: 0.82rem; color: var(--ink-2); font-weight: 500; }
.rating-label strong { color: var(--ink); font-weight: 700; }

.hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── HERO IMAGE ─────────────────────────────────────────────────── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-img-card {
  position: relative;
  width: min(480px, 100%);
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-lt) 0%, var(--teal-mid) 100%);
  box-shadow: 0 32px 80px rgba(12, 35, 64, 0.18);
}
.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-img-card.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  text-align: center;
  min-width: 110px;
  animation: float 4s ease-in-out infinite;
}
.badge-score {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.badge-stars {
  color: #F59E0B;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin: 4px 0;
}
.badge-sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hero-stat-chip {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  animation: float 5s ease-in-out infinite;
  animation-delay: 1.5s;
}
.chip-1 { top: 20px; right: -16px; }
.hero-stat-chip div { display: flex; flex-direction: column; }
.hero-stat-chip strong { font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.hero-stat-chip span { font-size: 0.65rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── STATS BAND ─────────────────────────────────────────────────── */
.stats-band {
  background: var(--navy);
  padding: 48px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 48px;
}
.stat-icon {
  width: 42px;
  height: 42px;
  background: rgba(14, 168, 182, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 20px; height: 20px; color: var(--teal); }
.stat-text { display: flex; flex-direction: column; }
.stat-text strong {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.stat-text span {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* ── SECTION HEADERS ─────────────────────────────────────────────── */
.section-hd { margin-bottom: 52px; }
.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--ink);
}

/* ── SERVICES ───────────────────────────────────────────────────── */
.services-section {
  background: var(--bg);
  padding: 100px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.s-card {
  background: var(--white);
  border-radius: 22px;
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.s-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-mid) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.s-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(12, 35, 64, 0.1);
  border-color: transparent;
}
.s-card:hover::before { transform: scaleX(1); }
.s-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-lt);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.s-icon svg { width: 24px; height: 24px; stroke: var(--teal-dk); }
.s-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.s-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 400;
}

/* ── GALLERY ────────────────────────────────────────────────────── */
.section.gallery {
  background: var(--white);
  padding: 100px 0;
}
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 48px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  background: var(--bg);
}
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 1;
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.gallery-item:first-child img { height: 280px; }
.gallery-item:hover img { transform: scale(1.06); }

/* ── WHY US ─────────────────────────────────────────────────────── */
.why-section {
  background: var(--bg);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why-card {
  background: var(--white);
  border-radius: 22px;
  padding: 36px 28px;
  border: 1.5px solid var(--border);
}
.why-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.why-icon svg { width: 26px; height: 26px; stroke: var(--teal-mid); }
.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.why-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 400;
}

/* ── LOCATION ───────────────────────────────────────────────────── */
.location-section { background: var(--white); padding: 100px 0; }
.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.map-wrap {
  border-radius: 22px;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 8px 40px rgba(12, 35, 64, 0.1);
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.location-info { display: flex; flex-direction: column; gap: 28px; }
.loc-item { display: flex; align-items: flex-start; gap: 16px; }
.loc-icon {
  width: 42px;
  height: 42px;
  background: var(--teal-lt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.loc-icon svg { width: 18px; height: 18px; stroke: var(--teal-dk); }
.loc-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.loc-value { font-size: 0.9rem; color: var(--ink-2); line-height: 1.7; font-weight: 400; }
.loc-phone {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s;
  display: inline-block;
}
.loc-phone:hover { color: var(--teal-dk); }
.loc-wa { margin-top: 4px; width: 100%; justify-content: center; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; color: var(--ink-2); }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 9px 0; font-weight: 400; }
.hours-table td:last-child { text-align: right; color: var(--muted); }

/* ── CTA SECTION ─────────────────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(14, 168, 182, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
.cta-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.cta-h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 18px;
}
.cta-body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--wa);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 18px 38px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.38);
  transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn-cta:hover { background: var(--wa-dk); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5); }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  background: #07111F;
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.footer-addr {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  max-width: 320px;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 6px;
}
.footer-phone {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
  display: inline-block;
}
.footer-phone:hover { color: var(--teal); }
.footer-meta {
  text-align: right;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-meta a { color: rgba(255, 255, 255, 0.45); transition: color 0.2s; }
.footer-meta a:hover { color: var(--teal); }

/* ── FLOATING WA ────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 28px rgba(37, 211, 102, 0.44);
  transition: background 0.2s, transform 0.2s var(--spring);
}
.wa-float:hover { background: var(--wa-dk); transform: scale(1.1); }
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  z-index: -1;
  animation: pulse-ring 2.8s ease-out infinite;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .header-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .hero-img-card { max-width: 380px; aspect-ratio: 16/9; }
  .hero-h1 { font-size: clamp(2.6rem, 8vw, 4rem); }
  .chip-1 { top: 12px; right: 8px; }
  .stats-inner { gap: 12px; }
  .stat-item { padding: 0 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 320px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 56px 0 64px; }
  .hero-h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .hero-img-card { max-width: 100%; aspect-ratio: 4/3; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn-wa, .btn-ghost { width: 100%; justify-content: center; }
  .stats-inner { flex-direction: column; gap: 20px; }
  .stat-divider { width: 48px; height: 1px; }
  .stat-item { padding: 0; }
  .services-section, .why-section, .location-section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }
  .gallery-item img, .gallery-item:first-child img { height: 200px; }
  .cta-section { padding: 88px 0; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-meta { text-align: left; }
  .wa-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
  .chip-1 { display: none; }
}
@media (max-width: 375px) {
  .container { padding: 0 16px; }
  .hero-h1 { font-size: 2.2rem; }
}
