/* Durban Fertility Clinic - "Serene Medical Dignity" design system
   Tokens follow the Stitch DESIGN.md for this project (purple palette, Plus Jakarta Sans). */

:root {
  --primary: #381b57;
  --primary-deep: #220242;
  --primary-soft: #4a2870;
  --violet: #705be8;
  --violet-dark: #5b45d4;
  --violet-text: #5a42d0;
  --lavender: #8574f2;
  --tint: #eceafe;
  --tint-2: #f5f2ff;
  --bg: #f8f7fc;
  --surface: #ffffff;
  --text: #1e1e2f;
  --text-2: #5e5d75;
  --border: #e5e2f3;
  --error: #ba1a1a;
  --ok: #1f7a4d;

  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;

  --sh-1: 0 4px 20px -2px rgba(56, 27, 87, 0.05);
  --sh-2: 0 12px 32px -4px rgba(56, 27, 87, 0.09);
  --sh-3: 0 24px 48px -8px rgba(30, 30, 47, 0.16);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1280px;
  --pad: 3rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--violet-text); text-underline-offset: 3px; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--primary); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25rem; }
li { margin-bottom: 0.4em; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 0.75rem 1rem; z-index: 200; border-radius: 0 0 var(--r-md) 0; }
.skip:focus { left: 0; color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 820px; }
section { position: relative; }
.sec { padding-block: 5rem; }
.sec-tint { background: var(--tint-2); }
.sec-white { background: var(--surface); }
.sec-dark { background: var(--primary); color: #f2efff; }
.sec-dark h2, .sec-dark h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--violet-text); background: var(--tint); padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.sec-dark .eyebrow { background: rgba(255,255,255,0.12); color: #dbb8ff; }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--text-2); }
.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 700px; }
.sec-head { max-width: 760px; margin-bottom: 3rem; }
.sec-head.center { margin-inline: auto; }

/* Icons */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 15px/1 var(--font); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  padding: 0.95rem 1.75rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
}
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-dark); color: #fff; box-shadow: var(--sh-2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--tint); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--tint); color: var(--primary); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; color: var(--violet-text); }
.text-link:hover { color: var(--primary); gap: 0.65rem; }
.text-link .i { width: 1em; height: 1em; transition: transform 0.2s; }

/* Top bar */
.topbar { background: var(--primary); color: #f2efff; font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar .tb-right a.chip { background: var(--violet); padding: 0.3rem 0.9rem; border-radius: 999px; }

/* Header */
.header { background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--primary); }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 0.15rem; margin: 0; padding: 0; }
.nav li { margin: 0; position: relative; }
.nav > ul > li > a, .nav > ul > li > button {
  font: 600 15px/1 var(--font); color: var(--text); background: none; border: 0; cursor: pointer; text-decoration: none;
  padding: 0.85rem 0.9rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.35rem;
}
.nav > ul > li > a:hover, .nav > ul > li > button:hover, .nav > ul > li.open > button, .nav > ul > li > a[aria-current="page"], .nav > ul > li > button.current { color: var(--primary); background: var(--tint); }
.nav .chev { width: 0.9em; height: 0.9em; transition: transform 0.2s; }
.nav li.open .chev { transform: rotate(180deg); }
.dd {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; list-style: none; margin: 0; padding: 0.6rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.18s;
}
.nav li:last-child .dd, .nav li:nth-last-child(2) .dd { left: auto; right: 0; }
.nav li:hover > .dd, .nav li.open > .dd, .nav li:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: block; padding: 0.6rem 0.9rem; border-radius: var(--r-md); text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500; }
.dd a:hover, .dd a[aria-current="page"] { background: var(--tint); color: var(--primary); }
.dd .sub { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); padding: 0.6rem 0.9rem 0.2rem; }
.header .btn { padding: 0.8rem 1.4rem; }
.menu-btn { display: none; background: var(--tint); border: 0; border-radius: 999px; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--primary); cursor: pointer; }
.menu-btn .i { width: 24px; height: 24px; }

