@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-bg: #FAF6F1;
  --color-bg-alt: #F1E8DC;
  --color-surface: #FFFDF9;
  --color-text: #2B2420;
  --color-text-soft: #6B5F52;
  --color-primary: #B5563C;
  --color-primary-dark: #8F3F2A;
  --color-secondary: #2F4858;
  --color-secondary-light: #486A7C;
  --color-accent: #D9A441;
  --color-accent-soft: #F0DBAB;
  --color-border: rgba(43, 36, 32, 0.09);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-1: 0 1px 2px rgba(43, 36, 32, 0.07), 0 1px 1px rgba(43, 36, 32, 0.05);
  --shadow-2: 0 6px 14px rgba(43, 36, 32, 0.09), 0 2px 6px rgba(43, 36, 32, 0.06);
  --shadow-3: 0 16px 32px rgba(43, 36, 32, 0.14), 0 6px 12px rgba(43, 36, 32, 0.08);
  --shadow-4: 0 28px 56px rgba(43, 36, 32, 0.20), 0 10px 20px rgba(43, 36, 32, 0.12);

  --font-heading: 'Figtree', sans-serif;
  --font-body: 'Figtree', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.1;
  margin: 0 0 var(--space-sm);
  font-weight: 700;
}

p { margin: 0 0 var(--space-sm); color: var(--color-text-soft); }

a { color: inherit; text-decoration: none; }

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

.u-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.u-hidden { display: none !important; }
.u-text-center { text-align: center; }

.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  min-height: 44px;

  &.c-btn--primary {
    background: var(--color-primary);
    color: #FFF6EF;
    box-shadow: var(--shadow-2);

    &:hover {
      background: var(--color-primary-dark);
      box-shadow: var(--shadow-3);
      transform: translateY(-3px);
    }
  }

  &.c-btn--ghost {
    background: transparent;
    color: var(--color-secondary);
    border: 1.5px solid var(--color-secondary);

    &:hover {
      background: var(--color-secondary);
      color: #fff;
      transform: translateY(-3px);
    }
  }
}

.c-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  &.c-card--low { box-shadow: var(--shadow-1); }
  &.c-card--high { box-shadow: var(--shadow-3); }

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

  &.c-card--quote {
    position: relative;
    border-left: 4px solid var(--color-accent);

    & .c-card--quote__mark {
      font-size: 1.6rem;
      color: var(--color-accent);
      margin-bottom: var(--space-sm);
    }
    & .c-card--quote__text {
      font-size: clamp(1.1rem, 1.5vw, 1.35rem);
      color: var(--color-text);
      font-weight: 500;
      line-height: 1.5;
    }
    & .c-card--quote__source {
      margin-top: var(--space-sm);
      font-size: 0.9rem;
      color: var(--color-text-soft);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
  }
}

.c-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 82vw);
  background: var(--color-secondary);
  color: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
  box-shadow: var(--shadow-4);
  overflow-y: auto;
  padding: var(--space-lg) var(--space-md);

  & .c-mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
  }
  & .c-mobile-menu__brand {
    font-weight: 700;
    font-size: 1.2rem;
  }
  & .c-mobile-menu__close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.25s ease;
    &:hover { background: rgba(255,255,255,0.25); }
  }
  & .c-mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  & .c-mobile-menu__link {
    padding: 0.9rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background 0.25s ease, padding-left 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    text-align: left;
    cursor: pointer;

    &:hover { background: rgba(255,255,255,0.1); padding-left: 0.9rem; }
    &.is-active { color: var(--color-accent); }
  }
  & .c-mobile-menu__dropdown {
    display: flex;
    flex-direction: column;
  }
  & .c-mobile-menu__submenu {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: max-height 0.35s ease;
    padding-left: 1rem;
  }
  & .c-mobile-menu__dropdown.is-open .c-mobile-menu__submenu {
    max-height: 300px;
  }
  & .c-mobile-menu__sublink {
    padding: 0.6rem 0.5rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    border-radius: var(--radius-sm);
    transition: background 0.25s ease, color 0.25s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    &:hover { background: rgba(255,255,255,0.1); color: #fff; }
  }
}

.c-shell-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 36, 32, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 500;
}

body.is-menu-open {
  & .c-shell-overlay { opacity: 1; pointer-events: auto; }
  & .c-mobile-menu { transform: translateX(0); }
  & .l-shell { transform: translateX(-260px) scale(0.95); }
}

