:root {
  --ld-bg: #f8fbfe;
  --ld-surface: #ffffff;
  --ld-surface-blue: #eef6fd;
  --ld-text: #142641;
  --ld-muted: #66758b;
  --ld-line: rgba(40, 78, 118, 0.14);
  --ld-primary: #5f91c6;
  --ld-primary-dark: #234369;
  --ld-accent: #d8eaf9;
  --ld-heading: "Cormorant Garamond", Georgia, serif;
  --ld-body: "Inter", Arial, sans-serif;
  --ld-container: 1320px;
  --ld-side: 64px;
  --ld-radius: 14px;
  --ld-radius-soft: 28px;
  --ld-shadow: 0 18px 44px rgba(24, 61, 98, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ld-bg);
  color: var(--ld-text);
  font-family: var(--ld-body);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

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

.ld-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 80px), var(--ld-container));
  margin: 24px auto 0;
  padding: 0;
  color: var(--ld-text);
}

.ld-brand {
  display: grid;
  gap: 2px;
  letter-spacing: 0.38em;
}

.ld-brand span,
.ld-footer-brand span {
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.42em;
  color: #6f7d91;
}

.ld-brand small,
.ld-footer-brand small {
  padding-left: 44px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: #7c8ca1;
}

.ld-nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ld-nav a,
.ld-footer a {
  transition: color 180ms ease;
}

.ld-nav a:hover,
.ld-footer a:hover {
  color: var(--ld-primary);
}

.ld-header-cta,
.ld-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.ld-header-cta,
.ld-button--primary {
  background: linear-gradient(180deg, #6fa0d0, #4f82b8);
  color: white;
  box-shadow: 0 12px 24px rgba(79, 130, 184, 0.22);
}

.ld-button--secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ld-primary-dark);
  border-color: #80a8cf;
}

.ld-menu {
  display: none;
}

.ld-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: white;
}

.ld-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 30%, rgba(255, 255, 255, 0.2) 62%, rgba(255, 255, 255, 0) 100%);
}

.ld-hero__content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (var(--ld-side) * 2)), var(--ld-container));
  margin: 0 auto;
  padding: 176px 0 56px;
}

.ld-kicker {
  margin: 0 0 14px;
  color: var(--ld-primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ld-hero h1,
.ld-section-head h2,
.ld-doctor-copy h2,
.ld-clinic-copy h2,
.ld-journey h2,
.ld-faq h2,
.ld-appointment h2 {
  margin: 0;
  font-family: var(--ld-heading);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--ld-primary-dark);
  text-wrap: balance;
}

.ld-hero h1 {
  max-width: 560px;
  font-size: 74px;
}

.ld-hero h1 span,
.ld-section-head h2 span,
.ld-clinic-copy h2 span {
  color: var(--ld-primary);
}

.ld-hero__content > p:not(.ld-kicker) {
  max-width: 450px;
  margin: 24px 0 34px;
  color: #263c5a;
  font-size: 17px;
}

.ld-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 84px;
}

.ld-proof-strip {
  display: flex;
  gap: 54px;
}

.ld-proof-strip div {
  max-width: 150px;
}

.ld-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--ld-primary);
  font-size: 24px;
}

.ld-proof-strip strong {
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.ld-proof-strip small {
  display: block;
  margin-top: 4px;
  color: var(--ld-muted);
  font-size: 11px;
  line-height: 1.35;
}

.ld-section {
  width: min(calc(100% - (var(--ld-side) * 2)), var(--ld-container));
  margin: 0 auto;
  padding: 58px 0 46px;
}

.ld-section-head {
  margin-bottom: 34px;
  text-align: center;
}

.ld-section-head h2,
.ld-clinic-copy h2 {
  font-size: 42px;
}

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

.ld-treatment-card {
  min-width: 0;
}

.ld-treatment-image {
  height: 150px;
  border-radius: 12px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--ld-shadow);
}

.ld-treatment-image--one {
  background-image: url("assets/dental-treatment-whitening.webp");
}

.ld-treatment-image--two {
  background-image: url("assets/dental-treatment-aligners.webp");
}

.ld-treatment-image--three {
  background-image: url("assets/dental-treatment-implant.webp");
}

.ld-treatment-image--four {
  background-image: url("assets/dental-treatment-veneers.webp");
}

.ld-treatment-image--five {
  background-image: url("assets/dental-treatment-preventive.webp");
}

.ld-treatment-card h3 {
  margin: 20px 0 8px;
  font-size: 15px;
  line-height: 1.25;
}

.ld-treatment-card p {
  min-height: 78px;
  margin: 0 0 16px;
  color: var(--ld-muted);
  font-size: 12px;
  line-height: 1.55;
}

.ld-treatment-card a {
  color: var(--ld-primary);
  font-size: 23px;
}

