/* ==========================================================================
   DENTAL CLINIC TEMPLATE — MAIN STYLESHEET
   Matches clean modern medical aesthetic (#FFFFFF, #F4F6F8, #00B4EC, #95C93D)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f4f6f8;
  --surface-alt: #f5f7fa;
  --primary: #00b4ec;
  --primary-hover: #0099ca;
  --primary-soft: rgba(0, 180, 236, 0.1);
  --lime: #95c93d;
  --dark: #0d1b2a;
  --text: #111827;
  --muted: #5a6577;
  --muted-light: #c4c9d4;
  --border: #e5e7eb;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --shadow-sm: 0 4px 20px rgba(13, 27, 42, 0.04);
  --shadow-md: 0 12px 32px rgba(13, 27, 42, 0.08);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section[id] {
  scroll-margin-top: 96px;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Typography Helpers */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title--left {
  text-align: left;
  margin-bottom: 28px;
}

.section-footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.surface-box {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease-out),
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 180, 236, 0.22);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 180, 236, 0.3);
}

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

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

/* ==========================================================================
   1. TOP UTILITY BAR
   ========================================================================== */
.top-bar {
  background-color: var(--surface-alt);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  font-size: 0.8rem;
  color: var(--muted);
  padding-block: 10px;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar__contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}

.top-bar__item svg {
  color: var(--primary);
  flex-shrink: 0;
}

a.top-bar__item:hover {
  color: var(--primary);
}

.top-bar__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar__social-label {
  font-weight: 500;
  margin-right: 4px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.social-icon:hover {
  color: var(--primary);
  background-color: var(--primary-soft);
}

/* ==========================================================================
   2. NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.05);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-logo__text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary);
  font-weight: 600;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--surface);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  background-color: var(--primary-soft);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-drawer {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  padding: 20px 24px 28px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.mobile-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer__cta {
  width: 100%;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
  padding-block: 48px 72px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 22px;
}

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

.inline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.inline-badge--dark {
  background-color: var(--dark);
}

.inline-badge--lime {
  background-color: var(--lime);
}

.hero__desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}

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

/* Animated "Make Appointment" Hero Button */
.btn-make-appointment {
  position: relative;
  overflow: hidden;
  animation: pulseAppointment 2.4s ease-in-out infinite;
}

.btn-make-appointment::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  animation: shimmerSweep 3.2s ease-in-out infinite;
}

@keyframes pulseAppointment {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(0, 180, 236, 0.25), 0 0 0 0 rgba(0, 180, 236, 0.35);
  }
  50% {
    box-shadow: 0 12px 28px rgba(0, 180, 236, 0.35), 0 0 0 8px rgba(0, 180, 236, 0);
  }
}

@keyframes shimmerSweep {
  0%,
  45% {
    left: -120%;
  }
  100% {
    left: 160%;
  }
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.hero__bg-loops {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  z-index: 0;
  pointer-events: none;
}

.hero__blob-mask {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  aspect-ratio: 1 / 0.96;
  overflow: hidden;
  border-radius: 56% 44% 52% 48% / 44% 54% 46% 56%;
  box-shadow: var(--shadow-md);
  background-color: #eef6fa;
}

.hero__blob-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__smile-badge {
  position: absolute;
  top: 24px;
  right: 26px;
  z-index: 2;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background-color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(149, 201, 61, 0.35);
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(4deg);
  }
}

/* ==========================================================================
   4. SERVICES SECTION
   ========================================================================== */
.services-section {
  padding-block: 24px 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: transparent;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card__head {
  margin-bottom: 14px;
}

.service-card__title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.service-card__subtitle {
  font-size: 0.82rem;
  color: var(--muted);
}

.service-card__media {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #e2e8f0;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover .service-card__media img {
  transform: scale(1.06);
}

.service-card__body {
  background-color: #ffffff;
  padding: 18px 20px 22px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.service-card__body p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}

.service-card__book {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  align-self: flex-start;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-card__book:hover {
  gap: 10px;
  color: var(--primary-hover);
}

/* ==========================================================================
   5. ABOUT US & STATS SECTION
   ========================================================================== */
.about-section {
  padding-block: 64px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  margin-bottom: 72px;
}

.about__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about__bg-loops {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 320px;
  height: 300px;
  z-index: 0;
  pointer-events: none;
}

.about__blob-mask {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  border-radius: 48% 52% 44% 56% / 52% 42% 58% 48%;
  box-shadow: var(--shadow-md);
  background-color: #e8f4fa;
}

.about__blob-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-left: 2px solid var(--border);
  padding-left: 24px;
}

.mission-item {
  cursor: pointer;
  position: relative;
  transition: opacity 0.25s ease;
}

.mission-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 2px;
  height: 26px;
  background-color: var(--primary);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mission-item.is-active::before {
  opacity: 1;
}

.mission-item__tab {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--muted-light);
  margin-bottom: 8px;
  transition: color 0.25s ease;
}

.mission-item.is-active .mission-item__tab {
  color: var(--primary);
}

