:root {
  --ink: #14161c;
  --ink-soft: #1e212a;
  --ink-softer: #262a35;
  --paper: #f7f4ee;
  --paper-dim: #eeeae1;
  --paper-card: #ffffff;
  --text-dark: #1c1e24;
  --text-muted: #5a5e70;
  --text-on-dark: #f2efe8;
  --text-on-dark-muted: #b7bac8;
  --accent: #ff6b35;
  --accent-dark: #e2551f;
  --accent-soft: #ffe3d6;
  --teal: #0f766e;
  --teal-light: #17a398;
  --border-light: rgba(28, 30, 36, 0.08);
  --border-dark: rgba(242, 239, 232, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 44px;
  --shadow-sm: 0 2px 6px rgba(20,22,28,.07), 0 1px 2px rgba(20,22,28,.06);
  --shadow-md: 0 10px 26px rgba(20,22,28,.12), 0 3px 8px rgba(20,22,28,.08);
  --shadow-lg: 0 30px 70px rgba(20,22,28,.20), 0 10px 24px rgba(20,22,28,.12);
  --shadow-glow: 0 0 0 1px rgba(255,107,53,.18), 0 22px 55px rgba(255,107,53,.22);
  --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff3d7f 55%, #7d3cff 100%);
  --gradient-dark: linear-gradient(160deg, #14161c 0%, #1e212a 55%, #0e2422 100%);
  --font-heading: 'Red Hat Display', sans-serif;
  --font-body: 'Red Hat Text', sans-serif;
  --container: 1240px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  background: var(--paper);

  & h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

  &.section--dark {
    background: var(--gradient-dark);
    & h2, & h1, & h3 { color: var(--text-on-dark); }
    & p { color: var(--text-on-dark-muted); }
    & .eyebrow { color: var(--accent); }
  }

  &.section--dim { background: var(--paper-dim); }
}

.section-title { margin-bottom: .6rem; }
.section-lead { max-width: 640px; margin-bottom: 2.5rem; font-size: 1.05rem; }

.section--band {
  padding: clamp(2.5rem, 5vw, 4rem) 0;

  & .band-text {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.6vw, 2rem);
    font-weight: 600;
    color: var(--text-on-dark);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.4;
  }
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  min-height: 48px;

  &.btn--primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: var(--shadow-md);

    &:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
    &:active { transform: translateY(0); }
  }

  &.btn--outline-light {
    background: transparent;
    color: var(--text-on-dark);
    border: 2px solid rgba(242,239,232,.35);

    &:hover { background: rgba(242,239,232,.1); border-color: var(--accent); transform: translateY(-2px); }
  }

  &.btn--outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-light);

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


.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);

  & .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  & .nav-logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-on-dark);
    transition: color var(--transition);
  }

  & .nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;

    @media (max-width: 960px) { display: none; }
  }

  & .nav-link {
    font-weight: 600;
    font-size: .95rem;
    color: var(--text-on-dark-muted);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);

    &::after {
      content: '';
      position: absolute;
      left: 0; bottom: 0;
      width: 0; height: 2px;
      background: var(--accent);
      transition: width var(--transition);
    }
    &:hover { color: var(--text-on-dark); }
    &:hover::after { width: 100%; }
  }

  & .nav-cta {
    position: relative;
    padding: .75rem 1.4rem;
    font-size: .88rem;
    @media (max-width: 960px) { display: none; }
  }

  & .nav-dot {
    position: absolute;
    top: -3px; right: -3px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--teal-light);
    box-shadow: 0 0 0 0 rgba(23,163,152,.6);
    animation: navPulse 2.4s infinite;
  }

  & .nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);

    @media (max-width: 960px) { display: flex; }

    & .nav-burger-line {
      width: 22px; height: 2px;
      background: var(--text-on-dark);
      border-radius: 2px;
      transition: background var(--transition);
    }
  }

  &.nav--on-light {
    & .nav-logo { color: var(--text-dark); }
    & .nav-link { color: var(--text-muted); }
    & .nav-link:hover { color: var(--text-dark); }
    & .nav-burger-line { background: var(--text-dark); }
  }

  &.nav--scrolled {
    background: rgba(20,22,28,.72);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
  }
  &.nav--on-light.nav--scrolled {
    background: rgba(247,244,238,.82);
  }
}

