/* Beautiful Smiles - Index Page Only
   Premium dental palette: deep ocean blue + clear dental blue + soft sky + warm porcelain
*/

:root {
  --navy: #0A3554;
  --navy-2: #062A43;
  --blue: #168EC6;
  --blue-bright: #25A9DC;
  --teal: #4DBFC1;
  --sky: #EAF8FD;
  --sky-2: #F5FCFF;
  --porcelain: #FBF8F3;
  --sand: #EFE5D7;
  --line: #D9ECF3;
  --text: #263C4C;
  --muted: #6D7F8B;
  --white: #FFFFFF;
  --shadow: 0 24px 70px rgba(10, 53, 84, 0.12);
  --soft-shadow: 0 12px 36px rgba(10, 53, 84, 0.09);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--white);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 53, 84, .08);
}

.nav-wrap {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: 225px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: color .25s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.phone-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .03em;
  border: 1px solid transparent;
  box-shadow: 0 14px 30px rgba(22,142,198,.22);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(22,142,198,.30);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 12px;
}

.btn-outline {
  color: var(--blue);
  background: rgba(255,255,255,.78);
  border-color: rgba(22,142,198,.45);
  box-shadow: none;
}

.btn-outline.dark {
  background: transparent;
  border-color: var(--blue);
  color: var(--navy);
}

.btn-outline.white {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(6,42,67,.12);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 675px;
  background:
    radial-gradient(circle at 75% 18%, rgba(77,191,193,.22), transparent 26%),
    linear-gradient(120deg, #FFFFFF 0%, #F4FCFF 46%, #E2F5FC 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 43%, rgba(234,248,253,.50) 70%, rgba(251,248,243,.70) 100%),
    radial-gradient(circle at 7% 70%, rgba(239,229,215,.85), transparent 28%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: 70px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37,169,220,.12), rgba(77,191,193,.15));
  filter: blur(2px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .78fr);
  align-items: center;
  gap: 54px;
  padding: 70px 0 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255,255,255,.88);
}

.hero h1,
.section-copy h2,
.welcome-copy h2,
.center-heading h2,
.doctor-bio h2,
.finance-card h2,
.appointment-card h2,
.contact-card h2,
.contact-form h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 5.5vw, 82px);
  letter-spacing: -.045em;
}

.hero h1 span,
.section-copy h2 span {
  color: var(--blue);
}

.hero-text {
  width: min(600px, 100%);
  margin: 24px 0 30px;
  font-size: 18px;
  color: #3A5060;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  display: flex;
  gap: 0;
  margin-top: 45px;
  max-width: 690px;
  border-top: 1px solid rgba(10,53,84,.10);
  border-bottom: 1px solid rgba(10,53,84,.10);
}

.trust-row div {
  flex: 1;
  padding: 18px 22px;
  border-right: 1px solid rgba(10,53,84,.10);
}

.trust-row div:first-child {
  padding-left: 0;
}

.trust-row div:last-child {
  border-right: 0;
}

.trust-row strong {
  color: var(--navy);
  display: block;
  font-size: 14px;
}

.trust-row span {
  color: var(--muted);
  font-size: 13px;
}

.hero-portrait {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.portrait-card {
  position: relative;
  width: min(460px, 100%);
  border-radius: 32px 32px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fff, var(--sky));
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(10,53,84,.10));
  z-index: 1;
}

.portrait-card img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 50% 16%;
}

.floating-card {
  position: absolute;
  left: 0;
  bottom: 38px;
  z-index: 4;
  background: rgba(255,255,255,.93);
  border: 1px solid rgba(22,142,198,.18);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: var(--soft-shadow);
}

.floating-card strong {
  display: block;
  color: var(--navy);
}

.floating-card span {
  color: var(--muted);
  font-size: 13px;
}

/* Service Strip */

.service-strip {
  background: linear-gradient(180deg, #F6FCFF, #FFFFFF);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.service-item {
  text-align: center;
  padding: 44px 18px 40px;
  border-right: 1px solid var(--line);
}

.service-item:last-child {
  border-right: 0;
}

.icon,
.why-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--blue);
  border: 1px solid rgba(22,142,198,.25);
  border-radius: 22px;
  background: rgba(255,255,255,.85);
  font-size: 26px;
}

.service-item h3,
.why-grid h3,
.expertise-card h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 10px;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* Gallery */

.gallery-section {
  padding: 80px 0;
  background: var(--white);
}

.gallery-layout {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 42px;
  align-items: center;
}

.section-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 52px);
}

.section-copy p {
  color: var(--muted);
  margin: 0 0 24px;
}

.smile-gallery {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 18px;
  align-items: center;
}

.smile-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.smile-card {
  background: #fff;
  border: 1px solid rgba(10,53,84,.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(10,53,84,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.smile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--soft-shadow);
}

.smile-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
}

.gallery-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(10,53,84,.08);
}

/* Welcome */

.welcome-section {
  padding: 75px 0;
  background: linear-gradient(180deg, #FFFFFF, var(--sky-2));
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 55px;
  align-items: center;
}

.office-card {
  border-radius: 0 42px 42px 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.office-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.welcome-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 4vw, 56px);
}

.welcome-copy p {
  color: #536977;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.stats div {
  padding: 18px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  text-align: center;
}

