/* ============================================================
   SERVING SOCIETY — NDIS-Inspired Theme
   Palette: NDIS Purple #4C2A85 | Lime Accent #C6DA02 | White
   Font: Public Sans
   ============================================================ */

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

:root {
  --purple:       #5E2D6E;
  --purple-dark:  #4A2356;
  --purple-mid:   #7A3F8C;
  --purple-light: #F4ECF7;
  --purple-bg:    #ECE0F0;

  --lime:         #C6DA02;
  --lime-dark:    #A8BC02;

  --white:        #ffffff;
  --off-white:    #F7F5F2;
  --grey-50:      #FAFAFA;
  --grey-100:     #F2F2F2;
  --grey-200:     #E5E5E5;
  --grey-300:     #CCCCCC;
  --grey-500:     #7A7A7A;
  --grey-700:     #3A3A3A;
  --text:         #1D1D1B;
  --text-soft:    #4A4A4A;

  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    12px;

  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 32px rgba(76,42,133,.12);

  --transition:   .25s ease;
  --nav-h:        80px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Public Sans', 'Outfit', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}
.btn-primary:hover {
  background: var(--purple-dark);
  color: var(--white);
  border-color: var(--purple-dark);
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--purple);
}
.btn-large { padding: 16px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* Solid purple button variant for non-hero use */
.contact .btn-primary,
.contact-form .btn-primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.contact .btn-primary:hover,
.contact-form .btn-primary:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
}

/* ── Section Shared ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-tag {
  display: inline-block;
  color: var(--purple);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
  color: var(--purple);
  line-height: 1.2;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--lime);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; }
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 10px 18px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--text);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.nav-link:hover { color: var(--purple); }
.nav-link.active { color: var(--purple); }

.nav-link.nav-cta {
  background: var(--purple);
  color: var(--white) !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  margin-left: 8px;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover {
  background: var(--purple-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  background: var(--purple);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--purple);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  background: var(--purple-mid);
  border-radius: 50% 0 0 50%;
  opacity: .45;
}
.hero-particles { display: none; }

/* Hero two-column split layout */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.hero-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--lime);
  color: var(--purple-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeDown .6s ease both;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 24px;
  animation: fadeDown .6s .1s ease both;
}
.hero-title .accent {
  color: var(--white);
  border-bottom: 4px solid var(--lime);
  padding-bottom: 4px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,.9);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeDown .6s .2s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeDown .6s .3s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  animation: fadeDown .6s .4s ease both;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  margin-top: 6px;
  letter-spacing: .03em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.25);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .08em;
}
.scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 2px solid rgba(255,255,255,.5);
  border-bottom: 2px solid rgba(255,255,255,.5);
  transform: rotate(45deg);
  animation: bounce 1.8s infinite;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 96px 0;
  background: var(--white);
}
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.mvv-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.mvv-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--lime);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}
.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-light);
}
.mvv-card:hover::before { transform: scaleX(1); }
.mvv-icon {
  width: 64px; height: 64px;
  background: var(--purple-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--purple);
}
.mvv-icon svg { width: 28px; height: 28px; }
.mvv-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
}
.mvv-card p { color: var(--text-soft); line-height: 1.65; font-size: .95rem; }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.approach-item {
  background: var(--off-white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid transparent;
}
.approach-item:hover {
  background: var(--white);
  border-color: var(--purple-light);
  box-shadow: var(--shadow-sm);
}
.approach-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 14px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--lime);
}
.approach-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.approach-item p { font-size: .88rem; color: var(--text-soft); line-height: 1.6; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 96px 0;
  background: var(--off-white);
  position: relative;
}
.services-bg-accent { display: none; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-inner {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Purple top section with icon */
.service-icon-wrap {
  width: 100%;
  height: 140px;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: var(--transition);
  border-radius: 0;
  position: relative;
}
.service-icon-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 4px;
  background: var(--lime);
}
.service-icon-wrap svg { width: 52px; height: 52px; stroke-width: 1.5; }
.service-card:hover .service-icon-wrap {
  background: var(--purple-dark);
}

.service-card-content {
  flex: 1;
  padding: 28px 28px 32px;
}
.service-number {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--purple);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  transition: var(--transition);
}
.service-card:hover .service-title { color: var(--purple); }
.service-desc {
  font-size: .92rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 18px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--grey-200);
  padding-top: 16px;
}
.service-list li {
  font-size: .88rem;
  color: var(--text-soft);
  padding-left: 20px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 2px;
  background: var(--lime);
}

.service-card-glow { display: none; }

