/* ============================================================
   MUSABA GEXIKE - MAIN STYLESHEET
   Design concept: "Outline Everything" | Technical, Light, Refined
   ============================================================ */


:root {
  --color-bg: #f7f6f3;
  --color-surface: #ffffff;
  --color-border: #d4cfc6;
  --color-border-strong: #a8a199;
  --color-text: #1e1c19;
  --color-text-muted: #6b6660;
  --color-text-light: #9b9590;
  --color-accent: #2e6b4f;
  --color-accent-light: #e8f2ed;
  --color-accent-hover: #245540;
  --color-accent-2: #b85c2a;
  --color-heading: #141210;
  --shadow-sm: 0 1px 3px rgba(30,28,25,0.06), 0 1px 2px rgba(30,28,25,0.04);
  --shadow-md: 0 4px 12px rgba(30,28,25,0.08), 0 2px 4px rgba(30,28,25,0.05);
  --shadow-lg: 0 12px 32px rgba(30,28,25,0.10), 0 4px 8px rgba(30,28,25,0.06);
  --shadow-xl: 0 24px 48px rgba(30,28,25,0.12), 0 8px 16px rgba(30,28,25,0.07);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;
  --nav-h: 72px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.45s cubic-bezier(0.4,0,0.2,1);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  & main { flex: 1; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
ul { list-style: none; }
address { font-style: normal; }


h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  color: var(--color-heading);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: var(--space-sm); color: var(--color-text); }
p:last-child { margin-bottom: 0; }


.Container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);

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


.Btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;

  &.Btn--primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm), 0 0 0 0 rgba(46,107,79,0);

    &:hover {
      background: var(--color-accent-hover);
      border-color: var(--color-accent-hover);
      color: #fff;
      box-shadow: var(--shadow-md), 0 0 0 3px rgba(46,107,79,0.15);
      transform: translateY(-1px);
    }
  }

  &.Btn--outline {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);

    &:hover {
      background: var(--color-accent);
      color: #fff;
      box-shadow: var(--shadow-md);
      transform: translateY(-1px);
    }
  }

  &.Btn--ghost {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.45);
    backdrop-filter: blur(4px);

    &:hover {
      background: rgba(255,255,255,0.25);
      border-color: rgba(255,255,255,0.7);
      color: #fff;
    }
  }
}


.SectionEyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.SectionHeading {
  margin-bottom: var(--space-md);
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.SiteHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(247,246,243,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transform: translateY(0);
  transition: transform var(--transition-slow), background var(--transition);

  &.is-hidden { transform: translateY(-100%); }

  & .SiteHeader-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);

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

  & .SiteHeader-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  & .SiteHeader-nav {
    display: none;
    align-items: center;
    gap: var(--space-md);

    @media (min-width: 1024px) { display: flex; }
  }

  & .SiteHeader-navLink {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition);

    &::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 1.5px;
      background: var(--color-accent);
      transition: width var(--transition);
    }

    &:hover, &.is-active {
      color: var(--color-accent);
      &::after { width: 100%; }
    }
  }

  & .SiteHeader-cta {
    display: none;
    @media (min-width: 1024px) { display: inline-flex; }
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
  }

  & .SiteHeader-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);

    @media (min-width: 1024px) { display: none; }

    &:hover { background: var(--color-accent-light); }

    & span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--color-text);
      border-radius: 2px;
      transition: all var(--transition);
    }
  }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.MobileMenu {
  position: fixed;
  inset: 0;
  z-index: 950;
  pointer-events: none;
  visibility: hidden;

  & .MobileMenu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20,18,16,0.5);
    opacity: 0;
    transition: opacity var(--transition-slow);
  }

  & .MobileMenu-nav {
    position: absolute;
    top: 0;
    right: 0;
    width: min(340px, 90vw);
    height: 100%;
    background: var(--color-surface);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    transition: clip-path 0.55s cubic-bezier(0.77,0,0.175,1);
    box-shadow: var(--shadow-xl);
  }

  & .MobileMenu-close {
    align-self: flex-end;
    background: none;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    transition: all var(--transition);

    &:hover {
      background: var(--color-accent);
      border-color: var(--color-accent);
      color: #fff;
    }
  }

  & .MobileMenu-link {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color var(--transition);

    &:hover { color: var(--color-accent); }

    &.MobileMenu-link--cta {
      margin-top: var(--space-md);
      border: 1.5px solid var(--color-accent);
      border-radius: var(--radius-pill);
      text-align: center;
      padding: 0.75rem;
      color: var(--color-accent);
      font-weight: 600;
      background: transparent;
      transition: all var(--transition);
      border-bottom: 1.5px solid var(--color-accent);

      &:hover {
        background: var(--color-accent);
        color: #fff;
      }
    }
  }

  &.is-open {
    pointer-events: all;
    visibility: visible;

    & .MobileMenu-overlay { opacity: 1; }

    & .MobileMenu-nav {
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    & .MobileMenu-link {
      opacity: 1;
      transform: translateX(0);
    }

    @for $i from 1 through 7 {
      & .MobileMenu-link:nth-child(#{$i + 1}) {
        transition-delay: #{$i * 0.06 + 0.25}s;
      }
    }
  }
}


