:root {
  --page-bg: #000;
  --text: #fff;
  --accent: #ef1f2f;
  --event-accent: #d99a22;
  --event-red: #ef1f2f;
  --hero-ratio: 4 / 3;
  --content-max: 1536px;
  --font-site: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--page-bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-site);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
body { font-synthesis: none; }

.hero {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  aspect-ratio: var(--hero-ratio);
  overflow: hidden;
  background: #000;
}

.hero__art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  user-select: none;
  -webkit-user-drag: none;
}

/* Copre soltanto il menu incorporato nel master grafico.
   Logo, testi, lineetta e mosaico restano parte dell'immagine unica. */
.hero__menu-mask {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 65.5%;
  height: 9.3%;
  background: #000;
}

.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 65.5%;
  height: 9.3%;
  display: flex;
  align-items: center;
  padding: 0 3.2% 0 4.3%;
  background: transparent;
}

.primary-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 1.8vw, 34px);
}

.primary-nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: clamp(10px, 1.05vw, 16px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 3px;
  background: transparent;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.is-active::after { background: var(--accent); }
.primary-nav a:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

/* BLOCCO 2 — ASTE REALIZZATE */
.events-section {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  background: #fff;
  color: #171717;
}

.events-heading {
  padding: clamp(28px, 3.4vw, 52px) clamp(24px, 3.9vw, 60px) clamp(20px, 2.4vw, 36px);
  background: #fff;
}

.events-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 4rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.035em;
}

.events-heading span {
  display: block;
  width: clamp(54px, 5vw, 78px);
  height: 4px;
  margin-top: clamp(14px, 1.5vw, 22px);
  background: var(--event-accent);
}

.events-list {
  width: 100%;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  background: #fff;
  border-top: 1px solid #efefef;
}

.event-card__media {
  min-width: 0;
  aspect-ratio: 1.82 / 1;
  overflow: hidden;
  background: #e8e8e8;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-card:first-child .event-card__media img {
  object-position: center 47%;
}

.event-card:nth-child(3) .event-card__media img {
  object-position: center 20%;
}

.event-card--reverse .event-card__media { order: 2; }
.event-card--reverse .event-card__content { order: 1; }

