/* =========================================================
   CSS QUICK EDIT GUIDE - DR MZIOU AESTHETIC MEDICINE SITE
   =========================================================

   This file has two parts:
   1) Older/base styles near the top.
   2) The CURRENT CLIENT OVERRIDES near the bottom.

   IMPORTANT:
   The final rules near the bottom override earlier rules.
   For easy editing, change the values in the clearly marked section:

      "CURRENT CLIENT OVERRIDES - MAIN EDIT AREA"

   Most future colour/logo/background changes should be done there.

   ---------------------------------------------------------
   FAST EDIT LOCATIONS
   ---------------------------------------------------------

   1. Main colour palette
      Search for: CURRENT CLIENT OVERRIDES - MAIN EDIT AREA
      Then edit the :root variables:

      --canvas          Main page background
      --surface-soft    Soft section/background blocks
      --surface-strong  Stronger card/visual background
      --primary         Gold accent/buttons
      --primary-active  Button hover colour
      --ink             Main heading/text colour
      --body            Paragraph/body text colour
      --muted           Softer secondary text colour

   Current requested palette:
      #2E525A  main teal background
      #3A656E  card/section teal
      #487985  lighter teal surface
      #E0B148  gold accent

   2. Header logo size
      Search for: HEADER LOGO SIZE - DESKTOP
      Main controls:

      .logo-mark width / height / flex
      .nav min-height

      The logo was increased by 100%:
      Previous desktop logo mark: 56px
      Current desktop logo mark: 112px

   3. Mobile logo size
      Search for: HEADER LOGO SIZE - TABLET
      Search for: HEADER LOGO SIZE - MOBILE

      Change these if the logo feels too large on phones.

   4. Footer logo size
      Search for: FOOTER LOGO SIZE
      Main controls:

      .footer-logo-mark width / height / flex-basis

   5. Main page background
      Search for: BODY BACKGROUND
      This controls the large teal background and soft radial glow.

   6. Header background
      Search for: HEADER BACKGROUND
      This controls sticky nav/header colour.

   7. Card backgrounds
      Search for: CARD AND PANEL BACKGROUNDS
      This controls cards, contact blocks, CTA panels, glass card, modal.

   8. Footer background
      Search for: FOOTER BACKGROUND
      This controls the footer colour and top border.

   9. Buttons
      Search for: BUTTON COLOURS
      This controls gold buttons and hover states.

   10. Google Maps directions links
       These are not controlled in CSS.
       Edit them in index.html and contact.html.
       Search for: Get Directions
       Current format uses Google Maps directions:
       https://www.google.com/maps/dir/?api=1&destination=31%20Church%20Street%2C%20Office%206%2C%20Corner%20Building%2C%20Lichtenburg

   11. Logo image file path
       Edit in the HTML pages, not CSS.
       Current logo path:
       media/icon/AM-logo-transparent.png

   ---------------------------------------------------------
   CSS VARIABLE MEANING
   ---------------------------------------------------------

   --canvas:
      Main website background colour.

   --surface-soft:
      Section background colour and soft panels.

   --surface-strong:
      Stronger background used for hero cards and image areas.

   --primary:
      Gold accent colour used for buttons, labels and highlights.

   --primary-active:
      Gold button hover colour.

   --ink:
      Main text colour, especially headings.

   --body:
      Normal paragraph text colour.

   --muted:
      Secondary/supporting text colour.

   --hairline / --hairline-soft:
      Border colours.

   --shadow-one:
      Main shadow used on cards and panels.

   ========================================================= */

/* =========================================================
   ORIGINAL / BASE STYLES
   These are the older/base styles. They are kept for structure.
   The final override section at the bottom controls the current design.
   ========================================================= */

:root {
  --canvas: #ffffff;
  --surface-soft: #FFF8EA;
  --surface-strong: #F7EFE0;
  --ink: #090909;
  --body: #3f3f3f;
  --muted: #6a6a6a;
  --muted-soft: #929292;
  --primary: #D6A129;
  --primary-active: #B87A12;
  --primary-disabled: #F7EFE0;
  --hairline: #dddddd;
  --hairline-soft: #ebebeb;
  --border-strong: #c1c1c1;
  --error: #c13515;
  --on-primary: #ffffff;
  --shadow-one: rgba(0,0,0,0.02) 0 0 0 1px, rgba(0,0,0,0.04) 0 2px 6px 0, rgba(0,0,0,0.10) 0 4px 8px 0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --section: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Airbnb Cereal VF", Circular, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.5;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--on-primary);
  font-size: 13px;
  font-weight: 700;
}
.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-full);
}
.nav-links a:hover { background: var(--surface-soft); color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--ink);
}
.nav-links .btn { margin-left: 14px; }
.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  background: var(--canvas);
  border-radius: var(--radius-full);
  font-size: 22px;
  cursor: pointer;
}

.btn {
  min-height: 48px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-active); box-shadow: var(--shadow-one); transform: translateY(-1px); }
.btn-secondary { background: var(--canvas); color: var(--ink); border: 1px solid var(--ink); }
.btn-secondary:hover { background: var(--surface-soft); }

.hero {
  padding: 40px 0 var(--section);
  background: var(--canvas);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: .32px;
  text-transform: uppercase;
  font-weight: 700;
}
h1, h2, h3 { color: var(--ink); margin: 0 0 16px; }
h1 {
  max-width: 720px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.44px;
}
h2 { font-size: clamp(21px, 2.3vw, 28px); line-height: 1.43; font-weight: 700; }
h3 { font-size: 16px; line-height: 1.25; font-weight: 600; }
p { color: var(--body); }
.hero-text { max-width: 620px; color: var(--body); font-size: 16px; }
.hero-actions {
  margin: 24px 0 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.small-note { color: var(--muted); font-size: 14px; line-height: 1.43; }

.hero-card {
  min-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.02), rgba(0,0,0,0.18)),
    url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?auto=format&fit=crop&w=1200&q=80') center/cover;
  display: flex;
  align-items: end;
  padding: 20px;
}
.glass-card {
  width: 100%;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-one);
}
.card-label { margin-top: 0; color: var(--primary); font-size: 14px; font-weight: 600; }
.check-list { padding-left: 18px; margin-bottom: 0; color: var(--body); font-size: 14px; }

