/* ============================================================
   B EXCEL RADIOLOGY — Components
   ============================================================ */

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.875rem 2rem;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--t-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-purple);
  color: var(--color-white);
  border-color: var(--color-purple);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--color-purple-mid);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-purple);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--color-purple);
  border-color: var(--color-purple);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--color-purple);
  color: var(--color-white);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-1px);
}
.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-xs);
}
.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: var(--text-base);
}
.btn-full { width: 100%; }

/* Loading state */
.btn.loading { opacity: 0.7; pointer-events: none; }
.btn.loading::after {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── NAVIGATION ──────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t-base), box-shadow var(--t-base);
  background: transparent;
}
#main-nav.scrolled {
  background: var(--color-navy);
  box-shadow: 0 2px 24px rgba(26,26,46,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  gap: var(--sp-8);
}
/* Fallback logo text if SVG missing */
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}
.nav-logo-text .sub {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--color-gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-gold);
  transition: width var(--t-base);
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.nav-hamburger:hover { background: rgba(255,255,255,0.1); }
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--t-base);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(360px, 90vw);
  height: 100vh;
  background: var(--color-navy);
  z-index: var(--z-drawer);
  padding: var(--sp-8) var(--sp-6);
  transition: right var(--t-slow);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.4);
}
.nav-drawer.open { right: 0; }
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: calc(var(--z-drawer) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.drawer-overlay.visible { opacity: 1; pointer-events: all; }

.drawer-close {
  align-self: flex-end;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xl);
  padding: var(--sp-1);
  transition: color var(--t-fast);
}
.drawer-close:hover { color: var(--color-white); }

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-top: var(--sp-6);
}
.drawer-links a {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  border-left: 2px solid transparent;
}
.drawer-links a:hover,
.drawer-links a.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
  border-left-color: var(--color-gold);
}
.drawer-links .btn { margin-top: var(--sp-4); width: 100%; }

.drawer-contact {
  margin-top: auto;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.drawer-contact p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-2);
}
.drawer-contact a { color: var(--color-gold-light); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--color-navy);
  padding-top: var(--sp-20);
  border-top: 3px solid var(--color-gold);
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
}
.footer-brand {}
.footer-brand .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-bottom: var(--sp-5);
}
.footer-brand .logo-text .name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
}
.footer-brand .logo-text .sub {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--color-gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: 0;
}
.footer-tagline {
  font-style: italic;
  color: var(--color-gold) !important;
  margin-top: var(--sp-3);
  font-size: var(--text-sm) !important;
}
.footer-col h5 {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(184,148,46,0.25);
}
.footer-col li { margin-bottom: var(--sp-3); }
.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--color-gold-light); }

.footer-contact p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-3);
  line-height: 1.6;
}
.footer-contact a { color: rgba(255,255,255,0.7); transition: color var(--t-fast); }
.footer-contact a:hover { color: var(--color-gold-light); }
.footer-contact strong {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--sp-1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  margin: 0;
}
.footer-legal {
  display: flex;
  gap: var(--sp-4);
}
.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  transition: color var(--t-fast);
}
.footer-legal a:hover { color: var(--color-gold-light); }

/* ── FORMS ───────────────────────────────────────────────── */
.form-grid { display: flex; flex-direction: column; gap: var(--sp-5); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-group--full { grid-column: 1 / -1; }

label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
label span[aria-label="required"] {
  color: var(--color-purple);
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-sm);
  background: var(--color-lavender);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--color-purple);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(75,0,130,0.1);
}
input.error, select.error, textarea.error {
  border-color: #C0392B;
}
textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6B8A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-check {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--color-border);
  border-radius: 3px;
  background: var(--color-lavender);
  cursor: pointer;
  accent-color: var(--color-purple);
  margin-top: 2px;
  padding: 0;
}
.form-check label {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1.6;
}
.form-check label a { color: var(--color-purple); text-decoration: underline; }

.form-privacy {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.7;
  padding: var(--sp-4);
  background: var(--color-lavender);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.form-success {
  text-align: center;
  padding: var(--sp-12) var(--sp-8);
  background: var(--color-lavender);
  border-radius: var(--r-lg);
  border: 2px solid rgba(75,0,130,0.15);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-purple);
  margin-bottom: var(--sp-3);
}
.form-success p { color: var(--color-text-muted); }

.form-error {
  font-size: var(--text-sm);
  color: #C0392B;
  padding: var(--sp-3) var(--sp-4);
  background: #FDF2F2;
  border-radius: var(--r-sm);
  border-left: 3px solid #C0392B;
}

