/* ==========================================================================
   Dr. Varun Jitendra Dave — Rhinoplasty Surgeon in Mumbai
   DESIGN 3 · Soft Aesthetic Luxury
   Muted plum, warm cream, dusty rose, soft sage and warm bronze.
   Lora (editorial headings) + DM Sans (body / UI).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --plum: #765c70;
  --plum-deep: #5e4759;
  --plum-ink: #3e2f3b;
  --rose: #c3a8af;
  --rose-200: #e6d7db;
  --rose-100: #f4eaed;
  --rose-ink: #774c5b;         /* dusty rose, darkened for AA text (incl. on tinted badges) */
  --bronze: #b58a72;
  --bronze-ink: #7a553f;       /* warm bronze, darkened for AA text */
  --sage: #e4e9e1;
  --sage-200: #d3dccf;
  --cream: #fcf8f5;
  --blush: #f8f0ec;
  --white: #ffffff;
  --text: #4a3f47;
  --muted: #6e6169;
  --line: rgba(195, 168, 175, 0.55);
  --line-soft: rgba(195, 168, 175, 0.32);
  --caution: #803f3b;
  --caution-bg: #f7e9e6;
  --footer: #2f2430;
  --gradient: linear-gradient(135deg, #765c70 0%, #c3a8af 100%);

  /* Type */
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --gutter: 16px;
  --container: 1240px;
  --header-h: 72px;
  --section-pad: clamp(48px, 6vw, 88px);
  --radius-soft: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 40px;
    --header-h: 146px;
  }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--plum-ink);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--plum);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--plum-deep);
}

strong {
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--rose-200);
  color: var(--plum-ink);
}

.page-wrapper {
  overflow-x: clip;
}

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.container--medium {
  --container: 980px;
}

.container--narrow {
  --container: 840px;
}

main > section[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--plum-deep);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   3. Buttons & badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn svg {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.btn--primary {
  background-color: var(--plum);
  color: var(--cream);
  box-shadow: 0 14px 28px -18px rgba(94, 71, 89, 0.85);
}

.btn--primary:hover {
  background-color: var(--plum-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -18px rgba(94, 71, 89, 0.9);
}

.btn--primary:hover svg {
  transform: translateX(3px);
}

.btn--secondary {
  background-color: transparent;
  color: var(--plum-ink);
  border-color: rgba(118, 92, 112, 0.45);
}

.btn--secondary:hover {
  background-color: var(--rose-100);
  border-color: var(--plum);
  color: var(--plum-ink);
}

.btn--full {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.badge--soft {
  background: transparent;
  color: var(--rose-ink);
  padding: 0;
}

.badge--rose {
  background: rgba(195, 168, 175, 0.24);
  color: var(--rose-ink);
}

.badge--caution {
  background: rgba(181, 138, 114, 0.2);
  color: var(--caution);
}

.badge--stage {
  padding: 0;
  border-radius: 0;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 500;
  color: var(--bronze-ink);
}

.badge--on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* --------------------------------------------------------------------------
   4. Sections & section headers
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding-block: 30px;
}

.section--cream {
  background-color: var(--cream);
}

.section--blush {
  background-color: var(--blush);
}

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

.section--sage {
     background-color: #e4e9e154;
}

.section-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header--center {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-header--center .section-lead {
  margin-inline: auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--rose-ink);
}

.section-kicker::before,
.section-header--center .section-kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--rose);
  flex-shrink: 0;
}

.section-header h2,
.overview__title {
  margin: 0.6em 0 0.5em;
  font-size: clamp(2rem, 1.35rem + 2.3vw, 2.95rem);
  line-height: 1.16;
  letter-spacing: -0.012em;
}

.overview__title {
  margin-top: 0;
}

.section-lead,
.overview__lead {
  max-width: 62ch;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Split section header (kicker + title left, lead right) */
@media (min-width: 1024px) {
  .section-header--split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas:
      "kicker lead"
      "title lead";
    column-gap: 80px;
    align-items: end;
  }

  .section-header--split .section-kicker {
    grid-area: kicker;
  }

  .section-header--split h2 {
    grid-area: title;
    margin-bottom: 0;
  }

  .section-header--split .section-lead {
    grid-area: lead;
    padding-left: 32px;
    border-left: 1px solid var(--line);
  }
}

/* Editorial split layout: sticky heading column + reading column */
.split {
  display: grid;
  gap: 8px;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(56px, 6vw, 104px);
    align-items: start;
  }

  .split__sticky {
    position: sticky;
    top: calc(var(--header-h) + 48px);
    margin-bottom: 0;
  }
}

/* Checklists with a fine rose tick */
.checklist {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.6;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 1px solid var(--rose);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237e5462' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

@media (min-width: 768px) {
  .checklist--two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }
}

.dash-list {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.dash-list li {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.55;
}

.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.75rem;
  height: 2px;
  border-radius: 2px;
  background: rgba(181, 138, 114, 0.75);
}

/* --------------------------------------------------------------------------
   5. Top bar
   -------------------------------------------------------------------------- */
.top-bar {
  position: relative;
  z-index: 801;
  background: var(--plum-deep);
  color: rgba(252, 248, 245, 0.92);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.top-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
  text-align: center;
}

.top-bar__locations {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.top-bar__loc-icon {
  margin-top: 2px;
  color: var(--rose);
}

.top-bar__loc-text {
  text-wrap: balance;
}

.top-bar__loc-text strong {
  font-weight: 600;
  color: var(--cream);
}

.top-bar__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
}

.top-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-bar__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 3px rgba(195, 168, 175, 0.25);
}

.top-bar__call-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(252, 248, 245, 0.28);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.top-bar__call-chip:hover {
  background: rgba(252, 248, 245, 0.12);
  border-color: rgba(252, 248, 245, 0.5);
  color: var(--cream);
}

