/* =====================================================================
   SOLUZIONETOP — Custom stylesheet
   ---------------------------------------------------------------------
   Indice:
   01. Design tokens (CSS custom properties)
   02. Reset & base
   03. Typography utilities
   04. Layout utilities
   05. Buttons
   06. Navbar
   07. Hero
   08. Marquee (marchi)
   09. Chi siamo
   10. Catalogo
   11. Outlet
   12. Academy
   13. CTA Contatti
   14. CHI SIAMO - grid vantaggi
   15. Footer
   16. Pag Contatti
   17. Pag Catalogo
   18. Reveal/animation utility states
   19. Reduced motion overrides
   ===================================================================== */


/* ====================================================================
   01. DESIGN TOKENS
   ==================================================================== */
:root{
  --st-bg: #f4f1ec;          /* warm off-white */
  --st-bg-2: #ece7df;        /* paper */
  --st-ink: #14110e;         /* near black */
  --st-ink-2: #2a2520;       /* graphite */
  --st-muted: #7c7065;       /* stone */
  --st-line: #c9bfb1;        /* hairline */
  --st-accent: #8a6a3b;      /* bronze */
  --st-accent-2: #b89368;    /* warm bronze */

  --st-dark: #0e0c0a;
  --st-dark-2: #181513;

  --st-radius: 2px;
  --st-ease: cubic-bezier(.22,.61,.36,1);

  --st-display: 'Inter', sans-serif;
  --st-body: 'Inter', sans-serif;

  --st-container: 1600px;
  --st-gutter: clamp(20px, 4vw, 40px);
}


/* ====================================================================
   02. RESET & BASE (scoped to .st-page to avoid conflict with YOOtheme)
   ==================================================================== */
.st-page,
.st-page *{ box-sizing: border-box; }

.st-page{
  background: var(--st-bg);
  color: var(--st-ink);
  font-family: var(--st-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.st-page img{ max-width: 100%; /*display: block;*/ }
.st-page a{ color: inherit; text-decoration: none; }
.st-page ::selection{ background: var(--st-ink); color: var(--st-bg); }

/* Lenis smooth scroll required styles */
html.lenis, html.lenis body{ height: auto; }
.lenis.lenis-smooth{ scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent]{ overscroll-behavior: contain; }
.lenis.lenis-stopped{ overflow: hidden; }

/* Custom cursor */
.st-cursor{
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--st-ink);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width .35s var(--st-ease), height .35s var(--st-ease), background .25s ease;
  will-change: transform;
}
.st-cursor.is-hover{ width: 64px; height: 64px; background: var(--st-accent-2); }
@media (hover: none){ .st-cursor{ display: none; } }


/* ====================================================================
   03. TYPOGRAPHY UTILITIES
   ==================================================================== */
.st-eyebrow{
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--st-muted);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.st-eyebrow::before{
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}

.st-display{
  font-family: var(--st-display);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--st-ink);
}
.st-display .it{
  font-style: italic;
  font-weight: 300;
  color: var(--st-accent-2);
}

.st-h1{ font-size: clamp(48px, 9vw, 168px); }
.st-h2{ font-size: clamp(40px, 6.4vw, 112px); }
.st-h3{ font-size: clamp(28px, 3.6vw, 56px); font-weight: 300; letter-spacing: -0.02em; }

.st-lead{
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--st-ink-2);
  font-weight: 300;
  max-width: 56ch;
}

.text-stone {color: var(--st-muted)!important;}
.text-accent {color: var(--st-accent)!important;}
.text-accent2 {color: var(--st-accent-2)!important;}
.background-muted-dark{ background: var(--st-bg-2); position: relative; overflow: hidden; }

/* ====================================================================
   04. LAYOUT UTILITIES
   ==================================================================== */
.st-container{
  width: 100%;
  max-width: var(--st-container);
  margin: 0 auto;
  padding: 0 var(--st-gutter);
  position: relative;
}

.st-section{ position: relative; padding: clamp(80px, 12vh, 160px) 0; }
.st-section--tight{ padding: clamp(60px, 8vh, 100px) 0; }
.img-background-half > div {min-height: 400px;}