/* ============================================================
   NDIS CALLOUT
   ============================================================ */
.ndis-callout {
  padding: 72px 0;
  background: var(--purple);
  position: relative;
  overflow: hidden;
}
.ndis-callout::before {
  content: '';
  position: absolute;
  top: 0; right: -5%;
  width: 40%;
  height: 100%;
  background: var(--purple-mid);
  border-radius: 50% 0 0 50%;
  opacity: .35;
}
.callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.callout-text h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.25;
}
.callout-text p {
  color: rgba(255,255,255,.85);
  max-width: 560px;
  line-height: 1.7;
  font-size: .98rem;
}
.ndis-callout .btn-primary {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}
.ndis-callout .btn-primary:hover {
  background: var(--lime);
  color: var(--purple-dark);
  border-color: var(--lime);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 96px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-200);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--purple-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--grey-500);
  margin-bottom: 4px;
}
.contact-value {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}
.contact-link { color: var(--purple); transition: var(--transition); }
.contact-link:hover { color: var(--purple-dark); text-decoration: underline; }

/* Form */
.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--grey-200);
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--grey-700);
}
.required { color: var(--purple); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: var(--transition);
  width: 100%;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(76,42,133,.12);
}
.form-group input.invalid,
.form-group textarea.invalid { border-color: #D32F2F; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #E8F5E9;
  color: #2E7D32;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-weight: 600;
  font-size: .9rem;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }
.form-success.show { display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,.8);
  padding: 72px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: .92rem;
  line-height: 1.7;
  margin: 16px 0 20px;
  color: rgba(255,255,255,.7);
}
.footer-logo-row {
  display: flex;
  justify-content: center;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  height: 96px;
  width: auto;
  background: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.footer-badge {
  display: inline-block;
  background: var(--lime);
  color: var(--purple-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}
.footer-links h4,
.footer-contact h4 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lime);
  display: inline-block;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--lime); }
.footer-contact p { margin-bottom: 8px; }
.footer-contact a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--lime); }
.footer-disclaimer {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  margin-bottom: 16px;
  font-style: italic;
}

.ndis-disclaimer {
  font-size: .82rem;
  color: var(--grey-500);
  font-style: italic;
  margin: 24px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--grey-300);
  background: var(--grey-100);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(5px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 8px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.1rem; width: 80%; text-align: center; }
  .nav-toggle { display: flex; }

  .mvv-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }

  .callout-inner { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }

  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .services-photo-strip { grid-template-columns: 1fr; }
}

/* ============================================================
   NEW PAGES — Component Styles
   ============================================================ */

/* ── Dropdown Nav ── */
.nav-dropdown { position: relative; }
.nav-link-dropdown { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-link-dropdown svg { transition: transform var(--transition); }
.nav-dropdown:hover .nav-link-dropdown svg { transform: rotate(180deg); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 300px;
  padding: 8px 0;
  z-index: 100;
  /* invisible bridge fills any gap between button and menu */
  margin-top: 0;
}
/* Padding on the nav item itself bridges any gap */
.nav-dropdown { padding-bottom: 8px; margin-bottom: -8px; }
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.dropdown-open .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: .88rem;
  color: var(--text);
  transition: var(--transition);
}
.dropdown-menu li a:hover {
  background: var(--purple-light);
  color: var(--purple);
}

/* ── Page Banner ── */
.page-banner {
  background: var(--purple);
  padding: calc(var(--nav-h) + 48px) 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 50%;
  height: 100%;
  background: var(--purple-mid);
  border-radius: 50% 0 0 50%;
  opacity: .3;
}
.page-banner-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 1;
}

/* ── Service Page Layout ── */
.service-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding: 64px 0;
}
.service-main-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 20px;
}
.service-main-content p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: .95rem;
}
.service-main-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple);
  margin: 28px 0 14px;
}
.service-hero-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

/* Checklist */
.support-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.support-checklist li {
  font-size: .92rem;
  color: var(--text-soft);
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}
.support-checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--lime-dark);
  font-weight: 700;
  font-size: 1rem;
}

/* Service Sidebar */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.sidebar-nav {
  background: var(--purple);
  border-radius: var(--radius-md);
  padding: 24px;
}
.sidebar-nav h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.sidebar-nav ul { display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
}
.sidebar-nav a:hover { background: rgba(255,255,255,.15); }
.sidebar-nav a.active {
  background: var(--lime);
  color: var(--purple-dark);
  font-weight: 600;
}

