:root {
  --paper: #f4f1ea;
  --paper-deep: #e7e0d4;
  --ink: #101820;
  --navy: #18304b;
  --navy-deep: #0f2236;
  --green: #1e5b4f;
  --red: #8b1f24;
  --white: #fffdfa;
  --line: #c7c0b4;
  --muted: #626b72;
  --gutter: clamp(20px, 5vw, 72px);
  --sans: "Aptos", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "AU";
  position: fixed;
  top: 8vh;
  right: -0.09em;
  z-index: -1;
  color: rgba(24, 48, 75, .035);
  font-size: min(48vw, 40rem);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.12em;
  pointer-events: none;
}
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
img, svg { display: block; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 11px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  width: min(100% - (var(--gutter) * 1.2), 1480px);
  min-height: 92px;
  margin: 18px auto 0;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(199, 192, 180, .75);
  border-radius: 999px;
  background: rgba(249, 246, 239, .78);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(15, 34, 54, .08);
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .78rem;
  line-height: 1.1;
  letter-spacing: .075em;
  font-weight: 650;
}
.brand img { width: 60px; height: 60px; object-fit: contain; }
.count-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 9px 14px;
  border: 1px solid rgba(24, 48, 75, .2);
  border-radius: 999px;
  color: var(--navy);
  font-size: .78rem;
  letter-spacing: .025em;
}
.count-badge strong { font-size: 1rem; }

