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

:root {
  --color-cream: #FAF4EC;
  --color-cream-soft: #F3E8DA;
  --color-surface-raised: #FFFDF9;
  --color-espresso: #2E211B;
  --color-espresso-soft: #5B4B41;
  --color-terracotta: #C1613F;
  --color-terracotta-dark: #9E4A2E;
  --color-terracotta-light: #E3906E;
  --color-ochre: #D9A441;
  --color-sage: #7C8B6F;
  --color-border: rgba(46, 33, 27, 0.12);

  --shadow-sm: 0 1px 2px rgba(46, 33, 27, 0.06), 0 1px 1px rgba(46, 33, 27, 0.04);
  --shadow-md: 0 8px 24px rgba(46, 33, 27, 0.10), 0 2px 6px rgba(46, 33, 27, 0.06);
  --shadow-lg: 0 24px 60px rgba(46, 33, 27, 0.16), 0 8px 20px rgba(46, 33, 27, 0.08);
  --shadow-glow: 0 0 0 1px rgba(193, 97, 63, 0.15), 0 12px 30px rgba(193, 97, 63, 0.18);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

img { max-width: 100%; display: block; border-radius: var(--radius-md); }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-display {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw + 1rem, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--color-espresso);
  margin: 0 0 20px;
}

.text-display-sm {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.9rem, 3vw + 1rem, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--color-espresso);
  margin: 0 0 16px;
}

.text-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem);
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--color-espresso);
}

.text-heading-sm {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--color-espresso);
}

.text-body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-espresso-soft);
  margin: 0 0 14px;
}

.text-caption {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terracotta-dark);
  margin: 0 0 12px;
}

.surface { background: var(--color-cream); }
.surface-raised { background: var(--color-surface-raised); box-shadow: var(--shadow-md); border-radius: var(--radius-md); }
.surface-inset { background: var(--color-cream-soft); }

.space-section { padding: clamp(64px, 9vw, 128px) 0; }
.space-card { padding: clamp(24px, 3vw, 36px); }

.action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  min-height: 44px;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-dark));
  color: var(--color-surface-raised);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;

  &:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(193, 97, 63, 0.28), 0 6px 14px rgba(193, 97, 63, 0.2);
    filter: brightness(1.04);
  }
  &:active { transform: translateY(-1px); }
}

.action-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  min-height: 44px;
  border: none;
  background: transparent;
  color: var(--color-espresso);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease, gap 0.3s ease;

  &:hover {
    border-color: var(--color-terracotta);
    color: var(--color-terracotta-dark);
    gap: 14px;
  }
}


.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 500; padding: 18px 20px 0; }

.nav-float {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 12px 20px;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;

  &.is-scrolled {
    background: rgba(250, 244, 236, 0.72);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46, 33, 27, 0.08);
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-espresso);

  &__mark { width: 34px; height: 34px; border-radius: 0; }
  &__text { white-space: nowrap; }
}

.nav-desktop { display: none; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;

  & a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-espresso-soft);
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
  }
  & a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--color-terracotta);
    transition: width 0.3s ease;
  }
  & a:hover { color: var(--color-espresso); }
  & a:hover::after { width: 100%; }
}

.nav-cta { display: none; padding: 12px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--color-surface-raised);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;

  & span {
    width: 20px;
    height: 2px;
    background: var(--color-espresso);
    margin: 0 auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  &:hover { box-shadow: var(--shadow-md); }
  &.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  &.is-active span:nth-child(2) { opacity: 0; }
  &.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

.nav-mobile-panel {
  max-width: 1200px;
  margin: 8px auto 0;
  max-height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface-raised);
  box-shadow: var(--shadow-lg);
  transition: max-height 0.5s ease;

  & ul {
    list-style: none;
    margin: 0;
    padding: 14px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  & a {
    display: block;
    padding: 12px 8px;
    font-weight: 500;
    color: var(--color-espresso);
    border-radius: var(--radius-sm);
    transition: background 0.3s ease, padding-left 0.3s ease;
  }
  & a:hover { background: var(--color-cream-soft); padding-left: 16px; }
  & .action-primary { text-align: center; margin-top: 8px; }
}

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}


.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 18vw, 220px) 0 clamp(80px, 10vw, 120px);
  background: linear-gradient(160deg, #F6ECDF 0%, #EFDFC9 45%, #E4CBAE 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow { color: var(--color-terracotta-dark); }
.hero__title { max-width: 16ch; }
.hero__subtitle { max-width: 46ch; font-size: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 22px; }
.hero__note { display: flex; align-items: center; gap: 8px; color: var(--color-espresso-soft); }

.hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: heroFadeUp 0.9s ease both;
  animation-delay: 0.15s;

  & img { border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
}

.hero__content { animation: heroFadeUp 0.9s ease both; }

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

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; }
}


