/*
 * Tam Ryan Therapy — South Austin, TX
 * Holistic therapy for kids, parents, and LGBTQ+ folks
 *
 * DESIGN DIRECTION: BOLD QUEER PRIDE — dark warm base + rainbow everywhere
 * Unapologetically colorful — like Tam's logo, like Tam's energy
 * Feeling: Walking into a space where your whole self is celebrated
 *
 * CONTRAST AUDIT (WCAG AAA Target ≥ 7:1):
 * --color-text (#f5f0eb) on --color-bg (#1e1a2e) = 13.8:1 ✓
 * --color-text (#f5f0eb) on --color-bg-alt (#2a2440) = 11.2:1 ✓
 * --color-text (#f5f0eb) on --color-primary (#7b2d8e) = 7.5:1 ✓
 * --color-text-dark (#1e1a2e) on --color-accent (#f9c74f) = 12.3:1 ✓
 * --color-text (#f5f0eb) on card bg (#2a2440) = 11.2:1 ✓
 * .btn-primary text (#1e1a2e) on bg (#f9c74f) = 12.3:1 ✓
 * .btn-primary:hover text (#1e1a2e) on bg (#ffd666) = 14.1:1 ✓
 * --color-link (#f9c74f) on --color-bg (#1e1a2e) = 10.1:1 ✓
 * White text (#f5f0eb) on rainbow-purple (#7b2d8e) = 7.5:1 ✓
 * Dark text (#1e1a2e) on rainbow-orange (#f4845f) = 7.2:1 ✓
 */

/* ========== FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400&display=swap');

/* ========== CUSTOM PROPERTIES ========== */
:root {
  /* Brand Colors — BOLD QUEER PALETTE */
  --color-primary: #7b2d8e;
  --color-primary-dark: #5e1d6e;
  --color-secondary: #457b9d;
  --color-accent: #f9c74f;
  --color-accent-light: #ffd666;
  --color-text: #f5f0eb;
  --color-text-dark: #1e1a2e;
  --color-text-light: #f5f0eb;
  --color-bg: #1e1a2e;
  --color-bg-alt: #2a2440;
  --color-bg-dark: #13101f;
  --color-bg-warm: #2e1f35;
  --color-link: #f9c74f;
  --color-border: #3d3555;

  /* Rainbow palette (from logo — BOLD) */
  --rainbow-red: #e63946;
  --rainbow-orange: #f4845f;
  --rainbow-yellow: #f9c74f;
  --rainbow-green: #06d6a0;
  --rainbow-blue: #457b9d;
  --rainbow-purple: #7b2d8e;
  --rainbow-pink: #e056a0;

  /* Rainbow gradient shorthand */
  --rainbow-gradient: linear-gradient(
    90deg,
    #e63946 0%,
    #f4845f 17%,
    #f9c74f 33%,
    #06d6a0 50%,
    #457b9d 67%,
    #7b2d8e 83%,
    #e056a0 100%
  );

  /* Functional */
  --color-success: #06d6a0;
  --color-error: #e63946;

  /* Typography */
  --font-heading: 'Fredoka', 'Nunito Sans', sans-serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Sizing */
  --header-height: 72px;
  --max-width: 1440px;
  --content-width: 75ch;

  /* Transitions */
  --transition: 0.25s ease;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 40px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-sm);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: var(--space-xs);
}

p {
  max-width: var(--content-width);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 4rem;
  }
}

.section {
  padding: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-text-light);
}

/* ========== DECORATIVE SECTION TEXTURES ========== */
/*
 * Tam's vibe: witchy, nature, rainbow crochet animals, tarot, crystals, candles.
 * NOT subtle. NOT muted. BRIGHT shapes — stars, moons, hearts, leaves.
 * SVG patterns encoded as data URIs for actual recognizable shapes.
 */