/* Question Widget */
.question-widget {
  background: var(--purple-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
}
.question-widget h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 10px;
}
.question-widget p {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ── How To Book Section ── */
.how-to-book {
  background: linear-gradient(135deg, #1a6b7a, #1a8a6b);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.how-to-book .section-tag { background: rgba(255,255,255,.2); color: var(--white); }
.how-to-book .section-title { color: var(--white); }
.how-to-book .section-title::after { background: var(--lime); }
.book-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
  position: relative;
}
.book-step { position: relative; }
.book-step-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.2);
  margin-bottom: 12px;
  line-height: 1;
}
.book-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.book-step p {
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ── Why Choose Us ── */
.why-choose-us {
  background: var(--grey-700);
  padding: 80px 0;
}
.why-choose-us .section-header { margin-bottom: 48px; }
.why-choose-us .section-title { color: var(--white); }
.why-choose-us .section-title::after { background: var(--lime); }
.why-choose-us .section-subtitle { color: rgba(255,255,255,.65); }
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}
.why-card-icon {
  width: 52px; height: 52px;
  background: var(--purple);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--white);
}
.why-card-icon svg { width: 24px; height: 24px; }
.why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}

/* ── Testimonial Section ── */
.testimonial-section {
  background: var(--grey-700);
  padding: 80px 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.testimonial-left h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.testimonial-left h2 span { color: var(--lime); }
.testimonial-left p {
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: .95rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
}
.testimonial-stars { color: var(--lime-dark); font-size: 1.2rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: .95rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { font-weight: 700; color: var(--text); font-size: .95rem; }
.testimonial-role { font-size: .82rem; color: var(--purple); }
.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.testimonial-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: var(--transition);
}
.testimonial-dot.active { background: var(--lime); }

/* ── Acknowledgement of Country ── */
.acknowledgement {
  background: var(--lime);
  padding: 48px 0;
  text-align: center;
}
.acknowledgement h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 14px;
}
.acknowledgement p {
  font-size: .95rem;
  color: var(--text);
  max-width: 740px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.flags { display: flex; justify-content: center; gap: 16px; }
.flags svg, .flags img { height: 48px; border-radius: 4px; box-shadow: var(--shadow-sm); }

/* ── About Page ── */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
}
.about-hero-img-wrap { position: relative; }
.about-hero-img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}
.about-stat-badge {
  position: absolute;
  bottom: -16px;
  left: 24px;
  background: var(--purple);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-stat-badge .stat-number { font-size: 2rem; font-weight: 800; color: var(--lime); }
.about-stat-badge .stat-label { font-size: .78rem; color: rgba(255,255,255,.8); }
.about-hero-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-hero-text h2 span { color: var(--purple); }
.about-hero-text p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: .95rem;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0 80px;
  border-top: 1px solid var(--grey-200);
}
.value-item {
  text-align: center;
  padding: 24px 16px;
}
.value-icon {
  width: 56px; height: 56px;
  background: var(--purple-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  color: var(--purple);
}
.value-icon svg { width: 26px; height: 26px; }
.value-item h4 { font-size: .95rem; font-weight: 700; color: var(--text); }

.vision-mission-section {
  padding: 80px 0;
  background: var(--off-white);
}
.vm-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}
.vm-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}
.vm-text h2 span { color: var(--purple); }
.vm-text p { color: var(--text-soft); line-height: 1.7; margin-bottom: 14px; font-size: .95rem; }
.vm-image { width: 100%; border-radius: var(--radius-md); object-fit: cover; }

.vm-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.vm-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.vm-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 10px;
}
.vm-card p { color: var(--text-soft); line-height: 1.6; font-size: .9rem; }

.core-values-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.core-values-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: var(--text-soft);
}
.core-values-list li svg { width: 18px; height: 18px; color: var(--lime-dark); flex-shrink: 0; }

/* ── Appointment Page ── */
.appointment-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  padding: 64px 0;
  align-items: start;
}
.appointment-info h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}
.appointment-info h2 span { color: var(--purple); }
.appointment-info p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: .95rem;
}
.appointment-info img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}
.appointment-form {
  background: var(--off-white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--text-soft);
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--purple);
}

/* ── Responsive for new pages ── */
@media (max-width: 1024px) {
  .service-page-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; order: -1; }
  .book-steps { grid-template-columns: 1fr; gap: 32px; }
  .why-cards { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .vm-cards { grid-template-columns: 1fr; }
  .appointment-layout { grid-template-columns: 1fr; }
}

