/* ============================================
   VORORLIX LAB - GLOBAL STYLESHEET
   Wabi-Sabi Digital / Swiss Structure
   ============================================ */


:root {
  --color-earth:     #5c4a2a;
  --color-moss:      #3d5a3e;
  --color-sand:      #f0e8d8;

  
  --color-earth-light:   color-mix(in oklch, var(--color-earth), white 60%);
  --color-earth-pale:    color-mix(in oklch, var(--color-earth), white 80%);
  --color-earth-dark:    color-mix(in oklch, var(--color-earth), black 30%);
  --color-moss-light:    color-mix(in oklch, var(--color-moss), white 55%);
  --color-moss-pale:     color-mix(in oklch, var(--color-moss), white 82%);
  --color-moss-dark:     color-mix(in oklch, var(--color-moss), black 30%);
  --color-sand-dark:     color-mix(in oklch, var(--color-sand), var(--color-earth) 20%);
  --color-sand-deeper:   color-mix(in oklch, var(--color-sand), var(--color-earth) 40%);
  --color-bg:            color-mix(in oklch, var(--color-sand), white 55%);
  --color-surface:       color-mix(in oklch, var(--color-sand), white 30%);
  --color-text:          color-mix(in oklch, var(--color-earth-dark), black 20%);
  --color-text-muted:    color-mix(in oklch, var(--color-earth), white 30%);
  --color-border:        color-mix(in oklch, var(--color-sand-dark), transparent 40%);

  
  --color-accent:        color-mix(in oklch, var(--color-moss), var(--color-earth) 20%);
  --color-accent-light:  color-mix(in oklch, var(--color-accent), white 65%);

  
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-pill: 999px;

  
  --shadow-sm:  0 1px 3px color-mix(in oklch, var(--color-earth), transparent 85%),
                0 1px 2px color-mix(in oklch, var(--color-earth), transparent 90%);
  --shadow-md:  0 4px 6px color-mix(in oklch, var(--color-earth), transparent 80%),
                0 2px 4px color-mix(in oklch, var(--color-earth), transparent 85%);
  --shadow-lg:  0 10px 25px color-mix(in oklch, var(--color-earth), transparent 75%),
                0 4px 10px color-mix(in oklch, var(--color-earth), transparent 82%);
  --shadow-xl:  0 20px 40px color-mix(in oklch, var(--color-earth), transparent 70%),
                0 8px 16px color-mix(in oklch, var(--color-earth), transparent 78%);

  
  --nav-height: 72px;
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

main { flex: 1; }

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

a {
  color: var(--color-moss-dark);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

ul { list-style: none; }

address { font-style: normal; }


:focus-visible {
  outline: 3px solid var(--color-moss);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Gabarito', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }
em { font-style: italic; }
code {
  font-family: monospace;
  background: var(--color-sand-dark);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  font-size: 0.9em;
}


.u-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

@media (min-width: 768px) {
  .u-container { padding: 0 var(--sp-8); }
}


.u-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-3);
}

.u-label--light { color: var(--color-moss-light); }
.u-hidden { display: none; }
.u-text-center { text-align: center; }

/* ============================================
   COMPONENT: NAVIGATION
   ============================================ */
.c-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.c-nav.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.c-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 var(--sp-6);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .c-nav__inner { padding: 0 var(--sp-8); }
}

.c-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.c-nav__menu { display: none; }

@media (min-width: 900px) {
  .c-nav__menu { display: block; }
}

.c-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.c-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
}

.c-nav__link:hover,
.c-nav__link.is-active {
  color: var(--color-moss-dark);
  background-color: var(--color-moss-pale);
}