.MobileMenu.is-open .MobileMenu-link:nth-child(2) { transition-delay: 0.31s; }
.MobileMenu.is-open .MobileMenu-link:nth-child(3) { transition-delay: 0.37s; }
.MobileMenu.is-open .MobileMenu-link:nth-child(4) { transition-delay: 0.43s; }
.MobileMenu.is-open .MobileMenu-link:nth-child(5) { transition-delay: 0.49s; }
.MobileMenu.is-open .MobileMenu-link:nth-child(6) { transition-delay: 0.55s; }
.MobileMenu.is-open .MobileMenu-link:nth-child(7) { transition-delay: 0.61s; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.PageHero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);

  & .PageHero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }

  & .PageHero-bgImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  & .PageHero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgba(20,18,16,0.78) 0%,
      rgba(30,28,25,0.55) 50%,
      rgba(46,107,79,0.30) 100%
    );
  }

  & .PageHero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
    padding: var(--space-xl) var(--space-md);
  }

  & .PageHero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1rem;
  }

  & .PageHero-heading {
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  }

  & .PageHero-accent {
    color: #7ecba3;
    position: relative;
    display: inline-block;

    &::after {
      content: '';
      position: absolute;
      bottom: 4px;
      left: 0;
      right: 0;
      height: 2px;
      background: #7ecba3;
      opacity: 0.5;
    }
  }

  & .PageHero-description {
    color: rgba(255,255,255,0.82);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
  }

  & .PageHero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  & .PageHero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2.5s ease-in-out infinite;

    & i { font-size: 0.9rem; }
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   INTRO STRIP
   ============================================================ */
.IntroStrip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;

  & .IntroStrip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);

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

  & .IntroStrip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    background: transparent;
    transition: all var(--transition);

    &:hover {
      border-color: var(--color-accent);
      background: var(--color-accent-light);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    & i {
      font-size: 1.2rem;
      color: var(--color-accent);
      flex-shrink: 0;
    }

    & span {
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--color-text-muted);
      line-height: 1.35;
    }
  }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.ProblemSection {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);

  & .ProblemSection-inner {
    display: grid;
    gap: var(--space-xl);
    align-items: center;

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

  & .ProblemSection-text {
    & h2 { margin-bottom: var(--space-md); }
    & p { color: var(--color-text-muted); margin-bottom: var(--space-sm); }
    & .Btn { margin-top: var(--space-sm); }
  }
}


.ImageFrame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(46,107,79,0.06);

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, transparent 60%, rgba(46,107,79,0.08));
    pointer-events: none;
  }

  & .ImageFrame-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
  }

  &:hover .ImageFrame-img { transform: scale(1.03); }
}

/* ============================================================
   FEATURES SECTION (ZIGZAG)
   ============================================================ */
