/* ============================================================
   Taylor Sports English — the first English school for athletes
   Palette:
   - Light #EBEBEB · Orange #FF5800 · Ink #1a1a1a
   - Brand gradient: orange sunrise (white → orange → deep red)
   Type: Poppins (Light 300 · Medium 500 · SemiBold 600/700) · Sharp corners (0px)
   ============================================================ */

@font-face {
  font-family: 'Poppins';
  src: url('../brand-assets/font/Poppins-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../brand-assets/font/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../brand-assets/font/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../brand-assets/font/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../brand-assets/font/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../brand-assets/font/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette */
  --c-white:       #ffffff;
  --c-light:       #EBEBEB;
  --c-light-2:     #dcdcdc;
  --c-orange:      #FF5800;
  --c-orange-hi:   #ff8a4a;
  --c-orange-deep: #c43a00;
  --c-red-deep:    #7a1500;
  --c-ink:         #1a1a1a;
  --c-text:        #1a1a1a;
  --c-muted:       #5a5a5a;
  --c-border:      rgba(26,26,26,0.12);
  --c-border-soft: rgba(26,26,26,0.08);

  /* Brand gradient — orange sunrise, inspired by gradiente.png */
  --g-brand: linear-gradient(120deg, #ffffff 0%, #ffb27a 18%, #FF5800 55%, #c43a00 85%, #7a1500 100%);
  --g-brand-radial:
    radial-gradient(120% 90% at 0% 0%, #ffffff 0%, #ffd0b0 18%, transparent 55%),
    radial-gradient(120% 110% at 100% 100%, #7a1500 0%, #c43a00 35%, #FF5800 70%, transparent 100%),
    linear-gradient(135deg, #ffb27a 0%, #FF5800 60%, #c43a00 100%);

  /* Typography */
  --ff-display: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --ff-body:    'Poppins', 'Helvetica Neue', Arial, sans-serif;

  /* Shape — soft corners */
  --r:    8px;
  --r-sm: 8px;
  --r-lg: 8px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff-body);
  color: var(--c-text);
  background: var(--c-light);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Paragraphs are Light by default */
p { font-weight: 300; }
strong, b { font-weight: 600; }

/* No italic anywhere — Poppins is sans-serif only */
em, i { font-style: normal; font-weight: inherit; }

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

/* Full-bleed container for sections with big background cards */
.cta-call > .container,
.cta-final > .container,
.footer > .container {
  max-width: none;
  padding-left: 20px;
  padding-right: 20px;
}
.hero > .container {
  max-width: none;
  padding: 0;
}

/* ==== Typography ==== */
.display {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}
.display em,
h1 em, h2 em, h3 em, h4 em {
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--c-orange);
}
.display strong { font-weight: 600; }

/* Unified section-title sizing */
.percorso-text h2,
.lezioni-left h2,
.oggi-content h2,
.benefit-left h2,
.section-title {
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

/* Kickers */
.kicker {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text);
  display: inline-block;
  margin: 0;
}
.kicker-light { color: rgba(255,255,255,0.95); }

/* Link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--c-text);
  transition: gap 0.25s ease, color 0.2s ease;
}
.link-arrow:hover { gap: 14px; color: var(--c-orange); }

/* ==== Buttons (sharp corners, bold uppercase) ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-primary {
  background: var(--c-orange);
  color: var(--c-white);
}
.btn-primary:hover {
  background: var(--c-orange-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(255,88,0,0.32);
}
.btn-accent {
  background: var(--c-white);
  color: var(--c-orange-deep);
}
.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.2);
}
.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-text);
}
.btn-ghost:hover {
  background: var(--c-text);
  color: var(--c-white);
}

/* ==== Reveal-on-scroll ==== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="zoom"]  { transform: scale(0.96); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==== NAVBAR ==== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 20px 0;
  pointer-events: none;
}
.nav-inner {
  pointer-events: none;
  position: relative;
  max-width: none;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 14px 10px 22px;
  background: rgba(235,235,235,0.88);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-radius: var(--r);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-scrolled .nav-inner {
  pointer-events: auto;
  opacity: 1;
  transform: none;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 14px 40px -20px rgba(26,26,26,0.25);
}
.nav-brand { display: inline-flex; }
.nav-brand img { height: 32px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  margin-right: auto;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
  padding: 10px 16px;
  border-radius: var(--r);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: rgba(26,26,26,0.06); color: var(--c-orange); }
.nav-cta { padding: 12px 22px; font-size: 12px; }

/* Hamburger toggle — mobile only */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: var(--r);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.nav-toggle:hover { background: rgba(26,26,26,0.04); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  border-radius: 0;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==== HERO ==== */
.hero {
  padding: 0;
  margin-bottom: 80px;
}
.hero-card {
  background: var(--c-orange);
  color: var(--c-white);
  border-radius: var(--r);
  padding: 140px 40px 100px;
  min-height: 100vh;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-logo {
  display: block;
  width: auto;
  height: clamp(26px, 2.6vw, 40px);
  margin: 0;
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(52px, 7.6vw, 116px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 20px auto 24px;
  max-width: 14ch;
  color: var(--c-white);
  position: relative;
  z-index: 2;
}
.hero-title em {
  color: var(--c-white);
  font-weight: 500;
}
.hero-sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto 38px;
  color: rgba(255,255,255,0.95);
  position: relative;
  z-index: 2;
}
.hero-sub strong { font-weight: 600; color: var(--c-white); }
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.hero-card .btn-primary {
  background: var(--c-orange);
  color: var(--c-white);
  font-weight: 700;
}
.hero-card .btn-primary:hover {
  background: var(--c-orange-deep);
  color: var(--c-white);
  box-shadow: 0 12px 26px rgba(255,88,0,0.35);
}
/* ==== SECTION HEAD ==== */
.section-head {
  padding: 0 4px 28px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 20px 40px;
}
.section-title {
  max-width: 16ch;
  margin-left: auto;
  text-align: right;
}
@media (max-width: 860px) {
  .section-title { text-align: left; margin-left: 0; }
}

/* ==== IMAGE CHIP ==== */
.img-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--c-white);
  color: var(--c-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r);
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
  z-index: 2;
}

/* ==== METHOD (formerly PERCORSO) ==== */
.percorso {
  padding: 20px 0 100px;
}
.percorso-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.percorso-text h2 {
  margin-bottom: 28px;
}
.percorso-text p {
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 0 28px;
}
.percorso-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--c-ink);
}
.percorso-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==== CTA CALL ==== */
.cta-call {
  padding: 10px 0 100px;
}
.cta-card {
  background: var(--c-orange);
  color: var(--c-white);
  border-radius: var(--r);
  padding: 100px 40px 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  transform: translate(-50%, -50%) rotate(90deg);
  background: url('../brand-assets/logo/gradiente.png') center/cover no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}
.cta-card .kicker { margin-bottom: 22px; position: relative; z-index: 1; color: var(--c-white); }
.cta-card .cta-title,
.cta-card .cta-title em,
.cta-card .cta-sub,
.cta-card .cta-sub strong { color: var(--c-white); }

.cta-title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5.2vw, 72px);
  color: var(--c-white);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
  position: relative;
  z-index: 1;
}
.cta-title em {
  color: var(--c-orange);
  font-weight: 500;
}
.cta-sub {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 28px auto 40px;
  max-width: 680px;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.cta-sub strong { font-weight: 700; color: var(--c-white); }
.cta-card .btn { position: relative; z-index: 1; }

/* ==== ABOUT / FOUNDER ==== */
.about {
  padding: 20px 0 100px;
}
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: stretch;
}
.founder-photo {
  margin: 0;
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--c-light-2);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.founder-photo:hover img { transform: scale(1.04); }
.founder-content {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.founder-top { display: flex; flex-direction: column; gap: 12px; }
.founder-title {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
.founder-title em {
  font-weight: 500;
  color: var(--c-orange);
}
.founder-sub {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.founder-body { display: flex; flex-direction: column; gap: 18px; }
.founder-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-muted);
  margin: 0;
}
.founder-body p strong { color: var(--c-text); font-weight: 600; }

/* ==== LESSONS ==== */
.lezioni {
  padding: 20px 0 100px;
}
.lezioni-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.lezioni-left h2 {
  margin-bottom: 22px;
}
.lezioni-intro {
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 420px;
  margin: 0;
}
.lezioni-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* ==== FEATURE CARD ==== */
.feature-card {
  background: var(--c-white);
  border-radius: var(--r);
  padding: 22px 24px 24px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(26,26,26,0.28);
}
.feature-kicker {
  display: inline-block;
  background: var(--c-light);
  color: var(--c-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r);
  margin-bottom: 14px;
}
.feature-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.feature-head h3 {
  font-family: var(--ff-body);
  font-size: 19px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
  letter-spacing: -0.005em;
}
.feature-ico {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-muted);
  margin: 0;
}