.c-nav__border {
  height: 2px;
  background: linear-gradient(90deg, var(--color-moss), var(--color-accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.c-nav.is-scrolled .c-nav__border {
  transform: scaleX(1);
}

.c-nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: background-color 0.2s ease;
}

.c-nav__toggle:hover {
  background-color: var(--color-moss-pale);
}

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

.c-nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: var(--r-pill);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.c-nav__toggle.is-active .c-nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.c-nav__toggle.is-active .c-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.c-nav__toggle.is-active .c-nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


.c-nav__mobile {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.c-nav__mobile.is-open {
  max-height: 400px;
}

.c-nav__mobile-list {
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.c-nav__mobile-link {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--r-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.c-nav__mobile-link:hover,
.c-nav__mobile-link.is-active {
  color: var(--color-moss-dark);
  background-color: var(--color-moss-pale);
}

/* ============================================
   COMPONENT: BUTTONS
   ============================================ */
.c-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-lg);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}

.c-btn:hover { transform: translateY(-2px); }
.c-btn:active { transform: translateY(0); }

.c-btn--primary {
  background-color: var(--color-moss-dark);
  color: white;
  border-color: var(--color-moss-dark);
  box-shadow: var(--shadow-md);
}

.c-btn--primary:hover {
  background-color: var(--color-moss);
  color: white;
  box-shadow: var(--shadow-lg);
  border-color: var(--color-moss);
}

.c-btn--ghost {
  background-color: transparent;
  color: var(--color-moss-dark);
  border-color: var(--color-moss-dark);
}

.c-btn--ghost:hover {
  background-color: var(--color-moss-pale);
  color: var(--color-moss-dark);
}

.c-btn--ghost-light {
  background-color: transparent;
  color: var(--color-moss-pale);
  border-color: var(--color-moss-pale);
}

.c-btn--ghost-light:hover {
  background-color: color-mix(in oklch, var(--color-moss-pale), transparent 70%);
  color: white;
}

.c-btn--outline {
  background-color: transparent;
  color: var(--color-earth);
  border-color: var(--color-earth-light);
}

.c-btn--outline:hover {
  background-color: var(--color-earth-pale);
  border-color: var(--color-earth);
  color: var(--color-earth-dark);
}

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

/* ============================================
   SECTION: HERO
   ============================================ */
.s-hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--sp-16) 0;
}

.s-hero__bg-shape {
  position: absolute;
  border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
  opacity: 0.15;
  pointer-events: none;
}

.s-hero__bg-shape--1 {
  width: 600px;
  height: 600px;
  background: var(--color-moss);
  top: -100px;
  right: -150px;
}

.s-hero__bg-shape--2 {
  width: 400px;
  height: 400px;
  background: var(--color-earth);
  bottom: -80px;
  left: -100px;
  border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%;
}

.s-hero__texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235c4a2a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.s-hero__split {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 768px) {
  .s-hero__split {
    padding: 0 var(--sp-8);
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }
}

.s-hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-moss-pale);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-6);
  border: 1px solid var(--color-moss-light);
}

.s-hero__heading {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--sp-6);
  color: var(--color-text);
}

.s-hero__heading em {
  color: var(--color-moss-dark);
  font-style: normal;
  position: relative;
}

.s-hero__heading em::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: color-mix(in oklch, var(--color-moss), transparent 30%);
  border-radius: var(--r-pill);
  transform: scaleX(0.7) rotate(-1deg);
}

.s-hero__body {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  max-width: 48ch;
}

.s-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.s-hero__visual {
  position: relative;
}

.s-hero__img-frame {
  position: relative;
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .s-hero__img-frame {
    aspect-ratio: 3/4;
  }
}

.s-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.s-hero__img-frame:hover .s-hero__img {
  transform: scale(1.04);
}

.s-hero__img-badge {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  background: color-mix(in oklch, var(--color-bg), transparent 10%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid color-mix(in oklch, white, transparent 20%);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-moss-dark);
  box-shadow: var(--shadow-md);
}

.s-hero__img-badge i {
  color: var(--color-moss);
}

.s-hero__accent-shape {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 55% 45% 60% 40% / 40% 60% 40% 60%;
  background: var(--color-earth-pale);
  bottom: -20px;
  right: -20px;
  z-index: -1;
  border: 3px solid var(--color-earth-light);
}

.s-hero__scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  animation: bounceY 2s infinite ease-in-out;
}

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

/* ============================================
   SECTION: INTRO
   ============================================ */
.s-intro {
  padding: var(--sp-20) 0;
}

.s-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 768px) {
  .s-intro__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }
}

.s-intro__image-wrap {
  position: relative;
}

.s-intro__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
  box-shadow: var(--shadow-lg);
}

.s-intro__image-note {
  position: absolute;
  top: var(--sp-6);
  right: -var(--sp-4);
  background: var(--color-moss-dark);
  color: white;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  box-shadow: var(--shadow-md);
  right: var(--sp-4);
}