.FeaturesSection {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .FeaturesSection-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
  }

  & .FeatureRow {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-border);

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

    &:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

    &.FeatureRow--reversed {
      @media (min-width: 900px) {
        & .FeatureRow-visual { order: 2; }
        & .FeatureRow-content { order: 1; }
      }
    }
  }

  & .FeatureRow-visual {
    position: relative;
  }

  & .FeatureRow-iconBox {
    position: absolute;
    top: -1rem;
    left: -1rem;
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--color-accent);
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
  }

  & .FeatureRow-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition), transform var(--transition);

    &:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-3px);
    }
  }

  & .FeatureRow-content {
    padding: var(--space-sm) 0;
  }

  & .FeatureRow-number {
    display: inline-block;
    font-family: 'Lora', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  & .FeatureRow-heading {
    margin-bottom: var(--space-sm);
  }

  & .FeatureRow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: var(--space-sm);
    transition: gap var(--transition), color var(--transition);

    &:hover { gap: 0.7rem; color: var(--color-accent-hover); }
  }
}

/* ============================================================
   CARDS SECTION
   ============================================================ */
.CardsSection {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);

  & .CardsSection-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-2xl);
  }

  & .CardsSection-intro {
    color: var(--color-text-muted);
    font-size: 1.05rem;
  }

  & .CardsGrid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;

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

.ContentCard {
  background: transparent;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent-light), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
  }

  &:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);

    &::before { opacity: 1; }
  }

  & .ContentCard-icon {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    transition: all var(--transition);
  }

  &:hover .ContentCard-icon {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #fff;
  }

  & .ContentCard-title {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
  }

  & .ContentCard-body {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
  }

  & .ContentCard-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: gap var(--transition);

    &:hover { gap: 0.7rem; }
  }
}

/* ============================================================
   APPROACH SECTION
   ============================================================ */
.ApproachSection {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .ApproachSection-inner {
    display: grid;
    gap: var(--space-xl);
    align-items: center;

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

  & .ApproachSection-visual {
    position: relative;
  }

  & .ApproachSection-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }

  & .ApproachSection-badge {
    position: absolute;
    bottom: -1.5rem;
    right: 1.5rem;
    background: var(--color-surface);
    border: 1.5px solid var(--color-accent);
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    box-shadow: var(--shadow-md);

    & i { font-size: 1rem; }
  }

  & .ApproachSection-content {
    padding-top: var(--space-md);

    & h2 { margin-bottom: var(--space-md); }
    & p { color: var(--color-text-muted); margin-bottom: var(--space-sm); }
  }

  & .ApproachSection-pillars {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
}

.ApproachPillar {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-sm);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);

  &:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
  }

  & > i {
    font-size: 1.1rem;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
  }

  & strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-heading);
    margin-bottom: 0.25rem;
  }

  & p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
  }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.CtaSection {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);

  & .CtaSection-inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: var(--space-2xl);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
    }
  }

  & .CtaSection-heading {
    margin-bottom: var(--space-sm);
  }

  & .CtaSection-sub {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
  }

  & .CtaSection-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ============================================================
   INNER HERO (sub pages)
   ============================================================ */
.InnerHero {
  padding: calc(var(--nav-h) + var(--space-2xl)) 0 var(--space-2xl);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);

  & .InnerHero-content {
    max-width: 760px;
  }

  & .InnerHero-heading {
    margin-bottom: var(--space-md);
  }

  & .InnerHero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 640px;
  }
}

/* ============================================================
   PROFILES SECTION (who-this-helps)
   ============================================================ */
