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

:root {
  --clr-bg: #f2ede8;
  --clr-bg-alt: #ebe4dc;
  --clr-surface: rgba(255, 252, 248, 0.72);
  --clr-surface-dark: rgba(62, 40, 28, 0.65);
  --clr-primary: #8b4a2f;
  --clr-primary-light: #b5693f;
  --clr-primary-dark: #5c2e18;
  --clr-secondary: #4a6741;
  --clr-secondary-light: #6a8f60;
  --clr-accent: #c9863a;
  --clr-accent-light: #e8a85c;
  --clr-text: #2c1a0e;
  --clr-text-muted: #6b4e38;
  --clr-text-light: #f7f3ef;
  --clr-border-glass: rgba(255, 255, 255, 0.3);
  --clr-border-glass-strong: rgba(255, 255, 255, 0.5);
  --clr-highlight: rgba(201, 134, 58, 0.22);

  --shadow-sm: 0 1px 3px rgba(44, 26, 14, 0.08), 0 1px 2px rgba(44, 26, 14, 0.06);
  --shadow-md: 0 4px 12px rgba(44, 26, 14, 0.1), 0 2px 4px rgba(44, 26, 14, 0.07);
  --shadow-lg: 0 10px 30px rgba(44, 26, 14, 0.14), 0 4px 10px rgba(44, 26, 14, 0.08);
  --shadow-xl: 0 20px 50px rgba(44, 26, 14, 0.18), 0 8px 20px rgba(44, 26, 14, 0.1);
  --shadow-glass: 0 8px 32px rgba(44, 26, 14, 0.15), 0 2px 8px rgba(44, 26, 14, 0.08), inset 0 1px 0 rgba(255,255,255,0.4);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;

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

  --nav-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.canvas {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

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

a {
  color: var(--clr-primary);
  text-decoration: none;
  transition: color var(--transition);

  &:hover {
    color: var(--clr-primary-dark);
  }
}

h1, h2, h3, h4, h5 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  line-height: 1.2;
  color: var(--clr-text);
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

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

  &.container--narrow {
    max-width: 780px;
  }

  &.container--legal {
    max-width: 860px;
  }
}

.glass-card {
  background: var(--clr-surface);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--clr-border-glass);
  border-top: 1px solid var(--clr-border-glass-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;

  &.btn--primary {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 74, 47, 0.35), 0 1px 3px rgba(139, 74, 47, 0.2);

    &:hover {
      background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
      box-shadow: 0 8px 25px rgba(139, 74, 47, 0.45), 0 2px 6px rgba(139, 74, 47, 0.25);
      transform: translateY(-2px);
      color: #fff;
    }

    &:active {
      transform: translateY(0);
    }
  }

  &.btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);

    &:hover {
      background: rgba(255, 255, 255, 0.25);
      border-color: rgba(255, 255, 255, 0.75);
      color: #fff;
      transform: translateY(-2px);
    }
  }

  &.btn--ghost-dark {
    background: transparent;
    color: var(--clr-text);
    border: 1.5px solid rgba(44, 26, 14, 0.25);

    &:hover {
      background: rgba(44, 26, 14, 0.06);
      border-color: rgba(44, 26, 14, 0.4);
      transform: translateY(-2px);
    }
  }

  &.btn--full {
    width: 100%;
    justify-content: center;
  }

  &.btn--sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    min-height: 40px;
  }
}

.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--clr-text);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: var(--space-xl);

  &.centered {
    text-align: center;

    & .section-sub {
      margin: 0 auto;
    }
  }
}

.section-bg-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 74, 47, 0.04) 0%, rgba(74, 103, 65, 0.06) 100%);
  pointer-events: none;

  &.section-bg-layer--alt {
    background: linear-gradient(225deg, rgba(201, 134, 58, 0.07) 0%, rgba(139, 74, 47, 0.04) 100%);
  }
}

.highlight-text {
  & em, & strong {
    background: var(--clr-highlight);
    border-radius: 4px;
    padding: 0.05em 0.2em;
    font-style: normal;
  }
}

