@property --slider-pos {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}

:root {
  --bg: #03111f;
  --panel: rgba(8, 28, 52, 0.6);
  --panel-border: rgba(145, 210, 255, 0.24);
  --text: #f7fcff;
  --muted: rgba(236, 247, 255, 0.84);
  --soft: rgba(214, 232, 247, 0.72);
  --accent: #86d6ff;
  --accent-deep: #2e8fff;
  --highlight: #f8fcff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --surface: #fff5f5;
  --surface-soft: #fffafa;
  --surface-strong: #ffeded;
  --surface-elevated: #ffffff;
  --ink: #0f2f57;
  --ink-soft: #4e6b8d;
  --line: rgba(46, 143, 255, 0.14);
  --surface-shadow: 0 24px 70px rgba(13, 44, 83, 0.09);
}

* {
  box-sizing: border-box;
}

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

iframe,
video {
  max-width: 100%;
}

/* Enhanced Image Responsiveness & Polish */
.why-media img,
.tc-img,
.dc-photo,
.smiles-img-card img,
.service-hero-media img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.why-card:hover .why-media img,
.treatment-card:hover .tc-img,
.doctor-card:hover .dc-photo,
.smiles-img-card:hover img,
.gallery-card:hover img {
  transform: scale(1.04);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(255, 80, 80, 0.08)' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M 7 4 C 4 4, 4 7, 4 9 C 4 13, 6 16, 7 19 C 7.5 20.5, 9.5 20.5, 10 19 C 10.5 17, 11 15, 12 15 C 13 15, 13.5 17, 14 19 C 14.5 20.5, 16.5 20.5, 17 19 C 18 16, 20 13, 20 9 C 20 7, 20 4, 17 4 C 15 4, 13 6, 12 7.5 C 11 6, 9 4, 7 4 Z'/%3E%3C/svg%3E");
  color: var(--text);
  font-family: "Outfit", "Manrope", sans-serif;
}

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

.hero-shell {
  min-height: 100vh;
  background: var(--surface);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 1.6rem clamp(1.25rem, 2vw, 2.2rem) 2.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-video,
.hero-overlay,
.hero-glow {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05) brightness(0.88) hue-rotate(-2deg);
}

.hero-overlay {
  background: rgba(3, 17, 31, 0.22); /* Subtle matte tint to ensure text contrast */
}

.hero-glow {
  background:
    radial-gradient(circle at 18% 24%, rgba(134, 214, 255, 0.22), transparent 20%),
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(46, 143, 255, 0.18), transparent 24%);
  mix-blend-mode: screen;
}

.hero-content,
.scroll-indicator,
.experience {
  position: relative;
  z-index: 1;
}

.site-header {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.2rem;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(165, 220, 255, 0.16);
  border-radius: 1.75rem;
  background: linear-gradient(180deg, rgba(5, 20, 38, 0.42), rgba(5, 17, 33, 0.24));
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  max-width: 100%;
  justify-self: start;
}

.site-menu {
  position: relative;
  justify-self: end;
}

.site-menu summary {
  list-style: none;
}

.site-menu summary::-webkit-details-marker {
  display: none;
}