/* ── PILLAR CARDS ─────────────────────────────────────────── */
.pillar {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
  padding: var(--sp-6);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-4);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.pillar:hover {
  border-color: rgba(75,0,130,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pillar-icon {
  width: 52px; height: 52px;
  min-width: 52px;
  background: var(--color-purple-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-purple);
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--sp-2);
}
.pillar p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── SERVICE TILES ───────────────────────────────────────── */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}
.service-tile {
  display: flex;
  flex-direction: column;
  padding: var(--sp-8) var(--sp-6);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.service-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-purple), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.service-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-tile:hover::before { transform: scaleX(1); }

.tile-num {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-5);
}
.tile-icon {
  width: 56px; height: 56px;
  background: var(--color-purple-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-purple);
  margin-bottom: var(--sp-5);
  transition: background var(--t-base);
}
.service-tile:hover .tile-icon { background: var(--color-purple); color: var(--color-white); }
.tile-icon svg { width: 26px; height: 26px; }

.service-tile h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--sp-3);
}
.service-tile p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--sp-5);
}
.tile-link {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-purple);
  transition: color var(--t-fast), gap var(--t-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.service-tile:hover .tile-link { color: var(--color-gold); }

/* ── SERVICE SECTION (full detail) ───────────────────────── */
.service-section { padding: var(--sp-24) 0; }
.service-section.alt { background: var(--color-lavender); }

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: center;
}
.service-grid.reversed { direction: rtl; }
.service-grid.reversed > * { direction: ltr; }

.service-image-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.service-img {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: block;
}
.service-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(75,0,130,0.5) 0%,
    rgba(26,26,46,0.3) 100%);
}
.service-img-label {
  position: absolute;
  bottom: var(--sp-5); left: var(--sp-5);
  background: rgba(26,26,46,0.85);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: 100px;
  border: 1px solid rgba(184,148,46,0.4);
}
/* Placeholder pattern when no photo */
.service-img-pattern {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 80% 70% at 30% 30%, rgba(106,13,173,0.4), transparent),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(75,0,130,0.3), transparent),
    var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-img-icon {
  width: 100px; height: 100px;
  opacity: 0.15;
  color: var(--color-white);
}
.service-img-icon svg { width: 100%; height: 100%; }

.service-num-large {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: var(--sp-3);
}
.service-content h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.1;
  margin-bottom: var(--sp-5);
}
.service-content h2 span {
  display: block;
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-muted);
}
.service-content > p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-5);
}
.service-content h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-purple);
  margin-bottom: var(--sp-4);
  margin-top: var(--sp-6);
}

.service-list { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.service-list li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}
.service-list--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2) var(--sp-4);
}

.service-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: var(--color-lavender);
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: var(--sp-6);
  line-height: 1.7;
}
.service-callout {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  font-style: italic;
  color: var(--color-purple);
  text-align: center;
  padding: var(--sp-6);
  background: var(--color-purple-light);
  border-radius: var(--r-lg);
  margin: var(--sp-6) 0;
  line-height: 1.4;
}
.service-pricing {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-6);
}
.service-pricing strong { color: var(--color-purple); font-size: var(--text-lg); }
.service-pricing a { color: var(--color-gold); text-decoration: underline; }

/* ── TEAM CARDS ──────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
.team-card {
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
}
.team-card:hover {
  border-color: rgba(75,0,130,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.team-avatar {
  height: 180px;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-avatar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 100%, rgba(106,13,173,0.4), transparent);
}
.avatar-initials {
  position: relative; z-index: 2;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(75,0,130,0.3);
  border: 2px solid rgba(184,148,46,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-gold-light);
}
.team-info { padding: var(--sp-5); }
.team-role {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--sp-2);
}
.team-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--sp-3);
}
.team-info p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* ── FAQ ACCORDION ───────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item[open] { border-color: var(--color-purple); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-navy);
  background: var(--color-white);
  transition: background var(--t-fast), color var(--t-fast);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { background: var(--color-purple-light); color: var(--color-purple); }
.faq-item summary:hover { background: var(--color-lavender); }
.faq-icon {
  width: 24px; height: 24px;
  min-width: 24px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--color-purple);
  transition: transform var(--t-base);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-icon::before { content: '+'; }
.faq-answer {
  padding: var(--sp-6);
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item[open] .faq-answer { max-height: 600px; }
.faq-answer p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}
.faq-answer a { color: var(--color-purple); text-decoration: underline; }

/* ── FAQ CATEGORIES ──────────────────────────────────────── */
.faq-popular {
  margin-bottom: 1.5rem;
}
.popular-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0;
}
.popular-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.popular-pill {
  background: var(--color-purple-light);
  border: 1px solid rgba(75,0,130,0.2);
  color: var(--color-purple);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  transition: all 0.2s;
}
.popular-pill:hover {
  background: var(--color-purple);
  color: white;
}