.section { padding: var(--section) 0; }
.section-heading { margin-bottom: 24px; max-width: 720px; }
.soft-bg { background: var(--surface-soft); border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); }
.card-grid { display: grid; gap: 16px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card, .service-card, .contact-card, .quote-card, .cta-panel {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: none;
  transition: box-shadow .16s ease, transform .16s ease;
}
.info-card:hover, .service-card:hover { box-shadow: var(--shadow-one); transform: translateY(-2px); }
.info-card p, .service-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.43; }

.card-grid .info-card::before, .card-grid .service-card::before {
  content: "Guest favorite";
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-full);
  background: var(--canvas);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.18;
  font-weight: 600;
  box-shadow: var(--shadow-one);
}
.service-card::before { content: "Treatment option"; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mini-list {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  box-shadow: var(--shadow-one);
  padding: 8px;
}
.mini-list span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  position: relative;
}
.mini-list span:hover { background: var(--surface-soft); }

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-one);
}
.page-hero {
  padding: var(--section) 0 24px;
  max-width: 1080px;
}
.page-hero p { color: var(--muted); font-size: 16px; }
.quote-card p { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.18; letter-spacing: -0.44px; font-weight: 500; }
.contact-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.contact-card { box-shadow: var(--shadow-one); }
.narrow { max-width: 840px; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
label { display: grid; gap: 8px; color: var(--ink); font-size: 14px; line-height: 1.29; font-weight: 500; margin-bottom: 14px; }
input, select, textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--canvas);
  outline: none;
}
textarea { resize: vertical; min-height: 112px; }
input:focus, select:focus, textarea:focus { border: 2px solid var(--ink); padding: 13px 11px; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 400; }
.consent input { min-height: auto; width: auto; margin-top: 4px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--hairline);
  background: var(--canvas);
}
.footer-grid { display: flex; justify-content: space-between; gap: 32px; }
.footer strong { font-size: 16px; font-weight: 500; }
.footer p, .footer a { color: var(--muted); font-size: 14px; line-height: 1.43; }
.footer a { margin-left: 18px; font-weight: 400; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-contact { color: var(--ink); font-weight: 500; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.50);
}
.modal.open { display: flex; }
.modal-content {
  width: min(760px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--canvas);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-one);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--surface-strong);
  border-radius: var(--radius-full);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .container { width: min(100% - 32px, 1280px); }
  .nav { grid-template-columns: 1fr auto; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-one);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { margin-left: 0; margin-top: 8px; }
  .hero-grid, .split, .contact-grid, .card-grid.three, .card-grid.two { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-card { min-height: 380px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-panel, .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer a { margin: 0 18px 0 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1280px); }
  .hero-card { min-height: 320px; border-radius: 24px; }
  .mini-list { border-radius: 24px; justify-content: flex-start; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .form-actions .btn { width: 100%; }
}


/* --- Corrected logo, hero and image sizing --- */
.logo { max-width: 320px; min-width: 0; color: var(--ink); }
.logo-text { display: inline-block; max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-mark { width: 56px; height: 56px; flex: 0 0 56px; background: transparent; border-radius: 0; overflow: visible; box-shadow: none; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav { min-height: 86px; }

.hero { padding: 56px 0 80px; }
.hero-grid { grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); gap: 56px; }
.hero-card { position: relative; min-height: clamp(520px, 62vh, 720px); border-radius: 36px; background: var(--surface-strong); display: flex; align-items: flex-end; overflow: hidden; padding: 24px; box-shadow: var(--shadow-one); }
.hero-card .hero-image, .hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; z-index: 0; }
.hero-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.18) 58%, rgba(0,0,0,0.36) 100%); pointer-events: none; }
.glass-card { position: relative; z-index: 2; max-width: 520px; margin-left: auto; backdrop-filter: blur(14px); }

.image-card { overflow: hidden; padding: 0; }
.image-card img, .procedures-visual img, .info-card > img, .service-card > img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: center; display: block; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.image-card h3, .image-card p { padding-left: 24px; padding-right: 24px; }
.image-card h3 { margin-top: 20px; }
.image-card p { padding-bottom: 24px; }
.procedures-visual { position: relative; min-height: 420px; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-one); }
.procedures-visual img { height: 100%; min-height: 420px; aspect-ratio: auto; border-radius: 32px; }

@media (max-width: 900px) {
  .logo { max-width: calc(100vw - 120px); }
  .logo-text { max-width: 220px; }
  .logo-mark { width: 48px; height: 48px; flex-basis: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { min-height: 520px; }
}

@media (max-width: 560px) {
  .nav { min-height: 76px; }
  .logo { gap: 8px; }
  .logo-text { max-width: 180px; font-size: 14px; }
  .logo-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .hero { padding: 32px 0 56px; }
  .hero-card { min-height: 430px; border-radius: 26px; padding: 14px; }
  .glass-card { padding: 18px; }
  .image-card img { aspect-ratio: 4 / 3; }
}

/* --- Requested navigation/footer legitimacy update --- */
.footer {
  margin-top: 48px;
  padding: 56px 0 32px;
  background: #111827;
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,.10);
}

.footer-rich {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr .65fr;
  gap: 32px;
  align-items: start;
}

.footer strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 10px;
}

.footer p,
.footer a,
.footer-contact {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.65;
}

.footer-contact {
  color: rgba(255,255,255,.86);
  font-weight: 500;
}

.footer-panel {
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,.16);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer a {
  margin-left: 0;
  color: rgba(255,255,255,.78);
  text-decoration: none;
}

.footer-links a:hover,
.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .footer-rich {
    grid-template-columns: 1fr 1fr;
  }

  .footer-panel {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 18px;
  }
}