/* ====================================================================
   05. BUTTONS
/* ====================================================================


/* ---------- Base shared style ---------- */
.st-page .st-btn,
.st-page .uk-button.uk-button-primary,
.st-page .uk-button.uk-button-default,
.st-page .uk-button.uk-button-link{
  --c-fg: var(--st-bg);
  --c-bg: var(--st-ink);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px 18px 32px;
  background: var(--c-bg);
  color: var(--c-fg);
  border: none;
  cursor: pointer;
  font-family: var(--st-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  height: auto;
  min-height: 0;
  isolation: isolate;            /* creates own stacking context */
  z-index: 0;
  transition: transform .4s var(--st-ease), color .3s var(--st-ease);
}

/* Bronze sweep on hover (placed BEHIND content via z-index:-1) */
.st-page .st-btn::before,
.st-page .uk-button.uk-button-primary::before,
.st-page .uk-button.uk-button-default::before,
.st-page .uk-button.uk-button-link::before{
  content: "";
  position: absolute; inset: 0;
  background: var(--st-accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .5s var(--st-ease);
  z-index: -1;                   /* keeps native text nodes above */
}
.st-page .st-btn:hover,
.st-page .uk-button.uk-button-primary:hover,
.st-page .uk-button.uk-button-default:hover,
.st-page .uk-button.uk-button-link:hover{
  color: #fff;
  background: var(--c-bg); /* ribadisce contro override UIKit */
}
.st-page .st-btn:hover::before,
.st-page .uk-button.uk-button-primary:hover::before,
.st-page .uk-button.uk-button-default:hover::before,
.st-page .uk-button.uk-button-link:hover::before{
  transform: scaleX(1);
  transform-origin: left center;
}
/* Keep text/icons above the sweep */
.st-page .st-btn > *,
.st-page .uk-button.uk-button-primary > *,
.st-page .uk-button.uk-button-default > *,
.st-page .uk-button.uk-button-link > *{
  position: relative;
  z-index: 1;
}

/* ---------- Arrow circle (only inside .st-btn manuals) ---------- */
.st-page .st-btn__arrow{
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-fg);
  color: var(--c-bg);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .4s var(--st-ease), background .3s var(--st-ease), color .3s var(--st-ease);
  flex-shrink: 0;
}
.st-page .st-btn:hover .st-btn__arrow{
  transform: rotate(-45deg);
  background: #fff;
  color: var(--st-accent);
}

/* ---------- Variant: outline (manual .st-btn--outline) ---------- */
.st-page .st-btn.st-btn--outline,
.st-page .uk-button.uk-button-default{
  --c-bg: transparent;
  --c-fg: var(--st-ink);
  border: 1px solid var(--st-ink);
}
.st-page .st-btn.st-btn--outline .st-btn__arrow{
  background: var(--st-ink);
  color: var(--st-bg);
}

/* ---------- Variant: light (manual .st-btn--light) ---------- */
/* IMPORTANT: --c-fg first reset to ensure text is visible on white */
.st-page .st-btn.st-btn--light{
  --c-bg: #fff;
  --c-fg: #000;
  color: #000;          /* hard override to fix invisibility bug */
  background: #fff;
}
.st-page .st-btn.st-btn--light:hover{
  color: #fff;          /* on bronze sweep, text turns white */
}
.st-page .st-btn.st-btn--light .st-btn__arrow{
  background: #000;
  color: #fff;
}
.st-page .st-btn.st-btn--light:hover .st-btn__arrow{
  background: #fff;
  color: var(--st-accent);
}

/* ---------- Dark sections override ----------
   In sezioni scure (outlet, CTA) i bottoni "default" devono essere
   bianchi su sfondo trasparente con bordo bianco, e "primary"/"link"
   devono restare leggibili. */
.st-page .outlet .uk-button.uk-button-default,
.st-page .cta .uk-button.uk-button-default{
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.st-page .outlet .uk-button.uk-button-primary,
.st-page .cta .uk-button.uk-button-primary{
  --c-bg: #fff;
  --c-fg: #000;
  color: #000;
  background: #fff;
}
.st-page .outlet .uk-button.uk-button-primary:hover,
.st-page .cta .uk-button.uk-button-primary:hover{
  color: #fff;
}

/* ---------- Link button override (uk-button-link) ----------
   "Scopri di più" Chi siamo è un button style "link" di YOOtheme.
   Lo trattiamo come outline scuro su sfondo chiaro. */
.st-page .uk-button.uk-button-link{
  --c-bg: transparent;
  --c-fg: var(--st-ink);
  border: 1px solid var(--st-ink);
  color: var(--st-ink);
}


/* ====================================================================
   06. NAVBAR
   ==================================================================== */
.st-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--st-gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .4s var(--st-ease);
  mix-blend-mode: difference;
}
.st-nav.is-scrolled{ padding: 14px var(--st-gutter); }

.st-nav__logo{
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  font-size: 18px;
  display: flex; align-items: baseline; gap: 6px;
}
.st-nav__logo span{ color: var(--st-accent-2); font-weight: 300; }

.st-nav__menu{
  display: flex; align-items: center; gap: 36px;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.st-nav__menu a{ position: relative; padding: 4px 0; }
.st-nav__menu a::after{
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .4s var(--st-ease);
}
.st-nav__menu a:hover::after{ width: 100%; }

.st-nav__cta{
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.st-nav__cta:hover{ background: #fff; color: #000; border-color: #fff; }

@media (max-width: 960px){
  .st-nav__menu{ display: none; }
  .uk-navbar-container:not(.uk-navbar) {
      padding-top: 0;
  }
}

/* --- Header logo visibility (SOLO desktop) ---
   In uk-dark (sezioni chiare): mostra solo il logo normale.
   In uk-light (sezioni scure): mostra solo il logo inverse.
   Selettore ristretto a .tm-header:not(.tm-header-mobile) per
   non interferire con l'header mobile gestito nativamente da YOOtheme. */
.st-page .tm-header:not(.tm-header-mobile) .uk-dark .uk-logo-inverse{ display: none; }
.st-page .tm-header:not(.tm-header-mobile) .uk-light .uk-logo img:not(.uk-logo-inverse){ display: none; }
.st-page .tm-header:not(.tm-header-mobile) .uk-light .uk-logo .uk-logo-inverse{ display: block; }

/* --- Header CTA button ---
   YOOtheme switcha automaticamente `uk-light` (sezioni scure) e
   `uk-dark` (sezioni chiare) sulla `.uk-navbar-container`.
   Basta agganciare queste classi per far cambiare aspetto al bottone. */

/* Default (uk-dark, sezioni chiare): outline scuro */
.st-page .tm-header:not(.tm-header-mobile) .uk-navbar .uk-button{
  --c-bg: transparent;
  --c-fg: var(--st-ink);
  color: var(--st-ink);
  background: transparent;
  border: 1px solid var(--st-ink);
  transition: color .4s ease, border-color .4s ease;
}
.st-page .tm-header:not(.tm-header-mobile) .uk-navbar .uk-button .uk-icon svg line,
.st-page .tm-header:not(.tm-header-mobile) .uk-navbar .uk-button .uk-icon svg polyline{
  stroke: var(--st-ink);
  transition: stroke .4s ease;
}

/* Light (uk-light, sezioni scure): outline bianco */
.st-page .tm-header:not(.tm-header-mobile) .uk-light .uk-button{
  --c-fg: #fff;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.st-page .tm-header:not(.tm-header-mobile) .uk-light .uk-button:hover{
  color: #fff;
  border-color: var(--st-accent);
}
.st-page .tm-header:not(.tm-header-mobile) .uk-light .uk-button .uk-icon svg line,
.st-page .tm-header:not(.tm-header-mobile) .uk-light .uk-button .uk-icon svg polyline{
  stroke: #fff;
}


/* ====================================================================
   07. HERO
   ==================================================================== */
.hero{
  position: relative;
  height: 100vh;
  min-height: 720px;
  width: 100%;
  overflow: hidden;
  background: var(--st-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.hero__slider{ position: absolute; inset: 0; z-index: 0; }
.hero__slide{
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--st-ease);
}
.hero__slide.is-active{ opacity: 1; }

.hero__bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  will-change: transform;
}
.hero__slide.is-active .hero__bg{ animation: hero-kenburns 12s ease-out forwards; }
@keyframes hero-kenburns{
  from{ transform: scale(1.08); }
  to  { transform: scale(1.18); }
}

.hero__overlay{
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 30% 40%, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.85) 100%),
    linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.55) 100%);
}
.hero__grain{
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .12;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero__content{
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 110px var(--st-gutter) 60px;
  width: 100%;
  max-width: var(--st-container);
  margin: 0 auto;
}
.hero__eyebrow{ color: rgba(255,255,255,.7); margin-bottom: 28px; }
.hero__title{
  color: #fff;
  margin: 0 0 36px;
  max-width: 14ch;
}
.hero__title .it{ color: var(--st-accent-2); }
.hero__row{
  display: flex; align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1600px;
}
.hero__sub{
  color: rgba(255,255,255,.78);
  max-width: 42ch;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  font-weight: 300;
  margin: 0;
}

.hero__bottom{
  position: relative;
  z-index: 5;
  padding: 0 var(--st-gutter) 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--st-container);
  margin: 0 auto;
}

