/* =========================================================
   ALHTA — Landing
   Estratto da Figma: ALHTA - Landing (node 64:5)
   Artboard di riferimento: 1623 px, margini laterali 180 px
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Colori */
  --blue-900: #295096;   /* bordo bottone */
  --blue-700: #4164aa;   /* primario */
  --blue-600: #5474b3;
  --blue-500: #6783bb;
  --blue-400: #7a93c3;
  --ink-900:  #191c1d;   /* titoli */
  --ink-600:  #434751;   /* testo corrente */
  --grey-100: #eaeaea;   /* fondo Punti di forza */
  --grey-050: #e1e3e4;   /* testo su fondo scuro */
  --white:    #ffffff;
  --black:    #000000;

  /* Tipografia */
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --fs-h1: 48px;
  --fs-h2: 48px;
  --fs-h2-sm: 32px;
  --fs-h3: 24px;
  --fs-body: 18px;
  --fs-small: 16px;
  --fs-xs: 14px;

  /* Layout */
  --container: 1263px;   /* 1623 - 180*2 */
  --gutter: 180px;
  --header-h: 118px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-600);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--blue-900);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Barre divisorie blu a tutta larghezza (Figma: 14 px) */
.band {
  height: 14px;
  background: var(--blue-700);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
}

.header-inner {
  position: relative;
  height: var(--header-h);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img { width: 215px; height: auto; }

.lang-nav {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lang-link {
  font-size: 15px;
  letter-spacing: -0.96px;
  color: var(--black);
  text-decoration: none;
}

.lang-link:hover { text-decoration: underline; }

.header-rule {
  height: 9px;
  background: var(--blue-700);
}

/* =========================================================
   HERO / TESTATA
   ========================================================= */
.hero {
  position: relative;
  min-height: 496px;          /* 623 - 127 */
  isolation: isolate;
  overflow: hidden;
}

.hero-bg,
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg {
  /* Sostituisci hero-bg.png con l'export Figma "0721 1" */
  background: #eef4fb url("assets/hero-bg.png") center right / cover no-repeat;
}

.hero-veil { background: rgba(255, 255, 255, 0.5); }

/* Figma: H1 a 133px dal top hero, blocco lead a 237px, hero alto 496px */
.hero-content { padding-block: 133px 189px; }

.hero-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.96px;
  color: var(--ink-900);
  text-transform: uppercase;
  max-width: 900px;
}

.hero-lead {
  margin-top: 51px;
  border-left: 4px solid var(--blue-700);
  padding-left: 20px;
  max-width: 664px;
}

.hero-lead p {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-600);
}

/* =========================================================
   CHE COS'È ALHTA
   ========================================================= */
.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.about-bg,
.about-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.about-bg {
  /* Sostituisci con l'export "Abstract medical connectivity background" */
  background: var(--blue-700) url("assets/bg-connectivity-1.png") center / cover no-repeat;
}

.about-veil { background: rgba(65, 100, 170, 0.9); }

.about-content {
  padding-block: 103px 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.96px;
}

.about-rule {
  display: block;
  width: 447px;
  max-width: 100%;
  height: 4px;
  background: var(--white);
  margin: 12px 0 11px;
}

.about-text {
  font-size: var(--fs-body);
  line-height: 1.6;
  max-width: 720px;
}

/* =========================================================
   PUNTI DI FORZA
   ========================================================= */
.strengths {
  background: var(--grey-100);
  padding-block: 59px 59px;
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 0.8;          /* Figma: 38.4px su 48px */
  letter-spacing: -0.32px;
  color: var(--ink-900);
  text-align: center;
}

.section-sub {
  margin-top: 18px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-600);
  text-align: center;
}

.strengths-grid {
  margin-top: 47px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: start;
}

.strength { text-align: center; }
.strength-title,
.strength-text { max-width: 330px; margin-inline: auto; }

.strength-icon {
  margin: 0 auto 20px;
  width: auto;
  height: 99px;
}

.strength-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-900);
}

.strength-text {
  margin-top: 9px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-600);
}

/* =========================================================
   I VANTAGGI
   ========================================================= */
.benefits { padding-block: 41px 58px; }

.benefits-grid {
  margin-top: 41px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.benefit {
  min-height: 367px;
  padding: 63px 24px 40px;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit--1 { background: var(--blue-700); }
.benefit--2 { background: var(--blue-600); }
.benefit--3 { background: var(--blue-500); }
.benefit--4 { background: var(--blue-400); }

.benefit-icon {
  height: 121px;
  width: auto;
  margin-bottom: 54px;
}

.benefit-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
}

.benefit-text {
  margin-top: 7px;
  font-size: var(--fs-body);
  line-height: 1.38;
}

/* =========================================================
   A CHI SI RIVOLGE
   ========================================================= */
.audience { padding-block: 41px 0; }

.audience-grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.audience-card {
  min-height: 251px;
  padding: 24px 32px 32px;
  color: var(--white);
}

.audience-card--1 { background: var(--blue-700); }
.audience-card--2 { background: var(--blue-600); }
.audience-card--3 { background: var(--blue-500); }
.audience-card--4 { background: var(--blue-400); }

.audience-dash {
  display: block;
  width: 53px;
  height: 6px;
  background: var(--white);
  margin-bottom: 18px;
}

.audience-title {
  font-size: var(--fs-h2-sm);
  font-weight: 700;
  line-height: 1;
}

.audience-text {
  margin-top: 24px;
  font-size: var(--fs-body);
  line-height: 1.33;
}

/* =========================================================
   CTA / CONTATTI
   ========================================================= */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 63px;
  text-align: center;
  color: var(--white);
}

