/* ============================================================
   FRATELLI MORELLO — Editorial Design System v2
   NOTE: Fonts loaded via <link> in HTML for better performance.
   CSS @import removed (render-blocking chained request).
   Cipolla Rossa di Tropea IGP | San Costantino di Briatico
   ============================================================ */

/* -----------------------------------------------------------
   1. DESIGN TOKENS
   ----------------------------------------------------------- */
:root {
  /* Brand colors — green / earth / terracotta */
  --cipolla:        #1A5C3A;   /* medium forest green */
  --cipolla-deep:   #113F28;   /* deep dark green — main bg */
  --cipolla-light:  #2A7A4E;   /* lighter green */
  --vinaccia:       #0E3521;   /* deepest green variant */
  --terracotta:     #C7563E;   /* Calabrian terracotta */
  --terracotta-deep:#8E3923;
  --oliva:          #2D3920;   /* dark olive earth */
  --oliva-light:    #4A5D38;
  --oro:            #F5C637;   /* brand yellow accent */
  --oro-light:      #F9DC6A;

  /* Neutrals — warm */
  --crema:          #F4ECDD;   /* warm cream */
  --crema-deep:     #ECDFC8;
  --sabbia:         #E0D2B8;
  --avorio:         #FBF6EA;   /* lightest */
  --nero:           #1A0F0B;   /* warm black */
  --grafite:        #3A2A22;

  /* Typography */
  --font-display:   'Fraunces', Georgia, serif;
  --font-body:      'DM Sans', -apple-system, sans-serif;

  /* Type scale — bold and editorial */
  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1.0625rem;
  --t-md:   1.25rem;
  --t-lg:   1.5rem;
  --t-xl:   2rem;
  --t-2xl:  3rem;
  --t-3xl:  4.5rem;
  --t-4xl:  6.5rem;
  --t-display: clamp(4rem, 11vw, 11.5rem);
  --t-mega:    clamp(7rem, 22vw, 18rem);

  /* Spacing — generous */
  --s-1:   0.25rem;
  --s-2:   0.5rem;
  --s-3:   0.75rem;
  --s-4:   1rem;
  --s-5:   1.5rem;
  --s-6:   2rem;
  --s-7:   2.5rem;
  --s-8:   3rem;
  --s-10:  4rem;
  --s-12:  5rem;
  --s-16:  6rem;
  --s-20:  8rem;
  --s-24:  10rem;
  --s-32:  14rem;

  /* Curves — asymmetric */
  --r-sm:  4px;
  --r-md:  12px;
  --r-lg:  32px;
  --r-blob: 60% 40% 55% 45% / 50% 60% 40% 50%;
  --r-leaf: 200px 24px 200px 24px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(26, 15, 11, 0.08);
  --shadow-md:  0 12px 40px rgba(26, 15, 11, 0.16);
  --shadow-lg:  0 30px 80px rgba(26, 15, 11, 0.24);
  --shadow-glow: 0 0 60px rgba(245, 198, 55, 0.25);

  /* Motion */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.5, 0, 0.75, 0);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.25s;
  --t-med:  0.5s;
  --t-slow: 0.9s;

  /* Layout */
  --max-w:  1440px;
  --max-w-text: 720px;
  --header-h: 88px;
}

/* -----------------------------------------------------------
   2. RESET & BASE
   ----------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  font-weight: 400;
  color: var(--nero);
  background-color: var(--avorio);
  overflow-x: clip;
}

::selection {
  background: var(--terracotta);
  color: var(--avorio);
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

/* -----------------------------------------------------------
   3. TYPOGRAPHY
   ----------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--nero);
  text-wrap: balance;
}

h1 {
  font-size: var(--t-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

h3 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

h4 {
  font-size: var(--t-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  line-height: 1.7;
  color: var(--grafite);
  text-wrap: pretty;
}

em, .italic {
  font-style: italic;
}

/* Display utilities */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.kicker--gold { color: var(--oro); }
.kicker--cream { color: var(--crema); }

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  font-weight: 400;
  color: var(--grafite);
  max-width: 56ch;
}