.highlighted {
  background: var(--clr-highlight);
  border-radius: 4px;
  padding: 0.1em 0.25em;
  transition: background var(--transition-slow);
}


.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);

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

  & .nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;

    & .nav-logo-img {
      width: 36px;
      height: 36px;
    }

    & .nav-logo-text {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-weight: 700;
      font-size: 1.1rem;
      color: #fff;
      transition: color var(--transition);
    }
  }

  & .nav-links {
    display: none;
    align-items: center;
    gap: var(--space-xs);
    list-style: none;

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

    & .nav-link {
      color: rgba(255, 255, 255, 0.88);
      font-size: 0.925rem;
      font-weight: 500;
      padding: 0.5rem 0.85rem;
      border-radius: 50px;
      text-decoration: none;
      transition: all var(--transition);
      letter-spacing: 0.01em;

      &:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
      }

      &.active {
        color: #fff;
        background: rgba(255, 255, 255, 0.18);
      }
    }
  }

  & .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;

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

    & span {
      display: block;
      width: 100%;
      height: 2px;
      background: rgba(255, 255, 255, 0.9);
      border-radius: 2px;
      transition: all var(--transition);
    }
  }

  &.nav-bar--scrolled {
    background: rgba(242, 237, 232, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(44, 26, 14, 0.12);

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

    & .nav-link {
      color: var(--clr-text-muted);

      &:hover, &.active {
        color: var(--clr-primary);
        background: rgba(139, 74, 47, 0.08);
      }
    }

    & .nav-hamburger span {
      background: var(--clr-text);
    }
  }

  &.nav-bar--solid {
    background: rgba(242, 237, 232, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(44, 26, 14, 0.1);

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

    & .nav-link {
      color: var(--clr-text-muted);

      &:hover, &.active {
        color: var(--clr-primary);
        background: rgba(139, 74, 47, 0.08);
      }
    }

    & .nav-hamburger span {
      background: var(--clr-text);
    }
  }
}


.drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: rgba(242, 237, 232, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: var(--space-sm) var(--space-md) calc(var(--space-lg) + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 40px rgba(44, 26, 14, 0.18), 0 -2px 10px rgba(44, 26, 14, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);

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

  & .drawer-handle {
    width: 40px;
    height: 4px;
    background: rgba(44, 26, 14, 0.2);
    border-radius: 2px;
    margin: 0 auto var(--space-md);
  }

  & .drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  & .drawer-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--clr-text);
    text-decoration: none;
    transition: all var(--transition);
    min-height: 52px;

    & i {
      width: 20px;
      color: var(--clr-primary);
    }

    &:hover {
      background: rgba(139, 74, 47, 0.08);
      color: var(--clr-primary);
    }
  }
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1999;
  background: rgba(44, 26, 14, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(2px);

  &.drawer-overlay--visible {
    opacity: 1;
    pointer-events: all;
  }
}


.stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  & .stage-bg {
    position: absolute;
    inset: 0;
    z-index: 0;

    & .stage-bg-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
  }

  & .stage-curtain {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgba(44, 26, 14, 0.72) 0%,
      rgba(92, 46, 24, 0.55) 40%,
      rgba(74, 103, 65, 0.45) 100%
    );
  }

  & .stage-midground {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
  }

  & .stage-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;

    &.stage-orb--1 {
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, var(--clr-accent) 0%, transparent 70%);
      top: -100px;
      right: -100px;
    }

    &.stage-orb--2 {
      width: 350px;
      height: 350px;
      background: radial-gradient(circle, var(--clr-secondary) 0%, transparent 70%);
      bottom: 0;
      left: -80px;
    }

    &.stage-orb--3 {
      width: 250px;
      height: 250px;
      background: radial-gradient(circle, var(--clr-primary-light) 0%, transparent 70%);
      top: 40%;
      left: 40%;
    }
  }

  & .stage-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 820px;
    padding: calc(var(--nav-h) + var(--space-xl)) var(--space-md) var(--space-xl);
    margin: 0 auto;
  }

  & .stage-scroll-hint {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
  }
}