.menu-toggle {
  display: inline-grid;
  gap: 0.32rem;
  width: 3.35rem;
  height: 3.35rem;
  padding: 0.9rem;
  border: 1px solid rgba(222, 243, 255, 0.26);
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, rgba(116, 187, 255, 0.14), rgba(9, 32, 58, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(18, 63, 112, 0.18);
  place-content: center;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.menu-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 248, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, rgba(132, 198, 255, 0.18), rgba(9, 32, 58, 0.2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 20px 40px rgba(18, 63, 112, 0.22);
}

.menu-toggle span {
  display: block;
  width: 1.3rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 220ms ease, opacity 220ms ease;
}

.site-menu[open] .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-menu[open] .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-menu[open] .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.9rem);
  right: 0;
  display: grid;
  gap: 0.45rem;
  width: min(320px, 78vw);
  padding: 0.65rem;
  border: 1px solid rgba(165, 220, 255, 0.14);
  border-radius: 1.45rem;
  background: linear-gradient(180deg, rgba(5, 18, 34, 0.94), rgba(5, 16, 30, 0.88));
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-nav a::after {
  content: "+";
  color: var(--accent);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(134, 214, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateX(-2px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(165, 220, 255, 0.38);
  border-radius: 1rem;
  background: rgba(5, 18, 34, 0.55);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand-copy {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.brand-copy strong,
.brand-copy small {
  display: block;
  overflow-wrap: anywhere;
}

.brand-copy strong {
  font-size: 0.92rem;
  letter-spacing: 0.14em;
}

.brand-copy small {
  color: var(--soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: min(100%, 21rem);
  min-height: 3.35rem;
  padding: 0.95rem 1.85rem;
  border: 1px solid rgba(137, 194, 255, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(46, 104, 168, 0.92), rgba(35, 86, 145, 0.94));
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    0 18px 36px rgba(10, 35, 68, 0.28);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(52, 114, 182, 0.96), rgba(39, 93, 156, 0.98));
  border-color: rgba(154, 207, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 20px 40px rgba(10, 35, 68, 0.32);
}

.hero-content {
  width: min(760px, 100%);
  margin-top: clamp(4rem, 12vh, 9rem);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  text-align: center;
  animation: riseIn 900ms ease-out both;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
  text-wrap: balance;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.34);
}

h1 span {
  display: block;
}

.hero-tagline {
  margin: 1.35rem 0 0;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--muted);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.hero-tagline span {
  color: var(--highlight);
}

.hero-description {
  width: min(58ch, 100%);
  margin: 1.15rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.8;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #f8fcff;
  background: var(--accent-deep);
  box-shadow: 0 18px 38px rgba(46, 143, 255, 0.3);
}

.button-primary:hover {
  background: #1f7fe8;
  box-shadow: 0 20px 48px rgba(46, 143, 255, 0.38);
}

.button-secondary {
  color: #f8fcff;
  border: 1px solid transparent;
  background: var(--accent-deep);
  box-shadow: 0 18px 38px rgba(46, 143, 255, 0.3);
}

.button-secondary:hover {
  background: #1f7fe8;
  box-shadow: 0 20px 48px rgba(46, 143, 255, 0.38);
}

.wave-banner {
  position: relative;
  margin: 3.5rem auto 0;
  width: min(1200px, calc(100% - 2.5rem));
  overflow: hidden;
  border: 1px solid rgba(255, 140, 140, 0.24);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(204, 31, 63, 0.92), rgba(145, 15, 38, 0.96));
  box-shadow: 0 22px 48px rgba(36, 3, 10, 0.24);
  backdrop-filter: blur(16px);
}

.wave-banner::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.2), transparent 22%),
    radial-gradient(circle at 82% 68%, rgba(255, 255, 255, 0.12), transparent 20%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(255, 255, 255, 0.06));
  filter: blur(10px);
  animation: waveFloat 12s ease-in-out infinite;
  pointer-events: none;
}

.wave-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 28%, rgba(2, 12, 22, 0.12));
  pointer-events: none;
}

.wave-banner-inner,
.wave-svg {
  position: relative;
  z-index: 1;
}

.wave-svg {
  display: block;
  width: 100%;
  height: 58px;
  color: rgba(255, 255, 255, 0.14);
}

.wave-svg path {
  fill: currentColor;
}

.wave-svg-top {
  margin-bottom: -0.5rem;
}

.wave-svg-bottom {
  margin-top: -0.5rem;
}

.wave-banner-inner {
  padding: 1.05rem 0;
  background: rgba(5, 26, 45, 0.14);
  backdrop-filter: blur(10px);
}

.wave-marquee {
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.wave-track {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  min-width: max-content;
  will-change: transform;
  animation: waveMarquee 22s linear infinite;
}

.wave-banner:hover .wave-track {
  animation-play-state: paused;
}

.wave-group {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-inline: 0.7rem;
}

.wave-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f8fdff;
  font-family: "Sora", sans-serif;
  font-size: clamp(0.92rem, 1.6vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.scroll-indicator {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.4rem);
  bottom: 2rem;
  width: 1.8rem;
  height: 3.2rem;
  border: 1px solid rgba(165, 220, 255, 0.28);
  border-radius: 999px;
  background: rgba(121, 185, 255, 0.08);
  backdrop-filter: blur(12px);
}

.scroll-indicator span {
  position: absolute;
  left: 50%;
  top: 0.6rem;
  width: 0.34rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--text);
  transform: translateX(-50%);
  animation: scrollHint 2s ease-in-out infinite;
}