/* ==== COURSES / PROGRAMS ==== */
.courses {
  padding: 20px 0 100px;
}
.courses .section-head {
  padding-bottom: 50px;
}
.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.course-card {
  background: var(--c-white);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -24px rgba(26,26,26,0.25);
}
.course-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  margin: 14px 14px 0;
  border-radius: var(--r);
}
.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.course-card:hover .course-image img { transform: scale(1.05); }
.course-body {
  padding: 28px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.course-body .btn {
  align-self: flex-start;
  margin-top: auto;
}
.course-body h3 {
  font-family: var(--ff-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 18px;
}
.course-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
  margin: 0 0 14px;
}
.course-body p strong { color: var(--c-text); font-weight: 700; }

/* ==== START TODAY ==== */
.oggi {
  padding: 20px 0 100px;
}
.oggi-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.oggi-image {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 620px;
  border-radius: var(--r);
  overflow: hidden;
}
.oggi-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.oggi-image:hover img { transform: scale(1.04); }
.oggi-content { max-width: 560px; }
.oggi-content .kicker { margin-bottom: 22px; }
.oggi-content h2 {
  margin-bottom: 26px;
}
.oggi-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-muted);
  margin: 0 0 34px;
}
.oggi-content p strong { font-weight: 700; color: var(--c-text); }