.ProfilesSection {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .ProfileRow {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-border);

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

    &:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

    &.ProfileRow--reversed {
      @media (min-width: 900px) {
        & .ProfileRow-visual { order: 2; }
        & .ProfileRow-content { order: 1; }
      }
    }
  }

  & .ProfileRow-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  & .ProfileRow-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
  }

  & .ProfileRow-content {
    & h2 { margin-bottom: var(--space-sm); }
    & p { color: var(--color-text-muted); margin-bottom: var(--space-sm); }
  }

  & .ProfileTag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
    border-radius: var(--radius-pill);
    padding: 0.25rem 0.9rem;
    margin-bottom: var(--space-sm);
  }

  & .ProfileRow-signals {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
  }

  & .ProfileRow-signalsLabel {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
  }

  & .ProfileRow-signals ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    & li {
      font-size: 0.875rem;
      color: var(--color-text-muted);
      padding-left: 1.2rem;
      position: relative;

      &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0.55em;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        border: 1.5px solid var(--color-accent);
      }
    }
  }
}

/* ============================================================
   NOT FOR SECTION
   ============================================================ */
.NotForSection {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);

  & .NotForSection-inner {
    & h2 { margin-bottom: var(--space-sm); }
    & > p { color: var(--color-text-muted); max-width: 680px; margin-bottom: var(--space-xl); }
  }

  & .NotForGrid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;

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

.NotForCard {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: transparent;
  transition: all var(--transition);

  &:hover {
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }

  & > i {
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    display: block;
  }

  & h3 { margin-bottom: 0.5rem; font-size: 1rem; }
  & p { font-size: 0.875rem; color: var(--color-text-muted); margin: 0; }
}

/* ============================================================
   USE CASE SECTION
   ============================================================ */
.UseCaseSection {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .UseCaseSection-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
  }

  & .UseCaseGrid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;

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

.UseCaseCard {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;

  &:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    background: var(--color-accent-light);
  }

  & .UseCaseCard-number {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
  }

  &:hover .UseCaseCard-number { color: var(--color-accent); opacity: 0.4; }

  & h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
  & p { font-size: 0.875rem; color: var(--color-text-muted); margin: 0; }
}

/* ============================================================
   FORMULA SECTION
   ============================================================ */
.FormulaSection {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .FormulaBlock {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-border);

    &:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  }

  & .FormulaBlock-header {
    margin-bottom: var(--space-lg);
  }

  & .FormulaBlock-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
    border-radius: var(--radius-pill);
    padding: 0.2rem 0.8rem;
    margin-bottom: 0.75rem;
  }

  & .FormulaBlock-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
  }

  & .FormulaBlock-intro {
    max-width: 760px;
    margin-bottom: var(--space-lg);

    & p { color: var(--color-text-muted); }
  }

  & .FormulaBlock-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }

  & .FormulaBlock-note {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    padding: var(--space-md);
    background: var(--color-accent-light);
    border: 1.5px solid rgba(46,107,79,0.25);
    border-radius: var(--radius-md);

    & i { color: var(--color-accent); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
    & p { font-size: 0.875rem; color: var(--color-accent-hover); margin: 0; }
  }
}

.FormulaStep {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: transparent;
  transition: all var(--transition);

  &:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
    box-shadow: var(--shadow-sm);
  }

  & .FormulaStep-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: all var(--transition);
  }

  &:hover .FormulaStep-num {
    background: var(--color-accent);
    color: #fff;
  }

  & .FormulaStep-content {
    & h4 { margin-bottom: 0.35rem; font-size: 0.95rem; }
    & p { font-size: 0.875rem; color: var(--color-text-muted); margin: 0; }
  }
}


.FormulaBlock-table { margin-bottom: var(--space-lg); }

.DecisionTable {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;

  & .DecisionTable-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-bg);
    border-bottom: 1.5px solid var(--color-border);

    & > div {
      padding: var(--space-sm) var(--space-md);
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--color-text);

      &:first-child { border-right: 1px solid var(--color-border); }
    }
  }

  & .DecisionTable-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition);

    &:last-child { border-bottom: none; }
    &:hover { background: var(--color-accent-light); }

    & > div {
      padding: 0.75rem var(--space-md);
      font-size: 0.85rem;
      color: var(--color-text-muted);
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;

      &:first-child { border-right: 1px solid var(--color-border); }

      & i { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
    }
  }
}

