/* Layout idea: a doctor's portfolio as one long page — arched portrait opener,
   plum fact band, then CV sections alternating white and soft lotus tints. */
:root {
  color-scheme: light;
  /* colours: unchanged from the existing site (lotus logo) */
  --primary: #8e4fa8;
  /* lotus purple */
  --primary-dark: #6d3585;
  --primary-light: #e3c8ee;
  --secondary: #e0569b;
  /* logo pink */
  --green: #4fae7b;
  /* leaf green */
  --plum: #35173f;
  /* deep plum */
  --bg: #ffffff;
  --bg-soft: #fcf6fb;
  --bg-cream: #fdf3f8;
  --bg-mint: #f6e8f6;
  --text: #2b1533;
  --text-body: #4a3a52;
  --text-muted: #7a6a82;
  --border: #f1e2ef;
  --border-strong: #e4cce1;
  --shadow-md: 0 8px 30px rgba(53, 23, 63, 0.08);
  --shadow-lg: 0 20px 50px rgba(53, 23, 63, 0.12);
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Dancing Script', 'Brush Script MT', cursive;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.tint {
  background: var(--bg-soft);
}

.tint-2 {
  background: linear-gradient(180deg, var(--bg-cream), var(--bg-mint));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 720px;
}

.head h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 600;
}

.head h2 em,
h1 em,
.cta h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}

.head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform .25s, box-shadow .25s, background .25s;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 12px 30px rgba(142, 79, 168, 0.3);
}

.btn-outline {
  border-color: var(--border-strong);
  color: var(--primary-dark);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--primary);
}

.btn-white {
  background: #fff;
  color: var(--primary-dark);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.logo img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.logo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.2;
}

.logo small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--primary);
  border-color: var(--secondary);
}

.nav .btn {
  padding: 11px 20px;
  font-size: 0.88rem;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.menu-btn svg {
  width: 22px;
  height: 22px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(520px 520px at 88% 8%, rgba(227, 200, 238, 0.75), transparent 70%),
    radial-gradient(420px 420px at 4% 96%, rgba(224, 86, 155, 0.12), transparent 70%),
    var(--bg-cream);
  overflow: hidden;
}

.hero-in {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(40px, 6vw, 76px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.hero-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.9rem);
  font-weight: 700;
  line-height: 1.02;
}

.hero h1 em {
  display: block;
}

.hero .role {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text);
  font-weight: 600;
}

.hero .role span {
  color: var(--text-muted);
  font-weight: 500;
}

.hero p.lead {
  max-width: 56ch;
  font-size: 1.06rem;
}

.quals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quals li {
  padding: 6px 14px;
  border-radius: 50px;
  background: #fff;
  border: 1px solid var(--border-strong);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

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

.tagline {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--secondary);
  line-height: 1;
}

.portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
}

.portrait::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 30px -24px -24px 30px;
  border-radius: 36px;
  background: linear-gradient(145deg, var(--primary-light), #f8cfe3);
}

.portrait img.photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}

.reg {
  position: absolute;
  z-index: 2;
  left: -26px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow-lg);
}

.reg img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.reg strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
}

.reg span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- FACT BAND ---------- */
.facts {
  background: linear-gradient(135deg, rgba(142, 79, 168, 0.92), rgba(224, 86, 155, 0.9)), url('images/gallery/workshop-group.jpg') center / cover;
  color: #fff;
}

.facts ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.facts li {
  padding: 52px 20px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.facts li:first-child {
  border-left: 0;
}

.facts b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.facts span {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- ABOUT ---------- */
.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.about-photo .badge {
  position: absolute;
  right: -14px;
  bottom: 28px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 20px;
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
}

.badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
}

.badge span {
  font-size: 0.8rem;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 600;
}

.about-copy h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}

blockquote {
  display: grid;
  gap: 16px;
  padding-left: 24px;
  border-left: 3px solid var(--secondary);
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text);
}

blockquote p:first-child {
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.55;
  color: var(--primary-dark);
}

.sig {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
}

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

.checks li,
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checks li {
  font-weight: 600;
  color: var(--text);
  font-size: 0.96rem;
}