.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head .text-display { margin-bottom: 12px; }


.process-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  position: relative;
}

.process-step {
  background: var(--color-surface-raised);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  &__number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--color-terracotta);
    letter-spacing: 0.1em;
  }
  &__icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--color-cream-soft), var(--color-cream));
    display: flex; align-items: center; justify-content: center;
    color: var(--color-terracotta-dark);
    font-size: 1.3rem;
    margin: 14px 0 18px;
  }
  &:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
}

@media (min-width: 700px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}


.zigzag__row {
  display: grid;
  gap: 36px;
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 96px);

  &:last-child { margin-bottom: 0; }
}
.zigzag__media img { box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.zigzag__content { max-width: 52ch; }

@media (min-width: 900px) {
  .zigzag__row { grid-template-columns: 1fr 1fr; }
  .zigzag__row--reverse .zigzag__media { order: 2; }
  .zigzag__row--reverse .zigzag__content { order: 1; }
}


.features-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
}
.feature-item {
  display: flex;
  gap: 18px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--color-border);

  &__icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: var(--radius-sm);
    background: var(--color-surface-raised);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-terracotta-dark);
    font-size: 1.15rem;
    box-shadow: var(--shadow-sm);
  }
}
@media (min-width: 800px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-item:nth-child(odd) { border-right: 1px solid var(--color-border); padding-right: 28px; }
  .feature-item:nth-child(even) { padding-left: 28px; }
}


.about-split {
  display: grid;
  gap: 40px;
  align-items: center;
}
.about-split__media img { box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .about-split { grid-template-columns: 0.9fr 1.1fr; }
}


.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-espresso) 0%, #45332A 60%, var(--color-terracotta-dark) 130%);
  color: var(--color-cream);
  border-radius: var(--radius-lg);
  margin: 0 24px;
  width: auto;
}
.cta-band__grain {
  position: absolute; inset: 0; opacity: 0.18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cta-band__inner { position: relative; z-index: 2; text-align: center; max-width: 620px; margin: 0 auto; }
.cta-band .text-display-sm { color: var(--color-cream); }
.cta-band .text-body { color: rgba(250, 244, 236, 0.8); }

@media (min-width: 700px) {
  .cta-band { margin: 0 auto; max-width: 1152px; }
}


.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(130px, 16vw, 190px) 0 clamp(56px, 7vw, 90px);
  background: linear-gradient(160deg, #F6ECDF 0%, #EEDFC9 100%);

  &--compact { padding-bottom: 40px; }
}
.page-hero__grain {
  position: absolute; inset: 0; opacity: 0.4; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.page-hero__inner { position: relative; z-index: 2; max-width: 720px; }


.not-split { display: grid; gap: 40px; }
.not-split__media img { box-shadow: var(--shadow-lg); aspect-ratio: 3/4; object-fit: cover; width: 100%; position: sticky; top: 120px; }
.not-item {
  display: flex; gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
  &:last-child { border-bottom: none; }
  &__icon {
    flex-shrink: 0; width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--color-terracotta-light), var(--color-terracotta));
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
  }
}
@media (min-width: 900px) {
  .not-split { grid-template-columns: 0.85fr 1.15fr; }
}

.recap-box {
  max-width: 720px;
  text-align: center;
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-md);
}


.news-split { display: grid; gap: 40px; }
.news-split__media img { box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; position: sticky; top: 120px; }
.news-entry {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  &:last-child { border-bottom: none; }
}
@media (min-width: 900px) {
  .news-split { grid-template-columns: 0.8fr 1.2fr; }
}


.legal-doc { max-width: 780px; margin: 0 auto; }
.legal-block { margin-bottom: 40px; }
.legal-dl {
  & dt { font-family: var(--font-heading); font-weight: 700; color: var(--color-espresso); margin-top: 14px; }
  & dd { margin: 4px 0 0; color: var(--color-espresso-soft); }
}
.table-data {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;

  & th, & td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
  & th { background: var(--color-espresso); color: var(--color-cream); font-family: var(--font-heading); }
  & tbody tr:nth-child(even) { background: var(--color-cream-soft); }
}


.contact-grid { display: grid; gap: 44px; }
.contact-form-wrap { background: var(--color-surface-raised); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); }
.contact-form { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-weight: 500; font-size: 0.92rem; color: var(--color-espresso); }
.form-input, .form-textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--color-cream);
  color: var(--color-espresso);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  min-height: 44px;

  &:focus { outline: none; border-color: var(--color-terracotta); box-shadow: 0 0 0 4px rgba(193, 97, 63, 0.14); }
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-checkbox-field {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem;
  color: var(--color-espresso-soft);
  & input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--color-terracotta); flex-shrink: 0; }
  & a { color: var(--color-terracotta-dark); text-decoration: underline; }
}
.contact-form__submit { align-self: flex-start; margin-top: 4px; }

