/* =============================================
   ZENULRIX — APICOLTURA URBANA
   Custom CSS — Textured Modern Concept
   ============================================= */


:root {
  --base-amber: oklch(68% 0.14 70);
  --base-forest: oklch(38% 0.09 150);
  --base-cream: oklch(96% 0.025 85);

  --primary: var(--base-amber);
  --primary-dark: color-mix(in oklch, var(--base-amber), black 30%);
  --primary-light: color-mix(in oklch, var(--base-amber), white 40%);
  --primary-pale: color-mix(in oklch, var(--base-amber), white 72%);

  --secondary: var(--base-forest);
  --secondary-dark: color-mix(in oklch, var(--base-forest), black 25%);
  --secondary-light: color-mix(in oklch, var(--base-forest), white 50%);

  --accent: oklch(72% 0.12 55);
  --accent-warm: color-mix(in oklch, var(--accent), var(--base-amber) 50%);

  --bg-cream: var(--base-cream);
  --bg-warm: color-mix(in oklch, var(--base-amber), white 88%);
  --bg-dark: color-mix(in oklch, var(--base-forest), black 40%);
  --bg-darker: color-mix(in oklch, var(--base-forest), black 60%);

  --text-dark: color-mix(in oklch, var(--base-forest), black 50%);
  --text-mid: color-mix(in oklch, var(--base-forest), white 20%);
  --text-light: color-mix(in oklch, var(--base-cream), white 10%);
  --text-muted: color-mix(in oklch, var(--base-forest), white 40%);

  --border-light: color-mix(in oklch, var(--base-amber), white 70%);
  --border-warm: color-mix(in oklch, var(--base-amber), white 55%);

  --shadow-sm: 0 1px 3px color-mix(in oklch, var(--base-forest), transparent 85%),
               0 2px 6px color-mix(in oklch, var(--base-amber), transparent 90%);
  --shadow-md: 0 4px 12px color-mix(in oklch, var(--base-forest), transparent 80%),
               0 2px 4px color-mix(in oklch, var(--base-amber), transparent 85%);
  --shadow-lg: 0 8px 24px color-mix(in oklch, var(--base-forest), transparent 75%),
               0 4px 8px color-mix(in oklch, var(--base-amber), transparent 80%);
  --shadow-xl: 0 16px 48px color-mix(in oklch, var(--base-forest), transparent 70%),
               0 6px 16px color-mix(in oklch, var(--base-amber), transparent 78%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --nav-height: 80px;
  --nav-height-compact: 60px;
}


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

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

body {
  font-family: 'Work Sans', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

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

ul { list-style: none; }

address { font-style: normal; }


.hero__noise,
.page-hero__noise,
.section__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}


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

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  background: color-mix(in oklch, var(--bg-cream), transparent 12%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: padding 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav.nav--compact {
  padding: 10px 32px;
  background: color-mix(in oklch, var(--bg-cream), transparent 4%);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  transition: height 0.35s ease;
}

.nav.nav--compact .nav__logo-img {
  height: 34px;
}

.nav__pills {
  display: none;
  gap: 6px;
  align-items: center;
}

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

.nav__pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
}

.nav__pill:hover {
  background: var(--primary-pale);
  color: var(--primary-dark);
}

.nav__pill--active {
  background: var(--primary);
  color: color-mix(in oklch, var(--bg-cream), white 5%);
  box-shadow: 0 2px 8px color-mix(in oklch, var(--primary), transparent 55%);
}

.nav__pill--active:hover {
  background: var(--primary-dark);
  color: white;
}

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

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

.nav__burger:hover { background: var(--primary-pale); }

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* =============================================
   MOBILE BOTTOM SHEET
   ============================================= */
.mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.mobile-sheet.is-open { pointer-events: all; }

.mobile-sheet__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--bg-dark), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-sheet.is-open .mobile-sheet__overlay { opacity: 1; }

.mobile-sheet__panel {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-cream);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 12px 0 40px;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -8px 40px color-mix(in oklch, var(--base-forest), transparent 70%);
}

.mobile-sheet.is-open .mobile-sheet__panel { transform: translateY(0); }

.mobile-sheet__handle {
  width: 40px;
  height: 4px;
  background: var(--border-warm);
  border-radius: var(--radius-pill);
  margin: 0 auto 20px;
}

.mobile-sheet__nav {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  gap: 4px;
}

.mobile-sheet__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: background 0.2s, color 0.2s;
  min-height: 52px;
}

.mobile-sheet__link i {
  width: 20px;
  text-align: center;
  color: var(--primary);
}

.mobile-sheet__link:hover,
.mobile-sheet__link--active {
  background: var(--primary-pale);
  color: var(--primary-dark);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease, transform 0.2s ease;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--primary);
  color: color-mix(in oklch, var(--bg-cream), white 5%);
  border-color: var(--primary);
  box-shadow: 0 4px 16px color-mix(in oklch, var(--primary), transparent 50%);
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 20px color-mix(in oklch, var(--primary), transparent 40%);
}