.hero-atropos {
  width: 100%;
}

.hero-card {
  padding: clamp(1.5rem, 5vw, 3rem);
  background: rgba(255, 252, 248, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.45);

  & .hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-accent-light);
    margin-bottom: var(--space-sm);
    background: rgba(201, 134, 58, 0.2);
    padding: 0.3em 0.8em;
    border-radius: 50px;
  }

  & .hero-heading {
    font-size: clamp(2.4rem, 7vw, 5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    margin-bottom: var(--space-md);

    & .hero-accent {
      font-style: italic;
      color: var(--clr-accent-light);
    }
  }

  & .hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
  }

  & .hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }

  & .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  & .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    backdrop-filter: blur(8px);
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.65; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.9; }
}


.section-intro {
  padding: var(--space-2xl) 0;

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

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

  & .intro-text {
    & h2 {
      margin-bottom: var(--space-md);
    }

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

  & .intro-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 0;

    & .intro-img {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      transition: transform var(--transition-slow);
    }

    &:hover .intro-img {
      transform: scale(1.04);
    }

    & .intro-card-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(44, 26, 14, 0.75) 0%, transparent 100%);
      padding: var(--space-md);

      & .intro-card-label {
        color: #fff;
        font-size: 0.9rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }
    }
  }
}


.section-craft {
  position: relative;
  padding: var(--space-2xl) 0;

  & .craft-shelf {
    display: grid;
    gap: var(--space-md);

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

  & .craft-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    padding: 0;

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

    & .craft-icon-wrap {
      padding: var(--space-md) var(--space-md) 0;

      & .craft-icon {
        font-size: 1.6rem;
        color: var(--clr-primary);
      }
    }

    & .craft-img {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
      margin: var(--space-sm) 0 0;
    }

    & .craft-body {
      padding: var(--space-md);
      flex: 1;
      display: flex;
      flex-direction: column;

      & h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
      }

      & p {
        font-size: 0.95rem;
        color: var(--clr-text-muted);
        line-height: 1.7;
        flex: 1;
        margin-bottom: var(--space-sm);
      }

      & .craft-link {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--clr-primary);
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        margin-top: auto;
        transition: gap var(--transition), color var(--transition);

        &:hover {
          gap: 0.7rem;
          color: var(--clr-primary-dark);
        }
      }
    }
  }
}


.section-features {
  padding: var(--space-2xl) 0;

  & .feature-tabs-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  & .feature-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(44, 26, 14, 0.06);
    border-radius: 50px;
    width: fit-content;
    margin: 0 auto;

    & .tab-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.65rem 1.25rem;
      border-radius: 50px;
      border: none;
      background: transparent;
      font-family: 'Inter', sans-serif;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--clr-text-muted);
      cursor: pointer;
      transition: all var(--transition);
      min-height: 44px;

      &:hover {
        background: rgba(139, 74, 47, 0.08);
        color: var(--clr-primary);
      }

      &.active {
        background: #fff;
        color: var(--clr-primary);
        box-shadow: var(--shadow-md);
        font-weight: 600;
      }
    }
  }

  & .feature-tabs-content {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    min-height: 320px;

    & .tab-panel {
      display: none;
      animation: fadeIn 0.3s ease;

      &.active {
        display: block;
      }
    }

    & .tab-panel-inner {
      display: grid;
      gap: var(--space-lg);
      align-items: center;

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

      & h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
      }

      & p {
        color: var(--clr-text-muted);
        line-height: 1.75;
        margin-bottom: 0.75rem;
      }

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

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


.section-path {
  position: relative;
  padding: var(--space-2xl) 0;

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

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

  & .path-step {
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);

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

    & .path-number {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-size: 2rem;
      font-weight: 800;
      color: var(--clr-accent);
      opacity: 0.6;
      margin-bottom: 0.5rem;
    }

    & h3 {
      font-size: 1.1rem;
      margin-bottom: 0.6rem;
    }

    & p {
      font-size: 0.9rem;
      color: var(--clr-text-muted);
      line-height: 1.65;
    }
  }

  & .path-connector {
    display: none;
    color: var(--clr-accent);
    font-size: 1.2rem;
    opacity: 0.5;
    padding: 0 0.5rem;

    @media (min-width: 900px) {
      display: flex;
      align-items: center;
    }
  }
}