/* -----------------------------------------------------------
   4. LAYOUT
   ----------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

.wrap--narrow {
  max-width: 980px;
}

.wrap--wide {
  max-width: 1640px;
}

.section {
  padding-block: clamp(5rem, 12vw, var(--s-24));
  position: relative;
}

.section--xl {
  padding-block: clamp(6rem, 14vw, var(--s-32));
}

/* Background variants */
.bg-cream    { background: var(--crema); }
.bg-avorio   { background: var(--avorio); }
.bg-cipolla  { background: var(--cipolla); color: var(--crema); }
.bg-deep     { background: var(--cipolla-deep); color: var(--crema); }
.bg-vinaccia { background: var(--vinaccia); color: var(--crema); }
.bg-oliva    { background: var(--oliva); color: var(--crema); }
.bg-terracotta { background: var(--terracotta); color: var(--avorio); }
.bg-nero     { background: var(--nero); color: var(--crema); }

.bg-cipolla h1, .bg-cipolla h2, .bg-cipolla h3, .bg-cipolla h4,
.bg-deep h1, .bg-deep h2, .bg-deep h3, .bg-deep h4,
.bg-vinaccia h1, .bg-vinaccia h2, .bg-vinaccia h3, .bg-vinaccia h4,
.bg-oliva h1, .bg-oliva h2, .bg-oliva h3, .bg-oliva h4,
.bg-terracotta h1, .bg-terracotta h2, .bg-terracotta h3, .bg-terracotta h4,
.bg-nero h1, .bg-nero h2, .bg-nero h3, .bg-nero h4 {
  color: var(--crema);
}

.bg-cipolla p, .bg-deep p, .bg-vinaccia p, .bg-oliva p,
.bg-terracotta p, .bg-nero p {
  color: rgba(244, 236, 221, 0.78);
}

/* -----------------------------------------------------------
   5. BUTTONS
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 1.05rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  transition:
    transform var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: translateY(101%);
  transition: transform var(--t-med) var(--ease);
  z-index: -1;
  border-radius: inherit;
}

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

.btn--primary {
  background: var(--oro);
  color: var(--cipolla-deep);
  box-shadow: 0 8px 24px rgba(245, 198, 55, 0.35);
}

.btn--primary:hover {
  background: var(--oro-light);
  box-shadow: 0 14px 38px rgba(245, 198, 55, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--nero);
  border: 1.5px solid var(--nero);
}

.btn--ghost:hover {
  background: var(--nero);
  color: var(--avorio);
}

.btn--ghost-light {
  background: transparent;
  color: var(--crema);
  border: 1.5px solid rgba(244, 236, 221, 0.35);
}

.btn--ghost-light:hover {
  background: var(--crema);
  color: var(--cipolla-deep);
  border-color: var(--crema);
}

.btn--cream {
  background: var(--crema);
  color: var(--cipolla-deep);
}

.btn--cream:hover {
  background: var(--avorio);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  background: #1da851;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.5);
}

.btn--lg {
  padding: 1.35rem 2.75rem;
  font-size: 0.9375rem;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.btn-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform var(--t-med) var(--ease);
}

.btn-text:hover::after {
  transform-origin: left;
  transform: scaleX(0);
  animation: lineRedraw 0.7s var(--ease) 0.25s forwards;
}

@keyframes lineRedraw {
  to { transform: scaleX(1); }
}

.btn-text .arrow {
  transition: transform var(--t-fast) var(--ease);
}

.btn-text:hover .arrow {
  transform: translateX(6px);
}

/* -----------------------------------------------------------
   6. HEADER
   ----------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--t-med) var(--ease),
              backdrop-filter var(--t-med) var(--ease),
              height var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}

.header.shrunk {
  height: 62px;
  box-shadow: 0 2px 20px rgba(17, 63, 40, 0.18);
}

.header.shrunk .brand__mark {
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
}

.header.shrunk .brand__name {
  font-size: 0.95rem;
}

.header.shrunk .brand__sub {
  display: none;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header.scrolled {
  background: rgba(251, 246, 234, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 15, 11, 0.06);
}

.header--dark.scrolled {
  background: rgba(17, 63, 40, 0.92);
  border-bottom-color: rgba(244, 236, 221, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  transition: opacity var(--t-fast) var(--ease);
}

.brand:hover { opacity: 0.75; }

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--terracotta);
  display: grid;
  place-items: center;
  color: var(--oro);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  font-style: italic;
  flex-shrink: 0;
}

.brand__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--nero);
}

.brand__sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 2px;
}

.header--dark .brand__name { color: var(--crema); }
.header--dark .brand__sub { color: var(--oro); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nero);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav__link:hover {
  transform: translateY(-1px);
}

.nav__link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 4px;
  height: 1.5px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med) var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header--dark .nav__link {
  color: #FDFDFD;
}

.header--dark .nav__link:hover,
.header--dark .nav__link:focus,
.header--dark .nav__link.is-active {
  color: var(--oro);
}

.header--dark .nav__link::after {
  background: var(--oro);
}

.nav__cta {
  margin-left: var(--s-4);
}

/* Social icons — header + footer */
.nav__social {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-left: var(--s-4);
}

