/* Alane Atchley, LMFT - basic interim site
   Shared styles for all pages. */

:root {
  --ink: #1c2230;
  --ink-soft: #4a5164;
  --paper: #fbf9f5;
  --card: #ffffff;
  --line: #e6e2d8;
  --purple: #86198f;
  --purple-dark: #701a75;
  --gold: #e8ab1f;
  --teal: #157a6e;
  --teal-dark: #0f5c53;
  --coral: #e2725b;
  --coral-dark: #c65a45;
  --radius: 14px;
  --max: 780px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-optical-sizing: none;
}

strong { color: var(--ink); font-weight: 700; }

.accent-gradient {
  background: linear-gradient(90deg, var(--purple), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--purple);
}

img { max-width: 100%; }

a { color: var(--purple); text-decoration-thickness: 1.5px; }
a:hover { color: var(--purple-dark); }

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

.wide {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / nav */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-row {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav.links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

nav.links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

nav.links a:hover, nav.links a.active { color: var(--purple); }

.btn {
  display: inline-block;
  background: var(--purple);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none !important;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--purple-dark); }

.btn.secondary {
  background: transparent;
  color: var(--purple) !important;
  border: 1.5px solid var(--purple);
}
.btn.secondary:hover { background: rgba(134,25,143,0.06); }

.btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(134,25,143,0.25);
}
.btn:active { transform: translateY(0); }

/* Hero */
.hero {
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  top: -130px;
  right: -110px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(134,25,143,0.14), transparent 70%);
}
.hero::after {
  bottom: -150px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(232,171,31,0.16), transparent 70%);
}
.hero > .wrap, .hero > .wide { position: relative; z-index: 1; }

.hero-photo-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.hero-photo-lg {
  width: 172px;
  height: 172px;
  border: 4px solid var(--purple);
  box-shadow: 0 8px 24px rgba(28,34,48,0.16);
}

.lede-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--purple);
  box-shadow: 0 8px 24px rgba(28,34,48,0.16);
  flex-shrink: 0;
}

.hero-intro-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 22px;
}
.hero-intro-row p.lede {
  margin: 0;
}
@media (max-width: 600px) {
  .hero-intro-row {
    flex-direction: column;
    align-items: center;
  }
  .hero-intro-row .lede-photo {
    width: 140px;
    height: 140px;
  }
}

.story-photo {
  float: right;
  width: 280px;
  margin: 6px 0 20px 32px;
  transform: rotate(2deg);
}
.story-photo img {
  display: block;
  width: 100%;
  border-radius: 10px;
  border: 8px solid var(--card);
  box-shadow: 0 14px 32px rgba(28,34,48,0.22);
}
.story-photo.story-photo-left {
  float: left;
  margin: 6px 32px 20px 0;
  transform: rotate(-2deg);
}
@media (max-width: 640px) {
  .story-photo {
    float: none;
    display: block;
    width: 70%;
    max-width: 280px;
    margin: 0 auto 24px;
  }
}

#consultation {
  position: relative;
  overflow: hidden;
}
#consultation::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,122,110,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
#consultation > .wrap { position: relative; z-index: 1; }

.icon-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-heading::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
}
.icon-heading.icon-mind::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-4 10.5c.7.6 1 1.3 1 2.5h6c0-1.2.3-1.9 1-2.5A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
}
.icon-heading.icon-heart::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7.5-5-10-9.5C.3 8 2 4 6 4c2 0 3.5 1.2 4 2.5C10.5 5.2 12 4 14 4c4 0 5.7 4 4 7.5C19.5 16 12 21 12 21z'/%3E%3C/svg%3E");
}
.icon-heading.icon-person::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a8 8 0 0 1 16 0v1'/%3E%3C/svg%3E");
}
.icon-heading.icon-target::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.2' fill='%2386198f'/%3E%3C/svg%3E");
}
.icon-heading.icon-question::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9a2.5 2.5 0 1 1 3.5 2.3c-.8.4-1.3 1-1.3 1.9v.3'/%3E%3Ccircle cx='12' cy='17' r='0.6' fill='%2386198f'/%3E%3C/svg%3E");
}
.icon-heading.icon-mail::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}
.icon-heading.icon-shield::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.7-7 9-4-1.3-7-4.5-7-9V6l7-3z'/%3E%3C/svg%3E");
}
.icon-heading.icon-list::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='4.5' cy='6' r='1.2' fill='%2386198f'/%3E%3Ccircle cx='4.5' cy='12' r='1.2' fill='%2386198f'/%3E%3Ccircle cx='4.5' cy='18' r='1.2' fill='%2386198f'/%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3C/svg%3E");
}
.icon-heading.icon-dollar::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M17 6.5c0-1.9-2.2-3-5-3s-5 1.3-5 3c0 4 10 2 10 6.5 0 1.9-2.2 3-5 3s-5-1.1-5-3'/%3E%3C/svg%3E");
}
.icon-heading.icon-info::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.01'/%3E%3C/svg%3E");
}
h1.icon-heading::before {
  width: 36px;
  height: 36px;
}