/* Scattered symbols SVG pattern — stars, moons, hearts, leaves, animals (NO DOVES) */
.section {
  --symbols-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500' viewBox='0 0 500 500'%3E%3Ctext x='30' y='50' font-size='18' fill='%23e056a0' opacity='0.18'%3E✦%3C/text%3E%3Ctext x='140' y='80' font-size='22' fill='%23f9c74f' opacity='0.15'%3E☽%3C/text%3E%3Ctext x='280' y='45' font-size='16' fill='%23e63946' opacity='0.16'%3E♥%3C/text%3E%3Ctext x='400' y='55' font-size='22' fill='%237b2d8e' opacity='0.14'%3E🐈‍⬛%3C/text%3E%3Ctext x='80' y='140' font-size='20' fill='%2306d6a0' opacity='0.15'%3E🦋%3C/text%3E%3Ctext x='220' y='120' font-size='18' fill='%237b2d8e' opacity='0.15'%3E✺%3C/text%3E%3Ctext x='350' y='150' font-size='20' fill='%23f9c74f' opacity='0.16'%3E🐌%3C/text%3E%3Ctext x='460' y='130' font-size='14' fill='%23e056a0' opacity='0.18'%3E♥%3C/text%3E%3Ctext x='40' y='230' font-size='20' fill='%23457b9d' opacity='0.14'%3E☾%3C/text%3E%3Ctext x='180' y='210' font-size='20' fill='%2306d6a0' opacity='0.15'%3E🐸%3C/text%3E%3Ctext x='290' y='240' font-size='32' fill='%2306d6a0' opacity='0.18'%3E🌿%3C/text%3E%3Ctext x='430' y='220' font-size='18' fill='%23f4845f' opacity='0.15'%3E❋%3C/text%3E%3Ctext x='120' y='310' font-size='20' fill='%23e056a0' opacity='0.14'%3E🐈‍⬛%3C/text%3E%3Ctext x='250' y='330' font-size='14' fill='%23f9c74f' opacity='0.2'%3E✧%3C/text%3E%3Ctext x='370' y='300' font-size='30' fill='%2306d6a0' opacity='0.16'%3E🍃%3C/text%3E%3Ctext x='470' y='340' font-size='16' fill='%237b2d8e' opacity='0.16'%3E☽%3C/text%3E%3Ctext x='60' y='400' font-size='18' fill='%23f9c74f' opacity='0.16'%3E🦋%3C/text%3E%3Ctext x='200' y='420' font-size='16' fill='%23e63946' opacity='0.18'%3E♥%3C/text%3E%3Ctext x='340' y='400' font-size='20' fill='%2306d6a0' opacity='0.15'%3E🐌%3C/text%3E%3Ctext x='450' y='430' font-size='14' fill='%23e056a0' opacity='0.18'%3E✦%3C/text%3E%3Ctext x='30' y='480' font-size='34' fill='%2306d6a0' opacity='0.16'%3E🌿%3C/text%3E%3Ctext x='160' y='470' font-size='18' fill='%237b2d8e' opacity='0.15'%3E🐸%3C/text%3E%3Ctext x='310' y='480' font-size='22' fill='%23f9c74f' opacity='0.14'%3E☽%3C/text%3E%3Ctext x='420' y='490' font-size='28' fill='%2306d6a0' opacity='0.16'%3E🍃%3C/text%3E%3C/svg%3E");
}