/* ==== BENEFIT ==== */
.benefit {
  padding: 20px 0 100px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.benefit-left h2 {
  margin-bottom: 22px;
}
.benefit-intro {
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 0 28px;
}
.benefit-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* ==== CTA FINAL (brand orange gradient) ==== */
.cta-final {
  padding: 20px 0 10px;
}
.cta-final-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  color: var(--c-white);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 40px;
  background: var(--g-brand-radial), var(--c-orange);
}
.cta-final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 85% 100%, rgba(122,21,0,0.35), transparent 70%),
    radial-gradient(600px 280px at 15% 0%, rgba(255,255,255,0.20), transparent 70%);
  pointer-events: none;
}
.cta-final-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.cta-final-inner .kicker { margin-bottom: 22px; }
.cta-final-inner .cta-title { color: var(--c-white); }
.cta-final-inner .cta-title em {
  color: var(--c-white);
}
.cta-final-inner .cta-sub { color: rgba(255,255,255,0.95); }
.cta-final-inner .cta-sub strong { color: var(--c-white); font-weight: 700; }

/* ==== FOOTER ==== */
.footer {
  background: var(--c-light);
  color: var(--c-text);
  padding: 10px 0 40px;
}
.footer-card {
  padding: 16px 16px 36px;
  color: var(--c-text);
}

.footer-info-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px 40px 56px;
}
.footer-info-col { display: flex; flex-direction: column; gap: 6px; }
.footer-info-label {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 8px;
}
.footer-info-link,
.footer-info-text {
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text);
  transition: color 0.2s ease;
}
.footer-info-link:hover { color: var(--c-orange); }

.footer-card-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
}
.footer-meta {
  font-family: var(--ff-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
}
.footer-pill-nav {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  background: var(--c-white);
  border-radius: 8px;
  justify-self: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.footer-pill-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 6px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--c-text);
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}
.footer-pill-tab:hover { background: rgba(26, 26, 26, 0.06); }
.footer-pill-tab.is-active,
.footer-pill-tab.is-active:hover {
  background: var(--c-orange);
  color: var(--c-white);
  box-shadow: 0 8px 20px rgba(255,88,0,0.38);
}
.footer-pill-tab-orange { color: var(--c-orange); }
.footer-pill-tab-orange:hover { background: rgba(255,88,0,0.12); color: var(--c-orange); }
.footer-pill-tab-orange.is-active,
.footer-pill-tab-orange.is-active:hover {
  background: var(--c-orange);
  color: var(--c-white);
}
.footer-card-bottom-spacer { display: block; }

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

