/* ============================================================
   Artsupp — Pagina Chi Siamo (Dark Redesign)
   Stile fedele al mockup: https://jazzy-meerkat-f85c0e.netlify.app/pagina-about
   ============================================================ */

:root {
  --nero: #011218;
  --blu_notte: #011019;
  --blu_dark: #031F30;
  --blu: #052C43;
  --celeste: #2677A7;
  --azzuro: #479FD3;
  --verde: #32D583;
  --rosso: #DC3545;
  --viola: #AF8FFA;
  --as-teal: #01D8C0;
  --as-teal-hover: #008576;
  --as-maize: #FEC84B;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --text: #fff;
  --text-dim: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.45);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --font-display: 'Fira Sans', system-ui, -apple-system, sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
  --page-max: 1180px;
  --page-pad: 24px;
}

/* Base resets per i componenti interni */
.about-page {
  background: var(--nero);
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

.about-page a {
  text-decoration: none;
}

/* Eyebrow / Kicker */
.about-page .k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

/* Bottoni Pill */
.btn-lg {
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-lg:hover {
  text-decoration: none;
}

.btn-lg.primary {
  background: var(--as-teal);
  color: #00201d;
  border: none;
}

.btn-lg.primary:hover {
  background: var(--as-teal-hover);
  color: #fff;
}

.btn-lg.outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--border-strong);
}

.btn-lg.outline:hover {
  border-color: var(--as-teal);
  color: var(--as-teal);
}

.btn-lg.maize {
  background: var(--as-maize);
  color: #3a2600;
  border: 0;
}

.btn-lg.maize:hover {
  background: #f5b933;
  color: #3a2600;
}

.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ---------- COVER HERO (immagine a tutto schermo) ---------- */
.cover {
  position: relative;
  min-height: calc(100vh - 68px);
  min-height: calc(100dvh - 68px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b1420;
  border-bottom: 1px solid var(--border);
}

.cover .cbg {
  position: absolute;
  inset: 0;
  background-image: image-set(
    url('/img/hero-about.webp') type('image/webp'),
    url('/img/hero-about.jpg') type('image/jpeg')
  );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  transform-origin: center center;
  animation: kenBurnsHero 42s ease-in-out infinite;
  pointer-events: none;
}

@keyframes kenBurnsHero {
  0% {
    transform: scale(1.10) translate3d(0%, 0%, 0);
  }
  33% {
    transform: scale(1.16) translate3d(-2%, -1.5%, 0);
  }
  66% {
    transform: scale(1.20) translate3d(1.8%, -2%, 0);
  }
  100% {
    transform: scale(1.10) translate3d(0%, 0%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cover .cbg {
    animation: none;
    transform: scale(1.10);
  }
}

.cover .cbg::after {
  content: none;
}

.cover .cov {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(66.72deg, rgba(5, 8, 11, 0.6) 48.1%, rgba(50, 82, 113, 0) 279.6%);
}

.cover .cin {
  position: relative;
  z-index: 2;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  width: 100%;
}

.cover h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.06em;
  color: #fff;
  margin: 0 0 20px;
  max-width: 1150px;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.45);
}

.cover .sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  line-height: 1.55;
  letter-spacing: -0.06em;
  margin: 0;
}

.cover .cta {
  margin-top: 32px;
  justify-content: flex-start;
}

@media(max-width: 768px) {
  .cover {
    min-height: calc(100vh - 122px);
    min-height: calc(100dvh - 60px - 62px - env(safe-area-inset-bottom, 0px));
    padding-top: 59.6px;
    padding-bottom: 32px;
  }
  .cover h1 {
    font-size: 41.6px;
    line-height: 48.53px;
    letter-spacing: -0.06em;
    font-weight: 800;
    max-width: 289px;
    margin-bottom: 14px;
  }
  .cover .sub {
    font-size: 16.64px;
    line-height: 22.19px;
    font-weight: 400; /* Inter Regular per About */
    letter-spacing: -0.06em;
    max-width: 325.2px;
  }
}

/* Marketing Container */
.mkt-wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

/* ---------- FEATURE ROWS (Editorial layout) ---------- */
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 120px 0;
}

.frow + .frow {
  border-top: 1px solid var(--border);
}

.frow .ft .k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.frow .ft h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 16px;
}