.checks li::before,
.ticks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--border-strong);
}

.mvv div {
  padding: 28px 28px 0 0;
}

.mvv div+div {
  padding-left: 28px;
  border-left: 1px solid var(--border-strong);
}

.mvv h3 {
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 8px;
}

.mvv p {
  font-size: 0.98rem;
}

/* ---------- CV ---------- */
.cv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
}

.cv h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cv h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-strong);
}

.line {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 28px;
}

.line::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
  opacity: 0.5;
}

.line li {
  position: relative;
  display: grid;
  gap: 3px;
}

.line li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
}

.yr {
  justify-self: start;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--bg-mint);
  border-radius: 50px;
  padding: 2px 12px;
  font-variant-numeric: tabular-nums;
}

.yr.now {
  background: var(--green);
  color: #fff;
}

.line strong {
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.4;
}

.line span.where {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ---------- PROCEDURES ---------- */
.procs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.proc {
  background: #fff;
  border-radius: 22px;
  padding: 26px 24px;
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.proc:nth-child(2) {
  border-top-color: var(--secondary);
}

.proc:nth-child(3) {
  border-top-color: var(--primary-dark);
}

.proc:nth-child(4) {
  border-top-color: var(--green);
}

.proc h3 {
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.ticks {
  display: grid;
  gap: 11px;
  font-size: 0.95rem;
}

.ticks li::before {
  width: 18px;
  height: 18px;
}

/* ---------- RESEARCH ---------- */
.research {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.paper {
  background: var(--plum);
  color: #e9dcee;
  border-radius: 26px;
  padding: clamp(26px, 4vw, 40px);
  display: grid;
  gap: 14px;
}

.paper .k {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.paper h3 {
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.4;
}

.paper .j {
  font-style: italic;
}

.paper a {
  justify-self: start;
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 2px;
}

.notes {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.notes div {
  padding-left: 20px;
  border-left: 3px solid var(--primary-light);
}

.notes strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.14rem;
}

.certs h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.certs .ticks {
  gap: 14px;
  font-size: 1rem;
}

/* ---------- COMMITMENT ---------- */
.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}

.promises li {
  padding: 30px 28px;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.6);
}

.promises h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.promises p {
  font-size: 0.96rem;
}

/* ---------- GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.gallery figure {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-mint);
  grid-column: span 2;
}

.gallery figure:nth-child(1),
.gallery figure:nth-child(2) {
  grid-column: span 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .6s;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 18px 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(53, 23, 63, 0.85));
}

/* ---------- CONTACT ---------- */
.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--secondary));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-in {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.cta .eyebrow {
  color: #fff;
}

.cta .eyebrow::before {
  background: #fff;
}

.cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 600;
  margin: 14px 0;
}

.cta h2 em {
  color: #fbe3f0;
}

.cta-copy>p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 50ch;
}

.where-list {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}

.where-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.where-list .ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
}

.where-list svg {
  width: 20px;
  height: 20px;
}

.where-list b {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fbe3f0;
}

.where-list p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

.where-list small {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.where-list a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form {
  background: #fff;
  color: var(--text-body);
  border-radius: 26px;
  padding: clamp(24px, 3.4vw, 36px);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 16px;
}

.form h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.form>p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-top: -8px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.96rem;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-soft);
  width: 100%;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.form .hint {
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* Appointment form: Submit button, result message, hidden anti-spam field */
.form button.btn {
  width: 100%;
}

.form button.btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form .form-msg {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 600;
}

.form .form-msg.ok {
  background: #e9f6ef;
  color: #1f6b45;
  border: 1px solid #bfe3cf;
}

.form .form-msg.err {
  background: #fdecf3;
  color: #a3245f;
  border: 1px solid #f5c3da;
}

.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.faq .head {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
}

details[open] {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-mint);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
  background: var(--primary);
  color: #fff;
}

details p {
  padding: 0 22px 20px;
  font-size: 0.98rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--plum);
  color: rgba(255, 255, 255, 0.78);
  padding: 54px 0 0;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 38px;
}

.footer .logo {
  margin: 0;
}

