:root {
  --ink: #102126;
  --muted: #5d6f73;
  --paper: #f6f8f7;
  --surface: #ffffff;
  --teal: #0d4f57;
  --teal-strong: #07373e;
  --mint: #cde9e1;
  --sky: #d8ecf4;
  --clay: #b76d4d;
  --line: #dce6e4;
  --shadow: 0 18px 48px rgba(16, 33, 38, 0.14);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: clip;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(13, 79, 87, 0.36);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  min-height: 76px;
  padding: 0.85rem 5vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 230, 228, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  color: #ffffff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1.15rem;
  color: #24363b;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--clay);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1.05rem;
  color: #ffffff;
  background: var(--teal);
  border-radius: var(--radius);
  font-weight: 800;
}

.header-cta:hover {
  background: var(--teal-strong);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-line {
  display: block;
  width: 19px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("assets/hero-dental-clinic.jpg");
  background-position: center 46%;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 55, 62, 0.93) 0%, rgba(7, 55, 62, 0.72) 48%, rgba(7, 55, 62, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 33, 38, 0.7) 0%, rgba(16, 33, 38, 0) 42%);
}

.hero-inner {
  display: flex;
  width: min(1120px, 90vw);
  min-height: 82svh;
  margin: 0 auto;
  padding: 5.4rem 0 5rem;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 0.72rem;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d8f4ee;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: 4.45rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.22rem;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.24rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.91);
  font-size: 1.17rem;
}

.hero-actions,
.location-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(13, 79, 87, 0.24);
}

.btn-primary:hover {
  background: var(--teal-strong);
}

.btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.btn-outline {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-outline:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.quick-info {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1120px, 90vw);
  margin: -2.4rem auto 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-info div {
  min-height: 106px;
  padding: 1.22rem;
  border-right: 1px solid var(--line);
}

.quick-info div:last-child {
  border-right: 0;
}

.quick-info span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.quick-info strong {
  display: block;
  margin-top: 0.24rem;
  font-size: 1.04rem;
  line-height: 1.3;
}

.section,
.feature-section,
.hours-section,
.location-section,
.contact-section,
.faq-section {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.section {
  padding: 6.3rem 0;
}

.section-intro {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 2rem;
  align-items: start;
}

.intro-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.feature-copy p,
.hours-section p,
.location-copy p,
.contact-copy p,
.faq-list p {
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.trust-strip article,
.service-card,
.hours-card,
.message-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 33, 38, 0.07);
}

.trust-strip article {
  min-height: 212px;
  padding: 1.18rem;
}

.trust-strip span,
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  margin-bottom: 1.25rem;
  color: var(--teal-strong);
  background: var(--mint);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.trust-strip strong {
  display: block;
  margin-bottom: 0.42rem;
  font-size: 1.04rem;
}

.trust-strip p {
  margin-bottom: 0;
  color: var(--muted);
}

.services-section {
  padding-top: 1rem;
}

.section-heading {
  display: grid;
  max-width: 735px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 1.3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 246px;
  padding: 1.35rem;
}

.service-card:nth-child(2) {
  border-top: 5px solid var(--clay);
}

.service-card:nth-child(3) {
  border-top: 5px solid var(--teal);
}

.service-card p {
  color: var(--muted);
}

.feature-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
  padding: 1rem 0 6rem;
}

