:root {
  --ink: #07191b;
  --muted: #5d7376;
  --soft: #eefafa;
  --surface: #ffffff;
  --line: rgba(8, 72, 76, 0.12);
  --teal-950: #04383c;
  --teal-900: #075d63;
  --teal-700: #008f9c;
  --teal-500: #05c2cf;
  --teal-300: #5ee7e9;
  --mint: #dcfffb;
  --shadow: 0 24px 70px rgba(3, 74, 80, 0.16);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(100% - 40px, 1360px);
  --section: clamp(72px, 10vw, 150px);
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-fast: 180ms;
  --motion-medium: 320ms;
  --motion-slow: 760ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Motion system */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  background: #f8fdfc;
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.5;
  transition: opacity 220ms ease;
}

body.page-leaving {
  opacity: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 20%), rgba(94, 231, 233, 0.16), transparent 26%),
    linear-gradient(180deg, #fbfffe 0%, #f4fbfa 100%);
  content: "";
  pointer-events: none;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow var(--motion-medium) ease, background var(--motion-medium) ease, transform var(--motion-medium) var(--ease-premium);
}

/* Header motion */
.site-header.is-scrolled .primary-nav {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  border-color: rgba(7, 93, 99, 0.14);
  backdrop-filter: blur(22px) saturate(1.12);
  box-shadow: 0 14px 42px rgba(0, 62, 68, 0.13);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-menu,
.hero-actions,
.doctor-stats {
  display: flex;
  align-items: center;
}

.primary-nav {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-bottom: 1px solid rgba(8, 72, 76, 0.09);
  backdrop-filter: blur(18px) saturate(1.1);
  transition: background var(--motion-medium) ease, color var(--motion-medium) ease, box-shadow var(--motion-medium) ease, border-color var(--motion-medium) ease;
}

.nav-inner {
  min-height: 66px;
  position: relative;
  gap: 18px;
  transition: min-height var(--motion-medium) var(--ease-premium);
}

.site-header.is-scrolled .nav-inner {
  min-height: 58px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
}

.brand-symbol {
  display: block;
  width: auto;
  height: 36px;
  max-width: 44px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 35, 39, 0.1));
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-text strong {
  color: var(--teal-700);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.brand-text small {
  color: #34565a;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-menu {
  gap: clamp(6px, 0.9vw, 14px);
  padding: 6px;
  border: 1px solid rgba(7, 93, 99, 0.09);
  border-radius: 999px;
  background: rgba(247, 255, 254, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
}

.site-menu a:not(.nav-cta) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 clamp(10px, 1vw, 15px);
  border-radius: 999px;
  color: #173f43;
  opacity: 1;
  white-space: nowrap;
  transition: color var(--motion-fast) ease, opacity var(--motion-fast) ease, background var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.site-menu a:not(.nav-cta)::after {
  position: absolute;
  right: 14px;
  bottom: 6px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-700));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-medium) var(--ease-premium);
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu a.is-active {
  opacity: 1;
  color: var(--teal-700);
  background: rgba(220, 255, 251, 0.82);
  box-shadow: 0 8px 22px rgba(5, 194, 207, 0.1);
}

.site-menu a:hover::after,
.site-menu a:focus-visible::after,
.site-menu a.is-active::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  overflow: hidden;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateZ(0);
  will-change: transform;
}

.nav-cta::before,
.button::before {
  position: absolute;
  inset: -35% auto -35% -55%;
  width: 44%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  content: "";
  opacity: 0;
  transform: skewX(-18deg);
  transition: transform 620ms var(--ease-premium), opacity 220ms ease;
  pointer-events: none;
}

.nav-cta:hover::before,
.nav-cta:focus-visible::before,
.button:hover::before,
.button:focus-visible::before {
  opacity: 1;
  transform: translateX(330%) skewX(-18deg);
}

.nav-cta {
  background: var(--teal-500);
  color: white;
  border: 1px solid rgba(0, 143, 156, 0.14);
  box-shadow: 0 12px 28px rgba(4, 180, 190, 0.22);
  min-height: 40px;
  padding-inline: clamp(14px, 1.3vw, 20px);
  white-space: nowrap;
  transition: transform var(--motion-medium) var(--ease-premium), box-shadow var(--motion-medium) ease, background var(--motion-medium) ease;
}

.site-header.is-scrolled .nav-cta {
  background: var(--teal-500);
  color: white;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(760px, 86vh, 880px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 56%, rgba(105, 244, 240, 0.5), transparent 22%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #0a7278 0%, #057078 46%, #064f55 100%);
  color: white;
}

/* Premium hero motion */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.65;
  pointer-events: none;
  animation: premiumBlobFloat 11s ease-in-out infinite;
  will-change: transform;
}

.hero-glow-one {
  width: 580px;
  height: 580px;
  left: -170px;
  top: -160px;
  background: rgba(50, 231, 220, 0.54);
}

.hero-glow-two {
  width: 420px;
  height: 420px;
  right: -80px;
  bottom: 120px;
  background: rgba(0, 166, 175, 0.42);
  animation-delay: -4.5s;
}