/* ============================================================
   LOCAL BUSINESS PAGE
   ============================================================ */
.LocalIntroSection {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .LocalIntroSection-inner {
    display: grid;
    gap: var(--space-xl);
    align-items: center;

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

  & .LocalIntroSection-text {
    & h2 { margin-bottom: var(--space-md); }
    & p { color: var(--color-text-muted); }
  }

  & .LocalIntroSection-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }
}

.BusinessTypesSection {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);

  & .BusinessTypesSection-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
  }

  & .BusinessTypesGrid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;

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

.BusinessTypeCard {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: var(--color-surface);
  transition: all var(--transition);

  &:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
  }

  & .BusinessTypeCard-icon {
    width: 52px;
    height: 52px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    transition: all var(--transition);
  }

  &:hover .BusinessTypeCard-icon {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
  }

  & h3 { margin-bottom: 0.5rem; }
  & > p { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: var(--space-sm); }

  & ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;

    & li {
      font-size: 0.825rem;
      color: var(--color-text-muted);
      padding-left: 1.1rem;
      position: relative;

      &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0.55em;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--color-accent);
      }
    }
  }
}

.LocalFrameworkSection {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .LocalFrameworkSection-header {
    max-width: 640px;
    margin: 0 auto var(--space-2xl);
  }
}

.LocalFramework {
  margin-bottom: var(--space-xl);
  padding: var(--space-xl);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  transition: all var(--transition);

  &:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
  }

  & .LocalFramework-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
  }

  & h3 { margin-bottom: var(--space-sm); }
  & p { color: var(--color-text-muted); margin-bottom: var(--space-sm); }

  & .LocalFramework-when {
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-left: 3px solid var(--color-accent);
    background: var(--color-accent-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.875rem;
    color: var(--color-accent-hover);

    & strong { color: var(--color-accent); }
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.ContactSection {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .ContactSection-grid {
    display: grid;
    gap: var(--space-xl);
    align-items: start;

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

  & .ContactSection-mapWrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--color-border);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);

    & iframe { display: block; }
  }

  & .ContactSection-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  & .ContactSection-formTitle {
    margin-bottom: 0.5rem;
  }

  & .ContactSection-formSub {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
  }
}

.ContactDetail {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;

  & > i {
    font-size: 1rem;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
    width: 20px;
  }

  & strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.2rem;
  }

  & p, & a {
    font-size: 0.9rem;
    color: var(--color-text);
    margin: 0;
  }
}


.ContactForm {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);

  & .ContactForm-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;

    & label {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--color-text-muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    & input, & textarea {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1.5px solid var(--color-border);
      border-radius: var(--radius-md);
      background: var(--color-bg);
      font-family: 'Inter', sans-serif;
      font-size: 0.9rem;
      color: var(--color-text);
      transition: all var(--transition);
      outline: none;
      min-height: 44px;

      &::placeholder { color: var(--color-text-light); }

      &:focus {
        border-color: var(--color-accent);
        background: var(--color-surface);
        box-shadow: 0 0 0 3px rgba(46,107,79,0.12);
      }
    }

    & textarea { resize: vertical; min-height: 120px; }
  }

  & .ContactForm-privacy {
    & .PrivacyCheck {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      cursor: pointer;

      & input[type="checkbox"] {
        width: 18px;
        height: 18px;
        min-height: unset;
        flex-shrink: 0;
        margin-top: 2px;
        accent-color: var(--color-accent);
        cursor: pointer;
      }

      & span {
        font-size: 0.85rem;
        color: var(--color-text-muted);
        line-height: 1.5;
      }
    }
  }

  & .ContactForm-submit { align-self: flex-start; }
}


.DirectionsSection {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);

  & .DirectionsSection-intro {
    color: var(--color-text-muted);
    max-width: 640px;
    margin-bottom: var(--space-xl);
  }

  & h2 { margin-bottom: var(--space-sm); }

  & .DirectionsGrid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;

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