@media (min-width: 768px) {
  .s-intro__image-note {
    right: -var(--sp-8);
    right: calc(-1 * var(--sp-8));
  }
}

.s-intro__text h2 {
  margin-bottom: var(--sp-6);
}

.s-intro__text p {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-4);
}

.s-intro__text .c-btn {
  margin-top: var(--sp-4);
}

/* ============================================
   SECTION: SERVICES
   ============================================ */
.s-services {
  padding: var(--sp-20) 0;
  background-color: var(--color-surface);
}

.s-services__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--sp-12);
}

.s-services__heading {
  margin-bottom: var(--sp-4);
}

.s-services__sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.s-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 600px) {
  .s-services__grid { grid-template-columns: 1fr 1fr; }
}

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

.c-service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.c-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-moss-light), var(--color-moss-dark));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.c-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-moss-light);
}

.c-service-card:hover::before {
  opacity: 1;
}

.c-service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-moss-pale);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  font-size: 1.3rem;
  color: var(--color-moss-dark);
  transition: background-color 0.25s ease;
  border: 1px solid var(--color-moss-light);
}

.c-service-card:hover .c-service-card__icon {
  background: var(--color-moss-dark);
  color: white;
}

.c-service-card__title {
  font-size: 1.1rem;
  margin-bottom: var(--sp-3);
}

.c-service-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-3);
}

.c-service-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-moss-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: gap 0.2s ease;
}

.c-service-card__link:hover { gap: var(--sp-3); }

/* ============================================
   SECTION: PROCESS
   ============================================ */
.s-process {
  position: relative;
  padding: var(--sp-20) 0;
  overflow: hidden;
}

.s-process__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-moss-dark) 0%, color-mix(in oklch, var(--color-moss-dark), var(--color-earth-dark) 40%) 100%);
}

.s-process {
  color: white;
}

.s-process__header {
  text-align: center;
  margin-bottom: var(--sp-16);
  position: relative;
  z-index: 1;
}

.s-process__heading {
  color: white;
  margin-bottom: 0;
}

.s-process__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

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

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

.c-step {
  background: color-mix(in oklch, white, transparent 85%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid color-mix(in oklch, white, transparent 75%);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.c-step:hover {
  transform: translateY(-4px);
  background: color-mix(in oklch, white, transparent 80%);
}

.c-step__number {
  font-family: 'Gabarito', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: color-mix(in oklch, white, transparent 50%);
  line-height: 1;
  margin-bottom: var(--sp-4);
}

.c-step__title {
  font-size: 1.05rem;
  color: white;
  margin-bottom: var(--sp-3);
}

.c-step__content p {
  font-size: 0.88rem;
  color: color-mix(in oklch, white, transparent 20%);
  line-height: 1.65;
}

/* ============================================
   SECTION: GALLERY
   ============================================ */
.s-gallery {
  padding: var(--sp-20) 0;
}

.s-gallery__header {
  margin-bottom: var(--sp-10);
}

.s-gallery__heading {
  margin-bottom: 0;
}

.s-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .s-gallery__grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 280px 280px;
  }
}

.c-gallery-item {
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.c-gallery-item--large {
  grid-row: span 2;
}

@media (max-width: 767px) {
  .c-gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.c-gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  min-height: 200px;
}

.c-gallery-item:hover .c-gallery-item__img {
  transform: scale(1.05);
}

/* ============================================
   SECTION: VALUES
   ============================================ */
.s-values {
  padding: var(--sp-20) 0;
  background-color: var(--color-earth-pale);
  position: relative;
}

.s-values__header {
  text-align: center;
  max-width: 550px;
  margin: 0 auto var(--sp-12);
}

.s-values__heading { margin-bottom: 0; }

.s-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 600px) {
  .s-values__grid { grid-template-columns: 1fr 1fr; }
}

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

.c-value-card {
  background: color-mix(in oklch, var(--color-bg), transparent 10%);
  border: 1px solid color-mix(in oklch, var(--color-earth), transparent 70%);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-left: 4px solid var(--color-earth-light);
}

.c-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.c-value-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-earth-pale);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-earth);
  margin-bottom: var(--sp-3);
  border: 1px solid var(--color-earth-light);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.c-value-card:hover .c-value-card__icon {
  background: var(--color-earth);
  color: white;
}

.c-value-card__title {
  font-size: 1rem;
  margin-bottom: var(--sp-3);
}