.hero-inner {
  position: relative;
  display: grid;
  justify-items: center;
  padding-top: clamp(76px, 9vw, 120px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal-700);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 1080px;
  font-size: clamp(2.85rem, 6.4vw, 5.45rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
  will-change: transform, opacity;
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 4.25rem);
  line-height: 1.02;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.16;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(237, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-motto {
  margin: 16px 0 0;
  color: rgba(220, 255, 251, 0.92);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(0.98rem, 1.6vw, 1.18rem);
  font-weight: 700;
}

.hero-actions {
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  border: 0;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-premium), box-shadow var(--motion-fast) ease, background var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.nav-cta:active,
.button:active,
.contact-action:active,
.doctor-detail-button:active {
  transform: translateY(0) scale(0.98);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  box-shadow: 0 18px 42px rgba(4, 213, 219, 0.34);
}

.button-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  box-shadow: 0 18px 34px rgba(4, 180, 190, 0.34);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 38px rgba(4, 213, 219, 0.34);
}

.button-ghost {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 28px rgba(0, 34, 38, 0.12);
}

.implant-stage {
  position: relative;
  width: min(100%, 900px);
  height: clamp(390px, 44vw, 590px);
  margin-top: 28px;
}

.treatment-cloud {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  gap: 12px;
  width: min(25vw, 250px);
  transform: translateY(-50%);
}

.treatment-cloud-left {
  left: 0;
  justify-items: end;
}

.treatment-cloud-right {
  right: 0;
  justify-items: start;
}

.treatment-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  max-width: 100%;
  padding: 0 17px;
  border: 1px solid rgba(174, 255, 255, 0.38);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  color: rgba(245, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(0, 42, 47, 0.14);
  backdrop-filter: blur(16px);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transform: translateZ(0);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
  will-change: transform;
}

.treatment-pill:nth-child(2),
.treatment-pill:nth-child(5) {
  transform: translate3d(var(--pill-offset, 0), 0, 0);
}

.treatment-cloud-left .treatment-pill:nth-child(2),
.treatment-cloud-left .treatment-pill:nth-child(5) {
  --pill-offset: -18px;
}

.treatment-cloud-right .treatment-pill:nth-child(2),
.treatment-cloud-right .treatment-pill:nth-child(5) {
  --pill-offset: 18px;
}

.treatment-pill:hover,
.treatment-pill:focus-visible {
  border-color: rgba(166, 255, 255, 0.78);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(3, 199, 209, 0.16));
  box-shadow: 0 16px 36px rgba(33, 232, 235, 0.18);
  transform: translate3d(var(--pill-offset, 0), -1px, 0);
}

.implant-card {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  animation: implantFloat 7s ease-in-out infinite;
  will-change: transform;
}

.implant-stage {
  will-change: transform;
}