/* ── About Split Layout ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0 56px;
}

.about-split-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-split-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
}
.about-split-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--lime);
  color: var(--purple-dark);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 130px;
}
.about-split-badge .badge-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.about-split-badge .badge-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.about-split-content { padding-right: 8px; }
.about-split-content h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--purple);
  line-height: 1.2;
  margin: 12px 0 18px;
}
.about-split-content h2 span { color: var(--purple-mid); }
.about-split-content > p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.about-mvv-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.about-mvv-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-mvv-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--purple-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}
.about-mvv-icon svg { width: 20px; height: 20px; }
.about-mvv-item h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 4px;
}
.about-mvv-item p {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

/* 4-step approach row */
.approach-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--purple);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.approach-step {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,.12);
  position: relative;
}
.approach-step:last-child { border-right: none; }
.approach-step-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,.12);
  line-height: 1;
  margin-bottom: 16px;
  font-family: 'Outfit', sans-serif;
}
.approach-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.approach-step p {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin: 0;
}
.approach-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--lime);
  opacity: 0;
  transition: opacity .3s ease;
}
.approach-step:hover::before { opacity: 1; }

@media (max-width: 1024px) {
  .about-split { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 40px; }
  .about-split-img img { height: 380px; }
  .about-split-badge { right: 16px; bottom: -16px; }
  .about-split-content { padding-right: 0; }
  .approach-row { grid-template-columns: repeat(2, 1fr); }
  .approach-step { border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
  .approach-step:nth-child(2n) { border-right: none; }
  .approach-step:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
  .about-split-img img { height: 260px; }
  .approach-row { grid-template-columns: 1fr; }
  .approach-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .approach-step:last-child { border-bottom: none; }
}

/* ── Services Image-Card Grid ── */
.svc-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.svc-img-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.svc-img-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(94,45,110,.18);
}
.svc-img-wrap {
  position: relative;
  overflow: hidden;
}
.svc-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.svc-img-card:hover .svc-img-wrap img {
  transform: scale(1.05);
}
.svc-img-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-img-body h3 {
  background: var(--purple);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 20px;
  margin: 0;
  line-height: 1.3;
  letter-spacing: .01em;
}
.svc-img-body p {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.6;
  padding: 16px 20px 12px;
  margin: 0;
  flex: 1;
}
.svc-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--purple);
  padding: 0 20px 18px;
  transition: gap .2s ease;
}
.svc-img-card:hover .svc-read-more {
  gap: 10px;
}

@media (max-width: 1024px) {
  .svc-img-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .svc-img-grid { grid-template-columns: 1fr; }
  .svc-img-wrap img { height: 200px; }
}

/* ── About Section Image ── */
.about-with-image {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
  margin-top: 56px;
}
.about-with-image .mvv-grid {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}
.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--lime);
  color: var(--purple-dark);
  font-weight: 700;
  font-size: .85rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ── Services Photo Strip ── */
.services-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.services-photo-strip .strip-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.services-photo-strip .strip-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.services-photo-strip .strip-item:hover img {
  transform: scale(1.04);
}
.strip-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(94,45,110,.85));
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  padding: 24px 14px 14px;
}

/* ── Contact Image ── */
.contact-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-lg);
}
.contact-image-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius-lg);
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .why-cards { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: 1fr; gap: 8px; }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    min-width: 0;
    padding: 0 0 0 16px;
    background: transparent;
  }
  .dropdown-menu li a { color: var(--text); padding: 8px 16px; font-size: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .service-hero-img { height: 220px; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .hero-content { text-align: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  /* About */
  .about-with-image { grid-template-columns: 1fr; gap: 32px; }
  .about-image-wrap img { height: 260px; }

  /* Services photo strip */
  .services-photo-strip { grid-template-columns: 1fr; gap: 16px; }
  .services-photo-strip .strip-item img { height: 200px; }

  /* Contact */
  .contact-image-wrap img { height: 180px; }

  /* Service pages */
  .service-page-layout { grid-template-columns: 1fr; }
  .appointment-layout { grid-template-columns: 1fr; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .vm-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */

/* Body class applied to admin.html */
body.admin-page {
  background: var(--grey-100);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Login Wrap ── */
.admin-login-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 20px 60px;
  min-height: 100vh;
}

.admin-login-card {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(94,45,110,.18);
  overflow: hidden;
  background: var(--white);
}

.admin-login-header {
  background: var(--purple);
  padding: 36px 32px 28px;
  text-align: center;
}

.admin-login-logo {
  height: 56px;
  width: auto;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  margin: 0 auto 20px;
  display: block;
}

.admin-login-header h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.admin-login-header p {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
}

.admin-login-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-error {
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .88rem;
  font-weight: 500;
}

.admin-sign-in-btn {
  width: 100%;
  padding: 14px;
  background: var(--purple);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 4px;
}

.admin-sign-in-btn:hover:not(:disabled) {
  background: var(--purple-dark);
}

.admin-sign-in-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.admin-login-note {
  font-size: .78rem;
  color: var(--grey-500);
  text-align: center;
  margin-top: -4px;
}

/* ── Dashboard Layout ── */
.admin-dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
}

.admin-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}

.admin-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--purple);
  margin: 0;
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-user-label {
  font-size: .88rem;
  color: var(--grey-500);
}

.admin-sign-out-btn {
  padding: 8px 20px;
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}

.admin-sign-out-btn:hover {
  background: var(--purple);
  color: var(--white);
}

.admin-content {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 32px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ── Stats ── */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  text-align: center;
  transition: box-shadow var(--transition);
}

.admin-stat-card:hover {
  box-shadow: var(--shadow-md);
}

.admin-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 8px;
}