.c-value-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================
   SECTION: CTA
   ============================================ */
.s-cta {
  position: relative;
  padding: var(--sp-24) 0;
  overflow: hidden;
}

.s-cta__texture {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    color-mix(in oklch, var(--color-earth), var(--color-sand) 30%) 0%,
    color-mix(in oklch, var(--color-moss-dark), var(--color-earth-dark) 30%) 100%
  );
}

.s-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.s-cta__icon-wrap {
  font-size: 3rem;
  color: color-mix(in oklch, white, transparent 20%);
  margin-bottom: var(--sp-6);
}

.s-cta__heading {
  color: white;
  margin-bottom: var(--sp-3);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.s-cta__text {
  color: color-mix(in oklch, white, transparent 15%);
  font-size: 1.05rem;
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.s-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

/* ============================================
   COMPONENT: FOOTER
   ============================================ */
.c-footer {
  background-color: var(--color-text);
  color: color-mix(in oklch, white, transparent 20%);
  padding: var(--sp-16) 0 0;
}

.c-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid color-mix(in oklch, white, transparent 85%);
}

@media (min-width: 600px) {
  .c-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .c-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.c-footer__logo {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: var(--sp-4);
}

.c-footer__tagline {
  font-size: 0.88rem;
  opacity: 0.75;
  margin-bottom: var(--sp-4);
  line-height: 1.6;
}

.c-footer__address {
  font-size: 0.85rem;
  opacity: 0.65;
  line-height: 1.7;
}

.c-footer__nav-title {
  font-family: 'Gabarito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  opacity: 0.5;
  margin-bottom: var(--sp-4);
}

.c-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.c-footer__nav-list a,
.c-footer__contact-list a {
  font-size: 0.88rem;
  color: color-mix(in oklch, white, transparent 30%);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) 0;
  min-height: 32px;
}

.c-footer__nav-list a:hover,
.c-footer__contact-list a:hover {
  color: white;
}

.c-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.c-footer__contact-list i {
  width: 16px;
  flex-shrink: 0;
}

.c-footer__legal {
  padding: var(--sp-8) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

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

.c-footer__legal-info p {
  font-size: 0.75rem;
  opacity: 0.55;
  line-height: 1.6;
  margin-bottom: 0;
}

.c-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.c-footer__legal-links a {
  font-size: 0.78rem;
  color: color-mix(in oklch, white, transparent 40%);
  transition: color 0.2s ease;
}

.c-footer__legal-links a:hover { color: white; }

.c-footer__copyright {
  font-size: 0.75rem;
  opacity: 0.45;
  margin-bottom: 0;
}

/* ============================================
   SECTION: PAGE HERO (inner pages)
   ============================================ */
.s-page-hero {
  position: relative;
  padding: var(--sp-20) 0 var(--sp-16);
  overflow: hidden;
}

.s-page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--color-moss-pale) 0%, var(--color-earth-pale) 100%);
}

.s-page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.s-page-hero__heading {
  margin-bottom: var(--sp-3);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
}

.s-page-hero__sub {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 55ch;
}

/* ============================================
   SECTION: STORY
   ============================================ */
.s-story {
  padding: var(--sp-20) 0;
}

.s-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

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

.s-story__heading { margin-bottom: var(--sp-6); }

.s-story__text p { color: var(--color-text-muted); }

.s-story__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 45% 55% 55% 45% / 55% 45% 55% 45%;
  box-shadow: var(--shadow-xl);
}

/* ============================================
   SECTION: TIMELINE
   ============================================ */
.s-timeline {
  padding: var(--sp-20) 0;
  background: var(--color-surface);
}

.s-timeline__header {
  margin-bottom: var(--sp-12);
}

.s-timeline__heading { margin-bottom: 0; }

.s-timeline__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: var(--sp-8);
  border-left: 2px solid var(--color-border);
}

@media (min-width: 768px) {
  .s-timeline__list {
    padding-left: var(--sp-12);
  }
}

.c-timeline-item {
  position: relative;
  padding: 0 0 var(--sp-10) var(--sp-8);
}

.c-timeline-item:last-child { padding-bottom: 0; }

.c-timeline-item__marker {
  position: absolute;
  left: calc(-1 * var(--sp-8) - 6px);
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--color-moss-dark);
  border-radius: 50%;
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-moss-light);
}