.section-finishing {
  padding: var(--space-2xl) 0;

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

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

  & .finishing-card {
    overflow: hidden;
    padding: 0;

    & .finishing-img {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      transition: transform var(--transition-slow);
    }

    &:hover .finishing-img {
      transform: scale(1.04);
    }
  }

  & .finishing-text {
    & h2 {
      margin-bottom: var(--space-md);
    }

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

    & .finishing-list {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      margin-top: var(--space-md);

      & li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.95rem;
        color: var(--clr-text);

        & i {
          color: var(--clr-secondary);
          font-size: 0.85rem;
          flex-shrink: 0;
        }
      }
    }
  }
}


.section-cta-band {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;

  & .cta-band-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-secondary) 100%);
    opacity: 0.08;
  }

  & .cta-band-card {
    text-align: center;
    padding: clamp(2rem, 6vw, 4rem);
    max-width: 640px;
    margin: 0 auto;

    & h2 {
      font-size: clamp(1.5rem, 3vw, 2rem);
      margin-bottom: 0.75rem;
    }

    & p {
      color: var(--clr-text-muted);
      margin-bottom: var(--space-lg);
      font-size: 1.05rem;
    }

    & .cta-band-btns {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-sm);
      justify-content: center;
    }
  }
}


.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + var(--space-2xl)) 0 var(--space-2xl);
  overflow: hidden;

  & .page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--clr-primary-dark) 0%, rgba(44, 26, 14, 0.85) 50%, var(--clr-secondary) 100%);
    z-index: 0;
  }

  &.page-hero--achievements .page-hero-bg {
    background: linear-gradient(135deg, #3a2418 0%, #5c3520 50%, #2d4428 100%);
  }

  &.page-hero--enroll .page-hero-bg {
    background: linear-gradient(135deg, #2d1a0d 0%, #8b4a2f 60%, #c9863a 100%);
  }

  &.page-hero--courses .page-hero-bg {
    background: linear-gradient(135deg, #1e2d1a 0%, #4a6741 60%, #8b4a2f 100%);
  }

  & .page-hero-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 252, 248, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
    max-width: 720px;

    & .page-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--clr-accent-light);
      margin-bottom: var(--space-sm);
    }

    & h1 {
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 800;
      color: #fff;
      margin-bottom: 0.75rem;
    }

    & p {
      font-size: 1.05rem;
      color: rgba(255, 255, 255, 0.82);
      line-height: 1.7;
    }
  }
}


.section-achievements-intro {
  padding: var(--space-2xl) 0;

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

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

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

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

  & .achievements-intro-card {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);

    & .achievement-summary-item {
      display: flex;
      align-items: flex-start;
      gap: var(--space-sm);

      & i {
        font-size: 1.3rem;
        color: var(--clr-primary);
        margin-top: 2px;
        flex-shrink: 0;
      }

      & strong {
        display: block;
        font-weight: 600;
        margin-bottom: 0.2rem;
      }

      & span {
        font-size: 0.9rem;
        color: var(--clr-text-muted);
      }
    }
  }
}