.btn--outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

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

.btn--large {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn--small {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section--light { background: var(--bg-cream); }

.section--warm {
  background: var(--bg-warm);
}

.section--dark {
  background: var(--bg-dark);
}

.section--cta {
  background: linear-gradient(135deg,
    var(--primary-dark) 0%,
    color-mix(in oklch, var(--primary-dark), var(--secondary) 40%) 100%);
  position: relative;
  overflow: hidden;
}

.section--map { padding-bottom: var(--space-xl); }

.section__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.section__title--light { color: var(--text-light); }

.section__lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section__lead--light { color: color-mix(in oklch, var(--text-light), transparent 20%); }

/* =============================================
   DECORATIVE STRIPS
   ============================================= */
.strip {
  height: 40px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.strip--honeycomb {
  background: var(--primary-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='32' viewBox='0 0 28 32'%3E%3Cpath d='M14 0 L28 8 L28 24 L14 32 L0 24 L0 8 Z' fill='none' stroke='%23d4a017' stroke-width='1' stroke-opacity='0.25'/%3E%3C/svg%3E");
  background-size: 28px 32px;
}

.strip--dots {
  background: var(--bg-warm);
  background-image: radial-gradient(circle, color-mix(in oklch, var(--primary), transparent 60%) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}

.strip--wave {
  background: var(--bg-cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0 20 Q150 0 300 20 Q450 40 600 20 Q750 0 900 20 Q1050 40 1200 20' fill='none' stroke='%23d4a017' stroke-width='2' stroke-opacity='0.2'/%3E%3C/svg%3E");
  background-size: 1200px 40px;
  background-repeat: repeat-x;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 60px) 0 80px;
  background: linear-gradient(
    135deg,
    color-mix(in oklch, var(--bg-warm), var(--primary-pale) 30%) 0%,
    var(--bg-cream) 55%,
    color-mix(in oklch, var(--bg-warm), var(--secondary-light) 15%) 100%
  );
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  pointer-events: none;
}

.hero > * { position: relative; z-index: 2; }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 100vh;
    padding: calc(var(--nav-height) + 40px) var(--space-md) 80px;
    max-width: 100%;
  }
  .hero__content { padding-left: calc((100vw - 1200px) / 2 + var(--space-md)); }
  .hero__visual { padding-right: calc((100vw - 1200px) / 2 + var(--space-md)); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-pale);
  color: var(--primary-dark);
  border: 1px solid var(--border-warm);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl),
              0 0 0 1px var(--border-light);
  position: relative;
  aspect-ratio: 4/5;
  max-width: 480px;
  width: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

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

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

.hero__img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: color-mix(in oklch, var(--bg-cream), transparent 10%);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

/* =============================================
   QUAD GRID
   ============================================= */
.quad-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

.quad-grid--why {
  gap: var(--space-md);
}

/* =============================================
   CARDS
   ============================================= */
.card--quad {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md) var(--space-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.card--quad:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-warm);
}

.card__icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--primary-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.3rem;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px color-mix(in oklch, var(--primary), transparent 70%);
}

.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

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


.card--why {
  background: color-mix(in oklch, var(--bg-dark), white 8%);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid color-mix(in oklch, var(--secondary), white 15%);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  will-change: transform;
}

.card--why:hover { box-shadow: var(--shadow-xl); }

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

.card__why-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.card__why-text {
  font-size: 0.92rem;
  color: color-mix(in oklch, var(--text-light), transparent 25%);
  line-height: 1.65;
}


.card--value {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  will-change: transform;
}

.card--value:hover { box-shadow: var(--shadow-lg); }

.card__value-icon {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.card__value-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.card__value-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   HORIZONTAL SCROLL SECTION
   ============================================= */
.section--warm { overflow: hidden; }

.hscroll-track {
  overflow-x: auto;
  overflow-y: visible;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) transparent;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.hscroll-track:active { cursor: grabbing; }

.hscroll-track::-webkit-scrollbar { height: 6px; }
.hscroll-track::-webkit-scrollbar-track { background: transparent; }
.hscroll-track::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: var(--radius-pill);
}

.hscroll-inner {
  display: flex;
  gap: var(--space-md);
  width: max-content;
  padding: 8px 4px 8px;
}

.hcard {
  width: 280px;
  flex-shrink: 0;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

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

.hcard__num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--primary);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px color-mix(in oklch, var(--primary), transparent 50%);
}

.hcard__img-wrap {
  height: 180px;
  overflow: hidden;
}

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

.hcard:hover .hcard__img { transform: scale(1.05); }

.hcard__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: var(--space-sm) var(--space-sm) 0.3rem;
  line-height: 1.3;
}