@keyframes navPulse {
  0% { box-shadow: 0 0 0 0 rgba(23,163,152,.55); }
  70% { box-shadow: 0 0 0 8px rgba(23,163,152,0); }
  100% { box-shadow: 0 0 0 0 rgba(23,163,152,0); }
}


.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  pointer-events: none;

  & .mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14,16,20,.55);
    opacity: 0;
    transition: opacity var(--transition);
  }

  & .mobile-menu-panel {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 80%;
    max-width: 360px;
    background: var(--ink);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-lg);
  }

  & .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;

    & .nav-logo { color: var(--text-on-dark); }
  }

  & .mobile-menu-close {
    background: rgba(242,239,232,.08);
    border: none;
    color: var(--text-on-dark);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    &:hover { background: rgba(242,239,232,.18); }
  }

  & .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: .3rem;
  }

  & .mobile-menu-link {
    color: var(--text-on-dark-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border-dark);
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity .35s ease, transform .35s ease, color var(--transition);
  }

  & .mobile-menu-cta { margin-top: 2rem; }

  &.mobile-menu--open {
    visibility: visible;
    pointer-events: auto;

    & .mobile-menu-overlay { opacity: 1; }
    & .mobile-menu-panel { transform: translateX(0); }
    & .mobile-menu-link {
      opacity: 1;
      transform: translateX(0);
    }
    & .mobile-menu-link:nth-child(1) { transition-delay: .08s; }
    & .mobile-menu-link:nth-child(2) { transition-delay: .14s; }
    & .mobile-menu-link:nth-child(3) { transition-delay: .2s; }
    & .mobile-menu-link:nth-child(4) { transition-delay: .26s; }
    & .mobile-menu-link:nth-child(5) { transition-delay: .32s; }
  }
}

body.menu-open { overflow: hidden; }


.hero {
  position: relative;
  padding: clamp(7rem, 14vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--gradient-dark);
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 60%; height: 80%;
    background: radial-gradient(circle, rgba(255,107,53,.25), transparent 70%);
    pointer-events: none;
  }
  &::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 50%; height: 70%;
    background: radial-gradient(circle, rgba(23,163,152,.18), transparent 70%);
    pointer-events: none;
  }

  & .hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;

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

  & .hero-eyebrow {
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
  }

  & .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: var(--text-on-dark);
    font-weight: 800;
    margin-bottom: 1.3rem;
  }

  & .hero-lead {
    color: var(--text-on-dark-muted);
    font-size: 1.1rem;
    max-width: 560px;
    margin-bottom: 2.5rem;
  }

  & .hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
  }

  & .hero-benefit {
    display: flex;
    gap: 1rem;
    align-items: flex-start;

    & h3 { color: var(--text-on-dark); font-size: 1.05rem; margin-bottom: .3rem; }
    & p { color: var(--text-on-dark-muted); font-size: .92rem; margin: 0; }
  }

  & .hero-benefit-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255,107,53,.14);
    border: 1px solid rgba(255,107,53,.3);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
  }
}

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


.page-header {
  background: var(--gradient-dark);
  padding: clamp(7rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    top: -30%; right: -15%;
    width: 55%; height: 90%;
    background: radial-gradient(circle, rgba(255,107,53,.22), transparent 70%);
  }

  & h1 {
    position: relative;
    color: var(--text-on-dark);
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    max-width: 780px;
  }

  & .page-header-lead {
    position: relative;
    color: var(--text-on-dark-muted);
    max-width: 640px;
    font-size: 1.05rem;
  }
}


.card {
  background: var(--paper-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-light);

  &.card--form {
    background: rgba(255,255,255,.97);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);

    & h2 { font-size: 1.4rem; margin-bottom: .4rem; }
  }

  &.card--compact { padding: 1.4rem 1.6rem; }
}


.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;

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

.split--reverse .split-inner {
  @media (min-width: 901px) {
    & .split-content { order: 2; }
    & .split-media { order: 1; }
  }
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;

  & img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .6s ease; }
  &:hover img { transform: scale(1.04); }

  &.media-frame--map { margin-bottom: 1.4rem; }
}


