:root {
  --navy-950: #071a36;
  --navy-900: #0a2244;
  --navy-800: #12325b;
  --blue-200: #dce9ef;
  --blue-100: #edf4f7;
  --gold-600: #b98636;
  --gold-500: #c99a4f;
  --gold-100: #f7ead2;
  --white: #ffffff;
  --paper: #fbfaf7;
  --ink: #0d2442;
  --muted: #627086;
  --line: rgba(10, 34, 68, 0.14);
  --shadow: 0 28px 70px rgba(7, 26, 54, 0.16);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-in {
  from {
    opacity: 0;
    clip-path: inset(8% 8% 8% 8%);
    transform: translateY(24px) scale(1.035);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0) scale(1);
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}

body::before {
  content: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 82px;
  padding: 16px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid transparent;
  background: rgba(251, 250, 247, 0.84);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(10, 34, 68, 0.09);
  box-shadow: 0 12px 36px rgba(7, 26, 54, 0.08);
}

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

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--gold-500);
  border: 1px solid rgba(185, 134, 54, 0.38);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  color: var(--navy-950);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--gold-600);
  font-size: 12px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.7vw, 36px);
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold-500);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--navy-950);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.74fr);
  gap: clamp(38px, 6vw, 94px);
  min-height: min(780px, calc(100vh - 82px));
  padding: clamp(48px, 7vw, 74px) clamp(22px, 6vw, 88px) clamp(26px, 4vw, 42px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 26, 54, 0.98) 0%, rgba(7, 26, 54, 0.9) 46%, rgba(7, 26, 54, 0.54) 100%),
    url("./assets/alivio-bg-split-dark-light.png") center calc(50% + var(--parallax-y, 0px)) / cover no-repeat,
    var(--navy-950);
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: -26vw;
  z-index: 0;
  width: 58vw;
  height: 58vw;
  min-width: 620px;
  min-height: 620px;
  background: radial-gradient(circle, rgba(220, 233, 239, 0.56), rgba(220, 233, 239, 0) 66%);
  content: "";
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
  max-width: 700px;
}

.hero-copy > *,
.hero-media {
  animation: hero-rise 780ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 90ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 170ms;
}

.hero-copy > :nth-child(4) {
  animation-delay: 230ms;
}

.hero-copy > :nth-child(5) {
  animation-delay: 290ms;
}

.hero-copy > :nth-child(6) {
  animation-delay: 360ms;
}

.hero-copy > :nth-child(7) {
  animation-delay: 430ms;
}

.hero-media {
  animation-delay: 260ms;
}

.doctor-title {
  margin: 0 0 8px;
  color: var(--gold-500);
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.alivio-band h2,
.contact h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.04;
}

.hero h1 {
  color: var(--white);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(56px, 7.5vw, 108px);
  letter-spacing: 0;
}

.hero h1::after,
.section-heading h2::after {
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 22px;
  background: var(--gold-500);
  content: "";
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-lead {
  max-width: 550px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.28;
}

.doctor-credential {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(232, 194, 122, 0.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button svg,
.social-row svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  color: var(--white);
  background: var(--navy-950);
  box-shadow: 0 18px 42px rgba(7, 26, 54, 0.18);
}

.hero .button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, #e8c27a, var(--gold-500));
  box-shadow: 0 18px 46px rgba(201, 154, 79, 0.24);
}

.button-primary:hover {
  background: var(--navy-800);
}

.button-secondary {
  color: var(--navy-950);
  border-color: rgba(10, 34, 68, 0.22);
  background: rgba(255, 255, 255, 0.82);
}

.hero .button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.social-row a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy-950);
  border: 1px solid rgba(10, 34, 68, 0.12);
  background: rgba(255, 255, 255, 0.78);
}

.hero .social-row a {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-media {
  align-self: end;
  max-width: 580px;
  margin-inline: auto 0;
}

.hero-media img {
  width: 100%;
  max-height: calc(100vh - 132px);
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
}

.hero-media:hover img {
  transform: scale(1.018);
}

.section {
  padding: clamp(74px, 9vw, 124px) clamp(22px, 6vw, 88px);
}

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

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading span,
.contact-copy > span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(34px, 4.2vw, 58px);
}

.section-heading h2::after {
  margin-inline: auto;
}

