/* =========================
   Resilient Corazones Counseling
   Home page styles (UPDATED)
   - White gutters left/right
   - Lavender center shell (#EEDFFB)
   - Desktop dropdowns open on hover/focus-within
   - Sticky dropdown behavior (no flicker)
   - Slightly improved scroll/hover target for dropdown triggers
   ========================= */
/* ----- Reset ----- */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
  color: #1E0A24;
  /* White gutters */
  background: #FFFFFF;
}
img, svg {
  max-width: 100%;
  display: block;
}

/* -------------------------
   Image utilities (opt-in) --- Rounded corners + soft shadow
------------------------- */
/* Apply to a wrapper (figure/div) for best results */
.media-elevated {
  border-radius: 12px; /* fixed */
  box-shadow: var(--shadow-soft);
  overflow: hidden; /* ensures corners clip the image */
  border: 1px solid rgba(30, 10, 36, 0.10); /* subtle edge like other components */
  background: rgba(255, 255, 255, 0.001); /* prevents occasional edge artifacts on some renderers */
}
/* Ensure the image fills the wrapper cleanly */
.media-elevated > img {
  width: 100%;
  height: auto;
  display: block;
}
/* ------------------------- */
a {
  color: inherit;
}
p {
  margin: 0 0 1rem;
}
h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
ul, ol {
  margin: 0;
  padding: 0;
}
/* ----- Design Tokens ----- */ :root {
  --bg: #EEDFFB; /* center content area */
  --accent: #9139B4;
  --surface: #7C3F97; /* replaces white for cards/nav/footer */
  --surface-2: #6D3586;
  --text: #1E0A24;
  --muted: #3B1B46;
  --on-surface: #EEDFFB;
  --focus: #FFD76A; /* warm visible focus ring */
  --radius: 18px;
  --shadow: 0 10px 28px rgba(30, 10, 36, 0.22);
  --shadow-soft: 0 8px 18px rgba(30, 10, 36, 0.16);
  --max: 1120px;
}
/* Centered shell creates lavender middle with white gutters */
.site-shell {
  background: var(--bg);
  width: min(100%, 1240px);
  margin-inline: auto;
  min-height: 100dvh;
  box-shadow: 0 0 0 1px rgba(30, 10, 36, 0.06);
}
/* ----- Accessibility helpers ----- */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--surface);
  color: var(--on-surface);
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  z-index: 999;
}
.skip-link:focus {
  top: 0.75rem;
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Strong keyboard focus visibility */ :focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
/* ----- Layout ----- */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.section {
  padding: clamp(2.25rem, 4vw, 4.25rem) 0;
}
.section.alt {
  background: linear-gradient(180deg, rgba(124, 63, 151, 0.08), rgba(145, 57, 180, 0.06));
  border-block: 1px solid rgba(30, 10, 36, 0.10);
}
.section-header {
  margin-bottom: 1.5rem;
}
.section-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 68ch;
}
.note {
  color: var(--muted);
}
/* ----- Header / Branding ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 223, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 10, 36, 0.10);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left | center | right */
  align-items: center;
  padding: 0.85rem 0;
  gap: 1rem;
}

/* Ensure brand stays left */
.header-inner .brand {
  grid-column: 1;
  justify-self: start;
}

/* Ensure desktop nav and mobile menu live on the right */
.header-inner .desktop-nav,
.header-inner .mobile-nav {
  grid-column: 3;
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}
/* Brand logo image inside the existing .brand-mark box */
.brand-mark {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  /* Transparent background behind the logo */
  background: transparent;
  box-shadow: none;
  /* NOTE: If you want to have background color behind the logo, replace with:  
               background: var(--surface);
               box-shadow: var(--shadow-soft);
       */
  overflow: hidden; /* ensures logo corners match rounded badge */
}
/* The actual logo image */
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain; /* show the full logo without cropping */
  object-position: center;
  display: block;
}
.brand-text {
  display: grid;
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.01em;
}
.brand-sub {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== Brand socials row under logo text ===== */

.brand-text {
  display: grid;
  gap: 0.15rem; /* small space between name/subtitle/socials */
}

/* Social row container */
.brand-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;          /* spacing between icons */
  margin-top: 0.15rem;  /* small separation under "Counseling" */
}

/* Each icon link */
.social-link {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;

  border-radius: 10px;
  text-decoration: none;

  /* subtle background to feel "sleek" and clickable */
  background: rgba(124, 63, 151, 0.12); /* soft purple tint */
  border: 1px solid rgba(30, 10, 36, 0.12);

  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

/* Icon sizing */
.social-icon {
  width: 16px;
  height: 16px;
  display: block;
}

/* Hover/active states */
.social-link:hover {
  background: rgba(145, 57, 180, 0.18);
  border-color: rgba(145, 57, 180, 0.35);
  transform: translateY(-1px);
}

.social-link:active {
  transform: translateY(0);
}

/* Accessible keyboard focus */
.social-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .brand-social {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }
}

/* Optional: if your icons are single-color SVGs, you can tint them by using CSS mask instead.
   If you use colored SVGs, you can skip this. */