.footer .logo img {
  width: 58px;
  height: 58px;
}

.footer .logo strong {
  color: #fff;
  font-size: 1.25rem;
}

.footer .logo small {
  color: var(--primary-light);
}

.foot-top p {
  max-width: 46ch;
  font-size: 0.95rem;
  margin-top: 16px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.94rem;
  max-width: 420px;
}

.foot-links a:hover {
  color: #fff;
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #fff;
}

.foot-bottom a {
  font-weight: 600;
}

.foot-bottom a:hover {
  text-decoration: underline;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform .3s;
}

.wa-float:hover {
  transform: scale(1.1);
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.to-top {
  position: fixed;
  right: 26px;
  bottom: 92px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(53, 23, 63, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  transform: translateY(-3px);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {

  .procs,
  .svc-grid,
  .cards4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    gap: 18px;
    font-size: 0.88rem;
  }
}

@media (max-width: 920px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px var(--gutter) 16px;
    box-shadow: var(--shadow-md);
  }

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

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-in,
  .about,
  .cv,
  .research,
  .cta-in,
  .faq,
  .overview,
  .two-col {
    grid-template-columns: 1fr;
  }

  .portrait {
    order: -1;
    width: min(78%, 340px);
  }

  .reg {
    left: -14px;
  }

  .about-photo {
    max-width: 380px;
  }

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

  .facts ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts li:nth-child(3) {
    border-left: 0;
  }

  .facts li:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .gallery figure,
  .gallery figure:nth-child(1),
  .gallery figure:nth-child(2) {
    grid-column: span 3;
  }

  .gallery figure:nth-child(5) {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .nav .btn {
    display: none;
  }

  .logo small {
    display: none;
  }

  .svc-grid,
  .cards4,
  .procs,
  .promises,
  .mvv,
  .checks,
  .row {
    grid-template-columns: 1fr;
  }

  .mvv div,
  .mvv div+div {
    padding: 22px 0 0;
    border-left: 0;
  }

  .mvv div+div {
    border-top: 1px solid var(--border-strong);
    margin-top: 22px;
  }

  .gallery figure,
  .gallery figure:nth-child(n) {
    grid-column: span 6;
  }

  .about-photo .badge {
    right: 10px;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
}

/* Centre the menu links in the header (desktop only) */
@media (min-width: 921px) {
  .nav-in {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .logo {
    margin-right: 0;
    justify-self: start;
  }

  .nav-links {
    justify-self: center;
  }

  .nav .btn {
    justify-self: end;
  }
}



/* ---------- SERVICE CARDS (home + services page + related) ---------- */

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

.svc-grid:not(.three) {
  width: max(100%, min(1560px, calc(100vw - 160px)));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

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

.svc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: box-shadow .3s, transform .3s;
  min-width: 0;
}

.svc:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* SERVICE IMAGE */

.svc-img {
  position: relative;
  display: block;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
}

.svc-img::before {
  display: none !important;
  content: none !important;
}

.svc-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .6s ease;
}

.svc:hover .svc-img img {
  transform: scale(1.02);
}

/* SERVICE CONTENT */

.svc-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.svc-body .more {
  margin-top: 5px;
  align-self: flex-start;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}


.svc-body .more span {
  display: inline-block;
  margin-left: 4px;
  transition: transform .25s;
}

.svc:hover .more span {
  transform: translateX(5px);
}


.svc-body .tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--primary-dark);
  font-size: 1.02rem;
  line-height: 1.45;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 8px;
}

.chips li {
  font-size: 0.8rem;
  line-height: 1.4;
  padding: 4px 11px;
  border-radius: 50px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.nav-links a.active {
  color: var(--primary);
  border-color: var(--secondary);
  font-weight: 600;
}

.svc-body .tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.svc-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}


.svc-body p {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.svc-body .btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.88rem;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* TABLET */

@media (max-width: 1024px) {
  .svc-grid,
  .svc-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-grid:not(.three) {
    width: 100%;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .svc-grid,
  .svc-grid.three {
    grid-template-columns: 1fr;
  }

  .svc-img {
    height: 280px;
  }
}


.center {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ---------- FOOTER (3 columns) ---------- */
.foot-top {
  display: grid;
  grid-template-columns: 1.3fr 0.6fr 1fr;
  gap: 32px 56px;
  justify-content: stretch;
}

.footer h4 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.foot-links {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: none;
}

.foot-contact {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.foot-loc p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
  font-size: 0.98rem;
  margin: 0;
  max-width: none;
}

.foot-contact a {
  display: block;
}

.foot-contact .fi {
  width: 30px;
  height: 30px;
  transition: transform .25s;
}

.foot-contact .fi svg {
  width: 15px;
  height: 15px;
}

.foot-contact a:hover .fi {
  transform: scale(1.15);
}

.foot-loc p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.foot-loc a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.fi {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: #fff;
}

.fi svg {
  width: 19px;
  height: 19px;
}

.fi.wa {
  background: #25D366;
}

@media (max-width: 920px) {
  .foot-top {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .foot-top {
    grid-template-columns: 1fr;
  }
}

/* ---------- INNER PAGES ---------- */
.page-hero {
  background: linear-gradient(135deg, rgba(142, 79, 168, 0.92), rgba(224, 86, 155, 0.9)), url('images/gallery/workshop-group.jpg') center / cover;
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
}

.page-hero .eyebrow {
  color: #fff;
}

.page-hero .eyebrow::before {
  background: #fff;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  margin: 16px auto 14px;
  max-width: 20ch;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  max-width: 60ch;
  margin: 0 auto;
}

.crumbs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.88rem;
}

.crumbs a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.overview-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 650px;
  height: 430px;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.overview-img::before {
  display: none !important;
  content: none;
}

.overview-img img {
  display: block;
  position: relative;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
}

.overview-copy {
  display: grid;
  gap: 16px;
}

.overview-copy h2,
.two-col h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 600;
}

.overview-copy h2 em,
.two-col h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}

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

.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.two-col.rev {
  grid-template-columns: 1.15fr 0.85fr;
}

.two-col>div,
.two-col>aside {
  display: grid;
  gap: 18px;
  align-content: start;
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-md);
}

.panel h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

.panel .ticks {
  font-size: 0.98rem;
}

.note {
  font-size: 0.94rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.note a {
  color: var(--primary-dark);
  font-weight: 600;
}

.includes {
  display: grid;
  gap: 14px;
}

.includes li {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  padding: 18px 22px;
}

.includes h4 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.includes p {
  font-size: 0.96rem;
}

.cards4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: var(--shadow-md);
}

.card h3 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.95rem;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.doc-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
}

