/* ============================================================
   GLOBAL ADVICE — main stylesheet
   Editorial light, Playfair Display + Mulish
   Mood: limatolacommercialisti.it ribrandato
   ============================================================ */

:root {
  /* Colors — palette ufficiale Global Advice (dal logo: blu royal + ambra) */
  --bg: #ffffff;
  --bg-alt: #f5f1ea;
  --bg-deep: #1a1a1a;
  --bg-navy: #2a4fa0;       /* brand blue (logo "GLOBAL") */
  --bg-navy-deep: #14296b;  /* deep royal — per footer/cta dark */
  --ink: #1a1a1a;
  --ink-mute: #5a5a5a;
  --ink-low: #8c8c8c;
  --gold: #eca12d;          /* brand amber (logo "ADVICE") */
  --gold-bright: #f3b955;   /* amber light — per hover/glow */
  --gold-deep: #b47c1f;     /* amber deep — per testi su sfondo chiaro */
  --line: rgba(26, 26, 26, 0.10);
  --line-strong: rgba(26, 26, 26, 0.20);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);

  /* Typography */
  --ff-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Sizes */
  --fs-xs: 0.78rem;
  --fs-sm: 0.88rem;
  --fs-base: 1rem;
  --fs-md: 1.05rem;
  --fs-lg: 1.2rem;
  --fs-xl: clamp(1.4rem, 1.25rem + 0.55vw, 1.75rem);
  --fs-2xl: clamp(1.7rem, 1.4rem + 1.2vw, 2.4rem);
  --fs-3xl: clamp(2.2rem, 1.8rem + 2vw, 3.6rem);

  /* Spacing */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-6: 3rem;
  --sp-8: 4rem;
  --sp-12: 6rem;
  --sp-16: 8rem;
  --sp-20: 10rem;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Section padding (Limatola: ~58px top/bottom) */
  --section-py: clamp(3.5rem, 6vw, 5.5rem);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a { color: inherit; text-decoration: none; transition: color 240ms var(--ease-out); }

a:hover { color: var(--gold-deep); }

ul, ol { list-style: none; }

::selection { background: var(--gold); color: #fff; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { line-height: 1.7; }

.ga-em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 500;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* ---------- LAYOUT ---------- */
.container {
  width: min(100% - 2.5rem, 1240px);
  margin-inline: auto;
}

.section { padding: var(--section-py) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-navy-deep); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--gold-bright); }
.section--dark .eyebrow::before { background: var(--gold-bright); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85em 1.6em;
  border-radius: var(--r-pill);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 280ms var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--bg-navy);
  color: #fff;
}
.btn--primary:hover {
  background: var(--gold-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background: var(--gold);
  color: #1a1a1a;
}
.btn--gold:hover {
  background: var(--gold-bright);
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
  transform: translateY(-2px);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn--ghost-light:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.btn-arrow {
  width: 1em;
  height: 1em;
  transition: transform 280ms var(--ease-spring);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.2em;
  transition: gap 280ms var(--ease-spring), color 240ms var(--ease-out);
}
.text-link:hover {
  gap: 0.8rem;
  color: var(--ink);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: padding 240ms var(--ease-out);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 0.7rem clamp(1.25rem, 3vw, 3rem);
  max-width: 1440px;
  margin-inline: auto;
}

.nav.is-scrolled .nav__inner { padding-block: 0.55rem; }

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.nav__brand--logo { padding: 0; }

.nav__brand-logo {
  height: clamp(52px, 4.8vw, 70px);
  width: auto;
  max-width: 300px;
  display: block;
  object-fit: contain;
  transition: opacity 240ms var(--ease-out), height 240ms var(--ease-out);
}

.nav__brand--logo:hover .nav__brand-logo { opacity: 0.85; }

.nav.is-scrolled .nav__brand-logo { height: clamp(42px, 3.8vw, 56px); }

.nav__brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__brand-name {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav__brand-tag {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-low);
  margin-top: 4px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.4vw, 1.4rem);
}

.nav__menu a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.5em 0;
  transition: color 240ms var(--ease-out);
}