/* ----- Nav: mobile vs desktop visibility ----- */
.desktop-nav {
  display: none;
}
.mobile-nav {
  display: block;
}
/* ----- Mobile Menu (details/summary) ----- */
.menu {
  position: relative;
}
.menu-summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: var(--surface);
  color: var(--on-surface);
  border: 1px solid rgba(238, 223, 251, 0.18);
  box-shadow: var(--shadow-soft);
}
.menu-summary::-webkit-details-marker {
  display: none;
}
.menu-icon {
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-block;
}
.menu-icon::before, .menu-icon::after, .menu-icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--on-surface);
  border-radius: 2px;
}
.menu-icon::before {
  top: 0;
}
.menu-icon::after {
  bottom: 0;
}
.menu-icon span {
  top: 5px;
}
.menu[open] .menu-summary {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
/* Mobile nav panel */
.site-nav {
  margin-top: 0.75rem;
  background: var(--surface);
  color: var(--on-surface);
  border-radius: var(--radius);
  padding: 0.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(238, 223, 251, 0.18);
}
.nav-list {
  list-style: none;
  display: grid;
  gap: 0.25rem;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  font-weight: 650;
}
.nav-link:hover {
  background: rgba(238, 223, 251, 0.10);
}
.nav-link[aria-current="page"] {
  background: rgba(238, 223, 251, 0.14);
}
/* Mobile dropdowns use <details class="dropdown"> */
.dropdown summary {
  list-style: none;
}
.dropdown summary::-webkit-details-marker {
  display: none;
}
.dropdown[open] > summary {
  background: rgba(238, 223, 251, 0.12);
}
.dropdown-list {
  list-style: none;
  margin: 0.35rem 0 0.25rem;
  padding: 0 0.25rem 0.25rem;
  display: grid;
  gap: 0.15rem;
}
.dropdown-list a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  font-weight: 600;
}
.dropdown-list a:hover {
  background: rgba(238, 223, 251, 0.10);
}
/* ----- Desktop Nav + Hover Dropdowns ----- */
@media (min-width: 920px) {
  .desktop-nav {
    display: block;
  }
  .mobile-nav {
    display: none;
  }
  /* Make sure dropdown isn't clipped by any parent */
  .site-header, .header-inner, .desktop-nav, .desktop-nav .nav-list {
    overflow: visible;
  }
  /* Make desktop nav inline and transparent */
  .desktop-nav.site-nav {
    margin-top: 0;
    background: transparent;
    color: var(--text);
    box-shadow: none;
    border: 0;
    padding: 0;
  }
  .desktop-nav .nav-list {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    gap: 0.35rem;
  }
  .desktop-nav .nav-link {
    color: var(--text);
    padding: 0.55rem 0.8rem;
  }
  .desktop-nav .nav-link:hover {
    background: rgba(145, 57, 180, 0.10);
  }
  /* Hover dropdown container (li) */
  .desktop-nav .has-dropdown {
    position: relative;
  }
  /* Dropdown toggle link (e.g., Services, More Info) */
  .desktop-nav .dropdown-toggle {
    position: relative;
    padding-right: 1.35rem; /* room for caret */
    padding-bottom: 0.7rem; /* EXTRA: slightly taller hover zone (scroll feels better) */
  }
  /* Caret */
  .desktop-nav .dropdown-toggle::after {
    content: "▾";
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85em;
    opacity: 0.70;
  }
  /* Dropdown panel: hidden by default */
  .desktop-nav .has-dropdown > .dropdown-list {
    display: grid;
    gap: 0.15rem;
    position: absolute;
    /* KEY FIX: attach dropdown to the trigger (no hover-killing gap) */
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--surface);
    color: var(--on-surface);
    border-radius: var(--radius);
    padding: 0.55rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(238, 223, 251, 0.18);
    /* keep it above page content */
    z-index: 2000;
    /* hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
      opacity 140ms ease, transform 140ms ease, visibility 0s linear 140ms;
  }
  /*
    Hover bridge (no flicker):
    Invisible strip above the dropdown so moving the cursor down doesn't leave hover
  */
  .desktop-nav .has-dropdown > .dropdown-list::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
    background: transparent;
  }
  /* Show dropdown on hover OR keyboard focus */
  .desktop-nav .has-dropdown:hover > .dropdown-list, .desktop-nav .has-dropdown:focus-within > .dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity 140ms ease, transform 140ms ease, visibility 0s linear 0s;
  }
  /* Make submenu items easier to click */
  .desktop-nav .dropdown-list a {
    color: var(--on-surface);
    padding: 0.75rem 0.9rem; /* larger click target */
    border-radius: 14px;
    line-height: 1.2;
  }
  /* Optional highlight when open */
  .desktop-nav .has-dropdown:hover > .dropdown-toggle, .desktop-nav .has-dropdown:focus-within > .dropdown-toggle {
    background: rgba(145, 57, 180, 0.10);
    border-radius: 14px;
  }
}
/* The subdropdown is for a sub-menu item that has it's own, additional sub-menu */
@media (min-width: 920px) {
  /* The 2nd-level item that owns a 3rd-level submenu */
  .desktop-nav .has-subdropdown {
    position: relative;
  }
  /* Add a caret to indicate there's another level */
  .desktop-nav .subdropdown-toggle {
    position: relative;
    padding-right: 1.6rem; /* space for caret */
  }
  .desktop-nav .subdropdown-toggle::after {
    content: "▸";
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.75;
    font-size: 0.95em;
  }
  /* 3rd-level panel (hidden by default) */
  .desktop-nav .has-subdropdown > .subdropdown-list {
    list-style: none;
    margin: 0;
    padding: 0.55rem;
    position: absolute;
    top: 0; /* aligns to the hovered 2nd-level item */
    left: 100%; /* opens to the right */
    margin-left: 0.35rem;
    min-width: 260px;
    background: var(--surface);
    color: var(--on-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(238, 223, 251, 0.18);
    z-index: 2100; /* above the 2nd-level dropdown */
    /* hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition:
      opacity 140ms ease, transform 140ms ease, visibility 0s linear 140ms;
  }
  /* ✅ Sticky bridge (prevents flicker between the 2nd and 3rd panel) */
  .desktop-nav .has-subdropdown > .subdropdown-list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -12px; /* bridges the gap between panels */
    width: 12px;
    background: transparent;
  }
  /* Show 3rd-level submenu on hover AND keyboard focus */
  .desktop-nav .has-subdropdown:hover > .subdropdown-list, .desktop-nav .has-subdropdown:focus-within > .subdropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition:
      opacity 140ms ease, transform 140ms ease, visibility 0s linear 0s;
  }
  /* 3rd-level link styling (inherits your dropdown-list styles too) */
  .desktop-nav .subdropdown-list a {
    display: block;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    line-height: 1.2;
    text-decoration: none;
    color: var(--on-surface);
  }
  .desktop-nav .subdropdown-list a:hover {
    background: rgba(238, 223, 251, 0.10);
  }
}
/* Optional: If your 3rd-level opens off the right edge on smaller desktops, you can force it to open left for that specific submenu: Just be sure the HTML has class of "has-subdropdown open-left" in the li tag */
@media (min-width: 920px) {
  .desktop-nav .has-subdropdown.open-left > .subdropdown-list {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 0.35rem;
    transform: translateX(-8px);
  }
  .desktop-nav .has-subdropdown.open-left:hover > .subdropdown-list, .desktop-nav .has-subdropdown.open-left:focus-within > .subdropdown-list {
    transform: translateX(0);
  }
}
/* =========================
   Mobile: 3rd-level subdropdown inside the mobile menu
   ========================= */