.ld-doctor-panel {
  display: grid;
  grid-template-columns: 360px 1fr 360px;
  gap: 48px;
  align-items: center;
  width: min(calc(100% - (var(--ld-side) * 2)), var(--ld-container));
  margin: 40px auto 54px;
  padding: 48px 64px 0;
  overflow: hidden;
  border-radius: var(--ld-radius-soft);
  background: linear-gradient(135deg, #eef7ff, #ffffff 58%, #edf6fd);
  box-shadow: var(--ld-shadow);
}

.ld-doctor-portrait {
  align-self: end;
  height: 310px;
  overflow: hidden;
}

.ld-doctor-portrait img {
  width: 620px;
  max-width: none;
  height: 420px;
  object-fit: cover;
  object-position: 68% 12%;
  transform: translate(-250px, -44px);
}

.ld-doctor-copy {
  padding-bottom: 44px;
}

.ld-doctor-copy h2 {
  width: fit-content;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ld-primary);
  font-size: 40px;
}

.ld-doctor-copy p,
.ld-clinic-copy p {
  margin: 0 0 24px;
  color: var(--ld-muted);
  font-size: 14px;
}

.ld-trust-list {
  display: grid;
  gap: 26px;
  padding: 0 0 42px 48px;
  border-left: 1px solid var(--ld-line);
}

.ld-trust-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 18px;
}

.ld-round-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f3fc;
  color: var(--ld-primary);
}

.ld-trust-list strong {
  font-size: 13px;
}

.ld-trust-list p {
  margin: 4px 0 0;
  color: var(--ld-muted);
  font-size: 12px;
}

.ld-clinic {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 46px;
  align-items: center;
  width: min(calc(100% - (var(--ld-side) * 2)), var(--ld-container));
  margin: 0 auto;
  padding: 16px 0 46px;
}

.ld-clinic-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr;
  gap: 12px;
}

.ld-clinic-gallery img {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--ld-shadow);
}

.ld-clinic-gallery .ld-clinic-main {
  height: 250px;
  object-position: left center;
}

.ld-clinic-gallery img:nth-child(2) {
  object-position: right center;
}

.ld-clinic-gallery img:nth-child(3) {
  object-position: center center;
}

.ld-journey {
  position: relative;
  padding: 54px var(--ld-side) 48px;
  background: linear-gradient(180deg, #f5faff, #ffffff);
  text-align: center;
}

.ld-journey h2 {
  margin-bottom: 40px;
  font-size: 34px;
}

.ld-journey-line {
  position: absolute;
  top: 132px;
  left: 12%;
  right: 12%;
  border-top: 1px dashed #b8cde1;
}

.ld-journey-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: left;
}

.ld-journey-steps span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border: 1px solid #c8daec;
  border-radius: 50%;
  background: white;
  color: var(--ld-primary);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(35, 67, 105, 0.08);
}

.ld-journey-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
}

.ld-journey-steps p {
  margin: 0;
  color: var(--ld-muted);
  font-size: 12px;
}

.ld-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: min(calc(100% - (var(--ld-side) * 2)), var(--ld-container));
  margin: 0 auto;
  padding: 48px 0 34px;
}

.ld-faq h2 {
  margin-bottom: 22px;
  font-size: 30px;
}

.ld-faq details {
  border: 1px solid var(--ld-line);
  background: rgba(255, 255, 255, 0.72);
}

.ld-faq details + details {
  border-top: 0;
}

.ld-faq summary {
  cursor: pointer;
  padding: 16px 24px;
  color: #6d7b90;
  font-size: 14px;
  list-style: none;
}

.ld-faq summary::after {
  content: "+";
  float: right;
  color: var(--ld-primary);
  font-weight: 800;
}

.ld-faq details[open] summary::after {
  content: "−";
}

.ld-faq details p {
  margin: 0;
  padding: 0 24px 18px;
  color: var(--ld-muted);
  font-size: 13px;
}

.ld-faq img {
  width: 100%;
  height: 250px;
  border-radius: 0;
  object-fit: cover;
  object-position: left center;
  opacity: 0.78;
}

.ld-appointment {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(calc(100% - (var(--ld-side) * 2)), var(--ld-container));
  margin: 0 auto 54px;
  padding: 26px 48px;
  border-radius: 24px;
  background: linear-gradient(100deg, #edf7ff, #ffffff 50%, #e9f4ff);
  box-shadow: var(--ld-shadow);
}

.ld-calendar {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: white;
  color: var(--ld-primary);
  font-size: 34px;
  box-shadow: 0 10px 24px rgba(35, 67, 105, 0.1);
}

.ld-appointment h2 {
  font-size: 34px;
  color: var(--ld-primary);
}

.ld-appointment p {
  margin: 4px 0 0;
  color: var(--ld-muted);
}

.ld-footer {
  display: grid;
  grid-template-columns: 260px repeat(3, 1fr) 220px;
  gap: 44px;
  width: min(calc(100% - (var(--ld-side) * 2)), var(--ld-container));
  margin: 0 auto;
  padding: 18px 0 42px;
  border-top: 1px solid var(--ld-line);
  color: var(--ld-muted);
}

.ld-footer nav,
.ld-footer address {
  display: grid;
  gap: 8px;
  font-style: normal;
  font-size: 12px;
}

.ld-footer strong {
  margin-bottom: 8px;
  color: var(--ld-text);
  font-size: 12px;
  text-transform: uppercase;
}

.ld-footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--ld-line);
  font-size: 11px;
}