.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease-out);
}
.nav__menu a:hover { color: var(--gold-deep); }
.nav__menu a:hover::after { transform: scaleX(1); }

.nav__menu .current-menu-item > a,
.nav__menu .current_page_item > a {
  color: var(--gold-deep);
}
.nav__menu .current-menu-item > a::after,
.nav__menu .current_page_item > a::after {
  transform: scaleX(1);
}

.nav__cta { font-size: 0.78rem; padding: 0.7em 1.2em; }

/* Mobile burger */
.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
}
.nav__burger span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 320ms var(--ease-spring), opacity 240ms var(--ease-out);
}
.nav.is-menu-open .nav__burger span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav.is-menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-menu-open .nav__burger span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav__cta { display: none; }
  .nav__brand-tag { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__menu {
    position: fixed;
    inset: 70px 1rem auto 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-lg);
    padding: 1rem 1.4rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 380ms var(--ease-out), opacity 240ms var(--ease-out), padding 240ms var(--ease-out);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-menu-open .nav__menu {
    max-height: 80vh;
    opacity: 1;
    padding: 1.4rem;
  }
  .nav__menu li {
    list-style: none;
  }
  .nav__menu a {
    display: block;
    padding: 1rem 0.6rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    min-height: 48px;
    line-height: 1.4;
  }
  .nav__menu a:active {
    background: rgba(42, 79, 160, 0.06);
  }
  .nav__menu a::after { display: none; }
  .nav__menu li:last-child a { border-bottom: 0; }
}

/* ---------- HERO (homepage) ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 80vh, 720px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 8, 15, 0.65) 0%,
    rgba(7, 8, 15, 0.35) 45%,
    rgba(7, 8, 15, 0) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 8vw, 8rem) 0;
  width: min(100% - 2.5rem, 1240px);
  margin: 0 auto;
}

.hero__eyebrow {
  color: var(--gold-bright);
  margin-bottom: var(--sp-3);
  font-weight: 700;
}
.hero__eyebrow::before { background: var(--gold-bright); }

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 1.6rem + 2.2vw, 3.6rem);
  max-width: 14ch;
  margin-bottom: var(--sp-3);
  line-height: 1.1;
}

.hero h1 .ga-em { color: var(--gold-bright); }

.hero__lead {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.45vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 50ch;
  margin-bottom: var(--sp-4);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* ---------- PAGE HERO (sub-pages) ---------- */
.page-hero {
  position: relative;
  background: var(--bg-alt);
  padding: clamp(6rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}

.page-hero--with-image {
  background: var(--bg-navy-deep);
  border-bottom: 0;
  min-height: clamp(360px, 50vh, 520px);
  padding: clamp(7rem, 12vw, 11rem) 0 clamp(3.5rem, 7vw, 6rem);
  display: flex;
  align-items: flex-end;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.page-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 41, 107, 0.35) 0%, rgba(20, 41, 107, 0.65) 60%, rgba(20, 41, 107, 0.85) 100%);
  z-index: -1;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-low);
  margin-bottom: var(--sp-3);
}
.page-hero__crumbs a { color: var(--gold-deep); }
.page-hero__crumbs > span { color: var(--ink-low); }

.page-hero--with-image .page-hero__crumbs { color: rgba(255,255,255,0.7); }
.page-hero--with-image .page-hero__crumbs a { color: var(--gold-bright); }
.page-hero--with-image .page-hero__crumbs > span { color: rgba(255,255,255,0.5); }

.page-hero h1 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem);
  max-width: 24ch;
  margin-bottom: var(--sp-2);
  line-height: 1.15;
}

.page-hero--with-image h1 {
  color: #fff;
  font-size: clamp(2rem, 1.6rem + 2vw, 3.4rem);
  max-width: 22ch;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.page-hero--with-image .eyebrow { color: var(--gold-bright); }
.page-hero--with-image .eyebrow::before { background: var(--gold-bright); }

.page-hero__lead {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--ink-mute);
  max-width: 60ch;
  font-size: clamp(0.98rem, 0.92rem + 0.4vw, 1.15rem);
  line-height: 1.5;
  font-weight: 400;
}