/* Small desktop / iPad landscape (≤1080px) */
@media (max-width: 1080px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding: 10px 12px; font-size: 12px; }
}

/* iPad (portrait + landscape) — 760–1024px */
@media (max-width: 1024px) and (min-width: 760px) {
  .container { padding: 0 24px; }
  .percorso-grid,
  .founder-grid,
  .oggi-grid { gap: 40px; }
  .lezioni-grid { gap: 40px; }
  .courses-grid { gap: 20px; }
  .benefit-grid { gap: 40px; }
  .benefit-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .hero-card { padding: 120px 32px 90px; }
  .hero-title { font-size: clamp(48px, 8.5vw, 88px); }
  .hero-logo { top: 56px; }

  .cta-card,
  .cta-final-card { padding: 80px 32px; }
  .cta-final-card { min-height: 440px; }

  .founder-title { font-size: clamp(32px, 4.4vw, 48px); }
  .percorso-text h2,
  .lezioni-left h2,
  .oggi-content h2,
  .benefit-left h2,
  .section-title { font-size: clamp(36px, 5vw, 60px); }
}

/* Tablet portrait + mobile landscape — ≤960px (stack) */
@media (max-width: 960px) {
  .nav { padding: 12px 16px 0; }
  .nav-inner { padding: 8px 10px 8px 16px; gap: 10px; }
  .nav-brand { margin-right: auto; }
  .nav-brand img { height: 26px; }
  .nav-cta { padding: 10px 14px; font-size: 11px; letter-spacing: 0.12em; }
  .nav-toggle { display: inline-flex; }

  .nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border-radius: var(--r);
    box-shadow: 0 20px 40px -20px rgba(26,26,26,0.25);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px 16px;
    font-size: 14px;
    border-radius: var(--r);
  }

  .hero { margin-bottom: 60px; }
  .hero-card {
    padding: 110px 24px 70px;
    min-height: 92vh;
  }
  .hero-video { transform: rotate(180deg); }
  .hero-logo { top: 48px; height: 28px; }
  .hero-title { font-size: clamp(44px, 9vw, 72px); max-width: 100%; margin: 10px auto 20px; }
  .hero-sub { font-size: 16px; margin-bottom: 30px; }

  .percorso-grid,
  .founder-grid,
  .lezioni-grid,
  .benefit-grid,
  .oggi-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .benefit-cards { grid-template-columns: 1fr; }

  /* Founder flex doesn't need space-between once stacked */
  .founder-content { justify-content: flex-start; gap: 24px; }
  .founder-title { font-size: clamp(30px, 6vw, 44px); }

  .percorso { padding: 10px 0 36px; }
  .percorso-image { aspect-ratio: 4/3; max-height: 480px; }
  .cta-call { padding: 0 0 60px; }
  .cta-card { padding: 70px 24px 80px; }

  .about { padding: 10px 0 60px; }
  .founder-photo { aspect-ratio: 4/4.5; max-height: 540px; }

  .lezioni { padding: 10px 0 60px; }
  .courses { padding: 10px 0 60px; }
  .courses-grid {
    grid-template-columns: none;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 14px;
  }
  .courses-grid::-webkit-scrollbar { display: none; }
  .course-card {
    flex: 0 0 88%;
    min-width: 0;
    scroll-snap-align: start;
  }
  .course-body { padding: 24px 22px 28px; }
  .oggi { padding: 10px 0 60px; }
  .oggi-image { max-height: 520px; aspect-ratio: 16/11; }
  .benefit { padding: 10px 0 60px; }

  .cta-final-card { padding: 70px 24px; min-height: 420px; }

  .footer { padding: 10px 0 24px; }
  .footer-card { padding: 10px 10px 28px; border-radius: var(--r); }
  .footer-info-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding: 44px 20px 56px;
  }
  .footer-info-link,
  .footer-info-text { overflow-wrap: anywhere; }
  .footer-card-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
    text-align: center;
  }
  .footer-meta { order: 2; }
  .footer-pill-nav { order: 1; justify-self: center; }
  .footer-card-bottom-spacer { display: none; }
}