.hero__meta{
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right top;
  color: rgba(255,255,255,.45);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  z-index: 6;
  white-space: nowrap;
  pointer-events: none;
}
@media (max-width: 1100px){ .hero__meta{ display: none; } }

/* Slider controls */
.hero__controls{
  display: flex; align-items: center; gap: 24px;
  color: #fff;
  font-size: 12px;
  letter-spacing: .15em;
}
.hero__dots{ display: flex; gap: 10px; }
.hero__dot{
  width: 28px; height: 1px;
  background: transparent;
  cursor: pointer;
  border: none;
  padding: 12px 0;
  position: relative;
}
.hero__dot::after{
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 100%; height: 1px;
  background: rgba(255,255,255,.35);
  transition: background .3s ease, height .3s ease;
}
.hero__dot.is-active::after{ background: #fff; height: 2px; }

.hero__pager{
  color: rgba(255,255,255,.6);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}
.hero__pager strong{ color: #fff; font-weight: 500; }

/* Scroll cue */
.hero__scroll{
  color: rgba(255,255,255,.6);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
}
.hero__scroll-line{
  width: 1px; height: 50px;
  background: rgba(255,255,255,.3);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after{
  content: "";
  position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%;
  background: #fff;
  animation: hero-scroll-line 2.4s ease-in-out infinite;
}
@keyframes hero-scroll-line{
  0%   { top: -50%; }
  50%  { top: 50%; }
  100% { top: 100%; }
}



@media (max-width: 900px){
  .hero__bottom{ flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__scroll{ display: none; }
  .hero__title{ max-width: 100%; }
}


/* ====================================================================
   08. MARQUEE (marchi)
   ==================================================================== */
.st-marquee{
  background: var(--st-ink);
  color: var(--st-bg);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--st-ink-2);
  border-bottom: 1px solid var(--st-ink-2);
}
.st-marquee__track{
  display: flex;
  gap: 80px;
  width: max-content;
  animation: st-marquee 38s linear infinite;
  align-items: center;
}
.st-marquee:hover .st-marquee__track{ animation-play-state: paused; }

.st-marquee__item{
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 200;
  letter-spacing: -0.01em;
  color: rgba(244,241,236,.75);
  display: inline-flex;
  align-items: center;
  gap: 80px;
  white-space: nowrap;
}
.st-marquee__item::after{
  content: "✦";
  color: var(--st-accent-2);
  font-size: 14px;
}
@keyframes st-marquee{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}


/* ====================================================================
   09. CHI SIAMO
   ==================================================================== */
.chi{ background: var(--st-bg); position: relative; overflow: hidden; }
.chi__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: flex-start;
}
.chi__left{ position: sticky; top: 120px; }
.chi__title{ margin: 0; }
.chi__right{ padding-top: 12px; }
.chi__lead{ margin: 0 0 40px; }

.chi__facts{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 40px;
  margin: 56px 0 48px;
  border-top: 1px solid var(--st-line);
  padding-top: 40px;
}
.chi__fact-num{
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 200;
  letter-spacing: -.02em;
  color: var(--st-ink);
  line-height: 1;
  margin-bottom: 10px;
}
.chi__fact-num .small{ font-size: .4em; color: var(--st-muted); margin-left: 4px; }
.chi__fact-num-light {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 200;
  letter-spacing: -.02em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 10px;
  .small{ font-size: .4em; color: var(--st-muted); margin-left: 4px; }
}
.chi__fact-label{
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--st-muted);
}

.chi__image{
  margin-top: clamp(40px, 6vh, 80px);
  height: clamp(280px, 50vh, 540px);
  width: 100%;
  overflow: hidden;
  border-radius: var(--st-radius);
  position: relative;
}
.chi__image-inner{
  position: absolute; inset: -10% 0 -10% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.chi__principles{
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--st-line);
}
.chi__principle{
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--st-line);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 300;
  color: var(--st-ink);
}
.chi__principle .idx{
  color: var(--st-muted);
  font-size: 11px;
  letter-spacing: .2em;
  min-width: 32px;
}