.page-hero--with-image .page-hero__lead {
  color: rgba(255,255,255,0.92);
  font-style: italic;
  max-width: 56ch;
}

/* ---------- IDENTITY (split text+image) ---------- */
.identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.identity__copy h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.6rem);
  margin: var(--sp-2) 0 var(--sp-3);
  max-width: 22ch;
  line-height: 1.15;
}

.identity__copy p {
  color: var(--ink-mute);
  font-size: var(--fs-base);
  margin-bottom: var(--sp-2);
  max-width: 56ch;
  line-height: 1.7;
}

.identity__image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-alt) center/cover;
  box-shadow: var(--shadow-lg);
}
.identity__image::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  pointer-events: none;
}

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

/* ---------- VALUE PROPOSITION BAND (3 areas under hero) ---------- */
.vp-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.vp-band__item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-right: var(--sp-3);
  position: relative;
}

.vp-band__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.vp-band__icon { color: var(--gold-deep); margin-bottom: 0.4rem; }

.vp-band__title {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  color: var(--ink);
  margin: 0;
}

.vp-band__text {
  color: var(--ink-mute);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.4rem;
  flex: 1;
}

@media (max-width: 980px) {
  .vp-band__grid { grid-template-columns: 1fr; }
  .vp-band__item:not(:last-child)::after {
    left: 0; right: 0; top: auto; bottom: -1.2rem;
    width: auto; height: 1px;
  }
  .vp-band__item { padding-right: 0; padding-bottom: 1rem; }
}

/* ---------- VIDEO GALLERY TEASER ---------- */
.video-teaser__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}

.video-teaser__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.video-teaser__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1e3a5f 0%, #07101d 100%);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  margin-bottom: 0.4rem;
}

.video-teaser__duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  background: rgba(7, 8, 15, 0.7);
  color: var(--ink);
  padding: 0.25em 0.6em;
  border-radius: var(--r-sm);
}

.video-teaser__topic {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.video-teaser__title {
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 980px) { .video-teaser__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .video-teaser__grid { grid-template-columns: 1fr; } }

/* ---------- SETTORI EDITORIAL LIST (page-portfolio.php) ---------- */
.settori-editorial {
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(5rem, 9vw, 9rem);
  background: var(--bg);
}

.settori-editorial__intro {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.2rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.settori-editorial__count {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  color: var(--gold-deep);
}

.settori-editorial__count-label {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-low);
  border-left: 1px solid var(--line-strong);
  padding-left: 1rem;
  line-height: 1.4;
}

.settori-editorial__intro p {
  color: var(--ink-mute);
  font-size: var(--fs-md);
  line-height: 1.6;
  max-width: 56ch;
}

.settori-editorial__intro strong { color: var(--ink); font-weight: 600; }

.settori-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.settore-row {
  border-bottom: 1px solid var(--line);
  position: relative;
}

.settore-row__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.6rem, 2.6vw, 2.4rem) 0;
  color: var(--ink);
  transition: padding-left 380ms var(--ease-spring), color 280ms var(--ease-out);
  position: relative;
}

.settore-row__link::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--gold-deep);
  transition: width 380ms var(--ease-spring);
}

.settore-row__link:hover {
  padding-left: clamp(0.8rem, 2vw, 1.6rem);
  color: var(--gold-deep);
}

.settore-row__link:hover::after { width: 3px; }

.settore-row__num {
  font-family: var(--ff-mono);
  font-size: clamp(0.78rem, 0.9rem, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-low);
  width: 2.5em;
  flex-shrink: 0;
}

.settore-row__link:hover .settore-row__num { color: var(--gold-deep); }

.settore-row__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.settore-row__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.1;
  color: inherit;
  margin: 0;
  letter-spacing: -0.01em;
  transition: color 280ms var(--ease-out);
}