@media (max-width: 560px) {
  .footer-rich {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* =========================================================
   Dark medical blue update + new practice detail sections
   ========================================================= */
:root {
  --canvas: #071827;
  --surface-soft: #0E2A3F;
  --surface-strong: #123955;
  --ink: #F7FBFF;
  --body: #D7E4EE;
  --muted: #AFC3D3;
  --muted-soft: #7F98AA;
  --primary: #D6A129;
  --primary-active: #B87A12;
  --primary-disabled: #22394B;
  --hairline: rgba(255,255,255,.14);
  --hairline-soft: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.22);
  --on-primary: #ffffff;
  --shadow-one: rgba(0,0,0,0.24) 0 10px 30px, rgba(0,0,0,0.16) 0 2px 8px;
}

/* BODY BACKGROUND - main website background and soft glow effects */
body {
  background:
    radial-gradient(circle at top left, rgba(214,161,41,.10), transparent 32rem),
    radial-gradient(circle at top right, rgba(80,155,210,.14), transparent 30rem),
    var(--canvas);
}

/* HEADER BACKGROUND - sticky top navigation bar */
.site-header {
  background: rgba(7, 24, 39, 0.92);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-links a:hover,
.btn-secondary:hover {
  background: rgba(255,255,255,.08);
}

.btn-secondary {
  background: rgba(255,255,255,.04);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.24);
}

.hero,
.soft-bg,
.footer,
.modal-content,
.nav-links {
  background: transparent;
}

/* CARD AND PANEL BACKGROUNDS - hero card, service cards, contact cards, CTA panels */
.hero-card,
.info-card,
.service-card,
.contact-card,
.quote-card,
.cta-panel,
.glass-card,
.mini-list,
.modal-content {
  background: rgba(11, 34, 53, .92);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-one);
}

.glass-card {
  background: rgba(7, 24, 39, .72);
  border-color: rgba(255,255,255,.18);
}

.hero-card::after {
  background: linear-gradient(180deg, rgba(7,24,39,0.02) 0%, rgba(7,24,39,0.25) 48%, rgba(7,24,39,0.78) 100%);
}

.card-grid .info-card::before,
.card-grid .service-card::before {
  background: rgba(214,161,41,.12);
  border-color: rgba(214,161,41,.32);
  color: var(--ink);
}

.hero-trust,
.credentials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 8px;
}

.hero-trust span,
.credentials-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--body);
  font-size: 13px;
  font-weight: 600;
}

.visit-section,
.doctor-profile {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: center;
}

.visit-image-wrap,
.doctor-photo-card {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow-one);
}

.visit-image-wrap img,
.doctor-photo-card img,
.practice-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.visit-image-wrap img,
.doctor-photo-card img {
  aspect-ratio: 16 / 10;
}

.practice-image {
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  aspect-ratio: 16 / 10;
}

.visit-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer {
  background: #04111D;
}

input, select, textarea {
  background: rgba(255,255,255,.06);
  color: var(--ink);
  border-color: rgba(255,255,255,.16);
}

input::placeholder,
textarea::placeholder {
  color: rgba(247,251,255,.52);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
}

@media (max-width: 900px) {
  .visit-section,
  .doctor-profile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-trust span,
  .credentials-grid span {
    width: 100%;
  }
  .visit-actions,
  .contact-actions {
    width: 100%;
  }
}


/* =========================================================
   CURRENT CLIENT OVERRIDES - MAIN EDIT AREA
   Edit this section first when changing branding.

   Includes:
   - main teal/gold colour palette
   - background colours
   - card colours
   - button colours
   - header logo size
   - footer logo size

   Palette requested by client:
   #2E525A, #3A656E, #487985, #E0B148
   ========================================================= */

/* BRAND COLOURS - EDIT HERE
   --canvas: main full-page background
   --surface-soft: soft teal section background
   --surface-strong: brighter teal for strong panels
   --primary: gold accent/buttons
   --ink/body/muted: text colours
*/
:root {
  --canvas: #2E525A;
  --surface-soft: #3A656E;
  --surface-strong: #487985;
  --ink: #F8FCFC;
  --body: #E5EFEF;
  --muted: #C6D7D9;
  --muted-soft: #A8BEC2;
  --primary: #E0B148;
  --primary-active: #C99B35;
  --primary-disabled: rgba(224, 177, 72, .22);
  --hairline: rgba(255,255,255,.16);
  --hairline-soft: rgba(255,255,255,.10);
  --border-strong: rgba(255,255,255,.26);
  --on-primary: #15282C;
  --shadow-one: rgba(0,0,0,0.22) 0 12px 34px, rgba(0,0,0,0.12) 0 2px 8px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(224,177,72,.16), transparent 30rem),
    radial-gradient(circle at top right, rgba(72,121,133,.36), transparent 34rem),
    var(--canvas);
}

.site-header {
  background: rgba(46, 82, 90, 0.94);
  border-bottom-color: rgba(255,255,255,.12);
}

.hero-card,
.info-card,
.service-card,
.contact-card,
.quote-card,
.cta-panel,
.glass-card,
.mini-list,
.modal-content {
  background: rgba(58, 101, 110, .90);
  border-color: rgba(255,255,255,.14);
}

/* SOFT SECTION BACKGROUND - used for highlighted sections */
.soft-bg {
  background: rgba(72, 121, 133, .36);
}

/* FOOTER BACKGROUND - bottom site footer */
.footer {
  background: #2E525A;
  border-top-color: rgba(224,177,72,.26);
}

/* BUTTON COLOURS - primary gold CTA buttons */
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
}

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

.eyebrow,
.card-label {
  color: var(--primary);
}

/* HEADER LOGO SIZE - DESKTOP
   Change width, height and flex together.
   Current: 112px = 100% larger than previous 56px.
*/
.logo-mark {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  max-width: 320px;
  font-size: 18px;
}

.logo {
  max-width: 460px;
  gap: 14px;
}

.nav {
  min-height: 132px;
}

/* FOOTER LOGO - layout for logo added to footer */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-decoration: none;
}

.footer-logo:hover {
  text-decoration: none;
}