.sign-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;

  & li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .98rem;
    color: var(--text-dark);
  }
  & i { color: var(--teal); margin-top: .25rem; }
}


.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.4rem;

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

.card--bento {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;

  &:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

  & .bento-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--accent-soft);
    -webkit-text-stroke: 1px var(--accent);
    color: transparent;
    margin-bottom: .6rem;
  }

  & h3 { font-size: 1.15rem; margin-bottom: .5rem; }
  & p { font-size: .92rem; margin: 0; }
}

.bento-item--wide { grid-column: span 2; @media (max-width: 900px) { grid-column: span 1; } }
.bento-item--tall { grid-row: span 2; }


.card--format {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  background: var(--paper-card);

  & .format-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    background: var(--gradient-accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  &:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
}

.format-swiper { padding-bottom: 3.5rem; }
.swiper-pagination-bullet { background: var(--text-muted); opacity: .4; }
.swiper-pagination-bullet-active { background: var(--accent); opacity: 1; }


.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;

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

.card--contact {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;

  & .contact-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,107,53,.12);
    color: var(--accent-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  & h3 { font-size: 1.1rem; margin-bottom: .3rem; }
  & a { color: var(--teal); font-weight: 700; }
  &:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
}


.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;

  @media (max-width: 960px) { grid-template-columns: 1fr 1fr; }
  @media (max-width: 560px) { grid-template-columns: 1fr; }
}

.card--value {
  & .value-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(15,118,110,.1);
    color: var(--teal);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  & h3 { font-size: 1.05rem; }
  & p { font-size: .92rem; margin: 0; }
  &:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}


.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.scenario-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  padding: 1.6rem;
  background: var(--paper-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);

  &:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

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

  & .scenario-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--accent);
  }
  & h3 { font-size: 1.15rem; margin-bottom: .4rem; }
  & p { margin: 0; }
}


.steps {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.steps-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.4rem;
  align-items: start;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--border-light);

  &:last-child { border-bottom: none; }

  & .steps-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
  }
  & h3 { font-size: 1.15rem; margin-bottom: .4rem; }
  & p { margin: 0; }
}


.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;

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

.team-card {
  padding: 0;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid var(--border-dark);

  & .team-card-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 1.4rem 1.6rem;
    text-align: left;
    color: inherit;
  }

  & .team-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;

    & h3 { color: var(--text-on-dark); font-size: 1.1rem; margin-bottom: .1rem; }
    & p { color: var(--text-on-dark-muted); font-size: .88rem; margin: 0; }
  }

  & .team-card-avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--accent);
  }

  & .team-card-arrow {
    margin-left: auto;
    color: var(--text-on-dark-muted);
    transition: transform var(--transition), color var(--transition);
  }

  & .team-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s ease;
    padding: 0 1.6rem;

    & .team-card-bio { color: var(--text-on-dark-muted); font-size: .95rem; padding-top: .2rem; }
  }

  &.team-card--expanded {
    & .team-card-arrow { transform: rotate(180deg); color: var(--accent); }
    & .team-card-body { padding-bottom: 1.6rem; }
  }
}


.faq { display: flex; flex-direction: column; gap: .9rem; }

.faq-item {
  background: var(--paper-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  text-align: left;

  & .faq-toggle { color: var(--accent); transition: transform var(--transition); flex-shrink: 0; margin-left: 1rem; }
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  padding: 0 1.5rem;

  & p { padding: 0 0 1.2rem; margin: 0; }
}

.faq-item--open {
  & .faq-toggle { transform: rotate(45deg); }
}


.form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;

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

.form-field { display: flex; flex-direction: column; gap: .4rem; }

.form-label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-input, .form-textarea, .form-select {
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);

  &:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,107,53,.15);
  }
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  color: var(--text-muted);

  & input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
  & a { color: var(--teal); font-weight: 600; }
}

.form-submit { margin-top: .4rem; }
.form-note { font-size: .9rem; margin-bottom: 1.4rem; color: var(--text-muted); }

.form.is-invalid .form-input:invalid,
.form.is-invalid .form-textarea:invalid,
.form.is-invalid .form-select:invalid {
  border-color: #d64545;
}


.contact-split-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;

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