.settore-row__desc {
  font-family: var(--ff-body);
  font-size: clamp(0.92rem, 0.92rem + 0.05vw, 1rem);
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0;
  max-width: 60ch;
}

.settore-row__arrow {
  color: var(--ink-low);
  flex-shrink: 0;
  align-self: center;
  transition: transform 380ms var(--ease-spring), color 280ms var(--ease-out);
}

.settore-row__link:hover .settore-row__arrow {
  color: var(--gold-deep);
  transform: translateX(8px);
}

.settori-editorial__foot {
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-strong);
  text-align: center;
}

.settori-editorial__foot p {
  color: var(--ink-mute);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-md);
  max-width: 50ch;
  margin: 0 auto;
}

.settori-editorial__foot a {
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold);
  font-style: normal;
  font-weight: 500;
}

@media (max-width: 980px) {
  .settori-editorial__intro {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .settori-editorial__count-label {
    border-left: 0;
    padding-left: 0;
  }
  .settori-editorial__intro p { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .settore-row__link { grid-template-columns: auto 1fr; gap: 1rem; padding: 1.4rem 0; }
  .settore-row__arrow { display: none; }
  .settore-row__num { width: 2em; }
}

/* ---------- MAP EMBED + NEWSLETTER (in page content) ---------- */
.ga-map {
  margin: var(--sp-3) 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.ga-map iframe { display: block; width: 100%; }

.ga-newsletter {
  margin: var(--sp-3) 0 var(--sp-6);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(160deg, #fbf6ec 0%, #f5ecda 100%);
  border: 1px solid rgba(201, 163, 90, 0.3);
  border-radius: var(--r-lg);
}

.ga-newsletter__form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.ga-newsletter__form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

.ga-newsletter__form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold-deep);
}

.ga-newsletter__form .btn { padding-block: 0.85em; }

.ga-newsletter small {
  display: block;
  color: var(--ink-mute);
  font-size: 0.78rem;
}

.ga-newsletter small a { color: var(--gold-deep); border-bottom: 1px solid currentColor; }

/* ---------- AREE GRID (4 cards on alt bg) ---------- */
.aree {
  background: var(--bg-alt);
}
.aree__head {
  text-align: center;
  margin-bottom: var(--sp-8);
}
.aree__head h2 { font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.6rem); max-width: 22ch; margin: var(--sp-2) auto var(--sp-3); line-height: 1.15; }
.aree__head p { color: var(--ink-mute); max-width: 60ch; margin: 0 auto; font-size: var(--fs-base); line-height: 1.6; }

.aree__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}

.area-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 480ms var(--ease-spring), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}

.area-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.area-card__code {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.area-card__title { font-size: var(--fs-lg); margin-bottom: 0.4rem; }

.area-card__short {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 1rem;
  margin-bottom: var(--sp-2);
}

.area-card__body {
  color: var(--ink-mute);
  font-size: 0.95rem;
  margin-bottom: var(--sp-3);
  flex: 1;
}

.area-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.area-card__tags li {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--line-strong);
  padding: 0.4em 0.7em;
  border-radius: var(--r-pill);
}

@media (max-width: 1024px) { .aree__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .aree__grid { grid-template-columns: 1fr; } }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 480ms var(--ease-spring), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
  color: var(--ink);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.service-card--gold { background: linear-gradient(160deg, #fcf3e0 0%, #f7e6c4 100%); }
.service-card--sea  { background: linear-gradient(160deg, #eef2fa 0%, #dde6f5 100%); }

.service-card--has-img { padding: 0; overflow: hidden; }
.service-card--has-img .service-card__body { padding: clamp(1.4rem, 2.4vw, 2rem); display: flex; flex-direction: column; flex: 1; }

.service-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.service-card:hover .service-card__media img { transform: scale(1.04); }

.service-card__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: var(--sp-3);
}

.service-card__num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--gold-deep);
  line-height: 1;
}

.service-card__cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--line-strong);
  padding: 0.4em 0.8em;
  border-radius: var(--r-pill);
}