.feature-image {
  overflow: hidden;
  min-height: 440px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-image img {
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.feature-copy {
  padding: 2rem 0;
}

.check-list {
  display: grid;
  gap: 0.58rem;
  margin: 1.35rem 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  color: #263c40;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 0.58rem;
  height: 0.58rem;
  background: var(--clay);
  border-radius: 50%;
}

.text-link {
  display: inline-flex;
  margin-top: 0.35rem;
  color: var(--teal);
  border-bottom: 2px solid currentColor;
  font-weight: 900;
}

.hours-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  background:
    linear-gradient(135deg, rgba(205, 233, 225, 0.9), rgba(255, 255, 255, 0.82) 48%, rgba(216, 236, 244, 0.86)),
    var(--surface);
  border: 1px solid rgba(13, 79, 87, 0.13);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hours-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.hours-card div {
  min-height: 160px;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
}

.hours-card div:last-child {
  border-right: 0;
}

.hours-card span {
  display: block;
  margin-bottom: 0.72rem;
  color: var(--muted);
  font-weight: 800;
}

.hours-card strong {
  display: block;
  line-height: 1.4;
}

.location-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 2rem;
  align-items: stretch;
  padding: 6.2rem 0;
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

address {
  margin: 0.2rem 0 1.3rem;
  color: #263c40;
  font-style: normal;
  font-weight: 800;
}

.map-wrap {
  overflow: hidden;
  min-height: 430px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
  padding: 3rem;
  color: var(--ink);
  background: var(--teal-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-section .eyebrow,
.contact-section h2,
.contact-section p {
  color: #ffffff;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-photo {
  overflow: hidden;
  width: min(100%, 430px);
  aspect-ratio: 4 / 3;
  max-height: 280px;
  margin-top: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

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

.message-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  color: var(--ink);
}

.form-heading {
  display: grid;
  gap: 0.24rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.form-heading span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-heading h3 {
  margin-bottom: 0;
  font-size: 1.18rem;
}

.message-form label {
  display: grid;
  gap: 0.35rem;
  color: #24363b;
  font-weight: 900;
}

.message-form input,
.message-form select,
.message-form textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: #fbfdfc;
  border: 1px solid #cfdcda;
  border-radius: var(--radius);
}

.message-form textarea {
  resize: vertical;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.faq-section {
  padding: 6rem 0;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
}

details {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 900;
}

details p {
  margin: 0.75rem 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 5vw;
  color: #ffffff;
  background: #071b20;
}

.site-footer p {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.62rem 0.82rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  font-weight: 800;
}

.footer-actions a:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
    align-content: center;
    justify-self: end;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 5vw;
    display: none;
    width: min(330px, 90vw);
    padding: 0.8rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav a {
    display: block;
    padding: 0.8rem;
  }

  body.nav-open .nav {
    display: grid;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .quick-info,
  .trust-strip,
  .services-grid,
  .hours-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-info div:nth-child(2),
  .hours-card div:nth-child(2) {
    border-right: 0;
  }

  .quick-info div:nth-child(-n+2),
  .hours-card div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .section-intro,
  .feature-section,
  .hours-section,
  .location-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-section,
  .hours-section {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 68px;
    padding: 0.7rem 1rem;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 0.75rem;
  }

  .brand {
    max-width: calc(100vw - 84px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-copy strong {
    font-size: 0.93rem;
  }

  .brand-copy small {
    font-size: 0.76rem;
  }

  .nav {
    right: 1rem;
  }

  .hero,
  .hero-inner {
    min-height: 76svh;
  }

  .hero-inner {
    width: calc(100vw - 2rem);
    max-width: none;
    padding: 4.25rem 0 4rem;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 55, 62, 0.94) 0%, rgba(7, 55, 62, 0.76) 100%),
      linear-gradient(0deg, rgba(16, 33, 38, 0.7) 0%, rgba(16, 33, 38, 0) 42%);
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .location-actions,
  .footer-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .quick-info,
  .trust-strip,
  .services-grid,
  .hours-card,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .quick-info {
    width: calc(100% - 2rem);
    margin-top: -1.6rem;
  }

  .quick-info div,
  .quick-info div:nth-child(2),
  .hours-card div,
  .hours-card div:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-info div:last-child,
  .hours-card div:last-child {
    border-bottom: 0;
  }

  .section,
  .feature-section,
  .hours-section,
  .location-section,
  .contact-section,
  .faq-section {
    width: calc(100% - 2rem);
  }

  .section {
    padding: 4.5rem 0;
  }

  .services-section {
    padding-top: 0;
  }

  .feature-section,
  .location-section,
  .faq-section {
    gap: 1.4rem;
    padding: 4.2rem 0;
  }

  .feature-image,
  .feature-image img,
  .map-wrap,
  .map-wrap iframe {
    min-height: 320px;
  }

  .contact-section,
  .hours-section {
    padding: 1.25rem;
  }

  .contact-photo {
    aspect-ratio: 16 / 9;
    max-height: 190px;
  }

  .site-footer {
    display: grid;
    padding: 1.5rem 1rem;
  }

  .footer-actions a {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