.c-timeline-item__year {
  display: inline-block;
  font-family: 'Gabarito', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-moss-dark);
  background: var(--color-moss-pale);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}

.c-timeline-item__content h3 { margin-bottom: var(--sp-3); }

.c-timeline-item__content p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* ============================================
   SECTION: TEAM
   ============================================ */
.s-team {
  padding: var(--sp-20) 0;
}

.s-team__header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto var(--sp-12);
}

.s-team__heading { margin-bottom: var(--sp-4); }

.s-team__sub {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 0;
}

.s-team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

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

.c-team-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: var(--color-surface);
}

.c-team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.c-team-card__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.c-team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.c-team-card:hover .c-team-card__img { transform: scale(1.05); }

.c-team-card__info {
  padding: var(--sp-3) var(--sp-6);
}

.c-team-card__name {
  font-size: 1rem;
  margin-bottom: var(--sp-1);
}

.c-team-card__role {
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================
   SECTION: MISSION QUOTE
   ============================================ */
.s-mission {
  padding: var(--sp-16) 0;
  background: var(--color-moss-dark);
}

.s-mission__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: var(--sp-4);
}

.s-mission__quote-mark {
  font-family: 'Gabarito', sans-serif;
  font-size: 6rem;
  line-height: 0.6;
  color: color-mix(in oklch, white, transparent 70%);
  margin-bottom: var(--sp-4);
}

.s-mission__text {
  font-size: 1.1rem;
  color: color-mix(in oklch, white, transparent 10%);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--sp-6);
}

.s-mission__attribution {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-moss-light);
}

/* ============================================
   SECTION: HOW-INTRO (come-lavoriamo)
   ============================================ */
.s-how-intro {
  padding: var(--sp-20) 0;
}

.s-how-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

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

.s-how-intro__text h2 { margin-bottom: var(--sp-3); }
.s-how-intro__text p { color: var(--color-text-muted); }

.s-how-intro__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   SECTION: SERVICE DETAIL
   ============================================ */
.s-service-detail {
  padding: var(--sp-20) 0;
  background: var(--color-surface);
}

.s-service-detail__header {
  margin-bottom: var(--sp-12);
}

.s-service-detail__header h2 { margin-bottom: 0; }

.s-service-detail__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.c-service-detail-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .c-service-detail-item {
    grid-template-columns: 72px 1fr;
    align-items: start;
  }
}

.c-service-detail-item__icon {
  width: 60px;
  height: 60px;
  background: var(--color-moss-pale);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-moss-dark);
  border: 1px solid var(--color-moss-light);
  flex-shrink: 0;
}

.c-service-detail-item__content h3 { margin-bottom: var(--sp-3); }

.c-service-detail-item__content p {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-4);
}

.c-service-detail-item__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  list-style: disc;
  padding-left: var(--sp-3);
}

.c-service-detail-item__list li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  list-style-type: disc;
}

/* ============================================
   SECTION: PRICING INFO
   ============================================ */
.s-pricing-info {
  padding: var(--sp-20) 0;
}

.s-pricing-info__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
}

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

.s-pricing-info__text h2 { margin-bottom: var(--sp-3); }
.s-pricing-info__text p { color: var(--color-text-muted); margin-bottom: var(--sp-4); }
.s-pricing-info__text .c-btn { margin-top: var(--sp-4); }

.s-pricing-info__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background: var(--color-moss-pale);
  border: 1px solid var(--color-moss-light);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

.c-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.9rem;
  color: var(--color-moss-dark);
  line-height: 1.5;
}

.c-feature-item i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.85rem;
}

/* ============================================
   SECTION: TOOLS (materiali-e-strumenti)
   ============================================ */
.s-tools-intro {
  padding: var(--sp-20) 0;
}

.s-tools-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

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

.s-tools-intro__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.s-tools-intro__text h2 { margin-bottom: var(--sp-3); }
.s-tools-intro__text p { color: var(--color-text-muted); }

.s-tools-categories {
  padding: var(--sp-20) 0;
  background: var(--color-surface);
}

.s-tools-categories__header { margin-bottom: var(--sp-12); }
.s-tools-categories__header h2 { margin-bottom: 0; }

.s-tools-categories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 600px) {
  .s-tools-categories__grid { grid-template-columns: 1fr 1fr; }
}

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

.c-tool-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 3px solid var(--color-earth-light);
}