.service-card__title { font-size: var(--fs-xl); line-height: 1.1; margin-bottom: 0.4rem; }

.service-card__short {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--gold-deep);
  margin-bottom: var(--sp-2);
}

.service-card__text { color: var(--ink-mute); font-size: 0.95rem; line-height: 1.65; }

.service-card__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: var(--sp-3) 0;
}
.service-card__points li {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--line-strong);
  padding: 0.4em 0.7em;
  border-radius: var(--r-pill);
}

.service-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  transition: gap 280ms var(--ease-spring);
}
.service-card:hover .service-card__more { gap: 0.85rem; }

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

/* ---------- NEWS / CTA / FORMS ---------- */
.cta-band {
  background: var(--bg-navy-deep);
  color: #fff;
  padding: var(--section-py) 0;
  text-align: center;
}
.cta-band h2 { color: #fff; max-width: 22ch; margin: var(--sp-2) auto var(--sp-3); font-size: clamp(1.7rem, 1.4rem + 1.5vw, 2.8rem); line-height: 1.15; }
.cta-band p {
  font-family: var(--ff-display);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
  margin: 0 auto var(--sp-4);
  font-size: clamp(0.98rem, 0.92rem + 0.4vw, 1.15rem);
  line-height: 1.55;
}
.cta-band__actions { display: flex; gap: var(--sp-2); justify-content: center; flex-wrap: wrap; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  align-items: end;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--line);
}
.section__head h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.6rem); max-width: 22ch; line-height: 1.15; }
.section__head .eyebrow { margin-bottom: var(--sp-2); }

.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-2);
}

.news-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 480ms var(--ease-spring), border-color 280ms var(--ease-out);
  color: var(--ink);
}

.news-card:hover { transform: translateY(-4px); border-color: var(--gold); color: var(--ink); }

.news-card--feature { background: linear-gradient(160deg, #fbf6ec 0%, #f5ecda 100%); }

.news-card--has-img { padding: 0; overflow: hidden; }
.news-card--has-img .news-card__body { padding: clamp(1.4rem, 2.4vw, 2rem); display: flex; flex-direction: column; flex: 1; }

.news-card__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.news-card:hover .news-card__media img { transform: scale(1.04); }

/* Post cover image (single post hero) */
.post-cover {
  width: 100%;
  max-height: 60vh;
  overflow: hidden;
  margin: 0;
  background: var(--bg-alt);
}
.post-cover img {
  width: 100%;
  height: 100%;
  max-height: 60vh;
  object-fit: cover;
}

/* News magazine layout (home) */
.news-magazine {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: stretch;
}

.news-feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  min-height: clamp(360px, 42vh, 520px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--bg-navy-deep);
  isolation: isolate;
  transition: transform 480ms var(--ease-spring);
}

.news-feature:hover { transform: translateY(-4px); color: #fff; }

.news-feature__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform 700ms var(--ease-out);
}

.news-feature:hover .news-feature__bg { transform: scale(1.04); }

.news-feature__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,8,15,0) 0%, rgba(7,8,15,0.45) 50%, rgba(7,8,15,0.85) 100%);
  z-index: -1;
}

.news-feature__content {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.news-feature__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.news-feature__badge {
  background: var(--gold);
  color: var(--bg-deep);
  padding: 0.4em 0.7em;
  border-radius: var(--r-pill);
}

.news-feature__cat { color: var(--gold-bright); }
.news-feature__date { color: rgba(255,255,255,0.7); margin-left: auto; }

.news-feature__title {
  font-family: var(--ff-display);
  font-weight: 500;
  color: #fff;
  font-size: clamp(1.6rem, 1.4rem + 1.4vw, 2.6rem);
  line-height: 1.1;
  margin: 0.4rem 0;
  max-width: 22ch;
}

.news-feature__excerpt {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}

.news-feature__cta {
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  transition: gap 280ms var(--ease-spring);
}

.news-feature:hover .news-feature__cta { gap: 0.85rem; }

.news-list-side {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.news-list-side li { border-bottom: 1px solid var(--line); }

.news-side-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 1rem;
  padding: 1.1rem 0;
  color: var(--ink);
  transition: padding-left 320ms var(--ease-spring);
}

.news-side-item:hover { padding-left: 0.5rem; color: var(--gold-deep); }

.news-side-item__index {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-low);
  padding-top: 4px;
}