.implant-image {
  width: min(62vw, 560px);
  height: min(62vw, 560px);
  background-image:
    radial-gradient(circle at 50% 49%, rgba(45, 217, 222, 0.18), transparent 54%),
    url("assets/hero-implant.png");
  background-size: 112%, cover;
  background-position: center;
  border-radius: 50%;
  filter: drop-shadow(0 38px 74px rgba(0, 24, 28, 0.32));
  mask-image:
    linear-gradient(90deg, transparent 0 3%, #000 13% 87%, transparent 97%),
    radial-gradient(circle at 50% 50%, #000 0 62%, rgba(0, 0, 0, 0.55) 72%, transparent 82%);
  mask-composite: intersect;
  background-blend-mode: screen, normal;
  transform: rotate(-1deg);
  will-change: transform;
}

.section {
  padding-block: var(--section);
}

.trust-bar {
  position: relative;
  z-index: 4;
  margin-top: -38px;
  padding-bottom: 34px;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(7, 93, 99, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 64px rgba(5, 74, 80, 0.12);
  backdrop-filter: blur(18px) saturate(1.08);
}

.trust-bar-inner span {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 18px;
  color: var(--teal-950);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.trust-bar-inner span + span {
  border-left: 1px solid rgba(7, 93, 99, 0.1);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(104px, 13vw, 170px) 0 clamp(64px, 8vw, 108px);
  background:
    radial-gradient(circle at 18% 8%, rgba(94, 231, 233, 0.22), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(5, 194, 207, 0.13), transparent 28%),
    linear-gradient(180deg, #f8fffe 0%, #ffffff 100%);
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(5, 194, 207, 0.28), transparent);
  content: "";
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  max-width: 980px;
}

.page-hero h1 {
  color: var(--ink);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
}

.page-section {
  padding-block: var(--section);
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.page-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(7, 93, 99, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 14% 0%, rgba(94, 231, 233, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(5, 94, 102, 0.07);
  transition: transform var(--motion-medium) var(--ease-premium), border-color var(--motion-medium) ease, box-shadow var(--motion-medium) ease;
}

.page-card:hover,
.page-card:focus-within {
  border-color: rgba(5, 194, 207, 0.22);
  box-shadow: 0 24px 64px rgba(5, 194, 207, 0.12);
  transform: translateY(-2px);
}

.page-card h2,
.page-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.page-card p,
.page-card li {
  color: var(--muted);
}

.page-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.page-cta-band {
  padding: clamp(44px, 7vw, 76px) 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(94, 231, 233, 0.24), transparent 28%),
    linear-gradient(135deg, #f7ffff 0%, #e7fbfa 100%);
}

.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-cta-inner h2 {
  max-width: 780px;
  font-size: clamp(1.9rem, 3.4vw, 3.35rem);
}

.process {
  background: white;
}

.journey {
  position: relative;
  background:
    radial-gradient(circle at 85% 4%, rgba(94, 231, 233, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fdfc 0%, #ffffff 100%);
}

.journey::before,
.gallery-section::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(5, 194, 207, 0.32), transparent);
  content: "";
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.journey-grid article {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(7, 93, 99, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 0%, rgba(94, 231, 233, 0.14), transparent 38%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(5, 94, 102, 0.07);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.journey-grid article:hover,
.journey-grid article:focus-within {
  border-color: rgba(5, 194, 207, 0.22);
  box-shadow: 0 22px 58px rgba(5, 94, 102, 0.11);
  transform: translateY(-2px);
}

.journey-grid span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 15px;
  background: rgba(220, 255, 251, 0.86);
  color: var(--teal-700);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 800;
}

.journey-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr;
  gap: clamp(24px, 4vw, 70px);
  align-items: end;
}

.section-heading {
  align-self: start;
}

.step-tabs {
  display: grid;
  gap: 18px;
  align-self: center;
}

.step-tab {
  width: 100%;
  border: 0;
  background: transparent;
  color: #a6b4b6;
  padding: 0;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.step-tab.is-active {
  color: var(--teal-700);
}

.step-tab.is-active::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 10px;
  background: var(--teal-500);
}

.step-card,
.feature-card,
blockquote,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 42px rgba(5, 74, 80, 0.06);
}

.step-card {
  padding: clamp(24px, 3vw, 42px);
}

.step-card p,
.feature-card p,
.split-heading p,
blockquote p,
.faq-list p,
.consult-card p {
  color: var(--muted);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--teal-300), var(--teal-700));
  color: white;
  box-shadow: 0 18px 35px rgba(4, 183, 190, 0.22);
}

.icon-badge svg {
  width: 24px;
  fill: currentColor;
}

.icon-badge.small {
  width: 46px;
  height: 46px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease;
}

.process-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  will-change: transform;
}

.process-photo div {
  min-height: 360px;
  background-repeat: no-repeat;
  will-change: transform;
}

.process-photo div {
  background-image: url("assets/process-smile.png");
  background-position: 62% 45%;
  background-size: cover;
}

.features,
.faq {
  background: linear-gradient(180deg, #effcfa 0%, #f8fdfc 100%);
}

.split-heading,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}

.split-heading {
  margin-bottom: clamp(34px, 5vw, 66px);
}

.split-heading > p {
  max-width: 560px;
  font-size: 1.05rem;
}

.feature-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  position: relative;
  min-height: 310px;
  padding: 0;
  outline: none;
  transition: border-color var(--motion-medium) ease, box-shadow var(--motion-medium) ease, transform var(--motion-medium) var(--ease-premium);
}

.feature-card h3 {
  position: relative;
  margin-bottom: 0;
}

.feature-card p {
  position: relative;
  margin-top: 16px;
  margin-bottom: 0;
}

.feature-card-inner {
  position: relative;
  min-height: 310px;
  height: 100%;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.feature-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--radius-lg);
}

.feature-card-front {
  justify-content: space-between;
  padding: 0;
  background:
    radial-gradient(circle at 26% 16%, rgba(13, 209, 216, 0.14), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
  transition: filter 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter, opacity, transform;
}

.feature-card-front .icon-badge.small {
  display: none;
}

.feature-card-front h3 {
  display: grid;
  min-height: 86px;
  padding: 0 clamp(20px, 2vw, 28px) clamp(22px, 2vw, 30px);
  place-items: center;
  color: #0b3036;
  text-align: center;
}

.feature-card-back {
  justify-content: center;
  background:
    radial-gradient(circle at 74% 18%, rgba(178, 255, 253, 0.24), transparent 40%),
    linear-gradient(145deg, rgba(5, 116, 124, 0.94), rgba(5, 69, 75, 0.94));
  color: white;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.97);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.feature-card-back p {
  color: rgba(237, 255, 255, 0.84);
}

.feature-card:hover,
.feature-card:focus,
.feature-card:focus-within {
  border-color: rgba(6, 190, 200, 0.28);
  box-shadow: 0 22px 58px rgba(5, 194, 207, 0.14);
  transform: translateY(-2px);
}

.feature-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(14, 210, 219, 0.22), 0 28px 68px rgba(5, 94, 102, 0.14);
}

.feature-card:hover .feature-card-inner,
.feature-card:focus .feature-card-inner,
.feature-card:focus-within .feature-card-inner {
  transform: translate3d(0, -2px, 0);
}

.feature-card:hover .feature-card-front,
.feature-card:focus .feature-card-front,
.feature-card:focus-within .feature-card-front {
  opacity: 0.42;
  filter: blur(5px) saturate(1.04);
  transform: scale(1.015);
}

.feature-card:hover .feature-card-back,
.feature-card:focus .feature-card-back,
.feature-card:focus-within .feature-card-back {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.service-visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 354 / 240;
  align-self: center;
  margin: 0 0 22px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 -1px 0 rgba(5, 124, 134, 0.1);
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.service-visual::before,
.service-visual::after {
  content: none;
}

.visual-implant {
  background-image: url("assets/services/service-01.png");
}

.visual-crown {
  background-image: url("assets/services/service-02.png");
}

.visual-smile {
  background-image: url("assets/services/service-03.png");
}

.visual-digital {
  background-image: url("assets/services/service-04.png");
}

.visual-aligner {
  background-image: url("assets/services/service-05.png");
}

.visual-braces {
  background-image: url("assets/services/service-06.png");
}

.visual-root {
  background-image: url("assets/services/service-07.png");
}

.visual-whitening {
  background-image: url("assets/services/service-08.png");
}

.visual-child {
  background-image: url("assets/services/service-09.png");
}

.visual-gum {
  background-image: url("assets/services/service-10.png");
}

.visual-filling {
  background-image: url("assets/services/service-11.png");
}

.visual-care {
  background-image: url("assets/services/service-12.png");
}

.visual-implant::before,
.visual-root::before,
.visual-whitening::before,
.visual-filling::before,
.visual-care::before {
  top: 27px;
  left: 50%;
  width: 48px;
  height: 54px;
  border-radius: 45% 45% 38% 38%;
  background: linear-gradient(145deg, #ffffff, #dffcff);
  box-shadow: inset -8px -10px 16px rgba(0, 142, 155, 0.16), 0 10px 22px rgba(4, 94, 104, 0.12);
  transform: translateX(-50%);
}

.visual-implant::after {
  top: 78px;
  left: 50%;
  width: 32px;
  height: 52px;
  border-radius: 12px 12px 18px 18px;
  background:
    repeating-linear-gradient(180deg, transparent 0 6px, rgba(255, 255, 255, 0.72) 6px 9px),
    linear-gradient(90deg, #77dbe5, #0a6471 48%, #c7fbff);
  transform: translateX(-50%);
}

.visual-crown::before {
  top: 40px;
  left: 31px;
  width: 88px;
  height: 62px;
  clip-path: polygon(0 18%, 22% 42%, 37% 6%, 52% 44%, 71% 7%, 100% 38%, 92% 100%, 8% 100%);
  background: linear-gradient(145deg, #ffffff, #d8fbff);
  box-shadow: inset -10px -12px 20px rgba(0, 137, 150, 0.15);
}

.visual-crown::after,
.visual-whitening::after {
  top: 26px;
  right: 30px;
  width: 24px;
  height: 24px;
  background: #19d7df;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  filter: drop-shadow(0 8px 14px rgba(4, 184, 194, 0.26));
}

.visual-smile::before {
  top: 52px;
  left: 31px;
  width: 88px;
  height: 48px;
  border-bottom: 12px solid #0aaeb9;
  border-radius: 0 0 90px 90px;
}

.visual-smile::after {
  top: 74px;
  left: 42px;
  width: 66px;
  height: 18px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, #ffffff 0 12px, #dffcff 12px 14px);
  box-shadow: 0 10px 20px rgba(4, 102, 111, 0.12);
}

.visual-digital::before {
  inset: 34px;
  border: 3px solid #0aaeb9;
  border-radius: 26px;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.58);
}

.visual-digital::after {
  top: 69px;
  left: 28px;
  width: 94px;
  height: 3px;
  border-radius: 999px;
  background: #16d9df;
  box-shadow: 0 18px 0 rgba(11, 130, 142, 0.55), 0 -18px 0 rgba(11, 130, 142, 0.55);
}

.visual-aligner::before {
  top: 49px;
  left: 24px;
  width: 102px;
  height: 54px;
  border: 4px solid rgba(4, 171, 183, 0.75);
  border-radius: 55% 55% 44% 44%;
  background: rgba(255, 255, 255, 0.48);
}

.visual-aligner::after {
  top: 64px;
  left: 42px;
  width: 66px;
  height: 22px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0 10px, rgba(7, 181, 193, 0.2) 10px 13px);
}

.visual-braces::before {
  top: 74px;
  left: 26px;
  width: 98px;
  height: 4px;
  border-radius: 999px;
  background: #0b8792;
}

.visual-braces::after {
  top: 61px;
  left: 34px;
  width: 18px;
  height: 18px;
  border: 3px solid #0bb9c4;
  border-radius: 6px;
  box-shadow: 28px 0 0 -3px #efffff, 28px 0 0 0 #0bb9c4, 56px 0 0 -3px #efffff, 56px 0 0 0 #0bb9c4;
}

.visual-root::after {
  top: 76px;
  left: 50%;
  width: 4px;
  height: 56px;
  border-radius: 999px;
  background: #0aaeb9;
  box-shadow: -12px 18px 0 -1px rgba(10, 174, 185, 0.74), 12px 18px 0 -1px rgba(10, 174, 185, 0.74);
  transform: translateX(-50%);
}

.visual-whitening::after {
  right: 28px;
}

.visual-child::before {
  top: 36px;
  left: 47px;
  width: 56px;
  height: 58px;
  border-radius: 45% 45% 40% 40%;
  background: linear-gradient(145deg, #ffffff, #dcfbff);
  box-shadow: inset -9px -11px 18px rgba(0, 142, 155, 0.14);
}

.visual-child::after {
  top: 92px;
  left: 50%;
  width: 46px;
  height: 24px;
  border: 4px solid #12c9d3;
  border-top: 0;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.visual-gum::before {
  top: 48px;
  left: 28px;
  width: 94px;
  height: 38px;
  border-radius: 24px 24px 12px 12px;
  background: repeating-linear-gradient(90deg, #ffffff 0 17px, #e0fbfd 17px 20px);
  box-shadow: 0 12px 0 #1bc9d1;
}

.visual-gum::after {
  top: 102px;
  left: 36px;
  width: 78px;
  height: 13px;
  border-radius: 999px;
  background: rgba(4, 135, 148, 0.26);
}

.visual-filling::after {
  top: 52px;
  left: 74px;
  width: 22px;
  height: 18px;
  border-radius: 12px 8px 12px 8px;
  background: linear-gradient(145deg, #13d5dd, #068491);
  box-shadow: 0 8px 16px rgba(4, 145, 157, 0.22);
}

.visual-care::after {
  top: 92px;
  left: 28px;
  width: 96px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #035965, #13d5dd);
  transform: rotate(-18deg);
  box-shadow: 54px -18px 0 -3px rgba(255, 255, 255, 0.88), 58px -18px 0 -1px #13d5dd;
}

.doctors {
  background:
    radial-gradient(circle at 12% 0%, rgba(94, 231, 233, 0.18), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fdfc 100%);
}

.doctors-heading {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin-bottom: clamp(36px, 5vw, 70px);
}

.doctors-heading h2 {
  max-width: 880px;
}

.doctors-heading p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3.2vw, 42px);
  align-items: stretch;
}

.doctor-grid.is-single {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.doctor-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(7, 93, 99, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 64px rgba(5, 94, 102, 0.08);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, border-color 260ms ease;
  cursor: pointer;
}

.doctor-card:hover,
.doctor-card:focus-within {
  border-color: rgba(5, 194, 207, 0.2);
  box-shadow: 0 28px 76px rgba(5, 94, 102, 0.12);
  transform: translateY(-3px);
}

.doctor-card-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 11;
  background: #ecfbfa;
}

.doctor-card-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(3, 56, 60, 0.24));
  content: "";
  pointer-events: none;
}

.doctor-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 34%;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.doctor-card:nth-child(1) .doctor-card-media img {
  object-position: 54% 33%;
}

.doctor-card:hover .doctor-card-media img,
.doctor-card:focus-within .doctor-card-media img {
  transform: scale(1.018);
}

.doctor-card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.doctor-card-title {
  display: grid;
  gap: 5px;
}

.doctor-card-title p {
  margin: 0;
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.doctor-card-title h3 {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
}

.doctor-card-copy {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.doctor-stats {
  align-self: start;
  margin-top: 4px;
  gap: 18px;
  flex-wrap: wrap;
}

.doctor-stats strong {
  display: grid;
  flex: 1 1 150px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fbfffe;
  color: var(--muted);
  font-size: 0.82rem;
}

.doctor-stats span {
  color: var(--teal-700);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.08;
}

.certifications-card {
  margin-top: auto;
  max-width: none;
  overflow: hidden;
  border: 1px solid rgba(7, 93, 99, 0.14);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 18% 0%, rgba(94, 231, 233, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fffe 100%);
  box-shadow: 0 14px 34px rgba(5, 94, 102, 0.06);
}

.certifications-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.certifications-card summary::-webkit-details-marker {
  display: none;
}

.certifications-card summary span {
  color: var(--ink);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.1rem, 1.7vw, 1.38rem);
  font-weight: 800;
}

.certifications-card summary small {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(0, 143, 156, 0.18);
  border-radius: 999px;
  background: rgba(220, 255, 251, 0.72);
  color: var(--teal-700);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.certifications-card[open] summary small {
  border-color: transparent;
  background: var(--teal-700);
  color: white;
}

.certifications-card[open] summary small::before {
  content: "Hide certifications / Sertifikaları gizle";
}

.certifications-card[open] summary small {
  font-size: 0;
}

.certifications-card[open] summary small::before {
  font-size: 0.76rem;
}

.certification-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0 20px 22px;
  list-style: none;
}

.certification-list li {
  position: relative;
  min-height: 50px;
  padding: 13px 13px 13px 36px;
  border: 1px solid rgba(7, 93, 99, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: #34565a;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.certification-list li::before {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  box-shadow: 0 0 0 5px rgba(5, 194, 207, 0.12);
  content: "";
}

.certification-chip-group {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(7, 93, 99, 0.12);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 12% 0%, rgba(94, 231, 233, 0.14), transparent 36%),
    #fbfffe;
}

.certification-chip-group > span {
  color: var(--ink);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
}

.certification-chip-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.certification-chip-group li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 143, 156, 0.16);
  border-radius: 999px;
  background: rgba(220, 255, 251, 0.72);
  color: #315f63;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
}

.doctor-detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 4px;
  padding: 0 18px;
  border: 1px solid rgba(0, 143, 156, 0.16);
  border-radius: 999px;
  background: rgba(220, 255, 251, 0.76);
  color: var(--teal-700);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.doctor-detail-button:hover,
.doctor-detail-button:focus-visible {
  background: var(--teal-700);
  color: white;
  box-shadow: 0 14px 32px rgba(5, 194, 207, 0.18);
  transform: translateY(-1px);
}

.gallery-section {
  position: relative;
  background:
    radial-gradient(circle at 10% 8%, rgba(94, 231, 233, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fdfc 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(14px, 2vw, 22px);
}

.gallery-item {
  position: relative;
  display: block;
  min-height: 320px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 93, 99, 0.1);
  border-radius: var(--radius-lg);
  background: #eaf8f7;
  cursor: pointer;
  box-shadow: 0 24px 70px rgba(5, 94, 102, 0.1);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.gallery-item.tall {
  grid-row: span 2;
  min-height: 660px;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1), filter 1200ms ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 30, 34, 0.03), rgba(2, 30, 34, 0.54));
  content: "";
  opacity: 0.72;
  transition: opacity var(--motion-medium) ease;
}

.gallery-item::before {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  content: "+";
  font-size: 1.45rem;
  font-weight: 600;
  opacity: 0;
  transform: translate3d(-50%, -44%, 0) scale(0.88);
  transition: opacity var(--motion-medium) ease, transform var(--motion-medium) var(--ease-premium);
  backdrop-filter: blur(16px);
  pointer-events: none;
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  filter: saturate(1.04) brightness(0.88);
  transform: scale(1.035);
}

.gallery-item:hover::before,
.gallery-item:focus-visible::before {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  border-color: rgba(5, 194, 207, 0.24);
  box-shadow: 0 28px 78px rgba(5, 94, 102, 0.14);
  transform: translateY(-2px);
}

.gallery-item span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(4, 56, 60, 0.34);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 46px);
}