/* Pattern B — different animal scatter for variety (NO DOVES) */
.section--alt {
  --symbols-pattern-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='550' height='550' viewBox='0 0 550 550'%3E%3Ctext x='40' y='60' font-size='22' fill='%23f9c74f' opacity='0.18'%3E🐈‍⬛%3C/text%3E%3Ctext x='180' y='40' font-size='18' fill='%23e056a0' opacity='0.18'%3E☽%3C/text%3E%3Ctext x='320' y='70' font-size='20' fill='%2306d6a0' opacity='0.16'%3E♥%3C/text%3E%3Ctext x='460' y='50' font-size='22' fill='%237b2d8e' opacity='0.15'%3E🦋%3C/text%3E%3Ctext x='80' y='140' font-size='20' fill='%23e63946' opacity='0.16'%3E🐌%3C/text%3E%3Ctext x='230' y='160' font-size='24' fill='%23f9c74f' opacity='0.14'%3E✧%3C/text%3E%3Ctext x='400' y='120' font-size='32' fill='%2306d6a0' opacity='0.18'%3E🌿%3C/text%3E%3Ctext x='520' y='160' font-size='18' fill='%23e056a0' opacity='0.16'%3E✦%3C/text%3E%3Ctext x='50' y='250' font-size='30' fill='%2306d6a0' opacity='0.16'%3E🍃%3C/text%3E%3Ctext x='190' y='270' font-size='18' fill='%23e056a0' opacity='0.16'%3E🐈‍⬛%3C/text%3E%3Ctext x='350' y='240' font-size='22' fill='%23f4845f' opacity='0.15'%3E🐸%3C/text%3E%3Ctext x='480' y='280' font-size='20' fill='%237b2d8e' opacity='0.15'%3E☾%3C/text%3E%3Ctext x='100' y='350' font-size='20' fill='%23f9c74f' opacity='0.18'%3E🦋%3C/text%3E%3Ctext x='270' y='370' font-size='16' fill='%23e63946' opacity='0.18'%3E♥%3C/text%3E%3Ctext x='420' y='340' font-size='20' fill='%2306d6a0' opacity='0.16'%3E🐌%3C/text%3E%3Ctext x='530' y='370' font-size='14' fill='%23457b9d' opacity='0.18'%3E✺%3C/text%3E%3Ctext x='30' y='440' font-size='18' fill='%237b2d8e' opacity='0.16'%3E🐸%3C/text%3E%3Ctext x='160' y='460' font-size='22' fill='%23f9c74f' opacity='0.14'%3E☽%3C/text%3E%3Ctext x='310' y='440' font-size='34' fill='%2306d6a0' opacity='0.16'%3E🌿%3C/text%3E%3Ctext x='440' y='470' font-size='16' fill='%23e63946' opacity='0.18'%3E✦%3C/text%3E%3Ctext x='80' y='530' font-size='28' fill='%2306d6a0' opacity='0.16'%3E🍃%3C/text%3E%3Ctext x='240' y='520' font-size='22' fill='%237b2d8e' opacity='0.14'%3E🐈‍⬛%3C/text%3E%3Ctext x='400' y='540' font-size='14' fill='%23f9c74f' opacity='0.2'%3E♥%3C/text%3E%3Ctext x='500' y='510' font-size='18' fill='%23457b9d' opacity='0.15'%3E❋%3C/text%3E%3C/svg%3E");
}

/* Apply patterns to sections */
.section:not(.section--primary):not(.cta-banner) {
  background-image: var(--symbols-pattern);
  background-repeat: repeat;
  background-size: 500px 500px;
}

.section--alt {
  background-image: var(--symbols-pattern-b);
  background-repeat: repeat;
  background-size: 550px 550px;
}