.social-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--nero);
  opacity: 0.65;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.12);
}

.header--dark .social-link {
  color: var(--crema);
}

.footer__social {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-5);
}

.social-link--footer {
  width: 40px;
  height: 40px;
  background: rgba(244, 236, 221, 0.08);
  color: rgba(244, 236, 221, 0.65);
  border-radius: 50%;
  opacity: 1;
}

.social-link--footer:hover {
  background: var(--oro);
  color: var(--cipolla-deep);
  transform: translateY(-2px) scale(1.1);
}

/* Hamburger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 110;
}

.burger span {
  position: absolute;
  width: 24px;
  height: 1.5px;
  background: var(--nero);
  border-radius: 2px;
  transition: all var(--t-fast) var(--ease);
}

.burger span:nth-child(1) { transform: translateY(-5px); }
.burger span:nth-child(2) { transform: translateY(5px); }

.header--dark .burger span { background: var(--crema); }

.burger.is-open span:nth-child(1) { transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--cipolla-deep);
  color: var(--crema);
  padding: calc(var(--header-h) + var(--s-10)) var(--s-6) var(--s-10);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transform: translateY(-100%);
  transition: transform var(--t-med) var(--ease);
  z-index: 95;
  overflow-y: auto;
}

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

.drawer__link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(244, 236, 221, 0.12);
  transition: color var(--t-fast) var(--ease), padding var(--t-fast) var(--ease);
}

.drawer__link:hover {
  color: var(--oro);
  padding-left: var(--s-3);
}

.drawer__cta { margin-top: var(--s-8); }

.drawer__contact {
  margin-top: auto;
  padding-top: var(--s-8);
  border-top: 1px solid rgba(244, 236, 221, 0.12);
  font-size: 0.9rem;
  color: rgba(244, 236, 221, 0.7);
}

/* -----------------------------------------------------------
   7. HERO — Asymmetric two-column
   ----------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: var(--header-h);
  background: var(--cipolla-deep);
  color: var(--crema);
  overflow: hidden;
  isolation: isolate;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - var(--header-h));
  position: relative;
}

.hero__content {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem) clamp(4rem, 8vw, 8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero__kicker {
  margin-bottom: var(--s-8);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  width: fit-content;
}

.hero__kicker .dot {
  width: 6px;
  height: 6px;
  background: var(--oro);
  border-radius: 50%;
  animation: pulse 2.5s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  text-wrap: balance;
  max-width: 700px;
  color: var(--crema);
  margin-bottom: var(--s-7);
}

.hero__title em {
  color: var(--oro);
  font-style: italic;
  font-weight: 300;
}

.hero__lead {
  color: rgba(244, 236, 221, 0.78);
  font-size: clamp(1.0625rem, 1.5vw, 1.3rem);
  max-width: 32rem;
  margin-bottom: var(--s-10);
  line-height: 1.55;
}

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

/* Hero — photo full-bleed */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: 0;
  border-radius: 0;
}

.hero__photo-grad {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to right,
      rgba(17, 63, 40, 0.95) 0%,
      rgba(17, 63, 40, 0.82) 38%,
      rgba(17, 63, 40, 0.45) 65%,
      rgba(17, 63, 40, 0.12) 100%),
    linear-gradient(to top,
      rgba(11, 33, 22, 0.55) 0%,
      transparent 45%);
}

/* Hide decorative visual — real photo replaces it */
.hero--photo .hero__visual {
  display: none;
}

/* Image with organic clip — kept for non-photo variant */
.hero__visual {
  position: relative;
  min-height: 400px;
}

.hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--terracotta);
  background-image:
    radial-gradient(circle at 25% 30%, rgba(245, 198, 55, 0.4) 0%, transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(17, 63, 40, 0.7) 0%, transparent 50%),
    url('../img/campo.webp');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply, normal, normal;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
}

.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(17, 63, 40, 0.3) 0%,
    rgba(17, 63, 40, 0) 60%,
    rgba(199, 86, 62, 0.25) 100%);
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  pointer-events: none;
}