.contact-form-card h2 { font-size: 1.6rem; }
.map-address-card h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; margin-bottom: .4rem; }


.cta-banner {
  background: var(--gradient-accent);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  text-align: center;

  & .cta-banner-inner { max-width: 700px; margin: 0 auto; }
  & h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .8rem; }
  & p { color: rgba(255,255,255,.9); margin-bottom: 2rem; }
}


.footer {
  background: var(--ink);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem;

  & .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.4rem;
  }

  & .footer-logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-on-dark);
  }

  & .footer-tagline {
    color: var(--text-on-dark-muted);
    max-width: 480px;
    font-size: .95rem;
    margin: 0;
  }

  & .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem;
    margin: .5rem 0;

    & a {
      color: var(--text-on-dark-muted);
      font-size: .9rem;
      font-weight: 600;
      transition: color var(--transition);
      &:hover { color: var(--accent); }
    }
  }

  & .footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem;
    color: var(--text-on-dark-muted);
    font-size: .9rem;

    & a { transition: color var(--transition); &:hover { color: var(--accent); } }
    & i { margin-right: .4rem; color: var(--teal-light); }
  }

  & .footer-bottom {
    margin-top: 1.4rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--border-dark);
    width: 100%;

    & p { margin: 0; color: var(--text-on-dark-muted); font-size: .85rem; }
  }
}


.legal-container { max-width: 860px; }
.legal-meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 2.5rem; }
.legal-section {
  margin-bottom: 2.2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--border-light);
  &:last-child { border-bottom: none; }
  & h2, & h3 { font-size: 1.2rem; margin-bottom: .6rem; }
}


.thanks { padding-top: clamp(8rem, 14vw, 10rem); }
.thanks-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thanks-check {
  margin-bottom: 1.8rem;
  & .check-circle {
    stroke: var(--teal);
    stroke-dasharray: 340;
    stroke-dashoffset: 340;
    animation: drawCircle 0.7s ease forwards;
  }
  & .check-mark {
    stroke: var(--teal);
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: drawMark .5s ease forwards .7s;
  }
}

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

.thanks-title {
  opacity: 0;
  animation: fadeUp .6s ease forwards 1.2s;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}
.thanks-text {
  opacity: 0;
  animation: fadeUp .6s ease forwards 1.4s;
}
.thanks-inner .btn {
  opacity: 0;
  animation: fadeUp .6s ease forwards 1.6s;
}

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


.cookie-bell {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--text-on-dark);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  z-index: 400;
  transition: transform var(--transition), box-shadow var(--transition);

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

  & .cookie-bell-badge {
    position: absolute;
    top: -3px; right: -3px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--paper);
  }
}

.cookie-panel {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 401;
  background: var(--paper-card);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  max-width: 640px;
  margin: 0 auto;
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.4,0,.2,1);

  &.cookie-panel--open { transform: translateY(0); }

  & h3 { font-size: 1.2rem; margin-bottom: .5rem; }
  & > p { font-size: .92rem; margin-bottom: 1.4rem; }

  & .cookie-panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 0;
    border-bottom: 1px solid var(--border-light);
    gap: 1rem;

    &:last-of-type { border-bottom: none; }

    & div { flex: 1; }
    & strong { display: block; font-size: .95rem; margin-bottom: .15rem; }
    & span { font-size: .82rem; color: var(--text-muted); }
  }

  & .cookie-toggle {
    position: relative;
    width: 46px; height: 26px;
    flex-shrink: 0;
    background: var(--border-light);
    border-radius: 20px;
    border: none;
    transition: background var(--transition);

    &::after {
      content: '';
      position: absolute;
      top: 3px; left: 3px;
      width: 20px; height: 20px;
      border-radius: 50%;
      background: #fff;
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition);
    }
    &.is-on { background: var(--teal); }
    &.is-on::after { transform: translateX(20px); }
    &:disabled { opacity: .6; cursor: not-allowed; }
  }

  & .cookie-panel-actions {
    display: flex;
    gap: .9rem;
    margin-top: 1.6rem;

    @media (max-width: 480px) { flex-direction: column; }
  }
}

@media (max-width: 640px) {
  .cookie-bell { bottom: 1.1rem; right: 1.1rem; }
}