.frow .ft p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 440px;
  margin: 0;
}

.frow .ft .cta {
  margin-top: 28px;
  justify-content: flex-start;
}

.fimg {
  border-radius: 18px;
  min-height: 360px;
  align-self: stretch;
}

@media(min-width: 821px) {
  .frow.rev .fimg {
    order: -1;
  }
}

@media(max-width: 820px) {
  .frow {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 52px 0;
  }
  .frow .ft h2 {
    font-size: 26px;
  }
  .fimg {
    min-height: 220px;
  }
}

/* Visual Placeholders per le card */
.ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a2a3a, #06202e);
}

.ph::after {
  content: "photo";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
}

.ph-b {
  background: linear-gradient(135deg, #12324a, #0a2233);
}

.ph-c {
  background: linear-gradient(135deg, #123a34, #0a241f);
}

.ph-d {
  background: linear-gradient(135deg, #3a2a12, #241a0a);
}

.ph-p {
  background: linear-gradient(135deg, #2a1a3a, #1a1024);
}

/* ---------- ARTSUPP CARD (blocco distintivo) ---------- */
.cardband {
  position: relative;
  margin: 72px 0;
}

.cardband .in {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.cardband h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 14px;
  max-width: 15ch;
}

.cardband .lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 48ch;
  margin: 0 0 24px;
}

.cardband .priceline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}

.cardband .amt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  color: #fff;
  line-height: 1;
}

.cardband .per {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-faint);
}

.cardband .actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Mockup tessera Artsupp Card */
.cardart {
  display: flex;
  justify-content: center;
}

.cardart .cardobj {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.586/1;
  border-radius: 20px;
  overflow: hidden;
  transform: rotate(-7deg);
  border: 1px solid var(--border-strong);
  background: conic-gradient(from 30deg, #e85d3b, #f5a623, #32d583, #479fd3, #7b5cff, #dc3545, #e85d3b);
  box-shadow: 0 40px 80px -26px rgba(0, 0, 0, 0.75);
}

.cardart .cardobj::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(1, 16, 25, 0.04), rgba(1, 16, 25, 0.38));
}

.cardart .co-logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.cardart .co-id {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: 12px;
  color: #fff;
  background: rgba(1, 16, 25, 0.4);
  padding: 5px 11px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

@media(max-width: 820px) {
  .cardband .in {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cardband h2 {
    font-size: 30px;
    max-width: 100%;
  }
  .cardart {
    order: -1;
  }
  .cardart .cardobj {
    max-width: 320px;
    transform: rotate(-5deg);
  }
}

/* Spaziatura tra la Card e il blocco istituzioni */
.mkt-wrap .band {
  margin-top: 230px;
}

@media(max-width: 820px) {
  .mkt-wrap .band {
    margin-top: 120px;
  }
}

/* ---------- DUAL AUDIENCE: istituzioni / partner ---------- */
.band {
  background: var(--blu_dark);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 56px;
  margin: 0;
}

@media(max-width: 640px) {
  .band {
    padding: 32px 22px;
  }
}

.band .k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 10px;
}

.band .lead {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 0 30px;
}

.band .three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}

@media(max-width: 720px) {
  .band .three {
    grid-template-columns: 1fr;
  }
}

.band .three .it h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin: 0 0 5px;
}

.band .three .it p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

.band .three .it .ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--text-dim);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.band .three .it .ic svg {
  width: 20px;
  height: 20px;
}

/* ---------- CTA FINALE ---------- */
.endcta {
  text-align: center;
  padding: 160px 0;
}

@media(max-width: 820px) {
  .endcta {
    padding: 80px 0;
  }
}

.narrow {
  max-width: 760px;
  margin: 0 auto;
}

.endcta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 6px;
}

.searchband {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 28px auto 0;
}

.searchband .box {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.searchband .box svg {
  position: absolute;
  left: 16px;
  color: var(--text-faint);
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.searchband input {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: #fff;
  padding: 0 16px 0 42px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.searchband input:focus {
  border-color: var(--as-teal);
  background: rgba(255, 255, 255, 0.05);
}

.searchband input::placeholder {
  color: var(--text-faint);
}

@media(max-width: 640px) {
  .searchband {
    flex-direction: column;
  }
  .searchband .btn-lg {
    width: 100%;
  }
}