.pull-quote {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 600;
  color: var(--purple);
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 24px;
  margin: 36px 0;
  line-height: 1.4;
}

@media (max-width: 500px) {
  .hero-photo-row {
    flex-direction: column;
    text-align: center;
  }
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 14px;
}

h1 {
  font-size: 2.3rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

.h1-compact {
  font-size: 1.7rem;
  margin-bottom: 0;
}

.h1-large {
  font-size: 2.7rem;
}

.h1-xl {
  font-size: 2.9rem;
}
@media (max-width: 900px) {
  .h1-xl { font-size: 2.3rem; }
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 30px;
}
.hero p.lede strong { color: var(--ink); font-weight: 700; }

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 600;
  color: var(--purple);
  margin: 0 0 30px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Generic section rhythm */
section { padding: 48px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h2 {
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

h3 { font-size: 1.15rem; margin: 0 0 10px; }

.lead-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .lead-list-cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }
}

.lead-list li {
  padding-left: 30px;
  position: relative;
  color: var(--ink-soft);
}

.lead-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2386198f'/%3E%3Cpath d='M5.5 10.3l3 3 6-6.2' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

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

@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
  .h1-large { font-size: 2.1rem; }
  .h1-xl { font-size: 1.9rem; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(28,34,48,0.09);
}

.card h3 { color: var(--ink); }
.card p { color: var(--ink-soft); margin: 0 0 14px; }

/* Step list (numbered process steps) */
.step-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 20px;
}
.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
  color: var(--ink-soft);
  min-height: 32px;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-list li:nth-of-type(2)::before { background: var(--teal); }
.step-list li:nth-of-type(3)::before { background: var(--coral); }

/* Flip cards (specialty grid) */
.flip-card {
  perspective: 1200px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: transform 0.2s ease;
}
.flip-card:hover { transform: translateY(-3px); }
.flip-card:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }

.flip-card-inner {
  position: relative;
  width: 100%;
  min-height: 280px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.flip-card-front {
  background: linear-gradient(135deg, rgba(134,25,143,0.08), rgba(226,114,91,0.05));
  border-color: rgba(134,25,143,0.2);
  box-shadow: 0 4px 14px rgba(28,34,48,0.06);
  align-items: center;
  text-align: center;
}
.flip-card-front h3 { margin: 0; }

/* Rotate specialty card-front tints to match each card's back color */
.grid-cards .flip-card:nth-of-type(3n+2) .flip-card-front {
  background: linear-gradient(135deg, rgba(21,122,110,0.08), rgba(232,171,31,0.05));
  border-color: rgba(21,122,110,0.2);
}
.grid-cards .flip-card:nth-of-type(3n+3) .flip-card-front {
  background: linear-gradient(135deg, rgba(226,114,91,0.1), rgba(134,25,143,0.05));
  border-color: rgba(226,114,91,0.2);
}

.flip-card-back {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: rotateY(180deg);
  gap: 12px;
}
.flip-card-back h4 { font-family: var(--font-body); color: #fff; margin: 0 0 6px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.85; }
.flip-card-back p { color: #fff; margin: 0; font-size: 0.95rem; }

/* Rotate specialty card-back colors for a livelier, varied grid */
.grid-cards .flip-card:nth-of-type(3n+2) .flip-card-back {
  background: var(--teal);
  border-color: var(--teal);
}
.grid-cards .flip-card:nth-of-type(3n+3) .flip-card-back {
  background: var(--coral);
  border-color: var(--coral);
}
.flip-cta { font-weight: 700; color: #fff; font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  .flip-card-inner { transition: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  details p { animation: none; }
  .btn, .card, .flip-card, .rate-box { transition: none; }
}

/* Specialty detail modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 30, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--paper);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 4px 8px;
}
.modal-close:hover { color: var(--ink); }

.modal-box h2 { margin-right: 32px; }
.modal-box h3 { font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold); margin: 20px 0 8px; }
.modal-box p { color: var(--ink-soft); margin: 0; }

/* Specialty grid (flexible column count, used for groups of varying size) */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

@media (max-width: 760px) {
  .grid-cards { grid-template-columns: 1fr; }
}

.group-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.group-title:first-of-type { margin-top: 0; }
.group-title::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.7-7 9-4-1.3-7-4.5-7-9V6l7-3z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.group-title:nth-of-type(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157a6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.7-7 9-4-1.3-7-4.5-7-9V6l7-3z'/%3E%3C/svg%3E");
}
.group-title:nth-of-type(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2725b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.7-7 9-4-1.3-7-4.5-7-9V6l7-3z'/%3E%3C/svg%3E");
}
.group-title:nth-of-type(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8ab1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.7-7 9-4-1.3-7-4.5-7-9V6l7-3z'/%3E%3C/svg%3E");
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--purple); text-decoration: underline; }

/* Insurance plan lists */
.plan-list {
  columns: 2;
  column-gap: 32px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.plan-list li {
  break-inside: avoid;
  padding: 7px 0 7px 22px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2386198f' fill-opacity='0.5'/%3E%3Cpath d='M5.5 10.3l3 3 6-6.2' stroke='white' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
@media (max-width: 640px) {
  .plan-list { columns: 1; }
}

.rate-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rate-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28,34,48,0.08);
}
.rate-box .amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple);
}
.rate-box .label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Credentials strip */
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.pill:hover { transform: translateY(-1px); }
.creds .pill:nth-of-type(3n+1):hover { border-color: var(--purple); }
.creds .pill:nth-of-type(3n+2):hover { border-color: var(--teal); }
.creds .pill:nth-of-type(3n+3):hover { border-color: var(--coral); }
.creds .pill {
  padding-left: 34px;
  position: relative;
}
.creds .pill::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2386198f'/%3E%3Cpath d='M5.5 10.3l3 3 6-6.2' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* FAQ */
details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  transition: background 0.2s ease;
}
details summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.15s ease;
}
details summary:hover { color: var(--purple); }
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  color: var(--purple);
  font-weight: 700;
  flex-shrink: 0;
  display: inline-block;
  transition: transform 0.25s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { color: var(--purple); }