.admin-stat-label {
  font-size: .8rem;
  color: var(--grey-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Tabs ── */
.admin-tabs-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--grey-200);
  flex: 1;
}

.admin-tab {
  padding: 12px 24px;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  color: var(--grey-500);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-tab:hover {
  color: var(--purple);
}

.admin-tab.active {
  color: var(--purple);
  border-bottom-color: var(--lime);
}

.admin-tab-count {
  background: var(--purple-light);
  color: var(--purple);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  min-width: 22px;
  text-align: center;
}

.admin-tab.active .admin-tab-count {
  background: var(--lime);
  color: var(--purple-dark);
}

.admin-refresh-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--purple);
  background: var(--purple-light);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.admin-refresh-btn:hover {
  background: var(--purple);
  color: var(--white);
}

/* ── Panel ── */
.admin-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  overflow: hidden;
}

.admin-panel-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--grey-200);
  background: var(--grey-50);
}

.admin-panel-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 3px;
}

.admin-panel-subtitle {
  font-size: .82rem;
  color: var(--grey-500);
}

/* ── Table ── */
.admin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 700px;
}

.admin-table thead tr {
  background: var(--purple);
}

.admin-table thead th {
  padding: 13px 16px;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table tbody tr {
  border-bottom: 1px solid var(--grey-100);
  transition: background var(--transition);
}

.admin-table tbody tr:hover {
  background: var(--purple-light) !important;
}

.admin-table tbody td {
  padding: 12px 16px;
  color: var(--text-soft);
  vertical-align: top;
  line-height: 1.5;
}

.admin-row-alt {
  background: var(--grey-50);
}

.admin-td-nowrap {
  white-space: nowrap;
}

.admin-td-message {
  max-width: 240px;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Time sub-label */
.admin-time {
  font-size: .78rem;
  color: var(--grey-500);
}

/* ── Badges ── */
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.admin-badge--live {
  background: #E8F5E9;
  color: #2E7D32;
}

.admin-badge-dot {
  width: 7px;
  height: 7px;
  background: #43A047;
  border-radius: 50%;
  animation: adminPulse 1.8s infinite;
}

.admin-badge--service {
  background: var(--purple-light);
  color: var(--purple);
}

.admin-badge--method {
  background: #E3F2FD;
  color: #1565C0;
}

/* ── Empty / Loading states ── */
.admin-empty-cell {
  text-align: center;
  padding: 48px 24px !important;
}

.admin-empty {
  color: var(--grey-500);
  font-size: .9rem;
  font-style: italic;
}

.admin-loading {
  color: var(--purple);
  font-size: .9rem;
  font-weight: 500;
  animation: adminFade 1s infinite alternate;
}

.admin-error-inline {
  color: #C62828;
  font-size: .88rem;
}

.admin-link {
  color: var(--purple);
  text-decoration: underline;
  transition: color var(--transition);
}

.admin-link:hover {
  color: var(--purple-dark);
}

/* ── Admin Keyframes ── */
@keyframes adminPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

@keyframes adminFade {
  from { opacity: .5; }
  to   { opacity: 1; }
}

/* ── Admin Responsive ── */
@media (max-width: 1024px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .admin-stat-number { font-size: 1.8rem; }
  .admin-content { padding: 20px 16px 48px; }
  .admin-header-inner { padding: 12px 16px; }
  .admin-tabs-wrap { flex-direction: column; align-items: flex-start; }
  .admin-tabs { width: 100%; }
  .admin-tab { padding: 10px 16px; font-size: .85rem; }
  .admin-refresh-btn { width: 100%; justify-content: center; }
  .admin-login-body { padding: 24px; }
  .admin-login-header { padding: 28px 24px 20px; }
}