.mobile-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
/* Nested details control for 3rd level */
.subdropdown {
  position: relative;
}
.subtoggle {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  background: rgba(238, 223, 251, 0.14);
  border: 1px solid rgba(238, 223, 251, 0.18);
  color: var(--on-surface);
  font-weight: 700;
  font-size: 0.9rem;
}
.subtoggle::-webkit-details-marker {
  display: none;
}
.subdropdown-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0.35rem;
  border-radius: 14px;
  background: rgba(238, 223, 251, 0.08);
  border: 1px solid rgba(238, 223, 251, 0.14);
  display: grid;
  gap: 0.15rem;
}


/* =========================
   Center header CTA button (i.e, English / Spanish button)
   ========================= */

.header-cta {
  grid-column: 2;
  justify-self: center;
  text-decoration: none;

  /* Professional “tile button” look */
  background: #4B1F5E;               /* dark purple */
  border: 2px solid #EEDFFB;          /* contrasting border */
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(30, 10, 36, 0.18);

  /* Comfortable hit target */
  padding: 0.65rem 0.95rem;
  min-height: 44px;                  /* touch-friendly */
  min-width: 120px;

  display: grid;
  gap: 0.15rem;
  text-align: center;

  /* High-contrast text */
  color: #EEDFFB;

  /* Smooth interaction */
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, border-color 140ms ease;
	
  --cta-nudge: -36px; /* Adjust to change height of the "English / Spanish" button */
	transform: translateY(var(--cta-nudge));
}

/* Top line: 2–3 words, bigger */
.header-cta__title {
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* Bottom line: smaller helper text */
.header-cta__sub {
  font-weight: 650;
  font-size: 0.88rem;
  line-height: 1.15;
  opacity: 0.95;
}

/* Hover + focus styling */
.header-cta:hover {
  transform: translateY(calc(var(--cta-nudge) - 1px));
  box-shadow: 0 14px 28px rgba(30, 10, 36, 0.22);
  border-color: #FFD76A;             /* warm accent border on hover */
}

.header-cta:active {
  transform: translateY(var(--cta-nudge));
}

/* Strong keyboard focus for accessibility */
.header-cta:focus-visible {
  outline: 3px solid #FFD76A;
  outline-offset: 4px;
}


/* ----- Buttons ----- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
.button.primary {
  background: var(--accent);
  color: var(--on-surface);
  border-color: rgba(238, 223, 251, 0.22);
}
.button.secondary {
  background: var(--surface);
  color: var(--on-surface);
  border-color: rgba(238, 223, 251, 0.20);
}
.button.ghost {
  background: transparent;
  border-color: rgba(30, 10, 36, 0.18);
  color: var(--text);
  box-shadow: none;
}
.button:hover {
  transform: translateY(-1px);
}
.button:active {
  transform: translateY(0);
}
.text-link {
  color: var(--accent);
  font-weight: 750;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}
/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .button:hover {
    transform: none;
  }
  /* Keep dropdown functional without animations */
  .desktop-nav .has-dropdown > .dropdown-list {
    transition: none;
  }
}
/* ----- Hero ----- */
.hero {
  padding: clamp(2.4rem, 5vw, 4.8rem) 0;
}
.hero-inner {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.hero-content {
  overflow: visible;
}
.eyebrow {
  display: inline-block;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 70ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.1rem 0 1rem;
}
.trust-list {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  padding-left: 0;
  color: var(--muted);
}
.trust-list strong {
  color: var(--text);
}
.hero-aside {
  display: grid;
  gap: 1rem;
}
/* Hero image placeholder (no external image needed) */
.hero-figure {
  border-radius: calc(var(--radius) + 6px);
  min-height: 220px; 
  max-width: 220px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 10, 36, 0.10);
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(1000px 260px at 20% 20%, rgba(255, 218, 120, 0.55), transparent 55%), radial-gradient(800px 260px at 80% 25%, rgba(238, 223, 251, 0.45), transparent 60%), radial-gradient(700px 260px at 50% 90%, rgba(145, 57, 180, 0.45), transparent 55%), linear-gradient(135deg, rgba(124, 63, 151, 0.80), rgba(145, 57, 180, 0.72));
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(30, 10, 36, 0.10), rgba(30, 10, 36, 0.00) 45%);
}
.hero-card {
  background: var(--surface);
  color: var(--on-surface);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(238, 223, 251, 0.18);
}
.card-title {
  margin-bottom: 0.4rem;
}
.card-text {
  color: rgba(238, 223, 251, 0.92);
}
.contact-mini {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}
.contact-mini dt {
  font-weight: 800;
  letter-spacing: 0.02em;
}
.contact-mini dd {
  margin: 0.1rem 0 0;
}
.contact-mini a {
  color: var(--on-surface);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
/* Honeypot form: Hides field for user, bots use this one */
.hp-field {
  position: absolute;
  left: -9999px;
}
.small-muted {
  font-size: 0.95rem;
  color: rgba(238, 223, 251, 0.88);
  margin-top: 0.9rem;
}
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2rem;
  }
  .hero-figure {
    min-height: 220px;
  }
}
/* =========================
   Full-bleed banner (covers white gutters)
   ========================= */
