/* ═══════════════════════════════════════════════════
   CLESSIDRA s.r.l. — style.css
   Palette: #1B3A5C · #C8651A · #1A1A1A · #FFFFFF
   Fonts: Playfair Display + Nunito
═══════════════════════════════════════════════════ */

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

:root {
  --blue:       #1B3A5C;
  --blue-dark:  #122840;
  --blue-mid:   #2a5580;
  --orange:     #C8651A;
  --orange-dark:#a0500f;
  --black:      #1A1A1A;
  --white:      #FFFFFF;
  --off-white:  #F8F7F4;
  --gray-lt:    #EFEFED;
  --gray-mid:   #999999;
  --gray-dark:  #444444;
  --yellow:       #D4A017;
  --yellow-dark:  #b08010;
  --font-body:    'Nunito', sans-serif;
  --font-display: 'Nunito', sans-serif;
  --nav-h: 68px;
  --ease:  cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ PRELOADER ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-brand  { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.preloader-logo   { width: 60px; height: auto; animation: preloaderPulse 1.6s ease-in-out infinite; }
.preloader-name   { font-size: .7rem; font-weight: 600; letter-spacing: .2em; color: var(--gray-mid); }

@keyframes preloaderPulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.08); filter: drop-shadow(0 0 12px rgba(200,101,26,.45)); }
}

.preloader-bar-wrap { width: 180px; height: 2px; background: var(--gray-lt); border-radius: 2px; overflow: hidden; }
.preloader-bar      { height: 100%; width: 0; background: var(--orange); transition: width .1s linear; }
.preloader-pct      { font-size: .7rem; font-weight: 600; letter-spacing: .1em; color: var(--gray-mid); }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ NAVBAR ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--gray-lt);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}

/* Logo */
.nav-logo         { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img     { height: 40px; width: auto; display: block; }

/* Menu */
.nav-menu         { display: flex; align-items: center; flex: 1; justify-content: center; gap: .1rem; }

.nav-link {
  padding: .4rem .75rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gray-dark); white-space: nowrap; position: relative;
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: .75rem; right: .75rem;
  height: 2px; background: var(--orange); border-radius: 1px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover,
.nav-link.active                     { color: var(--orange); }
.nav-link:hover::after,
.nav-link.active::after              { transform: scaleX(1); }

/* Dropdown trigger */
.nav-link-dropdown { display: flex; align-items: center; gap: .3rem; cursor: pointer; user-select: none; }
.nav-chevron { transition: transform .25s var(--ease); flex-shrink: 0; }

/* Dropdown item */
.nav-item-dropdown { position: relative; }

/* Chevron rotated on hover OR .open */
.nav-item-dropdown:hover .nav-chevron,
.nav-item-dropdown.open  .nav-chevron { transform: rotate(180deg); }

/* Active page inside dropdown */
.nav-item-dropdown.active > .nav-link-dropdown { color: var(--orange); }
.nav-item-dropdown.active > .nav-link-dropdown::after { transform: scaleX(1); }

/* Dropdown panel */
.nav-submenu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-top: 2px solid var(--orange);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), visibility .2s, transform .2s var(--ease);
  z-index: 100;
}

/* Visible: hover (mouse) OR .open (JS/touch) */
.nav-item-dropdown:hover .nav-submenu,
.nav-item-dropdown.open  .nav-submenu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu-item {
  display: block; padding: .75rem 1.2rem;
  font-size: .8rem; font-weight: 600; color: var(--gray-dark);
  border-bottom: 1px solid var(--gray-lt);
  transition: background .15s, color .15s, padding-left .2s;
  white-space: nowrap;
}
.nav-submenu-item:last-child { border-bottom: none; }
.nav-submenu-item:hover,
.nav-submenu-item.active { color: var(--orange); background: var(--off-white); padding-left: 1.5rem; }

/* Right */
.nav-right { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }

/* Lingua */
.nav-lang  { display: flex; align-items: center; gap: .3rem; }
.lang-btn  {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-mid); transition: color .2s;
  padding: .2rem .1rem;
}
.lang-btn.active { color: var(--orange); }
.lang-btn:hover  { color: var(--orange); }
.lang-sep        { font-size: .7rem; color: var(--gray-lt); }