/* Mobile — ≤560px */
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .cta-call > .container,
  .cta-final > .container,
  .footer > .container { padding-left: 14px; padding-right: 14px; }

  .nav-cta { padding: 9px 12px; font-size: 10.5px; letter-spacing: 0.1em; }
  .nav-brand img { height: 22px; }

  .hero { margin-bottom: 40px; }
  .hero-card { padding: 96px 18px 54px; min-height: 90vh; }
  .hero-logo { top: 40px; height: 24px; }
  .hero-title {
    font-size: clamp(44px, 13vw, 68px);
    max-width: 100%;
    margin: 10px auto 16px;
    line-height: 1.02;
  }
  .hero-sub { font-size: 17px; margin-bottom: 24px; line-height: 1.55; }
  .hero-actions .btn { width: 100%; max-width: 320px; }

  /* Bigger section titles on mobile */
  .percorso-text h2,
  .lezioni-left h2,
  .oggi-content h2,
  .benefit-left h2,
  .section-title {
    font-size: clamp(46px, 11vw, 64px);
  }

  .percorso { padding: 10px 0 20px; }
  .percorso-grid { gap: 28px; }
  .percorso-text p { font-size: 16.5px; line-height: 1.7; }
  .percorso-image { aspect-ratio: 4/3; max-height: 380px; }

  .cta-call { padding: 0 0 48px; }
  .cta-card { padding: 54px 20px 60px; }
  .cta-title { font-size: clamp(42px, 10vw, 60px); }
  .cta-sub { margin: 20px auto 26px; letter-spacing: 0.12em; font-size: 12.5px; }

  .about { padding: 10px 0 48px; }
  .founder-body p { font-size: 16.5px; line-height: 1.75; }
  .founder-title { font-size: clamp(34px, 9.5vw, 48px); }
  .founder-photo { max-height: 460px; }

  .lezioni { padding: 10px 0 48px; }
  .lezioni-intro { font-size: 16.5px; line-height: 1.7; }

  .courses { padding: 10px 0 48px; }
  .course-body { padding: 22px 20px 26px; }
  .course-body h3 { font-size: 26px; }
  .course-body p { font-size: 15.5px; line-height: 1.7; }
  .course-image { margin: 10px 10px 0; aspect-ratio: 16/11; }

  .oggi { padding: 10px 0 48px; }
  .oggi-content p { font-size: 16.5px; line-height: 1.75; }
  .oggi-image {
    width: 100%;
    aspect-ratio: 16/11;
    max-height: none;
  }

  .benefit { padding: 10px 0 48px; }
  .benefit-intro { font-size: 16.5px; line-height: 1.7; }
  .feature-card { padding: 20px 20px 22px; }
  .feature-head h3 { font-size: 20px; }
  .feature-card p { font-size: 15px; line-height: 1.65; }

  .cta-final { padding: 10px 0 10px; }
  .cta-final-card { padding: 54px 20px; min-height: 360px; }

  .footer-info-cols { grid-template-columns: 1fr; gap: 24px; padding: 32px 14px 40px; }
  .footer-pill-nav { flex-wrap: wrap; justify-content: center; }
  .footer-pill-tab { padding: 10px 16px; font-size: 12.5px; flex: 1 1 auto; min-width: 0; }

  .btn {
    padding: 14px 20px;
    font-size: 12px;
    letter-spacing: 0.1em;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .section-head { padding-bottom: 20px; }
}

/* Small mobile — ≤380px */
@media (max-width: 380px) {
  .nav-inner { gap: 6px; padding: 6px 8px 6px 12px; }
  .nav-cta { padding: 8px 10px; font-size: 10px; }
  .nav-toggle { width: 38px; height: 38px; }
  .hero-card { padding: 86px 14px 46px; }
  .hero-logo { top: 34px; height: 22px; }
  .hero-title { font-size: clamp(30px, 12vw, 44px); }
  .cta-card { padding: 46px 16px 54px; }
  .cta-final-card { padding: 46px 16px; min-height: 320px; }
  .container { padding: 0 14px; }
  .footer-pill-tab { padding: 9px 12px; font-size: 12px; }
}

/* Very short viewport — hero not 100vh on laptops/phones landscape */
@media (max-height: 640px) and (min-width: 760px) {
  .hero-card { min-height: 640px; }
}

/* Touch targets */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
}
