:root {
  --color-primary: #087ec4;
  --color-primary-dark: #075f94;
  --color-secondary: #0f3f5b;
  --color-accent: #38b6c9;
  --color-ink: #142331;
  --color-muted: #617184;
  --color-soft: #f1f8fb;
  --color-soft-2: #eaf4f8;
  --color-white: #ffffff;
  --color-border: #dce9ef;
  --shadow-soft: 0 24px 60px rgba(7, 66, 96, 0.12);
  --shadow-card: 0 16px 38px rgba(20, 35, 49, 0.08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1140px;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-height);
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 233, 239, 0.76);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(20, 35, 49, 0.08); height: 72px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 16px;
  display: grid; place-items: center;
  color: var(--color-white);
  font-family: "Playfair Display", serif;
  font-weight: 700; font-size: 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 14px 28px rgba(8, 126, 196, 0.18);
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-weight: 800; letter-spacing: -0.02em; }
.brand-copy small { color: var(--color-muted); font-size: 12px; margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 14px; color: var(--color-secondary); }
.site-nav a { transition: color 0.2s ease; }
.site-nav a:hover { color: var(--color-primary); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-ink); margin: 5px 0; border-radius: 99px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-primary); color: var(--color-white); box-shadow: 0 16px 34px rgba(8, 126, 196, 0.24); }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { border-color: rgba(8, 126, 196, 0.3); color: var(--color-primary-dark); background: var(--color-white); }
.btn-outline:hover { box-shadow: var(--shadow-card); }
.btn-ghost { color: var(--color-secondary); background: var(--color-soft); }
.btn-light { background: var(--color-white); color: var(--color-primary-dark); }
.btn-soft { background: rgba(255,255,255,0.14); color: var(--color-white); border-color: rgba(255,255,255,0.22); }
.btn-lg { min-height: 52px; padding-inline: 24px; }