.event-card__content {
  min-width: 0;
  min-height: 100%;
  padding: clamp(28px, 3.7vw, 58px) clamp(32px, 4.2vw, 66px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #fff;
}

.event-card__content h3 {
  margin: 0 0 clamp(10px, 1vw, 16px);
  font-size: clamp(1.25rem, 1.75vw, 1.9rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
}

.event-card__beneficiary {
  margin: 0 0 clamp(22px, 2vw, 32px) !important;
  color: var(--event-red);
  font-size: clamp(1rem, 1.25vw, 1.35rem) !important;
  font-weight: 600;
  line-height: 1.25 !important;
}

.event-card__content > p:not(.event-card__beneficiary) {
  max-width: 39ch;
  margin: 0 0 clamp(24px, 2.3vw, 36px);
  font-size: clamp(.98rem, 1.18vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
}

.event-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(180px, 15vw, 235px);
  min-height: clamp(48px, 4vw, 62px);
  padding: 12px 24px;
  color: #fff;
  background: var(--event-accent);
  border: 1px solid rgba(255,255,255,.45);
  text-decoration: none;
  font-size: clamp(.9rem, 1vw, 1.08rem);
  font-weight: 600;
  letter-spacing: .02em;
  transition: filter .18s ease, transform .18s ease;
}

.event-card__button:hover,
.event-card__button:focus-visible {
  filter: brightness(.93);
  transform: translateY(-1px);
}
.event-card__button:focus-visible { outline: 3px solid #111; outline-offset: 3px; }

@media (max-width: 900px) {
  .hero {
    width: 100%;
    aspect-ratio: var(--hero-ratio);
  }

  .hero__menu-mask {
    width: 69%;
    height: 11.5%;
  }

  .site-header {
    top: 0;
    right: 0;
    width: 69%;
    height: 11.5%;
    justify-content: flex-end;
    padding: 0 3.5vw;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(86vw, 360px);
    display: grid;
    gap: 0;
    padding: 10px 22px 18px;
    background: rgba(0,0,0,.97);
    border-top: 1px solid rgba(255,255,255,.14);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .primary-nav a {
    padding: 15px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav a::after { display: none; }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .event-card__content {
    padding: clamp(26px, 4.5vw, 42px);
  }
}

@media (max-width: 720px) {
  .events-heading {
    padding: 28px 22px 22px;
  }

  .events-heading h2 {
    font-size: clamp(2rem, 9.5vw, 3rem);
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card__media,
  .event-card--reverse .event-card__media {
    order: 1;
    aspect-ratio: 16 / 9;
  }

  .event-card__content,
  .event-card--reverse .event-card__content {
    order: 2;
    padding: 28px 24px 32px;
  }

  .event-card__content h3 {
    font-size: clamp(1.18rem, 5.4vw, 1.5rem);
  }

  .event-card__beneficiary {
    margin-bottom: 18px !important;
    font-size: 1rem !important;
  }

  .event-card__content > p:not(.event-card__beneficiary) {
    max-width: none;
    font-size: .98rem;
    line-height: 1.52;
    margin-bottom: 24px;
  }

  .event-card__button {
    min-width: 180px;
    min-height: 48px;
    font-size: .9rem;
  }
}

@media (max-width: 520px) {
  /* Il master resta intero e non viene scomposto né ritagliato. */
  .hero {
    min-height: 0;
  }
  .hero__menu-mask,
  .site-header {
    width: 72%;
    height: 13%;
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* BLOCCO 3 — TECNOLOGIA PROPRIETARIA / OGGI E DOMANI */
.technology-section {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  color: #171717;
  background: #fff;
}

.technology-intro {
  padding: clamp(42px, 5vw, 78px) clamp(24px, 6.8vw, 104px) clamp(34px, 4.2vw, 64px);
  background: #f3f3f1;
}

.technology-heading__line {
  display: block;
  width: clamp(48px, 4.4vw, 68px);
  height: 4px;
  margin-bottom: clamp(16px, 1.6vw, 24px);
  background: var(--accent);
}

.technology-heading h2,
.today-heading h2 {
  margin: 0;
  color: #171717;
  font-weight: 700;
  letter-spacing: -.035em;
}

.technology-heading h2 {
  max-width: 21ch;
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  line-height: 1.04;
}

.technology-lead {
  max-width: 46ch;
  margin: clamp(26px, 2.8vw, 42px) 0 clamp(22px, 2vw, 30px);
  color: #252525;
  font-size: clamp(1.12rem, 1.65vw, 1.58rem);
  font-weight: 400;
  line-height: 1.5;
}

.technology-intro > p:not(.technology-lead) {
  max-width: 112ch;
  margin: 0 0 clamp(18px, 1.8vw, 26px);
  color: #626262;
  font-size: clamp(.94rem, 1.02vw, 1.08rem);
  font-weight: 400;
  line-height: 1.62;
}

.technology-features,
.today-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
}

.technology-features {
  margin-top: clamp(34px, 4vw, 62px);
}

.technology-card,
.today-card {
  border: 1px solid #d9d9d5;
  border-radius: 14px;
  background: #fff;
}

.technology-card {
  min-height: clamp(150px, 12vw, 190px);
  padding: clamp(24px, 2.2vw, 34px);
}

.technology-card h3,
.today-card h3 {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.2;
}

.technology-card h3 {
  margin-bottom: 18px;
  font-size: clamp(1.08rem, 1.25vw, 1.32rem);
}

.technology-card p,
.today-card p {
  margin: 0;
  color: #444;
  font-weight: 400;
}

.technology-card p {
  font-size: clamp(.92rem, .98vw, 1.04rem);
  line-height: 1.52;
}

.technology-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(16px, 1.8vw, 26px);
}

.technology-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(220px, 20vw, 300px);
  min-height: clamp(50px, 4.2vw, 64px);
  padding: 13px 28px;
  color: #fff;
  background: var(--accent);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 4px;
  text-decoration: none;
  font-size: clamp(.88rem, 1vw, 1.05rem);
  font-weight: 700;
  letter-spacing: .02em;
  transition: filter .18s ease, transform .18s ease;
}

.technology-cta:hover,
.technology-cta:focus-visible {
  filter: brightness(.92);
  transform: translateY(-1px);
}

.technology-cta:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

.today-section {
  padding: clamp(42px, 4.8vw, 72px) clamp(24px, 6.8vw, 104px) clamp(54px, 6vw, 92px);
  background: #fff;
}

.today-heading {
  margin-bottom: clamp(30px, 3.4vw, 52px);
  text-align: center;
}

.today-heading h2 {
  font-size: clamp(2rem, 3.45vw, 3.35rem);
  line-height: 1.05;
}

.today-heading p {
  margin: 10px 0 0;
  color: #777;
  font-size: clamp(.98rem, 1.15vw, 1.18rem);
  font-weight: 400;
}

.today-card {
  min-height: clamp(180px, 15vw, 230px);
  padding: clamp(28px, 2.5vw, 38px);
  background: #f7f7f5;
}

.today-card h3 {
  font-size: clamp(1.08rem, 1.25vw, 1.32rem);
}

.today-card__line {
  display: block;
  width: 42px;
  height: 4px;
  margin: 16px 0 22px;
  background: var(--accent);
}

.today-card p {
  font-size: clamp(.93rem, 1vw, 1.05rem);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .technology-intro,
  .today-section {
    padding-left: clamp(26px, 5vw, 48px);
    padding-right: clamp(26px, 5vw, 48px);
  }
}

@media (max-width: 720px) {
  .technology-features,
  .today-grid {
    grid-template-columns: 1fr;
  }

  .technology-card,
  .today-card {
    min-height: 0;
  }

  .technology-heading h2 {
    max-width: none;
  }

  .technology-intro {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .today-section {
    padding-top: 40px;
    padding-bottom: 54px;
  }
}

/* BLOCCO 4 — STRUMENTI, NEWSLETTER, PARTNER E FOOTER */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-tools-section,
.newsletter-section,
.partners-section,
.site-footer {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.site-tools-section {
  background: #080808;
  color: #fff;
}

.site-tools-inner {
  padding: clamp(38px, 4.8vw, 72px) clamp(24px, 6.8vw, 104px);
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  margin-bottom: clamp(28px, 3vw, 44px);
}

.social-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.social-link svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--accent);
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.site-search {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid rgba(255,255,255,.55);
  background: #000;
}

.site-search__icon {
  position: absolute;
  left: 24px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border: 2px solid #aaa;
  border-radius: 50%;
  pointer-events: none;
}

.site-search__icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  right: -7px;
  bottom: -3px;
  background: #aaa;
  transform: rotate(45deg);
  transform-origin: left center;
}

.site-search input {
  min-width: 0;
  height: clamp(62px, 5.2vw, 78px);
  padding: 0 24px 0 64px;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 500;
}

.site-search input::placeholder {
  color: #d4d4d4;
  opacity: 1;
}

.site-search button {
  min-width: clamp(110px, 10vw, 154px);
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: clamp(.86rem, .95vw, 1rem);
  font-weight: 700;
  letter-spacing: .03em;
}

.site-search button:hover,
.site-search button:focus-visible {
  filter: brightness(.92);
}

.site-search:focus-within {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.12);
}

.search-results {
  max-width: 860px;
  margin: 14px auto 0;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: #111;
}

.search-result {
  display: block;
  padding: 14px 16px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.search-result:last-child { border-bottom: 0; }
.search-result strong { display: block; margin-bottom: 4px; font-size: .98rem; }
.search-result span { color: #aaa; font-size: .86rem; line-height: 1.4; }
.search-result:hover,
.search-result:focus-visible { background: #1d1d1d; }
.search-result:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.search-results__empty { margin: 0; padding: 14px 16px; color: #bbb; }

.newsletter-section {
  color: #fff;
  background: var(--accent);
}

.newsletter-inner {
  padding: clamp(38px, 5vw, 76px) clamp(24px, 6.8vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.newsletter-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(.88rem, 1vw, 1.05rem);
  font-weight: 700;
  letter-spacing: .14em;
}

.newsletter-copy h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.newsletter-copy p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(.98rem, 1.1vw, 1.15rem);
  line-height: 1.5;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.newsletter-form input {
  min-width: 0;
  height: clamp(58px, 4.8vw, 72px);
  padding: 0 22px;
  border: 2px solid #111;
  border-right: 0;
  background: #fff;
  color: #111;
  outline: 0;
  font-size: clamp(.98rem, 1.08vw, 1.12rem);
}

.newsletter-form input:focus {
  box-shadow: inset 0 0 0 2px rgba(239,31,47,.25);
}

.newsletter-form button {
  min-width: clamp(122px, 11vw, 170px);
  border: 2px solid #111;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .03em;
}

.newsletter-form button:hover,
.newsletter-form button:focus-visible {
  background: #fff;
  color: #111;
}

.newsletter-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: 10px 0 0;
  color: #fff;
  font-size: .88rem;
  line-height: 1.4;
}

.partners-section {
  background: #080808;
  color: #fff;
}

.partners-inner {
  padding: clamp(48px, 5.5vw, 84px) clamp(24px, 6.8vw, 104px) clamp(58px, 6.5vw, 100px);
}

.partners-heading {
  text-align: center;
  margin-bottom: clamp(36px, 4.2vw, 64px);
}

.partners-heading > span {
  display: block;
  width: 52px;
  height: 4px;
  margin: 0 auto 20px;
  background: var(--accent);
}

.partners-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.partners-heading p {
  margin: 14px 0 0;
  color: #aaa;
  font-size: clamp(.95rem, 1.05vw, 1.1rem);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 48px) clamp(18px, 2.5vw, 38px);
  align-items: center;
}

.partner-logo {
  min-width: 0;
  min-height: clamp(105px, 10vw, 150px);
  margin: 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  width: 100%;
  height: clamp(82px, 8vw, 118px);
  object-fit: contain;
  object-position: center;
  opacity: .9;
  transition: opacity .18s ease, transform .18s ease;
}

.partner-logo:hover img {
  opacity: 1;
  transform: scale(1.03);
}

/* Normalizzazione ottica dei file con proporzioni estreme */
.partner-logo:nth-child(1) img { max-width: 180px; }
.partner-logo:nth-child(2) img { max-width: 150px; }
.partner-logo:nth-child(3) img { max-width: 105px; height: 112px; }
.partner-logo:nth-child(4) img { max-width: 170px; }
.partner-logo:nth-child(5) img { max-width: 190px; }
.partner-logo:nth-child(6) img { max-width: 190px; }
.partner-logo:nth-child(7) img { max-width: 200px; }
.partner-logo:nth-child(8) img { max-width: 220px; }
.partner-logo:nth-child(9) img { max-width: 230px; }

.site-footer {
  background: #000;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
}

.site-footer__inner {
  min-height: 180px;
  padding: clamp(32px, 4vw, 58px) clamp(24px, 6.8vw, 104px);
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.site-footer__brand img {
  width: min(250px, 100%);
  height: auto;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.site-footer__links a,
.site-footer__links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #ddd;
  text-decoration: none;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible,
.site-footer__links button:hover,
.site-footer__links button:focus-visible {
  color: var(--accent);
}

.site-footer__copyright {
  margin: 0;
  color: #888;
  font-size: .82rem;
  text-align: right;
}

.chat-launcher {
  position: fixed;
  z-index: 30;
  right: clamp(18px, 2vw, 28px);
  bottom: clamp(18px, 2vw, 28px);
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: #000;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.32);
}
.chat-launcher svg { width: 28px; height: 28px; fill: currentColor; }
.chat-launcher:hover,
.chat-launcher:focus-visible { filter: brightness(.94); }
.chat-launcher:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.chat-panel {
  position: fixed;
  z-index: 31;
  right: clamp(18px, 2vw, 28px);
  bottom: 96px;
  width: min(340px, calc(100vw - 36px));
  padding: 28px;
  border: 1px solid rgba(255,255,255,.18);
  background: #111;
  color: #fff;
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
}
.chat-panel__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  font-size: 28px;
}
.chat-panel strong { display: block; margin-bottom: 12px; color: var(--accent); }
.chat-panel p { margin: 0; color: #ccc; font-size: .93rem; line-height: 1.55; }

.cookie-banner {
  position: fixed;
  z-index: 40;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.22);
  background: #111;
  color: #fff;
  box-shadow: 0 18px 48px rgba(0,0,0,.5);
}
.cookie-banner strong { color: var(--accent); }
.cookie-banner p { margin: 6px 0 0; color: #ccc; font-size: .88rem; line-height: 1.45; }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner__actions button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
}
.cookie-banner__actions button.is-primary { background: var(--accent); border-color: var(--accent); }

.site-toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 36px));
  padding: 14px 18px;
  background: #fff;
  color: #111;
  border-left: 5px solid var(--accent);
  box-shadow: 0 12px 34px rgba(0,0,0,.35);
  font-size: .9rem;
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .site-footer__brand img { margin: 0 auto; }
  .site-footer__copyright { text-align: center; }
}

@media (max-width: 780px) {
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .newsletter-copy h2 { max-width: none; }
}

@media (max-width: 620px) {
  .site-tools-inner,
  .newsletter-inner,
  .partners-inner,
  .site-footer__inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-search {
    grid-template-columns: 1fr;
  }

  .site-search input {
    padding-left: 58px;
  }

  .site-search button {
    min-height: 50px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form input {
    border-right: 2px solid #111;
  }

  .newsletter-form button {
    min-height: 54px;
    border-top: 0;
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .partner-logo {
    min-height: 100px;
    padding: 8px;
  }

  .partner-logo img {
    height: 82px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    justify-content: flex-end;
  }
}
