:root {
  --white: #ffffff;
  --paper: #f7fbfa;
  --ice: #eaf9fb;
  --mint: #8ff0d2;
  --lime: #d9ff88;
  --coral: #ff8668;
  --petrol: #063f4a;
  --deep: #08282f;
  --blue: #2a8ea2;
  --line: rgba(6, 63, 74, 0.14);
  --muted: #688087;
  --text: #17383f;
  --shadow: 0 24px 70px rgba(6, 63, 74, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(6, 63, 74, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(6, 63, 74, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 10%, rgba(143, 240, 210, 0.36), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(255, 134, 104, 0.16), transparent 22rem),
    var(--paper);
  background-size: 58px 58px, 58px 58px, auto, auto, auto;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
}

.navbar {
  width: min(1180px, calc(100% - 28px));
  min-height: 70px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 44px rgba(6, 63, 74, 0.12);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
  color: var(--petrol);
  font-weight: 800;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
  background: conic-gradient(from 140deg, var(--mint), var(--ice), var(--lime), var(--mint));
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.55);
}

.brand-text {
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--petrol);
  background: rgba(143, 240, 210, 0.22);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--petrol) !important;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--petrol);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 130px 0 52px;
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy {
  min-height: 560px;
  padding: 42px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(234, 249, 251, 0.7)),
    linear-gradient(90deg, rgba(6, 63, 74, 0.06) 1px, transparent 1px);
  background-size: auto, 38px 38px;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(6, 63, 74, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--petrol);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 640px;
  font-size: clamp(2.55rem, 5.6vw, 5rem);
  line-height: 0.98;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4rem);
}

h3 {
  font-size: 1.22rem;
}

.hero-copy p,
.section-heading p,
.intro-text,
.appointment-copy p {
  max-width: 660px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--petrol);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(6, 63, 74, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--deep);
  box-shadow: 0 20px 44px rgba(6, 63, 74, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.68);
  color: var(--petrol);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--petrol);
}

.btn-mint {
  background: #20a98e;
}

.diagnostic-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(8, 40, 47, 0.96), rgba(6, 63, 74, 0.88)),
    radial-gradient(circle at 26% 24%, rgba(143, 240, 210, 0.32), transparent 18rem);
  color: var(--white);
  box-shadow: var(--shadow);
}

.diagnostic-card::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  pointer-events: none;
}

.diagnostic-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: stretch;
}

.scan-card {
  position: relative;
  z-index: 2;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.scan-label {
  display: block;
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scan-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.75rem, 3.2vw, 2.8rem);
  line-height: 1;
}

.scan-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.diagnostic-chips {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 148px;
}

.diagnostic-chips span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--petrol);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.dental-device {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.device-screen {
  flex: 1;
  min-height: 290px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.07);
  background-size: 34px 34px;
}

.photo-frame {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.18);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-frame figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(6, 63, 74, 0.78);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.photo-frame figcaption strong,
.photo-frame figcaption span {
  display: block;
}

.photo-frame figcaption span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1.35;
}

.scan-lines {
  position: absolute;
  right: 28px;
  bottom: 26px;
  width: 120px;
  display: grid;
  gap: 8px;
}

.scan-lines span {
  height: 8px;
  border-radius: 999px;
  background: rgba(143, 240, 210, 0.42);
}

.scan-lines span:nth-child(2) {
  width: 76%;
}

.scan-lines span:nth-child(3) {
  width: 52%;
}

.device-panel {
  min-height: 76px;
  margin-top: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--deep);
  font-weight: 800;
}

.upload-photo {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
}

.upload-photo input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

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

.hero-strip div,
.proof {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(6, 63, 74, 0.08);
}

.hero-strip strong,
.proof strong {
  display: block;
  color: var(--petrol);
  font-size: 2rem;
  line-height: 1;
}

.hero-strip span,
.proof span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: end;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, auto);
  gap: 16px;
}

.service-card,
.benefit-item,
.doctor-card,
.treatment-card,
.step,
.testimonial,
.contact-info,
.appointment-form {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(6, 63, 74, 0.08);
}

.service-card {
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--white);
}

.service-large {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(145deg, var(--white), var(--ice));
}

.service-accent {
  background: linear-gradient(145deg, var(--petrol), #177285);
  color: var(--white);
}

.service-accent h3,
.service-accent a,
.service-accent .service-code {
  color: var(--white);
}

.service-code,
.treatment-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.service-card p,
.benefit-item p,
.doctor-card p,
.treatment-card p,
.testimonial p,
.step p {
  color: var(--muted);
}

.service-card a,
.treatment-card a,
.doctor-card button {
  width: fit-content;
  margin-top: 16px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.benefits-mosaic {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
  align-items: stretch;
}

.mosaic-title {
  min-height: 420px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius);
  background: var(--petrol);
  color: var(--white);
}

.mosaic-title h2,
.mosaic-title .eyebrow {
  color: var(--white);
}

.benefit-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefit-item {
  padding: 24px;
}

.benefit-item span {
  color: var(--petrol);
  font-weight: 800;
}

.doctor-row {
  display: grid;
  gap: 16px;
}

.doctor-card {
  min-height: 150px;
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.avatar {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--petrol);
  font-size: 1.25rem;
  font-weight: 800;
}

.avatar-a { background: linear-gradient(135deg, var(--mint), var(--ice)); }
.avatar-b { background: linear-gradient(135deg, var(--lime), var(--ice)); }
.avatar-c { background: linear-gradient(135deg, #b7f0ff, var(--mint)); }

.doctor-card span {
  color: var(--blue);
  font-weight: 800;
}

.need-shell {
  padding: 34px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(6, 63, 74, 0.98), rgba(8, 40, 47, 0.92)),
    radial-gradient(circle at 82% 16%, rgba(143, 240, 210, 0.22), transparent 20rem);
  color: var(--white);
  box-shadow: var(--shadow);
}

.need-shell h2,
.need-shell .eyebrow {
  color: var(--white);
}

.need-shell p {
  color: rgba(255, 255, 255, 0.74);
}

.need-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.need-btn {
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}

.need-btn.active {
  background: var(--mint);
  color: var(--deep);
}

.recommendation {
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 800;
}

.treatment-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 16px;
}

.treatment-card {
  min-height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.treatment-card:first-child {
  grid-row: span 2;
  min-height: 576px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(234, 249, 251, 0.72)),
    radial-gradient(circle at 74% 28%, rgba(217, 255, 136, 0.6), transparent 13rem);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.step {
  padding: 26px;
}

.step span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
}

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

.testimonial-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.testimonial-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 16px;
}