.nav-cta {
  padding: .5rem 1.3rem; font-size: .75rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  background: var(--orange); color: var(--white); border-radius: 50px;
  box-shadow: 0 3px 12px rgba(200,101,26,.35); white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.nav-cta:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200,101,26,.45); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .4rem; width: 38px; height: 38px; flex-shrink: 0;
  margin-left: auto;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 1px; transition: transform .3s var(--ease), opacity .3s; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ MOBILE DRAWER ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav-drawer {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 998;
  flex-direction: column; overflow-y: auto;
  border-top: 1px solid var(--gray-lt);
}
.nav-drawer.open { display: flex; }

.drawer-link {
  display: block; padding: 1rem 1.6rem;
  font-size: .9rem; font-weight: 600; color: var(--gray-dark);
  border-bottom: 1px solid var(--gray-lt);
  transition: color .2s, background .2s;
}
.drawer-link:hover    { color: var(--orange); background: var(--off-white); }
.drawer-link-cta      { color: var(--orange); font-weight: 700; }

.drawer-accordion     { border-bottom: 1px solid var(--gray-lt); }
.drawer-accordion-toggle {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.6rem; font-family: var(--font-body);
  font-size: .9rem; font-weight: 600; color: var(--gray-dark);
  transition: color .2s, background .2s;
}
.drawer-accordion-toggle:hover { color: var(--orange); background: var(--off-white); }
.drawer-accordion.open .drawer-accordion-toggle { color: var(--orange); }

.drawer-chevron { transition: transform .28s var(--ease); color: var(--gray-mid); flex-shrink: 0; }
.drawer-accordion.open .drawer-chevron { transform: rotate(180deg); }

.drawer-accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .3s var(--ease);
  background: var(--off-white);
}
.drawer-accordion.open .drawer-accordion-body { max-height: 300px; }

.drawer-accordion-body a {
  display: block; padding: .8rem 1.6rem .8rem 2.4rem;
  font-size: .86rem; font-weight: 600; color: var(--gray-dark);
  border-bottom: 1px solid var(--gray-lt);
  transition: color .2s;
}
.drawer-accordion-body a:last-child { border-bottom: none; }
.drawer-accordion-body a:hover { color: var(--orange); }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ PAGE WRAPPER ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-wrap { padding-top: var(--nav-h); }

.page-wrap > .page-hero:first-child {
  margin-top: calc(-1 * var(--nav-h));
  padding-top: calc(3rem + var(--nav-h));
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ HERO ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  position: relative; width: 100%; height: 100svh; min-height: 580px;
  overflow: hidden; background: var(--blue-dark);
}

.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s var(--ease);
  animation: kenburns 14s ease-in-out infinite alternate;
}
.slide.active { opacity: 1; }
.slide:nth-child(1) { animation-delay:   0s; }
.slide:nth-child(2) { animation-delay:  -5s; }
.slide:nth-child(3) { animation-delay: -10s; }
@keyframes kenburns { 0% { transform: scale(1); } 100% { transform: scale(1.07) translate(-1.5%,-1%); } }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(18,40,64,.5) 0%, rgba(18,40,64,.15) 35%),
    linear-gradient(to top,    rgba(18,40,64,.8) 0%, rgba(18,40,64,.05) 55%);
}

.hero-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem 1.5rem;
}