.l-shell {
  position: relative;
  z-index: 1;
  background: var(--color-bg);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.c-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);

  &.is-visible { transform: translateY(0); }

  & .c-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }

  & .c-nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-secondary);
  }
  & .c-nav__logo-img { width: 32px; height: 32px; }

  & .c-nav__list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  & .c-nav__link {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: background 0.25s ease, color 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    min-height: 44px;

    &:hover { background: var(--color-bg-alt); }
    &.is-active { color: var(--color-primary); }
  }

  & .c-nav__dropdown {
    position: relative;

    &:hover .c-nav__dropdown-menu,
    &:focus-within .c-nav__dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
  }
  & .c-nav__dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 220px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-3);
    padding: 0.6rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
  }
  & .c-nav__dropdown-link {
    padding: 0.7rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text);
    transition: background 0.2s ease, padding-left 0.2s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    &:hover { background: var(--color-bg-alt); padding-left: 1rem; }
  }

  & .c-nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--color-bg-alt);
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
    &:hover { background: var(--color-accent-soft); }
  }

  @media (max-width: 960px) {
    & .c-nav__list { display: none; }
    & .c-nav__toggle { display: inline-flex; }
  }
}

.s-hero, .s-page-hero {
  position: relative;
  padding-top: var(--space-md);
}

.s-hero__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  position: relative;
  z-index: 5;
}
.s-hero__logo, .s-hero__logo:visited {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-secondary);
}
.s-hero__logo-img { width: 32px; height: 32px; }
.s-hero__toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
  &:hover { background: var(--color-accent-soft); }

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

.s-hero__sentinel { height: 1px; }

.s-hero {
  overflow: hidden;
  padding-bottom: var(--space-2xl);

  & .s-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: var(--space-xl);
    align-items: center;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-2xl);
    position: relative;
    z-index: 5;

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

  & .s-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }

  & .s-hero__title {
    font-size: clamp(2.6rem, 5.5vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
  }

  & .s-hero__lead {
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    max-width: 44ch;
    margin-bottom: var(--space-lg);
  }

  & .s-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  & .s-hero__quote { position: relative; }

  & .s-hero__image-wrap {
    margin-top: -3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-3);
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;

    & img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); }

    @media (max-width: 700px) {
      & img { height: 260px; }
    }
  }
}

.s-page-hero {
  padding-bottom: var(--space-xl);
  background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg));

  & .s-page-hero__inner {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-2xl);
    max-width: 900px;
  }

  & h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  & .s-page-hero__lead {
    font-size: clamp(1.05rem, 1.2vw, 1.2rem);
    max-width: 60ch;
  }
}

.s-widgets {
  padding: var(--space-2xl) 0;

  & .s-widgets__intro {
    max-width: 720px;
    margin-bottom: var(--space-xl);

    & h2, & .s-widgets__heading {
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      font-weight: 700;
    }
  }

  & .s-widgets__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);

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

.c-widget-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;

  & .c-widget-card__icon {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }
  & h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
  & p { font-size: 0.92rem; margin-bottom: 0; }

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

.s-feature {
  padding: var(--space-2xl) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);

  & .s-feature__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;

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

    &.s-feature__row--reverse {
      & .s-feature__media { order: 2; }
      & .s-feature__body { order: 1; }
      @media (max-width: 860px) {
        & .s-feature__media { order: 1; }
        & .s-feature__body { order: 2; }
      }
    }
  }

  & .s-feature__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2);

    & img { width: 100%; height: 360px; object-fit: cover; }

    @media (max-width: 700px) {
      & img { height: 240px; }
    }
  }

  & .s-feature__body {
    & .s-feature__number {
      display: inline-block;
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      color: var(--color-accent);
      margin-bottom: var(--space-sm);
    }
    & h2 {
      font-size: clamp(1.6rem, 2.8vw, 2.3rem);
      font-weight: 700;
      margin-bottom: var(--space-md);
    }
  }
}

.s-steps {
  padding: var(--space-2xl) 0;

  & .s-steps__intro {
    max-width: 720px;
    margin-bottom: var(--space-xl);

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

  & .s-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);

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

.c-step-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-2);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  & .c-step-card__number {
    position: absolute;
    top: -18px;
    left: var(--space-lg);
    background: var(--color-primary);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow-2);
  }

  & .c-step-card__icon {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin: var(--space-md) 0 var(--space-sm);
    display: block;
  }

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