.top-bar__call-icon {
  display: inline-flex;
}

@media (min-width: 900px) {
  .top-bar__inner {
    flex-direction: row;
    justify-content: space-between;
    padding-block: 6px;
    text-align: left;
  }

  .top-bar__call-chip {
    min-height: 32px;
  }
}

/* --------------------------------------------------------------------------
   6. Header (editorial masthead)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(252, 248, 245, 0.94);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(252, 248, 245, 0.84);
    backdrop-filter: blur(14px) saturate(1.2);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 14px 34px -26px rgba(62, 47, 59, 0.55);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  min-height: 48px;
  border-radius: 8px;
}

/* 70px tall (405px wide at the logo's 607×105 ratio); scales down only where the header row is narrower.
   The logo artwork sits on white; multiply lets the cream header show through. */
.site-logo {
  display: block;
  width: 405px;
  max-width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.nav-desktop {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-cta {
  display: none;
  min-height: 46px;
  padding: 0 1.4rem;
  font-size: 0.9375rem;
}

@media (min-width: 640px) {
  .btn-header-cta {
    display: inline-flex;
  }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.menu-toggle:hover {
  border-color: var(--plum);
  background: var(--rose-100);
}

.menu-toggle__line {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--plum-ink);
}

.menu-toggle__line:nth-child(2) {
  width: 12px;
  margin-left: 6px;
}

@media (min-width: 1024px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo actions"
      "nav nav";
    gap: 0;
    min-height: 0;
  }

  .site-logo-link {
    grid-area: logo;
    align-self: center;
    padding-block: 14px;
    transition: padding 0.35s var(--ease);
  }

  .header-actions {
    grid-area: actions;
  }

  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    grid-area: nav;
    display: block;
    border-top: 1px solid var(--line-soft);
  }

  .nav-desktop__list {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 2.2vw, 40px);
  }

  .nav-desktop__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
  }

  .nav-desktop__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 1px;
    background: var(--plum);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s var(--ease);
  }

  .nav-desktop__link:hover,
  .nav-desktop__link.is-active {
    color: var(--plum);
  }

  .nav-desktop__link:hover::after,
  .nav-desktop__link.is-active::after {
    transform: scaleX(1);
  }

  .site-header.is-scrolled .site-logo-link {
    padding-block: 8px;
  }
}

/* --------------------------------------------------------------------------
   7. Mobile navigation drawer
   -------------------------------------------------------------------------- */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(47, 36, 48, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.mobile-nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  width: min(88vw, 380px);
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--cream);
  border-left: 1px solid var(--line-soft);
  box-shadow: -24px 0 60px -30px rgba(47, 36, 48, 0.5);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
}

.mobile-nav.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.45s var(--ease);
}

.mobile-nav__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav__title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--plum-ink);
}

.mobile-nav__subtitle {
  font-size: 0.8125rem;
  color: var(--muted);
}

.mobile-nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--plum-ink);
  cursor: pointer;
}

.mobile-nav__close:hover {
  background: var(--rose-100);
}

.mobile-nav__list {
  padding-block: 8px 20px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--plum-ink);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.3s var(--ease);
}

.mobile-nav__link:hover {
  color: var(--plum);
  padding-left: 6px;
}

.mobile-nav__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3.5vw, 48px) 0 clamp(44px, 5.5vw, 76px);
  background:
    radial-gradient(60% 55% at 92% 8%, rgba(195, 168, 175, 0.3) 0%, rgba(195, 168, 175, 0) 70%),
    radial-gradient(45% 50% at 0% 100%, rgba(228, 233, 225, 0.9) 0%, rgba(228, 233, 225, 0) 70%),
    var(--cream);
}

/* Curves stay around the image and away from the text column */
.hero__curves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 22%, transparent 42%);
  mask-image: linear-gradient(180deg, #000 0%, #000 22%, transparent 42%);
}

@media (min-width: 1024px) {
  .hero__curves {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 46%, #000 70%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 46%, #000 70%);
  }
}

.hero__curves svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(195, 168, 175, 0.55);
  stroke-width: 1;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(36px, 5vw, 48px);
}

.hero__media {
  --frame-radius: 120px 16px 120px 16px;
  position: relative;
  width: calc(100% - 18px);
  max-width: 560px;
  margin-inline: auto;
}

.hero__frame,
.hero__media-backdrop,
.hero__media-outline {
  border-radius: var(--frame-radius);
}

.hero__frame {
  position: relative;
  z-index: 2;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rose-100);
  box-shadow: 0 30px 60px -40px rgba(62, 47, 59, 0.55);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 40%;
}

.hero__media-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, #e8d5db 0%, #f2e4dc 100%);
  transform: translate(16px, 16px);
}

.hero__media-outline {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 1px solid rgba(118, 92, 112, 0.4);
  transform: translate(-10px, -10px);
}

.hero__content {
  max-width: 680px;
  margin-inline: auto;
}

.hero__badge-wrap {
  margin-bottom: 22px;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  text-wrap: balance;
  font-weight: 500;
  line-height: 1.4;
  color: var(--plum-ink);
}

.hero-status-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 0 4px rgba(181, 138, 114, 0.22);
}

@media (min-width: 640px) {
  .hero-status-pill {
    font-size: 0.875rem;
  }
}

.hero__title {
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 1.5rem + 2.9vw, 3.65rem);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.018em;
}

.hero__title-name {
  display: block;
  margin-top: 0.12em;
  font-style: italic;
  font-weight: 400;
  color: var(--plum);
}

.hero__subtitle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--rose-ink);
}