.section-milestone-paths {
  position: relative;
  padding: var(--space-2xl) 0;

  & .milestone-pathways {
    display: grid;
    gap: var(--space-md);

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

  & .milestone-pathway-card {
    padding: var(--space-lg);

    & .milestone-pathway-header {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: var(--space-lg);

      & i {
        font-size: 1.4rem;
        color: var(--clr-primary);
      }

      & h3 {
        font-size: 1.15rem;
      }
    }

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

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

      & .milestone-dot {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(44, 26, 14, 0.08);
        border: 2px solid rgba(44, 26, 14, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        color: var(--clr-text-muted);
        flex-shrink: 0;
        margin-top: 2px;
      }

      &.milestone-item--done .milestone-dot {
        background: var(--clr-secondary);
        border-color: var(--clr-secondary);
        color: #fff;
      }

      &.milestone-item--active .milestone-dot {
        background: var(--clr-accent);
        border-color: var(--clr-accent);
        color: #fff;
      }

      & .milestone-content {
        & strong {
          display: block;
          font-size: 0.95rem;
          margin-bottom: 0.2rem;
        }

        & p {
          font-size: 0.85rem;
          color: var(--clr-text-muted);
          line-height: 1.55;
        }
      }
    }
  }
}

.section-crossskills {
  padding: var(--space-2xl) 0;

  & .crossskill-shelf {
    display: grid;
    gap: var(--space-md);

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

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

  & .crossskill-card {
    padding: var(--space-lg) var(--space-md);
    transition: transform var(--transition), box-shadow var(--transition);

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

    & .crossskill-icon {
      font-size: 1.8rem;
      color: var(--clr-primary);
      margin-bottom: var(--space-sm);
    }

    & h3 {
      font-size: 1.05rem;
      margin-bottom: 0.5rem;
    }

    & p {
      font-size: 0.9rem;
      color: var(--clr-text-muted);
      line-height: 1.65;
    }
  }
}


.section-enroll-options {
  padding: var(--space-2xl) 0;

  & .enroll-tracks {
    display: grid;
    gap: var(--space-md);

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

  & .enroll-track-card {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    transition: transform var(--transition), box-shadow var(--transition);

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

    & .enroll-track-badge {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.3em 0.8em;
      border-radius: 50px;
      background: rgba(139, 74, 47, 0.12);
      color: var(--clr-primary);
      width: fit-content;

      &.enroll-track-badge--mid {
        background: rgba(74, 103, 65, 0.12);
        color: var(--clr-secondary);
      }
    }

    & h3 {
      font-size: 1.4rem;
    }

    & p {
      color: var(--clr-text-muted);
      line-height: 1.7;
      flex: 1;
    }

    & .enroll-track-includes {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-top: 0.5rem;

      & li {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        font-size: 0.9rem;

        & i {
          color: var(--clr-secondary);
          font-size: 0.8rem;
          flex-shrink: 0;
        }
      }
    }
  }
}

.section-enroll-form {
  padding: var(--space-xl) 0 var(--space-2xl);

  & .enroll-form-card {
    padding: clamp(1.5rem, 5vw, 3rem);

    & .enroll-form-header {
      margin-bottom: var(--space-lg);
      text-align: center;

      & h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
      }

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


.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: var(--space-md);

  & label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-text);
  }

  & input[type="text"],
  & input[type="email"],
  & input[type="tel"],
  & select,
  & textarea {
    padding: 0.85rem 1rem;
    border: 1.5px solid rgba(44, 26, 14, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--clr-text);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
    min-height: 48px;
    outline: none;

    &::placeholder {
      color: rgba(107, 78, 56, 0.5);
    }

    &:focus {
      border-color: var(--clr-primary);
      box-shadow: 0 0 0 3px rgba(139, 74, 47, 0.12);
      background: rgba(255, 255, 255, 0.9);
    }

    &:invalid:not(:placeholder-shown) {
      border-color: #c94a4a;
    }
  }

  & select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b4e38' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
  }

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

  & .form-helper {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    line-height: 1.4;
  }

  &.form-group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;

    & .checkbox-label {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 400;
      line-height: 1.5;

      & input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
      }

      & .checkbox-custom {
        width: 20px;
        height: 20px;
        min-width: 20px;
        border: 1.5px solid rgba(44, 26, 14, 0.25);
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all var(--transition);
        margin-top: 1px;
      }

      & input[type="checkbox"]:checked ~ .checkbox-custom {
        background: var(--clr-primary);
        border-color: var(--clr-primary);

        &::after {
          content: '';
          display: block;
          width: 5px;
          height: 9px;
          border: 2px solid #fff;
          border-top: none;
          border-left: none;
          transform: rotate(45deg) translateY(-1px);
        }
      }

      & input[type="checkbox"]:focus-visible ~ .checkbox-custom {
        box-shadow: 0 0 0 3px rgba(139, 74, 47, 0.2);
      }
    }

    & .form-helper {
      width: 100%;
    }
  }
}