.news-side-item__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: var(--ink-low);
}

.news-side-item__cat { color: var(--gold-deep); }

.news-side-item__title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(0.98rem, 0.95rem + 0.2vw, 1.15rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
  transition: color 240ms var(--ease-out);
}

.news-side-item:hover .news-side-item__title { color: var(--gold-deep); }

.news-side-item__arrow {
  color: var(--ink-low);
  align-self: center;
  transition: transform 320ms var(--ease-spring), color 240ms var(--ease-out);
}

.news-side-item:hover .news-side-item__arrow {
  color: var(--gold-deep);
  transform: translateX(6px);
}

@media (max-width: 980px) {
  .news-magazine { grid-template-columns: 1fr; }
}

/* News listing page */
.news-list { display: flex; flex-direction: column; gap: 1.2rem; }
.news-list .news-card { padding: clamp(1.4rem, 2.4vw, 2rem); }
.news-list .news-card--has-img { padding: 0; }

/* Single service detail layout */
.service-detail {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.service-detail__main { display: flex; flex-direction: column; gap: 1rem; }
.service-detail__cta {
  margin-top: 3rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(160deg, #fbf6ec 0%, #f5ecda 100%);
  border: 1px solid rgba(201, 163, 90, 0.3);
  border-radius: var(--r-lg);
}
.service-detail__cta h3 { font-size: var(--fs-xl); margin-bottom: 0.6rem; }
.service-detail__cta p { color: var(--ink-mute); margin-bottom: 1.2rem; }
.service-detail__cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.service-detail__aside {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: 6rem;
}
.panel {
  padding: 1.6rem 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.panel__title {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.panel__points { display: flex; flex-direction: column; gap: 0.6rem; color: var(--gold-deep); }
.panel__points li { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); font-size: 0.95rem; }
.panel__cross { display: flex; flex-direction: column; gap: 0.4rem; }
.panel__cross a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 280ms var(--ease-spring);
}
.panel__cross a:hover { padding-left: 0.5rem; }
.panel__cross li:last-child a { border-bottom: 0; }
.panel__cross-cat { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.panel__cross-title { font-family: var(--ff-display); font-size: 1rem; color: var(--ink); }

@media (max-width: 980px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail__aside { position: static; }
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.news-card__num { color: var(--gold-deep); }
.news-card__cat { color: var(--ink-mute); border: 1px solid var(--line-strong); padding: 0.4em 0.7em; border-radius: var(--r-pill); }
.news-card__date { color: var(--ink-low); margin-left: auto; }

.news-card__title { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.news-card__excerpt { color: var(--ink-mute); flex: 1; }

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

/* ---------- FORM ---------- */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
  transition: border-color 240ms var(--ease-out), background 240ms var(--ease-out);
  width: 100%;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  background: #fff;
}

.field--check {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.field--check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-deep);
}

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(4rem, 7vw, 6rem) 0 var(--sp-3);
}

.footer__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-6);
  align-items: end;
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: var(--sp-6);
}

.footer__brand-name {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: #fff;
  font-weight: 600;
}

.footer__claim {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  color: #fff;
  text-align: right;
  max-width: 18ch;
  margin-left: auto;
  font-weight: 500;
}

.footer__claim .ga-em { color: var(--gold-bright); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  padding-bottom: var(--sp-6);
}

.footer__col-title {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: var(--sp-2);
}