.hero__subtitle::before {
  content: "";
  width: 36px;
  height: 1px;
  flex-shrink: 0;
  background: var(--rose);
}

.hero__lead {
  margin-bottom: 14px;
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--text);
}

.hero__description {
  margin-bottom: 28px;
  font-size: 1rem;
  color: var(--muted);
}

.hero__locations-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 32px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero__locations-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--plum-ink);
}

.hero__locations-label svg {
  color: var(--rose-ink);
}

.hero__locations-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 0.9375rem;
  color: var(--text);
}

.location-sep {
  color: var(--rose);
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 479px) {
  .hero__cta-group .btn {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    column-gap: clamp(48px, 6vw, 96px);
  }

  .hero__media {
    --frame-radius: 220px 22px 220px 22px;
    grid-column: 2;
    grid-row: 1;
    width: calc(100% - 24px);
    max-width: 520px;
    margin: 12px 24px 24px auto;
  }

  .hero__frame {
    aspect-ratio: 4 / 5;
  }

  .hero__img {
    object-position: 44% 50%;
  }

  .hero__media-backdrop {
    transform: translate(24px, 24px);
  }

  .hero__media-outline {
    transform: translate(-16px, -16px);
  }

  .hero__content {
    grid-column: 1;
    grid-row: 1;
    max-width: 640px;
    margin: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__media-backdrop {
    animation: d3-drift-in 1.4s var(--ease) both;
  }

  .hero__media-outline {
    animation: d3-fade-in 1.6s var(--ease) 0.2s both;
  }
}

@keyframes d3-drift-in {
  from {
    opacity: 0;
    transform: translate(0, 0);
  }
}

@keyframes d3-fade-in {
  from {
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   9. Trust highlights (airy inline row)
   -------------------------------------------------------------------------- */
.trust-highlights-section {
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

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

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 10px;
  text-align: center;
}

.trust-card:nth-child(odd) {
  border-right: 1px solid var(--line-soft);
}

.trust-card:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line-soft);
}

.trust-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--blush);
  color: var(--plum);
}

.trust-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-card__val {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--plum-ink);
}

.trust-card__lbl {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trust-card {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 36px 28px;
    text-align: left;
  }

  .trust-card:first-child {
    padding-left: 0;
  }

  .trust-card:nth-child(n) {
    border-bottom: 0;
    border-right: 0;
  }

  .trust-card + .trust-card {
    border-left: 1px solid var(--line-soft);
  }
}

/* --------------------------------------------------------------------------
   10. Doctor introduction
   -------------------------------------------------------------------------- */
.doctor-layout {
  display: grid;
  gap: 40px;
  grid-template-areas:
    "header"
    "portrait"
    "bio"
    "quote";
}

.doctor-layout__header {
  grid-area: header;
  margin-bottom: 0;
}

.doctor-layout__portrait {
  grid-area: portrait;
}

.doctor-layout__bio {
  grid-area: bio;
}

.doctor-layout__quote {
  grid-area: quote;
}

.doctor-portrait {
  position: relative;
  width: calc(100% - 16px);
  max-width: 440px;
  margin-inline: auto;
}

.doctor-portrait__media {
  position: relative;
}

/* Offset toward the text column (portrait sits on the right on desktop) */
.doctor-portrait__accent {
  position: absolute;
  inset: 48px 32px -16px -16px;
  z-index: 0;
  border-radius: 4px;
  background: rgba(195, 168, 175, 0.26);
}

.doctor-portrait__frame {
  position: relative;
  z-index: 1;
  padding: 12px;
  border: 1px solid rgba(118, 92, 112, 0.5);
  background: var(--white);
}

.doctor-portrait__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
}

.doctor-portrait__badges {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  text-align: center;
}

.doctor-portrait__badges::before,
.doctor-portrait__badges::after {
  content: "";
  flex: 1 1 24px;
  max-width: 56px;
  height: 1px;
  background: var(--rose);
}

.doctor-portrait__badges .badge {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  text-wrap: balance;
}

.doctor-bio__qualifications p {
  color: var(--text);
}

.doctor-bio__qualifications p:first-child {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--plum-ink);
}

.doctor-bio__qualifications p:first-child strong {
  font-weight: 600;
  color: var(--plum);
}

/* "His Approach": a full-bleed soft sage band (box-shadow bleed adds no scroll width) */
.approach {
  margin-top: 48px;
  padding-block: clamp(44px, 6vw, 80px);
  background: var(--sage);
  box-shadow: 0 0 0 100vmax var(--sage);
  clip-path: inset(0 -100vmax);
}

.approach__head {
  display: grid;
  gap: 10px;
}

.approach__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.45rem, 1.25rem + 0.7vw, 1.85rem);
}

.approach__title svg {
  flex-shrink: 0;
  color: var(--rose-ink);
}

.approach__intro {
  margin: 0;
  color: var(--muted);
}

.approach__points {
  display: grid;
  margin-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--rose);
}

.approach__points li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-block: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--plum-ink);
}

.approach__points li + li {
  border-top: 1px solid rgba(195, 168, 175, 0.8);
}

.approach__icon {
  color: var(--plum);
}

@media (min-width: 640px) {
  .approach__points li {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px clamp(20px, 3vw, 44px);
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .approach__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach__points li + li {
    border-top: 0;
  }

  .approach__points li:nth-child(2n + 1) {
    padding-left: 0;
  }

  .approach__points li:nth-child(2n) {
    padding-right: 0;
    border-left: 1px solid rgba(195, 168, 175, 0.8);
  }

  .approach__points li:nth-child(n + 3) {
    border-top: 1px solid rgba(195, 168, 175, 0.8);
  }
}

/* Quote: left-aligned Lora italic on a thin rose rule, a small leaf where the rule begins */
.doctor-quote {
  position: relative;
  max-width: 920px;
  margin-top: 24px;
  padding: 6px 0 6px clamp(24px, 4vw, 52px);
  border-left: 1px solid var(--rose);
}

.doctor-quote__leaf {
  position: absolute;
  top: -14px;
  left: -7px;
  color: var(--rose-ink);
}

.doctor-quote-banner {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1rem + 1.5vw, 2.2rem);
  font-style: italic;
  line-height: 1.42;
  text-indent: -0.4em;
  text-wrap: pretty;
  color: var(--plum-ink);
}