.experience {
  display: grid;
  gap: 2rem;
  padding: 4.5rem clamp(1.25rem, 4vw, 3.5rem) 5rem;
  background: var(--surface-strong);
  color: var(--ink);
}

.content-section {
  display: grid;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem) 5rem;
  background: var(--surface);
  color: var(--ink);
}

.section-label {
  margin: 0 0 0.85rem;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-copy h2 {
  margin: 0;
  max-width: 42ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.section-intro {
  max-width: 62ch;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.experience-grid article {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--surface-elevated);
  box-shadow: var(--surface-shadow);
}

.feature-panel,
.service-grid article,
.contact-grid article,
.booking-card {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--surface-elevated);
  box-shadow: var(--surface-shadow);
  padding: 2.5rem;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

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

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(46, 143, 255, 0.2);
  background: var(--surface-elevated);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 4px rgba(46, 143, 255, 0.1);
}

.form-submit {
  width: 100%;
  border: none;
  cursor: pointer;
}

.form-actions {
  display: grid;
  gap: 1.1rem;
  margin-top: 0.85rem;
}


.treatment-page-link {
  align-self: flex-start;
  min-width: 0;
  margin-top: 0.5rem;
  padding-inline: 1.2rem;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  padding: 1.8rem;
}

.feature-kicker {
  margin: 0 0 0.8rem;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feature-panel h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.12;
  color: var(--ink);
}

.feature-panel p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* â”€â”€ Doctor profile card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.doctor-card-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.doctor-card {
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: 2.4rem;
  background: var(--surface-elevated);
  box-shadow: 0 32px 80px rgba(13, 44, 83, 0.12);
  overflow: hidden;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 80px rgba(13, 44, 83, 0.15);
}

/* Photo area */
.dc-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem 1.6rem 0 0;
  background: linear-gradient(160deg, #daeeff 0%, #eef6ff 100%);
}

.dc-photo {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 20%;
}

/* Certified Specialist badge */
.dc-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2e8fff, #86d6ff);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(46, 143, 255, 0.35);
}

.dc-badge svg {
  width: 0.9rem;
  height: 0.9rem;
  color: #fff;
  fill: #fff;
  flex-shrink: 0;
}

/* Info panel */
.dc-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem 1.6rem 1.8rem;
}

.dc-name {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.dc-qual {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0.01em;
}

.dc-desc {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* Pill badges */
.dc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.dc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(46, 143, 255, 0.18);
  border-radius: 999px;
  background: rgba(46, 143, 255, 0.06);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.dc-pill svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--accent-deep);
  flex-shrink: 0;
}
/* â”€â”€ Treatment list cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.treatment-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.treatment-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--surface-elevated);
  box-shadow: var(--surface-shadow);
  overflow: hidden;
  transition: box-shadow 300ms ease, transform 300ms ease;
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px rgba(13, 44, 83, 0.12);
}

/* Reversed cards: text left, image right */
.tc-reverse {
  direction: rtl;
}

.tc-reverse .tc-body {
  direction: ltr;
}

/* Image side */
.tc-img-wrap {
  overflow: hidden;
  max-height: 420px;
}

.tc-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.treatment-card:not(:has(.tc-ba-range)):hover .tc-img {
  transform: scale(1.06);
}

/* Slider for Before & After */
.tc-img-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: var(--surface-soft);
}

.tc-img-slider .tc-ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tc-img-slider .tc-ba-before {
  width: 100%;
  clip-path: polygon(0 0, var(--slider-pos) 0, var(--slider-pos) 100%, 0 100%);
  animation: beforeAfterReveal 7s ease-in-out infinite;
  z-index: 2;
}

.tc-img-slider .tc-ba-badges {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}