@media (max-width: 900px){
  .chi__grid{ grid-template-columns: 1fr; }
  .chi__left{ position: static; }
}


/* ====================================================================
   10. CATALOGO
   ==================================================================== */
.catalogo{ background: var(--st-bg-2); position: relative; overflow: hidden; }
.catalogo__inner{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.catalogo__media{
  position: relative;
  height: clamp(380px, 70vh, 700px);
  overflow: hidden;
  border-radius: var(--st-radius);
}
.catalogo__media-inner{
  position: absolute; inset: -10%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform-origin: center;
}
.catalogo__media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.4) 100%);
}
.catalogo__badge{
  position: absolute;
  right: 24px; top: 24px;
  z-index: 3;
  color: #fff;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
@keyframes st-pulse{
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,147,104,.6); }
  50%      { box-shadow: 0 0 0 12px rgba(184,147,104,0); }
}

.catalogo__content{ padding: 40px 0; }
.catalogo__title{ margin: 24px 0 32px; }
.catalogo__meta{
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--st-line);
  color: var(--st-muted);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.catalogo__meta span strong{
  display: block;
  font-size: 14px;
  color: var(--st-ink);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
}

@media (max-width: 900px){
  .catalogo__inner{ grid-template-columns: 1fr; }
}


/* ====================================================================
   11. OUTLET
   ==================================================================== */
