/* ============================================
   Mark Arceo — Design System
   ============================================ */

:root {
  /* Brand colors */
  --deep-purple: #26215C;
  --mid-purple: #3C3489;
  --accent-purple: #534AB7;
  --light-purple: #AFA9EC;
  --pale-purple: #EEEDFE;
  --white: #FFFFFF;

  /* Semantic roles */
  --color-text: var(--deep-purple);
  --color-text-muted: #5A5580;
  --color-bg: var(--white);
  --color-bg-alt: var(--pale-purple);
  --color-border: #E1DEF7;
  --color-link: var(--accent-purple);

  /* Type */
  --font-heading: 'Sora', 'Segoe UI', Arial, sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', Arial, sans-serif;

  --h1-size: clamp(2.5rem, 4vw + 1.2rem, 3.5rem);
  --h2-size: clamp(1.75rem, 1.4vw + 1.3rem, 2rem);
  --h3-size: clamp(1.25rem, 0.6vw + 1.05rem, 1.375rem);
  --body-size: clamp(1rem, 0.3vw + 0.92rem, 1.125rem);

  /* Layout */
  --content-max: 1140px;
  --section-pad: clamp(48px, 7vw, 120px);
  --section-pad-sm: clamp(48px, 5vw, 80px);
  --radius: 10px;
  --shadow-soft: 0 1px 2px rgba(38, 33, 92, 0.06), 0 10px 28px rgba(38, 33, 92, 0.09);
  --shadow-lift: 0 4px 10px rgba(38, 33, 92, 0.10), 0 20px 44px rgba(83, 74, 183, 0.22);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* Subtle film-grain texture over the whole page — adds tactile depth to flat color fields */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--deep-purple);
}

h1 {
  font-size: var(--h1-size);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--deep-purple) 25%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 { font-size: var(--h2-size); letter-spacing: -0.01em; }
h3 { font-size: var(--h3-size); }

p { color: var(--color-text); }
p + p { margin-top: 1em; }

.text-muted { color: var(--color-text-muted); }

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-pad) 0; }
section.section-sm { padding: var(--section-pad-sm) 0; }

.section-bg-alt {
  background-color: var(--color-bg-alt);
  background-image: radial-gradient(rgba(38, 33, 92, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}

.section-bg-dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--mid-purple) 0%, var(--deep-purple) 55%);
  color: var(--pale-purple);
}
.section-bg-dark::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  opacity: 0.45;
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.section-bg-dark > .container { position: relative; z-index: 1; }
.section-bg-dark h1, .section-bg-dark h2, .section-bg-dark h3 {
  color: var(--white);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.section-bg-dark p { color: var(--light-purple); }
.section-bg-dark a:not(.btn) { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--accent-purple);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent-purple);
}
.section-bg-dark .eyebrow { color: var(--light-purple); }
.section-bg-dark .eyebrow::before { background: var(--light-purple); }

.section-intro { max-width: 640px; margin-bottom: 48px; }
.section-intro h2 { margin-bottom: 12px; }