.doctor-quote-banner strong {
  display: block;
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-indent: 0;
  color: var(--rose-ink);
}

/* Desktop: magazine spread — text left, portrait right, approach band and quote full width */
@media (min-width: 1024px) {
  .doctor-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas:
      "header portrait"
      "bio portrait"
      "approach approach"
      "quote quote";
    column-gap: clamp(56px, 7vw, 112px);
    row-gap: 0;
    align-items: start;
  }

  .doctor-bio {
    display: contents;
  }

  .doctor-bio__qualifications {
    grid-area: bio;
  }

  .approach {
    grid-area: approach;
    margin-top: clamp(64px, 7vw, 104px);
  }

  .approach__head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(40px, 5vw, 80px);
    align-items: center;
  }

  .approach__intro {
    padding-left: 32px;
    border-left: 1px solid var(--rose);
  }

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

  .approach__points li:nth-child(3n + 1) {
    padding-left: 0;
  }

  .approach__points li:nth-child(3n) {
    padding-right: 0;
  }

  .approach__points li + li {
    border-top: 0;
  }

  .approach__points li:not(:nth-child(3n + 1)) {
    border-left: 1px solid rgba(195, 168, 175, 0.8);
  }

  .approach__points li:nth-child(n + 4) {
    border-top: 1px solid rgba(195, 168, 175, 0.8);
  }

  .doctor-layout__header {
    margin-bottom: 32px;
  }

  .doctor-layout__header h2 {
    margin-top: 0.5em;
  }

  .doctor-portrait {
    align-self: center;
    justify-self: end;
    margin: 0;
  }

  .doctor-quote {
    margin-top: clamp(56px, 6vw, 88px);
    margin-left: clamp(0px, 4vw, 64px);
  }
}

/* --------------------------------------------------------------------------
   11. What is rhinoplasty
   -------------------------------------------------------------------------- */
.overview__header {
  max-width: 780px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.overview__header .overview__lead {
  margin-inline: auto;
}

.overview__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.overview__image {
  position: relative;
  isolation: isolate;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}

.overview__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px 160px 18px 18px;
}

.overview__image::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 46%;
  height: 46%;
  z-index: -1;
  border-right: 1px solid var(--rose);
  border-bottom: 1px solid var(--rose);
  border-radius: 0 0 18px 0;
}

.overview__points {
  border-top: 1px solid var(--line);
}

.overview-point {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.overview-point__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rose-100);
  color: var(--plum);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.overview-point:hover .overview-point__icon {
  background: var(--plum);
  color: var(--cream);
}

.overview-point__body p {
  margin: 0;
  padding-top: 12px;
  font-size: 1.0625rem;
}

.overview__callout {
  margin-top: clamp(48px, 6vw, 80px);
  padding-block: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.overview__callout p {
  max-width: 720px;
  margin-inline: auto;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--plum-ink);
}

@media (min-width: 900px) {
  .overview__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(48px, 6vw, 96px);
  }

  .overview__image {
    margin: 0;
  }
}

/* --------------------------------------------------------------------------
   12. When to consult (indications)
   -------------------------------------------------------------------------- */
.indications-list {
  display: grid;
  border-top: 1px solid var(--sage-200);
}

.indication-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding-block: 20px;
  border-bottom: 1px solid var(--sage-200);
  transition: background-color 0.3s ease;
}

.indication-item__bullet {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  color: var(--plum);
}

.indication-item__text strong {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--plum-ink);
}

@media (min-width: 640px) {
  .indications-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }
}

.callout-advisory {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--sage-200);
}

.callout-advisory__icon {
  color: var(--plum);
  padding-top: 2px;
}

.callout-advisory p {
  margin: 0;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   13. Types of rhinoplasty (columns divided by fine rose rules)
   -------------------------------------------------------------------------- */
.types-columns {
  display: grid;
  max-width: 720px;
  margin-inline: auto;
}

.type-col {
  display: flex;
  flex-direction: column;
  padding-block: 40px;
  border-top: 1px solid var(--line);
}

.type-col:first-child {
  border-top: 0;
  padding-top: 0;
}

.type-col__header {
  margin-bottom: 16px;
}

.type-card__number {
  display: block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-ink);
}

.type-col__title {
  font-size: clamp(1.6rem, 1.4rem + 0.6vw, 1.9rem);
}

.type-col__subtitle {
  margin-bottom: 20px;
  color: var(--text);
}

.type-col__lead-in {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--plum);
}

.type-col__list {
  display: grid;
  align-content: start;
  gap: 10px;
  margin-bottom: 28px;
}

.type-col__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1rem;
  line-height: 1.55;
}

.type-col__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--rose-ink);
  border-radius: 50%;
}

.type-col__note {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .types-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

  .type-col,
  .type-col:first-child {
    padding: 8px clamp(28px, 3vw, 48px);
    border-top: 0;
  }

  .type-col:first-child {
    padding-left: 0;
  }

  /* Align titles, intros, lists and notes across the three columns */
  @supports (grid-template-rows: subgrid) {
    .types-columns {
      grid-template-rows: repeat(5, auto);
    }

    .type-col {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
      row-gap: 0;
    }

    .type-col__note {
      margin-top: 0;
    }
  }

  .type-col:last-child {
    padding-right: 0;
  }

  .type-col + .type-col {
    border-left: 1px solid var(--line);
  }
}