/* Utility: make an element span the entire viewport width, even inside a centered shell */
.full-bleed {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
/* Base banner component */
.banner {
  /* Default (standard/original) height */
  --banner-height: clamp(180px, 28vw, 360px);
  position: relative;
  height: var(--banner-height);
  overflow: hidden;
  /* Optional separators to match your design language */
  border-block: 1px solid rgba(30, 10, 36, 0.10);
}
/* Size modifiers */
.banner--tall {
  --banner-height: clamp(320px, 45vw, 640px);
}
.banner--short {
  --banner-height: clamp(90px, 12vw, 160px);
}
/* Image approach: <img class="banner-img"> fills the banner */
.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills without distortion */
  object-position: center; /* adjust per photo if needed */
  display: block;
}
/* Optional overlay for warmth/contrast */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 10, 36, 0.18), rgba(30, 10, 36, 0.05) 55%, rgba(30, 10, 36, 0.12));
  pointer-events: none;
}
/* Optional: background-image approach instead of <img> */
.banner-bg {
  background-image:
    linear-gradient(180deg, rgba(30, 10, 36, 0.18), rgba(30, 10, 36, 0.08)), url("assets/banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Optional: If you ever see a tiny horizontal scrollbar due to 100vw */
@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}
/* Fallback if needed:
body { overflow-x: hidden; }
*/

/* =========================
   Banner text overlay (centered shell width, left-aligned)
   ========================= */
/* Overlay layer that sits above the image & gradient overlay */
.banner-content {
  position: absolute;
  inset: 0;
  z-index: 2; /* above .banner-overlay and image */
  display: grid;
  align-items: center; /* vertically center; change to start/end if desired */
  pointer-events: none; /* lets clicks pass through to links below unless we re-enable */
}

/* Enable clicking inside overlay text area if you add CTA links/buttons later */
.banner-content .banner-text {
  pointer-events: auto;
}

/* Text block (left-aligned) */
.banner-text {
  max-width: 60ch;
  text-align: left;

  /* Spacing inside the centered container */
  padding: clamp(0.75rem, 2vw, 1.25rem);
  border-radius: 18px;

  /* A little separation from the left edge of the container */
  margin-left: 0;

  /* Strong typographic presence */
  backdrop-filter: blur(6px);
}

/* Optional: nudge the text slightly down/up within the banner */
.banner-text {
  transform: translateY(0);
}

/* Kicker line */
.banner-kicker {
  margin: 0 0 0.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
}

/* Big, bold quote-like headline */
.banner-headline {
  margin: 0;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.01em;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
}

/* Supporting line */
.banner-sub {
  margin: 0.55rem 0 0;
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.25;
  opacity: 0.95;
}

/* === Variant: Light text + dark border === */

.banner-text--light {
  color: #F7F2FB; /* light text */
  border: 2px solid rgba(30, 10, 36, 0.85); /* dark border */
  background: rgba(30, 10, 36, 0.35); /* dark translucent fill for readability */
  box-shadow: 0 14px 30px rgba(30, 10, 36, 0.22);
}

/* Make kicker/sub slightly softer while staying readable */
.banner-text--light .banner-kicker,
.banner-text--light .banner-sub {
  color: rgba(247, 242, 251, 0.92);
}

/* === Variant: Dark text + light border === */

.banner-text--dark {
  color: #1E0A24; /* your site text color */
  border: 2px solid rgba(238, 223, 251, 0.95); /* light border */
  background: rgba(238, 223, 251, 0.78); /* light translucent fill */
  box-shadow: 0 14px 30px rgba(30, 10, 36, 0.18);
}

/* Kicker/sub styling */
.banner-text--dark .banner-kicker {
  color: rgba(30, 10, 36, 0.80);
}
.banner-text--dark .banner-sub {
  color: rgba(30, 10, 36, 0.78);
}

@media (max-width: 700px) {
  .banner-content {
    align-items: end; /* move toward bottom for better composition on mobile */
  }
  .banner-text {
    max-width: 100%;
    margin-bottom: 1rem;
  }
}



/* ----- Between-section image bands (placeholders) ----- */
.image-band {
  height: clamp(120px, 18vw, 220px);
  margin: 0;
  border-block: 1px solid rgba(30, 10, 36, 0.10);
  position: relative;
  overflow: hidden;
}
.image-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.95;
}
.band-1::before {
  background:
    radial-gradient(1100px 240px at 20% 40%, rgba(255, 218, 120, 0.55), transparent 55%), radial-gradient(900px 260px at 75% 30%, rgba(145, 57, 180, 0.45), transparent 60%), linear-gradient(135deg, rgba(124, 63, 151, 0.55), rgba(238, 223, 251, 0.85));
}
.band-2::before {
  background:
    radial-gradient(900px 240px at 65% 35%, rgba(255, 218, 120, 0.42), transparent 60%), radial-gradient(1000px 240px at 20% 70%, rgba(124, 63, 151, 0.42), transparent 60%), linear-gradient(135deg, rgba(238, 223, 251, 0.80), rgba(145, 57, 180, 0.38));
}
.band-3::before {
  background:
    radial-gradient(900px 240px at 20% 40%, rgba(145, 57, 180, 0.40), transparent 60%), radial-gradient(1000px 260px at 80% 70%, rgba(255, 218, 120, 0.45), transparent 65%), linear-gradient(135deg, rgba(124, 63, 151, 0.50), rgba(238, 223, 251, 0.88));
}
.image-band::after {
  content: "";
  position: absolute;
  inset: -30% -10%;
  background:
    radial-gradient(closest-side at 50% 50%, rgba(255, 255, 255, 0.16), transparent 70%);
  transform: rotate(-8deg);
  pointer-events: none;
}
/* =========================
   Image band quote overlay
   ========================= */