.section-heading.align-left h2::after {
  margin-inline: 0;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.areas-grid article {
  min-height: 290px;
  padding: 38px 30px;
  border-right: 1px solid var(--line);
  transition: background 220ms ease, transform 220ms ease;
}

.areas-grid article:hover {
  background: rgba(255, 255, 255, 0.58);
  transform: translateY(-4px);
}

.areas-grid article:nth-child(3n) {
  border-right: 0;
}

.areas-grid article:nth-child(-n + 3) {
  border-bottom: 1px solid var(--line);
}

.area-icon {
  color: var(--gold-500);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.areas-grid h3,
.feature-article h3,
.link-list strong {
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.16;
}

.areas-grid p,
.about-copy p,
.credentials,
.feature-article p,
.link-list span,
.contact-copy p {
  color: var(--muted);
  font-size: 16px;
}

.about {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
  background: linear-gradient(180deg, var(--white), rgba(255, 255, 255, 0.88));
}

.about-image img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-image:hover img {
  transform: scale(1.018);
}

.about-copy {
  max-width: 690px;
}

.about-copy p {
  margin: 0;
}

.about-copy p + p {
  margin-top: 18px;
}

.credentials {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  position: relative;
  padding-left: 24px;
}

.credentials li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--gold-500);
  content: "";
}

.alivio-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(48px, 7vw, 86px) clamp(22px, 6vw, 88px);
  min-height: clamp(360px, 44vw, 520px);
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 26, 54, 0.94) 0%, rgba(7, 26, 54, 0.76) 44%, rgba(7, 26, 54, 0.2) 100%),
    url("./assets/dr-victor-capa-horizontal.png") center calc(50% + var(--parallax-y, 0px)) / cover no-repeat;
}

.alivio-band::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 54, 0.24), rgba(7, 26, 54, 0.42)),
    radial-gradient(circle at 12% 18%, rgba(201, 154, 79, 0.22), transparent 34%);
  content: "";
}

.alivio-band > * {
  position: relative;
  z-index: 1;
}

.alivio-label {
  display: block;
  margin: 0 0 8px;
  color: var(--gold-500);
  font-family: var(--serif);
  font-size: 28px;
}

.clinic-site-link {
  color: inherit;
  text-decoration: none;
}

.clinic-site-link:hover {
  color: var(--gold-500);
}

.alivio-band .clinic-site-link {
  text-underline-offset: 5px;
}

.alivio-band .clinic-site-link:hover {
  text-decoration: underline;
}

.alivio-band h2 {
  max-width: 780px;
  color: var(--white);
  font-size: clamp(31px, 3.8vw, 50px);
}

.alivio-text {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
}

.alivio-band .button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(7, 26, 54, 0.22);
  backdrop-filter: blur(10px);
}

.content-section {
  background: var(--white);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 5vw, 70px);
  max-width: 1180px;
  margin: 0 auto;
}

.feature-article {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 28px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.feature-article img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-article:hover img {
  transform: scale(1.018);
}

.feature-article h3 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.5vw, 46px);
}

.feature-article p {
  margin: 0;
}

.link-list {
  display: grid;
  align-content: center;
  border-top: 1px solid var(--line);
}

.link-list a {
  display: grid;
  gap: 8px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 220ms ease, border-color 220ms ease;
}

.link-list a:hover strong {
  color: var(--gold-600);
}

.link-list a:hover {
  padding-left: 12px;
  border-color: rgba(185, 134, 54, 0.34);
}

.link-list strong {
  font-size: 24px;
}

.testimonials {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: 78px clamp(22px, 6vw, 88px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 26, 54, 0.97), rgba(7, 26, 54, 0.88)),
    url("./assets/dr-victor-capa-horizontal.png") center / cover no-repeat;
}

.testimonials-heading {
  max-width: 440px;
}