/* Decorative big number */
.hero__deco {
  position: absolute;
  bottom: -3rem;
  left: clamp(1rem, 4vw, 4rem);
  font-family: var(--font-display);
  font-size: clamp(10rem, 22vw, 22rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.8;
  color: rgba(245, 198, 55, 0.08);
  pointer-events: none;
  z-index: 1;
  letter-spacing: -0.05em;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--s-6);
  right: var(--s-6);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 236, 221, 0.5);
  z-index: 3;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero__scroll .line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(244, 236, 221, 0.5));
  animation: scrollHint 2.5s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); }
}

/* -----------------------------------------------------------
   8. PAGE HERO (interior pages)
   ----------------------------------------------------------- */
.page-hero {
  background: var(--cipolla-deep);
  color: var(--crema);
  padding: calc(var(--header-h) + var(--s-16)) 0 var(--s-20);
  position: relative;
  overflow: hidden;
}

.page-hero__deco {
  position: absolute;
  top: 30%;
  right: -5%;
  width: 50%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(245, 198, 55, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero__title {
  color: var(--crema);
  margin-block: var(--s-5) var(--s-8);
  max-width: 18ch;
}

.page-hero__title em {
  color: var(--oro);
  font-style: italic;
  font-weight: 300;
}

.page-hero__lead {
  color: rgba(244, 236, 221, 0.78);
  max-width: 56ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
}

/* -----------------------------------------------------------
   9. STATS — massive numbers
   ----------------------------------------------------------- */
.stats {
  background: var(--crema);
  padding: var(--s-20) 0;
  border-top: 1px solid rgba(26, 15, 11, 0.07);
  border-bottom: 1px solid rgba(26, 15, 11, 0.07);
}

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

.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-6);
  align-items: baseline;
  padding-block: var(--s-6);
  border-bottom: 1px solid rgba(26, 15, 11, 0.1);
}

.stat:last-child { border-bottom: none; }

.stat__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--t-mega);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--cipolla);
  font-feature-settings: 'lnum';
  display: flex;
  align-items: baseline;
  gap: 0.05em;
}

.stat__num em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 300;
}

.stat__suffix {
  font-size: 0.4em;
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
  align-self: flex-start;
  margin-top: 0.4em;
}

.stat__body {
  padding-bottom: var(--s-3);
}

.stat__label {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--nero);
  margin-bottom: var(--s-2);
}

.stat__sub {
  font-size: var(--t-sm);
  color: var(--grafite);
  line-height: 1.5;
  max-width: 32ch;
}

/* Stats on dark variant */
.bg-deep .stat,
.bg-cipolla .stat {
  border-bottom-color: rgba(244, 236, 221, 0.12);
}

.bg-deep .stat__num,
.bg-cipolla .stat__num {
  color: var(--oro);
}

.bg-deep .stat__num em,
.bg-cipolla .stat__num em {
  color: var(--crema);
}

.bg-deep .stat__suffix,
.bg-cipolla .stat__suffix {
  color: var(--terracotta);
}

.bg-deep .stat__label,
.bg-cipolla .stat__label {
  color: var(--crema);
}

.bg-deep .stat__sub,
.bg-cipolla .stat__sub {
  color: rgba(244, 236, 221, 0.65);
}