.hero {
  width: min(100%, 1480px);
  min-height: min(760px, calc(100svh - 110px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 132px) var(--gutter) clamp(72px, 9vw, 126px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: center;
  gap: clamp(40px, 8vw, 130px);
  overflow: hidden;
}
.hero-copy { min-width: 0; max-width: 780px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 750;
  font-size: .74rem;
  letter-spacing: .16em;
}
.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 9px;
  vertical-align: middle;
  background: currentColor;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 12ch;
  margin-bottom: 26px;
  color: var(--navy-deep);
  font-size: clamp(3.25rem, 7vw, 7.5rem);
  line-height: .89;
  letter-spacing: -.065em;
  font-weight: 790;
}
h1 em {
  color: var(--red);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.055em;
}
.lead {
  max-width: 560px;
  margin-bottom: 34px;
  color: #48535b;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
}
.primary-action { width: 100%; max-width: 520px; }
.save-all {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  min-height: 88px;
  padding: 16px 19px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(15, 34, 54, .18);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.save-all:hover { transform: translateY(-3px); background: var(--navy-deep); box-shadow: 0 24px 46px rgba(15, 34, 54, .24); }
.save-all:active { transform: translateY(0) scale(.99); }
.save-all:focus-visible, .save-one:focus-visible, .search-field:focus-within { outline: 3px solid rgba(30, 91, 79, .45); outline-offset: 3px; }
.action-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.action-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.save-all strong, .save-all small { display: block; }
.save-all strong { margin-bottom: 2px; font-size: 1.03rem; }
.save-all small { color: rgba(255, 255, 255, .68); font-size: .76rem; }
.action-arrow { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease; }
.save-all:hover .action-arrow { transform: translateX(3px); }
.device-hint { margin: 12px 0 0; color: var(--muted); font-size: .78rem; }

.phone-visual { position: relative; min-height: 490px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(24, 48, 75, .12); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; }
.orbit-two { width: 330px; height: 330px; border-color: rgba(139, 31, 36, .16); }
.phone {
  position: relative;
  z-index: 2;
  width: 254px;
  padding: 10px;
  border: 2px solid #0d1c2a;
  border-radius: 40px;
  background: #0d1c2a;
  box-shadow: 0 38px 72px rgba(15, 34, 54, .28), inset 0 0 0 1px rgba(255,255,255,.1);
  transform: rotate(4deg);
}
.phone-top { height: 31px; padding: 4px 14px 0; display: flex; align-items: flex-start; justify-content: space-between; color: white; font-size: .6rem; }
.phone-top i { width: 67px; height: 18px; margin-right: 62px; border-radius: 12px; background: #050b10; }
.phone-screen {
  min-height: 412px;
  padding: 36px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--navy-deep);
  background: linear-gradient(160deg, #fffdfa, #ebe7df);
  border-radius: 29px;
  text-align: center;
}
.contact-symbol { width: 82px; height: 82px; margin-bottom: 20px; display: grid; place-items: center; color: white; background: var(--red); border-radius: 50%; }
.contact-symbol svg { width: 44px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.phone-label { color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .13em; }
.phone-screen > strong { margin: 5px 0 20px; font-size: 1rem; }
.mini-contacts { display: flex; margin-bottom: 28px; }
.mini-contacts span { width: 34px; height: 34px; margin-left: -5px; display: grid; place-items: center; border: 2px solid var(--white); border-radius: 50%; color: white; background: var(--green); font-size: .56rem; font-weight: 750; }
.mini-contacts span:first-child { margin-left: 0; background: var(--navy); }
.mini-contacts span:nth-child(2) { background: var(--red); }
.mini-contacts span:nth-child(3) { background: #a6762a; }
.phone-confirm { width: 100%; margin-top: auto; padding: 11px; border-radius: 6px; color: white; background: var(--navy); font-size: .72rem; font-weight: 750; }
.floating-note {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: 13%;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  background: rgba(255, 253, 250, .88);
  border: 1px solid rgba(24, 48, 75, .13);
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(15, 34, 54, .14);
  backdrop-filter: blur(10px);
  font-size: .74rem;
  font-weight: 650;
  animation: float 4s ease-in-out infinite;
}
.floating-note span { width: 22px; height: 22px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: .7rem; }

.how-it-works {
  padding: clamp(70px, 8vw, 118px) var(--gutter);
  display: grid;
  grid-template-columns: 80px minmax(260px, .85fr) minmax(420px, 1.15fr);
  gap: clamp(24px, 5vw, 78px);
  color: var(--white);
  background: var(--navy-deep);
}
.section-number { margin: 2px 0 0; color: rgba(255,255,255,.35); font-size: .75rem; letter-spacing: .12em; }
.how-it-works .eyebrow { color: #a4c7bd; }
h2 { margin-bottom: 0; font-size: clamp(2.35rem, 4.5vw, 5.2rem); line-height: .96; letter-spacing: -.05em; }
.steps { margin: 4px 0 0; padding: 0; list-style: none; }
.steps li { padding: 20px 0; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.16); }
.steps li:first-child { padding-top: 0; }
.steps > li > span { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-family: var(--serif); }
.steps p, .steps strong, .steps small { display: block; margin: 0; }
.steps strong { font-size: 1rem; }
.steps small { margin-top: 2px; color: rgba(255,255,255,.62); font-size: .83rem; }

.representatives { padding: clamp(72px, 9vw, 130px) var(--gutter); background: #f8f5ee; }
.list-heading { max-width: 1120px; margin: 0 auto 44px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.list-heading h2 { color: var(--navy-deep); }
.search-field {
  width: min(100%, 300px);
  height: 52px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
}
.search-field svg { width: 20px; flex: 0 0 auto; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-field input::placeholder { color: #858b8f; }
.contact-list { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(30px, 6vw, 90px); }
.contact {
  min-height: 105px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  transition: opacity 180ms ease, transform 180ms ease;
}
.contact:nth-last-of-type(-n+2) { border-bottom: 1px solid var(--line); }
.contact[hidden] { display: none; }
.avatar { width: 50px; height: 50px; display: grid; place-items: center; color: var(--white); background: var(--navy); border-radius: 50%; font-size: .73rem; font-weight: 750; letter-spacing: .04em; }
.contact:nth-child(3n+2) .avatar { background: var(--green); }
.contact:nth-child(3n+3) .avatar { background: var(--red); }
.contact h3 { margin: 0 0 3px; color: var(--navy-deep); font-size: 1.06rem; line-height: 1.2; }
.contact-copy a { color: var(--muted); text-decoration: none; font-size: .83rem; }
.contact-copy a:hover { text-decoration: underline; }
.save-one { padding: 8px 12px; border: 1px solid rgba(24, 48, 75, .38); border-radius: 4px; color: var(--navy); background: transparent; font-size: .77rem; font-weight: 700; cursor: pointer; transition: color 160ms ease, background 160ms ease; }
.save-one:hover { color: white; background: var(--navy); }
.no-results { grid-column: 1 / -1; padding: 40px 0; color: var(--muted); text-align: center; }

footer { padding: 42px var(--gutter); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; color: rgba(255,255,255,.72); background: #0a1724; font-size: .8rem; }
.footer-brand { color: var(--white); }
.footer-brand img { width: 45px; height: 45px; }
footer p { margin: 0; }
.site-link { color: var(--white); text-decoration: none; font-weight: 700; }

.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 50;
  width: min(calc(100% - 32px), 390px);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  background: #122c28;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 7px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  opacity: 0;
  transform: translate(-50%, 30px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast > span { width: 30px; height: 30px; display: grid; place-items: center; color: #122c28; background: #b9ded4; border-radius: 50%; font-weight: 800; }
.toast p, .toast strong, .toast small { display: block; margin: 0; }
.toast small { color: rgba(255,255,255,.67); }

@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-copy > * { opacity: 0; animation: enter 620ms cubic-bezier(.2,.7,.2,1) forwards; }
.hero-copy > :nth-child(1) { animation-delay: 80ms; }
.hero-copy > :nth-child(2) { animation-delay: 150ms; }
.hero-copy > :nth-child(3) { animation-delay: 230ms; }
.hero-copy > :nth-child(4) { animation-delay: 310ms; }
.phone-visual { opacity: 0; animation: enter 700ms 280ms cubic-bezier(.2,.7,.2,1) forwards; }

@media (max-width: 900px) {
  .site-header { width: calc(100% - 28px); min-height: 76px; margin-top: 12px; padding: 9px 13px; }
  .brand img { width: 50px; height: 50px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 24px; padding-top: 70px; }
  .hero-copy { position: relative; z-index: 4; }
  .phone-visual { min-height: 430px; margin-top: -12px; }
  .how-it-works { grid-template-columns: 48px 1fr; }
  .steps { grid-column: 2; }
  .contact-list { grid-template-columns: 1fr; }
  .contact:nth-last-of-type(2) { border-bottom: 0; }
  .contact:last-of-type { border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 580px) {
  .brand span { font-size: .67rem; }
  .count-badge { padding: 8px 10px; font-size: 0; }
  .count-badge strong { font-size: .85rem; }
  .count-badge strong::after { content: " contatti"; font-weight: 550; }
  .hero { padding: 54px 20px 72px; }
  h1 { font-size: clamp(2.85rem, 12.4vw, 4.8rem); letter-spacing: -.07em; }
  .lead { font-size: 1rem; }
  .save-all { min-height: 82px; padding: 14px; gap: 11px; }
  .action-icon { width: 42px; height: 42px; }
  .save-all strong { font-size: .92rem; }
  .save-all small { font-size: .68rem; }
  .phone-visual { min-height: 385px; transform: scale(.88); margin: -20px -20px -35px; }
  .floating-note { right: -1%; }
  .how-it-works { padding-inline: 20px; grid-template-columns: 32px 1fr; gap: 18px; }
  .how-it-works h2 { font-size: 2.7rem; }
  .steps { grid-column: 1 / -1; margin-top: 18px; }
  .representatives { padding-inline: 20px; }
  .list-heading { align-items: stretch; flex-direction: column; }
  .search-field { width: 100%; }
  .contact { min-height: 92px; padding: 15px 0; gap: 12px; }
  .avatar { width: 44px; height: 44px; }
  .contact h3 { font-size: .97rem; }
  .save-one { padding: 7px 9px; }
  footer { padding: 36px 20px; grid-template-columns: 1fr; }
  footer p, .site-link { grid-column: 1; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