/* --------------------------------------------------------------------------
   14. Comparison table
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.comparison-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 14px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.comparison-table th {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--plum-ink);
  background: var(--blush);
  border-bottom: 2px solid var(--plum);
}

.comparison-table th + th,
.comparison-table td + td {
  border-left: 1px solid var(--line-soft);
}

.comparison-table td {
  font-size: 0.9688rem;
  line-height: 1.6;
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.25s ease;
}

.comparison-table tbody tr:hover td {
  background-color: rgba(244, 234, 237, 0.55);
}

.comparison-param-title {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--bronze-ink);
}

.comparison-table td.comparison-table__combined {
  text-align: center;
  border-bottom: 0;
  background: rgba(228, 233, 225, 0.55);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--plum-ink);
}

.comparison-table tbody tr:hover td.comparison-table__combined {
  background: rgba(228, 233, 225, 0.8);
}

@media (min-width: 768px) {
  .comparison-table th,
  .comparison-table td {
    padding: 26px 32px;
  }

  .comparison-table th {
    font-size: 1.4rem;
  }

  .comparison-table td {
    font-size: 1.0313rem;
  }

  .comparison-table td.comparison-table__combined {
    font-size: 1.2rem;
    padding-block: 30px;
  }
}

/* --------------------------------------------------------------------------
   15. Clinical evaluation — refined vertical sequence
   -------------------------------------------------------------------------- */
.sequence {
  display: grid;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 40px;
}

.step-card:last-child {
  padding-bottom: 0;
}

.step-card::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 64px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--rose) 0%, rgba(195, 168, 175, 0.15) 100%);
}

.step-card:last-child::before {
  display: none;
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--plum);
  border-radius: 50%;
  background: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--plum);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.step-card:hover .step-card__number {
  background: var(--plum);
  color: var(--cream);
}

.step-card__content {
  padding-top: 10px;
}

.step-card__content h3 {
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 1.18rem + 0.4vw, 1.5rem);
}

.step-card__content p {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   16. Surgical stages — editorial rows
   -------------------------------------------------------------------------- */
.stages {
  border-top: 1px solid var(--line);
}

.stage {
  display: grid;
  gap: 18px;
  padding-block: clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.stage__header {
  position: relative;
  padding-left: 22px;
}

.stage__header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 0 4px rgba(181, 138, 114, 0.2);
}

.stage__title {
  margin-top: 6px;
  font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.95rem);
}

.stage__body > p {
  color: var(--text);
}

.stage__list {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}

.stage__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1rem;
  line-height: 1.55;
}

.stage__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.8rem;
  height: 1px;
  background: var(--rose-ink);
}

.stage__note {
  margin-top: 4px;
  font-size: 0.9688rem;
  color: var(--muted);
}

.stage__note strong {
  color: var(--plum-ink);
}

.stage__note--italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0313rem;
}

@media (min-width: 900px) {
  .stage {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: clamp(40px, 6vw, 96px);
  }

  .stage__header {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }

  .stage__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
  }
}

/* --------------------------------------------------------------------------
   17. Recovery timeline & precautions
   -------------------------------------------------------------------------- */
.recovery-timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 32px;
}

.recovery-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--bronze) 0%, var(--rose) 100%);
}

.recovery-card {
  position: relative;
  padding-bottom: 36px;
}

.recovery-card:last-child {
  padding-bottom: 0;
}

.recovery-card::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--bronze);
  box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 8px var(--bronze);
}

.recovery-card__time {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bronze-ink);
}

.recovery-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.recovery-card p {
  color: var(--text);
  font-size: 1rem;
}

@media (min-width: 1024px) {
  .recovery-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    padding-left: 0;
    padding-top: 44px;
  }

  .recovery-timeline::before {
    left: 0;
    right: 0;
    top: 7px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--bronze) 0%, var(--rose) 100%);
  }

  .recovery-card {
    padding-bottom: 0;
  }

  .recovery-card::before {
    left: 0;
    top: -44px;
  }
}

.recovery-disclaimer {
  margin: 44px auto clamp(48px, 6vw, 72px);
  font-family: var(--font-serif);
  font-size: 1.0313rem;
  font-style: italic;
  text-align: center;
  color: var(--muted);
}

.precautions {
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.precautions__grid {
  display: grid;
  gap: 32px;
}

.precautions__title {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 1.25rem + 0.6vw, 1.75rem);
}

.precautions__intro {
  margin-bottom: 20px;
  color: var(--muted);
}

.alert-red-flag {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  align-self: start;
  padding: 28px;
  border-left: 3px solid var(--caution);
  border-radius: 0 var(--radius-soft) var(--radius-soft) 0;
  background: var(--caution-bg);
}

.alert-red-flag__icon {
  color: var(--caution);
  margin-top: 2px;
}

.alert-red-flag p {
  margin: 0;
  color: var(--plum-ink);
  line-height: 1.65;
}

@media (min-width: 1024px) {
  .precautions__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(40px, 5vw, 80px);
  }
}

/* --------------------------------------------------------------------------
   18. Benefits, risks & candidacy
   -------------------------------------------------------------------------- */
.considerations {
  display: grid;
  max-width: 720px;
  margin-inline: auto;
}

.consideration {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 40px;
  border-top: 1px solid var(--sage-200);
}

.consideration:first-child {
  padding-top: 0;
  border-top: 0;
}

.consideration .badge {
  align-self: flex-start;
}

.consideration h3 {
  font-size: clamp(1.4rem, 1.25rem + 0.5vw, 1.65rem);
}