.hero-logo-wrap { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-bottom: 1.4rem; }
.hero-logo      { width: 48px; height: auto; }
.hero-logo-name {
  font-family: var(--font-display); font-style: italic;
  font-size: .9rem; color: rgba(255,255,255,.78);
  letter-spacing: .12em; text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

.hero-tag {
  display: flex; align-items: center; gap: .7rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-bottom: .9rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.hero-tag::before, .hero-tag::after { content: ''; width: 24px; height: 1px; background: rgba(255,255,255,.4); flex-shrink: 0; }

.hero-headline {
  font-size: clamp(1.9rem, 5vw, 3.8rem); font-weight: 700;
  color: var(--white); line-height: 1.15; margin-bottom: 1.1rem;
  max-width: 760px; text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.hero-headline em { font-style: italic; font-weight: 400; color: rgba(255,218,150,.92); }

.hero-sub {
  font-size: clamp(.88rem, 1.4vw, 1.02rem); color: rgba(255,255,255,.8);
  line-height: 1.75; margin-bottom: 2.2rem; max-width: 460px;
  text-shadow: 0 1px 5px rgba(0,0,0,.4);
}

.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }

.hero-dots {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: .5rem;
}
.dot { width: 24px; height: 3px; background: rgba(255,255,255,.3); border-radius: 2px; cursor: pointer; transition: background .3s, width .3s var(--ease); }
.dot.active { background: rgba(255,255,255,.85); width: 38px; }

@media (max-width: 768px) { .hero-logo-wrap { display: none !important; } }
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 260px; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ INTRO STRIP ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.intro-strip { background: var(--white); border-bottom: 1px solid var(--gray-lt); padding: 2.8rem 0; }
.intro-strip-inner {
  max-width: 900px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-around; gap: 1rem;
}
.strip-item    { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; flex: 1; }
.strip-num     { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--orange); line-height: 1; }
.strip-label   { font-size: .76rem; color: var(--gray-mid); line-height: 1.45; }
.strip-label strong { display: block; font-size: .85rem; font-weight: 700; color: var(--black); }
.strip-divider { width: 1px; height: 44px; background: var(--gray-lt); flex-shrink: 0; }

@media (max-width: 560px) {
  .intro-strip-inner { flex-wrap: wrap; }
  .strip-divider { display: none; }
  .strip-item { width: 48%; border-bottom: 1px solid var(--gray-lt); padding: .8rem 0; }
  .strip-item:nth-child(n+4) { border-bottom: none; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ABOUT SECTION ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-section { padding: 6rem 0; background: var(--off-white); }
.about-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 3fr 2fr; gap: 4rem; align-items: center;
}

.about-eyebrow { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: .7rem; }

.about-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700;
  color: var(--black); line-height: 1.2;
}
.about-title em { font-style: italic; font-weight: 400; color: var(--blue); }

.about-divider { width: 44px; height: 2px; background: linear-gradient(90deg, var(--orange), var(--blue)); border-radius: 2px; margin: 1.4rem 0; }

.about-body  { font-size: .96rem; color: var(--gray-dark); line-height: 1.85; margin-bottom: .9rem; }

.about-motto {
  margin: 1.4rem 0; padding: 1rem 1.4rem;
  border-left: 3px solid var(--orange); background: rgba(200,101,26,.05); border-radius: 0 8px 8px 0;
  font-size: 1rem; font-style: italic; color: var(--blue); line-height: 1.65;
}

.about-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; }