.hcard__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0 var(--space-sm);
  line-height: 1.6;
}

.hcard__date {
  display: inline-block;
  margin: var(--space-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-pale);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* =============================================
   GALLERY GRID
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .gallery__item--large {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .gallery__item--wide {
    grid-column: 2;
  }
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-warm);
}

.gallery__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery__item--large .gallery__img {
  height: 100%;
  min-height: 300px;
}

.gallery__item:hover .gallery__img { transform: scale(1.04); }

.gallery__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 14px;
  background: linear-gradient(transparent, color-mix(in oklch, var(--bg-dark), transparent 20%));
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* =============================================
   CTA BLOCK
   ============================================= */
.cta-block {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  position: relative;
  z-index: 2;
}

.cta-block__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.cta-block__text {
  font-size: 1.05rem;
  color: color-mix(in oklch, white, transparent 15%);
  margin-bottom: var(--space-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-block .btn--primary {
  background: white;
  color: var(--primary-dark);
  border-color: white;
  box-shadow: 0 4px 20px color-mix(in oklch, var(--bg-dark), transparent 60%);
}

.cta-block .btn--primary:hover {
  background: var(--bg-cream);
  border-color: var(--bg-cream);
}

/* =============================================
   PAGE HERO
   ============================================= */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero--storia {
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--primary-pale) 100%);
}

.page-hero--servizi {
  background: linear-gradient(135deg, var(--primary-pale) 0%, var(--bg-warm) 100%);
}

.page-hero--portare {
  background: linear-gradient(135deg, var(--bg-warm) 0%, color-mix(in oklch, var(--secondary-light), white 60%) 100%);
}

.page-hero--contact {
  background: linear-gradient(135deg, var(--primary-pale) 0%, var(--bg-warm) 100%);
}

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

.page-hero__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-dark);
  background: var(--primary-pale);
  border: 1px solid var(--border-warm);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.page-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.page-hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* =============================================
   STORY LAYOUT
   ============================================= */
.story-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .story-layout { grid-template-columns: 1fr 1fr; }
  .story-layout--reverse .story-text { order: 2; }
  .story-layout--reverse .story-img { order: 1; }
}

.story-text h2.story__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.story-text p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.story__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* =============================================
   VALUES GRID
   ============================================= */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

/* =============================================
   MODULE LIST (SERVICES PAGE)
   ============================================= */
.module-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.module-card {
  display: flex;
  gap: var(--space-md);
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  align-items: flex-start;
  will-change: transform;
}

.module-card:hover { box-shadow: var(--shadow-lg); }

.module-card__num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-pale);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  padding-top: 4px;
}

.module-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.module-card__text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.module-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-pale);
  border: 1px solid var(--border-warm);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

/* =============================================
   CHECKLIST GRID (COSA PORTARE)
   ============================================= */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

.checklist-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  will-change: transform;
}

.checklist-card:hover { box-shadow: var(--shadow-lg); }

.checklist-card__icon {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.checklist-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.checklist-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}


.portare-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

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

.portare-block {
  margin-bottom: var(--space-md);
}

.portare-block__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.portare-block__title i { color: var(--primary); }

.portare-block p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.7rem;
}

.portare__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}


.smiel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

.card--smiel {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  will-change: transform;
}

.card--smiel:hover { box-shadow: var(--shadow-lg); }

.card--smiel i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.card--smiel h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

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

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.contact-info__title,
.contact-form__title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
  padding: 14px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.contact-detail:hover { box-shadow: var(--shadow-md); }

.contact-detail i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact-detail p {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.contact-link {
  color: var(--primary-dark);
  font-weight: 500;
  transition: color 0.2s;
}

.contact-link:hover { color: var(--primary); }


.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}

@media (min-width: 600px) {
  .contact-form__row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .form-field { flex: 1; min-width: 140px; }
  .form-field--message { flex: 2; min-width: 200px; }
}

.form-field__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.form-field__input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.form-field__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary), transparent 75%);
}

.form-field__textarea {
  resize: vertical;
  min-height: 72px;
}

.contact-form__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

@media (min-width: 600px) {
  .contact-form__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
  margin-top: 2px;
}


.mission-quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.mission-quote__icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  opacity: 0.6;
}

.mission-quote__text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.75;
  font-style: normal;
  margin-bottom: var(--space-sm);
}

.mission-quote__cite {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.map-wrap iframe { display: block; }

/* =============================================
   THANKS PAGE
   ============================================= */
.thanks-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: calc(var(--nav-height) + 40px) var(--space-md) var(--space-lg);
}

.thanks-wrap {
  text-align: center;
  max-width: 520px;
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
}

.thanks-icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.thanks-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.thanks-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.thanks-countdown {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  padding: 10px 20px;
  background: var(--primary-pale);
  border-radius: var(--radius-pill);
  display: inline-block;
}