.DirectionCard {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  background: var(--color-surface);
  transition: all var(--transition);

  &:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }

  & .DirectionCard-icon {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    transition: all var(--transition);
  }

  &:hover .DirectionCard-icon {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
  }

  & h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
  & p { font-size: 0.825rem; color: var(--color-text-muted); margin: 0; }
}

/* ============================================================
   THANKS PAGE
   ============================================================ */
.ThanksMain { flex: 1; display: flex; align-items: center; }

.ThanksPage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
  width: 100%;

  & .ThanksPage-animation {
    margin-bottom: var(--space-xl);
  }

  & .ThanksCheckmark {
    width: 80px;
    height: 80px;
  }

  & .ThanksCheckmark-circle {
    animation: drawCircle 0.8s ease forwards 0.2s;
  }

  & .ThanksCheckmark-check {
    animation: drawCheck 0.5s ease forwards 1.1s;
  }

  & .ThanksPage-content {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards 1.6s;
  }

  & .ThanksPage-heading {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: var(--space-sm);
  }

  & .ThanksPage-text {
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0 auto var(--space-lg);
  }
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.LegalHero {
  padding: calc(var(--nav-h) + var(--space-2xl)) 0 var(--space-xl);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);

  & .LegalHero-heading {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
  }

  & .LegalHero-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
  }
}

.LegalSection {
  padding: var(--space-2xl) 0 var(--space-3xl);
  background: var(--color-surface);
}

.LegalContent {
  max-width: 800px;

  & > p { color: var(--color-text-muted); margin-bottom: var(--space-md); line-height: 1.8; }

  & h2 {
    font-size: 1.3rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);

    &:first-of-type { border-top: none; margin-top: 0; }
  }

  & h3 {
    font-size: 1.05rem;
    margin-top: var(--space-md);
    margin-bottom: 0.5rem;
  }

  & ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);

    & li { margin-bottom: 0.4rem; font-size: 0.9rem; line-height: 1.7; }
  }

  & code {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.1em 0.4em;
    font-size: 0.85em;
    color: var(--color-accent-2);
  }

  & strong { color: var(--color-heading); }
  & a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
}

.LegalDefinition {
  display: block;
  margin: var(--space-md) 0;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-accent-light);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.875rem;
  color: var(--color-accent-hover);
  line-height: 1.7;

  & strong { color: var(--color-accent); }
}