.about-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.about-plate-wrap {
  width: clamp(200px, 24vw, 340px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 8px #fff, 0 0 0 14px var(--gray-lt), 0 16px 48px rgba(27,58,92,.14);
  animation: plateFloat 5s ease-in-out infinite;
}
.about-plate { width: 100%; height: 100%; object-fit: cover; }
@keyframes plateFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.about-badge {
  position: absolute; bottom: .5rem; right: 0;
  width: 78px; height: 78px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 6px 20px rgba(27,58,92,.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
}
.badge-num   { font-size: 1rem; font-weight: 700; color: var(--white); line-height: 1; }
.badge-label { font-size: .52rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }

@media (max-width: 860px) {
  .about-section { padding: 4rem 0; }
  .about-inner   { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .about-divider { margin: 1.2rem auto; }
  .about-actions { justify-content: center; }
  .about-visual  { order: -1; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ PAGE HERO (inner pages) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  background-size: cover; background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 3rem 1.5rem;
  text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(18,40,64,.78), rgba(27,58,92,.65));
}
.page-hero-eyebrow { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .7rem; position: relative; z-index: 1; }
.page-hero-title   { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: .8rem; position: relative; z-index: 1; }
.page-hero-title em { font-style: italic; font-weight: 400; color: rgba(255,218,150,.85); }
.page-hero-sub     { font-size: .96rem; color: rgba(255,255,255,.65); max-width: 560px; margin: 0 auto; line-height: 1.75; position: relative; z-index: 1; }
.page-hero-img     { margin-top: 2rem; max-width: 900px; margin-left: auto; margin-right: auto; border-radius: 12px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.25); }
.page-hero-img img { width: 100%; height: 320px; object-fit: cover; display: block; }

@media (max-width: 768px) { .page-hero-img img { height: 200px; } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BUTTONS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 2rem; font-family: var(--font-body);
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: 50px; cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-orange       { background: var(--orange); color: var(--white); box-shadow: 0 4px 14px rgba(200,101,26,.35); }
.btn-orange:hover { background: var(--orange-dark); box-shadow: 0 8px 22px rgba(200,101,26,.5); }

.btn-blue         { background: var(--blue); color: var(--white); box-shadow: 0 4px 14px rgba(27,58,92,.3); }
.btn-blue:hover   { background: var(--blue-dark); box-shadow: 0 8px 22px rgba(27,58,92,.45); }

.btn-ghost        { background: rgba(255,255,255,.15); color: var(--white); border-color: rgba(255,255,255,.45); backdrop-filter: blur(8px); }
.btn-ghost:hover  { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.75); }

.btn-outline-blue       { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

.btn-outline-orange       { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline-orange:hover { background: var(--orange); color: var(--white); }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FOOTER ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer { background: #000; color: rgba(255,255,255,.5); padding: 5rem 0 2.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3.5rem; }

.footer-brand img { height: 34px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p   { font-size: .84rem; line-height: 1.75; max-width: 270px; }

.footer-social    { display: flex; gap: .55rem; margin-top: 1.3rem; }
.social-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.4);
  transition: border-color .2s, color .2s;
}
.social-btn:hover { border-color: var(--orange); color: var(--orange); }

.footer-col h5 { font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem; }
.footer-col li + li { margin-top: .45rem; }
.footer-col a  { font-size: .83rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-col a:hover { color: var(--orange); }

.footer-contact p { font-size: .83rem; display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .55rem; line-height: 1.6; }
.footer-contact .ico { flex-shrink: 0; opacity: .5; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,.45); }
.footer-contact a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.8rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; font-size: .77rem;
}
.footer-bottom-links { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.footer-bottom a     { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom a:hover { color: var(--orange); }
.footer-credit       { font-size: .7rem; opacity: .45; }

@media (max-width: 900px)  { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px)  {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ COOKIE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  background: rgba(255,255,255,.98); border-top: 1px solid var(--gray-lt);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  transform: translateY(110%); transition: transform .4s var(--ease); pointer-events: none;
}
.cookie-banner.cookie-visible { transform: translateY(0); pointer-events: auto; }
.cookie-banner-inner {
  max-width: 1100px; margin: 0 auto; padding: 1.1rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-text        { flex: 1; min-width: 200px; }
.cookie-text strong { display: block; font-size: .86rem; font-weight: 700; color: var(--black); margin-bottom: .25rem; }
.cookie-text p      { font-size: .8rem; color: var(--gray-dark); line-height: 1.55; margin: 0; }
.cookie-link        { color: var(--orange); text-decoration: underline; }
.cookie-actions     { display: flex; gap: .6rem; flex-shrink: 0; }
.btn-cookie         { padding: .5rem 1.2rem; font-size: .74rem; }

@media (max-width: 560px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn-cookie { flex: 1; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ PRODUCT BLOCKS (linea pages) — COMPACT CATALOGUE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.linea-products {
  padding: 3rem 0 4rem;
  background-color: var(--blue-dark);
  background-image:
    linear-gradient(rgba(18,40,64,.58), rgba(18,40,64,.58)),
    url('../img/clessidra1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.linea-products-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* separatore tra prodotti */
.product-block {
  margin-bottom: 1.8rem;
  padding-bottom: 0;
}
.product-block:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding-bottom: 1.8rem;
}
.product-block:last-child { margin-bottom: 0; }

/* header prodotto */
.product-block-header  { text-align: center; margin-bottom: .9rem; }
.product-block-title   { font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 700; color: #fff; }
.product-block-sub     { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.6); margin-top: .15rem; }

/* griglia 3 colonne compatta */
.product-block-grid {
  display: grid;
  grid-template-columns: 200px 1fr 1.4fr;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
}

/* Foto */
.product-col-img { flex-shrink: 0; position: relative; cursor: zoom-in; }
.product-col-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease);
}
.product-col-img:hover img { transform: scale(1.04); }

/* icona zoom */
.product-col-img::after {
  content: '⤢';
  position: absolute; bottom: .6rem; right: .7rem;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,.45); backdrop-filter: blur(4px);
  color: #fff; font-size: .8rem; line-height: 28px; text-align: center;
  opacity: 0; transition: opacity .2s var(--ease);
  pointer-events: none;
}
.product-col-img:hover::after { opacity: 1; }

/* Descrizione */
.product-col-desc {
  background: #e43228;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
}
.product-col-desc p      { font-size: .83rem; color: var(--white); line-height: 1.65; }
.product-col-desc strong { color: var(--white); }

/* Scheda tecnica */
.product-col-specs { padding: 1.2rem 1.4rem; background: var(--white); overflow: hidden; }

.specs-ingredients {
  font-size: .8rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin-bottom: .9rem;
}
.specs-ingredients strong { color: var(--black); }

.specs-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.specs-table th {
  text-align: left;
  font-size: .67rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue);
  padding: .3rem .4rem .3rem 0;
  border-bottom: 2px solid var(--gray-lt);
}
.specs-table td {
  padding: .28rem .4rem .28rem 0;
  color: var(--gray-dark);
  vertical-align: top;
}
.specs-table tbody tr + tr td { border-top: 1px solid var(--gray-lt); }

.specs-extra {
  font-size: .8rem;
  color: var(--gray-dark);
  margin-top: .6rem;
  line-height: 1.55;
}

.specs-formats-list {
  list-style: none; padding: 0; margin: 0 0 .6rem;
  font-size: .78rem; color: var(--gray-dark); line-height: 1.8;
}
.specs-formats-list li::before {
  content: '—'; margin-right: .4rem; color: var(--orange); font-weight: 700;
}

/* ── lightbox ── */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.92); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), visibility .25s;
}
.lb-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }

/* immagine — occupa tutto lo spazio disponibile mantenendo le proporzioni */
.lb-img {
  display: block;
  max-width: 92vw;
  max-height: 78vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  transform: scale(.94);
  transition: transform .28s var(--ease), opacity .2s;
  user-select: none;
}
.lb-overlay.open .lb-img { transform: scale(1); }
.lb-img.lb-fade { opacity: 0; transform: scale(.96); }

/* titolo sotto la foto */
.lb-caption {
  margin-top: .9rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  text-align: center;
  min-height: 1.2em;
  transition: opacity .2s;
}
.lb-caption.lb-fade { opacity: 0; }

/* contatore  1 / 6 */
.lb-counter {
  position: absolute; top: 1rem; left: 50%; transform: translateX(-50%);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  color: rgba(255,255,255,.45);
}

/* pulsante chiudi */
.lb-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: rgba(255,255,255,.12); border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; font-size: 1.3rem; line-height: 40px; text-align: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.28); }

