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

/* ---------- 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 (brand Meeting Hub) ---------- */
: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: 1140px;
  --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%; scroll-behavior: smooth; }
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, ol { 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%; }
.btn--scroll { padding: 16px 32px; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.topbar__logo img { height: 30px; }
.topbar__actions {
  display: flex; align-items: center; gap: 16px;
}
.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); }
.btn--topbar {
  padding: 10px 18px;
  font-size: 14px;
  gap: 6px;
  box-shadow: 0 8px 18px -8px rgba(240,106,105,.9);
}
.btn--topbar svg { width: 14px; height: 14px; }

/* Su mobile mostro solo il bottone, nascondo il tel */
@media (max-width: 599px) {
  .topbar__tel { display: none; }
  .btn--topbar { padding: 9px 14px; font-size: 13px; }
}

/* ---------- Countdown bar ---------- */
.countdown-bar {
  background: var(--coral);
  color: #fff;
  padding: 10px 0;
  font-family: var(--display); font-weight: 500;
  font-size: 13px;
  text-align: center;
}
.countdown-bar .container {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: nowrap;
}
.countdown-bar__label {
  text-transform: uppercase; letter-spacing: .12em;
  opacity: .92;
  white-space: nowrap;
}
.countdown-bar__time {
  font-weight: 700; font-size: 15px;
  background: rgba(255,255,255,.16);
  padding: 4px 12px; border-radius: 999px;
  white-space: nowrap;
}
.cd-full { display: inline; }
.cd-short { display: none; }
@media (max-width: 599px) {
  .countdown-bar { padding: 8px 0; font-size: 12px; }
  .countdown-bar .container { gap: 10px; }
  .countdown-bar__time { font-size: 13px; padding: 3px 10px; }
  .cd-full { display: none; }
  .cd-short { display: inline; }
}

/* ---------- 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: 90px;
  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: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.16);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 6.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: clamp(17px, 2.6vw, 22px);
  line-height: 1.55;
  color: rgba(255,255,255,.94);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero__benefits { display: grid; gap: 16px; margin-bottom: 28px; }
.hero__benefits li {
  display: flex; align-items: flex-start; gap: 13px;
  font-size: 16.5px; font-weight: 600; line-height: 1.5;
}
.hero__benefits svg { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.hero__microcopy {
  font-size: 14.5px; color: rgba(255,255,255,.88);
  font-style: italic;
  line-height: 1.55;
}

/* ---------- Form card ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  color: var(--ink);
  scroll-margin-top: 120px;
}
@media (max-width: 599px) {
  .form-card { scroll-margin-top: 110px; }
}
.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,
.field select {
  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;
  appearance: none;
}
.field input::placeholder { color: #B6B1AE; }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(240,106,105,.16);
}
.field input:user-invalid,
.field select:user-invalid {
  border-color: #D8423F;
  box-shadow: 0 0 0 3px rgba(216,66,63,.12);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235C5658' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.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); }

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--cream);
  padding: 44px 0 40px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.trustbar::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('../img/pittogramma.png');
  background-repeat: repeat; background-size: 110px;
  opacity: .04; pointer-events: none;
}
.trustbar .container { position: relative; z-index: 1; }
.trustbar__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 12px;
  margin-bottom: 26px;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 6vw, 42px); color: var(--coral); line-height: 1;
}
.stat__label { font-size: 13px; color: var(--ink-soft); margin-top: 7px; }

.trustbar__ratings {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px; margin-bottom: 26px;
}
.rating-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 13px;
}
.rating-chip strong { font-family: var(--display); font-weight: 700; color: var(--coral); }
.rating-chip .src { font-weight: 700; }

/* ---------- Generic section ---------- */
.section { padding: 64px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.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, 38px); }
.section__head h2 .accent { color: var(--coral); }

.cta-row {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Steps ---------- */
.section--how { background: #fff; }
.steps {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}
.step {
  display: flex; align-items: center; gap: 18px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}
.step__num {
  flex: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 22px;
}
.step h3 {
  font-size: clamp(17px, 2.5vw, 21px);
  line-height: 1.3;
}

.reassure-box {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--coral-soft);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-top: 8px;
}
.reassure-box svg { flex: none; color: var(--coral); margin-top: 2px; }
.reassure-box p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}

/* ---------- Benefits ---------- */
.section--benefits { background: var(--cream); }
.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); }

/* ---------- Social proof ---------- */
.section--proof { background: #fff; }
.quote {
  position: relative;
  max-width: 760px; margin: 0 auto 44px;
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 38px 36px 32px;
}
.quote__mark {
  position: absolute;
  top: -32px; left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-weight: 700;
  font-size: 90px; line-height: 1;
  color: var(--coral);
  background: #fff;
  border-radius: 50%;
  width: 80px; height: 80px;
  display: grid; place-items: center;
  padding-top: 32px;
  box-shadow: var(--shadow-soft);
}
.quote blockquote {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(18px, 2.6vw, 22px); line-height: 1.45;
  color: var(--ink);
  margin: 10px 0 22px;
}
.quote figcaption strong {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 2px;
}
.quote figcaption span {
  font-size: 14px;
  color: var(--coral);
  font-weight: 600;
}

.cases {
  display: grid;
  gap: 16px;
}
.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.case__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}
.case__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.case__body { padding: 18px 20px; }
.case__body h3 { font-size: 18px; margin-bottom: 4px; }
.case__body p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 44px 0 32px;
  text-align: center;
}
.footer__logo {
  height: 34px;
  margin: 0 auto 18px;
}
.footer__contacts {
  font-size: 14px;
  color: #C9C5C6;
  line-height: 1.9;
  margin-bottom: 22px;
}
.footer__contacts a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.footer__disclaimer {
  font-size: 12px;
  color: #908B8D;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 18px;
}
.footer__bar {
  margin-top: 14px;
  padding-top: 18px;
  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; }
  .trustbar__stats { grid-template-columns: repeat(4, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; align-items: flex-start; text-align: left; }
}

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