/* ===================================================================
   Purple Honey — Design System
   =================================================================== */

/* === VARIABLES === */
:root {
  /* Brand */
  --purple:        #41005b;
  --purple-mid:    #5a1a7a;
  --purple-light:  #8b5fbf;
  --purple-pale:   #ede7f6;

  /* Accent */
  --gold:          #fcc700;
  --green:         #e0f205;
  --lavender:      #d19efd;
  --violet-soft:   #d8cefe;
  --cream:         #fbf7bd;

  /* Neutrals */
  --white:         #ffffff;
  --bg:            #ffffff;
  --bg-subtle:     #faf9f7;
  --bg-tint:       #f5f0ff;
  --border:        #e8e5e1;

  /* Text */
  --text:          #1a1228;
  --text-mid:      #4a4358;
  --text-muted:    #7a7186;
  --text-on-dark:  #ffffff;
  --text-on-dark-secondary: rgba(255, 255, 255, 0.85);

  /* Typography */
  --font-h: 'League Spartan', sans-serif;
  --font-b: 'Poppins', sans-serif;

  /* Layout */
  --max-w: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* === SKIP LINK (Accessibility) === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #7c4dff;
  outline-offset: 2px;
}

/* === FOCUS VISIBLE (Accessibility) === */
:focus-visible {
  outline: 3px solid #7c4dff;
  outline-offset: 2px;
}

/* === LAYOUT === */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-h);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p  { font-size: 1rem; color: var(--text-mid); line-height: 1.75; }

/* === PILL BADGE === */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  background: var(--bg-tint);
  color: var(--purple);
  border: 1px solid rgba(65, 0, 91, 0.06);
  margin-bottom: 1.5rem;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  text-decoration: none;
  min-height: 44px;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn-primary:hover {
  background: var(--purple-mid);
  border-color: var(--purple-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(65, 0, 91, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-inverse {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}
.btn-inverse:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  padding: 0.85rem 0;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 1.55rem;
  color: var(--purple);
  min-height: 44px;
}
.nav-logo svg,
.nav-logo img {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  opacity: 0.65;
  transition: opacity 0.3s, color 0.3s;
}
.nav-links a:hover {
  opacity: 1;
  color: var(--purple);
}
.nav-links a.active {
  opacity: 1;
  color: var(--purple);
}
.nav-cta {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  background: var(--purple);
  color: var(--white);
  transition: all 0.35s var(--ease);
  border: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-cta:hover {
  background: var(--purple-mid);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.nav-overlay {
  display: none;
}

/* === SECTIONS === */
section {
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.section-subtle {
  background: var(--bg-subtle);
}
.section-tint {
  background: var(--bg-tint);
}
.section-dark {
  background: var(--purple);
  color: var(--white);
}
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}
.section-dark p {
  color: var(--text-on-dark-secondary);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-tint) 100%);
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero h1 .accent {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
  text-decoration-thickness: 4px;
}
.hero p {
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-short {
  min-height: 70vh;
  padding-top: 10rem;
}

/* === GRIDS === */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(65, 0, 91, 0.06);
  border-color: rgba(65, 0, 91, 0.08);
}

/* Card icon container (Lucide SVGs) */
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--purple-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--purple);
  stroke-width: 1.5;
  fill: none;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}
.card p {
  font-size: 0.92rem;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--purple);
  margin-top: 1.25rem;
  padding: 0.65rem 0;
  min-height: 44px;
  transition: gap 0.3s var(--ease);
}
.card-link:hover {
  gap: 0.7rem;
}