.s-articles {
  padding: var(--space-2xl) 0;

  & .s-articles__intro {
    max-width: 720px;
    margin-bottom: var(--space-xl);
    & h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
  }

  & .s-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);

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

.c-article-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;

  & .c-article-card__image {
    height: 200px;
    overflow: hidden;
    & img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
  }

  & .c-article-card__tag {
    display: inline-block;
    margin: var(--space-md) var(--space-md) 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  & .c-article-card__title {
    margin: 0.6rem var(--space-md) 0;
    font-size: 1.25rem;
  }

  & .c-article-card__excerpt {
    margin: 0.5rem var(--space-md) var(--space-md);
    font-size: 0.95rem;
    flex-grow: 1;
  }

  & .c-article-card__link {
    margin: 0 var(--space-md) var(--space-md);
    font-weight: 700;
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.25s ease, color 0.25s ease;
  }

  &:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-4);
    & .c-article-card__image img { transform: scale(1.06); }
    & .c-article-card__link { gap: 0.7rem; color: var(--color-primary); }
  }
}

.s-faq-teaser {
  padding-bottom: var(--space-2xl);

  & .s-faq-teaser__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;

    & h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
    & .s-faq-teaser__text { max-width: 640px; }
  }
}

.s-category {
  padding: var(--space-lg) 0;

  & .s-category__card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-lg);

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

    &.s-category__card--reverse {
      & .s-category__media { order: 2; }
      & .s-category__body { order: 1; }
      @media (max-width: 860px) {
        & .s-category__media { order: 1; }
        & .s-category__body { order: 2; }
      }
    }
  }

  & .s-category__media {
    border-radius: var(--radius-md);
    overflow: hidden;
    & img { width: 100%; height: 300px; object-fit: cover; }
  }

  & .s-category__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
  }
}

.s-faq {
  padding: var(--space-xl) 0 var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.c-faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;

  & .c-faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: left;
    min-height: 44px;

    & i { transition: transform 0.3s ease; color: var(--color-primary); }
  }

  & .c-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 var(--space-lg);
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  &.is-open {
    box-shadow: var(--shadow-3);
    & .c-faq-item__answer {
      max-height: 500px;
      padding: 0 var(--space-lg) var(--space-lg);
    }
    & .c-faq-item__question i { transform: rotate(45deg); }
  }

  &:hover { box-shadow: var(--shadow-2); }
}

.s-contact {
  padding: var(--space-xl) 0 var(--space-2xl);

  & .s-contact__grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);

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

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

  & .s-contact__info p, & .s-contact__note p { font-size: 0.95rem; }
  & .s-contact__info p i { color: var(--color-primary); margin-right: 0.4rem; width: 18px; }

  & .s-contact__map { padding: 0; overflow: hidden; }
  & .s-contact__map-img { width: 100%; height: 220px; object-fit: cover; }

  & .s-contact__map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2);
  }
}

.c-chat {
  padding: var(--space-lg);

  & .c-chat__bubble {
    max-width: 80%;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    font-size: 0.98rem;

    &.c-chat__bubble--bot {
      background: var(--color-bg-alt);
      border-bottom-left-radius: 4px;
      color: var(--color-text);
    }
  }

  & .c-chat__form { display: flex; flex-direction: column; }

  & .c-chat__field {
    align-self: flex-end;
    max-width: 80%;
    margin-bottom: var(--space-md);
    width: 100%;

    & input[type="text"], & input[type="email"], & textarea {
      width: 100%;
      border: 1.5px solid var(--color-border);
      border-radius: var(--radius-md);
      border-bottom-right-radius: 4px;
      padding: 0.9rem 1.1rem;
      font-family: var(--font-body);
      font-size: 0.98rem;
      background: var(--color-primary);
      background: color-mix(in srgb, var(--color-primary) 10%, white);
      transition: border-color 0.25s ease, box-shadow 0.25s ease;
      resize: vertical;

      &:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(181, 86, 60, 0.15);
      }
    }

    &.c-chat__field--checkbox {
      align-self: stretch;
      max-width: 100%;

      & label {
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
        font-size: 0.9rem;
        color: var(--color-text-soft);
        cursor: pointer;
      }
      & input[type="checkbox"] {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
        accent-color: var(--color-primary);
        margin-top: 2px;
      }
      & a { color: var(--color-secondary); font-weight: 600; text-decoration: underline; }
    }
  }

  & .c-chat__submit {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    background: var(--color-secondary);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-2);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 44px;

    &:hover {
      background: var(--color-secondary-light);
      transform: translateY(-3px);
      box-shadow: var(--shadow-3);
    }
  }
}