/* FOOTER LOGO SIZE - desktop */
.footer-logo-mark {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand strong {
  margin-top: 4px;
}

/* HEADER LOGO SIZE - TABLET */
@media (max-width: 900px) {
  .logo-mark {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }

  .logo {
    max-width: calc(100vw - 120px);
  }

  .logo-text {
    max-width: 240px;
    font-size: 16px;
  }

  .nav {
    min-height: 116px;
  }

  .nav-links {
    top: 124px;
    background: rgba(46,82,90,.98);
  }
}

/* HEADER LOGO SIZE - MOBILE */
@media (max-width: 560px) {
  .logo-mark {
    width: 84px;
    height: 84px;
    flex-basis: 84px;
  }

  .logo-text {
    max-width: 160px;
    font-size: 13px;
  }

  .nav {
    min-height: 104px;
  }

  .nav-links {
    top: 112px;
  }

  .footer-logo-mark {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
}


/* =========================================================
   PREMIUM HERO REDESIGN - INSPIRED BY PROVIDED MOCKUP
   Edit this section for the final Dr Mziou hero style.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --premium-navy: #062B33;
  --premium-navy-deep: #031C23;
  --premium-teal: #0B3A42;
  --premium-teal-soft: #1D4F56;
  --premium-gold: #E0B148;
  --premium-gold-light: #F0C66C;
  --premium-cream: #F7F4ED;
  --premium-text: #F6F2EA;
  --premium-muted: #C9D5D5;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  font-family: var(--sans);
  background: var(--premium-cream);
  color: #0B2C34;
}

h1, h2, h3, .hero-name, .hero-main-title, .hero-qualification {
  font-family: var(--serif);
}

.site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, rgba(3,28,35,.98), rgba(6,43,51,.96));
  border-bottom: 1px solid rgba(224,177,72,.18);
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
}

.nav {
  min-height: 98px;
  grid-template-columns: auto 1fr;
}

.logo {
  max-width: 520px;
  gap: 18px;
}

.logo-mark {
  width: 72px;
  height: 72px;
  flex-basis: 72px;
  border: 1px solid rgba(224,177,72,.75);
  border-radius: 999px;
  padding: 6px;
  background: rgba(255,255,255,.02);
}

.logo-text {
  display: flex;
  flex-direction: column;
  max-width: none;
  line-height: 1.05;
  color: var(--premium-text);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.logo-text strong {
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 600;
  letter-spacing: .07em;
}

.logo-text small {
  margin-top: 5px;
  font-size: clamp(11px, .9vw, 15px);
  color: var(--premium-gold);
  letter-spacing: .16em;
  font-weight: 600;
}

.nav-links {
  justify-self: end;
  gap: 18px;
}

.nav-links a {
  color: rgba(246,242,234,.86);
  font-size: 15px;
  font-weight: 500;
  border-radius: 0;
  padding: 12px 4px;
}

.nav-links a:hover {
  color: var(--premium-gold-light);
  background: transparent;
}

.nav-links a.active {
  color: var(--premium-gold);
}

.nav-links a.active::after {
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 3px;
  background: var(--premium-gold);
}

.nav-links .btn,
.nav-book {
  margin-left: 18px;
  padding: 14px 22px !important;
  border-radius: 8px !important;
  color: #10272C !important;
}

.hero-inspired {
  position: relative;
  overflow: hidden;
  padding: 76px 0 86px;
  background:
    radial-gradient(circle at 92% 18%, rgba(224,177,72,.26), transparent 26rem),
    radial-gradient(circle at 8% 38%, rgba(72,121,133,.42), transparent 28rem),
    linear-gradient(135deg, var(--premium-navy-deep), var(--premium-navy) 52%, #0A4048);
}

.hero-inspired::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .18;
  pointer-events: none;
}

.hero-inspired .container {
  position: relative;
  z-index: 1;
}

.hero-inspired .hero-grid {
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1fr);
  gap: clamp(36px, 5vw, 72px);
}

.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--premium-gold);
  letter-spacing: .10em;
  font-size: 15px;
}

.eyebrow-line::before {
  content: "";
  width: 48px;
  height: 2px;
  background: var(--premium-gold);
}

.hero-inspired h1 {
  max-width: 720px;
  margin-bottom: 20px;
  line-height: .98;
}

.hero-inspired h1 span {
  display: block;
}

.hero-name {
  font-size: clamp(48px, 6vw, 78px);
  color: var(--premium-text);
  font-weight: 600;
  text-shadow: 0 2px 18px rgba(0,0,0,.18);
}

.hero-qualification {
  margin-top: 18px;
  font-size: clamp(46px, 5.6vw, 72px);
  color: var(--premium-gold);
  font-weight: 600;
}

.hero-main-title {
  margin-top: 8px;
  font-size: clamp(44px, 5.2vw, 70px);
  color: var(--premium-text);
  font-weight: 600;
}

.hero-inspired .hero-text {
  max-width: 580px;
  color: rgba(246,242,234,.84);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.55;
}

.btn-primary {
  background: linear-gradient(180deg, #F1C86F, var(--premium-gold));
  color: #11282E;
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 12px 24px rgba(224,177,72,.18), inset 0 1px 0 rgba(255,255,255,.35);
}

.btn-secondary {
  background: rgba(6,43,51,.35);
  color: var(--premium-text);
  border: 1px solid rgba(224,177,72,.68);
}

.btn-secondary:hover {
  background: rgba(224,177,72,.10);
}

.inspired-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 640px;
  margin-top: 22px;
}

.inspired-trust span {
  border-radius: 12px;
  min-height: 74px;
  padding: 14px 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(246,242,234,.88);
  font-size: 14px;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.inspired-trust strong {
  color: rgba(246,242,234,.70);
  font-size: 13px;
  font-weight: 600;
}

.inspired-photo-card {
  min-height: clamp(540px, 64vh, 720px);
  padding: 10px;
  border-radius: 34px;
  border: 1.5px solid var(--premium-gold);
  background: rgba(224,177,72,.09);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}

.inspired-photo-card .hero-image {
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 26px;
  object-fit: cover;
  object-position: center;
}

.inspired-photo-card::after {
  inset: 10px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(3,28,35,0) 40%, rgba(3,28,35,.30) 75%, rgba(3,28,35,.58) 100%);
}

.hero-service-card {
  position: absolute;
  right: 52px;
  bottom: 52px;
  width: min(460px, calc(100% - 104px));
  margin: 0;
  padding: 18px 28px;
  border-radius: 14px;
  background: rgba(24,74,82,.78);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px);
}

.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.icon-list li {
  position: relative;
  padding: 14px 0 14px 42px;
  color: #F7F4ED;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.icon-list li:last-child { border-bottom: 0; }

.icon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border: 1.5px solid var(--premium-gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(224,177,72,.10);
}

.conditions-preview {
  padding-top: 58px;
  padding-bottom: 72px;
  background: var(--premium-cream);
}

.conditions-preview .eyebrow {
  color: #C88F28;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.split-heading h2 {
  color: #082B33;
  font-size: clamp(40px, 4vw, 58px);
  line-height: .95;
  font-weight: 700;
}

.section-link {
  color: #B88126;
  font-weight: 700;
}

.condition-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.condition-card {
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(8,43,51,.10);
  box-shadow: 0 14px 34px rgba(8,43,51,.08);
}

.condition-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.condition-card div {
  padding: 18px 20px 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,244,237,.78));
}

.condition-card h3 {
  margin: 0 0 10px;
  color: #0A2E36;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
}

.condition-card a {
  color: #0A2E36;
  font-size: 14px;
  font-weight: 500;
}

.condition-card a span { color: #C88F28; padding-left: 6px; }

.procedures-section,
.visit-section,
.cta-panel,
.page-hero,
.doctor-profile,
.contact-grid,
.narrow,
.card-grid.two {
  color: var(--premium-text);
}

.procedures-section h2,
.visit-section h2,
.cta-panel h2,
.page-hero h1,
.doctor-profile h2,
.contact-card h2,
.narrow h2,
.card-grid.two h3 {
  color: var(--premium-text);
}

.info-card, .service-card, .contact-card, .quote-card, .cta-panel, .mini-list, .modal-content {
  background: rgba(6,43,51,.92);
  border-color: rgba(224,177,72,.18);
}

.footer {
  background: #031C23;
  border-top: 1px solid rgba(224,177,72,.22);
}

@media (max-width: 1100px) {
  .hero-inspired .hero-grid { grid-template-columns: 1fr; }
  .inspired-photo-card { min-height: 620px; }
  .condition-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav { min-height: 88px; }
  .logo-mark { width: 62px; height: 62px; flex-basis: 62px; }
  .logo-text strong { font-size: 23px; }
  .logo-text small { font-size: 10px; }
  .nav-toggle {
    background: rgba(255,255,255,.06);
    color: var(--premium-text);
    border-color: rgba(224,177,72,.35);
  }
  .nav-links {
    top: 98px;
    background: rgba(3,28,35,.98);
    border-color: rgba(224,177,72,.22);
    align-items: stretch;
  }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { margin-left: 0; margin-top: 10px; }
}

@media (max-width: 680px) {
  .hero-inspired { padding: 44px 0 58px; }
  .hero-name, .hero-qualification, .hero-main-title { line-height: 1.02; }
  .inspired-trust { grid-template-columns: 1fr; }
  .inspired-photo-card { min-height: 500px; border-radius: 24px; }
  .inspired-photo-card .hero-image, .inspired-photo-card::after { border-radius: 18px; }
  .hero-service-card {
    left: 24px;
    right: 24px;
    bottom: 24px;
    width: auto;
    padding: 14px 18px;
  }
  .icon-list li { font-size: 14px; padding-left: 34px; }
  .condition-strip { grid-template-columns: 1fr; }
  .split-heading { display: block; }
  .section-link { display: inline-block; margin-top: 10px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
}


/* =========================================================
   FINAL UPDATE OVERRIDES - 2026-06-10
   Requested changes:
   - darker black header
   - animated gradient on hero
   - larger 50/50 hero layout on desktop
   - better legibility on white backgrounds
   - footer ethics section removed
   - Optiact footer credit
   ========================================================= */

:root {
  --site-black: #07090c;
  --site-black-soft: #101418;
  --site-gold: #E0B148;
  --site-cream: #FCFBF8;
  --site-ink: #101820;
  --site-muted: #475467;
  --site-line: rgba(16,24,32,.10);
  --site-card-shadow: 0 18px 40px rgba(10, 20, 30, .08);
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  color: var(--site-ink);
}

p,
.hero-text,
.page-hero p,
.narrow p,
.contact-card p,
.info-card p,
.service-card p,
.quote-card p,
.cta-panel p,
.visit-copy p,
.procedures-copy p {
  color: var(--site-muted);
}

.site-header {
  background: rgba(7, 9, 12, .96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,177,72,.45), transparent);
}

.nav-links a {
  color: rgba(255,255,255,.88);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.active,
.nav-links a.active::after {
  color: var(--site-gold);
  background: var(--site-gold);
}

.nav-links .btn,
.nav-book {
  color: #16140d !important;
}

@keyframes heroGradientShift {
  0% { background-position: 0% 50%, 100% 0%, 0% 0%; }
  50% { background-position: 100% 50%, 0% 100%, 100% 100%; }
  100% { background-position: 0% 50%, 100% 0%, 0% 0%; }
}

.hero-inspired {
  background:
    radial-gradient(circle at 15% 30%, rgba(224,177,72,.18), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(58,101,110,.34), transparent 32rem),
    linear-gradient(135deg, #061014 0%, #0b1f25 35%, #12343b 65%, #1f4d56 100%);
  background-size: 140% 140%, 140% 140%, 180% 180%;
  animation: heroGradientShift 18s ease-in-out infinite;
  padding: 86px 0 96px;
}

.hero-inspired::before {
  opacity: .12;
}

.hero-inspired .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(34px, 4vw, 56px);
}

.hero-copy,
.inspired-photo-card {
  min-height: 700px;
}

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

.hero-inspired h1 {
  max-width: 100%;
}

.hero-name {
  font-size: clamp(44px, 5vw, 74px);
}

.hero-qualification {
  font-size: clamp(40px, 4.6vw, 64px);
}

.hero-main-title {
  font-size: clamp(40px, 4.8vw, 66px);
}

.hero-inspired .hero-text {
  max-width: 620px;
  font-size: clamp(18px, 1.25vw, 22px);
  color: rgba(246,242,234,.90);
}

.hero-actions {
  gap: 14px;
}

.hero-actions .btn {
  min-width: 190px;
}

.hero-trust {
  margin-top: 10px;
}

.hero-trust span {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.88);
}

.inspired-photo-card {
  min-height: 700px;
  border-radius: 36px;
}

.inspired-photo-card .hero-image {
  object-position: center top;
}

.hero-service-card {
  background: rgba(10,30,36,.74);
}

.conditions-preview,
.procedures-section,
.visit-section,
.page-hero,
.doctor-profile,
.contact-grid,
.narrow,
.card-grid.two,
.card-grid.three,
.split,
.soft-bg {
  background: #ffffff;
  color: var(--site-ink);
}

.split-heading h2,
.procedures-section h2,
.visit-section h2,
.page-hero h1,
.doctor-profile h2,
.contact-card h2,
.narrow h2,
.card-grid.two h3,
.card-grid.three h3,
.split h2,
.cta-panel h2 {
  color: var(--site-ink);
}

.info-card,
.service-card,
.contact-card,
.quote-card,
.cta-panel,
.mini-list,
.modal-content {
  background: #ffffff;
  border: 1px solid var(--site-line);
  box-shadow: var(--site-card-shadow);
  color: var(--site-ink);
}

.info-card h3,
.service-card h3,
.contact-card h2,
.quote-card h3,
.quote-card p,
.cta-panel h2,
.mini-list span,
.modal-content h2,
label,
.contact-card strong,
.footer-brand strong,
.footer-panel strong,
.footer-links strong {
  color: var(--site-ink);
}

.mini-list span,
.credentials-grid span,
.hero-trust span {
  border-radius: 999px;
}

.mini-list span,
.credentials-grid span {
  background: #f8fafb;
  color: var(--site-ink);
  border: 1px solid rgba(16,24,32,.08);
}

.page-hero {
  padding-top: 56px;
  padding-bottom: 10px;
}

.page-hero p,
.narrow p,
.doctor-profile p,
.contact-card label,
.contact-card .consent,
.contact-card input,
.contact-card textarea,
.contact-card select,
.modal-content p,
.modal-content label,
.modal-content input,
.modal-content textarea,
.modal-content select {
  color: var(--site-ink);
}

.page-hero .eyebrow,
.narrow .eyebrow,
.doctor-profile .eyebrow,
.procedures-copy .eyebrow,
.visit-copy .eyebrow,
.contact-card .eyebrow {
  color: var(--site-gold);
}

input,
textarea,
select {
  background: #ffffff;
  color: var(--site-ink);
  border-color: rgba(16,24,32,.16);
}

input::placeholder,
textarea::placeholder {
  color: #667085;
}

.visit-section,
.doctor-profile {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visit-image-wrap,
.doctor-photo-card {
  background: #f8fafb;
  border: 1px solid rgba(16,24,32,.08);
}

.footer {
  margin-top: 56px;
  padding: 56px 0 24px;
  background: linear-gradient(180deg, #0a0c0f 0%, #11161b 100%);
  color: #ffffff;
}

.footer-rich {
  grid-template-columns: 1.2fr .9fr .7fr;
}

.footer-panel {
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,.10);
}

.footer-brand strong,
.footer-panel strong,
.footer-links strong {
  color: #ffffff;
}

.footer p,
.footer a,
.footer-contact {
  color: rgba(255,255,255,.76);
}

.footer-credit {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-credit p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.footer-credit a {
  color: var(--site-gold);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .hero-inspired .hero-grid,
  .visit-section,
  .doctor-profile {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .inspired-photo-card {
    min-height: auto;
  }

  .inspired-photo-card {
    min-height: 600px;
  }
}

@media (max-width: 900px) {
  .site-header {
    background: rgba(7,9,12,.98);
  }

  .nav-links {
    background: rgba(7,9,12,.98);
  }

  .footer-rich {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .hero-inspired {
    padding: 48px 0 58px;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .footer-rich {
    grid-template-columns: 1fr;
  }

  .footer-panel {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.10);
    padding-top: 18px;
  }
}

/* =========================================================
   REQUESTED HEADER + BUTTON HOVER UPDATE
   Added: 2026-06-10
   - Header/navigation changed to uploaded gold colour.
   - Get Directions and Send via WhatsApp secondary buttons turn black on hover.
   ========================================================= */
:root {
  --uploaded-header-gold: #E2A64A;
}

.site-header {
  background: var(--uploaded-header-gold) !important;
  border-bottom-color: rgba(16, 24, 32, .14) !important;
}

.site-header::after {
  background: transparent !important;
}

.nav-links a {
  color: #101820 !important;
}

.nav-links a:hover {
  color: #000000 !important;
  background: rgba(0, 0, 0, .08) !important;
}

.nav-links a.active {
  color: #000000 !important;
}

.nav-links a.active::after {
  background: #000000 !important;
}

.nav-links .btn,
.nav-book {
  color: #101820 !important;
}

/* Only target the requested direction and WhatsApp form actions */
a.btn-secondary[href*="google.com/maps/dir"]:hover,
button.btn-secondary#contactWhatsApp:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

@media (max-width: 900px) {
  .site-header,
  .nav-links {
    background: var(--uploaded-header-gold) !important;
  }
}


/* =========================================================
   HERO MOBILE LAYOUT UPDATE
   Added: 2026-06-10
   - Keeps only the homepage hero section in the same side-by-side
     desktop style on mobile.
   - Other page sections still use the existing mobile stacking.
   ========================================================= */
@media (max-width: 1100px) {
  .hero-inspired .hero-grid {
    grid-template-columns: minmax(0, .92fr) minmax(42%, 1fr) !important;
    gap: clamp(12px, 3vw, 28px) !important;
    align-items: stretch !important;
  }

  .hero-inspired .hero-copy,
  .hero-inspired .inspired-photo-card {
    min-height: clamp(420px, 64vw, 600px) !important;
  }
}

@media (max-width: 680px) {
  .hero-inspired {
    padding: 28px 0 36px !important;
  }

  .hero-inspired .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr) !important;
    gap: 10px !important;
  }

  .hero-inspired .hero-copy {
    padding: 18px 12px !important;
    min-height: 420px !important;
  }

  .hero-inspired .inspired-photo-card {
    min-height: 420px !important;
    border-radius: 0 22px 22px 0 !important;
  }

  .hero-inspired h1 {
    font-size: clamp(21px, 7vw, 34px) !important;
    line-height: 1.05 !important;
  }

  .hero-inspired .hero-qualification {
    font-size: clamp(13px, 3.8vw, 18px) !important;
  }

  .hero-inspired .hero-text {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .hero-inspired .hero-actions {
    gap: 8px !important;
    margin-top: 16px !important;
  }

  .hero-inspired .hero-actions .btn {
    width: auto !important;
    min-height: 40px !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
    white-space: normal !important;
  }
}

@media (max-width: 420px) {
  .hero-inspired .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .72fr) !important;
  }

  .hero-inspired .hero-copy,
  .hero-inspired .inspired-photo-card {
    min-height: 390px !important;
  }

  .hero-inspired .hero-copy {
    padding: 16px 10px !important;
  }

  .hero-inspired .hero-actions .btn {
    padding: 9px 10px !important;
    font-size: 11px !important;
  }
}


/* =========================================================
   EMAIL, PORTRAIT IMAGE + SUBTLE IMAGE SHIMMER UPDATE
   Added: 2026-06-10
   - About page doctor image now displays more like a clean portrait.
   - Image containers receive a soft shimmer sweep once every 5 seconds.
   ========================================================= */

.doctor-profile {
  align-items: center;
}

.doctor-profile .doctor-photo-card {
  width: min(100%, 520px);
  justify-self: center;
  aspect-ratio: 4 / 5;
  border-radius: 34px;
  background: rgba(255, 255, 255, .05);
}

.doctor-profile .doctor-photo-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
}

.hero-card,
.image-card,
.procedures-visual,
.visit-image-wrap,
.doctor-photo-card,
.contact-card .practice-image {
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.image-card::after,
.procedures-visual::after,
.visit-image-wrap::after,
.doctor-photo-card::after {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, .18) 48%,
    rgba(224, 177, 72, .18) 51%,
    rgba(255, 255, 255, .16) 54%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-130%) rotate(8deg);
  opacity: 0;
  animation: imageShimmerSweep 5s ease-in-out infinite;
}