/* Hero */
.hero { background: linear-gradient(160deg, #f5f2ff 0%, #ece8ff 55%, #e5deff 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; padding-block: 5.5rem 6rem; }
.hero p.lead { max-width: 560px; }
.hero-art { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero-art .blob { position: absolute; border-radius: 50%; }
.hero-art .b1 { width: 420px; height: 420px; background: radial-gradient(circle at 30% 30%, #fff, #dcd4ff 70%); box-shadow: var(--sh-2); }
.hero-art .b2 { width: 120px; height: 120px; background: var(--violet); opacity: 0.16; top: 6%; right: 6%; }
.hero-art .b3 { width: 64px; height: 64px; background: var(--primary); opacity: 0.12; bottom: 10%; left: 4%; }
.hero-art .mark { position: relative; width: 250px; filter: drop-shadow(0 12px 24px rgba(56,27,87,0.18)); }
.hero-card {
  position: absolute; left: 0; bottom: 10px; background: rgba(255,255,255,0.88); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1rem 1.25rem; box-shadow: var(--sh-2); max-width: 290px;
  display: flex; gap: 0.9rem; align-items: center;
}
.hero-card .plus { margin: 0; }
.hero-card b { display: block; color: var(--primary); font-size: 15px; line-height: 1.35; }
.hero-card span { font-size: 14px; color: var(--text-2); line-height: 1.4; display: block; }

.page-hero { background: linear-gradient(160deg, #f5f2ff 0%, #ece8ff 100%); border-bottom: 1px solid var(--border); }
.page-hero .wrap { padding-block: 3.5rem 3.75rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.page-hero .lead { max-width: 760px; margin: 0; }
.crumbs { font-size: 14px; color: var(--text-2); margin-bottom: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: 0.5; }

/* Plus badge (clinical cross motif) */
.plus { font-style: normal; width: 44px; height: 44px; border-radius: 50%; background: var(--violet); color: #fff; display: inline-grid; place-items: center; flex: none; margin-bottom: 1rem; }
.plus .i { width: 22px; height: 22px; stroke-width: 2.5; }

/* Facts strip */
.facts { margin-top: -2.6rem; position: relative; z-index: 5; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.fact { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-1); padding: 1.4rem 1.5rem; display: flex; gap: 1rem; align-items: center; }
.fact .plus { margin: 0; }
.fact b { display: block; color: var(--primary); font-size: 1.02rem; line-height: 1.3; }
.fact span { font-size: 14px; color: var(--text-2); line-height: 1.4; display: block; }

/* Cards */
.grid { display: grid; gap: 1.5rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--sh-1); transition: box-shadow 0.2s, transform 0.2s; position: relative; }
a.card, .card.hover { text-decoration: none; color: inherit; display: block; }
a.card:hover, .card.hover:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-2); margin-bottom: 1rem; }
.card p:last-child { margin-bottom: 0; }
.card .text-link { margin-top: 0.25rem; }
.card.tinted { background: var(--tint-2); }

/* Treatment tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.tile { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 1.6rem; text-decoration: none; color: var(--primary); display: flex; flex-direction: column; gap: 0.5rem; box-shadow: var(--sh-1); transition: all 0.2s; min-height: 170px; }
.tile:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: #cfc8f5; color: var(--primary); }
.tile .plus { margin-bottom: 0.6rem; }
.tile b { font-size: 1.05rem; line-height: 1.3; }
.tile span { font-size: 14px; color: var(--text-2); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.panel { background: linear-gradient(160deg, var(--tint) 0%, #e2dffc 100%); border-radius: var(--r-xl); padding: 3rem; min-height: 300px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.panel::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--violet); opacity: 0.12; }
.panel h3 { font-size: 1.6rem; }
.panel p { color: var(--text-2); }

/* Quote cards */
.quote { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 1.1rem; }
.quote .qi { width: 34px; height: 34px; color: var(--violet); opacity: 0.55; fill: currentColor; stroke: none; }
.quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.7; color: var(--text); flex: 1; }
.quote cite { font-style: normal; font-weight: 700; color: var(--primary); display: block; }
.quote small { color: var(--text-2); font-size: 13px; }
.quote.feature { background: var(--primary); border-color: var(--primary); }
.quote.feature blockquote, .quote.feature cite { color: #fff; }
.quote.feature .qi { color: #dbb8ff; }

.big-quote { text-align: center; max-width: 920px; margin-inline: auto; }
.big-quote blockquote { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.45; font-weight: 600; color: var(--primary); letter-spacing: -0.01em; }
.big-quote cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-text); }
.big-quote .qi { width: 44px; height: 44px; margin: 0 auto 1.25rem; color: var(--violet); fill: currentColor; stroke: none; }

/* People */
.person { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: all 0.2s; }
a.person:hover { box-shadow: var(--sh-2); transform: translateY(-3px); color: inherit; }
.avatar { aspect-ratio: 4 / 4.2; background: linear-gradient(160deg, var(--tint) 0%, #d9d3fb 100%); display: grid; place-items: center; position: relative; overflow: hidden; }
.avatar img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.avatar .initials { font-size: 3.2rem; font-weight: 700; color: var(--primary-soft); letter-spacing: 0.02em; }
.person .body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.person h3 { margin: 0; font-size: 1.15rem; }
.person .role { color: var(--violet-text); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.person .qual { color: var(--text-2); font-size: 14px; }
.person .text-link { margin-top: auto; padding-top: 0.8rem; }

/* Prose / content pages */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: start; }
.prose h2 { font-size: 1.75rem; margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: #35344a; font-size: 1.04rem; line-height: 1.75; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 1.9rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat; }
.prose ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.2rem 0 1.6rem; }
.prose ol.steps li { counter-increment: s; position: relative; padding: 1.1rem 1.25rem 1.1rem 4.1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 0.8rem; }
.prose ol.steps li::before { content: counter(s); position: absolute; left: 1.1rem; top: 1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.callout { background: var(--tint); border-radius: var(--r-xl); padding: 1.6rem 1.8rem; margin: 1.8rem 0; border-left: 5px solid var(--violet); }
.callout p { margin: 0; color: var(--primary-soft); font-weight: 500; }
.side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 1.25rem; }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 1.5rem; box-shadow: var(--sh-1); }
.side-card h4 { margin-bottom: 0.8rem; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); font-weight: 700; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li { margin: 0; }
.side-card ul:not(.info-list) li a { display: block; padding: 0.55rem 0.8rem; border-radius: var(--r-md); text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500; }
.side-card ul:not(.info-list) li a:hover { background: var(--tint); color: var(--primary); }
.side-card ul:not(.info-list) li a[aria-current="page"] { background: var(--tint); color: var(--primary); font-weight: 700; }
.side-card.cta { background: var(--primary); border-color: var(--primary); color: #f2efff; }
.side-card.cta h4 { color: #dbb8ff; }
.side-card.cta p { color: #e7e1ff; font-size: 15px; margin-bottom: 1rem; }
.side-card.cta .btn { width: 100%; }
.side-card.cta .tel { display: block; margin-top: 0.9rem; color: #fff; font-weight: 700; text-decoration: none; text-align: center; }

.related { margin-top: 3rem; padding-top: 2.2rem; border-top: 1px solid var(--border); }
.related h3 { margin-bottom: 1rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill { display: inline-block; background: var(--tint); color: var(--primary-soft); font-weight: 600; font-size: 14px; padding: 0.5rem 1rem; border-radius: 999px; text-decoration: none; }
.pill:hover { background: var(--violet); color: #fff; }

/* Accordion */
.acc { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2rem; }
.acc details { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.acc summary { list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; font-weight: 600; color: var(--primary); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.04rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { transition: transform 0.2s; color: var(--violet-text); }
.acc details[open] summary .i { transform: rotate(180deg); }
.acc details[open] { border-color: #cfc8f5; }
.acc .a { padding: 0 1.5rem 1.4rem; color: #35344a; }
.acc .a p:last-child, .acc .a ul:last-child { margin-bottom: 0; }
.acc h2 { margin: 2rem 0 0.8rem; font-size: 1.3rem; }

/* Tables (hours) */
.hours { width: 100%; border-collapse: collapse; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: #fff; font-size: 15px; }
.hours th { background: var(--primary); color: #fff; text-align: left; padding: 0.8rem 1.1rem; font-size: 13px; letter-spacing: 0.04em; }
.hours td { padding: 0.8rem 1.1rem; border-top: 1px solid var(--border); }
.hours tr:nth-child(even) td { background: var(--bg); }

/* Forms */
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2.2rem; box-shadow: var(--sh-1); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--text); background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 0 1rem; height: 52px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { height: auto; min-height: 140px; padding: 0.9rem 1rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a42d0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(112, 91, 232, 0.18); }
.field .err { display: none; color: var(--error); font-size: 13px; margin-top: 0.3rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--text-2); margin-top: 1rem; }
.form-msg { display: none; border-radius: var(--r-md); padding: 1rem 1.2rem; margin-top: 1.2rem; font-size: 15px; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e7f6ee; color: #14502f; }
.form-msg.info { background: var(--tint); color: var(--primary-soft); }
.form .btn { width: 100%; }

/* Info cards (contact) */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 0.9rem; margin: 0; align-items: flex-start; }
.info-list .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--tint); color: var(--violet-text); display: grid; place-items: center; flex: none; }
.info-list b { display: block; color: var(--primary); }
.info-list span, .info-list a { color: var(--text-2); }
.info-list a { text-decoration: none; font-weight: 600; color: var(--primary-soft); }
.info-list a:hover { text-decoration: underline; }
.map, .video { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); background: var(--tint); box-shadow: var(--sh-1); }
.map iframe, .video iframe { width: 100%; border: 0; display: block; }
.map iframe { height: 380px; }
.video { aspect-ratio: 16 / 9; }
.video iframe { height: 100%; }

/* Video library */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vcard { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-1); text-decoration: none; color: var(--primary); display: block; transition: all 0.2s; }
.vcard:hover { box-shadow: var(--sh-2); transform: translateY(-3px); color: var(--primary); }
.vthumb { aspect-ratio: 16/9; background: #1a192e center/cover no-repeat; position: relative; }
.vthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(34,2,66,0.45), rgba(34,2,66,0.05)); }
.vplay { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-2); }
.vplay .i { fill: #fff; stroke: none; width: 24px; height: 24px; margin-left: 3px; }
.vcard b { display: block; padding: 1.1rem 1.3rem 1.3rem; font-size: 0.98rem; line-height: 1.4; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%); color: #fff; border-radius: var(--r-xl); padding: 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--violet); opacity: 0.28; }
.cta-band h2 { color: #fff; margin: 0 0 0.4rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { margin: 0; color: #e7e1ff; font-size: 1.08rem; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band .btn-row { margin: 0; }

/* News */
.news { display: flex; flex-direction: column; gap: 0.6rem; text-decoration: none; color: inherit; }
.news .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-text); }
.news h3 { font-size: 1.08rem; line-height: 1.4; text-transform: none; }
.news p { font-size: 15px; }

/* Footer */
.footer { background: var(--primary); color: #d9d2f1; padding-top: 4.5rem; }
.footer a { color: #e9e4ff; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer h4 { color: #dbb8ff; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer .flogo { background: #fff; border-radius: var(--r-lg); padding: 0.9rem 1.1rem; display: inline-block; margin-bottom: 1.2rem; }
.footer .flogo img { height: 78px; width: auto; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.65rem; font-size: 15px; }
.footer p { font-size: 15px; }
.footer .addr { display: flex; flex-direction: column; gap: 0.7rem; font-size: 15px; }
.footer .addr div { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer .addr .i { margin-top: 0.2em; color: #dbb8ff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.5rem; font-size: 14px; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.footer-bottom .links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.social { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.12); align-items: center; justify-content: center; }
.social:hover { background: var(--violet); text-decoration: none !important; }

/* Mobile bar */
.mbar { display: none; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 300; display: none; }
.drawer.open { display: block; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(26, 25, 46, 0.5); }
.drawer .sheet { position: absolute; right: 0; top: 0; bottom: 0; width: min(92vw, 400px); background: #fff; padding: 1.2rem 1.4rem 2rem; overflow-y: auto; box-shadow: var(--sh-3); }
.drawer .dhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.drawer .dhead img { height: 52px; width: auto; }
.drawer details { border-bottom: 1px solid var(--border); }
.drawer summary { list-style: none; cursor: pointer; padding: 1rem 0.2rem; font-weight: 700; color: var(--primary); display: flex; justify-content: space-between; align-items: center; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary .i { transform: rotate(180deg); }
.drawer details a { display: block; padding: 0.6rem 0.8rem; color: var(--text); text-decoration: none; font-weight: 500; border-radius: var(--r-md); }
.drawer details a:hover { background: var(--tint); }
.drawer details .sub { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); padding: 0.7rem 0.8rem 0.2rem; }
.drawer .btn { width: 100%; margin-top: 1.4rem; }
.drawer .btn + .btn { margin-top: 0.7rem; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header .btn.hdr-cta { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .side { position: static; }
}
@media (max-width: 860px) {
  :root { --pad: 1.25rem; }
  .sec { padding-block: 3.5rem; }
  .hero .wrap { grid-template-columns: 1fr; padding-block: 3rem 4.5rem; gap: 2rem; }
  .hero-art { min-height: 340px; }
  .hero-art .b1 { width: 320px; height: 320px; }
  .hero-art .mark { width: 190px; }
  .hero-card { position: relative; left: auto; bottom: auto; margin-top: -2rem; }
  .hero-art { align-content: center; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .g3, .g2, .vgrid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cta-band { padding: 2.2rem 1.6rem; }
  .topbar .tb-left .tb-addr { display: none; }
  .header .wrap { min-height: 72px; }
  .brand img { height: 52px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom)); }
  .mbar .btn { padding: 0.85rem 0.6rem; font-size: 14px; }
  body { padding-bottom: 76px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .tiles, .g4, .facts-grid { grid-template-columns: 1fr; }
  .topbar .tb-right a.hide-s { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .header, .mbar, .cta-band, .footer { display: none; } }
.i.fill { fill: currentColor; stroke: none; }


/* ---- WordPress additions ---- */
.acc .wp-block-details { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.acc .wp-block-details summary { list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; font-weight: 600; color: var(--primary); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.04rem; }
.acc .wp-block-details summary::-webkit-details-marker { display: none; }
.acc .wp-block-details summary::after { content: ""; width: 1.1em; height: 1.1em; flex: none; background: var(--violet-text); transition: transform 0.2s; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.acc .wp-block-details[open] summary::after { transform: rotate(180deg); }
.acc .wp-block-details[open] { border-color: #cfc8f5; }
.acc .wp-block-details > :not(summary) { padding: 0 1.5rem; margin: 0 0 1rem; color: #35344a; }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.nav li.has-dd:nth-last-child(3) .dd { left: auto; right: 0; }
.alignleft { float: left; margin: 0.3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prose img, .prose figure { max-width: 100%; height: auto; border-radius: 14px; }
.prose figcaption, .wp-caption-text { font-size: 0.9rem; color: var(--text-2); margin-top: 0.4rem; }
.prose .wp-block-heading { margin-top: 2rem; }
.post-grid { align-items: stretch; }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .post-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .post-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card h3 { margin: 0; font-size: 1.2rem; }
.post-card h3 a { color: var(--primary); text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.post-card .eyebrow { align-self: flex-start; }
.post-card .post-body p { margin: 0; color: var(--text-2); }
.post-card .text-link { margin-top: auto; padding-top: 0.5rem; font-weight: 600; }
.post-hero-img { margin-bottom: 2rem; }
.navigation.pagination { margin-top: 2.5rem; }
.navigation.pagination .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.navigation.pagination .page-numbers { padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; color: var(--primary); font-weight: 600; }
.navigation.pagination .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.screen-reader-text { position: absolute; left: -9999px; }