.contact-form-card {
  padding: clamp(1.5rem, 5vw, 3rem);
}


.contact-main {
  padding-top: var(--nav-h);
}

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

  & .contact-header {
    margin-bottom: var(--space-xl);

    & h1 {
      font-size: clamp(2rem, 5vw, 3rem);
      margin-bottom: 0.75rem;
    }

    & .page-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--clr-primary);
      margin-bottom: var(--space-sm);
    }

    & p {
      color: var(--clr-text-muted);
      font-size: 1.05rem;
    }
  }
}

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

  & .contact-info-grid {
    display: grid;
    gap: var(--space-md);
    align-items: start;

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

  & .contact-office-card {
    padding: var(--space-lg);

    & h2 {
      font-size: 1.4rem;
      margin-bottom: var(--space-sm);
    }

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

    & .contact-detail-list {
      display: flex;
      flex-direction: column;
      gap: var(--space-sm);
    }

    & .contact-detail-item {
      display: flex;
      align-items: flex-start;
      gap: var(--space-sm);

      & i {
        color: var(--clr-primary);
        font-size: 1rem;
        margin-top: 3px;
        flex-shrink: 0;
      }

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

      & span, & a {
        font-size: 0.95rem;
        color: var(--clr-text);
      }
    }
  }

  & .contact-map-wrap {
    padding: var(--space-sm);
    overflow: hidden;
  }
}


.thanks-main {
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - var(--nav-h));
}

.thanks-section {
  padding: var(--space-2xl) 0;
  width: 100%;
}

.thanks-card {
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;

  & .thanks-animation {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-lg);
  }

  & .thanks-checkmark {
    width: 80px;
    height: 80px;
  }

  & .thanks-circle {
    stroke: var(--clr-secondary);
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    animation: drawCircle 0.7s ease forwards;
  }

  & .thanks-check {
    stroke: var(--clr-secondary);
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawCheck 0.4s ease 0.7s forwards;
  }

  & .thanks-heading {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: fadeIn 0.5s ease 1.1s forwards;
  }

  & .thanks-sub {
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeIn 0.5s ease 1.3s forwards;
  }

  & .thanks-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.5s ease 1.5s forwards;
  }
}

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

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