/* Card on dark background — white card treatment for contrast */
.section-dark .card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.section-dark .card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border-color: rgba(65, 0, 91, 0.08);
}
.section-dark .card h3 {
  color: var(--text);
}
.section-dark .card p {
  color: var(--text-mid);
}
.section-dark .card-icon {
  background: var(--purple-pale);
}
.section-dark .card-icon svg {
  stroke: var(--purple);
}
.section-dark .card-link {
  color: var(--purple);
}
/* Per-card icon color coding */
.section-dark .card:nth-child(1) .card-icon { background: var(--purple-pale); }
.section-dark .card:nth-child(1) .card-icon svg { stroke: var(--purple); }
.section-dark .card:nth-child(2) .card-icon { background: rgba(252, 199, 0, 0.15); }
.section-dark .card:nth-child(2) .card-icon svg { stroke: #b8920a; }
.section-dark .card:nth-child(3) .card-icon { background: rgba(209, 158, 253, 0.2); }
.section-dark .card:nth-child(3) .card-icon svg { stroke: var(--purple-light); }

/* === STEPS === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2.25rem 1.75rem 1.75rem;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  counter-increment: step;
  transition: all 0.4s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(65, 0, 91, 0.05);
}
.step-num {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--white);
  background: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}
.step:nth-child(1) { background: #ede7f6; }
.step:nth-child(2) { background: rgba(252, 199, 0, 0.1); }
.step:nth-child(3) { background: rgba(224, 242, 5, 0.1); }
.step h3 { margin-bottom: 0.4rem; }
.step p  { font-size: 0.9rem; }

/* === ACCENT BLOCK (purple pitch card) === */
.accent-block {
  background: var(--purple);
  color: var(--white);
  border-radius: 24px;
  padding: clamp(2.5rem, 4vw, 3rem);
}
.accent-block h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}
.accent-block p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.85;
}

/* === CHECK LIST === */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.97rem;
  color: var(--text-mid);
}
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15em;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 700;
}

/* === CTA BANNER SECTION === */
.cta-section {
  border-radius: 28px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 50%, #6a2d8f 100%);
  color: var(--white);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(252, 199, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-section > * {
  position: relative;
  z-index: 2;
}
.cta-section h2 {
  margin-bottom: 1rem;
  color: var(--white);
}
.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
  margin: 0 auto 2rem;
}
.cta-section .pill {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

/* === IDENTITY GRID (About page) === */
.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.id-col {
  border-radius: 20px;
  padding: clamp(2rem, 3vw, 2.5rem);
}
.id-col h3 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}
.id-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.id-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.id-col li::before {
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 0.1em;
}
.id-col.not {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-mid);
}
.id-col.not li::before {
  content: '✕';
  color: var(--text-muted);
}
.id-col.are {
  background: var(--purple);
  color: var(--white);
  border: 2px solid var(--purple-light);
}
.id-col.are h3 {
  color: var(--white);
}
.id-col.are li {
  color: rgba(255, 255, 255, 0.85);
}
.id-col.are li::before {
  content: '→';
  color: var(--gold);
}

/* === STAT COMPONENTS (About page) === */
.stat-grid {
  display: grid;
  gap: 1rem;
}
.stat {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
}
.stat-num {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-on-dark-secondary);
}