.doc-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 50%;
  border: 4px solid var(--primary-light);
}

.doc-card h3 {
  font-size: 1.3rem;
}

.doc-card .role {
  display: block;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.92rem;
}

.doc-card .q {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.doc-card p {
  font-size: 0.94rem;
}

.link {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--secondary);
}

.faq-wide {
  max-width: 860px;
}

.banner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  justify-content: space-between;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 52px);
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--secondary));
}

.banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 8px;
}

.banner h2 em {
  font-style: italic;
  font-weight: 400;
  color: #fbe3f0;
}

.banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 48ch;
}

@media (max-width: 1080px) {
  .cards4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1080px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .nav-links a.active {
    border-color: var(--border);
  }
}

@media (max-width: 920px) {
  .svc-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview,
  .two-col,
  .two-col.rev {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .svc-grid,
  .svc-grid.three,
  .cards4 {
    grid-template-columns: 1fr;
  }

  .doc-card {
    grid-template-columns: 1fr;
  }

  .actions .btn {
    width: 100%;
  }
}

/* Individual Service Page - Image and Overview Layout */

.overview {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) !important;
  gap: 45px;
  align-items: center;
}

.overview-img {
  position: relative;
  width: 100%;
  max-width: none;
  height: 460px;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.overview-img::before {
  display: none !important;
  content: none !important;
}

.overview-img img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
}

.overview-copy {
  display: grid;
  gap: 16px;
}

/* Mobile layout */
@media (max-width: 767px) {
  .overview {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  .overview-img {
    height: 320px;
  }
}
