/* ============================================================
   Gacutan Dental Clinic — Design System
   Palette: Galaxy #081F5C · Planetary #334EAC · Universe #7096D1
            Sky #D0E3FF · Venus #BAD6EB
   Type:    Sora (display) · Instrument Sans (body)
   ============================================================ */

:root {
  --ink: #081F5C;
  --primary: #334EAC;
  --primary-deep: #24398a;
  --mid: #7096D1;
  --sky: #D0E3FF;
  --mist: #BAD6EB;
  --ice: #F4F8FF;
  --white: #ffffff;
  --text: #2b3a66;
  --muted: #5c6b96;

  --font-display: "Sora", sans-serif;
  --font-body: "Instrument Sans", sans-serif;

  --radius-card: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 40px rgba(8, 31, 92, 0.08);
  --shadow-lift: 0 20px 60px rgba(8, 31, 92, 0.14);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; }
h1 em { font-style: normal; color: var(--primary); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h2 .thin { font-weight: 400; color: var(--muted); font-size: 0.7em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--sky);
  flex-shrink: 0;
}
.eyebrow.center { justify-content: center; display: flex; }
.eyebrow.light { color: var(--sky); }
.eyebrow.light .dot { background: var(--sky); box-shadow: 0 0 0 4px rgba(208, 227, 255, 0.2); }

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 22px 0 32px;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-sub { color: var(--muted); font-size: 1.06rem; margin-top: 16px; }
.section-sub.left { text-align: left; margin-bottom: 28px; }
.section-head h2.light, .section-sub.light { color: var(--white); }
.section-sub.light { opacity: 0.75; }
.section-sub.light strong { color: var(--sky); }

/* ---------- Buttons (pill) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 14px 30px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--mid); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(51, 78, 172, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(51, 78, 172, 0.45); }

.btn-outline {
  background: rgba(255, 255, 255, 0.6);
  color: var(--primary);
  box-shadow: inset 0 0 0 1.5px var(--mid);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: var(--sky); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ice); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Glass ---------- */

.glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.glass-dark {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(8, 31, 92, 0.07), 0 10px 30px rgba(8, 31, 92, 0.06);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(8, 31, 92, 0.15);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.2;
}
.brand-name span { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.brand-name.light { color: var(--white); }
.brand-name.light span { color: var(--mist); }

.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--sky); color: var(--ink); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  margin-left: auto;
}
.nav-burger span {
  width: 24px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 150px 0 100px;
  background:
    linear-gradient(102deg,
      rgba(6, 23, 69, 0.95) 0%,
      rgba(8, 31, 92, 0.88) 38%,
      rgba(8, 31, 92, 0.62) 68%,
      rgba(18, 41, 122, 0.45) 100%),
    url("hero-bg.jpg") center 32% / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -200px; left: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112, 150, 209, 0.3), transparent 65%);
  pointer-events: none;
}

/* Light-on-photo text treatment */
.hero h1 { color: var(--white); text-shadow: 0 2px 24px rgba(6, 23, 69, 0.4); }
.hero h1 em { color: #A9C6FF; }
.hero .lede { color: rgba(226, 236, 255, 0.88); }
.hero .eyebrow { color: #BFD5FF; }
.hero .eyebrow .dot { background: #BFD5FF; box-shadow: 0 0 0 4px rgba(191, 213, 255, 0.2); }
.hero .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.22); }
.hero .chip {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.95);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
}
.chip svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; }

.hero-card {
  border-radius: var(--radius-card);
  padding: 30px;
  max-width: 400px;
  justify-self: end;
  width: 100%;
}
.hero-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-card-logo { width: 52px; height: 52px; border-radius: 16px; object-fit: cover; }
.hero-card-head strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.02rem; }
.hero-card-head span { font-size: 0.85rem; color: var(--muted); }
.hero-card-list { list-style: none; margin-bottom: 24px; display: grid; gap: 12px; }
.hero-card-list li { display: flex; align-items: center; gap: 12px; font-size: 0.94rem; color: var(--text); }

.tick {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--sky);
  position: relative;
  flex-shrink: 0;
}
.tick::after {
  content: "";
  position: absolute;
  left: 6.5px; top: 4px;
  width: 5px; height: 9px;
  border: solid var(--primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
/* ---------- Sections ---------- */

.section { padding: 100px 0; }

/* ---------- Dentist ---------- */

.dentist { background: var(--white); }
.dentist-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.dentist-photo { position: relative; }
.photo-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 6px solid var(--white);
  background: var(--sky);
}
.photo-frame img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 70% 20%; }
.school-badge {
  position: absolute;
  bottom: -26px;
  right: -14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  border-radius: 20px;
  max-width: 280px;
}
.school-badge img { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.school-badge strong { display: block; font-family: var(--font-display); font-size: 0.88rem; color: var(--ink); line-height: 1.25; }
.school-badge span { font-size: 0.76rem; color: var(--muted); }

.dentist-bio p { color: var(--muted); margin-bottom: 16px; max-width: 34rem; }
.dentist-bio p strong { color: var(--text); }
.dentist-bio h2 { margin-bottom: 20px; }
.cred-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 30px; }
.cred {
  background: var(--ice);
  border: 1px solid var(--sky);
  border-radius: 16px;
  padding: 14px 20px;
  min-width: 140px;
}
.cred strong { display: block; font-family: var(--font-display); color: var(--primary); font-size: 1.1rem; }
.cred span { font-size: 0.78rem; color: var(--muted); }