.hero {
  padding-top: calc(var(--header-height) + 70px);
  min-height: 760px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(56,182,201,0.22), transparent 32%),
    linear-gradient(145deg, #f7fcff 0%, #edf7fb 48%, #ffffff 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 70px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--color-accent); border-radius: 999px; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: 0.02em; color: var(--color-secondary); }
h1, h2 { font-family: "Playfair Display", Georgia, serif; }
h1 { font-size: clamp(46px, 6vw, 82px); max-width: 760px; margin-top: 18px; }
h2 { font-size: clamp(34px, 4vw, 56px); }
h3 { font-size: 22px; letter-spacing: -0.03em; }
p { margin: 0; color: var(--color-muted); }
.hero-content p { font-size: 18px; max-width: 620px; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-visual { position: relative; min-height: 520px; }
.hero-visual {
  position: relative;
  overflow: visible;
}

.hero-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 28px 80px rgba(6, 51, 72, 0.14);
}

.hero-image-card img {
  width: 100%;
  height: 460px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

.floating-card {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(196, 224, 234, 0.9);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 18px 45px rgba(6, 51, 72, 0.12);
  backdrop-filter: blur(12px);
}

.floating-card strong {
  display: block;
  color: #07364a;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.floating-card span {
  display: block;
  color: #5f7480;
  font-size: 13px;
  line-height: 1.5;
}

.floating-card-top {
  top: 34px;
  left: -46px;
}

.floating-card-bottom {
  right: -32px;
  bottom: 52px;
}

.form-group label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.required-mark {
  color: #007fc4;
  font-weight: 800;
  display: inline;
  line-height: 1;
}

.form-message {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 14px;
}

.form-success {
  background: #e9f8ef;
  color: #146c3c;
  border: 1px solid #bfe8ce;
}

.form-error {
  background: #fff0f0;
  color: #9d1c1c;
  border: 1px solid #f3c1c1;
}

.appointment-form .form-group label {
  display: block;
}

.appointment-form .form-group label .required-mark {
  display: inline !important;
  color: #007fc4;
  font-weight: 800;
  margin-left: 4px;
  line-height: 1;
}

.appointment-card .eyebrow {
  margin-bottom: 18px;
}

.appointment-card .form-intro {
  margin-bottom: 34px;
}

.appointment-card .form-intro h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
}

.appointment-card .form-intro p {
  margin: 0;
  max-width: 620px;
  line-height: 1.75;
}

.appointment-form {
  margin-top: 0;
}
.trust-strip { margin-top: -56px; position: relative; z-index: 3; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-card { background: var(--color-white); padding: 24px; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--color-soft); color: var(--color-primary); font-size: 22px; margin-bottom: 18px; }
.trust-card h2 { font-family: "DM Sans", sans-serif; font-size: 18px; letter-spacing: -0.03em; }
.trust-card p { font-size: 14px; margin-top: 8px; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-grid-reverse { grid-template-columns: 0.9fr 1.1fr; }
.section-copy h2, .section-head h2 { margin-top: 18px; }
.section-copy p, .section-head p { margin-top: 20px; max-width: 650px; }
.section-copy .btn { margin-top: 28px; }
.image-placeholder {
  min-height: 470px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end start;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 12px solid var(--color-white);
}
.image-placeholder span { background: rgba(255,255,255,0.88); color: var(--color-secondary); font-weight: 800; padding: 12px 16px; border-radius: 999px; font-size: 13px; }
.framed-image {
  background: #ffffff;
  padding: 18px;
  border-radius: 38px;
  box-shadow: 0 28px 80px rgba(6, 51, 72, 0.12);
  overflow: hidden;
}

.framed-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
}

.why-image-card img {
  aspect-ratio: 4 / 3;
  min-height: 420px;
}

.about-image-card img {
  aspect-ratio: 1 / 1;
}

.doctor-placeholder {
  background:
    radial-gradient(circle at 68% 28%, #ffffff 0 10%, transparent 11%),
    linear-gradient(135deg, #e6f6fb 0%, #f8fdff 52%, #c5e7f0 100%);
}
.section-head { max-width: 760px; margin-bottom: 44px; }
.services { background: linear-gradient(180deg, var(--color-white), var(--color-soft)); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 30px; box-shadow: 0 12px 30px rgba(20,35,49,0.04); min-height: 260px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.service-number { display: block; color: var(--color-primary); font-weight: 900; font-size: 14px; margin-bottom: 44px; }
.service-card p { margin-top: 14px; font-size: 15px; }
.why { background: #f7fbfd; }
.feature-list { display: grid; gap: 18px; margin-top: 32px; }
.feature-list article { padding: 20px 0 20px 26px; border-left: 3px solid var(--color-accent); }
.feature-list strong { display: block; color: var(--color-secondary); font-size: 17px; }
.feature-list span { display: block; color: var(--color-muted); margin-top: 5px; }
.cta-band { padding: 80px 0; }
.cta-card { background: linear-gradient(135deg, var(--color-secondary), var(--color-primary)); color: var(--color-white); text-align: center; padding: 72px 40px; border-radius: 44px; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.cta-card::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -120px; background: rgba(255,255,255,0.08); }
.cta-card .eyebrow { color: rgba(255,255,255,0.9); justify-content: center; }
.cta-card .eyebrow::before { background: rgba(255,255,255,0.55); }
.cta-card h2 { color: var(--color-white); margin-top: 18px; }
.cta-card p { color: rgba(255,255,255,0.82); max-width: 620px; margin: 18px auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.micro-note { font-size: 12px; opacity: 0.72; }
.reviews-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.review-cards { display: grid; gap: 20px; }
.review-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-card); max-width: 520px; }
.review-card.offset { margin-left: 80px; }
.stars { color: #f8b400; font-size: 20px; letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { font-size: 17px; color: var(--color-ink); }
.review-card strong { display: block; margin-top: 18px; color: var(--color-secondary); }
.contact { background: linear-gradient(180deg, var(--color-soft), #ffffff); }
.contact-grid { display: grid; grid-template-columns: 0.96fr 1.04fr; gap: 28px; align-items: stretch; }
.contact-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-card); }
.contact-card h2 { margin-top: 18px; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { padding-bottom: 18px; border-bottom: 1px solid var(--color-border); }
.contact-list span { display: block; color: var(--color-muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-list strong { display: block; margin-top: 6px; color: var(--color-secondary); line-height: 1.5; }
.contact-list a { color: var(--color-primary-dark); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.appointment-form h3 { margin-top: 12px; }
.appointment-form p { margin-top: 8px; font-size: 14px; }
.appointment-form label { display: grid; gap: 7px; color: var(--color-secondary); font-weight: 800; margin-top: 16px; }
.appointment-form label span { color: var(--color-primary); }
.appointment-form {
  margin-top: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
input, select { width: 100%; border: 1px solid var(--color-border); border-radius: 14px; padding: 13px 14px; color: var(--color-ink); background: #fbfdff; outline: none; }
input:focus, select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(8,126,196,0.1); }
.appointment-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding-right: 36px;

  background-color: #fbfdff;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.41 0.59L6 5.17L10.59 0.59L12 2L6 8L0 2L1.41 0.59Z' fill='%2307364A'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 12px 8px;
}

.appointment-form select::-ms-expand {
  display: none;
}
.appointment-form button { width: 100%; margin-top: 20px; }
.field-note {
  display: block;
  margin-top: 8px;
  color: #5f7480;
  font-size: 13px;
  line-height: 1.5;
}
.form-message { background: var(--color-soft); padding: 12px; border-radius: 12px; color: var(--color-primary-dark); }
.site-footer { background: #0b2738; color: var(--color-white); padding: 52px 0 24px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.footer-brand .brand-copy strong { color: var(--color-white); }
.site-footer p { color: rgba(255,255,255,0.68); margin-top: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,0.76); font-weight: 800; }
.footer-links a:hover { color: var(--color-white); }
.footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,0.56); font-size: 14px; }
.footer-credit {
  display: inline-block;
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-credit .heart {
  color: #e63946;
  font-size: 22px;
  line-height: 1;
}

.footer-credit a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .hero-image-card img {
    height: 400px;
  }
  .hero-visual .floating-card-top {
    left: 20px;
  }
  .hero-visual .floating-card-bottom {
    right: 20px;
  }
}

@media (max-width: 980px) {
  .header-actions { display: none; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: var(--header-height); left: 20px; right: 20px; padding: 18px; border-radius: 22px; background: var(--color-white); box-shadow: var(--shadow-card); border: 1px solid var(--color-border); display: none; flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .hero-grid, .split-grid, .split-grid-reverse, .reviews-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 70px; }
  .hero-visual { min-height: auto; order: initial; }
  .hero-image-card img {
    height: 360px;
  }
  .hero-visual .floating-card-top {
    top: 28px;
    left: 28px;
  }

  .hero-visual .floating-card-bottom {
    right: 28px;
    bottom: 28px;
  }
  h1 {
    font-size: clamp(42px, 7vw, 58px);
    line-height: 1.08;
  }
  .hero {
    padding-top: 104px;
  }
/* 
  .hero-visual {
    min-height: auto;
  } */
  .hero-grid { gap: 44px; }
  .about-image-card img {
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: 360px;
  }
  .about .section-media {
    order: 2;
  }

  .about .section-copy {
    order: 1;
  }
  .services {
    padding-top: 0px;
  }
  .reviews{
    padding-top: 0px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
  }

  .reviews .section-copy {
    max-width: 620px;
  }

  .reviews .section-copy .btn {
    margin-top: 24px;
  }

  .review-cards {
    gap: 18px;
  }

  .review-card {
    max-width: none;
    padding: 26px;
  }

  .review-card p {
    font-size: 16px;
    line-height: 1.65;
  }
  .trust-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card.offset { margin-left: 0; }
    .why-image-card img {
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: 360px;
  }
}

@media (max-width: 768px) {
  .hero-image-card {
    border-radius: 28px;
  }
  .hero-image-card img {
    height: 340px;
  }
  .floating-card {
    padding: 14px 16px;
    border-radius: 16px;
  }
  .floating-card-top {
    top: 18px;
    left: 18px;
  }
  .floating-card-bottom {
    right: 18px;
    bottom: 18px;
  }
  .framed-image {
    padding: 12px;
    border-radius: 30px;
  }
  .framed-image img {
    border-radius: 22px;
  }
  .why-image-card img {
    min-height: 320px;
  }
  .footer-credit {
    display: block;
    margin-left: 0;
    margin-top: 8px;
  }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .site-header { height: 72px; }
  .brand-copy small { display: none; }
  .hero { padding-top: 118px; }
  .trust-grid, .service-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions, .contact-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-visual { min-height: 380px; }
  .visual-card-main { inset: 8px 0 0 0; border-radius: 32px; }
  .floating-card { position: relative; max-width: none; margin-top: 12px; }
  .floating-card-top, .floating-card-bottom { inset: auto; }
  .tooth { width: 130px; height: 168px; }
  .smile-line { width: 230px; transform: translateY(90px); }
  .image-placeholder { min-height: 350px; border-radius: 26px; padding: 22px; }
  .cta-card, .contact-card, .appointment-form { padding: 28px 22px; border-radius: 28px; }
  .footer-grid, .footer-bottom { flex-direction: column; }
  .hero-grid {
    gap: 30px;
  }

  .hero-actions {
    margin-top: 26px;
    margin-bottom: 34px;
  }

  .hero-image-card {
    padding: 10px;
    border-radius: 28px;
  }

  .hero-image-card img {
    height: 300px;
    border-radius: 20px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual .floating-card {
    display: none;
  }
}

/* WordPress theme refinements */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.brand-mark-logo { overflow: hidden; background: linear-gradient(135deg, #0b2738, var(--color-primary)); }
.brand-mark-logo img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15)); }
.site-footer .brand-mark-logo { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); }
.current-menu-item > a { color: var(--color-primary); }