.testimonials-heading span {
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.testimonials-heading h2 {
  margin: 14px 0 16px;
  color: var(--white);
  font-size: 44px;
  line-height: 1.08;
}

.testimonials-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.65;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.testimonial-carousel.is-dragging {
  cursor: grabbing;
}

.testimonial-track {
  display: flex;
  width: 400%;
  transform: translateX(0);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-card {
  display: grid;
  align-content: space-between;
  flex: 0 0 25%;
  min-height: 300px;
  padding: 42px;
}

.testimonial-card p {
  margin: 0;
  max-width: 760px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.22;
}

.testimonial-card footer {
  display: grid;
  gap: 6px;
  margin-top: 34px;
}

.testimonial-card strong {
  color: var(--gold-500);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-card span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.testimonial-dots {
  position: absolute;
  right: 34px;
  bottom: 28px;
  display: flex;
  gap: 9px;
}

.testimonial-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transition: width 220ms ease, background 220ms ease, transform 220ms ease;
}

.testimonial-dots button.is-active {
  width: 24px;
  background: var(--gold-500);
}

.testimonial-dots button:focus-visible,
.testimonial-nav:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 4px;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: var(--white);
  background: rgba(7, 26, 54, 0.52);
  backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0.72;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease, transform 180ms ease;
}

.testimonial-carousel:hover .testimonial-nav,
.testimonial-carousel:focus-within .testimonial-nav {
  opacity: 1;
}

.testimonial-nav:hover {
  background: rgba(201, 154, 79, 0.86);
}

.testimonial-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.testimonial-nav-prev {
  left: 18px;
}

.testimonial-nav-next {
  right: 18px;
}

.contact {
  padding: clamp(60px, 8vw, 92px) clamp(22px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.96), rgba(251, 250, 247, 0.82)),
    url("./assets/alivio-bg-light.png") center bottom / cover no-repeat;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(340px, 0.94fr);
  gap: 0;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact h2 {
  font-size: clamp(36px, 4.4vw, 62px);
}

.contact-copy {
  max-width: 640px;
  padding: clamp(34px, 5vw, 58px) clamp(26px, 5vw, 58px) clamp(34px, 5vw, 58px) 0;
}

.contact-copy p {
  max-width: 540px;
  margin: 18px 0 0;
}

.clinic-details {
  display: grid;
  gap: 6px;
  max-width: 560px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(10, 34, 68, 0.14);
  color: var(--muted);
  font-size: 15px;
}

.clinic-details strong {
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.clinic-name-link {
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.clinic-name-link:hover {
  color: var(--gold-600);
}

.contact-panel {
  display: grid;
  gap: 18px;
  align-content: center;
  min-width: 0;
  padding: clamp(34px, 5vw, 58px) 0 clamp(34px, 5vw, 58px) clamp(26px, 5vw, 58px);
  border-left: 1px solid var(--line);
}

.contact-panel .contact-actions {
  justify-content: flex-start;
  margin-top: 0;
}

.contact-panel iframe {
  width: 100%;
  min-height: 390px;
  border: 0;
  box-shadow: var(--shadow);
  filter: saturate(0.92) contrast(0.96);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-image[data-reveal],
.feature-article[data-reveal] {
  clip-path: inset(6% 0 6% 0);
}

.about-image[data-reveal].is-visible,
.feature-article[data-reveal].is-visible {
  clip-path: inset(0 0 0 0);
}

[data-reveal] .section-heading h2::after,
.section-heading[data-reveal] h2::after {
  transform: scaleX(0);
}

[data-reveal].is-visible .section-heading h2::after,
.section-heading[data-reveal].is-visible h2::after {
  transform: scaleX(1);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(22px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-950);
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand small {
  color: var(--gold-500);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-media {
    width: min(520px, 100%);
    margin-inline: 0;
  }

  .hero-media img {
    max-height: none;
  }

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

  .areas-grid article,
  .areas-grid article:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .areas-grid article:nth-child(2n) {
    border-right: 0;
  }

  .areas-grid article:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .about,
  .content-layout,
  .testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    padding-inline: 18px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 16px 18px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 250, 247, 0.96);
    box-shadow: 0 24px 42px rgba(7, 26, 54, 0.12);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(10, 34, 68, 0.08);
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .doctor-title {
    font-size: 32px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .areas-grid article,
  .areas-grid article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .areas-grid article:last-child {
    border-bottom: 0;
  }

  .about-image {
    order: 2;
  }

  .feature-article {
    grid-template-columns: 1fr;
  }

  .alivio-band,
  .testimonials,
  .contact,
  .site-footer {
    display: grid;
  }

  .testimonials {
    gap: 24px;
    padding: 54px 22px;
  }

  .testimonials-heading h2 {
    font-size: 34px;
  }

  .testimonial-card {
    min-height: 270px;
    padding: 28px 24px 54px;
  }

  .testimonial-card p {
    font-size: 27px;
  }

  .testimonial-dots {
    right: 24px;
    bottom: 24px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    padding: 34px 0;
  }

  .contact-panel {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-panel iframe {
    min-height: 320px;
  }
}

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

  [data-reveal] {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }
}