.faq-category {
  background: var(--color-purple-light);
  border: 1.5px solid rgba(75,0,130,0.12);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.faq-category:hover { box-shadow: 0 4px 24px rgba(184,148,46,0.15); }
.faq-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid var(--color-gold);
  background: white;
}
.faq-category-icon { font-size: 1.4rem; }
.faq-category-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}
.faq-category-body { padding: 0.5rem 0; }
.faq-category .faq-item {
  border: none;
  border-bottom: 1px solid rgba(75,0,130,0.08);
  border-radius: 0;
  background: transparent;
}
.faq-category .faq-item:last-child { border-bottom: none; }
.faq-category .faq-item summary {
  background: transparent;
  font-size: 0.9rem;
  padding: 1rem 1.5rem;
}
.faq-category .faq-item[open] summary { background: rgba(75,0,130,0.06); }
.faq-category .faq-answer {
  background: white;
  padding: 1rem 1.5rem;
}

/* ── CONTACT CARDS ───────────────────────────────────────── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-16);
}
.contact-card {
  padding: var(--sp-6);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  text-align: center;
  transition: all var(--t-base);
}
.contact-card:hover {
  border-color: var(--color-purple);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact-card .card-icon {
  width: 52px; height: 52px;
  background: var(--color-purple-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-purple);
  margin: 0 auto var(--sp-4);
}
.contact-card .card-icon svg { width: 22px; height: 22px; }
.contact-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--sp-3);
}
.contact-card p, .contact-card address p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-2);
}
.contact-card a { color: var(--color-purple); transition: color var(--t-fast); }
.contact-card a:hover { color: var(--color-gold); }
.contact-card .btn { margin-top: var(--sp-4); }

/* ── BRANCH CARDS ────────────────────────────────────────── */
.branch-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
.branch-card {
  padding: var(--sp-8);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
}
.branch-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-purple), var(--color-gold));
}
.branch-card.main { background: var(--color-purple-light); border-color: rgba(75,0,130,0.2); }
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.branch-type {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--sp-3);
}
.branch-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--sp-5);
}
.branch-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-2);
  line-height: 1.6;
}
.branch-card strong { color: var(--color-navy); }
.branch-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-purple);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: var(--sp-4);
}

/* ── TESTIMONIAL ─────────────────────────────────────────── */
.testimonial {
  background: var(--color-purple-dark);
  padding: var(--sp-16) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(184,148,46,0.1), transparent);
}
.testimonial blockquote {
  position: relative; z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial blockquote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(184,148,46,0.2);
  position: absolute;
  top: -3rem; left: -2rem;
  line-height: 1;
}
.testimonial p {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-style: italic;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.5;
  margin-bottom: var(--sp-6);
  position: relative; z-index: 2;
}
.testimonial cite {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  position: relative; z-index: 2;
}

/* ── ACCREDITATION STRIP ─────────────────────────────────── */
.accred-strip {
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.accred-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  flex-wrap: wrap;
}
.accred-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}
.accred-item span:first-child {
  font-size: 1.5rem;
}

/* ── MAP ─────────────────────────────────────────────────── */
.map-section {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 2px solid var(--color-border);
  margin-top: var(--sp-8);
}
.map-section iframe { display: block; }
.map-placeholder {
  height: 400px;
  background: var(--color-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--sp-4);
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── PORTAL LOGIN ────────────────────────────────────────── */
.portal-wrap {
  min-height: 100vh;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
}
.portal-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(75,0,130,0.3), transparent);
}
.portal-card {
  background: var(--color-white);
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-10);
  width: 100%;
  max-width: 440px;
  position: relative; z-index: 2;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.portal-card .logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--sp-8);
}
.portal-card .logo-text .name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-purple);
}
.portal-card .logo-text .sub {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.portal-card h1 {
  font-size: var(--text-3xl);
  color: var(--color-navy);
  margin-bottom: var(--sp-2);
}
.portal-card > p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--sp-8);
}
.forgot-link {
  display: block;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-purple);
  margin-top: var(--sp-4);
  text-decoration: underline;
}
.portal-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--sp-6);
  line-height: 1.7;
}
.portal-note a { color: var(--color-purple); text-decoration: underline; }