.consideration__intro {
  margin: 0 0 6px;
  font-size: 0.9688rem;
  color: var(--muted);
}

.consideration .checklist li::before {
  background-color: var(--cream);
}

.consideration__disclaimer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--sage-200);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

.consideration__disclaimer strong {
  color: var(--plum-ink);
}

.consideration--risks .consideration__disclaimer {
  border-top-color: rgba(142, 79, 74, 0.25);
}

@media (min-width: 1024px) {
  .considerations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

  .consideration,
  .consideration:first-child {
    padding: 4px clamp(28px, 3vw, 44px);
    border-top: 0;
  }

  .consideration:first-child {
    padding-left: 0;
  }

  @supports (grid-template-rows: subgrid) {
    .considerations {
      grid-template-rows: repeat(5, auto);
    }

    .consideration {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
      row-gap: 0;
    }

    .consideration > * + * {
      margin-top: 14px;
    }

    .consideration .badge {
      justify-self: start;
    }
  }

  .consideration:last-child {
    padding-right: 0;
  }

  .consideration + .consideration {
    border-left: 1px solid rgba(118, 92, 112, 0.22);
  }

  .consideration__disclaimer {
    margin-top: 18px;
  }
}

/* --------------------------------------------------------------------------
   19. Cost
   -------------------------------------------------------------------------- */
.cost-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--plum-ink);
}

.cost-intro::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

.cost-factors {
  display: grid;
}

.cost-card {
  position: relative;
  padding: 28px 0 28px 26px;
  border-bottom: 1px solid var(--line);
}

.cost-card::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 38px;
  width: 7px;
  height: 7px;
  background: var(--bronze);
  transform: rotate(45deg);
}

.cost-card h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.cost-card p {
  font-size: 1rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .cost-factors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }
}

@media (min-width: 1024px) {
  .cost-factors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 56px;
  }

  .cost-card {
    padding-block: 34px;
  }

  .cost-card::before {
    top: 44px;
  }
}

.cost-insurance-banner {
  display: grid;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: 0 24px 48px -40px rgba(62, 47, 59, 0.45);
}

.cost-insurance-banner p {
  margin: 0;
}

.cost-insurance-banner strong {
  color: var(--plum-ink);
}

.cost-insurance-banner__insurance {
  color: var(--muted);
}

@media (min-width: 900px) {
  .cost-insurance-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    padding: 36px 44px;
  }

  .cost-insurance-banner__insurance {
    padding-left: 48px;
    margin-left: -24px;
    border-left: 1px solid var(--line);
  }
}

/* --------------------------------------------------------------------------
   20. Why consult — pillars
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  gap: 40px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
  border: 1px solid rgba(118, 92, 112, 0.4);
  border-radius: 50%;
  color: var(--plum);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.pillar-card:hover .pillar-card__icon {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--cream);
}

.pillar-card h3 {
  font-size: 1.35rem;
}

.pillar-card p {
  font-size: 1rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 48px;
  }
}

@media (min-width: 1024px) {
  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 64px;
    row-gap: 56px;
  }
}

.why-cta {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.why-cta__text {
  max-width: 680px;
  margin: 0 auto 28px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--plum-ink);
}

/* --------------------------------------------------------------------------
   21. FAQs — minimal accordions
   -------------------------------------------------------------------------- */
.faq-list {
  border-top: 1px solid var(--rose);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
  padding-block: 22px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--plum-ink);
  transition: color 0.25s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--plum);
}

.faq-question:focus-visible {
  outline-offset: 4px;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--plum);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq-icon__v {
  transform-origin: 12px 12px;
  transition: transform 0.35s var(--ease);
}

.faq-item[open]:not(.is-closing) .faq-question {
  color: var(--plum);
}

.faq-item[open]:not(.is-closing) .faq-icon {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--cream);
}

.faq-item[open]:not(.is-closing) .faq-icon__v {
  transform: scaleY(0);
}

.faq-answer {
  padding: 0 64px 26px 0;
}

.faq-answer p {
  color: var(--text);
}

.faq-answer a {
  font-weight: 600;
}

@media (max-width: 639px) {
  .faq-answer {
    padding-right: 0;
  }
}

/* --------------------------------------------------------------------------
   22. Locations
   -------------------------------------------------------------------------- */
.locations {
  display: grid;
  gap: 20px;
}

.location-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 28px;
  border: 1px solid var(--sage-200);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.location-card:hover {
  transform: translateY(-3px);
  border-color: var(--rose);
  box-shadow: 0 26px 44px -36px rgba(62, 47, 59, 0.6);
}

.location-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.location-card__badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-ink);
}

.location-card__suburb {
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 500;
  color: var(--rose-ink);
}