.hero-card::before {
  z-index: 2;
}

.image-card > *,
.procedures-visual > *,
.visit-image-wrap > *,
.doctor-photo-card > * {
  position: relative;
  z-index: 1;
}

@keyframes imageShimmerSweep {
  0%, 72% {
    transform: translateX(-130%) rotate(8deg);
    opacity: 0;
  }
  78% {
    opacity: .55;
  }
  90% {
    transform: translateX(130%) rotate(8deg);
    opacity: .28;
  }
  100% {
    transform: translateX(130%) rotate(8deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card::before,
  .image-card::after,
  .procedures-visual::after,
  .visit-image-wrap::after,
  .doctor-photo-card::after {
    animation: none;
  }
}

@media (max-width: 680px) {
  .doctor-profile .doctor-photo-card {
    width: min(100%, 420px);
    border-radius: 26px;
  }
}

/* =========================================================
   MOBILE HERO NAME FIX
   Added: 2026-06-10
   Purpose:
   - Prevents "Dr Abdelhamid Mziou" from being cut off on phones.
   - Keeps the side-by-side mobile hero layout, but gives the text
     column enough room and reduces only the hero name typography.
   ========================================================= */

.hero-inspired .hero-copy,
.hero-inspired h1,
.hero-inspired .hero-name {
  min-width: 0;
  max-width: 100%;
}

.hero-inspired .hero-name {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 680px) {
  .hero-inspired .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .72fr) !important;
    gap: 8px !important;
  }

  .hero-inspired .hero-copy {
    padding: 18px 10px !important;
  }

  .hero-inspired .hero-name {
    font-size: clamp(34px, 9.4vw, 43px) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.035em !important;
  }

  .hero-inspired .hero-qualification {
    margin-top: 14px !important;
  }
}