/* Make sure the band can layer text above its pseudo-elements */
.image-band {
  position: relative; /* already true in your CSS, keeping here for clarity */
}
/* Push the background layers behind the text */
.image-band::before, .image-band::after {
  z-index: 0;
}
/* Ensure children render above the background */
.image-band > * {
  position: relative;
  z-index: 1;
}
/* Quote layout */
.image-band--quote {
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}
/* The quote container */
.band-quote {
  max-width: min(70ch, 100%);
  margin: 0;
  text-align: center;
}
/* Quote typography */
.quote {
  margin: 0;
  padding: clamp(0.9rem, 2vw, 1.4rem);
  border-radius: 18px;
  /* “Stand out” panel, still on-brand */
  background: rgba(238, 223, 251, 0.78); /* #EEDFFB with opacity */
  border: 1px solid rgba(30, 10, 36, 0.12);
  box-shadow: 0 10px 26px rgba(30, 10, 36, 0.18);
  /* readable on busy backgrounds */
  color: var(--text);
}
/* Big, elegant quote text */
.quote p {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.18;
}
/* Attribution */
.quote-attrib {
  margin-top: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
}

/* =========================
   Callout Box (opt-in component)
   - Use .callout for base styling
   - Use .callout--center to center it
   - Use .callout--right to float it on the right (desktop)
========================= */
/* Optional: callout-specific tokens (keeps it consistent + easy to tweak) */
:root {
  --callout-bg: rgba(255, 244, 209, 0.92);     /* warm, readable on lavender */
  --callout-border: rgba(30, 10, 36, 0.14);
  --callout-title-bg: rgba(124, 63, 151, 0.12); /* subtle purple header */
  --callout-title-border: rgba(30, 10, 36, 0.12);
  --callout-title-accent: var(--accent);
}
/* Base callout */
.callout {
  background: var(--callout-bg);
  color: var(--text);
  border: 1px solid var(--callout-border);
  border-radius: calc(var(--radius) - 4px);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.1rem 1.05rem;
  margin: 1.25rem 0;
}
/* Header area inside callout */
.callout__header {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: -1rem -1.1rem 0.85rem; /* pull header edge-to-edge within callout */
  padding: 0.85rem 1.1rem;
  background: var(--callout-title-bg);
  border-bottom: 1px solid var(--callout-title-border);
  border-top-left-radius: calc(var(--radius) - 4px);
  border-top-right-radius: calc(var(--radius) - 4px);
}
/* Title text */
.callout__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
/* Optional small “kicker” or label */
.callout__kicker {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--callout-title-accent);
}
/* Body text spacing */
.callout__body > :first-child { margin-top: 0; }
.callout__body > :last-child { margin-bottom: 0; }

/* Links inside callout (still on-brand and readable) */
.callout a {
  color: var(--accent);
  font-weight: 750;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}
/* --- Placement modifiers --- */
/* Centered callout: constrain width and center */
.callout--center {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}
/* Right-floating callout: floats on wide screens, stacks on smaller screens */
.callout--right {
  max-width: 42ch;
}
@media (min-width: 900px) {
  .callout--right {
    float: right;
    margin: 0.25rem 0 1rem 1.25rem; /* space between callout and left text */
  }
}
/* On smaller screens, remove float so it doesn't squeeze content */
@media (max-width: 899.98px) {
  .callout--right {
    float: none;
    max-width: none;
    margin: 1.25rem 0;
  }
}
/* Optional: contain floats (use on parent wrapper if needed) */
.flow-root {
  display: flow-root; /* clean clearfix without hacks */
}