/* === SERVICE DETAIL (Services page) === */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.service-detail .service-info {
  padding-top: 0.5rem;
}
.service-detail blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--purple-light);
}
.component-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.component-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s var(--ease);
}
.component-card:hover {
  border-color: rgba(65, 0, 91, 0.12);
  box-shadow: 0 8px 24px rgba(65, 0, 91, 0.05);
}
.component-card strong {
  display: block;
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.component-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* === COMPARISON GRID (Services page) === */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.comparison-col {
  border-radius: 20px;
  padding: clamp(2rem, 3vw, 2.5rem);
}
.comparison-col h3 {
  margin-bottom: 1.5rem;
}
.comparison-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.comparison-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.comparison-col li::before {
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 0.1em;
}
.comparison-col.agency {
  background: linear-gradient(180deg, #fdf0f2 0%, var(--white) 100%);
  border: 2px solid #e8c5cb;
  color: var(--text-mid);
}
.comparison-col.agency li::before {
  content: '✕';
  color: var(--text-muted);
}
.comparison-col.ph {
  background: var(--purple);
  color: var(--white);
}
.comparison-col.ph h3 {
  color: var(--white);
}
.comparison-col.ph li {
  color: rgba(255, 255, 255, 0.85);
}
.comparison-col.ph li::before {
  content: '→';
  color: var(--gold);
}

/* === PRICING CARDS (Services page) === */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 840px;
  margin: 0 auto;
}
.pricing-card {
  border-radius: 20px;
  padding: clamp(2rem, 3vw, 2.75rem);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.4s var(--ease);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(65, 0, 91, 0.08);
}
.pricing-card.featured {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.pricing-card.featured h3 {
  color: var(--gold);
}
.pricing-card.featured p {
  color: var(--text-on-dark-secondary);
}
.pricing-card.featured .pricing-amount {
  color: var(--white);
}
.pricing-card.featured .pricing-features li {
  color: rgba(255, 255, 255, 0.8);
}
.pricing-card.featured .pricing-features li::before {
  color: var(--gold);
}
.pricing-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.pricing-amount {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--text);
  margin-bottom: 0.25rem;
}
.pricing-setup {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.pricing-card.featured .pricing-setup {
  color: var(--text-on-dark-secondary);
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.pricing-features li::before {
  content: '→';
  font-weight: 700;
  color: var(--purple);
  flex-shrink: 0;
}

/* === CONTACT FORM === */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
  min-height: 44px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-light);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%237a7186' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Contact sidebar cards */
.quick-options {
  background: var(--purple);
  border-radius: 20px;
  padding: clamp(2rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
}
.quick-options h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.quick-option {
  margin-bottom: 1.25rem;
}
.quick-option:last-child {
  margin-bottom: 0;
}
.quick-option strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--white);
}
.quick-option p {
  color: var(--text-on-dark-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.direct-contact {
  background: var(--purple-pale);
  border-radius: 20px;
  padding: clamp(2rem, 3vw, 2.5rem);
}
.direct-contact h3 {
  margin-bottom: 1rem;
}
.direct-contact p {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}
.direct-contact p:last-child {
  margin-bottom: 0;
}
.direct-contact a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-block;
  padding: 0.55rem 0;
}

/* === FORM SUCCESS (Contact thank-you) === */
.form-success {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--purple-pale);
  border: 2px solid var(--purple-light);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3rem);
  animation: fadeUp 0.6s var(--ease) forwards;
}
.form-success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 0 4px var(--gold);
}
.form-success h2 {
  margin-bottom: 0.75rem;
}
.form-success p {
  max-width: 42ch;
  margin: 0 auto 2rem;
}
.form-success .btn {
  margin-top: 0.5rem;
}
.form-success:focus {
  outline: none;
}

/* Form error message */
.form-error {
  color: #a83248;
  background: #fdf0f2;
  border: 1px solid #d4a0aa;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}
.form-error a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Newsletter checkbox row */
.form-group-check {
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem;
}
.form-group-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  accent-color: var(--purple);
  cursor: pointer;
}
.form-group-check label {
  font-weight: 400 !important;
  font-size: 0.88rem;
  color: var(--text-mid);
}

/* Privacy consent text */
.form-consent {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.form-consent a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-block;
  padding: 0.25rem 0;
}

/* === BOOKING / CALENDLY EMBED === */
.booking-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-tint);
}
.booking-embed {
  max-width: 960px;
  margin: 0 auto;
  min-height: 650px;
  border-radius: 16px;
  overflow: hidden;
}

/* === LEGAL / PRIVACY === */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.35rem;
  margin: 2.5rem 0 0.75rem;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p {
  margin-bottom: 1rem;
}
.legal-content a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-block;
  padding: 0.5rem 0;
}