.s-thanks {
  padding: var(--space-3xl) 0 var(--space-2xl);
  min-height: 60vh;
  display: flex;
  align-items: center;

  & .s-thanks__inner {
    max-width: 640px;
    text-align: center;
    margin: 0 auto;
  }

  & .s-thanks__quote {
    margin-bottom: var(--space-xl);
    & i { font-size: 1.5rem; color: var(--color-accent); margin-bottom: var(--space-sm); display: block; }
    & p { font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--color-text); font-weight: 500; margin: 0; }
  }

  & h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: var(--space-md); }
  & p:not(.s-thanks__quote p) { margin-bottom: var(--space-lg); }
}

.s-legal {
  padding: var(--space-2xl) 0 var(--space-3xl);
  max-width: 860px;

  & h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 0.4rem; }
  & .s-legal__updated {
    color: var(--color-text-soft);
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
    font-style: italic;
  }
  & h2 {
    font-size: 1.4rem;
    margin-top: var(--space-lg);
    color: var(--color-secondary);
  }
  & p { font-size: 1rem; }
  & a { color: var(--color-primary); font-weight: 600; text-decoration: underline; }
}

.c-footer {
  background: var(--color-secondary);
  color: rgba(255,255,255,0.85);
  margin-top: auto;
  padding-top: var(--space-2xl);

  & .c-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-xl);

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

  & .c-footer__brand {
    & .c-footer__logo {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-weight: 700;
      font-size: 1.2rem;
      color: #fff;
      margin-bottom: var(--space-sm);
    }
    & .c-footer__logo-img { width: 32px; height: 32px; }
    & p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
  }

  & .c-footer__col {
    & h4 {
      color: #fff;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: var(--space-sm);
    }
    & a, & p {
      display: block;
      color: rgba(255,255,255,0.72);
      font-size: 0.92rem;
      margin-bottom: 0.6rem;
      transition: color 0.25s ease, padding-left 0.25s ease;
    }
    & a:hover { color: #fff; padding-left: 0.3rem; }
    & p i { margin-right: 0.4rem; color: var(--color-accent); }
  }

  & .c-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: var(--space-md) 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
  }
}
.c-footer__bottom p {
  color: var(--color-surface);
}

.c-cookie {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-4);
  padding: 0.8rem 1rem 0.8rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 92vw;
  transition: border-radius 0.4s ease, padding 0.4s ease, width 0.4s ease, background 0.4s ease;

  & .c-cookie__text { font-size: 0.88rem; margin: 0; color: rgba(255,255,255,0.9); }

  & .c-cookie__actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  & button {
    border: none;
    cursor: pointer;
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    transition: background 0.25s ease, transform 0.25s ease;
    min-height: 38px;
  }

  & .c-cookie__btn-accept {
    background: var(--color-accent);
    color: #2B2420;
    &:hover { transform: translateY(-2px); background: #e5b559; }
  }
  & .c-cookie__btn-customize {
    background: rgba(255,255,255,0.15);
    color: #fff;
    &:hover { background: rgba(255,255,255,0.28); }
  }

  & .c-cookie__categories { display: none; }
  & .c-cookie__panel-actions { display: none; }

  &.c-cookie--expanded {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    width: min(480px, 92vw);
    max-width: 92vw;

    & .c-cookie__text { font-size: 0.95rem; margin-bottom: var(--space-md); }
    & .c-cookie__actions { display: none; }

    & .c-cookie__categories {
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      margin-bottom: var(--space-md);
    }

    & .c-cookie__category {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(255,255,255,0.08);
      border-radius: var(--radius-sm);
      padding: 0.7rem 1rem;

      & span { font-size: 0.9rem; }
      & input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--color-accent); }
    }

    & .c-cookie__panel-actions {
      display: flex;
      gap: 0.6rem;
      flex-wrap: wrap;
    }
  }

  @media (max-width: 640px) {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    border-radius: var(--radius-md);
    & .c-cookie__actions { justify-content: center; }
  }
}