/* ----- Cards / Grids ----- */
.grid-3 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 860px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  position: relative;
  background:
    radial-gradient(
      120% 120% at 15% 0%,
      rgba(255, 230, 166, 0.10),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #8550a0 0%,
      #743b90 38%,
      #5f2f77 100%
    );
  color: var(--on-surface);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.35rem 1.2rem 1.2rem;
  border: 1px solid rgba(238, 223, 251, 0.16);
  box-shadow:
    0 12px 26px rgba(30, 10, 36, 0.18),
    0 3px 10px rgba(30, 10, 36, 0.10);
  overflow: hidden;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.10),
      rgba(255, 255, 255, 0.00) 26%
    );
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 30px rgba(30, 10, 36, 0.22),
    0 4px 12px rgba(30, 10, 36, 0.12);
  border-color: rgba(255, 230, 166, 0.28);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.8rem;
  color: var(--on-surface);
}

.service-card p {
  position: relative;
  z-index: 1;
  color: rgba(238, 223, 251, 0.94);
  margin-bottom: 1rem;
}

.service-card .text-link {
  position: relative;
  z-index: 1;
  color: #ffe6a6;
}

.service-card .text-link:hover {
  color: #fff2c9;
}
/* =========================
   Services - Sleek Card Upgrade
   - Stylized card treatment
   - Top-centered icon circle
========================= */

.services-grid {
  gap: 1.5rem;
  padding-top: 1rem; /* gives a bit of breathing room above the icon circles */
}

.service-card--sleek {
  position: relative;
  background:
    linear-gradient(
      180deg,
      rgba(124, 63, 151, 0.98),
      rgba(109, 53, 134, 0.98)
    );
  color: var(--on-surface);
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(238, 223, 251, 0.20);
  box-shadow:
    0 10px 24px rgba(30, 10, 36, 0.18),
    0 3px 10px rgba(30, 10, 36, 0.10);
  padding: 2.8rem 1.2rem 1.2rem; /* extra top padding for icon overlap */
  margin-top: 1.5rem; /* Adjust the space above the cards and icons */
  overflow: visible;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.service-card--sleek:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 30px rgba(30, 10, 36, 0.22),
    0 4px 12px rgba(30, 10, 36, 0.12);
  border-color: rgba(255, 230, 166, 0.40);
}

.service-card--sleek::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.00) 28%
    );
}

/* Icon circle:
   - centered horizontally
   - center of circle aligned to top border of card
*/
.service-card__icon-circle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, #eedffb, rgba(145, 57, 180, 0.45) 62%, #eedffb);
  border: 4px solid var(--bg);
  box-shadow:
    0 8px 18px rgba(30, 10, 36, 0.16),
    0 0 0 1px rgba(30, 10, 36, 0.08);
  z-index: 2;
}

/* Optional subtle inner ring */
.service-card__icon-circle::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px solid rgba(145, 57, 180, 0.18);
  pointer-events: none;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
}

.service-card__body {
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-card--sleek h3 {
  margin: 0 0 0.8rem;
  font-size: 1.18rem;
  line-height: 1.2;
  color: var(--on-surface);
}

.service-card--sleek p {
  margin: 0 0 1rem;
  color: rgba(238, 223, 251, 0.94);
  line-height: 1.65;
}

.service-card__link {
  display: inline-block;
  margin-top: 0.15rem;
  color: #ffe6a6;
  font-weight: 750;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.service-card__link:hover {
  color: #fff2c9;
}

.service-card__link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (max-width: 700px) {
  .service-card__icon-circle {
    width: 64px;
    height: 64px;
  }

  .service-card__icon {
    width: 24px;
    height: 24px;
  }

  .service-card--sleek {
    padding-top: 2.6rem;
  }
}

/* =========================
   Blog Preview Cards
   - Whole card clickable
   - Left image / center text / right icon
   - Left and right same size
========================= */

:root {
  --blog-media-size: 110px; /* Change this to make left and right blocks larger/smaller. Eg, 96px=tighter, 120px=slghtly more, 132px=spacious  */
}

.blog-preview-list {
  display: grid;
  gap: 1rem;
}

.blog-preview-item {
  margin: 0;
}

.blog-preview-card {
  display: grid;
  grid-template-columns: var(--blog-media-size) minmax(0, 1fr) var(--blog-media-size);
  align-items: stretch;
  gap: 1rem;
  padding: 1rem;
  border-radius: calc(var(--radius) + 2px);
  text-decoration: none;
  color: var(--on-surface);
  background:
    linear-gradient(
      180deg,
      rgba(124, 63, 151, 0.96),
      rgba(109, 53, 134, 0.98)
    );
  border: 1px solid rgba(238, 223, 251, 0.18);
  box-shadow:
    0 10px 24px rgba(30, 10, 36, 0.16),
    0 3px 10px rgba(30, 10, 36, 0.10);
  position: relative;
  overflow: hidden;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.blog-preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.00) 28%
    );
}

.blog-preview-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(30, 10, 36, 0.20),
    0 4px 12px rgba(30, 10, 36, 0.12);
  border-color: rgba(255, 230, 166, 0.30);
}

.blog-preview-card__media,
.blog-preview-card__cta {
  width: var(--blog-media-size);
  height: var(--blog-media-size);
  border-radius: 16px;
  overflow: hidden;
  align-self: center;
  position: relative;
  z-index: 1;
}

.blog-preview-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Center text */
.blog-preview-card__content {
  display: grid;
  align-content: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.blog-preview-card__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  line-height: 1.2;
  color: var(--on-surface);
}