@keyframes doctorProfileFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

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

@keyframes doctorNameGlow {
  0%,
  100% {
    box-shadow: 0 22px 54px rgba(5, 74, 80, 0.13);
  }

  50% {
    box-shadow: 0 26px 68px rgba(5, 181, 192, 0.2);
  }
}

@keyframes doctorCaptionShine {
  0%,
  34%,
  100% {
    opacity: 0;
    transform: translateX(-42%);
  }

  48% {
    opacity: 1;
  }

  66% {
    opacity: 0;
    transform: translateX(42%);
  }
}

.testimonials {
  background: white;
}

.text-link {
  color: var(--teal-700);
  font-weight: 800;
  justify-self: end;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

blockquote {
  margin: 0;
  padding: 30px;
}

blockquote p {
  margin-top: 0;
  font-size: 1.08rem;
}

cite {
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.faq-layout {
  grid-template-columns: 0.85fr 1.15fr;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  overflow: hidden;
  padding: 0;
  transition: border-color var(--motion-medium) ease, box-shadow var(--motion-medium) ease, transform var(--motion-medium) var(--ease-premium);
}

/* FAQ accordion motion */
.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 22px 56px 22px 24px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  right: 24px;
  top: 50%;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(220, 255, 251, 0.86);
  color: var(--teal-700);
  content: "+";
  font-weight: 900;
  transform: translateY(-50%) rotate(0deg);
  transition: transform var(--motion-medium) var(--ease-premium), background var(--motion-medium) ease, color var(--motion-medium) ease;
}

.faq-list details[open] summary::after {
  background: var(--teal-700);
  color: white;
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details:hover,
.faq-list details:focus-within {
  border-color: rgba(5, 194, 207, 0.22);
  box-shadow: 0 20px 50px rgba(5, 194, 207, 0.11);
  transform: translateY(-1px);
}

.faq-content {
  overflow: hidden;
  height: 0;
  transition: height 360ms var(--ease-premium), opacity 260ms ease;
}

.faq-content-inner {
  padding: 0 24px 24px;
}

.faq-content-inner p {
  margin-top: 0;
}

.consult {
  padding: clamp(76px, 9vw, 118px) 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(91, 235, 232, 0.3), transparent 30%),
    linear-gradient(135deg, #f7ffff 0%, #e8fbfa 46%, #dff7f6 100%);
}

.consult-card {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  color: var(--ink);
}

.consult-card h2 {
  max-width: 780px;
}

.consult-card p {
  max-width: 640px;
  color: var(--muted);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(6, 128, 138, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--teal-950);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(5, 94, 102, 0.1);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
  backdrop-filter: blur(12px);
}

.contact-links .is-primary {
  background: var(--teal-700);
  color: white;
  border-color: transparent;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: rgba(6, 128, 138, 0.34);
  background: white;
  box-shadow: 0 18px 38px rgba(5, 94, 102, 0.16);
  transform: translateY(-1px);
}

.contact-info-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-info-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(7, 93, 99, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(5, 94, 102, 0.08);
  backdrop-filter: blur(12px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.contact-info-card:hover,
.contact-info-card:focus-within {
  border-color: rgba(5, 194, 207, 0.22);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 54px rgba(5, 194, 207, 0.13);
  transform: translateY(-1px);
}

.contact-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(94, 231, 233, 0.9), rgba(0, 143, 156, 0.95));
  color: white;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(5, 194, 207, 0.2);
}

.contact-info-card h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.contact-info-card p {
  margin: 0;
  color: #365f63;
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-info-card a {
  color: var(--teal-700);
  font-weight: 800;
}

.contact-info-card p + a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid rgba(0, 143, 156, 0.16);
  border-radius: 999px;
  background: rgba(220, 255, 251, 0.72);
}

.consult-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(6, 128, 138, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(4, 78, 85, 0.12);
  backdrop-filter: blur(16px);
}

.consult-form label {
  display: grid;
  gap: 8px;
  color: var(--teal-950);
  font-weight: 800;
}

.consult-form label span {
  transform-origin: left center;
  transition: color var(--motion-fast) ease, transform var(--motion-medium) var(--ease-premium);
}

.consult-form label:focus-within span {
  color: var(--teal-700);
  transform: translate3d(0, -2px, 0) scale(0.96);
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(7, 93, 99, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, background var(--motion-fast) ease;
}

.consult-form textarea {
  min-height: 116px;
  padding-block: 14px;
  resize: vertical;
}

.consult-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--teal-700) 50%), linear-gradient(135deg, var(--teal-700) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  border-color: var(--teal-300);
  box-shadow: 0 0 0 4px rgba(94, 231, 233, 0.22);
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  color: var(--teal-900);
  font-weight: 700;
  transform-origin: left center;
  transition: opacity var(--motion-medium) ease, transform var(--motion-medium) var(--ease-premium);
}

.form-note.is-success {
  color: var(--teal-700);
  animation: noteSuccess 420ms var(--ease-premium);
}

.legal-section {
  position: relative;
  z-index: 1;
  padding: clamp(62px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(94, 231, 233, 0.13), transparent 28%),
    linear-gradient(180deg, #f8fdfc 0%, #ffffff 100%);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.legal-grid article {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(7, 93, 99, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(5, 94, 102, 0.07);
}

.legal-grid h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
}

.legal-grid p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer {
  padding: clamp(54px, 7vw, 86px) 0 34px;
  background:
    radial-gradient(circle at 12% 12%, rgba(29, 211, 218, 0.18), transparent 32%),
    linear-gradient(145deg, #041719, #06383c 58%, #052426);
  color: #eaffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 6vw, 96px);
}

.footer-brand {
  display: grid;
  gap: 20px;
  align-content: start;
}

.footer-brand p {
  max-width: 560px;
  margin: 0;
  color: rgba(234, 255, 255, 0.68);
  font-size: 1rem;
}

.site-footer .brand img {
  height: 66px;
  max-width: 190px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(234, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
  transition: background 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: rgba(94, 231, 233, 0.58);
  background: rgba(94, 231, 233, 0.16);
  transform: translateY(-1px);
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-policy-links a {
  color: rgba(234, 255, 255, 0.62);
  font-size: 0.86rem;
  font-weight: 800;
}

.footer-contact {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border: 1px solid rgba(234, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.12);
}

.footer-contact h2 {
  margin-bottom: 8px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.55rem;
}

.footer-contact a,
.footer-contact address {
  color: rgba(234, 255, 255, 0.76);
  font-style: normal;
  font-weight: 700;
}

.footer-contact a {
  min-height: 32px;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--teal-300);
}

.footer-hours {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  color: rgba(234, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-hours strong {
  color: white;
}

.footer-map {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid rgba(94, 231, 233, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(94, 231, 233, 0.13), rgba(255, 255, 255, 0.05)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 255, 255, 0.04) 12px 13px);
}

.footer-feed {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.footer-feed span {
  min-height: 96px;
  border: 1px solid rgba(234, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(94, 231, 233, 0.16), rgba(255, 255, 255, 0.04)),
    url("assets/swisso-dent-symbol.png") center / 46px no-repeat;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(234, 255, 255, 0.12);
  color: rgba(234, 255, 255, 0.58);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(0, 143, 156, 0.86);
  color: white;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0, 143, 156, 0.3);
  backdrop-filter: blur(16px) saturate(1.1);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: var(--teal-700);
  box-shadow: 0 22px 56px rgba(0, 143, 156, 0.42);
  transform: translateY(-2px);
}

.floating-whatsapp.is-scrolled {
  background: rgba(0, 143, 156, 0.78);
  box-shadow: 0 18px 58px rgba(0, 143, 156, 0.42);
}

.mobile-bottom-cta {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 118;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

/* Modal motion */
.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 22, 25, 0.64);
  backdrop-filter: blur(18px);
}

.gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  max-height: min(86vh, 860px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(234, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 34px 110px rgba(0, 31, 35, 0.32);
  transform: translate3d(0, 18px, 0) scale(0.97);
  transition: transform var(--motion-medium) var(--ease-premium);
}

.gallery-lightbox.is-open .gallery-lightbox-panel {
  transform: translate3d(0, 0, 0) scale(1);
}

.gallery-lightbox-panel img {
  width: 100%;
  max-height: calc(86vh - 72px);
  object-fit: contain;
  background: #061f22;
}

.gallery-lightbox-panel figcaption {
  padding: 18px 22px;
  color: var(--teal-950);
  font-weight: 800;
}

.gallery-lightbox-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(7, 93, 99, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-950);
  cursor: pointer;
  font-size: 1.5rem;
}

.doctor-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.doctor-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.doctor-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 23, 26, 0.56);
  backdrop-filter: blur(18px);
}

.doctor-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  width: min(100%, 1040px);
  max-height: min(860px, 90vh);
  overflow: auto;
  border: 1px solid rgba(234, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 110px rgba(0, 31, 35, 0.28);
  transform: translate3d(0, 18px, 0) scale(0.97);
  transition: transform var(--motion-medium) var(--ease-premium);
}

.doctor-modal.is-open .doctor-modal-panel {
  transform: translate3d(0, 0, 0) scale(1);
}

.doctor-modal-panel > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.doctor-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(7, 93, 99, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--teal-950);
  cursor: pointer;
  font-size: 1.4rem;
}

