:root {
  --bg-main: #f8fafb;
  --bg-mint: #dff6f2;
  --bg-soft-blue: #cfe8ff;
  --bg-white: #ffffff;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --accent: #2bb7a8;
  --accent-soft: rgba(43, 183, 168, 0.08);
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-subtle: 0 16px 40px rgba(15, 23, 42, 0.08);
  --transition-fast: 180ms ease-out;
  --transition-med: 260ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Plus Jakarta Sans", sans-serif;
  background: radial-gradient(circle at top left, #e7f4ff 0, #f8fafb 40%, #ffffff 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

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

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

section {
  position: relative;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

@media (min-width: 900px) {
  .section {
    padding: 6.5rem 0;
  }
}

.split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
}

.section-header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin: 0.6rem 0;
  font-size: clamp(1.7rem, 2.2vw + 1.2rem, 2.4rem);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(130deg, #2bb7a8, #35c2b2);
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(43, 183, 168, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(43, 183, 168, 0.5);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text-main);
  backdrop-filter: blur(12px);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn.full {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: radial-gradient(circle at top left, rgba(207, 232, 255, 0.8), rgba(248, 250, 251, 0.9));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #2bb7a8);
  box-shadow: 0 16px 40px rgba(43, 183, 168, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #ffffff;
}

.logo-text {
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: none;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-muted);
  padding: 0.4rem 0.2rem;
}

.nav a:hover {
  color: var(--text-main);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(43, 183, 168, 0.08);
  color: var(--accent);
  border: 1px solid rgba(43, 183, 168, 0.4);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(207, 232, 255, 0.8), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(223, 246, 242, 0.9), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
  }
}

.hero-content h1 {
  font-size: clamp(2.3rem, 3vw + 1.6rem, 3.2rem);
  margin: 0.6rem 0 0.9rem;
}

.subtitle {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-meta {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta span {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.tooth-orbit {
  width: min(320px, 80vw);
  aspect-ratio: 4 / 5;
  border-radius: 40px;
  background: linear-gradient(145deg, #f9feff, #e4f3ff);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tooth-shape {
  position: absolute;
  inset: 18% 12% 5%;
  background: radial-gradient(circle at 20% 0%, #ffffff, #e3f3ff 50%, #d0e8ff 100%);
  border-radius: 60% 60% 40% 40%;
  box-shadow:
    0 30px 60px rgba(15, 23, 42, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  opacity: 0.8;
}

.orbit-1 {
  inset: 16% 8% 40% 8%;
}

.orbit-2 {
  inset: 44% 8% 16% 8%;
}

.hero-badges {
  display: grid;
  gap: 0.8rem;
  width: 100%;
}

@media (min-width: 900px) {
  .hero-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.badge {
  padding: 0.85rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-subtle);
}

.badge-title {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

.badge-text {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(255, 255, 255, 0.9);
}

/* Feel section */
.feel {
  background: linear-gradient(180deg, rgba(223, 246, 242, 0.4), rgba(248, 250, 251, 1));
}

.feel h2 {
  margin-top: 0;
  font-size: clamp(1.6rem, 2vw + 1.1rem, 2.1rem);
}

.feel-text p {
  color: var(--text-muted);
  line-height: 1.6;
}

.feel-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feel-chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feel-chip:hover {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.feel-chip.active {
  background: rgba(43, 183, 168, 0.16);
  border-color: var(--accent);
}

.feel-result {
  margin: 0.6rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Journey timeline */
.journey {
  background: var(--bg-main);
}

.journey-timeline {
  display: grid;
  gap: 1.8rem;
  margin-top: 1.8rem;
}

.journey-visual {
  margin-top: 1.2rem;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-height: 360px;
}

.journey-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .journey-visual {
    margin-top: 2rem;
  }
}

.journey-step {
  padding: 1.4rem 1.5rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.6rem;
}

@media (min-width: 800px) {
  .journey-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.journey-step h3 {
  margin: 0;
  font-size: 1.1rem;
}

.journey-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.step-badge {
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.step-tag {
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: rgba(43, 183, 168, 0.1);
  color: var(--accent);
}

/* Services story-blocks */
.services {
  background: linear-gradient(180deg, #ffffff, #f8fafb);
}

.service-stories {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.service-story {
  display: grid;
  gap: 1.4rem;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.10);
}

@media (min-width: 900px) {
  .service-story {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.service-text h3 {
  margin: 0 0 0.35rem;
}

.service-lead {
  margin: 0 0 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-text p {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.service-text ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.service-visual {
  border-radius: 1.6rem;
  padding: 1.3rem 1.25rem;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
}

.service-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.18rem 0.7rem;
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.85);
}

.service-visual p {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
}

.gradient-mint {
  background: radial-gradient(circle at 10% 0%, #ffffff, #dff6f2 55%);
}

.gradient-blue {
  background: radial-gradient(circle at 90% 0%, #ffffff, #cfe8ff 55%);
}

.gradient-ivory {
  background: radial-gradient(circle at 20% 0%, #ffffff, #f9f5ff 60%);
}

.gradient-mixed {
  background: radial-gradient(circle at 0% 100%, #ffffff, #dff6f2 40%, #cfe8ff 85%);
}

/* Before / After slider */
.before-after {
  background: radial-gradient(circle at top, #e7f4ff, #f8fafb 50%, #ffffff 90%);
}

.ba-block {
  max-width: 720px;
  margin: 2rem auto 0;
}

.ba-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
}

.ba-label-tag {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.ba-label-before {
  margin-right: auto;
}

.ba-label-after {
  margin-left: auto;
}

.ba-wrapper {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.20);
  background: #0b1120;
  min-height: 380px;
  aspect-ratio: 16 / 10;
}

.ba-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ba-before {
  background-image: url("img/before.png");
  background-size: cover;
  background-position: center;
}

.ba-after {
  background-image: url("img/after.png");
  background-size: cover;
  background-position: center;
  width: 50%;
  border-right: 2px solid rgba(248, 250, 252, 0.6);
}

#ba-slider {
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin: 0;
  height: 40px;
  background: transparent;
}

#ba-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid #e5f6ff;
  background: radial-gradient(circle at 30% 20%, #ffffff, #2bb7a8);
  box-shadow: 0 0 0 5px rgba(15, 23, 42, 0.6);
  cursor: grab;
}

#ba-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid #e5f6ff;
  background: radial-gradient(circle at 30% 20%, #ffffff, #2bb7a8);
  box-shadow: 0 0 0 5px rgba(15, 23, 42, 0.6);
  cursor: grab;
}

#ba-slider::-webkit-slider-runnable-track,
#ba-slider::-moz-range-track {
  height: 40px;
  background: transparent;
}

/* Doctor */
.doctor {
  background: #ffffff;
}

.doctor-card {
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, #eef4ff, #ffffff 55%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.12);
}

.doctor-avatar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.1rem;
}

.doctor-photo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.2);
}

.doctor-card h3 {
  margin: 0 0 0.15rem;
}

.doctor-title {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.doctor-bio {
  margin: 0.9rem 0 0.8rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.doctor-highlights {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.doctor-process h2 {
  margin: 0.35rem 0 1.2rem;
  font-size: clamp(1.5rem, 1.9vw + 1rem, 2rem);
}

.process-steps {
  display: grid;
  gap: 0.9rem;
}

.process-step {
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.3);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem 0.9rem;
  align-items: baseline;
}

.step-number {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.process-step h3 {
  margin: 0;
  font-size: 0.98rem;
}

.process-step p {
  margin: 0;
  grid-column: 2 / -1;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials {
  background: radial-gradient(circle at top, #eff6ff, #f9fafb);
}

.testimonial-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.6rem;
}

@media (min-width: 800px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.testimonial-card {
  padding: 1.4rem 1.3rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.testimonial-card p {
  margin: 0;
  color: var(--text-main);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Booking */
.booking {
  background: linear-gradient(145deg, #dff6f2, #cfe8ff);
}

.booking-inner {
  border-radius: 1.8rem;
  padding: 2rem 1.6rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 900px) {
  .booking-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    align-items: start;
    padding: 2.2rem 2rem;
  }
}

.booking-text h2 {
  margin: 0.5rem 0 0.9rem;
  font-size: clamp(1.6rem, 2vw + 1.1rem, 2.1rem);
}

.booking-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 700px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.form-field label {
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.7rem 0.9rem;
  font: inherit;
  resize: vertical;
  min-height: 42px;
  background: rgba(248, 250, 252, 0.9);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(43, 183, 168, 0.4), 0 18px 35px rgba(15, 23, 42, 0.18);
  background: #ffffff;
  transform: translateY(-0.5px);
}

.form-note {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.footer-info h3 {
  margin: 0 0 0.5rem;
}

.footer-info p {
  margin: 0 0 1rem;
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.footer-map {
  display: flex;
  align-items: center;
}

.map-placeholder {
  width: 100%;
  border-radius: 1.5rem;
  min-height: 180px;
  background: radial-gradient(circle at top, #1f2937, #020617);
  border: 1px solid rgba(148, 163, 184, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  color: #9ca3af;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(31, 41, 55, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #6b7280;
}

@media (min-width: 700px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Scroll animations */
.appear {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms var(--transition-med), transform 420ms var(--transition-med);
}

.appear.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 140ms;
}

.delay-3 {
  transition-delay: 220ms;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .appear {
    opacity: 1 !important;
    transform: none !important;
  }
}

