/* Iliria Industries — parti proprie del sito, sopra la base condivisa con GraalMed (style.css).
   Blu del logo + oro dell'arco. Piu immagini e meno testo (Teo, 02/10/2026). */
:root {
  --gold: #E3BE55;          /* oro pieno: pulsanti e numeri su fondo scuro */
  --gold-ink: #9A7417;      /* oro scuro: parole in evidenza su fondo chiaro (leggibile) */
}

/* parole in evidenza: oro scuro su chiaro, oro chiaro su scuro */
.h2 em, .statement__text em { color: var(--gold-ink); }
.section--dark .h2 em, .hero__title em, .cta__title em { color: #F0D886; }
.eyebrow b { color: var(--gold-ink); }
.eyebrow--light b { color: #F0D886; }

/* pulsante principale in oro */
.btn--primary { background: var(--gold); color: var(--navy-950); }
.btn--primary:hover { background: #F0D886; color: var(--navy-950); }
.nav.is-stuck .nav__cta { background: var(--navy); color: #fff; }
.nav.is-stuck .nav__cta:hover { background: var(--navy-800); }

/* logo: piu grande e nitido (file ad alta definizione) */
.logo { height: 58px; }
.nav.is-stuck .logo { height: 50px; }
.footer__brand img { height: 64px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- apertura: l'immagine del nostro stabilimento ---------- */
.hero__visual.hero__shot { max-width: 640px; margin: 0; }
.hero__shot img, .hero__shot video { display: block; width: 100%; height: auto; aspect-ratio: 7 / 5; object-fit: cover; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); background: var(--navy-800); }
.hero__shot video { aspect-ratio: 16 / 10; }
.hero__shot figcaption { margin-top: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.hero__shot figcaption a { color: #F0D886; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- scheda con video ---------- */
.card--video { justify-content: flex-end; min-height: 420px; }
.card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.card--video::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(7, 14, 38, .15) 0%, rgba(7, 14, 38, .55) 45%, rgba(7, 14, 38, .94) 100%); }
.card--video > *:not(.card__video) { position: relative; z-index: 1; }
.card--video .card__tag { align-self: flex-start; margin-bottom: auto; }

/* ---------- la linea: immagini e video ---------- */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); aspect-ratio: 4 / 3; isolation: isolate; }
.shot--wide { grid-column: span 2; aspect-ratio: 8 / 3; }
.shot img, .shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img, .shot:hover video { transform: scale(1.04); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 18px; color: rgba(255, 255, 255, .82); font-size: 14.5px; line-height: 1.4;
  background: linear-gradient(0deg, rgba(7, 14, 38, .92), rgba(7, 14, 38, 0)); }
.shot figcaption b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: #fff; margin-bottom: 2px; }
.shots__note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.machines { margin-top: 28px; border-top: 1px solid var(--line); }
.machines summary { cursor: pointer; padding: 20px 0; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.machines summary::-webkit-details-marker { display: none; }
.machines summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--gold-ink); }
.machines[open] summary::after { content: "–"; }
.machines ol { columns: 3 260px; column-gap: 40px; padding: 0 0 12px 22px; margin: 0; font-size: 15px; color: var(--text); }
.machines li { padding: 5px 0; break-inside: avoid; }
.machines b { color: var(--ink); }

/* ---------- capacita ---------- */
.stats--flush { margin-top: 0; }
.stat--gold strong { color: #F0D886; }
.calc { margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 3vw, 36px); max-width: 780px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.calc h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.calc__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.calc label { display: grid; gap: 8px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.calc input { width: 100%; height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(7, 14, 38, .6); color: #fff;
  font-family: var(--font-display); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.calc__out { margin-top: 18px; min-height: 3.2em; font-size: 18px; color: rgba(255, 255, 255, .86); }
.calc__out b { color: #F0D886; font-family: var(--font-display); }
.fine { margin-top: 22px; max-width: 64em; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .5); }
.fine--ink { color: var(--muted); }

/* ---------- visita 3D ---------- */
.tour { position: relative; border-radius: clamp(20px, 2.4vw, 32px); overflow: hidden; background: var(--navy-900); aspect-ratio: 16 / 9; }
.tour canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.tour canvas:active { cursor: grabbing; }
.tour__start { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; color: rgba(255, 255, 255, .8); }
.tour__start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); }
.tour__start .btn, .tour__start p { position: relative; }
.tour__start p { font-size: 13.5px; }
.tour__ui { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
  padding: clamp(16px, 2.4vw, 28px); background: linear-gradient(0deg, rgba(7, 14, 38, .94), rgba(7, 14, 38, 0)); pointer-events: none; }
.tour__cap { max-width: 36em; color: rgba(255, 255, 255, .82); pointer-events: auto; }
.tour__step { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #F0D886; }
.tour__cap h3 { margin-top: 8px; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; color: #fff; }
.tour__cap p:last-child { margin-top: 6px; font-size: 15px; line-height: 1.5; }
.tour__ctl { display: flex; gap: 8px; pointer-events: auto; flex: none; }
.tour__ctl button { min-width: 48px; height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .34); background: rgba(7, 14, 38, .7); color: #fff;
  font-family: var(--font-display); font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s; }
.tour__ctl button:hover { background: var(--navy); border-color: #fff; }

/* ---------- standard ---------- */
.std__state { display: inline-block; margin-top: 16px !important; padding: 6px 12px; border-radius: 999px; background: #FBF4DC; color: #6B5210 !important; font-size: 13px !important; font-weight: 600; }

/* ---------- white label ---------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: passo; }
.flow li { counter-increment: passo; padding: 28px 22px 26px; border-radius: var(--radius); background: var(--tint); }
.flow li::before { content: counter(passo, decimal-leading-zero); font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--gold-ink); }
.flow h3 { margin-top: 14px; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.flow p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.moq { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--radius); overflow: hidden; color: rgba(255, 255, 255, .74);
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-800) 55%, var(--navy-900) 100%); }
.moq > div { padding: clamp(24px, 3vw, 36px); border-right: 1px solid rgba(255, 255, 255, .14); }
.moq > div:last-child { border-right: 0; }
.moq__k { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #F0D886; }
.moq__v { margin-top: 12px; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.moq > div > p:last-child { margin-top: 10px; font-size: 15px; line-height: 1.5; }

/* ---------- elenco dei principi attivi ---------- */
.prod { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 30px); }
.prod__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.prod__search { flex: 1 1 320px; }
.prod__search input { width: 100%; height: 54px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 14px; font: 400 16px/1 var(--font-body); color: var(--ink); background: var(--tint); }
.prod__search input:focus { border-color: var(--navy); outline: none; background: #fff; }
.prod__count { font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.prod__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.prod__cats button { border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 9px 14px; font: 500 13.5px/1 var(--font-body); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.prod__cats button:hover { border-color: var(--navy); }
.prod__cats button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.prod__cats small { opacity: .6; margin-left: 6px; font-size: 12px; font-variant-numeric: tabular-nums; }
.prod__list { margin-top: 18px; max-height: 236px; overflow: hidden; position: relative; }
.prod__list.is-open { max-height: 640px; overflow: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); }
.prod__list:not(.is-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(0deg, #fff, rgba(255, 255, 255, 0)); pointer-events: none; }
.prod__group { margin-top: 18px; }
.prod__group h3 { position: sticky; top: 0; z-index: 1; background: #fff; padding: 10px 0 9px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.prod__group ul { columns: 4 210px; column-gap: 30px; margin-top: 10px; }
.prod__group li { break-inside: avoid; padding: 4px 0; font-size: 15px; line-height: 1.35; color: var(--ink); }
.prod__group mark { background: #FBF0BD; color: inherit; border-radius: 3px; padding: 0 1px; }
.prod__empty { padding: 24px 0; color: var(--muted); }
.prod__more { margin-top: 20px; width: 100%; justify-content: center; }

/* ---------- chi siamo: la frase grande ---------- */
.statement .eyebrow { margin-bottom: 28px; }
.statement__text { max-width: 24em; }
.statement .pillars { margin-top: clamp(48px, 7vw, 88px); }

/* ---------- contatti ---------- */
.copy { margin-top: 18px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .34); background: transparent; color: #fff;
  font: 600 14px/1 var(--font-display); cursor: pointer; }
.copy:hover { border-color: #fff; }
.cta__mail { overflow-wrap: anywhere; }

/* ---------- schermi stretti ---------- */
@media (max-width: 1100px) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot--wide { aspect-ratio: 2 / 1; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .logo, .nav.is-stuck .logo { height: 46px; }
  .hero__visual.hero__shot { display: block; max-width: none; justify-self: stretch; }
  .tour { aspect-ratio: 4 / 3; }
  .tour__ui { flex-direction: column; align-items: stretch; }
  .tour__ctl { justify-content: space-between; }
}
@media (max-width: 680px) {
  .shots, .flow, .moq, .calc__fields { grid-template-columns: minmax(0, 1fr); }
  .shot--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .moq > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .tour { aspect-ratio: 3 / 4; }
  .card--video { min-height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .shot img, .shot video { transition: none; }
}

/* ---------- pagine legali ---------- */
.legal__bar img { height: 52px; width: auto; }

/* il video della scheda grande sta dietro al testo (la base lo rimetteva in fila) */
.card.card--video > .card__video { position: absolute; z-index: 0; }
.card.card--video { min-height: 460px; }
.card.card--video > .card__tag { position: absolute; margin: 0; }

/* ---------- apertura con il video a tutto schermo e la scritta sopra ---------- */
.hero--video .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--video .hero__shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 14, 38, .9) 0%, rgba(7, 14, 38, .74) 42%, rgba(7, 14, 38, .38) 100%),
              linear-gradient(180deg, rgba(7, 14, 38, .55) 0%, rgba(7, 14, 38, 0) 26%, rgba(7, 14, 38, 0) 62%, rgba(7, 14, 38, .92) 100%); }
.hero--video .hero__bg::after { display: none; }
.hero--video .hero__inner { grid-template-columns: minmax(0, 1fr); }
.hero--video .hero__copy { max-width: 900px; }
.hero--video .hero__title { font-size: clamp(2.5rem, 5.6vw, 5rem); text-shadow: 0 2px 30px rgba(7, 14, 38, .55); }
.hero--video .hero__lead { color: rgba(255, 255, 255, .86); }
@media (max-width: 720px) {
  .hero--video .hero__shade { background: linear-gradient(180deg, rgba(7, 14, 38, .82) 0%, rgba(7, 14, 38, .66) 55%, rgba(7, 14, 38, .94) 100%); }
}

/* ---------- titolo di sezione con un video a fianco (lista dei principi attivi) ---------- */
.intro-video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.intro-video .section__head { margin-bottom: 0; }
.intro-video__clip { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); box-shadow: 0 30px 70px -34px rgba(10, 20, 51, .55); }
.intro-video__clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .intro-video { grid-template-columns: minmax(0, 1fr); } }

/* ---------- fascia: stabilimento autorizzato all'import nella UE ---------- */
.eu-band { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: center; margin-bottom: clamp(28px, 4vw, 48px);
  padding: clamp(24px, 3.4vw, 40px) clamp(22px, 3.6vw, 46px); border-radius: var(--radius); color: rgba(255, 255, 255, .82);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-800) 55%, var(--navy-900) 100%); }
.eu-band__mark { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(240, 216, 134, .12); border: 1px solid rgba(240, 216, 134, .4); }
.eu-band__mark svg { width: 44px; height: 44px; fill: none; stroke: #F0D886; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.eu-band__k { font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #F0D886; }
.eu-band h3 { margin-top: 8px; font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: -.03em; line-height: 1.15; color: var(--white); }
.eu-band h3 + p { margin-top: 10px; max-width: 46em; line-height: 1.6; }
@media (max-width: 560px) { .eu-band { grid-template-columns: minmax(0, 1fr); } .eu-band__mark { width: 56px; height: 56px; } .eu-band__mark svg { width: 34px; height: 34px; } }

/* ---------- standard: foto dell'operatore accanto alle schede ---------- */
.std-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.std-wrap .standards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.std-photo { position: relative; margin: 0; min-height: 340px; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); }
.std-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .std-wrap { grid-template-columns: minmax(0, 1fr); } .std-photo { min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 720px) { .std-wrap .standards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- video intero della capsulatrice ---------- */
.full-video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(20px, 3vw, 36px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.full-video__clip { position: relative; aspect-ratio: 9 / 16; border-radius: calc(var(--radius) - 8px); overflow: hidden; background: var(--navy-900); }
.full-video__clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.full-video__text h3 { margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.03em; line-height: 1.12; color: var(--ink); }
.full-video__text h3 + p { margin-top: 14px; max-width: 34em; line-height: 1.65; color: var(--text); }
.full-video__steps { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: passo; display: grid; gap: 10px; }
.full-video__steps li { counter-increment: passo; display: flex; align-items: baseline; gap: 12px; font-size: .98rem; color: var(--text); }
.full-video__steps li::before { content: counter(passo, decimal-leading-zero); font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--gold-ink); }
@media (max-width: 760px) { .full-video { grid-template-columns: minmax(0, 1fr); } .full-video__clip { max-width: 300px; width: 100%; margin-inline: auto; } }

/* ---------- video del capannone dal drone, in "About us" ---------- */
.plant-video { position: relative; margin: clamp(40px, 6vw, 72px) 0 0; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); }
.plant-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plant-video::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to top, rgba(8, 20, 43, .78), rgba(8, 20, 43, 0)); pointer-events: none; }
.plant-video figcaption { position: absolute; z-index: 1; left: clamp(18px, 3vw, 36px); bottom: clamp(16px, 2.6vw, 30px); right: clamp(18px, 3vw, 36px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; color: var(--white); }
.plant-video figcaption b { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: -.03em; }
.plant-video figcaption span { font-size: clamp(.82rem, 1.2vw, .95rem); letter-spacing: .04em; color: rgba(255, 255, 255, .82); }
.statement .plant-video + .pillars { margin-top: clamp(28px, 4vw, 48px); }
@media (max-width: 560px) { .plant-video { aspect-ratio: 4 / 3; } }