/* ---------- Services ---------- */

.services { background: linear-gradient(180deg, var(--white), var(--ice)); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(112, 150, 209, 0.18);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--mid);
}
.service-card.wide { grid-column: span 2; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sky), #E8F0FF);
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 2px; }
.service-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid);
  margin-bottom: 10px;
}
.service-card > p:not(.service-tag) { font-size: 0.92rem; color: var(--muted); }
.service-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-list li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--sky);
  border-radius: var(--radius-pill);
  padding: 5px 13px;
}

/* ---------- Gallery ---------- */

.gallery { background: linear-gradient(180deg, var(--white), var(--ice)); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  margin: 0;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 56px 22px 18px;
  background: linear-gradient(180deg, rgba(8, 31, 92, 0), rgba(8, 31, 92, 0.85));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

/* ---------- Reviews ---------- */

.reviews { background: linear-gradient(180deg, var(--ice), var(--white)); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.review-card {
  border-radius: var(--radius-card);
  padding: 30px 28px;
}
.stars { color: #F5B301; letter-spacing: 3px; font-size: 1rem; margin-bottom: 16px; }
.review-card blockquote {
  font-size: 0.97rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.65;
}
.review-card figcaption strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 0.92rem; }
.review-card figcaption span { font-size: 0.8rem; color: var(--muted); }

.proof-strip {
  border-radius: var(--radius-card);
  padding: 30px 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.proof { text-align: center; }
.proof strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--primary); }
.proof span { font-size: 0.83rem; color: var(--muted); }
.proof-divider { width: 1px; height: 44px; background: rgba(112, 150, 209, 0.3); }

/* ---------- Booking ---------- */

.booking {
  position: relative;
  background: linear-gradient(150deg, var(--ink) 0%, #12297a 55%, var(--primary-deep) 100%);
  overflow: hidden;
}
.booking-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(112, 150, 209, 0.25), transparent 70%),
    radial-gradient(600px 400px at 10% 90%, rgba(15, 138, 99, 0.18), transparent 70%);
  pointer-events: none;
}
.booking .container { position: relative; }

.booking-widget {
  border-radius: 28px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  max-width: 960px;
  margin: 0 auto;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  font-size: 1rem;
}
.step-label.second { margin-top: 30px; }
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(208, 227, 255, 0.15);
  border: 1px solid rgba(208, 227, 255, 0.35);
  color: var(--sky);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Calendar */
.calendar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px;
}
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cal-head strong { font-family: var(--font-display); color: var(--white); font-size: 0.98rem; }
.cal-nav {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1;
}
.cal-nav:hover:not(:disabled) { background: rgba(255, 255, 255, 0.18); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-days, .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
}
.cal-days span {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(208, 227, 255, 0.55);
  padding-bottom: 8px;
}
.cal-cell {
  aspect-ratio: 1;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
  display: grid;
  place-items: center;
}
.cal-cell:hover:not(:disabled):not(.selected) { background: rgba(255, 255, 255, 0.14); }
.cal-cell:disabled { color: rgba(255, 255, 255, 0.22); cursor: default; text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.25); }
.cal-cell.empty { visibility: hidden; }
.cal-cell.today { box-shadow: inset 0 0 0 1.5px rgba(208, 227, 255, 0.5); }
.cal-cell.selected {
  background: var(--sky);
  color: var(--ink);
  font-weight: 700;
  transform: scale(1.06);
}
.cal-note { margin-top: 14px; font-size: 0.78rem; color: rgba(208, 227, 255, 0.6); text-align: center; }

/* Time slots */
.slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.slot {
  padding: 11px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}
.slot:hover:not(.selected):not(:disabled) { background: rgba(255, 255, 255, 0.16); }
.slot.selected {
  background: var(--sky);
  color: var(--ink);
  font-weight: 700;
  border-color: var(--sky);
}
.slots-hint {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: rgba(208, 227, 255, 0.65);
  text-align: center;
  padding: 14px 0;
}