@media (max-width: 420px) {
  .hero-inspired .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr) !important;
    gap: 8px !important;
  }

  .hero-inspired .hero-copy {
    padding: 16px 8px !important;
  }

  .hero-inspired .hero-name {
    font-size: clamp(30px, 8.8vw, 37px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em !important;
  }

  .hero-inspired .eyebrow-line {
    font-size: 11px !important;
    gap: 9px !important;
    letter-spacing: .08em !important;
  }

  .hero-inspired .eyebrow-line::before {
    width: 32px !important;
  }
}

@media (max-width: 360px) {
  .hero-inspired .hero-grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, .58fr) !important;
    gap: 6px !important;
  }

  .hero-inspired .hero-copy {
    padding: 14px 7px !important;
  }

  .hero-inspired .hero-name {
    font-size: clamp(27px, 8.2vw, 32px) !important;
    letter-spacing: -0.045em !important;
  }

  .hero-inspired .hero-text {
    font-size: 12px !important;
    line-height: 1.38 !important;
  }
}


/* =========================================================
   HERO MOBILE IMAGE + HERO TEXT HIERARCHY UPDATE
   Added: 2026-06-11
   Purpose:
   - Shows more of the doctor's face/photo on mobile without changing
     the side-by-side hero layout.
   - Makes the main intro sentence larger than the HPCSA/practice details,
     while still keeping it smaller than the doctor's name.
   ========================================================= */