.doctor-modal-content {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(28px, 4vw, 48px);
}

.doctor-modal-content > p:first-child {
  margin: 0;
  color: var(--teal-700);
  font-weight: 800;
}

.doctor-modal-content > p {
  color: var(--muted);
}

.modal-detail-grid {
  display: grid;
  gap: 14px;
}

.modal-detail-grid section {
  padding: 18px;
  border: 1px solid rgba(7, 93, 99, 0.11);
  border-radius: var(--radius-md);
  background: #fbfffe;
}

.modal-detail-grid h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.modal-detail-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-detail-grid li {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(220, 255, 251, 0.76);
  color: #315f63;
  font-size: 0.84rem;
  font-weight: 800;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes implantFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.4deg);
  }

  50% {
    transform: translate3d(0, -14px, 0) rotate(0.7deg);
  }
}

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

  50% {
    transform: translate3d(24px, 18px, 0) scale(1.05);
  }
}

@keyframes noteSuccess {
  0% {
    opacity: 0;
    transform: translate3d(0, 6px, 0) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 1040px) {
  .site-menu {
    gap: 4px;
    font-size: 0.76rem;
  }

  .site-menu a:not(.nav-cta) {
    min-height: 36px;
    padding-inline: 9px;
  }

  .nav-cta {
    min-height: 38px;
    padding-inline: 12px;
  }

  .brand-text small {
    display: none;
  }

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

  .trust-bar-inner,
  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-grid article:last-child {
    grid-column: 1 / -1;
  }

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

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }

  .feature-card,
  .feature-card-inner {
    min-height: 450px;
  }

  .process-layout,
  .split-heading,
  .faq-layout,
  .consult-card,
  .footer-inner,
  .legal-grid,
  .page-card-grid {
    grid-template-columns: 1fr;
  }

  .page-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-layout {
    align-items: start;
  }

  .step-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .certification-list {
    grid-template-columns: 1fr;
  }

  .text-link {
    justify-self: start;
  }

  .implant-stage {
    width: min(100%, 760px);
  }

  .treatment-cloud {
    width: min(28vw, 220px);
    gap: 10px;
  }

  .treatment-pill {
    min-height: 38px;
    padding-inline: 14px;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 40px, 1360px);
  }

  .menu-toggle {
    position: relative;
    z-index: 61;
    display: grid;
    gap: 5px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 1px solid rgba(8, 72, 76, 0.16);
    border-radius: 999px;
    background: rgba(220, 255, 251, 0.82);
    color: var(--teal-950);
    box-shadow: 0 10px 28px rgba(5, 94, 102, 0.1);
  }

  .menu-line {
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
  }

  .site-menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 24px;
    padding: 28px;
    border: 0;
    border-radius: 0;
    background: rgba(3, 50, 54, 0.96);
    color: white;
    font-size: 1.3rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-menu a {
    width: min(100% - 40px, 340px);
    text-align: center;
  }

  .site-menu a:not(.nav-cta) {
    justify-content: center;
    min-height: 52px;
    padding-inline: 18px;
    color: white;
    background: rgba(255, 255, 255, 0.08);
  }

  .site-menu a:not(.nav-cta)::after {
    right: 50px;
    bottom: 10px;
    left: 50px;
  }

  .site-menu a:hover,
  .site-menu a:focus-visible,
  .site-menu a.is-active {
    color: white;
    background: rgba(94, 231, 233, 0.18);
  }

  .site-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-cta {
    min-width: min(100% - 40px, 340px);
    background: var(--teal-500);
    box-shadow: 0 18px 42px rgba(5, 194, 207, 0.28);
  }

  .hero {
    min-height: 0;
  }

  .implant-stage {
    display: flex;
    align-items: center;
    gap: 10px;
    height: auto;
    width: min(100%, 720px);
    margin-top: 22px;
    padding: 320px 2px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .implant-stage::-webkit-scrollbar {
    display: none;
  }

  .implant-card {
    inset: 0 0 auto;
    height: 320px;
  }

  .treatment-cloud {
    position: static;
    top: auto;
    display: flex;
    flex: 0 0 auto;
    width: auto;
    transform: none;
    gap: 10px;
  }

  .treatment-cloud-left,
  .treatment-cloud-right {
    left: auto;
    right: auto;
    justify-items: stretch;
  }

  .treatment-pill,
  .treatment-cloud-left .treatment-pill:nth-child(2),
  .treatment-cloud-left .treatment-pill:nth-child(5),
  .treatment-cloud-right .treatment-pill:nth-child(2),
  .treatment-cloud-right .treatment-pill:nth-child(5) {
    flex: 0 0 auto;
    justify-content: center;
    min-height: 40px;
    max-width: none;
    white-space: nowrap;
    --pill-offset: 0;
  }

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

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

  .doctor-card-media {
    aspect-ratio: 16 / 10;
  }

  .doctor-modal-panel {
    grid-template-columns: 1fr;
  }

  .doctor-modal-panel > img {
    min-height: 360px;
    max-height: 420px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 32px, 1360px);
    --section: 72px;
  }

  .brand-symbol {
    height: 32px;
    max-width: 39px;
  }

  .brand-text strong {
    font-size: 0.88rem;
  }

  .brand-text small {
    max-width: 150px;
    font-size: 0.48rem;
  }

  .nav-inner {
    min-height: 52px;
  }

  .hero {
    min-height: 0;
  }

  .hero-actions,
  .hero-actions .button,
  .consult-form .button {
    width: 100%;
  }

  .trust-bar {
    margin-top: -22px;
    padding-bottom: 18px;
  }

  .trust-bar-inner,
  .journey-grid,
  .footer-feed {
    grid-template-columns: 1fr;
  }

  .trust-bar-inner span {
    min-height: 58px;
    justify-content: start;
    text-align: left;
  }

  .trust-bar-inner span + span {
    border-left: 0;
    border-top: 1px solid rgba(7, 93, 99, 0.1);
  }

  .hero-actions .button {
    max-width: 360px;
  }

  .implant-stage {
    padding-top: 286px;
  }

  .implant-card {
    height: 286px;
  }

  .implant-image {
    width: 330px;
    height: 330px;
    max-width: 92vw;
    max-height: 92vw;
  }

  .step-tabs,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .process-photo div {
    min-height: 300px;
  }

  .doctor-card-body {
    padding: 20px;
  }

  .doctor-card-media {
    aspect-ratio: 4 / 3;
  }

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

  .gallery-item,
  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 310px;
  }

  .certifications-card summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .certifications-card summary small {
    width: 100%;
    justify-content: center;
  }

  .feature-card,
  .feature-card-inner {
    min-height: 420px;
  }

  .consult {
    padding: 70px 0;
  }

  .contact-links,
  .contact-links a {
    width: 100%;
  }

  .contact-info-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 18px;
  }

  .contact-info-card a,
  .contact-info-card p + a,
  .footer-contact a {
    min-height: 44px;
    align-items: center;
  }

  .footer-bottom {
    display: grid;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 86px;
    width: 64px;
    height: 64px;
  }

  .mobile-bottom-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 85;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(7, 93, 99, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 54px rgba(5, 94, 102, 0.18);
    backdrop-filter: blur(18px) saturate(1.08);
  }

  .mobile-bottom-cta a {
    display: grid;
    min-height: 46px;
    place-items: center;
    border-radius: 999px;
    color: var(--teal-950);
    font-size: 0.86rem;
    font-weight: 900;
  }

  .mobile-bottom-cta a:nth-child(2) {
    background: var(--teal-700);
    color: white;
  }

  .doctor-modal {
    padding: 14px;
  }

  .gallery-lightbox {
    padding: 14px;
  }

  .gallery-lightbox-panel {
    border-radius: 22px;
  }

  .gallery-lightbox-panel img {
    max-height: calc(86vh - 86px);
  }

  .doctor-modal-panel {
    border-radius: 22px;
  }

  .doctor-modal-panel > img {
    min-height: 280px;
  }
}

@media (hover: none) {
  .feature-card:hover,
  .feature-card:focus,
  .feature-card:focus-within {
    box-shadow: 0 12px 32px rgba(5, 94, 102, 0.08);
  }

  .feature-card:hover .feature-card-inner,
  .feature-card:focus .feature-card-inner,
  .feature-card:focus-within .feature-card-inner,
  .feature-card:hover .feature-card-front,
  .feature-card:focus .feature-card-front,
  .feature-card:focus-within .feature-card-front,
  .feature-card:hover .feature-card-back,
  .feature-card:focus .feature-card-back,
  .feature-card:focus-within .feature-card-back {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .feature-card-back {
    display: none;
  }

  .doctor-card:hover,
  .doctor-card:focus-within,
  .journey-grid article:hover,
  .journey-grid article:focus-within,
  .gallery-item:hover,
  .gallery-item:focus-visible {
    transform: none;
  }
}

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

  .implant-card {
    animation: none;
  }

  .gallery-item img,
  .doctor-card-media img {
    transition: none;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