.c-tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--color-earth);
}

.c-tool-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-earth-pale);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-earth);
  margin-bottom: var(--sp-3);
  border: 1px solid var(--color-earth-light);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.c-tool-card:hover .c-tool-card__icon {
  background: var(--color-earth);
  color: white;
}

.c-tool-card__title {
  font-size: 1.05rem;
  margin-bottom: var(--sp-3);
}

.c-tool-card__text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.s-tools-approach {
  padding: var(--sp-20) 0;
}

.s-tools-approach__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

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

.s-tools-approach__text h2 { margin-bottom: var(--sp-3); }
.s-tools-approach__text p { color: var(--color-text-muted); }

.s-tools-approach__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   SECTION: CONTACT
   ============================================ */
.s-contact {
  padding: var(--sp-20) 0;
}

.s-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}

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

.s-contact__heading {
  margin-bottom: var(--sp-3);
}

.s-contact__info > p {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-8);
  font-size: 1.05rem;
}

.s-contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.c-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.c-contact-detail__icon {
  width: 44px;
  height: 44px;
  background: var(--color-moss-pale);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-moss-dark);
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid var(--color-moss-light);
}

.c-contact-detail__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.c-contact-detail__text strong {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.c-contact-detail__text span,
.c-contact-detail__text a {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* ============================================
   COMPONENT: FORM
   ============================================ */
.c-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
}

.c-form__group {
  margin-bottom: var(--sp-3);
}

.c-form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--sp-2);
}

.c-form__input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
  appearance: none;
}

.c-form__input:focus {
  border-color: var(--color-moss);
  box-shadow: 0 0 0 3px var(--color-moss-pale);
  outline: none;
}

.c-form__input::placeholder {
  color: color-mix(in oklch, var(--color-text-muted), transparent 30%);
}

.c-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235c4a2a' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-10);
  cursor: pointer;
}

.c-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.c-form__group--checkbox {
  display: flex;
  align-items: flex-start;
}

.c-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
}

.c-form__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.c-form__checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--r-sm);
  background: var(--color-bg);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.c-form__checkbox:checked + .c-form__checkbox-custom {
  background: var(--color-moss-dark);
  border-color: var(--color-moss-dark);
}

.c-form__checkbox:checked + .c-form__checkbox-custom::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.c-form__checkbox:focus-visible + .c-form__checkbox-custom {
  outline: 3px solid var(--color-moss);
  outline-offset: 3px;
}

.c-form__checkbox-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.c-form__checkbox-text a {
  color: var(--color-moss-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   SECTION: MAP
   ============================================ */
.s-map {
  padding: var(--sp-16) 0 var(--sp-20);
}

.s-map__heading {
  margin-bottom: var(--sp-3);
}

.s-map__sub {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-8);
}

.s-map__frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

/* ============================================
   SECTION: THANKS
   ============================================ */
.s-thanks {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-24) var(--sp-6);
  text-align: center;
}

.s-thanks__inner {
  max-width: 520px;
}

.s-thanks__icon {
  font-size: 5rem;
  color: var(--color-moss-dark);
  margin-bottom: var(--sp-8);
  line-height: 1;
}

.s-thanks__heading {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: var(--sp-3);
}

.s-thanks__text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

/* ============================================
   SECTION: LEGAL PAGES
   ============================================ */
.s-legal {
  padding: var(--sp-20) 0 var(--sp-24);
}

.s-legal__header {
  max-width: 760px;
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid var(--color-border);
}

.s-legal__heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: var(--sp-3);
}

.s-legal__meta {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-3);
}

.s-legal__intro {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 65ch;
  margin-bottom: 0;
}

.s-legal__accordions {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* ============================================
   COMPONENT: ACCORDION (legal)
   ============================================ */
.c-accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--color-surface);
  transition: box-shadow 0.2s ease;
}

.c-accordion.is-open {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-moss-light);
}

.c-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-6);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Gabarito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  gap: var(--sp-4);
  transition: background-color 0.2s ease;
  min-height: 56px;
}

.c-accordion__trigger:hover {
  background: var(--color-moss-pale);
}

.c-accordion__icon {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--color-moss-dark);
  transition: transform 0.3s ease;
}

.c-accordion.is-open .c-accordion__icon {
  transform: rotate(180deg);
}

