/* ============================================================
   Meeting Hub · Landing Milano (lead generation)
   Brand: Aeonik (display) + Raleway (testo)
   Palette: coral #F06A69 · ink #231F20 · teal #01B29F
   ============================================================ */

/* ---------- Font ---------- */
@font-face {
  font-family: 'Aeonik';
  src: url('../fonts/Aeonik-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('../fonts/Aeonik-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('../fonts/Aeonik-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --coral: #F06A69;
  --coral-dark: #D54F4E;
  --coral-soft: #FBE4E3;
  --ink: #231F20;
  --ink-soft: #5C5658;
  --teal: #01B29F;
  --cream: #FBF7F5;
  --gray-bg: #F4F3F2;
  --line: #ECE9E7;
  --field-line: #D9D5D2;
  --white: #FFFFFF;

  --display: 'Aeonik', 'Raleway', system-ui, sans-serif;
  --text: 'Raleway', system-ui, sans-serif;

  --maxw: 1100px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 22px 60px -24px rgba(35,31,32,.45);
  --shadow-soft: 0 10px 30px -16px rgba(35,31,32,.22);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--text);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.14; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 500; font-size: 16px;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  text-align: center; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--coral); color: #fff;
  box-shadow: 0 14px 28px -12px rgba(240,106,105,.9);
}
.btn--primary:hover { background: var(--coral-dark); }
.btn--block { display: flex; width: 100%; }

/* ---------- Topbar ---------- */
.topbar { border-bottom: 1px solid var(--line); background: #fff; }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.topbar__logo img { height: 30px; }
.topbar__tel {
  font-family: var(--display); font-weight: 500; font-size: 15px;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.topbar__tel span { color: var(--ink-soft); }
.topbar__tel:hover { color: var(--coral); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--coral);
  color: #fff;
  overflow: hidden;
  padding: 48px 0 56px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('../img/pittogramma-white.png');
  background-repeat: repeat; background-size: 80px;
  opacity: .07; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: 30px; align-items: start; }

.hero__eyebrow {
  display: inline-block;
  font-family: var(--display); font-weight: 500;
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.16);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(31px, 6vw, 46px);
  margin-bottom: 16px;
}
.hero__sub {
  font-size: clamp(16px, 2.4vw, 19px);
  color: rgba(255,255,255,.92);
  max-width: 460px;
}
.hero__benefits { margin-top: 22px; display: grid; gap: 11px; }
.hero__benefits li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 15.5px; font-weight: 600;
}
.hero__benefits svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.hero__ratings { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.rating-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.14); border-radius: 999px;
  padding: 6px 12px; font-size: 13px;
}
.rating-chip strong { font-family: var(--display); font-weight: 700; }
.rating-chip .src { font-weight: 700; }

/* ---------- Form card ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  color: var(--ink);
}
.form-card__head { margin-bottom: 14px; }
.form-card__head h2 { font-size: 22px; margin-bottom: 6px; }
.form-card__head p { font-size: 14.5px; color: var(--ink-soft); }

.form-reassure {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  margin-bottom: 20px;
  padding: 12px 15px;
  background: var(--cream);
  border-radius: 11px;
}
.form-reassure li {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display); font-weight: 500;
  font-size: 12.5px; color: var(--ink);
}
.form-reassure svg { width: 15px; height: 15px; color: var(--coral); flex: none; }

.field { margin-bottom: 15px; }
.field label {
  display: block;
  font-family: var(--display); font-weight: 500; font-size: 13.5px;
  margin-bottom: 6px;
}
.field .req { color: var(--coral); }
.field input {
  width: 100%;
  font-family: var(--text); font-size: 16px; color: var(--ink);
  padding: 13px 14px;
  border: 1.5px solid var(--field-line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #B6B1AE; }
.field input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(240,106,105,.16);
}
.field input:user-invalid {
  border-color: #D8423F;
  box-shadow: 0 0 0 3px rgba(216,66,63,.12);
}
.field-row { display: grid; gap: 0 14px; }

.consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 20px;
}
.consent input {
  flex: none; width: 19px; height: 19px; margin-top: 2px;
  accent-color: var(--coral); cursor: pointer;
}
.consent label { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.consent a { color: var(--coral); font-weight: 700; }

.form-note { margin-top: 12px; font-size: 12px; color: var(--ink-soft); text-align: center; }

/* success state */
.form-success { display: none; text-align: center; padding: 26px 8px; }
.form-card.is-sent .form-flow { display: none; }
.form-card.is-sent .form-success { display: block; }
.form-success__ic {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--coral-soft); color: var(--coral);
  display: grid; place-items: center; margin: 0 auto 16px;
}
.form-success h2 { font-size: 22px; margin-bottom: 8px; }
.form-success p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Sezione valore ---------- */
.section { padding: 56px 0; }
.section__head { text-align: center; max-width: 600px; margin: 0 auto 36px; }
.eyebrow {
  display: inline-block;
  font-family: var(--display); font-weight: 500;
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 12px;
}
.section__head h2 { font-size: clamp(26px, 4.6vw, 36px); }
.section__head h2 .accent { color: var(--coral); }

.benefits { display: grid; gap: 16px; }
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px 22px;
}
.benefit__ic {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--coral-soft); color: var(--coral);
  display: grid; place-items: center; margin-bottom: 14px;
}
.benefit__ic svg { width: 23px; height: 23px; }
.benefit h3 { font-size: 18px; margin-bottom: 7px; }
.benefit p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Stats ---------- */
.stats {
  margin-top: 30px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 20px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 10px;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 6vw, 40px); color: var(--coral); line-height: 1;
}
.stat__label { font-size: 13px; color: var(--ink-soft); margin-top: 7px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 40px 0 30px; text-align: center; }
.footer__logo { height: 34px; margin: 0 auto 16px; }
.footer__contacts { font-size: 14px; color: #C9C5C6; line-height: 1.9; }
.footer__contacts a { color: #fff; font-weight: 700; text-decoration: none; }
.footer__bar {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px; color: #908B8D;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .benefits { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  body { font-size: 18px; }
  .hero { padding: 64px 0 72px; }
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: center;
  }
  .form-card { padding: 32px 30px; }
  .section { padding: 76px 0; }
}