.outlet{
  background: var(--st-dark);
  color: #f1ece4;
  position: relative;
  overflow: hidden;
}
.outlet::before{
  content: "";
  position: absolute;
  top: -10%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle at center, rgba(184,147,104,.18) 0%, transparent 60%);
  pointer-events: none;
}
.outlet__inner{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.outlet__title{ color: #fff; margin: 24px 0 32px; }
.outlet__title .it{ color: var(--st-accent-2); }
.outlet__lead{ color: rgba(255,255,255,.75); margin-bottom: 40px; }

.outlet__viz{
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  perspective: 1200px;
}
.outlet__card{
  position: absolute;
  width: 78%;
  aspect-ratio: 3/4;
  background: var(--st-dark-2);
  overflow: hidden;
  border-radius: var(--st-radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transition: transform .8s var(--st-ease);
}
.outlet__card-inner{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
}
.outlet__card-tag{
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  z-index: 2;
}
.outlet__card-info{
  position: absolute;
  left: 20px; bottom: 20px;
  color: #fff;
  z-index: 2;
}
.outlet__card-info b{
  display: block;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -.01em;
}
.outlet__card-info span{
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
}
.outlet__card--1{ top: 0; left: 0; transform: rotate(-4deg); }
.outlet__card--2{ top: 8%; right: 0; transform: rotate(3deg); }
.outlet__card--3{ bottom: 0; left: 12%; transform: rotate(-1deg); }

.outlet__price-tag{
  position: absolute;
  z-index: 5;
  right: -20px;
  top: 40%;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--st-accent-2);
  color: var(--st-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-weight: 600;
  animation: st-spin 16s linear infinite;
  letter-spacing: .02em;
  line-height: 1.1;
  font-size: 11px;
  text-transform: uppercase;
}
.outlet__price-tag b{
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -.02em;
  text-transform: none;
  margin: 4px 0;
}
@keyframes st-spin{
  from{ transform: rotate(0deg); }
  to  { transform: rotate(360deg); }
}

@media (max-width: 900px){
  .outlet__inner{ grid-template-columns: 1fr; }
}
.card-outlet {
  .el-title{color: var(--st-accent-2)!important;}
  .el-meta{color: var(--st-muted)!important;}
}

/* ====================================================================
   12. ACADEMY
   ==================================================================== */
.academy{ background: var(--st-bg); position: relative; overflow: hidden; }
.academy__head{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(40px, 6vh, 80px);
}
.academy__title{ margin: 24px 0 0; }
.academy__lead{ padding-bottom: 12px; }

.academy__split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}
.academy__media{
  height: clamp(360px, 60vh, 580px);
  overflow: hidden;
  border-radius: var(--st-radius);
  position: relative;
}
.academy__media-inner{
  position: absolute; inset: -10%;
  background-size: cover; background-position: center;
  will-change: transform;
}
.academy__media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,0) 50%, rgba(20,17,14,.45) 100%);
}
.academy__media-label{
  position: absolute;
  left: 24px; bottom: 24px;
  color: #fff;
  z-index: 2;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.academy__side{ display: flex; flex-direction: column; justify-content: space-between; }
.academy__quote{
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--st-ink);
  margin: 0 0 40px;
}
.academy__quote .accent{ color: var(--st-accent); font-style: italic; }