.hero-inspired .hero-text {
  display: grid;
  gap: 10px;
  max-width: 680px;
}

.hero-inspired .hero-text-main {
  display: block;
  color: rgba(246, 242, 234, .96);
  font-size: clamp(20px, 1.55vw, 27px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-inspired .hero-text-meta {
  display: block;
  color: rgba(246, 242, 234, .76);
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.55;
  font-weight: 500;
}

/* Desktop: keep portrait elegant but show slightly more of the upper face. */
.inspired-photo-card .hero-image {
  object-position: center 18% !important;
}

@media (max-width: 680px) {
  /* Keep same hero layout; only scale the image presentation down inside the same card. */
  .hero-inspired .inspired-photo-card {
    padding: 8px !important;
    background:
      radial-gradient(circle at 50% 18%, rgba(224,177,72,.16), transparent 46%),
      rgba(224,177,72,.07) !important;
  }

  .hero-inspired .inspired-photo-card .hero-image {
    inset: 8px !important;
    width: calc(100% - 16px) !important;
    height: calc(100% - 16px) !important;
    object-fit: contain !important;
    object-position: center top !important;
    background: rgba(10, 30, 36, .36);
    border-radius: 18px !important;
  }

  .hero-inspired .inspired-photo-card::after {
    inset: 8px !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(3,28,35,0) 55%, rgba(3,28,35,.20) 82%, rgba(3,28,35,.42) 100%) !important;
  }

  .hero-inspired .hero-text {
    gap: 7px !important;
  }

  .hero-inspired .hero-text-main {
    font-size: clamp(15px, 4.25vw, 18px) !important;
    line-height: 1.28 !important;
    font-weight: 650 !important;
  }

  .hero-inspired .hero-text-meta {
    font-size: clamp(11px, 3.2vw, 13px) !important;
    line-height: 1.42 !important;
  }
}

@media (max-width: 420px) {
  .hero-inspired .inspired-photo-card .hero-image {
    inset: 7px !important;
    width: calc(100% - 14px) !important;
    height: calc(100% - 14px) !important;
    border-radius: 16px !important;
  }

  .hero-inspired .inspired-photo-card::after {
    inset: 7px !important;
    border-radius: 16px !important;
  }

  .hero-inspired .hero-text-main {
    font-size: clamp(13px, 3.85vw, 16px) !important;
  }

  .hero-inspired .hero-text-meta {
    font-size: clamp(10px, 2.95vw, 12px) !important;
  }
}

@media (max-width: 360px) {
  .hero-inspired .hero-text-main {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
  }

  .hero-inspired .hero-text-meta {
    font-size: 10px !important;
    line-height: 1.34 !important;
  }
}

/* =========================================================
   FINAL MOBILE HERO PHOTO FIT FIX
   Added: 2026-06-11
   Purpose:
   - Mobile only: enlarge the doctor's hero photo so it fills the
     gold bordered box instead of leaving empty space at the bottom.
   - Keeps the desktop/tablet image behaviour unchanged.
   - Keeps the face centred in the visible mobile crop.
   ========================================================= */

@media (max-width: 680px) {
  .hero-inspired .inspired-photo-card {
    overflow: hidden !important;
  }

  .hero-inspired .inspired-photo-card .hero-image {
    object-fit: cover !important;
    object-position: 50% 20% !important;
    background: transparent !important;
  }
}

@media (max-width: 420px) {
  .hero-inspired .inspired-photo-card .hero-image {
    object-fit: cover !important;
    object-position: 50% 18% !important;
  }
}

@media (max-width: 360px) {
  .hero-inspired .inspired-photo-card .hero-image {
    object-fit: cover !important;
    object-position: 50% 16% !important;
  }
}


/* =========================================================
   HOME HERO TEXT SIZE + HOME POP-UP UPDATE
   Added: 2026-06-11
   Purpose:
   - Makes the main hero sentence 40% larger.
   - Makes the HPCSA / practice details 20% smaller.
   - Adds styling for the home-page only service pop-up.
   ========================================================= */

.hero-inspired .hero-text-main {
  font-size: clamp(28px, 2.17vw, 38px) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

.hero-inspired .hero-text-meta {
  font-size: clamp(11px, .8vw, 14px) !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}

@media (max-width: 680px) {
  .hero-inspired .hero-text-main {
    font-size: clamp(21px, 5.95vw, 25px) !important;
    line-height: 1.18 !important;
  }

  .hero-inspired .hero-text-meta {
    font-size: clamp(8.8px, 2.55vw, 10.4px) !important;
    line-height: 1.32 !important;
  }
}

@media (max-width: 420px) {
  .hero-inspired .hero-text-main {
    font-size: clamp(18px, 5.39vw, 22px) !important;
    line-height: 1.18 !important;
  }

  .hero-inspired .hero-text-meta {
    font-size: clamp(8px, 2.36vw, 9.6px) !important;
  }
}

.home-service-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 14, 18, .54);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}