.blog-preview-card__text {
  margin: 0;
  color: rgba(238, 223, 251, 0.92);
  line-height: 1.6;
  max-width: 62ch;
}

/* Right icon box */
.blog-preview-card__cta {
  justify-self: end;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(
      180deg,
      rgba(238, 223, 251, 0.12),
      rgba(238, 223, 251, 0.06)
    );
  border: 1px solid rgba(238, 223, 251, 0.18);
  box-shadow: var(--shadow-soft);
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background-color 140ms ease;
}

.blog-preview-card__cta img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

/* Make inner parts respond when whole card is hovered */
.blog-preview-card:hover .blog-preview-card__title {
  color: #fff2c9;
}

.blog-preview-card:hover .blog-preview-card__cta {
  transform: translateY(-1px);
  border-color: rgba(255, 230, 166, 0.38);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(
      180deg,
      rgba(255, 230, 166, 0.16),
      rgba(238, 223, 251, 0.10)
    );
}

/* Strong keyboard accessibility */
.blog-preview-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

/* Responsive stacking */
@media (max-width: 760px) {
  .blog-preview-card {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .blog-preview-card__media,
  .blog-preview-card__cta {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 84px;
  }

  .blog-preview-card__media img {
    aspect-ratio: 16 / 9;
  }

  .blog-preview-card__cta {
    justify-self: stretch;
  }
}

/* ----- Split layout ----- */
.split {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
  }
}
.checklist {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 1.2rem;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--muted);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}
/* Profile card */
.profile {
  background: var(--surface);
  color: var(--on-surface);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(238, 223, 251, 0.18);
}
.profile-badge {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(145, 57, 180, 0.28);
  border: 1px solid rgba(238, 223, 251, 0.18);
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.profile-text {
  color: rgba(238, 223, 251, 0.92);
}
/* ----- Steps ----- */
.steps {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
  padding: 0;
}
.steps li {
  background: rgba(124, 63, 151, 0.10);
  border: 1px solid rgba(30, 10, 36, 0.10);
  border-radius: var(--radius);
  padding: 1rem;
}
.steps h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.steps h3::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-surface);
  font-weight: 900;
}
/* ----- Form ----- */
.lead-form {
  background: var(--surface);
  color: var(--on-surface);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(238, 223, 251, 0.18);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
label {
  font-weight: 750;
}
input, textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(238, 223, 251, 0.20);
  background: rgba(238, 223, 251, 0.10);
  color: var(--on-surface);
  font: inherit;
}
input::placeholder, textarea::placeholder {
  color: rgba(238, 223, 251, 0.72);
}
.help {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(238, 223, 251, 0.88);
}
.field.checkbox {
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 0.65rem;
}
.field.checkbox input {
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
}

/* Preferred contact method radios */
.radio-group {
  margin-bottom: 0.85rem;
}
.radio-group legend {
  font-weight: 750;
  margin-bottom: 0.5rem;
}
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(238, 223, 251, 0.20);
  background: rgba(238, 223, 251, 0.10);
  color: var(--on-surface);
  cursor: pointer;
}
.choice input[type="radio"] {
  width: auto;
  margin: 0;
}
.choice span {
  line-height: 1;
}

/* =========================
   Contact page - wide form section
========================= */

.contact-form-section {
  padding-top: 0;
}
.contact-form-shell {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}
.contact-form-header {
  margin-bottom: 1.25rem;
}
.lead-form--wide {
  width: 100%;
  max-width: none;
  padding: clamp(1.25rem, 2vw, 2rem);
  border-radius: calc(var(--radius) + 4px);
}
.form-grid {
  display: grid;
  gap: 0.95rem 1rem;
}
.field--full {
  grid-column: 1 / -1;
}
/* Preferred contact method radios */
.radio-group {
  margin-bottom: 0.85rem;
}
.radio-group legend {
  font-weight: 750;
  margin-bottom: 0.5rem;
}
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(238, 223, 251, 0.20);
  background: rgba(238, 223, 251, 0.10);
  color: var(--on-surface);
  cursor: pointer;
}
.choice input[type="radio"] {
  width: auto;
  margin: 0;
}
.choice span {
  line-height: 1;
}
.small-muted--form {
  color: rgba(238, 223, 251, 0.88);
}
/* Two-column layout for larger screens */
@media (min-width: 760px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .radio-group {
    grid-column: 1 / -1;
  }
}

/* ----- FAQ ----- */
.faq {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.2rem;
}
.faq details {
  background: rgba(124, 63, 151, 0.10);
  border: 1px solid rgba(30, 10, 36, 0.10);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
}
.faq p {
  margin-top: 0.65rem;
  color: var(--muted);
}
/* ----- Footer ----- */
.site-footer {
  background: var(--surface);
  color: var(--on-surface);
  border-top: 1px solid rgba(238, 223, 251, 0.18);
  padding: 2rem 0;
}
.footer-inner {
  display: grid;
  gap: 1rem;
  align-items: start;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
}
.footer-links a {
  color: var(--on-surface);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}
.footer-meta .small-muted {
  margin-top: 0.5rem;
}
@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 1.2fr 0.7fr 1fr;
    gap: 2rem;
  }
}

/* ----- ***********************************OTHER ITEMS ************************************************----- */

/* =========================
   Text Carousel
   - Autoplay + manual controls
   - Styled to match existing site tokens
========================= */

.text-carousel {
  position: relative;
  display: grid;
  gap: 1rem;
}

.text-carousel__viewport {
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
}