.tc-img-slider .tc-ba-badge {
  padding: 0.45rem 1rem;
  background: rgba(5, 18, 34, 0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tc-img-slider .tc-ba-slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos);
  width: 2px;
  background: #fff;
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
  animation: beforeAfterDivider 7s ease-in-out infinite;
}

.tc-img-slider:hover .tc-ba-before,
.tc-img-slider:focus-within .tc-ba-before,
.tc-img-slider:hover .tc-ba-slider-line,
.tc-img-slider:focus-within .tc-ba-slider-line {
  animation: none;
}

.tc-img-slider .tc-ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  color: var(--accent-deep);
}

.tc-img-slider .tc-ba-slider-handle svg {
  width: 24px;
  height: 24px;
}

.tc-img-slider .tc-ba-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

/* Text side */
.tc-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 2.8rem;
  direction: ltr;
}

.tc-number {
  font-family: "Sora", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.35;
  letter-spacing: -0.04em;
  display: block;
}

.tc-body h3 {
  margin: -0.5rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.tc-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.82;
}

.tc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.4rem;
}

.tc-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(46, 143, 255, 0.2);
  border-radius: 999px;
  background: rgba(46, 143, 255, 0.07);
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 860px) {
  .treatment-card,
  .tc-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .tc-img-wrap {
    max-height: 260px;
  }

  .tc-body {
    padding: 2rem 1.6rem;
  }

  .tc-number {
    font-size: 2.2rem;
  }
}
/* â”€â”€ End Treatment cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */


.service-card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 1.6rem 1.6rem 0 0;
  flex-shrink: 0;
}

.service-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms ease;
}

.service-card-with-img:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-with-img h3,
.service-card-with-img p {
  padding-inline: 1.5rem;
}

.service-card-with-img h3 {
  padding-top: 1.2rem;
}

.service-card-with-img p {
  padding-bottom: 1.5rem;
}

.service-grid h3,
.contact-grid h3 {
  font-family: "Sora", sans-serif;
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.service-grid p,
.contact-grid p,
.booking-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 3rem;
}

.contact-grid article a {
  word-break: break-word;
}

/* â”€â”€â”€ TESTIMONIALS â”€â”€â”€ */
#testimonials {
  position: relative;
  overflow: hidden;
  padding: 4rem 1.6rem; 
}

.testimonials-header {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials-track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  animation: scroll-reviews 35s linear infinite;
  width: max-content;
}

.testimonials-track-reverse {
  display: flex;
  gap: 24px;
  animation: scroll-reviews-reverse 35s linear infinite;
  width: max-content;
}

.testimonials-track:hover,
.testimonials-track-reverse:hover {
  animation-play-state: paused;
}

@keyframes scroll-reviews {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scroll-reviews-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes beforeAfterReveal {
  0%,
  100% {
    clip-path: polygon(0 0, 12% 0, 12% 100%, 0 100%);
  }

  50% {
    clip-path: polygon(0 0, 88% 0, 88% 100%, 0 100%);
  }
}

@keyframes beforeAfterDivider {
  0%,
  100% {
    left: 12%;
  }

  50% {
    left: 88%;
  }
}

.review-card {
  width: 320px;
  flex-shrink: 0;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--surface-shadow);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.review-card:hover {
  border-color: rgba(46, 143, 255, 0.4);
  transform: translateY(-4px);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #ff9d00;
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.review-avatar {
  width: 40px; 
  height: 40px;
  border-radius: 50%;
  background: rgba(46, 143, 255, 0.1);
  border: 1px solid rgba(46, 143, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.review-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.review-tag {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 1px;
}

.contact-grid article {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
}

.contact-card-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  background: rgba(46, 143, 255, 0.1);
  color: #2e8fff;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* Clinic hours list */
.hours-list {
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hours-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li span:first-child {
  font-weight: 700;
  color: var(--ink);
  min-width: max-content;
}

.hours-list li span:last-child {
  text-align: right;
  flex: 1 1 auto;
}

.hours-note {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  opacity: 0.8;
}

.booking-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.8rem;
}

/* Google Maps embed */
.map-wrap {
  width: 100%;
  margin-top: 3rem;
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--surface-shadow);
  transform: translateZ(0);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 450px;
  border-radius: 1.6rem;
  filter: saturate(0.9) contrast(1.02);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.map-wrap:hover iframe {
  filter: saturate(1) contrast(1);
  transform: scale(1.01);
}

.experience-grid h3 {
  margin: 0 0 0.8rem;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
}

.experience-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* â”€â”€ Beautiful Smiles Gallery (Premium Arc Design) â”€â”€ */
.smiles-gallery-section {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(46,143,255,0.04) 50%, var(--surface) 100%);
  overflow: hidden;
  position: relative;
}

.smiles-gallery-section::before,
.smiles-gallery-section::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 100px;
  background: var(--surface);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.smiles-gallery-section::before {
  top: -50px;
}

.smiles-gallery-section::after {
  bottom: -50px;
}

.smiles-gallery-header {
  text-align: center;
  padding: 0 1.6rem 2.5rem;
  position: relative;
  z-index: 2;
}

.smiles-gallery-header h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0.4rem 0 0.8rem;
}

.smiles-gallery-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 48ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Viewport â€” full bleed, clips the track */
.smiles-gallery-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  /* Edge fade masks */
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  padding: 2rem 0 2.5rem;
}

/* Scrollable track */
.smiles-gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 4vw 1rem;
  cursor: grab;
  user-select: none;
  /* Perspective for arc effect */
  perspective: 1200px;
}