.thanks-countdown strong {
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.thanks-btn { margin-top: var(--space-sm); }

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-hero {
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--primary-pale) 100%);
  padding: calc(var(--nav-height) + 40px) 0 40px;
}

.legal-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.legal-hero__meta {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.legal-layout {
  padding: var(--space-lg) 0 var(--space-xl);
}

.legal-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .legal-body {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}


.legal-toc {
  position: relative;
}

@media (min-width: 900px) {
  .legal-toc {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
  }
}

.legal-toc__mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: background 0.2s;
  user-select: none;
}

.legal-toc__mobile-toggle:hover { background: var(--primary-pale); }

@media (min-width: 900px) {
  .legal-toc__mobile-toggle { display: none; }
}

.legal-toc__nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-top: 4px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .legal-toc__nav {
    display: flex;
    margin-top: 0;
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
  }
}

.legal-toc__nav.is-open { display: flex; }

.legal-toc__link {
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  line-height: 1.4;
}

.legal-toc__link:hover { background: var(--primary-pale); color: var(--primary-dark); }

.legal-toc__link.is-active {
  background: var(--primary-pale);
  color: var(--primary-dark);
  font-weight: 600;
}


.legal-content {
  max-width: 720px;
}

.legal-intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding: var(--space-md);
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  margin-bottom: var(--space-lg);
}

.legal-section {
  margin-bottom: var(--space-lg);
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.legal-section a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.legal-section a:hover { color: var(--primary); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-darker);
  margin-top: auto;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.footer__card {
  background: color-mix(in oklch, var(--bg-darker), white 6%);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid color-mix(in oklch, var(--secondary), white 12%);
  box-shadow: var(--shadow-sm);
}

.footer__logo {
  height: 38px;
  width: auto;
  margin-bottom: var(--space-sm);
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer__about-text {
  font-size: 0.88rem;
  color: color-mix(in oklch, var(--text-light), transparent 25%);
  line-height: 1.65;
}

.footer__card-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__link {
  font-size: 0.88rem;
  color: color-mix(in oklch, var(--text-light), transparent 25%);
  transition: color 0.2s;
}

.footer__link:hover { color: var(--primary); }

.footer__address p {
  font-size: 0.88rem;
  color: color-mix(in oklch, var(--text-light), transparent 25%);
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.footer__address i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__bottom {
  border-top: 1px solid color-mix(in oklch, var(--secondary), white 10%);
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: color-mix(in oklch, var(--text-light), transparent 40%);
}

/* =============================================
   COOKIE CONSENT
   ============================================= */
.cookie-link-wrap {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 150;
}

.cookie-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: color-mix(in oklch, var(--bg-cream), transparent 8%);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.cookie-link:hover {
  background: var(--primary-pale);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.cookie-link i { color: var(--primary); font-size: 0.85rem; }

.cookie-link.pulse {
  animation: cookiePulse 2s ease-in-out 3;
}

@keyframes cookiePulse {
  0%, 100% { box-shadow: var(--shadow-sm); }
  50% { box-shadow: 0 0 0 6px color-mix(in oklch, var(--primary), transparent 75%), var(--shadow-md); }
}


.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-modal.is-open {
  pointer-events: all;
  opacity: 1;
}

.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--bg-dark), transparent 35%);
}

.cookie-modal__box {
  position: relative;
  z-index: 1;
  background: var(--bg-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  max-width: 440px;
  width: calc(100% - 32px);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.cookie-modal.is-open .cookie-modal__box { transform: scale(1); }

.cookie-modal__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cookie-modal__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.cookie-modal__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.cookie-option:hover { border-color: var(--border-warm); background: var(--primary-pale); }

.cookie-option--disabled { cursor: default; opacity: 0.7; }
.cookie-option--disabled:hover { background: white; border-color: var(--border-light); }

.cookie-option__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  flex: 1;
}

.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.cookie-option__note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cookie-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* =============================================
   SCROLL REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE OVERRIDES
   ============================================= */
@media (max-width: 767px) {
  .hero {
    padding: calc(var(--nav-height) + 40px) var(--space-md) 60px;
    min-height: auto;
  }

  .hero__img-frame {
    aspect-ratio: 16/10;
    max-width: 100%;
  }

  .section { padding: var(--space-lg) 0; }

  .module-card {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .module-card__num {
    font-size: 1.8rem;
    width: auto;
    text-align: left;
  }

  .story__img { height: 260px; }
  .portare__img { height: 280px; }

  .contact-form__row { flex-direction: column; }
  .contact-form__bottom { flex-direction: column; }

  .cta-block { padding: var(--space-md) var(--space-sm); }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .footer__inner { grid-template-columns: 1fr; }

  .nav { padding: 14px 16px; }
  .nav.nav--compact { padding: 8px 16px; }
}