/* Add color glow blobs on top of the symbol patterns */
.section:not(.section--primary):not(.cta-banner)::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 400px 300px at 90% 15%, rgba(123, 45, 142, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 350px 250px at 10% 85%, rgba(6, 214, 160, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 250px 250px at 50% 40%, rgba(249, 199, 79, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section--alt::before {
  background:
    radial-gradient(ellipse 450px 350px at 85% 20%, rgba(224, 86, 160, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 15% 75%, rgba(69, 123, 157, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 200px 200px at 55% 50%, rgba(230, 57, 70, 0.05) 0%, transparent 70%) !important;
}

/* Ensure content sits above the glow */
.section > .container {
  position: relative;
  z-index: 1;
}

/* ========== RAINBOW SECTION DIVIDERS WITH PADDING ========== */
.section + .section {
  border-top: 3px solid transparent;
  border-image: var(--rainbow-gradient) 1;
  margin-top: 0;
}

/* Add padding around the rainbow divider so it breathes */
.section {
  padding-top: calc(var(--space-lg) + 0.5rem);
  padding-bottom: var(--space-lg);
}

/* Stars/sparkle scatter — CSS radial gradients as tiny dots */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background:
    radial-gradient(circle, rgba(123, 45, 142, 0.15) 0%, rgba(224, 86, 160, 0.06) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ========== SCREAMING POSSUM WATERMARKS ========== */
/* Hand-placed possums at various positions, sizes, and rotations */
/* Mix of big side-profile + front-facing angry possums */

/* Layer 1: Side-profile + front-facing possums — ALL BIG, various positions */
.section:not(.pride-banner):not(.cta-banner)::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    url('/images/possum-scream.webp'),
    url('/images/possum-scream.webp'),
    url('/images/possum-scream.webp'),
    url('/images/possum-front.webp'),
    url('/images/possum-front.webp'),
    url('/images/possum-front.webp');
  background-size: 
    160px auto,
    140px auto,
    130px auto,
    140px auto,
    120px auto,
    135px auto;
  background-position:
    5% 15%,
    82% 70%,
    45% 85%,
    70% 8%,
    22% 55%,
    88% 35%;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

/* Shift positions on even sections */
.section:nth-child(even):not(.pride-banner):not(.cta-banner)::after {
  background-position:
    88% 18%,
    12% 65%,
    55% 8%,
    30% 82%,
    72% 48%,
    8% 30%;
}

/* 3rd pattern variation */
.section:nth-child(3n):not(.pride-banner):not(.cta-banner)::after {
  background-position:
    15% 72%,
    78% 12%,
    42% 28%,
    62% 82%,
    92% 48%,
    28% 15%;
}

/* Flipped possums layer — facing opposite direction */
.section:not(.pride-banner):not(.cta-banner) > .container::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    url('/images/possum-scream.webp'),
    url('/images/possum-scream.webp'),
    url('/images/possum-front.webp'),
    url('/images/possum-front.webp');
  background-size: 
    135px auto,
    145px auto,
    130px auto,
    125px auto;
  background-position:
    50% 18%,
    18% 78%,
    78% 52%,
    40% 42%;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  transform: scaleX(-1);
}

/* Shift flipped layer on even sections */
.section:nth-child(even):not(.pride-banner):not(.cta-banner) > .container::after {
  background-position:
    35% 12%,
    82% 72%,
    15% 48%,
    62% 32%;
}

/* Hero possums */
.hero::after {
  opacity: 0.1 !important;
}

/* Hero star field overlay */
.hero {
  background-image: var(--symbols-pattern);
  background-repeat: repeat;
  background-size: 500px 500px;
}

/* Sparkle dots scattered across sections using box-shadow trick */
.section:nth-child(odd) .container::before {
  content: '✦';
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 0.7rem;
  color: rgba(249, 199, 79, 0.15);
  pointer-events: none;
  text-shadow:
    -40px 60px 0 rgba(224, 86, 160, 0.12),
    80px 120px 0 rgba(6, 214, 160, 0.1),
    -120px 180px 0 rgba(123, 45, 142, 0.08),
    200px 40px 0 rgba(244, 132, 95, 0.1),
    -200px 280px 0 rgba(69, 123, 157, 0.1),
    160px 220px 0 rgba(249, 199, 79, 0.08),
    -80px 320px 0 rgba(230, 57, 70, 0.07);
}

.section:nth-child(even) .container::after {
  content: '✦';
  position: absolute;
  bottom: 3rem;
  left: 1rem;
  font-size: 0.6rem;
  color: rgba(6, 214, 160, 0.12);
  pointer-events: none;
  text-shadow:
    60px -40px 0 rgba(249, 199, 79, 0.1),
    -100px -80px 0 rgba(224, 86, 160, 0.08),
    180px -120px 0 rgba(123, 45, 142, 0.1),
    -60px -200px 0 rgba(244, 132, 95, 0.07),
    120px -260px 0 rgba(69, 123, 157, 0.09),
    -180px -300px 0 rgba(230, 57, 70, 0.06);
}

.section .container {
  position: relative;
}

/* Large faint rainbow arc decoration for specific sections */
.section:nth-child(3n)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: conic-gradient(
    from 0deg,
    rgba(230, 57, 70, 0.04),
    rgba(244, 132, 95, 0.04),
    rgba(249, 199, 79, 0.04),
    rgba(6, 214, 160, 0.04),
    rgba(69, 123, 157, 0.04),
    rgba(123, 45, 142, 0.04),
    rgba(224, 86, 160, 0.04),
    rgba(230, 57, 70, 0.04)
  );
  pointer-events: none;
}

/* Rainbow wavy line separator between sections */
.section + .section::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rainbow-gradient);
  pointer-events: none;
  z-index: 1;
}

/* Hearts pattern — very faint, scattered */
.section:nth-child(4n+1)::after {
  content: '♡';
  position: absolute;
  top: 15%;
  right: 5%;
  font-size: 2rem;
  color: rgba(224, 86, 160, 0.06);
  pointer-events: none;
  text-shadow:
    -120px 80px 0 rgba(230, 57, 70, 0.05),
    -300px 200px 0 rgba(249, 199, 79, 0.04),
    80px 260px 0 rgba(6, 214, 160, 0.05),
    -200px 340px 0 rgba(123, 45, 142, 0.04);
  z-index: 0;
}

.section--primary {
  background: linear-gradient(
    135deg,
    #e63946 0%,
    #f4845f 15%,
    #f9c74f 30%,
    #06d6a0 45%,
    #457b9d 60%,
    #7b2d8e 75%,
    #e056a0 90%,
    #e63946 100%
  );
  background-size: 200% 200%;
  animation: rainbowBg 8s ease infinite;
  color: var(--color-text-light);
}

@keyframes rainbowBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.section--primary h2,
.section--primary h3 {
  color: var(--color-text-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.section--primary p {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* ========== HEADER & NAV ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-bg);
  border-bottom: 2px solid var(--color-border);
  z-index: 100;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(224, 86, 160, 0.4)) drop-shadow(0 0 16px rgba(123, 45, 142, 0.2));
  animation: logoShimmer 3s ease-in-out infinite;
}

@keyframes logoShimmer {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(224, 86, 160, 0.4)) drop-shadow(0 0 12px rgba(123, 45, 142, 0.2));
  }
  33% {
    filter: drop-shadow(0 0 8px rgba(249, 199, 79, 0.5)) drop-shadow(0 0 16px rgba(230, 57, 70, 0.2));
  }
  66% {
    filter: drop-shadow(0 0 8px rgba(6, 214, 160, 0.5)) drop-shadow(0 0 16px rgba(69, 123, 157, 0.2));
  }
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text);
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 0;
  flex-direction: column;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--color-bg-alt);
  border-bottom: 3px solid;
  border-image: var(--rainbow-gradient) 1;
  padding: 1rem 0;
}