.smiles-gallery-track::-webkit-scrollbar {
  display: none;
}

.smiles-gallery-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

/* Individual image cards */
.smiles-img-card {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13, 44, 83, 0.14);
  border: 1px solid var(--line);
  background: var(--surface-elevated);
  /* Visual upgrade: Base state (no blur) */
  transform: scale(0.85) rotateY(15deg);
  opacity: 0.5;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Center card (focus) */
.smiles-img-card.active {
  transform: scale(1.08) rotateY(0deg);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

/* Left side cards */
.smiles-img-card.left {
  transform: scale(0.88) rotateY(20deg);
  opacity: 0.6;
}

/* Right side cards */
.smiles-img-card.right {
  transform: scale(0.88) rotateY(-20deg);
  opacity: 0.6;
}

/* Motion polish */
.smiles-img-card:hover {
  transform: scale(1.12) rotateY(0deg) !important;
  box-shadow: 0 40px 100px rgba(13, 44, 83, 0.3);
  opacity: 1 !important;
  z-index: 10;
}

.smiles-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  pointer-events: none;
}

/* Google Reviews Section & Marquee */
.google-reviews-section {
  margin-top: 2rem;
  overflow: hidden;
}

.google-reviews-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
  animation: riseIn 1s ease-out both;
}

.reviews-badge-img {
  max-width: 440px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.google-reviews-marquee-shell {
  overflow: hidden;
  width: 100%;
  padding: 1rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.reviews-marquee-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  animation: reviewMarquee 50s linear infinite;
}

.reviews-marquee-track:hover {
  animation-play-state: paused;
}

.reviews-marquee-group {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding-inline: 1.25rem;
}

.google-review-card {
  background: #fff;
  padding: 1rem 1.4rem;
  border-radius: 14px;
  border: 1px solid rgba(46, 143, 255, 0.1);
  display: flex;
  flex-direction: column;
  width: 280px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.google-review-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 70px rgba(13, 44, 83, 0.14);
  border-color: rgba(46, 143, 255, 0.25);
}

.gr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.gr-quote-icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--accent-deep);
  opacity: 0.2;
}

.gr-stars {
  color: #ffb400;
  font-size: 1rem;
  letter-spacing: 1px;
}

.gr-text {
  color: #4e6b8d;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  font-style: italic;
  font-weight: 500;
}

.gr-footer strong {
  display: block;
  color: #0f2f57;
  font-size: 0.85rem;
  font-weight: 700;
}

.gr-footer small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
  margin-top: 1px;
}

/* --- KEYFRAMES --- */

@keyframes reviewMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes waveMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes riseIn {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes waveFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(2%, 3%); }
}

@keyframes scrollHint {
  0% { 
    transform: translateX(-50%) translateY(0); 
    opacity: 0; 
  }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { 
    transform: translateX(-50%) translateY(1.2rem); 
    opacity: 0; 
  }
}

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