/* === KIT SIGNUP SECTION (Homepage) === */
.kit-section {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.kit-section h2 {
  margin-bottom: 0.5rem;
}
.kit-section p {
  max-width: 48ch;
  margin: 0 auto 2rem;
}
.kit-form {
  max-width: 440px;
  margin: 0 auto;
}

/* Kit inline form */
.kit-inline-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto;
}
.kit-inline-form input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  min-height: 44px;
}
.kit-inline-form input[type="email"]:focus {
  border-color: var(--purple-light);
}
.kit-inline-form input[type="email"]::placeholder {
  color: var(--text-muted);
}
/* Kit form success/error message */
.kit-msg {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--purple);
  padding: 1.5rem 2rem;
  background: var(--purple-pale);
  border-radius: 16px;
  border: 2px solid var(--purple-light);
  text-align: center;
  animation: fadeUp 0.5s var(--ease) forwards;
}
.footer .kit-msg {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
}

/* Footer Kit form — stacked layout for narrow column */
.footer .kit-inline-form {
  flex-direction: column;
  max-width: none;
}
.footer .kit-inline-form input[type="email"] {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: white;
}
.footer .kit-inline-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.footer .kit-inline-form input[type="email"]:focus {
  border-color: var(--gold);
}
.footer .kit-inline-form .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.82rem;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--purple);
  border-color: var(--gold);
}
.footer .kit-inline-form .btn:hover {
  background: #ffe04a;
  border-color: #ffe04a;
}

/* === FOOTER === */
.footer {
  background: #241834;
  color: rgba(255, 255, 255, 0.7);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 3vw, 3rem);
  margin-bottom: 3rem;
}
.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}
.footer h4 {
  font-family: var(--font-h);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
  display: inline-block;
  padding: 0.5rem 0;
  min-height: 44px;
}
.footer-links a:hover {
  color: white;
}
.footer-signup input {
  width: 100%;
  padding: 0.72rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: var(--font-b);
  font-size: 0.88rem;
  outline: none;
  margin-bottom: 0.5rem;
}
.footer-signup input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.footer-signup input:focus {
  border-color: var(--gold);
}
.footer-signup .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.82rem;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--purple);
  border-color: var(--gold);
}
.footer-signup .btn:hover {
  background: #ffe04a;
  border-color: #ffe04a;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0;
  min-height: 44px;
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* === FLOATING MOBILE CTA === */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
}
.floating-cta .btn {
  box-shadow: 0 8px 32px rgba(65, 0, 91, 0.3);
  font-size: 0.85rem;
  padding: 0.75rem 1.5rem;
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim {
  opacity: 0;
  animation: fadeUp 0.75s var(--ease) forwards;
}
.anim-d1 { animation-delay: 0.08s; }
.anim-d2 { animation-delay: 0.16s; }
.anim-d3 { animation-delay: 0.24s; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .anim  { opacity: 1; transform: none; }
}

/* === APPROACH CARDS (About page) === */
.approach-cards .card:nth-child(1) .card-icon { background: var(--purple-pale); }
.approach-cards .card:nth-child(2) .card-icon { background: rgba(252, 199, 0, 0.18); }
.approach-cards .card:nth-child(3) .card-icon { background: rgba(209, 158, 253, 0.2); }
.approach-cards .card:hover {
  transform: translateY(-5px) scale(1.02);
}

/* === PULSE ANIMATION (FBR steps) === */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.service-detail .step .step-num {
  animation: pulse 2s ease-in-out 3;
}
.service-detail .step:nth-child(1) .step-num { animation-delay: 0s; }
.service-detail .step:nth-child(2) .step-num { animation-delay: 0.3s; }
.service-detail .step:nth-child(3) .step-num { animation-delay: 0.6s; }

/* === CONTACT FORM STAGGERED ENTRANCE === */
.contact-form .form-group {
  opacity: 0;
  animation: fadeUp 0.6s var(--ease) forwards;
}
.contact-form .form-group:nth-child(1) { animation-delay: 0.1s; }
.contact-form .form-group:nth-child(2) { animation-delay: 0.2s; }
.contact-form .form-group:nth-child(3) { animation-delay: 0.3s; }
.contact-form .form-group:nth-child(4) { animation-delay: 0.4s; }
.contact-form .form-group:nth-child(5) { animation-delay: 0.5s; }
.contact-form .form-group:nth-child(6) { animation-delay: 0.6s; }
.contact-form .form-group:nth-child(7) { animation-delay: 0.7s; }
.contact-form > .btn { opacity: 0; animation: fadeUp 0.6s var(--ease) 0.8s forwards; }

/* === FOOTER LOGO SIZE === */
.footer .nav-logo svg,
.footer .nav-logo img {
  width: 38px;
  height: 38px;
}

/* === TEXT COLOR UTILITIES (#5) === */
.text-purple { color: var(--purple); }
.text-purple-mid { color: var(--purple-mid); }
.text-purple-light { color: var(--purple-light); }
.text-gold { color: var(--gold); }
.text-lavender { color: var(--lavender); }
.section-dark .text-gold { color: var(--gold); }

/* === SYSTEM PILL LABELS (#12) === */
.pill-system-1 {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.pill-system-2 {
  background: var(--gold);
  color: var(--purple);
  border-color: var(--gold);
}

/* === PILL SECTION COLOR MATCHING (#17) === */
.section-dark .pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}
.section-tint .pill {
  background: rgba(65, 0, 91, 0.08);
  border-color: rgba(65, 0, 91, 0.1);
}
.section-subtle .pill {
  background: rgba(252, 199, 0, 0.12);
  border-color: rgba(252, 199, 0, 0.15);
  color: var(--purple-mid);
}

/* === CONTACT FORM LAVENDER BACKGROUND (#10) === */
.contact-section {
  background: var(--bg-tint);
}
.contact-section #formColumn {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(2rem, 3vw, 2.5rem);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* === SECTION GRADIENT VARIETY (#13) === */
.section-tint-bold {
  background: linear-gradient(180deg, var(--purple-pale) 0%, var(--bg-tint) 40%, var(--white) 100%);
}
.section-tint-reverse {
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--white) 100%);
}