/* Booking form */
.booking-form { display: grid; gap: 16px; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-form label span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(208, 227, 255, 0.8);
  margin-bottom: 6px;
}
.booking-form input, .booking-form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s, background 0.2s;
}
.booking-form input::placeholder { color: rgba(255, 255, 255, 0.35); }
.booking-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D0E3FF' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.booking-form select option { color: var(--ink); background: var(--white); }
.booking-form input:focus, .booking-form select:focus {
  outline: none;
  border-color: var(--sky);
  background: rgba(255, 255, 255, 0.12);
}

.booking-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(208, 227, 255, 0.12);
  border: 1px solid rgba(208, 227, 255, 0.3);
  border-radius: 14px;
  padding: 12px 16px;
  color: var(--sky);
  font-size: 0.9rem;
  font-weight: 500;
}
.booking-summary svg { width: 18px; height: 18px; flex-shrink: 0; }

.form-note { font-size: 0.78rem; color: rgba(208, 227, 255, 0.55); text-align: center; }
.form-success {
  font-size: 0.9rem;
  color: #7EE8C7;
  text-align: center;
  font-weight: 600;
}
.field-error { border-color: #ff8fa6 !important; }

.add-to-cal {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3);
}
.add-to-cal:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.add-to-cal svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Contact ---------- */

.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.contact-cards { display: grid; gap: 14px; align-content: start; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 20px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky), #E8F0FF);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-card span { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.contact-card strong { font-family: var(--font-display); font-size: 0.95rem; color: var(--ink); line-height: 1.35; }

.map-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 420px;
  padding: 8px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 404px;
  border: 0;
  border-radius: 18px;
  display: block;
}

/* ---------- Footer ---------- */

.footer {
  background: linear-gradient(180deg, var(--ink), #061745);
  color: rgba(208, 227, 255, 0.75);
  padding: 72px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
}
.footer-brand p { font-size: 0.9rem; margin: 18px 0; line-height: 1.7; }
.footer-brand address { font-style: normal; font-size: 0.88rem; line-height: 1.6; margin-bottom: 12px; color: var(--mist); }
.footer-brand .brand-mark { border-radius: 12px; }

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid rgba(208, 227, 255, 0.3);
  border-radius: var(--radius-pill);
  transition: background 0.2s;
}
.footer-map-link:hover { background: rgba(208, 227, 255, 0.12); }
.footer-map-link svg { width: 15px; height: 15px; }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(208, 227, 255, 0.25);
  display: grid;
  place-items: center;
  color: var(--sky);
  transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover { background: rgba(208, 227, 255, 0.15); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(208, 227, 255, 0.65);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-news h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-news > p { font-size: 0.86rem; margin-bottom: 14px; }
.newsletter { display: flex; gap: 8px; }
.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(208, 227, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.86rem;
}
.newsletter input::placeholder { color: rgba(208, 227, 255, 0.4); }
.newsletter input:focus { outline: none; border-color: var(--sky); }
.news-success { font-size: 0.84rem; color: #7EE8C7; margin-top: 10px; font-weight: 600; }

.lang-select { display: block; margin-top: 22px; }
.lang-select span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(208, 227, 255, 0.5);
  margin-bottom: 6px;
}
.lang-select select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(208, 227, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.86rem;
}
.lang-select select option { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid rgba(208, 227, 255, 0.14);
  padding: 22px 0 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.footer-credit {
  padding: 0 0 20px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(208, 227, 255, 0.45);
}
.footer-credit p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.credit-logo {
  height: 18px;
  width: auto;
  display: inline-block;
}
.footer-credit a {
  color: var(--sky);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(208, 227, 255, 0.35);
  transition: color 0.2s, border-color 0.2s;
}
.footer-credit a:hover { color: var(--white); border-color: var(--white); }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { justify-self: start; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .service-card.wide { grid-column: span 2; }
  .dentist-grid { grid-template-columns: 1fr; gap: 56px; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .booking-widget { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .hero { padding: 120px 0 70px; }

  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav.menu-open { background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(20px); box-shadow: 0 10px 30px rgba(8, 31, 92, 0.1); }
  .nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    padding: 12px 24px 24px;
    box-shadow: 0 24px 40px rgba(8, 31, 92, 0.12);
  }
  .nav.menu-open .nav-links a { padding: 13px 16px; font-size: 1rem; }

  .brand-name { font-size: 0.95rem; }
  .brand-name span { font-size: 0.58rem; letter-spacing: 0.06em; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .hero-card { max-width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.wide { grid-column: span 1; }
  .gallery-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .form-row { grid-template-columns: 1fr; }
  .booking-widget { padding: 26px 20px; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .proof-strip { padding: 26px 20px; }
  .proof-divider { display: none; }
  .proof { flex: 1 1 40%; }
  .school-badge { position: static; margin-top: 18px; max-width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .map-frame { min-height: 320px; }
  .map-frame iframe { min-height: 304px; }
}