/* Badge inside each card */
.smiles-img-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 27, 45, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
  pointer-events: none;
}

.scroll-hint-text {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  opacity: 0.55;
  margin: 0.25rem 0 2rem;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 2;
}

.smiles-gallery-footer {
  text-align: center;
  position: relative;
  z-index: 2;
}

.smiles-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .smiles-cta {
    width: auto !important;
    min-width: 150px !important;
    padding: 0.65rem 1.1rem !important;
    font-size: 0.78rem !important;
    margin: 0 auto;
  }
}

/* â”€â”€ Why VVYAS grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2rem 1.6rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background: var(--surface-elevated);
  box-shadow: var(--surface-shadow);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  border-radius: 1.8rem 1.8rem 0 0;
  opacity: 0;
  transition: opacity 280ms ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 64px rgba(13, 44, 83, 0.13);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card-media {
  padding: 0;
  gap: 0;
}

.why-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(46, 143, 255, 0.12), rgba(134, 214, 255, 0.18));
}

.why-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 45, 0) 40%, rgba(11, 27, 45, 0.18) 100%);
  pointer-events: none;
}

.why-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.why-card-media:hover .why-media img {
  transform: scale(1.05);
}

.why-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem 1.6rem 1.8rem;
  flex: 1;
}

.why-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--ink);
}

.why-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.78;
  flex: 1;
}

.why-list {
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.why-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
}

@media (max-width: 960px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
/* â”€â”€ End Why VVYAS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes waveMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes waveFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(1.5%, -2.5%, 0) scale(1.03);
  }
}

@keyframes scrollHint {
  0%,
  100% {
    opacity: 0.45;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 0.9rem);
  }
}

@media (max-width: 960px) {
  .hero {
    padding-bottom: 5.5rem;
  }

  .hero-content {
    width: 100%;
    margin-top: 4rem;
  }

  .experience-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid article {
    padding: 1.5rem;
  }

  .map-wrap iframe {
    min-height: 300px;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.9rem;
    row-gap: 1.2rem;
  }

  .brand {
    grid-column: 1 / -1;
  }

  .site-menu {
    position: static;
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .header-cta {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    text-align: center;
    width: auto;
    min-width: 0;
    padding: 0.95rem 1rem;
    font-size: 0.85rem;
    white-space: normal;
    line-height: 1.2;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    width: 100%;
    margin-top: 0;
    border-radius: 1.35rem;
  }

  .site-nav a {
    white-space: normal;
  }

  .brand-copy strong {
    letter-spacing: 0.12em;
  }

  .hero-content {
    margin-top: 2.2rem;
  }

  .wave-banner {
    border-radius: 1.35rem;
  }

  .wave-svg {
    height: 42px;
  }

  .wave-banner-inner {
    padding: 0.9rem 0;
  }

  .wave-group {
    gap: 0.75rem;
    padding-inline: 0.5rem;
  }

  .wave-item {
    min-height: 2.65rem;
    padding: 0.7rem 1rem;
    letter-spacing: 0.09em;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-description {
    line-height: 1.7;
  }

  .experience {
    padding-top: 3rem;
  }

  .content-section {
    padding-bottom: 3.5rem;
  }
}

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

/* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.site-footer {
  background: linear-gradient(180deg, #03111f 0%, #010c18 100%);
  color: var(--muted);
  border-top: 1px solid rgba(145, 210, 255, 0.12);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1.3fr 1.5fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 5rem clamp(1.25rem, 4vw, 3rem) 4rem;
}

@media (max-width: 1200px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-brand .brand {
  color: var(--text);
}

.footer-brand .brand-mark {
  background: rgba(134, 214, 255, 0.14);
  border-color: rgba(165, 220, 255, 0.3);
  color: var(--text);
}

/* Override light-section brand-copy colors in dark footer */
.footer-brand .brand-copy strong {
  color: var(--text);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
}

.footer-brand .brand-copy small {
  color: var(--soft);
}

