/* Serene Dental - HTML made from approved design image */
:root {
  --blue: #064e78;
  --blue-2: #0b729b;
  --blue-dark: #003d61;
  --gold: #d99a22;
  --gold-2: #f0b23f;
  --text: #0a3457;
  --muted: #536a7b;
  --line: #dce8ee;
  --soft: #eef7fb;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(0, 46, 78, .14);
  --serif: "Noto Serif", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page {
  width: min(1200px, 94%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue-2);
}

.logo-mark svg {
  width: 42px;
  height: 42px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #071f38;
  font-size: 14px;
  font-weight: 800;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.hero-section {
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.93) 40%, rgba(255,255,255,.25) 70%),
    url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center right;
}

.hero {
  min-height: 390px;
  display: grid;
  grid-template-columns: 47% 53%;
  align-items: center;
  position: relative;
  padding: 42px 0 24px;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #0b3b64;
  margin: 0 0 18px;
}

.hero-copy p {
  color: #1e3144;
  font-size: 18px;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn {
  min-height: 46px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #fff;
}

.btn-video {
  background: #fff;
  color: var(--blue);
  border-color: #6b8da2;
}

.stat-box {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat-item {
  min-width: 150px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 10px;
  align-items: center;
}

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

.stat-item i {
  grid-row: span 2;
  color: var(--blue-2);
  font-size: 28px;
  font-style: normal;
}

.stat-item strong {
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.stat-item span {
  color: #203244;
  font-size: 12px;
}

.consult-card {
  position: absolute;
  right: 0;
  bottom: 26px;
  width: 190px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 26px 18px;
  text-align: center;
}

.consult-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 2px solid #f4deb0;
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.consult-card strong,
.consult-card span {
  display: block;
}

.consult-card strong {
  margin-bottom: 6px;
  color: #19364e;
}

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

.promo {
  position: relative;
  padding: 16px 0 8px;
}

.promo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.promo-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 3;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
}

.promo-arrow.left { left: 8px; }
.promo-arrow.right { right: 8px; }

.clinic-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 6px 0 18px;
}

.clinic-strip img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
}

.section {
  padding: 22px 0;
}

.services-layout {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 28px;
  align-items: stretch;
}

.side-title h2 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.22;
  color: var(--blue);
  margin: 26px 0 16px;
}

.gold-line {
  width: 38px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 42px;
}

.side-title a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.service-card.featured {
  color: #fff;
  background: linear-gradient(180deg, #006380, #004c71);
}

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

.service-card div {
  padding: 18px;
}

.service-card h3 {
  margin: 0 0 8px;
  color: inherit;
}

.service-card p {
  margin: 0 0 14px;
  color: inherit;
  opacity: .9;
  font-size: 13px;
}

.service-card a {
  color: inherit;
  font-size: 13px;
  font-weight: 800;
}

.consult-banner {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 18px;
  align-items: center;
  background: linear-gradient(90deg, #edf7fd, #f7fbfe);
  border: 1px solid #cde4f0;
  border-radius: 10px;
  padding: 18px 28px;
  margin-top: 8px;
  margin-bottom: 18px;
}

.calendar-icon {
  color: var(--blue-2);
  font-size: 46px;
  text-align: center;
}

.consult-banner h2 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--blue);
  margin: 0 0 4px;
}

.consult-banner p {
  margin: 0;
  color: var(--text);
}

.tech-layout {
  display: grid;
  grid-template-columns: 245px 260px 1fr;
  gap: 28px;
  align-items: center;
}

.tech-list {
  display: grid;
  gap: 18px;
}

.tech-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
}

.tech-list i {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border: 1px solid #c5dce8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-style: normal;
}

.tech-list h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.tech-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.tech-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tech-images img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: 8px;
}

.side-title.full h2 {
  margin: 0 0 10px;
}

.side-title.full .gold-line {
  margin-bottom: 18px;
}

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

.case-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.case-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
}

.case-card div {
  padding: 14px 16px 10px;
}

.case-card h3 {
  margin: 0 0 4px;
  color: var(--blue);
}

.case-card p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 13px;
}

.case-card a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.video-layout {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 28px;
}

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

.video-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  text-align: center;
  color: var(--blue);
  font-weight: 800;
}

.video-thumb {
  height: 170px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-thumb button {
  position: absolute;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--blue);
  font-size: 22px;
  cursor: pointer;
}

.video-grid h3 {
  margin: 0;
  padding: 12px;
  font-size: 14px;
}

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

.doctor-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.doctor-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}

.doctor-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.doctor-info strong {
  color: var(--navy, #0b3a53);
  font-size: 16px;
}

.doctor-info span {
  color: #5b6b76;
  font-size: 13px;
}

.testimonial {
  min-height: 88px;
  background: linear-gradient(90deg, #004c72, #00415f);
  color: #fff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 260px auto;
  gap: 18px;
  align-items: center;
  padding: 18px 30px;
  margin-top: 14px;
  margin-bottom: 0;
}

.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
  text-align: center;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.person img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.person strong,
.person span {
  display: block;
}

.booking {
  background: linear-gradient(90deg, #004c72, #00415f);
  color: #fff;
  padding: 24px 0;
}

.booking-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
}

.booking-info h2 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 6px;
}

.booking-info p {
  margin: 0 0 14px;
  color: rgba(255,255,255,.85);
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-pills span {
  border: 1px solid rgba(255,255,255,.35);
  padding: 8px 14px;
  border-radius: 999px;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 14px;
}

.form-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 14px;
  font: inherit;
  outline: none;
}

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

.booking-form textarea {
  grid-column: 1;
}

.booking-form button {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  border-radius: 6px;
  font-size: 16px;
}

.footer {
  background: #fff;
  padding: 28px 0 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 26px;
  align-items: start;
}

.footer .brand {
  font-size: 18px;
  margin-bottom: 8px;
}

.footer .logo-mark,
.footer .logo-mark svg {
  width: 34px;
  height: 34px;
}

.footer-brand p {
  color: var(--blue);
  margin: 0 0 12px;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 26px;
  height: 26px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
}

.footer h3 {
  color: var(--blue);
  margin: 0 0 10px;
  font-size: 15px;
  text-transform: uppercase;
}

.footer a,
.footer p {
  display: block;
  color: #18384f;
  margin: 5px 0;
  font-size: 13px;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #5f7180;
  font-size: 12px;
}

@media (max-width: 1050px) {
  .main-nav {
    display: none;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 66px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

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

  .consult-card {
    display: none;
  }

  .clinic-strip,
  .service-grid,
  .case-grid,
  .doctor-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-layout,
  .tech-layout,
  .video-layout,
  .booking-inner {
    grid-template-columns: 1fr;
  }

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

  .person {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .brand {
    font-size: 19px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .stat-box,
  .clinic-strip,
  .service-grid,
  .tech-images,
  .case-grid,
  .video-grid,
  .doctor-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .clinic-strip img {
    height: 180px;
  }

  .consult-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonial blockquote {
    font-size: 22px;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .booking-form textarea,
  .booking-form button {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