.mission-item__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.mission-item__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Circular Progress Rings */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  justify-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.stat-ring {
  position: relative;
  width: 126px;
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.stat-ring__track {
  fill: none;
  stroke: #eaedf1;
  stroke-width: 4;
}

.stat-ring__progress {
  fill: none;
  stroke: var(--primary);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s var(--ease-out);
}

.stat-ring__value {
  position: absolute;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.stat-item__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

/* ==========================================================================
   6. IMAGE GALLERY SECTION (Bento Grid)
   ========================================================================== */
.gallery-section {
  padding-block: 56px;
}

.bento-gallery {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  grid-template-rows: 205px 205px;
  gap: 16px;
}

.gallery-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background-color: var(--surface);
}

.gallery-tile--tall {
  grid-row: span 2;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.gallery-tile:hover img {
  transform: scale(1.06);
}

.gallery-tile--plus::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 300;
  color: #ffffff;
  background: rgba(13, 27, 42, 0.38);
  backdrop-filter: blur(2px);
  transition: background-color 0.25s ease;
}

.gallery-tile--plus:hover::after {
  background: rgba(0, 180, 236, 0.55);
}

/* ==========================================================================
   7. FAQ & WHATSAPP BOOKING SECTION
   ========================================================================== */
.booking-section {
  padding-block: 64px;
}

.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.faq-question svg {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s var(--ease-out);
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease-out);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer__inner {
  overflow: hidden;
}

.faq-answer__inner p {
  font-size: 0.9rem;
  color: var(--muted);
  padding-bottom: 18px;
  line-height: 1.65;
}

/* Booking Form Card — Entrance & Attention Animation */
.form-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.form-card.is-visible {
  animation: bookingAppear 1.2s var(--ease-out);
}

.form-card.is-highlighted {
  animation: bookingHighlight 1.4s var(--ease-out);
}

@keyframes bookingAppear {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
    border-color: transparent;
  }
  45% {
    opacity: 1;
    transform: translateY(0) scale(1.015);
    border-color: var(--primary);
    box-shadow: 0 0 0 6px rgba(0, 180, 236, 0.14), 0 18px 36px rgba(0, 180, 236, 0.14);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-color: transparent;
    box-shadow: none;
  }
}

@keyframes bookingHighlight {
  0% {
    transform: scale(1);
    border-color: transparent;
    box-shadow: none;
  }
  25% {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 0 0 8px rgba(0, 180, 236, 0.2), 0 18px 40px rgba(0, 180, 236, 0.18);
  }
  70% {
    transform: scale(1.005);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 180, 236, 0.1);
  }
  100% {
    transform: scale(1);
    border-color: transparent;
    box-shadow: none;
  }
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group label span {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  cursor: pointer;
}

.form-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.form-error {
  font-size: 0.84rem;
  color: #dc2626;
  font-weight: 500;
}

.btn-submit {
  align-self: flex-start;
  padding-inline: 28px;
}

/* ==========================================================================
   8. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding-block: 40px 56px;
}

.testimonials-box {
  padding: 56px 40px;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 24px;
  max-width: 820px;
  margin-inline: auto;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.slider-btn--prev {
  background-color: var(--primary);
  color: #ffffff;
}

.slider-btn--next {
  background-color: #ffffff;
  color: var(--dark);
  border: 1px solid var(--border);
}

.slider-btn:hover {
  transform: scale(1.06);
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 32px;
  transition: opacity 0.25s ease;
}

.testimonial-card__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.testimonial-card__content {
  position: relative;
}

.testimonial-card__quote-mark {
  position: absolute;
  top: -8px;
  right: 0;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(0, 180, 236, 0.16);
  pointer-events: none;
}

.testimonial-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.testimonial-card__role {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.testimonial-card__quote {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================================================================
   9. BLOG & ARTICLES SECTION
   ========================================================================== */
.blog-section {
  padding-block: 48px 72px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-card__media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9.5;
  margin-bottom: 16px;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.05);
}

.blog-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.blog-card__meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.blog-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}

/* ==========================================================================
   10. PARTNER LOGOS & FOOTER
   ========================================================================== */
.footer-wrapper {
  background-color: var(--surface);
  padding-top: 64px;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

.partner-card {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  min-width: 165px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  box-shadow: 0 2px 10px rgba(13, 27, 42, 0.03);
}

.partner-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand__tagline {
  font-size: 0.84rem;
  color: var(--muted);
  margin-block: 14px 18px;
  max-width: 280px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.footer-contact-list svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 27, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 85vh;
  max-width: 90vw;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2.2rem;
  color: #ffffff;
}

/* ==========================================================================
   SCROLL & TEXT ANIMATIONS
   ========================================================================== */
.reveal-text,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal-text {
  transform: translateY(24px);
}

.reveal-up {
  transform: translateY(28px);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-scale {
  transform: scale(0.94);
}

.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-text,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__smile-badge {
    animation: none;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .top-bar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links,
  .navbar__actions .icon-btn,
  .navbar__actions .btn-primary {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero__grid,
  .about__grid,
  .booking__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-tile--tall {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 10;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .top-bar {
    display: none;
  }

  .surface-box,
  .form-card,
  .testimonials-box {
    padding: 36px 20px;
  }

  .services-grid,
  .blog-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .bento-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-tile--tall {
    grid-column: span 1;
  }

  .testimonial-slider {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    flex-direction: column;
    text-align: center;
  }

  .slider-btn {
    margin-inline: auto;
  }
}