@media (max-width: 1100px) {
  :root {
    --ld-side: 36px;
  }

  .ld-header {
    grid-template-columns: auto auto;
    width: min(calc(100% - 40px), var(--ld-container));
  }

  .ld-menu {
    display: inline-flex;
    justify-self: end;
    padding: 10px 16px;
    border: 1px solid var(--ld-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--ld-text);
    font-weight: 800;
    text-transform: uppercase;
  }

  .ld-nav {
    position: absolute;
    top: 62px;
    right: 0;
    display: none;
    min-width: 250px;
    padding: 18px;
    border: 1px solid var(--ld-line);
    border-radius: 12px;
    background: white;
    box-shadow: var(--ld-shadow);
  }

  .ld-nav.is-open {
    display: grid;
  }

  .ld-header-cta {
    display: none;
  }

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

  .ld-doctor-panel,
  .ld-clinic,
  .ld-faq,
  .ld-appointment,
  .ld-footer {
    grid-template-columns: 1fr;
  }

  .ld-trust-list {
    padding-left: 0;
    border-left: 0;
  }

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

@media (max-width: 680px) {
  :root {
    --ld-side: 22px;
  }

  .ld-brand span,
  .ld-footer-brand span {
    font-size: 26px;
  }

  .ld-brand small,
  .ld-footer-brand small {
    padding-left: 28px;
    font-size: 8px;
  }

  .ld-hero {
    min-height: 720px;
  }

  .ld-hero > img {
    object-position: 70% center;
  }

  .ld-hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 48%, rgba(255, 255, 255, 0.2) 100%);
  }

  .ld-hero__content {
    padding-top: 132px;
  }

  .ld-hero h1 {
    font-size: 50px;
  }

  .ld-actions,
  .ld-proof-strip {
    gap: 14px;
  }

  .ld-proof-strip,
  .ld-clinic-gallery,
  .ld-appointment {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ld-treatment-grid,
  .ld-journey-steps {
    grid-template-columns: 1fr;
  }

  .ld-doctor-panel {
    padding: 34px 24px 0;
  }

  .ld-journey-line {
    display: none;
  }

  .ld-appointment {
    justify-items: start;
    padding: 28px;
  }

  .ld-footer-bottom {
    display: grid;
    gap: 12px;
  }
}

/* Subpage Layouts */
.ld-sub-hero {
  padding: 180px var(--ld-side) 70px;
  background: linear-gradient(180deg, var(--ld-surface-blue) 0%, var(--ld-bg) 100%);
  border-bottom: 1px solid var(--ld-line);
  text-align: center;
}
.ld-sub-hero h1 {
  font-family: var(--ld-heading);
  font-size: 58px;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ld-primary-dark);
}
.ld-sub-hero p {
  color: var(--ld-muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Form Styles */
.ld-form-container {
  max-width: 640px;
  margin: 60px auto 100px;
  padding: 48px;
  background: var(--ld-surface);
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius-soft);
  box-shadow: var(--ld-shadow);
}
.ld-form-container h2 {
  font-family: var(--ld-heading);
  font-size: 34px;
  font-weight: 500;
  margin: 0 0 28px;
  text-align: center;
  color: var(--ld-primary-dark);
}
.ld-form-group {
  margin-bottom: 24px;
}
.ld-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ld-muted);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.ld-form-control {
  width: 100%;
  min-height: 48px;
  background: var(--ld-bg);
  border: 1px solid var(--ld-line);
  border-radius: 8px;
  color: var(--ld-text);
  padding: 0 16px;
  font-family: var(--ld-body);
  font-size: 14px;
  outline: none;
  transition: border-color 180ms ease;
}
.ld-form-control:focus {
  border-color: var(--ld-primary);
}
textarea.ld-form-control {
  padding: 16px;
  resize: vertical;
}

/* Treatments Subpage Extra */
.ld-treatment-detail-grid {
  width: min(calc(100% - (var(--ld-side) * 2)), var(--ld-container));
  margin: 60px auto 100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.ld-treatment-detail-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  padding: 40px;
  background: var(--ld-surface);
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius-soft);
  box-shadow: var(--ld-shadow);
  align-items: center;
}
.ld-treatment-detail-card img {
  width: 100%;
  height: 220px;
  border-radius: var(--ld-radius);
  object-fit: cover;
}
.ld-treatment-detail-card h3 {
  font-family: var(--ld-heading);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--ld-primary-dark);
}
.ld-treatment-detail-card p {
  color: var(--ld-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px;
}

@media (max-width: 980px) {
  .ld-treatment-detail-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .ld-treatment-detail-card img {
    height: 180px;
  }
  .ld-form-container {
    padding: 24px;
    margin: 40px auto 80px;
  }
}