.section-course-catalog {
  padding: var(--space-2xl) 0;

  & .course-discipline-group {
    margin-bottom: var(--space-2xl);

    &:last-child {
      margin-bottom: 0;
    }

    & .course-discipline-label {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: var(--space-lg);
      padding-bottom: var(--space-sm);
      border-bottom: 2px solid rgba(44, 26, 14, 0.08);

      & i {
        font-size: 1.3rem;
        color: var(--clr-primary);
      }

      & h3 {
        font-size: 1.3rem;
      }
    }
  }

  & .course-gallery {
    display: grid;
    gap: var(--space-md);

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

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

  & .course-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    padding: 0;

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

    & .course-card-top {
      padding: var(--space-md);
      color: #fff;

      &.course-card-top--knit {
        background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
      }

      &.course-card-top--crochet {
        background: linear-gradient(135deg, var(--clr-secondary) 0%, #2d4428 100%);
      }

      &.course-card-top--weave {
        background: linear-gradient(135deg, #7a5230 0%, #4a3020 100%);
      }

      &.course-card-top--cross {
        background: linear-gradient(135deg, var(--clr-accent) 0%, #8a5a20 100%);
      }

      & .course-level-tag {
        display: inline-block;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        padding: 0.25em 0.7em;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.2);
        margin-bottom: 0.5rem;
      }

      & h4 {
        font-size: 1.1rem;
        color: #fff;
      }
    }

    & .course-card-body {
      padding: var(--space-md);
      flex: 1;
      display: flex;
      flex-direction: column;

      & p {
        font-size: 0.9rem;
        color: var(--clr-text-muted);
        line-height: 1.65;
        margin-bottom: var(--space-sm);
      }

      & .course-modules {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        margin-bottom: var(--space-md);

        & li {
          display: flex;
          align-items: center;
          gap: 0.5rem;
          font-size: 0.85rem;
          color: var(--clr-text-muted);

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


.legal-main {
  padding-top: var(--nav-h);
  padding-bottom: var(--space-2xl);
}

.legal-doc {
  padding: var(--space-2xl) 0;

  & .legal-header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid rgba(44, 26, 14, 0.08);

    & h1 {
      font-size: clamp(2rem, 5vw, 3rem);
      margin-bottom: var(--space-sm);
    }

    & .legal-meta {
      font-size: 0.85rem;
      color: var(--clr-text-muted);
      margin-bottom: var(--space-sm);
    }

    & .legal-intro {
      color: var(--clr-text-muted);
      line-height: 1.75;
      font-size: 1.02rem;
    }
  }

  & .legal-section {
    margin-bottom: var(--space-xl);

    & h2 {
      font-size: 1.2rem;
      margin-bottom: var(--space-sm);
      color: var(--clr-primary-dark);
    }

    & h3 {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      margin-top: var(--space-md);
      color: var(--clr-text);
    }

    & p {
      color: var(--clr-text-muted);
      line-height: 1.75;
      margin-bottom: var(--space-sm);
    }

    & ul {
      list-style: disc;
      padding-left: 1.5rem;
      color: var(--clr-text-muted);
      line-height: 1.75;
      margin-bottom: var(--space-sm);

      & li {
        margin-bottom: 0.4rem;
      }
    }

    & address {
      background: rgba(44, 26, 14, 0.04);
      border-left: 3px solid var(--clr-accent);
      padding: var(--space-md);
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;

      & p {
        margin-bottom: 0.25rem;
        font-size: 0.95rem;
      }
    }
  }
}

.cookie-table-wrap {
  overflow-x: auto;
  margin: var(--space-md) 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 26, 14, 0.1);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;

  & thead {
    background: rgba(44, 26, 14, 0.06);

    & th {
      padding: 0.75rem 1rem;
      text-align: left;
      font-weight: 600;
      color: var(--clr-text);
      white-space: nowrap;
      border-bottom: 1px solid rgba(44, 26, 14, 0.1);
    }
  }

  & tbody tr {
    border-bottom: 1px solid rgba(44, 26, 14, 0.06);
    transition: background var(--transition);

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

    &:hover {
      background: rgba(44, 26, 14, 0.02);
    }

    & td {
      padding: 0.75rem 1rem;
      color: var(--clr-text-muted);
      vertical-align: top;
      line-height: 1.55;

      & code {
        font-family: monospace;
        background: rgba(44, 26, 14, 0.08);
        padding: 0.15em 0.4em;
        border-radius: 3px;
        font-size: 0.85em;
        color: var(--clr-text);
      }
    }
  }
}


.site-footer {
  background: linear-gradient(180deg, rgba(44, 26, 14, 0.97) 0%, rgba(28, 16, 8, 1) 100%);
  color: rgba(247, 243, 239, 0.75);
  padding: var(--space-2xl) 0 var(--space-md);
  margin-top: auto;

  & .footer-grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);

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

  & .footer-brand {
    & .footer-logo {
      width: 42px;
      height: 42px;
      margin-bottom: var(--space-sm);
      filter: brightness(0) invert(1) opacity(0.8);
    }

    & p {
      font-size: 0.9rem;
      line-height: 1.7;
      margin-bottom: var(--space-md);
    }

    & address p {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.875rem;
      margin-bottom: 0.4rem;

      & i {
        color: var(--clr-accent);
        width: 14px;
      }

      & a {
        color: rgba(247, 243, 239, 0.75);
        transition: color var(--transition);

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

  & .footer-nav-col {
    & h4 {
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--clr-accent-light);
      margin-bottom: var(--space-md);
    }

    & ul li {
      margin-bottom: 0.5rem;
    }

    & a {
      font-size: 0.9rem;
      color: rgba(247, 243, 239, 0.65);
      text-decoration: none;
      transition: color var(--transition);

      &:hover {
        color: #fff;
      }
    }
  }

  & .footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(247, 243, 239, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;

    & p {
      font-size: 0.8rem;
      color: rgba(247, 243, 239, 0.4);
    }
  }
}


.rbi-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(28, 16, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);

  &.rbi-cookie-bar--visible {
    transform: translateY(0);
  }

  & .rbi-cookie-bar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;

    @media (min-width: 900px) {
      flex-wrap: nowrap;
      padding: var(--space-sm) var(--space-md);
    }
  }

  & .rbi-cookie-text {
    font-size: 0.875rem;
    color: rgba(247, 243, 239, 0.8);
    line-height: 1.5;
    flex: 1;
    min-width: 200px;

    & a {
      color: var(--clr-accent-light);
      text-decoration: underline;

      &:hover {
        color: #fff;
      }
    }
  }

  & .rbi-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
  }

  & .rbi-btn-accept {
    padding: 0.6rem 1.2rem;
    background: var(--clr-accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    min-height: 40px;

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

  & .rbi-btn-reject {
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: rgba(247, 243, 239, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    min-height: 40px;

    &:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
    }
  }

  & .rbi-btn-customize {
    padding: 0.6rem 1rem;
    background: transparent;
    color: rgba(247, 243, 239, 0.55);
    border: none;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: underline;
    min-height: 40px;

    &:hover {
      color: rgba(247, 243, 239, 0.9);
    }
  }

  & .rbi-cookie-customize-panel {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.07);

    &.rbi-customize-open {
      display: block;
    }

    & .rbi-cookie-toggle-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: var(--space-md);
      margin-bottom: var(--space-sm);
      padding-bottom: var(--space-sm);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);

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

      & .rbi-toggle-label {
        & strong {
          display: block;
          font-size: 0.875rem;
          color: rgba(247, 243, 239, 0.9);
          margin-bottom: 0.2rem;
        }

        & span {
          font-size: 0.8rem;
          color: rgba(247, 243, 239, 0.5);
        }
      }

      & .rbi-toggle {
        position: relative;
        width: 42px;
        height: 24px;
        flex-shrink: 0;

        & input {
          position: absolute;
          opacity: 0;
          width: 0;
          height: 0;

          &:checked + .rbi-toggle-slider {
            background: var(--clr-accent);
          }

          &:checked + .rbi-toggle-slider::before {
            transform: translateX(18px);
          }
        }

        & .rbi-toggle-slider {
          position: absolute;
          inset: 0;
          background: rgba(255, 255, 255, 0.2);
          border-radius: 24px;
          cursor: pointer;
          transition: background var(--transition);

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

    & .rbi-save-prefs {
      margin-top: var(--space-sm);
      padding: 0.6rem 1.4rem;
      background: var(--clr-primary);
      color: #fff;
      border: none;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition);
      min-height: 40px;

      &:hover {
        background: var(--clr-primary-light);
      }
    }
  }
}


.spotlight {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(201, 134, 58, 0.4), rgba(139, 74, 47, 0.2), rgba(74, 103, 65, 0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition);
  }

  &:hover::before {
    opacity: 1;
  }
}


@media (max-width: 599px) {
  .section-intro .intro-grid,
  .section-finishing .finishing-grid {
    grid-template-columns: 1fr;
  }

  .section-intro .intro-visual {
    order: -1;
  }

  .hero-card .hero-cta-row {
    flex-direction: column;
  }

  .feature-tabs-nav {
    flex-direction: column;
    width: 100% !important;
    border-radius: var(--radius-md) !important;

    & .tab-btn {
      justify-content: flex-start;
    }
  }

  .path-grid {
    grid-template-columns: 1fr !important;

    & .path-connector {
      display: flex;
      justify-content: center;
      transform: rotate(90deg);
    }
  }
}

@media (max-width: 767px) {
  :root {
    --space-2xl: 4rem;
    --space-xl: 3rem;
  }
}