.text-carousel__track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.text-carousel__slide {
  min-width: 100%;
  flex: 0 0 100%;
}

.text-carousel__card {
  background: var(--surface);
  color: var(--on-surface);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(1.25rem, 2.2vw, 2rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(238, 223, 251, 0.18);
  min-height: 260px;
  display: grid;
  align-content: center;
}

.text-carousel__eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFE6A6;
}

.text-carousel__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.15;
  color: var(--on-surface);
}

.text-carousel__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(238, 223, 251, 0.92);
  max-width: 65ch;
}

.text-carousel__controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.text-carousel__button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(30, 10, 36, 0.14);
  border-radius: 14px;
  background: rgba(124, 63, 151, 0.10);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.text-carousel__button:hover {
  background: rgba(145, 57, 180, 0.16);
  border-color: rgba(145, 57, 180, 0.28);
  transform: translateY(-1px);
}

.text-carousel__button:active {
  transform: translateY(0);
}

.text-carousel__button span {
  font-size: 1.65rem;
  line-height: 1;
}

.text-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.text-carousel__dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(30, 10, 36, 0.22);
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease;
}

.text-carousel__dot:hover {
  transform: scale(1.08);
}

.text-carousel__dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

/* Strong focus states to match your site */
.text-carousel__button:focus-visible,
.text-carousel__dot:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Optional: a softer alternate background wrapper feel */
.text-carousel__card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

@media (max-width: 700px) {
  .text-carousel__card {
    min-height: auto;
  }

  .text-carousel__controls {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .text-carousel__dots {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-carousel__track {
    transition: none;
  }

  .text-carousel__button:hover,
  .text-carousel__dot:hover {
    transform: none;
  }
}

/* ----- ***********************************************************************************----- */

/* =========================
   Testimonial Carousel
   - Very soft glass version
   - Fade transition
   - Dots only
========================= */

.testimonial-carousel {
  display: grid;
  gap: 1rem;
  position: relative;
}

.testimonial-carousel__header {
  text-align: center;
}

.testimonial-carousel__header .section-lead {
  margin-inline: auto;
}

.testimonial-carousel__stage {
  display: grid;
  position: relative;
}

.testimonial-carousel__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 520ms ease,
    visibility 0s linear 520ms;
}

.testimonial-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 520ms ease,
    visibility 0s linear 0s;
}

.testimonial-carousel__card {
  position: relative;
  min-height: 260px;
  display: grid;
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.58),
      rgba(255, 255, 255, 0.40) 40%,
      rgba(238, 223, 251, 0.52)
    );
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 10px 30px rgba(30, 10, 36, 0.08),
    0 2px 10px rgba(30, 10, 36, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.testimonial-carousel__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 240px at 12% 12%,
      rgba(255, 255, 255, 0.50),
      transparent 45%
    ),
    radial-gradient(
      700px 220px at 88% 18%,
      rgba(255, 230, 166, 0.16),
      transparent 40%
    ),
    radial-gradient(
      700px 260px at 50% 100%,
      rgba(145, 57, 180, 0.08),
      transparent 48%
    );
  pointer-events: none;
}

.testimonial-carousel__card::after {
  content: "“";
  position: absolute;
  top: 0.4rem;
  left: 1rem;
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  line-height: 1;
  color: rgba(145, 57, 180, 0.12);
  font-weight: 900;
  pointer-events: none;
}

.testimonial-carousel__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
}

.testimonial-carousel__quote p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.7;
  color: var(--text);
  font-weight: 600;
  max-width: 54ch;
  margin-inline: auto;
}

.testimonial-carousel__attribution {
  margin-top: 1rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--muted);
  opacity: 0.95;
}

.testimonial-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}

.testimonial-carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(30, 10, 36, 0.18);
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease, opacity 120ms ease;
}

.testimonial-carousel__dot:hover {
  transform: scale(1.08);
  background: rgba(145, 57, 180, 0.45);
}

.testimonial-carousel__dot.is-active {
  background: var(--accent);
  transform: scale(1.12);
}

.testimonial-carousel__dot:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .testimonial-carousel__card {
    min-height: 220px;
    padding: 1.35rem 1.15rem 1.55rem;
    border-radius: calc(var(--radius) + 4px);
  }

  .testimonial-carousel__quote p {
    font-size: 1.04rem;
    line-height: 1.65;
  }

  .testimonial-carousel__card::after {
    left: 0.7rem;
    top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-carousel__slide {
    transition: none;
  }

  .testimonial-carousel__dot:hover {
    transform: none;
  }
}
/* ****************************************************************** */
/* About page portrait image */
.about-photo {
  float: right;
  width: min(60%, 510px);
  margin: 0.25rem clamp(-20rem, -24vw, -8rem) 1rem 1.5rem;
  position: relative;
  z-index: 1;
}

/* Keep the image filling the wrapper cleanly */
.about-photo > img {
  width: 100%;
  height: auto;
  display: block;
}

/* On smaller screens, stack the image normally */
@media (max-width: 800px) {
  .about-photo {
    float: none;
    width: min(100%, 340px);
    margin: 0 auto 1.25rem;
  }
}
/* ****************************************************************** */

/* ****************************************************************** */

/* ****************************************************************** */

/* ****************************************************************** */

/* ****************************************************************** */

/* ****************************************************************** */

/* ****************************************************************** */

/* ****************************************************************** */

/* ****************************************************************** */

/* ****************************************************************** */

/* ****************************************************************** */