.location-card__name {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.location-card__address-wrap {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
}

.location-card__pin {
  margin-top: 4px;
  color: var(--rose-ink);
}

.location-card__address {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .locations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.locations-bottom-cta {
  margin-top: clamp(40px, 5vw, 56px);
  text-align: center;
}

.locations-appointment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--plum);
  border-radius: 999px;
  color: var(--plum-ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.locations-appointment-btn:hover {
  background: var(--plum);
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   23. Consultation (muted plum)
   -------------------------------------------------------------------------- */
.consultation-section {
  overflow: hidden;
  padding-bottom: calc(var(--section-pad) + 48px);
  background: var(--blush);
  color: var(--text);
}

.consultation-section__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
 background: #ffffff;
}

.consultation-section .container {
  position: relative;
}

.section-header--on-dark .section-kicker {
  color: #ebd9de;
}

.section-header--on-dark .section-kicker::before,
.section-header--on-dark .section-kicker::after {
  background: rgba(235, 217, 222, 0.6);
}

.section-header--on-dark h2 {
  color: var(--cream);
}

.section-header--on-dark .section-lead {
  color: rgba(252, 248, 245, 0.84);
}

.consultation-panel {
  display: grid;
  gap: 32px;
  max-width: 960px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: linear-gradient(135deg, #6f566a 0%, #574153 100%);
  color: var(--cream);
  box-shadow: 0 30px 60px -36px rgba(62, 47, 59, 0.55);
}

.consultation-panel__lead {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  font-style: italic;
  line-height: 1.55;
  text-align: center;
  color: var(--cream);
}

.consultation-doctor-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.consultation-doctor-avatar {
  flex-shrink: 0;
  padding: 4px;
  border: 1px solid rgba(235, 217, 222, 0.6);
  border-radius: 50%;
}

.consultation-doctor-avatar img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
}

.consultation-doctor-name {
  margin-bottom: 4px;
  font-size: 1.5rem;
  color: var(--cream);
}

.consultation-doctor-title {
  margin-bottom: 12px;
  font-size: 0.9688rem;
  color: rgba(252, 248, 245, 0.84);
}

.consultation-locations-wrap {
  text-align: center;
}

.consultation-locations-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ebd9de;
}

.consultation-locations-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.consultation-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.9375rem;
  color: var(--cream);
}

.consultation-action-strip {
  display: flex;
  justify-content: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.consultation-phone-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--plum-ink);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 20px 40px -24px rgba(20, 12, 18, 0.7);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.consultation-phone-number:hover {
  background: var(--white);
  color: var(--plum-ink);
  transform: translateY(-2px);
  box-shadow: 0 26px 46px -24px rgba(20, 12, 18, 0.8);
}

.consultation-phone-number svg {
  color: var(--plum);
}

.consultation-phone-number:focus-visible {
  outline-color: var(--cream);
}

@media (min-width: 900px) {
  .consultation-panel {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    column-gap: 0;
  }

  .consultation-panel__lead,
  .consultation-action-strip {
    grid-column: 1 / -1;
  }

  .consultation-doctor-profile {
    flex-direction: row;
    padding-right: 40px;
    text-align: left;
  }

  .consultation-locations-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    text-align: left;
  }

  .consultation-locations-title {
    align-self: flex-start;
  }

  .consultation-locations-pills {
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   24. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding: 24px 0 0;
  background: var(--footer);
  color: #cdbfc5;
  font-size: 0.9375rem;
}

.site-footer__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: 48px;
  pointer-events: none;
}

.site-footer__curve svg {
  width: 100%;
  height: 100%;
  fill: var(--footer);
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-block: 32px 48px;
}

.footer-brand__logo-wrap {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--cream);
  isolation: isolate;
}

.footer-brand__logo {
  width: auto;
  height: 40px;
  mix-blend-mode: multiply;
}

.footer-brand__name {
  margin: 20px 0 6px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
}

.footer-brand__role {
  margin-bottom: 14px;
  font-size: 0.9375rem;
  color: #ddd0d5;
}

.footer-brand__note {
  max-width: 44ch;
  font-size: 0.875rem;
  color: #bfaeb6;
}

.footer-nav__title {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 12px;
  font-size: 1.15rem;
  color: var(--cream);
}

.footer-nav__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 1px;
  background: var(--rose);
}

.footer-nav__list {
  display: grid;
  gap: 2px;
}

.footer-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #ddd0d5;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.3s var(--ease);
}

.footer-nav__link:hover {
  color: var(--cream);
  transform: translateX(4px);
}

.footer-clinics p {
  margin-bottom: 12px;
  font-size: 0.9063rem;
  line-height: 1.6;
}

.footer-clinics strong {
  color: var(--cream);
}

.footer-clinics__phone {
  margin-top: 18px;
  font-size: 1rem;
}

.footer-clinics__phone-link {
  display: inline-block;
  padding-block: 10px;
  color: var(--cream);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-underline-offset: 0.3em;
}

.footer-clinics__phone-link:hover {
  color: var(--white);
  text-decoration-color: var(--cream);
}

.site-footer :focus-visible {
  outline-color: var(--rose);
}