.footer-tagline {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--soft);
  max-width: 36ch;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent-deep);
  color: #f8fcff;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.footer-cta:hover {
  background: #1f7fe8;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(46, 143, 255, 0.28);
}

/* Quick links column */
.footer-nav h4,
.footer-contact h4,
.footer-map h4 {
  margin: 0 0 1rem;
  padding: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);          /* #86d6ff â€” bright on dark */
  line-height: 1;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav ul li a {
  font-size: 0.9rem;
  color: var(--soft);
  font-weight: 500;
  transition: color 200ms ease, padding-left 200ms ease;
}

.footer-nav ul li a:hover {
  color: var(--accent);
  padding-left: 0.4rem;
}

/* Contact column */
.footer-contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--soft);
  line-height: 1.6;
}

.footer-contact li svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.18rem;
}

.footer-contact li a {
  color: var(--soft);
  transition: color 200ms ease;
}

.footer-contact li a,
.footer-contact li span {
  overflow-wrap: anywhere;
}

.footer-contact li a:hover {
  color: var(--accent);
}

.footer-map {
  min-width: 0;
}

.footer-map-frame {
  overflow: hidden;
  border: 1px solid rgba(145, 210, 255, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.footer-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 230px;
  border: 0;
  filter: saturate(0.95) contrast(1.03);
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.9rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-map-link:hover {
  color: var(--text);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 1.4rem clamp(1.25rem, 4vw, 3.5rem) 2.5rem;
  border-top: 1px solid rgba(145, 210, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(214, 232, 247, 0.45);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-credit {
  font-style: italic;
}

/* Footer social icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.34,1.56,0.64,1), box-shadow 220ms ease;
}

.footer-social-icon:hover {
  transform: translateY(-3px) scale(1.12);
}

.footer-social-ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 3px 10px rgba(188,24,136,0.4);
}

.footer-social-wa {
  background: #25D366;
  box-shadow: 0 3px 10px rgba(37,211,102,0.4);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 1.4rem clamp(1.25rem, 4vw, 3.5rem) 2.5rem;
  border-top: 1px solid rgba(145, 210, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(214, 232, 247, 0.45);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-credit {
  font-style: italic;
}

/* Footer social icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 1.4rem clamp(1.25rem, 4vw, 3.5rem) 2.5rem;
    border-top: 1px solid rgba(145, 210, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(214, 232, 247, 0.45);
    text-align: center;
  }
}
/* ── End Footer ──────────────────────────────────────── */

/* ── Gallery Section ───────────────────────────── */
.gallery-section {
  padding-bottom: 8rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 1.5rem;
  width: 100%;
}

.gallery-item {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  box-shadow: var(--surface-shadow);
  transition: transform 400ms cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 400ms ease;
  cursor: pointer;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(13, 44, 83, 0.18);
  z-index: 2;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(0deg, rgba(3, 17, 31, 0.72) 0%, rgba(3, 17, 31, 0.12) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  margin: 0;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  transform: translateY(10px);
  transition: transform 400ms ease;
}

.gallery-item:hover .gallery-overlay h4 {
  transform: translateY(0);
}

.gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 3; }
.gallery-item:nth-child(2) { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(3) { grid-column: span 3; grid-row: span 3; }
.gallery-item:nth-child(4) { grid-column: span 5; grid-row: span 1; }

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
  .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; }
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .gallery-section { padding-bottom: 4rem; }
}

/* Premium Marquee Styling */
.premium-marquee {
  background: var(--surface-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.8rem 0;
  overflow: hidden;
  position: relative;
  margin: 3rem 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 18s linear infinite;
  gap: 5rem;
  width: max-content;
}

.marquee-item {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.marquee-item::after {
  content: "✦";
  color: var(--accent-deep);
  font-size: 1.2rem;
  opacity: 0.6;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.premium-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.appointment-section { 
  margin-top: 6rem !important; 
  padding-top: 80px !important;
}
.appointment-section .section-label {
  margin-bottom: 1.5rem !important;
  letter-spacing: 0.2em !important;
}
.footer-cta {
  margin-top: 1.5rem !important;
  display: inline-block !important;
}
.site-nav a[href="#appointment"] {
  letter-spacing: 0.1em !important;
}