details p {
  color: var(--ink-soft);
  margin: 12px 0 0;
  animation: faq-fade 0.3s ease;
}
@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Forms */
form.contact-form {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 6px;
}

/* Icons on the consultation form's field labels (positional, since the
   form's field order is identical on every page). */
.contact-form > div:nth-of-type(1) > label,
.contact-form > div:nth-of-type(2) > label,
.contact-form > div:nth-of-type(3) > label,
.contact-form > div:nth-of-type(4) > label,
.contact-form > div:nth-of-type(5) > label,
.contact-form > div:nth-of-type(6) > label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-form > div:nth-of-type(1) > label::before,
.contact-form > div:nth-of-type(2) > label::before,
.contact-form > div:nth-of-type(3) > label::before,
.contact-form > div:nth-of-type(4) > label::before,
.contact-form > div:nth-of-type(5) > label::before,
.contact-form > div:nth-of-type(6) > label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
}
.contact-form > div:nth-of-type(1) > label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/svg%3E");
}
.contact-form > div:nth-of-type(2) > label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}
.contact-form > div:nth-of-type(3) > label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.5-7-11.5A7 7 0 0 1 19 9.5C19 14.5 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.4'/%3E%3C/svg%3E");
}
.contact-form > div:nth-of-type(4) > label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}
.contact-form > div:nth-of-type(5) > label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.6A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.9a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.2-1.3a2 2 0 0 1 2.1-.5c.9.3 1.9.6 2.9.7a2 2 0 0 1 1.8 2.1z'/%3E%3C/svg%3E");
}
.contact-form > div:nth-of-type(6) > label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386198f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.7-7 9-4-1.3-7-4.5-7-9V6l7-3z'/%3E%3C/svg%3E");
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--purple); border-color: var(--purple); }

input[type="radio"], input[type="checkbox"] {
  width: auto;
}

.radio-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.radio-row label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.radio-row label:hover { border-color: var(--purple); }
.radio-row label:has(input:checked) {
  border-color: var(--purple);
  background: rgba(134, 25, 143, 0.07);
  color: var(--purple);
  font-weight: 700;
}

.field-hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 6px 0 0;
}

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 20px;
}

footer.site .wide {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

footer.site a { color: var(--ink-soft); }
footer.site a:hover { color: var(--purple); }

.story-section {
  position: relative;
  overflow: hidden;
}
.story-section::before {
  content: "\201C";
  position: absolute;
  top: -40px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 14rem;
  font-weight: 700;
  color: var(--purple);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.story-section .wrap { position: relative; z-index: 1; }

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.location-tag::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8ab1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.5-7-11.5A7 7 0 0 1 19 9.5C19 14.5 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

footer.site .legal {
  margin-top: 24px;
  font-size: 0.8rem;
  color: #8a8f9b;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.location-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: -10px 0 28px;
}
.location-note a { color: var(--purple); font-weight: 600; }

.note {
  background: #fff8e6;
  border: 1px dashed var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.note h3.icon-heading::before {
  width: 22px;
  height: 22px;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.15s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 50;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--purple-dark); }
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.15s ease, visibility 0.15s; transform: none; }
}