/* ── BOOKING LAYOUT ──────────────────────────────────────── */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-16);
  align-items: start;
}
.booking-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-8));
}
.sidebar-card {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  margin-bottom: var(--sp-5);
  position: relative;
  overflow: hidden;
}
.sidebar-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(184,148,46,0.15), transparent);
}
.sidebar-card > * { position: relative; z-index: 2; }
.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--sp-5);
}
.sidebar-contact-item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  margin-bottom: var(--sp-4);
}
.sidebar-contact-item .icon {
  font-size: 1.1rem;
  margin-top: 1px;
}
.sidebar-contact-item div { flex: 1; }
.sidebar-contact-item strong {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 2px;
}
.sidebar-contact-item a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  transition: color var(--t-fast);
}
.sidebar-contact-item a:hover { color: var(--color-gold-light); }
.hours-list { margin-top: var(--sp-5); }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hours-row .day { color: rgba(255,255,255,0.5); }
.hours-row .time { color: var(--color-white); font-weight: 600; }
.hours-row .time.closed { color: var(--color-text-muted); font-weight: 400; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-tiles { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .service-tiles { grid-template-columns: 1fr; }
  .service-grid, .service-grid.reversed { grid-template-columns: 1fr; direction: ltr; }
  .service-list--two-col { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .branch-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .accred-inner { gap: var(--sp-6); }
  .portal-card { padding: var(--sp-8) var(--sp-6); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

/* ── LOGO SIZE OVERRIDE — added at bottom to ensure cascade priority ── */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 64px !important;
  width: auto !important;
  max-width: 320px !important;
  display: block !important;
  object-fit: contain;
}

footer .footer-brand img {
  height: 96px !important;
  width: auto !important;
  max-width: 360px !important;
  display: block !important;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-logo {
  height: 96px !important;
  width: auto !important;
  max-width: 360px !important;
  display: block !important;
  margin-bottom: 1.25rem;
  object-fit: contain;
}

/* ── CTA STRIP GOLD BUTTON — standalone rule, no inheritance issues ── */
.btn-cta-gold,
.cta-inner a.btn-cta-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #B8942E !important;
  color: #1A1A2E !important;
  border: 2px solid #B8942E;
  border-radius: 4px;
  padding: 1rem 2.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}

.btn-cta-gold:hover,
.cta-inner a.btn-cta-gold:hover {
  background: #D4AF37 !important;
  border-color: #D4AF37;
  color: #1A1A2E !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,148,46,0.45);
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .btn-cta-gold {
    width: 100%;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a0035;
}

.hero-bg-color {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2D0060 0%, #1a0040 50%, #0d001f 100%);
  z-index: 0;
}

.hero-grid-texture {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,148,46,0.5), transparent);
  animation: hero-scan 7s ease-in-out infinite;
  z-index: 2;
}

@keyframes hero-scan {
  0%   { top: 15%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 85%; opacity: 0; }
}

/* ── Image panel — absolute, floods right half ────────────── */
.hero-img-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}

/* ── Text content — sits above everything ─────────────────── */
.hero-content-wrap {
  position: relative;
  z-index: 5;
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 5rem;
  width: 100%;
}

.hero-content {
  max-width: 560px;   /* keeps text in left half only */
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  background: rgba(184,148,46,0.12);
  border: 1px solid rgba(184,148,46,0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--color-gold-light);
  border-radius: 50%;
  animation: hero-blink 2s ease infinite;
  flex-shrink: 0;
}

@keyframes hero-blink {
  0%,100% { opacity:1; transform:scale(1); }
  50%     { opacity:0.3; transform:scale(0.75); }
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-heading em {
  font-style: italic;
  color: var(--color-gold-light);
}

.hero-body {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-img-panel {
    width: 45%;
  }
  .hero-content {
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .hero-img-panel { display: none; }
  .hero-content   { max-width: 100%; }
  .hero-content-wrap {
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: 4rem;
  }
  .hero-heading { font-size: 2.5rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ══ HERO IMAGE PANEL ═══════════════════════════════════════ */
.hero-img-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}

.hero-img-clipped {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  clip-path: url(#heroClip);
}

.hero-arc-svg {
  position: absolute;
  top: 0;
  left: -60px;
  width: calc(100% + 60px);
  height: 120%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

@media (max-width: 1024px) {
  .hero-img-panel { width: 46%; }
}

@media (max-width: 768px) {
  .hero-img-panel { display: none; }
}