/* ============================================
   Buttons & Links
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 100px;
  transition: background 0.2s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), var(--mid-purple));
  color: var(--white);
  box-shadow: 0 2px 6px rgba(38, 33, 92, 0.12), 0 10px 24px rgba(83, 74, 183, 0.32);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--mid-purple), var(--deep-purple));
  box-shadow: 0 4px 10px rgba(38, 33, 92, 0.16), 0 14px 32px rgba(83, 74, 183, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-purple);
  border-color: var(--accent-purple);
}
.btn-outline:hover {
  background: var(--accent-purple);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(83, 74, 183, 0.25);
}

.btn-on-dark {
  background: var(--white);
  color: var(--deep-purple);
  box-shadow: 0 10px 26px rgba(15, 12, 44, 0.28);
}
.btn-on-dark:hover {
  background: var(--light-purple);
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-purple);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, gap 0.15s ease;
}
.link-arrow:hover { border-color: var(--accent-purple); gap: 10px; }

/* ============================================
   Header / Nav
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 30px rgba(38, 33, 92, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--deep-purple);
  white-space: nowrap;
}
.logo-dot { color: var(--accent-purple); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--deep-purple);
  padding: 10px 16px;
  border-radius: 100px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover { color: var(--accent-purple); background: var(--pale-purple); }
.site-nav a.is-active { color: var(--accent-purple); }

.site-nav a.nav-cta {
  background: linear-gradient(135deg, var(--accent-purple), var(--mid-purple));
  color: var(--white);
  margin-left: 8px;
  box-shadow: 0 4px 14px rgba(83, 74, 183, 0.35);
  transition: box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.site-nav a.nav-cta:hover {
  background: linear-gradient(135deg, var(--mid-purple), var(--deep-purple));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(83, 74, 183, 0.45);
  transform: translateY(-1px);
}


/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 140px) 0 var(--section-pad);
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: float-slow 16s ease-in-out infinite;
}
.hero::before {
  width: 440px;
  height: 440px;
  top: -180px;
  right: -140px;
  background: var(--light-purple);
  opacity: 0.4;
}
.hero::after {
  width: 320px;
  height: 320px;
  bottom: -160px;
  left: -100px;
  background: var(--accent-purple);
  opacity: 0.16;
  animation-delay: -8s;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(24px, -20px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; }

/* Frosted panel so headline copy stays sharp over the busier photo background.
   Left-aligned and narrower than the default hero column so the subject in
   the photo stays visible on the right instead of being covered by the panel. */
.hero-bg-photo + .container .hero-inner {
  max-width: 460px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: calc(var(--radius) + 10px);
  padding: 40px 44px;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 760px) {
  .hero-bg-photo + .container .hero-inner { max-width: none; padding: 28px 24px; }
}

.hero h1 { margin-bottom: 24px; }
.hero .lede { font-size: 1.125rem; color: var(--color-text-muted); }
.hero .lede + .lede { margin-top: 16px; }
.hero .btn { margin-top: 32px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-grid .hero-inner { max-width: none; }

.hero-photo {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lift);
}
.hero-photo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-purple), var(--light-purple));
  z-index: 2;
}
.hero-photo img {
  width: 100%;
  display: block;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(38, 33, 92, 0.05) 0%, rgba(38, 33, 92, 0.22) 100%);
  pointer-events: none;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  opacity: 0.62;
}
.hero-bg-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.88) 2%, rgba(255, 255, 255, 0.42) 38%, rgba(238, 237, 254, 0.15) 75%);
}

/* On mobile the frosted panel would otherwise have to go full-width and
   smother the photo behind it, so stack photo-then-panel instead of
   overlaying — photo cropped to a fixed height (favoring the top, where
   Mark and the headline text are) rather than the full uncropped frame. */
@media (max-width: 760px) {
  .hero:has(.hero-bg-photo) {
    padding-top: 0;
  }
  .hero-bg-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin-bottom: 28px;
  }
  .hero-bg-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.62;
  }
  .hero-bg-photo::after {
    display: none;
  }
}

/* ============================================
   Cards
   ============================================ */

.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-purple), var(--light-purple));
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.card-flat {
  background: var(--pale-purple);
  border: none;
  border-radius: var(--radius);
  padding: 32px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================
   About — read more toggle
   ============================================ */

.about-toggle { margin-top: 28px; }

.about-toggle summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-purple);
  cursor: pointer;
  list-style: none;
}
.about-toggle summary::-webkit-details-marker { display: none; }
.about-toggle summary::marker { content: ''; }

.about-toggle summary:hover { color: var(--mid-purple); }

.about-toggle .chevron {
  display: inline-block;
  transition: transform 0.2s ease;
}
.about-toggle[open] .chevron { transform: rotate(90deg); }

.about-toggle .about-body {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  max-width: 720px;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin: 28px 0;
}

/* ============================================
   Stats strip
   ============================================ */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 860px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

.stat-item {
  text-align: center;
  padding: 8px 20px;
  border-left: 1px solid var(--color-border);
}
.stat-item:first-child { border-left: none; }

@media (max-width: 860px) {
  .stat-item:nth-child(2n+1) { border-left: none; }
  .stat-item:nth-child(n+3) { padding-top: 28px; }
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--deep-purple), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  max-width: 190px;
  margin: 0 auto;
}