/* -----------------------------------------------------------
   10. TWO-COLUMN ALTERNATING
   ----------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.split__media--landscape {
  aspect-ratio: 5 / 4;
}

.split__media--blob {
  border-radius: var(--r-blob);
  aspect-ratio: 1 / 1;
  box-shadow: 0 30px 80px rgba(17, 63, 40, 0.25);
  transition: border-radius 12s var(--ease) infinite;
}

.split__media--leaf {
  border-radius: var(--r-leaf);
  aspect-ratio: 4 / 5;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.split:hover .split__media img {
  transform: scale(1.04);
}

.split__media--small {
  max-width: 520px;
}

.split__content { max-width: 560px; }
.split__content h2 { margin-block: var(--s-3) var(--s-6); }
.split__content p + p { margin-top: var(--s-5); }
.split__content .btn-text { margin-top: var(--s-8); }

/* Decorative caption tag */
.split__tag {
  position: absolute;
  background: var(--avorio);
  padding: var(--s-3) var(--s-5);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 500;
  color: var(--cipolla);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.split__tag--tl { top: var(--s-5); left: var(--s-5); }
.split__tag--bl { bottom: var(--s-5); left: var(--s-5); }
.split__tag--br { bottom: var(--s-5); right: var(--s-5); }
.split__tag--tr { top: var(--s-5); right: var(--s-5); }

/* -----------------------------------------------------------
   11. PRODUCT CARDS — full-bleed photo + overlay
   ----------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}

.product {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  background: var(--cipolla-deep);
}

.product__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  z-index: 0;
}

.product:hover .product__img {
  transform: scale(1.06);
}

.product__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(17, 63, 40, 0) 0%,
    rgba(17, 63, 40, 0.1) 40%,
    rgba(17, 63, 40, 0.85) 80%,
    rgba(26, 15, 11, 0.95) 100%);
  z-index: 1;
  transition: opacity var(--t-med) var(--ease);
}

.product:hover .product__overlay {
  background: linear-gradient(180deg,
    rgba(17, 63, 40, 0) 0%,
    rgba(17, 63, 40, 0.2) 30%,
    rgba(17, 63, 40, 0.9) 70%,
    rgba(26, 15, 11, 0.97) 100%);
}

.product__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  z-index: 2;
  color: var(--crema);
  transform: translateY(0);
  transition: transform var(--t-med) var(--ease);
}

.product__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oro);
}

.product__kicker .dash {
  width: 24px;
  height: 1px;
  background: currentColor;
}

.product__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--crema);
  margin-bottom: var(--s-5);
}

.product__title em {
  color: var(--oro);
  font-style: italic;
  font-weight: 300;
}

.product__desc {
  color: rgba(244, 236, 221, 0.85);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 36ch;
  margin-bottom: var(--s-6);
}

.product__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crema);
  padding-bottom: 4px;
  border-bottom: 1.5px solid rgba(244, 236, 221, 0.4);
  transition: gap var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.product:hover .product__cta {
  gap: var(--s-5);
  border-bottom-color: var(--oro);
  color: var(--oro);
}

/* IGP badge floating */
.product__badge {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  z-index: 3;
  background: var(--oro);
  color: var(--cipolla-deep);
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.product__badge--leaf {
  background: var(--oliva);
  color: var(--crema);
}

/* -----------------------------------------------------------
   12. SECTION HEADER
   ----------------------------------------------------------- */
.section-head {
  margin-bottom: var(--s-12);
  max-width: 720px;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head .kicker { margin-bottom: var(--s-5); }

.section-head h2 { margin-bottom: var(--s-5); }

.section-head .lead {
  margin-top: var(--s-4);
}

.section-head--center .lead {
  margin-inline: auto;
}

/* -----------------------------------------------------------
   13. TIMELINE — editorial
   ----------------------------------------------------------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
}

.timeline__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-12);
  border-bottom: 1px solid rgba(26, 15, 11, 0.1);
  position: relative;
}

.timeline__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline__era {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.9;
  color: var(--terracotta);
  letter-spacing: -0.04em;
}

.timeline__era-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nero);
  font-style: normal;
  margin-top: var(--s-3);
}

.timeline__body h3 {
  margin-bottom: var(--s-4);
}

.timeline__body p {
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* -----------------------------------------------------------
   14. FACT CARDS
   ----------------------------------------------------------- */
.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

.fact {
  padding: var(--s-7) var(--s-7);
  background: rgba(244, 236, 221, 0.5);
  border-radius: var(--r-md);
  border: 1px solid rgba(26, 15, 11, 0.06);
  transition: transform var(--t-med) var(--ease),
              background var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}

.fact:hover {
  transform: translateY(-4px);
  background: var(--cipolla);
  border-color: var(--cipolla);
  color: var(--crema);
}

.fact:hover h4,
.fact:hover .fact__num { color: var(--oro); }

.fact:hover p { color: rgba(244, 236, 221, 0.85); }

.fact__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: var(--s-4);
  transition: color var(--t-med) var(--ease);
}

.fact h4 {
  font-size: 1.25rem;
  margin-bottom: var(--s-3);
  transition: color var(--t-med) var(--ease);
}

.fact p {
  font-size: 0.9375rem;
  transition: color var(--t-med) var(--ease);
}

/* -----------------------------------------------------------
   15. PULL QUOTE
   ----------------------------------------------------------- */
.quote {
  position: relative;
  padding: var(--s-10) 0;
  margin-block: var(--s-10);
  text-align: center;
}

.quote::before {
  content: '"';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 12rem;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.18;
  pointer-events: none;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--cipolla);
  letter-spacing: -0.02em;
  max-width: 28ch;
  margin-inline: auto;
}

/* -----------------------------------------------------------
   16. STORY BLOCK (chi-siamo body)
   ----------------------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: start;
}

.story__text {
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--grafite);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  max-width: 56ch;
}

.story__text p:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-style: italic;
  font-weight: 400;
  color: var(--cipolla);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.story__text p.alone {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-style: italic;
  color: var(--terracotta);
  line-height: 1.15;
  text-align: center;
  padding: var(--s-6) 0;
  font-weight: 400;
}

.story__media {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.story__media img {
  width: 100%;
  border-radius: var(--r-md);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.story__media img:nth-child(1) {
  aspect-ratio: 4 / 5;
  border-radius: 200px 24px 200px 24px;
}

.story__media img:nth-child(2) {
  aspect-ratio: 5 / 4;
  align-self: flex-end;
  max-width: 80%;
}

/* -----------------------------------------------------------
   17. CONTACT BLOCKS
   ----------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-5);
  padding: var(--s-6) 0;
  border-bottom: 1px solid rgba(26, 15, 11, 0.1);
  align-items: center;
  transition: padding var(--t-fast) var(--ease);
}

.contact-line:hover {
  padding-inline-start: var(--s-3);
}

.contact-line:last-child { border-bottom: none; }

.contact-line__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--crema);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  transition: background var(--t-fast) var(--ease);
}

.contact-line:hover .contact-line__icon {
  background: var(--terracotta);
}

.contact-line__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--s-2);
}

.contact-line__value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 500;
  color: var(--nero);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.contact-line__value a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  transition: background-size var(--t-med) var(--ease);
  padding-bottom: 4px;
}

.contact-line__value a:hover {
  background-size: 100% 1.5px;
}

/* Hours card */
.hours-card {
  background: var(--cipolla);
  color: var(--crema);
  border-radius: var(--r-md);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-md);
}