.stats strong {
  color: var(--blue);
  display: block;
  font-size: 28px;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-size: 12px;
  display: block;
  margin-top: 8px;
}

/* Why */

.why-section {
  padding: 78px 0;
  background:
    linear-gradient(180deg, #F3FBFF 0%, #FFFFFF 100%);
}

.center-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.center-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-grid article {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(22,142,198,.12);
  border-radius: 22px;
  padding: 34px 26px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(10,53,84,.05);
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Doctor */

.doctor-section {
  padding: 90px 0 65px;
  background: var(--white);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 300px 1fr 335px;
  gap: 52px;
  align-items: center;
}

.doctor-photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sky);
}

.doctor-photo img {
  height: 385px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor-bio h2 {
  margin: 0;
  font-size: 42px;
}

.role {
  margin: 4px 0 14px;
  color: var(--blue);
  font-weight: 800;
}

.check-list,
.expertise-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.check-list li,
.expertise-card li {
  position: relative;
  padding-left: 28px;
  margin: 9px 0;
  color: #3E5666;
}

.check-list li::before,
.expertise-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 900;
}

.expertise-card {
  border: 1px solid rgba(22,142,198,.35);
  border-radius: 22px;
  padding: 30px 34px;
  background: linear-gradient(180deg, #fff, #F7FCFF);
}

/* Testimonials */

.testimonials {
  padding: 72px 0;
  background: linear-gradient(180deg, #FFFFFF, #F7FCFF);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-grid article {
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(10,53,84,.08);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(10,53,84,.06);
}

.stars {
  color: #F4A61E;
  letter-spacing: 2px;
  font-size: 18px;
}

.testimonial-grid p {
  color: #506573;
}

/* Booking */

.booking-section {
  padding: 35px 0 75px;
  background: #F7FCFF;
}

.booking-grid {
  display: grid;
  grid-template-columns: .85fr 1.6fr;
  gap: 26px;
}

.finance-card,
.appointment-card {
  border-radius: 24px;
  padding: 34px;
  overflow: hidden;
}

.finance-card {
  background:
    radial-gradient(circle at 85% 18%, rgba(77,191,193,.22), transparent 22%),
    var(--white);
  border: 1px solid rgba(10,53,84,.08);
  box-shadow: 0 12px 30px rgba(10,53,84,.06);
}

.finance-card h2,
.appointment-card h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.appointment-card {
  background:
    radial-gradient(circle at 88% 20%, rgba(255,255,255,.26), transparent 18%),
    linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  box-shadow: 0 20px 50px rgba(22,142,198,.22);
}

.appointment-card h2 {
  color: #fff;
}

.appointment-card p {
  color: rgba(255,255,255,.88);
}

/* Contact */

.contact-section {
  padding: 80px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.35fr;
  gap: 28px;
}

.contact-card {
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  color: #fff;
  font-size: 34px;
  margin: 0 0 18px;
}

.contact-card a {
  color: #fff;
}

.contact-form {
  border-radius: 24px;
  padding: 36px;
  border: 1px solid rgba(10,53,84,.08);
  box-shadow: var(--soft-shadow);
  background:
    linear-gradient(180deg, #FFFFFF, #F9FDFF);
}

.contact-form h2 {
  font-size: 34px;
  margin: 0 0 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  margin-bottom: 16px;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22,142,198,.10);
}

textarea {
  min-height: 125px;
  resize: vertical;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Footer */

.site-footer {
  background: #072C46;
  color: rgba(255,255,255,.82);
}

.footer-grid {
  padding: 50px 0;
  display: grid;
  grid-template-columns: 1.5fr .8fr 1fr;
  gap: 40px;
}

.site-footer img {
  width: 230px;
  margin-bottom: 14px;
}

.site-footer h3 {
  color: #fff;
  margin: 0 0 14px;
}

.site-footer a {
  display: block;
  text-decoration: none;
  margin: 7px 0;
  color: rgba(255,255,255,.82);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
}

/* Mobile */

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

@media (max-width: 1080px) {
  .nav-wrap {
    height: auto;
    min-height: 78px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav,
  .header-actions {
    display: none;
    width: 100%;
  }

  .main-nav.open,
  .header-actions.open {
    display: flex;
  }

  .main-nav.open {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
    gap: 12px;
  }

  .header-actions.open {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 18px;
  }

  .hero-grid,
  .welcome-grid,
  .doctor-grid,
  .gallery-layout,
  .booking-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .portrait-card {
    max-width: 420px;
  }

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

  .service-item {
    border-bottom: 1px solid var(--line);
  }

  .why-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand img {
    width: 190px;
  }

  .hero-grid {
    padding: 48px 0;
    gap: 30px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-text {
    font-size: 16px;
  }

  .trust-row {
    flex-direction: column;
  }

  .trust-row div {
    border-right: 0;
    border-bottom: 1px solid rgba(10,53,84,.10);
    padding-left: 0;
  }

  .service-grid,
  .smile-track,
  .why-grid,
  .testimonial-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-arrow {
    display: none;
  }

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

  .portrait-card img {
    height: 460px;
  }

  .floating-card {
    left: 14px;
    bottom: 16px;
  }

  .gallery-section,
  .welcome-section,
  .why-section,
  .doctor-section,
  .testimonials,
  .contact-section {
    padding: 58px 0;
  }
}