.LegalAddress {
  font-style: normal;
  padding: var(--space-md);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  display: inline-block;
  margin-top: var(--space-sm);

  & a { color: var(--color-accent); }
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.SiteFooter {
  background: var(--color-heading);
  color: rgba(255,255,255,0.65);
  margin-top: auto;

  & .SiteFooter-top {
    display: grid;
    gap: var(--space-xl);
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);

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

  & .SiteFooter-brand {
    & img { margin-bottom: var(--space-md); filter: brightness(0) invert(1); opacity: 0.9; }
    & p { font-size: 0.875rem; line-height: 1.65; margin-bottom: var(--space-md); }
    & address { font-size: 0.825rem; line-height: 1.8; }
    & a { color: rgba(255,255,255,0.5); transition: color var(--transition); &:hover { color: #fff; } }
  }

  & .SiteFooter-nav {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  & .SiteFooter-navGroup {
    & h4 {
      font-family: 'Inter', sans-serif;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-bottom: var(--space-sm);
    }

    & a {
      display: block;
      font-size: 0.85rem;
      color: rgba(255,255,255,0.6);
      margin-bottom: 0.4rem;
      transition: color var(--transition), padding-left var(--transition);

      &:hover { color: #fff; padding-left: 4px; }
    }
  }

  & .SiteFooter-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: var(--space-md) 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);

    @media (min-width: 768px) {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    & a { color: rgba(255,255,255,0.4); &:hover { color: rgba(255,255,255,0.7); } }
  }
}

/* ============================================================
   COOKIE CONSENT - FLOATING PILL
   ============================================================ */
.CookiePill {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 9999;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s ease;
  pointer-events: none;

  &.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}

.CookiePill-compact {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-heading);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-pill);
  flex-direction: column;
  padding: 0.65rem 0.65rem 0.65rem 1.25rem;
  box-shadow: var(--shadow-xl);
  font-size: 0.85rem;

  & span { flex-shrink: 0; }

  & .CookiePill-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  & .CookiePill-btn {
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
    min-height: 34px;

    &.CookiePill-btn--accept {
      background: var(--color-accent);
      color: #fff;
      border-color: var(--color-accent);
      &:hover { background: var(--color-accent-hover); }
    }

    &.CookiePill-btn--customize {
      background: transparent;
      color: rgba(255,255,255,0.7);
      border-color: rgba(255,255,255,0.25);
      &:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
    }
  }
}

.CookiePill-modal {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(480px, calc(100vw - 2rem));
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;

  &.is-visible { display: block; animation: modalPop 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards; }

  & .CookiePill-modal-header {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;

    & h3 { font-size: 1rem; margin: 0; }

    & button {
      background: none;
      border: none;
      cursor: pointer;
      color: var(--color-text-muted);
      font-size: 1.1rem;
      padding: 4px;
      transition: color var(--transition);
      &:hover { color: var(--color-text); }
    }
  }

  & .CookiePill-modal-body {
    padding: var(--space-md) var(--space-lg);
    & p { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: var(--space-md); }
  }

  & .CookiePill-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    &:last-child { border-bottom: none; }

    & .CookiePill-category-info {
      & strong { font-size: 0.875rem; display: block; }
      & span { font-size: 0.775rem; color: var(--color-text-muted); }
    }
  }

  & .CookiePill-toggle {
    position: relative;
    width: 40px;
    height: 22px;
    flex-shrink: 0;

    & input { opacity: 0; width: 0; height: 0; }

    & .CookiePill-slider {
      position: absolute;
      inset: 0;
      background: var(--color-border);
      border-radius: var(--radius-pill);
      cursor: pointer;
      transition: background var(--transition);

      &::before {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        left: 3px;
        top: 3px;
        background: #fff;
        border-radius: 50%;
        transition: transform var(--transition);
      }
    }

    & input:checked + .CookiePill-slider { background: var(--color-accent); }
    & input:checked + .CookiePill-slider::before { transform: translateX(18px); }
    & input:disabled + .CookiePill-slider { opacity: 0.6; cursor: not-allowed; }
  }

  & .CookiePill-modal-footer {
    padding: var(--space-sm) var(--space-lg) var(--space-md);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;

    & button {
      padding: 0.6rem 1.25rem;
      border-radius: var(--radius-pill);
      font-size: 0.85rem;
      font-weight: 600;
      cursor: pointer;
      border: 1.5px solid transparent;
      transition: all var(--transition);
      min-height: 44px;

      &.btn-save {
        background: var(--color-accent);
        color: #fff;
        border-color: var(--color-accent);
        &:hover { background: var(--color-accent-hover); }
      }

      &.btn-accept-all {
        background: transparent;
        color: var(--color-accent);
        border-color: var(--color-accent);
        &:hover { background: var(--color-accent); color: #fff; }
      }
    }
  }
}

@keyframes modalPop {
  from { opacity: 0; transform: translateX(-50%) scale(0.9) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) scale(1) translateY(0); }
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 639px) {
  .PageHero-actions { flex-direction: column; align-items: center; }
  .CtaSection-actions { flex-direction: column; align-items: center; }
  .DecisionTable .DecisionTable-header,
  .DecisionTable .DecisionTable-row { grid-template-columns: 1fr; }
  .DecisionTable .DecisionTable-header > div:first-child,
  .DecisionTable .DecisionTable-row > div:first-child { border-right: none; border-bottom: 1px solid var(--color-border); }
}

@media (max-width: 767px) {
  :root { --space-3xl: 5rem; --space-2xl: 3.5rem; }
  .SiteFooter-top { grid-template-columns: 1fr; }
}