:root {
  --ink: #12313d;
  --muted: #5d7076;
  --teal: #1ba7a5;
  --teal-dark: #0d787d;
  --leaf: #6ea36f;
  --mist: #eff8f7;
  --paper: #ffffff;
  --line: #d8e7e7;
  --warm: #f7f3ed;
  --shadow: 0 18px 48px rgba(18, 49, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 231, 231, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1500px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand img {
  width: min(300px, 52vw);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links a {
  color: #284c57;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--mist);
  color: var(--teal-dark);
}

.button {
  border: 1px solid transparent;
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 120, 125, 0.2);
}

.nav-links .button,
.nav-links .button:hover,
.nav-links .button[aria-current="page"] {
  background: var(--teal-dark);
  color: #fff;
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.hero-media {
  background: linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}

.hero-media img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: 76px 0;
}

.section.tight {
  padding: 48px 0;
}

.section.mist {
  background: var(--mist);
}

.section.warm {
  background: var(--warm);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(40px, 5vw, 68px);
}

h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.2vw, 46px);
}

h3 {
  font-size: 21px;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: #385862;
  font-size: clamp(18px, 1.6vw, 21px);
}

.copy {
  color: var(--muted);
  font-size: 17px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.stat-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal-dark);
  font-weight: 900;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.image-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

.image-frame img.home-secondary-image {
  object-position: center 42%;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #405e67;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf);
}

.page-hero {
  padding: 74px 0 58px;
  background:
    linear-gradient(90deg, rgba(239, 248, 247, 0.96), rgba(255, 255, 255, 0.84)),
    url("../images/victoria-dental-implant-clinic.webp") center / cover no-repeat;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 40px;
  align-items: start;
}

.side-note {
  border-left: 4px solid var(--teal);
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow);
}

.service-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px 22px;
  text-decoration: none;
}

.service-item span {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 7px;
  color: #294a55;
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.notice {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.message-box {
  max-width: 760px;
  margin-top: 26px;
}

.blog-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.post-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(18, 49, 61, 0.07);
}

.post-card:hover {
  border-color: rgba(27, 167, 165, 0.6);
}

.post-meta {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-wrap {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
}

.article-body {
  color: #35565f;
  font-size: 18px;
}

.article-body p {
  margin: 20px 0;
}

.article-body h2 {
  margin-top: 48px;
}

.article-body h3 {
  margin-top: 34px;
}

.article-panel,
.takeaways,
.faq-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
  padding: 26px;
  margin: 34px 0;
}

.takeaways ul,
.faq-block ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--mist);
  color: var(--ink);
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0d2832;
  color: #d6e5e8;
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.small {
  color: #a9c2c8;
  font-size: 14px;
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .intro,
  .feature-row,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 56px 0;
  }

  .image-frame img {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .nav-links a,
  .button {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 13px;
  }

  .hero-media img {
    min-height: 260px;
    object-position: 58% center;
  }

  .panel,
  .card {
    padding: 22px;
  }

  .service-item {
    grid-template-columns: 1fr;
  }
}