.academy__newsletter{
  border-top: 1px solid var(--st-line);
  padding-top: 32px;
}
.academy__newsletter-label{ margin-bottom: 16px; }
.academy__form{
  display: flex;
  border-bottom: 1px solid var(--st-ink);
  padding-bottom: 12px;
  align-items: center;
}
.academy__form input{
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--st-ink);
  font: inherit;
  font-size: 16px;
  padding: 10px 0;
}
.academy__form input::placeholder{ color: var(--st-muted); }
.academy__form button{
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--st-ink);
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 6px 0;
}
.academy__form button svg{ transition: transform .3s ease; }
.academy__form button:hover svg{ transform: translateX(4px); }

@media (max-width: 900px){
  .academy__head, .academy__split{ grid-template-columns: 1fr; }
}


/* ====================================================================
   13. CTA CONTATTI
   ==================================================================== */
/*.cta{
  background: var(--st-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 16vh, 200px) 0;
}
.cta__bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  filter: grayscale(.3) contrast(1.05);
  will-change: transform;
}
.cta::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,12,10,.6) 0%, rgba(14,12,10,.85) 100%);
}
.cta__inner{
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta__title{
  color: #fff;
  margin: 24px auto 32px;
  max-width: 16ch;
}
.cta__title .it{ color: var(--st-accent-2); }
.cta__sub{
  color: rgba(255,255,255,.75);
  margin: 0 auto 48px;
  max-width: 56ch;
  text-align: center;
}
.cta__contacts{
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
.cta__contact-label{
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}
.cta__contact-value{
  color: #fff;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 300;
  letter-spacing: -.005em;
  line-height: 1.4;
}
.cta__contact-value a{ color: inherit; transition: color .3s ease; }
.cta__contact-value a:hover{ color: var(--st-accent-2); }

@media (max-width: 760px){
  .cta__contacts{ grid-template-columns: 1fr; }
}
*/
/* ====================================================================
 14. GRID VANTAGGI
 ==================================================================== */

.grid-vantaggi .el-item{
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(24px, 3vw, 60px);
  align-items: center;
}