.footer-bottom {
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom__copy {
  margin: 0;
  font-size: 0.875rem;
  color: #bfaeb6;
}

.footer-bottom__copy strong {
  font-weight: 600;
  color: var(--cream);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .site-footer__curve {
    height: 80px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr) minmax(0, 1.3fr);
    column-gap: clamp(40px, 5vw, 80px);
    padding-block: 48px 64px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* --------------------------------------------------------------------------
   25. Mobile sticky action bar
   -------------------------------------------------------------------------- */
.mobile-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(252, 248, 245, 0.95);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 -12px 30px -24px rgba(62, 47, 59, 0.5);
}

@supports (backdrop-filter: blur(1px)) {
  .mobile-action-bar {
    background: rgba(252, 248, 245, 0.86);
    backdrop-filter: blur(12px);
  }
}

.mobile-action-bar .btn {
  width: 100%;
}

/* Keep the dark footer running underneath the fixed bar */
@media (max-width: 1023px) {
  .site-footer {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 1024px) {
  .mobile-action-bar {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   26. Scroll reveal (progressive enhancement)
   -------------------------------------------------------------------------- */
.js [data-reveal],
.js [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal-stagger] > * {
  transition-delay: calc(min(var(--reveal-index, 0), 6) * 90ms);
}

.js [data-reveal].is-revealed,
.js [data-reveal-stagger].is-revealed > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal],
  .js [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   27. Print
   -------------------------------------------------------------------------- */
@media print {
  .js [data-reveal],
  .js [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .top-bar,
  .site-header,
  .mobile-nav,
  .mobile-nav-backdrop,
  .mobile-action-bar,
  .hero__curves,
  .site-footer__curve {
    display: none !important;
  }

  body {
    padding-bottom: 0;
    background: #fff;
  }

  .consultation-section,
  .site-footer {
    background: #fff;
    color: #000;
  }
}

/* --------------------------------------------------------------------------
   28. Medical illustrations (image enhancement, additive)
   Vector illustrations placed inside existing sections. Frames reuse the
   section tokens (radius, hairline borders, blush/sage/white grounds).
   -------------------------------------------------------------------------- */
.media-figure {
  margin: 0;
}

.media-figure img {
  width: 100%;
  height: auto;
}

/* What is rhinoplasty: anatomy beside the closing callout */
.overview__callout--with-media {
  display: grid;
  gap: 20px;
  justify-items: center;
}

.overview__anatomy {
  width: 100%;
  max-width: 440px;
}

@media (min-width: 768px) {
  .overview__callout--with-media {
    grid-template-columns: minmax(0, 500px) minmax(0, 400px);
    justify-content: center;
    align-items: center;
    column-gap: clamp(36px, 6vw, 88px);
    padding-block: 12px;
    text-align: left;
  }

  .overview__callout--with-media p {
    margin-inline: 0;
  }
}

/* Types of rhinoplasty: compact emblem above each classification */
.type-col__visual {
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
}

@media (min-width: 1024px) {
  .type-col__visual {
    width: 96px;
    height: 96px;
    margin-bottom: 22px;
  }
}

/* Cosmetic vs functional: matched pair aligned with the table columns */
.comparison-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 20px);
  margin-bottom: clamp(12px, 2vw, 20px);
}

.comparison-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6px, 1.8vw, 20px);
  border: 1px solid var(--line-soft);
  border-radius: clamp(16px, 2.4vw, 24px);
}

.comparison-visual img {
  max-width: 360px;
}

.comparison-visual--cosmetic {
  background: var(--blush);
}

.comparison-visual--functional {
  background: var(--sage);
}

/* Surgical stages: open vs closed incision diagram under the approach note */
.stage__figure {
  max-width: 540px;
  margin-top: 24px;
  padding: clamp(14px, 2.4vw, 24px) clamp(12px, 2.4vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-soft);
  background: var(--white);
}

/* Recovery precautions: checklist + red-flag note on the left, resting illustration on the right */
.precautions__figure {
  width: 100%;
  max-width: 520px;
  justify-self: center;
  padding: clamp(10px, 2vw, 16px);
  border-radius: var(--radius-soft);
  background: var(--blush);
}

@media (min-width: 1024px) {
  .precautions__grid--with-media {
    grid-template-areas:
      "main figure"
      "alert figure";
    row-gap: 32px;
  }

  .precautions__grid--with-media .precautions__main {
    grid-area: main;
  }

  .precautions__grid--with-media .precautions__figure {
    grid-area: figure;
    align-self: center;
    justify-self: end;
  }

  .precautions__grid--with-media .alert-red-flag {
    grid-area: alert;
  }
}

@media print {
  .comparison-visuals,
  .media-figure {
    break-inside: avoid;
  }
}

/* --------------------------------------------------------------------------
   29. Rhinoplasty videos (additive)
   Flex rows keep a short final row centred under the section header. Hover
   styles sit on inner elements because the scroll-reveal rules own the
   transform and transition of each card.
   -------------------------------------------------------------------------- */
.video-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.video-card {
  flex: 0 0 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .video-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (min-width: 1024px) {
  .video-card {
    flex-basis: calc((100% - 48px) / 3);
  }
}

.video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: var(--plum-ink);
  box-shadow: 0 0 0 1px var(--line-soft);
  transition: box-shadow 0.35s var(--ease);
}

.video-card__frame:hover {
  box-shadow: 0 0 0 1px var(--rose), 0 26px 44px -36px rgba(62, 47, 59, 0.6);
}

.video-card__link,
.video-card__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-card__link {
  display: block;
}

.video-card__link:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: -6px;
  border-radius: var(--radius-soft);
  box-shadow: inset 0 0 0 3px var(--plum-deep);
}

.video-card__player {
  border: 0;
}

.video-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: rgba(94, 71, 89, 0.9);
  color: var(--cream);
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.6);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.video-card__link:hover .video-card__play {
  background: var(--plum-ink);
}

.video-card__duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(47, 36, 48, 0.85);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
  .video-card__link:hover .video-card__play {
    transform: scale(1.06);
  }
}

.video-card__title {
  margin: 16px 0 4px;
  overflow-wrap: anywhere;
  color: var(--plum-ink);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
}

.video-card__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-note {
  max-width: 640px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.gallery-cta {
  margin-top: clamp(28px, 4vw, 40px);
  text-align: center;
}

/* --------------------------------------------------------------------------
   30. Social links (top bar and footer)
   Official brand logos, shown unaltered and without any added shape.
   -------------------------------------------------------------------------- */
.social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transition: background-color 0.25s ease;
}

.social-link:hover {
  background: rgba(252, 248, 245, 0.14);
}

.social-link:focus-visible {
  outline-color: var(--rose);
}

/* The logo sits 8px inside its tap area; pull it back in line with the text above */
.footer-brand .social-links {
  margin: 18px 0 0 -8px;
}

/* Too narrow for badge, call chip and icons on one row: keep the chip and icons together */
@media (max-width: 539px) {
  .top-bar__badge {
    flex-basis: 100%;
    justify-content: center;
  }
}

@media (min-width: 900px) {
  .top-bar__contact {
    flex-shrink: 0;
    flex-wrap: nowrap;
  }

  .top-bar .social-link {
    width: 32px;
    height: 32px;
  }
}