.hours-card .kicker {
  color: var(--oro);
  margin-bottom: var(--s-5);
}

.hours-card h3 {
  color: var(--crema);
  margin-bottom: var(--s-8);
}

.hours-card h3 em { color: var(--oro); font-style: italic; font-weight: 300; }

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(244, 236, 221, 0.12);
  gap: var(--s-3);
  flex-wrap: wrap;
}

.hours-row:last-of-type { border-bottom: none; }

.hours-row__day {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--crema);
}

.hours-row__time {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--oro);
  letter-spacing: 0.02em;
}

.hours-card__note {
  font-size: 0.875rem;
  color: rgba(244, 236, 221, 0.6);
  margin-top: var(--s-6);
  font-style: italic;
}

/* Shipping panel */
.ship-panel {
  background: var(--oliva);
  color: var(--crema);
  border-radius: var(--r-md);
  padding: clamp(2rem, 4vw, 3.5rem);
  margin-top: var(--s-6);
  box-shadow: var(--shadow-md);
}

.ship-panel .kicker { color: var(--oro); margin-bottom: var(--s-5); }
.ship-panel h3 { color: var(--crema); margin-bottom: var(--s-7); }
.ship-panel h3 em { color: var(--oro); font-style: italic; font-weight: 300; }

.ship-row {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(244, 236, 221, 0.12);
}

.ship-row:last-of-type { border-bottom: none; }

.ship-row__flag {
  font-size: 1.75rem;
  width: 56px;
  text-align: center;
}

.ship-row__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--crema);
}

.ship-row__sub {
  font-size: 0.875rem;
  color: rgba(244, 236, 221, 0.65);
}

.map-frame {
  border-radius: var(--r-md);
  overflow: hidden;
  height: 460px;
  box-shadow: var(--shadow-md);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(1.05);
}

/* -----------------------------------------------------------
   18. PRODUCT DETAIL
   -----------------------------------------------------------*/
.detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: start;
}

.detail__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail__media-deco {
  position: absolute;
  top: var(--s-5);
  left: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  z-index: 2;
}

.detail__chip {
  background: var(--oro);
  color: var(--cipolla-deep);
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.detail__chip--terracotta {
  background: var(--terracotta);
  color: var(--avorio);
}

.detail__title {
  margin-block: var(--s-5) var(--s-7);
}

.detail__title em { color: var(--terracotta); font-style: italic; font-weight: 300; }

.detail__lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--cipolla);
  margin-bottom: var(--s-8);
}

.specs {
  border-top: 1px solid rgba(26, 15, 11, 0.12);
  margin-top: var(--s-7);
}

.specs__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  padding: var(--s-5) 0;
  border-bottom: 1px solid rgba(26, 15, 11, 0.1);
}

.specs__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.specs__value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--nero);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.detail__cta {
  margin-top: var(--s-10);
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}

/* Characteristic grid for products */
.char-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

.char {
  background: var(--avorio);
  border-radius: var(--r-md);
  padding: var(--s-7);
  border: 1px solid rgba(26, 15, 11, 0.06);
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}

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