.grid-vantaggi .el-item > .el-meta,
.grid-vantaggi .el-item > .el-title,
.grid-vantaggi .el-item > .el-content{
  margin-top: 0 !important;
}
@media (max-width: 959px){
  .grid-vantaggi .el-item{
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ====================================================================
   15. FOOTER
   ==================================================================== */
.st-footer{
  background: var(--st-ink);
  color: rgba(255,255,255,.7);
  padding: 60px 0 32px;
  font-size: 13px;
}
.st-footer__top{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.st-footer__brand{
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.st-footer__brand span{ color: var(--st-accent-2); font-weight: 200; }

.st-footer__col-title{
  color: rgba(255,255,255,.5);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.st-footer__list{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.st-footer__list a{ color: rgba(255,255,255,.8); transition: color .3s ease; }
.st-footer__list a:hover{ color: var(--st-accent-2); }

.st-footer__bottom{
  display: flex; justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
}
.st-footer__bottom a{ color: rgba(255,255,255,.7); }
.st-footer__bottom a:hover{ color: var(--st-accent-2); }

@media (max-width: 760px){
  .st-footer__top{ grid-template-columns: 1fr; }
}


/* ====================================================================
 16. CONTATTI
 -------------------------------------------------------------------- */


.ct-channels{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.ct-channel{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.5vw, 40px);
  min-height: clamp(220px, 28vh, 280px);
  background: var(--st-bg-2);
  border-radius: var(--st-radius);
  text-decoration: none;
  color: var(--st-ink);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--st-ease), background .4s var(--st-ease);
}
.ct-channel::before{
  content: "";
  position: absolute; inset: 0;
  background: var(--st-ink);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform .6s var(--st-ease);
  z-index: -1;
}
.ct-channel:hover{ color: #fff; }
.ct-channel:hover::before{ transform: scaleY(1); transform-origin: top center; }
.ct-channel:hover .ct-channel__arrow{ background: #fff; color: var(--st-ink); transform: rotate(-45deg); }
.ct-channel:hover .ct-channel__hint{ color: rgba(255,255,255,.6); }

.ct-channel__top{
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px;
}
.ct-channel__label{
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--st-muted);
  transition: color .4s var(--st-ease);
}
.ct-channel:hover .ct-channel__label{ color: var(--st-accent-2); }

.ct-channel__arrow{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--st-ink);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .5s var(--st-ease), background .4s var(--st-ease), color .4s var(--st-ease);
}

.ct-channel__value{
  font-family: var(--st-display);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0;
}
.ct-channel__hint{
  font-size: 13px;
  color: var(--st-muted);
  margin-top: 12px;
  transition: color .4s var(--st-ease);
}

@media (max-width: 760px){
  .ct-channels{ grid-template-columns: 1fr; }
}

.grid-dove-siamo {
  .el-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    align-items: baseline;
  }

  .el-title {
    grid-column: 1;
    margin: 0;
  }

  .el-content {
    grid-column: 2;
    margin: 0;
  }
}

/* ====================================================================
 17. CATALOGO
 ==================================================================== */
.card-catalogo {
   position: relative;
   overflow: hidden;
 
   &::before {
     content: '';
     position: absolute;
     inset: 0;
     background: url('../../../uploads/2026/06/background-venature-orizzontale.svg') no-repeat center top;
     background-size: cover;
     opacity: .05;
     pointer-events: none;
     z-index: 0;
   }
 
   > * {
     position: relative;
     z-index: 1;
   }
 
   .el-title,
   .el-content {
     color: var(--st-dark-2);
   }
 }
.card-catalogo-atlas {
  background-color: #f192aa;
}
.card-catalogo-dekton {
  background-color: #a794c6;
}
.card-catalogo-laminam {
  background-color: #8acbc1;
}
.card-catalogo-marazzi {
  background-color: #9ecb84;
}
.card-catalogo-neolith {
  background-color: #f6f09b;
}
.card-catalogo-santamargherita {
  background-color: #96d3dd;
}
.card-catalogo-silestone {
  background-color: #fac39d;
}

/* ====================================================================
   18. REVEAL / ANIMATION HOOKS
   --------------------------------------------------------------------
   Le classi qui sotto sono "hook" lette dal JS (soluzionetop.js).
   In YOOtheme: applica queste classi nel campo "Advanced → CSS Class"
   degli elementi che vuoi animare.

   - .has-reveal          → fade-up al primo ingresso in viewport
   - .has-text-reveal     → split per righe, ogni riga sale dall'overflow
   - .has-parallax        → background-image che scorre con scroll
                            (data-parallax="0.2" controlla l'intensità)
   ==================================================================== */
.has-reveal{ opacity: 0; transform: translateY(40px); }

.has-text-reveal .line{
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.has-text-reveal .line > span{
  display: inline-block;
  transform: translateY(110%);
}

/* Fallback: se il JS non carica, mostra comunque il contenuto */
.no-js .has-reveal,
.no-js .has-text-reveal .line > span{
  opacity: 1 !important;
  transform: none !important;
}


/* ====================================================================
   19. REDUCED MOTION
   ==================================================================== */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__slide.is-active .hero__bg{ animation: none; }
  .hero__scroll-line::after{ display: none; }
  .st-marquee__track{ animation: none; }
  .outlet__price-tag{ animation: none; }
}