.cta-bg,
.cta-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta-bg {
  /* Sostituisci con l'export "Abstract medical connectivity background 2" */
  background: var(--blue-700) url("assets/bg-connectivity-2.png") center / cover no-repeat;
}

.cta-veil { background: rgba(65, 100, 170, 0.85); }

.cta-content {
  padding-block: 70px 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: var(--fs-h2-sm);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.32px;
}

.cta-text {
  margin-top: 15px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--grey-050);
}

.cta-button {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  height: 60px;
  padding-inline: 26px;
  background: var(--white);
  border: 1px solid var(--blue-900);
  color: var(--blue-700);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--blue-900);
  color: var(--white);
}

.cta-contacts {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 52px;
}

.cta-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-small);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--white);
}

.cta-contact--mail { text-decoration: underline; }
.cta-icon { flex: none; }
.cta-icon--tel { width: 14px; height: 13px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--black);
  color: var(--white);
}

.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 47px 24px 46px;
  min-height: 191px;
  display: grid;
  grid-template-columns: auto 5px 1fr;
  align-items: center;
  gap: 0 40px;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 113px;
}

.footer-logo { width: 175px; }
.footer-spinoff { width: 155px; }

.footer-divider {
  width: 5px;
  align-self: stretch;
  background: var(--white);
  margin-block: -47px -46px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  font-size: var(--fs-xs);
  line-height: 1.2;
  letter-spacing: 0.28px;
  color: var(--grey-050);
}

.footer-links a { text-decoration: underline; }

.footer-copy {
  margin-top: 15px;
  font-size: var(--fs-xs);
  line-height: 1.2;
  letter-spacing: 0.28px;
  color: var(--white);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---- Desktop stretto / laptop ---- */
@media (max-width: 1280px) {
  :root {
    --fs-h1: 40px;
    --fs-h2: 40px;
  }
  .hero-content { padding-block: 100px 130px; }
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  :root {
    --fs-h1: 34px;
    --fs-h2: 34px;
    --fs-h2-sm: 28px;
    --fs-h3: 22px;
    --fs-body: 17px;
  }

  .hero { min-height: 420px; }
  .hero-content { padding-block: 72px 90px; }
  .hero-lead { margin-top: 40px; }
  .strengths-grid { gap: 24px; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit { min-height: 320px; padding-block: 48px 36px; }
  .benefit-icon { margin-bottom: 36px; }

  .cta { margin-top: 100px; }
  .cta-contacts { margin-top: 40px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }
  .footer-divider { display: none; }
  .footer-logos { gap: 56px; }
}

/* ---- Mobile ---- */
@media (max-width: 700px) {
  :root {
    --fs-h1: 28px;
    --fs-h2: 28px;
    --fs-h2-sm: 24px;
    --fs-h3: 20px;
    --fs-body: 16px;
  }

  .header-inner { height: 88px; justify-content: flex-start; }
  .logo img { width: 165px; }

  .hero { min-height: 0; }
  .hero-content { padding-block: 48px; }
  .hero-title { max-width: none; }
  .hero-lead { margin-top: 28px; padding-left: 16px; }
  /* I <br> del Figma non servono su mobile */
  .hero-lead br,
  .about-text br,
  .strength-text br,
  .benefit-text br,
  .audience-text br,
  .cta-text br { display: none; }

  .about-content { padding-block: 56px; }
  .about-rule { width: 200px; }

  .strengths { padding-block: 48px; }
  .strengths-grid {
    margin-top: 40px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .strength-icon { height: 80px; }

  .benefits { padding-block: 48px 40px; }
  .benefits-grid { margin-top: 32px; grid-template-columns: 1fr; }
  .benefit { min-height: 0; padding: 40px 24px; }
  .benefit-icon { height: 96px; margin-bottom: 28px; }

  .audience { padding-block: 48px 0; }
  .audience-grid { margin-top: 32px; grid-template-columns: 1fr; }
  .audience-card { min-height: 0; padding: 24px; }
  .audience-title br { display: none; }

  .cta { margin-top: 56px; }
  .cta-content { padding-block: 48px; }
  .cta-contacts {
    margin-top: 32px;
    flex-direction: column;
    gap: 14px;
  }
  .cta-contact { font-size: 14px; word-break: break-word; }

  .footer-inner { padding-block: 36px; }
  .footer-logos { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ---- Accessibilità: riduci animazioni ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---- Stampa ---- */
@media print {
  .site-header { position: static; }
  .hero-bg, .about-bg, .cta-bg { display: none; }
}