/* === BUTTON :active STATES (#16) === */
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(65, 0, 91, 0.1);
}
.btn-secondary:active {
  transform: translateY(0);
}
.btn-inverse:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.nav-cta:active {
  transform: translateY(1px);
  opacity: 0.9;
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 4rem; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  /* Grid collapses */
  .grid-2,
  .service-detail,
  .comparison-grid,
  .identity-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile nav */
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  /* Mobile menu overlay */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 105;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    padding: 6rem 2rem 2rem;
  }
  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-overlay-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .nav-overlay-links a {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text);
    transition: color 0.3s;
  }
  .nav-overlay-links a:hover,
  .nav-overlay-links a.active {
    color: var(--purple);
  }
  .nav-overlay .btn {
    width: 100%;
    justify-content: center;
  }

  /* Floating CTA visible on mobile */
  .floating-cta {
    display: block;
  }
  /* Hide floating CTA on contact + privacy pages */
  .page-contact .floating-cta,
  .page-privacy .floating-cta {
    display: none;
  }
  /* Bottom padding so floating CTA doesn't cover footer content */
  body {
    padding-bottom: 5rem;
  }
  body.page-contact,
  body.page-privacy {
    padding-bottom: 0;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* Hero mobile adjustments */
  .hero {
    text-align: left;
  }
  .hero-inner {
    max-width: none;
  }
  .hero p {
    margin-left: 0;
  }
  .hero-btns {
    justify-content: flex-start;
  }

  /* Hero-short: reduce whitespace on mobile */
  .hero-short {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  /* Blockquote breathing room on mobile */
  .service-detail blockquote {
    padding-left: 0.75rem;
  }
}