.nav-menu.active {
  display: flex;
}

.nav-menu li {
  border-bottom: 1px solid var(--color-border);
}

.nav-menu li:last-child {
  border-bottom: none;
}

.nav-menu a {
  display: block;
  padding: 0.875rem 1.5rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color var(--transition), color var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-menu a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}

.nav-cta {
  display: none;
}

/* Make nav CTA match rainbow gradient border style */
.nav-cta.btn {
  background: transparent;
  color: var(--color-text-light);
  border: 2px solid transparent;
  background-image: linear-gradient(var(--color-bg), var(--color-bg)), var(--rainbow-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.nav-cta.btn:hover {
  background-image: var(--rainbow-gradient), var(--rainbow-gradient);
  background-clip: padding-box, border-box;
  color: var(--color-text-dark);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span {
  background-color: var(--color-accent);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 0.25rem;
    align-items: center;
  }

  .nav-menu li {
    border: none;
  }

  .nav-menu a {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    /* Rainbow gradient border — matches CTA */
    border: 2px solid transparent;
    background-image: linear-gradient(var(--color-bg), var(--color-bg)), var(--rainbow-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background-image: var(--rainbow-gradient), var(--rainbow-gradient);
    background-clip: padding-box, border-box;
    color: var(--color-text-dark);
  }

  .hamburger {
    display: none;
  }

  .nav-cta {
    display: inline-block;
    margin-left: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }
}

/* ========== RAINBOW BAR ========== */
.rainbow-bar {
  height: 5px;
  background: linear-gradient(
    90deg,
    #e63946, #f4845f, #f9c74f, #06d6a0, #457b9d, #7b2d8e, #e056a0, #e63946
  );
  background-size: 200% 100%;
  animation: rainbowShift 4s linear infinite;
}

.rainbow-bar--thick {
  height: 8px;
}

/* PRIDE HERO BANNER — unmissable */
.pride-banner {
  background: linear-gradient(
    135deg,
    #e63946 0%,
    #f4845f 12%,
    #f9c74f 25%,
    #06d6a0 40%,
    #457b9d 55%,
    #7b2d8e 70%,
    #e056a0 85%,
    #e63946 100%
  );
  background-size: 200% 200%;
  animation: rainbowBg 6s ease infinite;
  padding: 2.5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pride-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.pride-banner-content {
  position: relative;
  z-index: 1;
}

.pride-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.pride-banner p {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.15rem);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 600;
}

.pride-banner .pride-flags {
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  margin-bottom: 0.5rem;
  display: block;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition);
  min-height: 44px;
  line-height: 1.2;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-primary {
  background: transparent;
  color: var(--color-text-light);
  border: 2px solid transparent;
  background-image: linear-gradient(var(--color-bg), var(--color-bg)), var(--rainbow-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
}

.btn-primary:hover {
  background-image: var(--rainbow-gradient), var(--rainbow-gradient);
  background-clip: padding-box, border-box;
  color: var(--color-text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 25px rgba(224, 86, 160, 0.3), 0 4px 25px rgba(123, 45, 142, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-light);
  border: 2px solid transparent;
  background-image: linear-gradient(var(--color-bg), var(--color-bg)), var(--rainbow-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.btn-secondary:hover {
  background-image: var(--rainbow-gradient), var(--rainbow-gradient);
  background-clip: padding-box, border-box;
  color: var(--color-text-dark);
  transform: translateY(-2px);
}

/* Alt bg variant */
.section--alt .btn-primary,
.section--alt .btn-secondary {
  background-image: linear-gradient(var(--color-bg-alt), var(--color-bg-alt)), var(--rainbow-gradient);
}

.section--alt .btn-primary:hover,
.section--alt .btn-secondary:hover {
  background-image: var(--rainbow-gradient), var(--rainbow-gradient);
}

.btn-light {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-text-dark);
  border: 2px solid #fff;
  font-weight: 700;
}

.btn-light:hover {
  background-color: #fff;
  border-color: #fff;
  color: var(--color-text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

/* ========== HERO ========== */
.hero {
  padding: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-xl) 0;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.hero h1 {
  margin-bottom: var(--space-sm);
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(
    90deg,
    #e63946, #f4845f, #f9c74f, #06d6a0, #457b9d, #7b2d8e, #e056a0, #e63946
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShift 4s linear infinite;
}

@keyframes rainbowShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

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

.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto;
  padding: 3px;
  background: linear-gradient(
    135deg,
    #e63946, #f4845f, #f9c74f, #06d6a0, #457b9d, #7b2d8e, #e056a0, #e63946
  );
  background-size: 300% 300%;
  animation: rainbowBorder 4s ease infinite;
  box-shadow: 0 8px 40px rgba(123, 45, 142, 0.3), 0 0 60px rgba(224, 86, 160, 0.15);
}

@keyframes rainbowBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--rainbow-gradient);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 13px;
  display: block;
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-md);
}

.section-header p {
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  display: block;
}

.section--dark .section-label,
.section--primary .section-label {
  color: var(--color-accent);
}

/* ========== CARD GRID ========== */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== SERVICE CARDS ========== */
.service-card {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--rainbow-gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(123, 45, 142, 0.2);
}

.service-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
}

.service-card .btn {
  margin-top: 1.25rem;
}

/* ========== GROUP CARDS ========== */
.group-card {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.group-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  width: fit-content;
}

.group-card-badge--teens {
  background-color: rgba(6, 214, 160, 0.15);
  color: var(--rainbow-green);
}

.group-card-badge--kids {
  background-color: rgba(249, 199, 79, 0.15);
  color: var(--color-accent);
}

.group-card-badge--adults {
  background-color: rgba(123, 45, 142, 0.2);
  color: var(--rainbow-pink);
}

.group-card-badge--summer {
  background-color: rgba(69, 123, 157, 0.2);
  color: #7eb8d8;
}

.group-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.group-card-meta {
  font-size: 0.9rem;
  color: #a09aae;
  margin-bottom: 1rem;
}

.group-card p {
  font-size: 0.95rem;
  flex-grow: 1;
}

.group-card .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

/* ========== ABOUT / BIO SECTION ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: start;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
  }
}

.about-content h2 {
  margin-bottom: var(--space-sm);
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-sidebar {
  background-color: var(--color-bg-alt);
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid;
  border-image: var(--rainbow-gradient) 1;
}

.about-sidebar h3 {
  margin-bottom: 1rem;
}

.about-sidebar ul {
  list-style: none;
  padding: 0;
}

.about-sidebar li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.about-sidebar li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ========== SPECIALTIES LIST ========== */
.specialties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .specialties-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.specialty-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background-color: var(--color-bg-alt);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color var(--transition), transform var(--transition);
}

.specialty-item:hover {
  border-color: var(--rainbow-purple);
  transform: translateY(-2px);
}

.specialty-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ========== PRICING TABLE ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  background-color: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: border-color var(--transition);
}

.pricing-card:hover {
  border-color: var(--color-accent);
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.pricing-detail {
  font-size: 0.9rem;
  color: #a09aae;
  margin-bottom: 1.5rem;
}

/* ========== FAQ ACCORDION ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text);
  text-align: left;
  line-height: 1.4;
  gap: 1rem;
  min-height: 44px;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-accent);
  transition: transform var(--transition);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 24px;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 24px;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 1.5rem 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  color: var(--color-accent);
  font-size: 1.1rem;
}

.contact-detail-text {
  font-size: 1rem;
}

.contact-detail-text strong {
  display: block;
  margin-bottom: 0.15rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-bg-alt);
  transition: border-color var(--transition);
  margin-bottom: 1.25rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--color-accent);
  outline: 3px solid rgba(249, 199, 79, 0.15);
  outline-offset: 0;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-required {
  color: var(--color-error);
}

.form-note {
  font-size: 0.85rem;
  color: #a09aae;
  margin-top: -0.75rem;
  margin-bottom: 1.25rem;
}

/* ========== TESTIMONIAL / QUOTE ========== */
.quote-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-md) var(--space-md);
  position: relative;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--color-bg), var(--color-bg)), var(--rainbow-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 16px;
}