.home-service-popup.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-service-popup__card {
  position: relative;
  width: min(520px, 100%);
  padding: 30px 28px 28px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(224, 177, 72, .22), transparent 16rem),
    linear-gradient(145deg, #071B20, #0B333B);
  color: #F7F4ED;
  border: 1px solid rgba(224, 177, 72, .34);
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  transform: translateY(12px) scale(.98);
  transition: transform .24s ease;
}

.home-service-popup.is-visible .home-service-popup__card {
  transform: translateY(0) scale(1);
}

.home-service-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #F7F4ED;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.home-service-popup__close:hover {
  background: rgba(255,255,255,.16);
}

.home-service-popup__eyebrow {
  margin: 0 0 10px;
  color: var(--premium-gold, #E0B148);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
}

.home-service-popup h2 {
  margin: 0 34px 14px 0;
  color: #F7F4ED;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
}

.home-service-popup p {
  margin: 0 0 12px;
  color: rgba(247,244,237,.84);
  font-size: 15.5px;
  line-height: 1.55;
}

.home-service-popup__cta {
  margin-top: 10px;
  width: 100%;
}

@media (max-width: 560px) {
  .home-service-popup {
    padding: 16px;
    align-items: end;
  }

  .home-service-popup__card {
    padding: 26px 20px 22px;
    border-radius: 20px;
  }

  .home-service-popup h2 {
    font-size: 25px;
  }

  .home-service-popup p {
    font-size: 14px;
  }
}