/* Services teaser tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}
.tag {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--mid-purple);
  background: var(--pale-purple);
  border: 1px solid var(--light-purple);
  padding: 8px 16px;
  border-radius: 100px;
}

/* ============================================
   Pricing table
   ============================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

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

.pricing-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-purple), var(--light-purple));
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.pricing-card .tier-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--deep-purple);
}

.pricing-card .tier-range {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.pricing-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
}
.pricing-line:last-child { margin-top: auto; }

.pricing-line .label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.pricing-line .price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--deep-purple);
  white-space: nowrap;
}

.pricing-note {
  background: var(--pale-purple);
  border-radius: var(--radius);
  padding: 24px 28px;
}

/* ============================================
   Results / media placeholders
   ============================================ */

.result-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
}
.result-block:last-of-type { border-bottom: none; }

.result-block:nth-of-type(even) .result-copy { order: 2; }
.result-block:nth-of-type(even) .media-placeholder { order: 1; }

@media (max-width: 860px) {
  .result-block { grid-template-columns: 1fr; gap: 24px; }
  .result-block:nth-of-type(even) .result-copy,
  .result-block:nth-of-type(even) .media-placeholder { order: initial; }
}

.result-copy h3 { margin-bottom: 12px; }

.media-placeholder {
  border: 1.5px dashed var(--light-purple);
  border-radius: var(--radius);
  background-color: var(--pale-purple);
  background-image: radial-gradient(rgba(38, 33, 92, 0.09) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--mid-purple);
  font-size: 0.9rem;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  box-shadow: inset 0 1px 3px rgba(38, 33, 92, 0.06);
}

.media-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}
.media-image { width: 100%; display: block; }

.media-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px;
  background: var(--pale-purple);
  border-top: 1px solid var(--color-border);
}
.media-caption-item { flex: 1; min-width: 76px; text-align: center; }
.media-caption-item .num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--deep-purple);
  font-size: 1.05rem;
}
.media-caption-item .cap-label {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ============================================
   Testimonials
   ============================================ */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 24px;
}
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 36px 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-purple), var(--light-purple));
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-purple), var(--light-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.testimonial-quote {
  flex: 1;
  font-size: 1.05rem;
  color: var(--deep-purple);
  margin-bottom: 24px;
}

.testimonial-card--media { padding: 0; }
.testimonial-card--media .testimonial-media img,
.testimonial-card--media .testimonial-media video {
  width: 100%;
  display: block;
  background: #000;
}
.testimonial-card--media .testimonial-author { padding: 20px 24px; }

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--deep-purple);
}
.testimonial-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ============================================
   Contact form
   ============================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.form-field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--deep-purple);
}

.form-field input,
.form-field textarea {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  color: var(--deep-purple);
  background: var(--white);
  transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
}

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

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--mid-purple);
  display: none;
}
.form-status.is-visible { display: block; }

.side-card { position: sticky; top: 100px; }
.side-card .social-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

/* ============================================
   Footer
   ============================================ */

.site-footer {
  position: relative;
  background: linear-gradient(160deg, var(--mid-purple) 0%, var(--deep-purple) 50%);
  color: var(--light-purple);
  padding: 56px 0;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--light-purple), transparent);
  opacity: 0.5;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.footer-logo .logo-dot { color: var(--light-purple); }

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--light-purple);
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid rgba(175, 169, 236, 0.35);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.footer-links a:hover {
  color: var(--deep-purple);
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

.footer-copyright {
  width: 100%;
  font-size: 0.8rem;
  color: var(--mid-purple);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(175, 169, 236, 0.2);
}

/* ============================================
   CTA band
   ============================================ */

.cta-band {
  text-align: center;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 520px; margin: 0 auto 32px; }

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cta-buttons .btn {
    border-radius: 20px;
    font-size: 0.9rem;
    padding: 14px 22px;
    text-align: center;
  }
}

/* ============================================
   Responsive nav (mobile)
   ============================================ */

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-top: 14px;
    padding-bottom: 12px;
    row-gap: 10px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .site-nav a { padding: 8px 12px; font-size: 0.85rem; }
  .site-nav a.nav-cta { margin-left: 4px; }
}

/* ============================================
   Scroll reveal
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