.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact-side__card { background: var(--color-cream-soft); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); }
.contact-side__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-side__list a, .contact-side__list li { display: flex; align-items: center; gap: 10px; color: var(--color-espresso-soft); }
.contact-side__map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.contact-side__map iframe { display: block; }

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


.thanks-section { min-height: 60vh; }
.thanks-container { max-width: 640px; text-align: center; margin: 0 auto; }
.thanks-timeline { text-align: left; margin-top: 48px; display: flex; flex-direction: column; gap: 0; }
.thanks-timeline__item {
  display: flex; gap: 18px;
  padding: 18px 0;
  border-left: 2px solid var(--color-border);
  padding-left: 24px;
  margin-left: 22px;
  position: relative;

  &:last-child { border-left-color: transparent; }
}
.thanks-timeline__marker {
  position: absolute; left: -23px; top: 14px;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-cream-soft);
  color: var(--color-espresso-soft);
  box-shadow: var(--shadow-sm);
}
.thanks-timeline__item.is-done .thanks-timeline__marker { background: var(--color-sage); color: #fff; }
.thanks-timeline__item.is-current .thanks-timeline__marker { box-shadow: 0 0 0 6px rgba(124, 139, 111, 0.18), var(--shadow-md); }
.thanks-timeline__item.is-upcoming .thanks-timeline__marker { background: var(--color-cream-soft); color: var(--color-espresso-soft); }


.site-footer { background: var(--color-espresso); color: rgba(250, 244, 236, 0.82); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250, 244, 236, 0.12);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer-brand__mark { width: 40px; height: 40px; }
.footer-brand .text-body { color: rgba(250, 244, 236, 0.65); }
.footer-col h3 { color: rgba(250, 244, 236, 0.9); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col li, .footer-col a { color: rgba(250, 244, 236, 0.65); display: flex; align-items: center; gap: 8px; font-size: 0.94rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--color-terracotta-light); }
.footer-bottom { padding: 22px 24px 28px; text-align: center; }
.footer-bottom .text-caption { color: rgba(250, 244, 236, 0.5); text-transform: none; letter-spacing: 0; }

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); padding-left: 24px; padding-right: 24px; }
}
.footer-grid { padding-left: 24px; padding-right: 24px; }


.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }


.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,97,63,0.85), rgba(193,97,63,0));
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  mix-blend-mode: multiply;
}
.cursor-trail.is-active { opacity: 1; }


.cookie-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;
  background: var(--color-espresso);
  color: rgba(250, 244, 236, 0.92);
  padding: 16px 24px;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);

  &.is-visible { transform: translateY(0); }
}
.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner__text { font-size: 0.9rem; max-width: 640px; color: rgba(250, 244, 236, 0.8); }
.cookie-banner__text a { color: var(--color-terracotta-light); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(250,244,236,0.25);
  background: transparent;
  color: rgba(250,244,236,0.9);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  min-height: 40px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;

  &:hover { transform: translateY(-2px); border-color: rgba(250,244,236,0.5); }
}
.cookie-btn--accept { background: var(--color-terracotta); border-color: var(--color-terracotta); color: #fff; }
.cookie-btn--accept:hover { background: var(--color-terracotta-dark); }

.cookie-modal-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(46, 33, 27, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;

  &.is-visible { opacity: 1; pointer-events: auto; }
}
.cookie-modal {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 560px;
  width: 100%;
  max-height: 84vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.cookie-modal h2 { font-family: var(--font-heading); margin-top: 0; }
.cookie-modal-cat {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-border);
}
.cookie-modal-cat:last-of-type { border-bottom: none; }
.cookie-modal-cat h3 { margin: 0 0 6px; font-size: 1rem; }
.cookie-modal-cat p { margin: 0; font-size: 0.88rem; color: var(--color-espresso-soft); }
.cookie-switch { position: relative; display: inline-block; width: 44px; height: 26px; flex-shrink: 0; }
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch span {
  position: absolute; inset: 0; background: #ddd0bf; border-radius: var(--radius-pill);
  transition: background 0.3s ease; cursor: pointer;
}
.cookie-switch span::before {
  content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform 0.3s ease;
}
.cookie-switch input:checked + span { background: var(--color-terracotta); }
.cookie-switch input:checked + span::before { transform: translateX(18px); }
.cookie-switch input:disabled + span { opacity: 0.6; cursor: not-allowed; }
.cookie-modal__actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

@media (max-width: 700px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1; }
}