/* frecce navigazione */
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  color: #fff; font-size: 1.2rem; line-height: 44px; text-align: center;
  transition: background .2s, transform .2s;
  user-select: none;
}
.lb-prev { left: 1.2rem; }
.lb-next { right: 1.2rem; }
.lb-prev:hover { background: rgba(255,255,255,.28); transform: translateY(-50%) translateX(-2px); }
.lb-next:hover { background: rgba(255,255,255,.28); transform: translateY(-50%) translateX(2px); }

/* responsive */
@media (max-width: 860px) {
  .product-block-grid { grid-template-columns: 1fr; }
  .product-col-img img { height: 240px; max-height: 280px; }
}

/* iOS Safari — no background-attachment: fixed */
@supports (-webkit-touch-callout: none) {
  .linea-products { background-attachment: scroll; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ LINEA PAGES ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.linea-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
}

.linea-item img {
  width: 100%; display: block;
  transition: transform .35s var(--ease);
}
.linea-item:hover img { transform: scale(1.04); }
.linea-item { overflow: hidden; }

@media (max-width: 900px) { .linea-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .linea-grid { grid-template-columns: repeat(2, 1fr); } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FOOD-SERVICE PAGE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.fs-intro { padding: 4rem 0; background: var(--white); }
.fs-intro-inner { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.fs-intro-inner .about-divider { margin: 1.2rem auto; }

.fs-lines { padding: 5rem 0; background: var(--white); }
.fs-lines-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.lines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 2.5rem;
}

.line-card {
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; color: inherit;
  gap: .9rem; overflow: hidden;
}

.line-card img {
  width: 100%; display: block;
  transition: transform .35s var(--ease);
}
.line-card:hover img { transform: scale(1.05); }

.line-card-title {
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); text-align: center;
  transition: color .2s var(--ease);
}
.line-card:hover .line-card-title { color: var(--orange); }

/* Catalogue strip */
.catalogue-strip {
  background: var(--blue); padding: 3rem 1.5rem;
}
.catalogue-strip-consumers {
  background: var(--yellow); padding: 3rem 1.5rem;
}
.catalogue-strip-consumers .cta-strip-title { color: var(--white); }
.catalogue-strip-consumers .cta-strip-sub   { color: rgba(255,255,255,.85); }
.catalogue-strip-consumers .about-eyebrow   { color: rgba(255,255,255,.7); }

.catalogue-strip-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.catalogue-strip-text .cta-strip-title { color: var(--white); }
.catalogue-strip-text .cta-strip-sub   { color: rgba(255,255,255,.65); }

@media (max-width: 960px)  { .lines-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .lines-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .lines-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px)  {
  .catalogue-strip-inner { flex-direction: column; text-align: center; }
  .fs-lines { padding: 3rem 0; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ COMPANY PAGE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.company-intro { padding: 5rem 0; background: var(--white); }
.company-intro-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.company-intro-img img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 16px 48px rgba(27,58,92,.14);
}

@media (max-width: 860px) {
  .company-intro { padding: 3.5rem 0; }
  .company-intro-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .company-intro-img { order: -1; }
}

/* Motto full-width band */
.company-motto-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 4.5rem 1.5rem;
}
.company-motto-inner {
  max-width: 860px; margin: 0 auto; text-align: center;
}
.company-motto-text {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic; color: rgba(255,218,150,.92);
  line-height: 1.6; margin-bottom: 1.8rem;
}
.company-motto-body {
  font-size: .95rem; color: rgba(255,255,255,.72); line-height: 1.85;
}

/* Category cards grid */
.company-categories { padding: 5rem 0; background: var(--off-white); }
.company-categories-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.section-header { text-align: center; margin-bottom: 3rem; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cat-grid .cat-card:nth-child(4) { grid-column: 1; }
.cat-grid .cat-card:nth-child(5) { grid-column: 2; }

.cat-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(27,58,92,.08);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  text-decoration: none; color: inherit;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(27,58,92,.15); }

.cat-card-img {
  width: 100%; height: 180px;
  background-size: cover; background-position: center;
  transition: transform .4s var(--ease);
}
.cat-card:hover .cat-card-img { transform: scale(1.04); }

.cat-card-body { padding: 1.4rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.cat-card-title { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--blue); }
.cat-card-sub   { font-size: .84rem; color: var(--gray-dark); line-height: 1.65; flex: 1; }
.cat-card-cta   { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); margin-top: .4rem; }
.cat-card:hover .cat-card-cta { text-decoration: underline; }

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid .cat-card:nth-child(4),
  .cat-grid .cat-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .company-categories { padding: 3rem 0; }
}

/* CTA Strip */
.cta-strip { background: var(--white); border-top: 1px solid var(--gray-lt); padding: 3rem 1.5rem; }
.cta-strip-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-strip-title { font-family: var(--font-body); font-size: 1.4rem; font-weight: 700; color: var(--blue); margin-bottom: .35rem; }
.cta-strip-sub   { font-size: .9rem; color: var(--gray-dark); }

@media (max-width: 600px) {
  .cta-strip-inner { flex-direction: column; text-align: center; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ RESPONSIVE NAV ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 960px) {
  .nav-menu  { display: none; }
  .nav-right .nav-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .nav-inner { justify-content: space-between; }
  .nav-right { margin-left: auto; }
}
@media (max-width: 480px) {
  :root { --nav-h: 60px; }
}