.char__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: var(--s-4);
}

.char h4 {
  font-size: 1.25rem;
  margin-bottom: var(--s-3);
  color: var(--cipolla-deep);
}

.char p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--grafite);
}

/* -----------------------------------------------------------
   19. FAQ
   -----------------------------------------------------------*/
.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid rgba(26, 15, 11, 0.12);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-7) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--nero);
  letter-spacing: -0.01em;
  transition: color var(--t-fast) var(--ease);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary:hover { color: var(--terracotta); }

.faq__item summary::after {
  content: '';
  width: 22px;
  height: 22px;
  background:
    linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat;
  flex-shrink: 0;
  transition: transform var(--t-med) var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__body {
  padding-bottom: var(--s-7);
  font-size: 1.0625rem;
  color: var(--grafite);
  line-height: 1.7;
  max-width: 64ch;
}

/* -----------------------------------------------------------
   20. CTA BAND
   -----------------------------------------------------------*/
.cta-band {
  background-color: var(--cipolla-deep);   /* fallback se Tropea.webp non carica */
  background-image: url('../img/Tropea.webp');
  background-size: cover;
  background-position: center;
  color: var(--avorio);
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 63, 40, 0.72);   /* overlay scuro per leggibilità */
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 {
  color: var(--avorio);
  margin-block: var(--s-5);
}

.cta-band h2 em {
  color: var(--oro);
  font-style: italic;
  font-weight: 300;
}

.cta-band p {
  color: rgba(251, 246, 234, 0.85);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  max-width: 52ch;
  margin: 0 auto var(--s-10);
}

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

.cta-band--dark {
  background: var(--cipolla-deep);
}

.cta-band--dark h2 em {
  color: var(--oro);
}

/* -----------------------------------------------------------
   21. FOOTER
   -----------------------------------------------------------*/
.footer {
  background: var(--nero);
  color: rgba(244, 236, 221, 0.7);
  padding: var(--s-20) 0 var(--s-8);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  margin-bottom: var(--s-16);
}

.footer__brand p {
  color: rgba(244, 236, 221, 0.6);
  font-size: 0.9375rem;
  margin-top: var(--s-5);
  max-width: 320px;
  line-height: 1.6;
}

.footer__brand .brand__name { color: var(--avorio); }
.footer__brand .brand__sub { color: var(--oro); }

.footer__heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--avorio);
  margin-bottom: var(--s-5);
}

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

.footer__list a {
  font-size: 0.9375rem;
  color: rgba(244, 236, 221, 0.65);
  transition: color var(--t-fast) var(--ease), padding var(--t-fast) var(--ease);
  display: inline-block;
  width: fit-content;
}

.footer__list a:hover {
  color: var(--oro);
  padding-left: 4px;
}

.footer__addr {
  font-size: 0.875rem;
  color: rgba(244, 236, 221, 0.55);
  line-height: 1.6;
  margin-top: var(--s-4);
}

.footer__certif {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-6);
  padding: var(--s-2) var(--s-4);
  background: rgba(245, 198, 55, 0.15);
  border: 1px solid rgba(245, 198, 55, 0.3);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oro);
}

.footer__bottom {
  border-top: 1px solid rgba(244, 236, 221, 0.08);
  padding-top: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: flex-start;
  font-size: 0.8125rem;
  color: rgba(244, 236, 221, 0.4);
}

/* -----------------------------------------------------------
   22. WHATSAPP FLOAT
   -----------------------------------------------------------*/
.wa-float {
  position: fixed;
  bottom: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  z-index: 80;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  z-index: -1;
  animation: ringPulse 2.4s var(--ease) infinite;
}

@keyframes ringPulse {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* -----------------------------------------------------------
   23. ANIMATIONS — scroll reveal
   -----------------------------------------------------------*/
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease),
              transform 0.6s var(--ease);
}

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

.reveal--blur {
  filter: blur(8px);
}

.reveal--blur.is-visible {
  filter: blur(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease),
              transform 0.5s var(--ease);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 90ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 450ms; }

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------------------
   24. UTILITIES
   -----------------------------------------------------------*/
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }

/* -----------------------------------------------------------
   25. RESPONSIVE — tablet+
   -----------------------------------------------------------*/