.c-accordion__content {
  padding: var(--sp-2) var(--sp-6) var(--sp-6);
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.c-accordion__content p { margin-bottom: var(--sp-4); }
.c-accordion__content p:last-child { margin-bottom: 0; }

.c-accordion__content ul {
  padding-left: var(--sp-3);
  margin-bottom: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.c-accordion__content ul li {
  list-style-type: disc;
  font-size: 0.88rem;
}

.c-accordion__content a {
  color: var(--color-moss-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}


.c-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: var(--sp-4) 0;
  border-radius: var(--r-md);
  overflow: hidden;
}

.c-legal-table th {
  background: var(--color-moss-pale);
  color: var(--color-moss-dark);
  font-weight: 600;
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.c-legal-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.c-legal-table tr:last-child td { border-bottom: none; }
.c-legal-table tr:nth-child(even) td { background: var(--color-bg); }

/* ============================================
   COOKIE CONSENT COMPONENT
   ============================================ */
.c-cookie-pill {
  position: fixed;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--color-text);
  color: color-mix(in oklch, white, transparent 10%);
  border-radius: var(--r-pill);
  padding: var(--sp-3) var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  box-shadow: var(--shadow-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid color-mix(in oklch, white, transparent 85%);
  max-width: calc(100vw - var(--sp-8));
  flex-direction: column;
}

.c-cookie-pill.is-expanded {
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  flex-direction: column;
  align-items: stretch;
  gap: var(--sp-4);
  white-space: normal;
  max-width: 480px;
  width: calc(100vw - var(--sp-8));
}

.c-cookie-pill__text {
  font-size: 0.85rem;
}

.c-cookie-pill.is-expanded .c-cookie-pill__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: color-mix(in oklch, white, transparent 15%);
}

.c-cookie-pill__actions {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
}

.c-cookie-pill.is-expanded .c-cookie-pill__actions {
  flex-direction: column;
}

.c-cookie-pill__btn {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  min-height: 36px;
}

.c-cookie-pill__btn:hover { transform: scale(1.03); }

.c-cookie-pill__btn--accept {
  background: var(--color-moss-dark);
  color: white;
  border-color: var(--color-moss-dark);
}

.c-cookie-pill__btn--accept:hover { background: var(--color-moss); }

.c-cookie-pill__btn--reject {
  background: transparent;
  color: color-mix(in oklch, white, transparent 25%);
  border-color: color-mix(in oklch, white, transparent 70%);
}

.c-cookie-pill__btn--reject:hover {
  border-color: white;
  color: white;
}

.c-cookie-pill__btn--customize {
  background: transparent;
  color: color-mix(in oklch, white, transparent 30%);
  border-color: transparent;
  font-size: 0.78rem;
  padding: var(--sp-1) var(--sp-2);
}

.c-cookie-pill__btn--customize:hover { color: white; }

.c-cookie-pill.is-expanded .c-cookie-pill__btn {
  width: 100%;
  text-align: center;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
}

.c-cookie-pill__categories {
  display: none;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: color-mix(in oklch, white, transparent 92%);
  border-radius: var(--r-md);
  border: 1px solid color-mix(in oklch, white, transparent 85%);
}

.c-cookie-pill.is-expanded .c-cookie-pill__categories {
  display: flex;
}

.c-cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.c-cookie-category__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: color-mix(in oklch, white, transparent 15%);
}

.c-cookie-category__desc {
  font-size: 0.75rem;
  color: color-mix(in oklch, white, transparent 40%);
}

.c-cookie-toggle {
  flex-shrink: 0;
  width: 36px;
  height: 20px;
  background: color-mix(in oklch, white, transparent 70%);
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease;
}

.c-cookie-toggle.is-on { background: var(--color-moss-dark); }

.c-cookie-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.c-cookie-toggle.is-on::after { transform: translateX(16px); }

.c-cookie-toggle[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ============================================
   UTILITIES - RESPONSIVE HELPERS
   ============================================ */
@media (max-width: 599px) {
  .s-hero__actions { flex-direction: column; }
  .s-hero__actions .c-btn { width: 100%; justify-content: center; }
  .s-cta__actions { flex-direction: column; align-items: center; }
  .c-footer__legal { text-align: center; }
  .c-footer__legal-links { justify-content: center; }
}

@media (min-width: 768px) {
  .c-form { padding: var(--sp-10); }
}