.quote-block blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.quote-block cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.9rem;
  color: #a09aae;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
}

.cta-banner h2 {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background-color: var(--color-bg-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Ctext x='30' y='50' font-size='18' fill='%23e056a0' opacity='0.1'%3E✦%3C/text%3E%3Ctext x='140' y='80' font-size='22' fill='%23f9c74f' opacity='0.08'%3E☽%3C/text%3E%3Ctext x='280' y='45' font-size='16' fill='%23e63946' opacity='0.09'%3E♥%3C/text%3E%3Ctext x='350' y='100' font-size='20' fill='%2306d6a0' opacity='0.08'%3E🌿%3C/text%3E%3Ctext x='90' y='150' font-size='14' fill='%23f9c74f' opacity='0.1'%3E✧%3C/text%3E%3Ctext x='220' y='140' font-size='18' fill='%237b2d8e' opacity='0.08'%3E✺%3C/text%3E%3Ctext x='320' y='180' font-size='14' fill='%23e056a0' opacity='0.1'%3E♥%3C/text%3E%3Ctext x='50' y='230' font-size='20' fill='%23457b9d' opacity='0.07'%3E☾%3C/text%3E%3Ctext x='180' y='250' font-size='16' fill='%2306d6a0' opacity='0.1'%3E✦%3C/text%3E%3Ctext x='300' y='270' font-size='18' fill='%23f4845f' opacity='0.08'%3E❋%3C/text%3E%3Ctext x='120' y='310' font-size='12' fill='%23f9c74f' opacity='0.1'%3E♥%3C/text%3E%3Ctext x='250' y='340' font-size='20' fill='%237b2d8e' opacity='0.09'%3E✧%3C/text%3E%3Ctext x='370' y='350' font-size='16' fill='%23457b9d' opacity='0.07'%3E🍃%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 400px 400px;
  color: var(--color-text-light);
  padding: 0 0 var(--space-md);
}

.site-footer > .rainbow-bar {
  margin-bottom: var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand .nav-logo-text {
  color: var(--color-text-light);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-brand .nav-logo-text span {
  color: var(--color-accent);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #c4c0b8;
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: #c4c0b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-text-light);
  text-decoration: underline;
}

.footer-contact p {
  font-size: 0.95rem;
  color: #c4c0b8;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #c4c0b8;
}

.footer-contact a:hover {
  color: var(--color-text-light);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color var(--transition);
}

.footer-social a:hover {
  background-color: var(--rainbow-purple);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #8a8680;
}

.footer-bottom a {
  color: #8a8680;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-text-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(249, 199, 79, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--rainbow-pink);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* ========== UTILITIES ========== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== PAGE-SPECIFIC ========== */

/* Services page detail sections */
.service-detail {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-detail-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  background-color: rgba(249, 199, 79, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

/* About page timeline-ish layout */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-card {
  padding: 1.5rem;
  border-left: 3px solid;
  border-image: var(--rainbow-gradient) 1;
  background-color: var(--color-bg-alt);
  border-radius: 0 8px 8px 0;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

/* ========== 404 PAGE ========== */
.error-page {
  text-align: center;
  padding: var(--space-xl) 0;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-page h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  background: var(--rainbow-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-page p {
  font-size: 1.2rem;
  margin: 0 auto 2rem;
}

/* Footer social links */
.footer-social-links h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.footer-social-links p {
  font-size: 0.95rem;
  color: #c4c0b8;
  margin-bottom: 0.5rem;
}

.footer-social-links a {
  color: #c4c0b8;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-social-links a:hover {
  color: var(--color-text-light);
  text-decoration: underline;
}