.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col a { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.footer__col a:hover { color: var(--gold-bright); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__legal { font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }
.footer__legal-links {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.footer__legal-links a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.footer__legal-links a:hover { color: var(--gold-bright); }

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__claim { text-align: left; margin-left: 0; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- PROSE / PAGE CONTENT (typography rhythm) ---------- */
.ga-page-content {
  max-width: 760px;
}

.ga-page-content > * + * { margin-top: var(--sp-3); }

.ga-page-content h2 {
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-2);
  line-height: 1.2;
  color: var(--ink);
}
.ga-page-content h2:first-child { margin-top: 0; }

.ga-page-content h3 {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-1);
  line-height: 1.25;
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 500;
}

.ga-page-content p {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--ink);
}

.ga-page-content p strong { color: var(--ink); font-weight: 700; }

.ga-page-content ul,
.ga-page-content ol {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ga-page-content ul li,
.ga-page-content ol li {
  position: relative;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
}

.ga-page-content ul {
  list-style: none;
  padding-left: 1.6rem;
}
.ga-page-content ul li::before {
  content: "—";
  color: var(--gold);
  position: absolute;
  left: -1.4rem;
  font-weight: 600;
}

.ga-page-content em,
.ga-page-content i {
  font-style: italic;
  color: var(--ink-mute);
}

.ga-page-content a {
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold);
  transition: color 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.ga-page-content a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.ga-page-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.6rem 0 0.6rem 1.4rem;
  margin: var(--sp-3) 0;
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--ink-mute);
  font-size: var(--fs-md);
}

.ga-page-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-6) 0;
}

/* ---------- REVEAL ANIMATIONS (CSS-only, IntersectionObserver activated) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   COOKIE CONSENT — banner GDPR / Garante
   ============================================================ */
.ga-cookie[hidden] { display: none; }
.ga-cookie {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ga-cookie__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 41, 107, 0.28);
  backdrop-filter: blur(2px);
}
.ga-cookie__banner {
  position: relative;
  width: min(680px, calc(100% - 2rem));
  margin: 0 1rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  animation: ga-cookie-in 0.45s var(--ease-out) both;
}
.ga-cookie__banner[hidden] { display: none; }
@keyframes ga-cookie-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ga-cookie__title {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  color: var(--bg-navy-deep);
  margin-bottom: var(--sp-2);
}
.ga-cookie__text {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  line-height: 1.65;
  margin-bottom: var(--sp-3);
}
.ga-cookie__text a { color: var(--gold-deep); text-decoration: underline; }
.ga-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  justify-content: flex-end;
}
.ga-cookie__btn {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.ga-cookie__btn--gold {
  background: var(--gold);
  color: #fff;
}
.ga-cookie__btn--gold:hover { background: var(--gold-bright); }
.ga-cookie__btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.ga-cookie__btn--ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* Preferenze granulari */
.ga-cookie__cat {
  padding: var(--sp-2) 0;
  border-top: 1px solid var(--line);
}
.ga-cookie__cat:first-of-type { border-top: none; }
.ga-cookie__cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: 0.3rem;
}
.ga-cookie__cat-name {
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--ink);
}
.ga-cookie__cat-always {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold-deep);
}
.ga-cookie__cat-desc {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  line-height: 1.5;
}
.ga-cookie__switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex: none;
}
.ga-cookie__switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ga-cookie__slider {
  position: absolute;
  inset: 0;
  background: var(--line-strong);
  border-radius: var(--r-pill);
  transition: background 0.2s var(--ease-out);
}
.ga-cookie__slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s var(--ease-out);
}
.ga-cookie__switch input:checked + .ga-cookie__slider { background: var(--gold); }
.ga-cookie__switch input:checked + .ga-cookie__slider::before { transform: translateX(20px); }
.ga-cookie__switch input:focus-visible + .ga-cookie__slider { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

/* Pulsante riapertura preferenze */
.ga-cookie-reopen {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 9990;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-navy-deep);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.ga-cookie-reopen[hidden] { display: none; }
.ga-cookie-reopen:hover { background: var(--bg-navy); transform: translateY(-2px); }

@media (max-width: 560px) {
  .ga-cookie__actions { justify-content: stretch; }
  .ga-cookie__btn { flex: 1 1 auto; text-align: center; }
}