@media (min-width: 720px) {
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-8) var(--s-12);
  }

  .products {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
  }

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

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

  .footer__top {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
  }

  .split--right .split__media { order: 2; }

  .split--feature {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .timeline__item {
    grid-template-columns: 0.4fr 0.6fr;
    gap: var(--s-12);
  }

  .story {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(3rem, 6vw, 6rem);
  }

  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(3rem, 6vw, 6rem);
  }

  .detail {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
  }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .burger { display: none; }
  .drawer { display: none; }
}

/* -----------------------------------------------------------
   26. RESPONSIVE — mobile
   -----------------------------------------------------------*/
@media (max-width: 1023px) {
  .nav { display: none; }
  .burger { display: flex; }

  .header__inner .nav__cta { display: none; }
  .nav__social { display: none; }

  body.drawer-open { overflow: hidden; }
}

@media (max-width: 719px) {
  .hero__title { font-size: clamp(1.875rem, 8.5vw, 2.75rem); }
  .stat__num { font-size: clamp(5rem, 30vw, 9rem); }
  .stat { grid-template-columns: 1fr; gap: var(--s-3); }
  .timeline__era { font-size: clamp(2.25rem, 12vw, 3.5rem); }
}

/* -----------------------------------------------------------
   27. PRINT
   -----------------------------------------------------------*/
@media print {
  .header, .wa-float, .drawer, .burger { display: none !important; }
  body { background: white; color: black; }
}

/* -----------------------------------------------------------
   29. METHOD PAGE — process cards
   -----------------------------------------------------------*/
.metodo-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-top: var(--s-10);
}

.metodo-card {
  background: var(--avorio);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(26, 15, 11, 0.07);
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}

.metodo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.metodo-card__head {
  background: var(--cipolla);
  color: var(--crema);
  padding: var(--s-7) var(--s-7) var(--s-6);
}

.metodo-card:nth-child(2) .metodo-card__head {
  background: var(--oliva);
}

.metodo-card__label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oro);
  display: block;
  margin-bottom: var(--s-4);
}

.metodo-card__head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  color: var(--crema);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.metodo-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.metodo-card__body {
  padding: var(--s-7);
}

.metodo-card__body p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--grafite);
}

/* Seed cycle narrative — dark bg */
.seme-cycle {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
  padding: var(--s-12) 0;
}

.seme-cycle__lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--crema);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-8);
}

.seme-cycle__body {
  font-size: clamp(1.0625rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  color: rgba(244, 236, 221, 0.82);
  max-width: 62ch;
  margin-inline: auto;
}

.seme-cycle__img {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: var(--s-10) auto 0;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-md);
}

.seme-cycle__deco {
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.85;
  color: rgba(245, 198, 55, 0.07);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.06em;
  display: block;
  margin-bottom: -2rem;
}

/* -----------------------------------------------------------
   30. CERTIFICATIONS
   -----------------------------------------------------------*/
.certif-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-12);
}

.certif-card {
  background: white;
  border-radius: var(--r-md);
  padding: var(--s-8) var(--s-7);
  border: 1px solid rgba(26, 15, 11, 0.07);
  border-top: 4px solid var(--terracotta);
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}

.certif-card:nth-child(2) { border-top-color: var(--oliva); }
.certif-card:nth-child(3) { border-top-color: var(--cipolla); }

.certif-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.certif-card__tag {
  display: inline-block;
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--s-6);
  background: rgba(199, 86, 62, 0.12);
  color: var(--terracotta);
}

.certif-card:nth-child(2) .certif-card__tag {
  background: rgba(45, 57, 32, 0.12);
  color: var(--oliva);
}

.certif-card:nth-child(3) .certif-card__tag {
  background: rgba(17, 63, 40, 0.12);
  color: var(--cipolla);
}

.certif-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 500;
  color: var(--nero);
  margin-bottom: var(--s-5);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.certif-card p {
  font-size: 0.9375rem;
  color: var(--grafite);
  line-height: 1.7;
}

.bg-cream .certif-card,
.bg-avorio .certif-card {
  background: white;
}

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

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

  .metodo-duo {
    grid-template-columns: 1fr 1fr;
  }
}

/* -----------------------------------------------------------
   28. PREFER REDUCED MOTION
   -----------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal, .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* -----------------------------------------------------------
   29. ACCESSIBILITY — Skip to content
   -----------------------------------------------------------*/
.skip-to-content {
  position: absolute;
  top: -100%;
  left: var(--s-4);
  z-index: 9999;
  padding: var(--s-3) var(--s-6);
  background: var(--cipolla-deep);
  color: var(--crema);
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 0 0 var(--r-md) var(--r-md);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--oro);
  outline-offset: 2px;
}
