:root {
  color-scheme: light;
  --ink: #112736;
  --navy: #0b3047;
  --blue: #155f8a;
  --cyan: #63cde8;
  --mint: #bbefd8;
  --line: #d5e2e5;
  --paper: #f4f8f8;
  --white: #fff;
  --coral: #ce644e;
  font-family: Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
a:hover {
  color: #074a70;
}
a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  position: relative;
  z-index: 2;
  background: var(--navy);
  color: #fff;
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
}
.brand img {
  width: 162px;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.nav a {
  color: #f2fbfc;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover,
.nav a:focus-visible {
  text-decoration: underline;
}
.nav .nav-contact {
  background: var(--mint);
  color: var(--navy);
  padding: 9px 15px;
  border-radius: 4px;
}
.hero {
  position: relative;
  min-height: calc(100vh - 100px);
  min-height: calc(100dvh - 100px);
  display: flex;
  align-items: end;
  background: #18394b url('assets/allenamento.jpg') center 48% / cover no-repeat;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 27, 41, 0.76), rgba(4, 27, 41, 0.18) 75%),
    linear-gradient(0deg, rgba(4, 27, 41, 0.67), transparent 55%);
}
.hero-content {
  position: relative;
  padding-block: 100px 72px;
}
.hero h1 {
  font-size: clamp(2.8rem, 5rem, 5.6rem);
  line-height: 1;
  margin: 0 0 16px;
  max-width: 800px;
}
.hero p {
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  max-width: 620px;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  background: var(--mint);
  border: 1px solid var(--mint);
  border-radius: 4px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.button:hover {
  color: var(--navy);
  background: #d8fae9;
}
.button.secondary {
  color: #fff;
  background: transparent;
  border-color: #fff;
}
.button.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.section {
  padding-block: 78px;
}
.section.alt {
  background: var(--paper);
}
.eyebrow {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 9px;
}
.section h2,
.legal h1 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 780px;
}
.section-intro {
  max-width: 680px;
  font-size: 1.13rem;
  margin: 0 0 32px;
}
.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 90px);
}
.feature {
  border-top: 3px solid var(--cyan);
  padding-top: 20px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}
.feature p {
  margin: 0;
}
.price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  margin: 16px 0 3px;
}
.note {
  font-size: 0.94rem;
  color: #46606d;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  counter-reset: step;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--coral);
  margin-bottom: 8px;
}
.step h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}
.step p {
  margin: 0;
}
.callout {
  background: var(--navy);
  color: #fff;
  padding: 42px 0;
}
.callout .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.callout h2 {
  font-size: 1.8rem;
  margin: 0 0 6px;
}
.callout p {
  margin: 0;
  max-width: 700px;
}
.site-footer {
  background: #092334;
  color: #e6f2f3;
  padding: 42px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}
.site-footer p {
  margin: 6px 0;
}
.site-footer a {
  color: #e6f2f3;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin: 0 0 9px;
}
.legal {
  padding-block: 58px 90px;
}
.legal .lede {
  font-size: 1.15rem;
  max-width: 760px;
}
.legal article {
  max-width: 800px;
}
.legal h2 {
  font-size: 1.5rem;
  margin: 42px 0 10px;
}
.legal h3 {
  font-size: 1.15rem;
  margin: 27px 0 8px;
}
.legal p,
.legal li {
  line-height: 1.7;
}
.legal ul {
  padding-left: 22px;
}
.draft-notice {
  border-left: 4px solid var(--coral);
  background: #fff5f1;
  padding: 14px 18px;
  margin: 20px 0 30px;
}
.meta {
  font-size: 0.9rem;
  color: #45616c;
}
.contact-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.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;
}
@media (max-width: 700px) {
  .wrap {
    width: min(100% - 32px, 1120px);
  }
  .header-inner {
    padding-block: 12px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .brand img {
    width: 140px;
  }
  .nav {
    gap: 10px 16px;
  }
  .nav a {
    font-size: 0.87rem;
  }
  .nav .nav-contact {
    padding: 6px 10px;
  }
  .hero {
    min-height: calc(100svh - 88px);
    min-height: calc(100dvh - 88px);
    background-position: 54% center;
  }
  .hero::before {
    background: linear-gradient(0deg, rgba(4, 27, 41, 0.88), rgba(4, 27, 41, 0.06) 80%);
  }
  .hero-content {
    padding-block: 86px 38px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }
  .section {
    padding-block: 58px;
  }
  .columns,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .callout .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
  .legal {
    padding-block: 40px 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Fixed type scales keep legal text and compact mobile navigation predictable. */
.hero h1 {
  font-size: 5rem;
}
.hero p {
  font-size: 1.45rem;
}
.section h2,
.legal h1 {
  font-size: 3.2rem;
}
@media (max-width: 700px) {
  .hero h1 {
    font-size: 3.3rem;
  }
  .hero p {
    font-size: 1.08rem;
  }
  .section h2,
  .legal h1 {
    font-size: 2.1rem;
  }
}

/* Public site navigation and notice */
a {
  text-decoration: none;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}
.nav a:hover,
.nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cyan);
  text-decoration: none;
}
.site-footer {
  padding: 56px 0 20px;
  background: #071e2c;
}
.footer-layout {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 70px;
}
.footer-identity img {
  width: 140px;
  height: auto;
}
.footer-identity p {
  max-width: 220px;
  margin: 22px 0 12px;
  color: #aac2c8;
}
.footer-identity span,
.footer-bottom {
  color: #aac2c8;
  font-size: 0.85rem;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-links strong {
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.9rem;
}
.site-footer .footer-links a {
  color: #cfdee1;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #31505b;
  margin-top: 50px;
  padding-top: 18px;
}
.mobile-nav {
  display: none;
}
.privacy-notice {
  position: fixed;
  z-index: 30;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 720px;
  margin: auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px #061c2a38;
}
.privacy-notice strong {
  display: block;
  font-size: 1rem;
}
.privacy-notice p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
}
.privacy-notice a {
  color: var(--blue);
  font-weight: 700;
}
.privacy-notice button {
  flex: none;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  padding: 12px 15px;
  min-height: 44px;
  font:
    700 0.9rem Arial,
    Helvetica,
    sans-serif;
  cursor: pointer;
}
.privacy-notice button:hover {
  background: var(--blue);
}
@media (max-width: 700px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
  .site-header .nav {
    display: none;
  }
  .header-inner {
    min-height: 64px;
    align-items: center;
    flex-direction: row;
    padding-block: 10px;
  }
  .mobile-nav {
    position: fixed;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
    background: #092334;
    border-top: 1px solid #376075;
    box-shadow: 0 -3px 18px #071e2c27;
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: 4px 2px;
    color: #d7ebee;
    text-align: center;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.1;
    border-radius: 4px;
  }
  .mobile-nav a[aria-current='page'],
  .mobile-nav a:active {
    background: #1b5c79;
    color: #fff;
  }
  .footer-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 14px;
  }
  .footer-bottom {
    margin-top: 36px;
    flex-direction: column;
    gap: 6px;
  }
  .privacy-notice {
    left: 12px;
    right: 12px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    padding: 16px;
    display: block;
  }
  .privacy-notice button {
    width: 100%;
    margin-top: 12px;
  }
  .section,
  .legal {
    scroll-margin-top: 20px;
  }
}