.testimonial {
  min-height: 210px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.featured-testimonial {
  grid-row: span 2;
  min-height: 436px;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(6, 63, 74, 0.98), rgba(8, 40, 47, 0.92)),
    radial-gradient(circle at 82% 12%, rgba(143, 240, 210, 0.3), transparent 18rem);
  color: var(--white);
}

.quote-mark {
  position: absolute;
  top: 18px;
  right: 26px;
  color: rgba(143, 240, 210, 0.26);
  font-size: 8rem;
  line-height: 1;
  font-weight: 800;
}

.patient-row {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.patient-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--lime));
  color: var(--deep);
  font-weight: 800;
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.42);
}

.testimonial p {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 1.08rem;
}

.featured-testimonial p {
  max-width: 540px;
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.18;
  font-weight: 800;
}

.testimonial cite {
  display: block;
  color: var(--petrol);
  font-style: normal;
  font-weight: 800;
}

.featured-testimonial cite {
  color: var(--white);
}

.testimonial small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.featured-testimonial small {
  color: rgba(255, 255, 255, 0.7);
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 2;
  padding-top: 16px;
  border-top: 1px solid rgba(6, 63, 74, 0.1);
  color: var(--blue);
  font-weight: 800;
}

.featured-testimonial .rating-row {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--mint);
}

.rating-row span {
  color: var(--coral);
  letter-spacing: 0;
}

.appointment,
.contact {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  align-items: start;
}

.appointment-copy,
.contact-info {
  position: sticky;
  top: 110px;
}

.mini-contact {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 800;
}

.appointment-form {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--petrol);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.contact-info {
  padding: 30px;
}

.contact-info p {
  margin: 14px 0;
  color: var(--muted);
}

.fake-map {
  min-height: 430px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(145deg, #b7f0ff, var(--mint));
  background-size: 42px 42px;
  box-shadow: var(--shadow);
}

.map-pin {
  width: 54px;
  height: 54px;
  border-radius: 50% 50% 50% 0;
  background: var(--petrol);
  transform: rotate(-45deg);
  box-shadow: 0 18px 36px rgba(6, 63, 74, 0.28);
}

.final-cta {
  padding: 54px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.final-cta h2,
.final-cta .eyebrow {
  color: var(--white);
}

.final-cta h2 {
  max-width: 880px;
  margin: 0 auto 26px;
}

.final-cta div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.final-cta .light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
}

.site-footer {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 38px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.site-footer strong {
  color: var(--petrol);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.68s ease, transform 0.68s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    border-radius: 28px;
  }

  .nav-menu {
    position: absolute;
    top: 82px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    border-radius: var(--radius);
  }

  .hero-grid,
  .intro-layout,
  .benefits-mosaic,
  .need-shell,
  .appointment,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .hero-copy,
  .diagnostic-card {
    min-height: auto;
  }

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

  .treatment-grid,
  .timeline,
  .testimonial-heading,
  .proof-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .treatment-card:first-child {
    grid-row: auto;
    min-height: 280px;
  }

  .appointment-copy,
  .contact-info {
    position: static;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  }

  .hero-copy {
    padding: 36px 34px 32px;
  }

  h1 {
    font-size: clamp(2.7rem, 5.1vw, 4.35rem);
    max-width: 560px;
  }

  .hero-copy p {
    max-width: 520px;
  }

  .diagnostic-card {
    padding: 20px;
  }

  .scan-card strong {
    font-size: 2.25rem;
  }

  .diagnostic-top {
    grid-template-columns: 1fr;
  }

  .diagnostic-chips {
    min-width: 0;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
  }

  .brand-text {
    display: none;
  }

  .hero {
    padding-top: 102px;
  }

  .hero-copy,
  .diagnostic-card,
  .need-shell,
  .final-cta {
    padding: 24px;
  }

  .hero-actions,
  .final-cta div {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-strip,
  .bento-grid,
  .benefit-stack,
  .doctor-card,
  .diagnostic-top,
  .need-buttons,
  .treatment-grid,
  .timeline,
  .proof-wall,
  .testimonial-heading,
  .testimonial-grid,
  .appointment-form {
    grid-template-columns: 1fr;
  }

  .featured-testimonial {
    min-height: 360px;
  }

  .service-large {
    grid-column: auto;
    grid-row: auto;
  }

  .doctor-card {
    text-align: left;
  }

  .diagnostic-chips {
    min-width: 0;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .device-screen {
    min-height: 280px;
  }

  .photo-frame {
    width: 100%;
  }

  .device-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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