/* ============================================================
   PROGETTING — Studio tecnico Ing. Andrea Cianetti
   Design system Royaletiger — CSS custom, zero framework
   ============================================================ */

/* ---------- Font self-hosted (variabili, latin) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design system ---------- */
:root {
  /* palette brand — navy + verde dal logo */
  --brand: #1b3a5f;
  --brand-dark: #12283f;
  --brand-deep: #0d1d30;
  --accent: #76b52b;
  --accent-dark: #43790f;
  --accent-soft: #eef6e2;
  --ink: #0f2237;
  --text: #384b60;
  --muted: #64758a;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --line: #dfe7ee;
  --line-dark: #27466b;
  /* tipografia */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  /* sistema */
  --shadow-sm: 0 1px 3px rgba(13, 29, 48, .08);
  --shadow-md: 0 8px 24px rgba(13, 29, 48, .1);
  --shadow-lg: 0 18px 48px rgba(13, 29, 48, .16);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brand); }
ul, ol { list-style-position: outside; padding-left: 1.2em; }
strong { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: .6em; }
h3 { font-size: 1.22rem; margin-bottom: .45em; }
h4 { font-size: 1.05rem; }
p + p { margin-top: 1em; }

/* ---------- Utility ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--brand-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c6d4e4; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--accent); }

.lead { font-size: clamp(1.08rem, 1.9vw, 1.22rem); color: var(--muted); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 99px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--brand-deep); }
.btn-accent:hover { background: #82c437; color: var(--brand-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--brand); }
.btn svg { flex: 0 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }

.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-brand img { width: 46px; height: 42px; object-fit: contain; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: .04em;
  color: var(--brand);
}
.brand-text em { font-style: normal; color: var(--accent-dark); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; padding: 0; }
.nav-links > li > a {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .98rem;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
}
.nav-links > li > a:hover { color: var(--accent-dark); background: var(--accent-soft); }
.nav-links > li > a[aria-current="page"] { color: var(--accent-dark); }
.nav-links .nav-cta { margin-left: 10px; padding: 12px 24px; font-size: .95rem; background: var(--brand); color: #fff; border-radius: 99px; }
.nav-links .nav-cta:hover { background: var(--accent-dark); color: #fff; }

/* Dropdown */
.has-sub { position: relative; }
.has-sub > a::after {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 8px;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
}
.sub-menu a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.sub-menu a[aria-current="page"] { color: var(--accent-dark); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 11px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.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 home ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(64px, 9vw, 110px);
  background:
    radial-gradient(1000px 500px at 88% -10%, rgba(118, 181, 43, .14), transparent 60%),
    linear-gradient(180deg, #f7fafc 0%, #fff 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero .lead { margin: 22px 0 8px; }
.hero-note { font-size: .98rem; color: var(--muted); margin-top: 10px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute;
  left: -18px; bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 13px 18px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-badge svg { color: var(--accent-dark); }

/* ---------- Hero pagine interne ---------- */
.page-hero {
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 72px)) 0 clamp(44px, 6vw, 72px);
  background:
    radial-gradient(900px 420px at 92% -20%, rgba(118, 181, 43, .12), transparent 60%),
    linear-gradient(180deg, #f7fafc 0%, #fff 100%);
}
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 820px; margin-top: 20px; }
.page-hero .hero-cta { margin-top: 28px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-bottom: 22px; font-size: .88rem; }
.breadcrumb li { color: var(--muted); }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; color: var(--muted); }
.breadcrumb a { color: var(--accent-dark); }

/* ---------- Card ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cfe3b2; }
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.card p { font-size: .98rem; }
.card-h { font-size: 1.22rem; margin-bottom: .45em; }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 600; font-size: .95rem; color: var(--accent-dark); }
.card-link::after { content: '→'; transition: transform .25s var(--ease); }
.card:hover .card-link::after { transform: translateX(4px); }

/* card cliccabile intera */
.card-clickable { position: relative; }
.card-clickable .card-title-link::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.card-title-link { color: var(--ink); }

/* ---------- Split (immagine + testo) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-body h2 { margin-bottom: .5em; }
.split-body .btn { margin-top: 26px; }
.split.reverse .split-media { order: 2; }

/* ---------- Liste con check ---------- */
.check-list { list-style: none; padding: 0; display: grid; gap: 13px; margin-top: 18px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 5px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2343790f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center no-repeat;
}

/* ---------- Steps (metodo) ---------- */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 18px; }
.steps li {
  counter-increment: step;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px 22px 78px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px; top: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-dark);
}
.steps h3 { font-size: 1.08rem; margin-bottom: .25em; }
.steps p { font-size: .97rem; }
.section-dark .steps li { background: rgba(255,255,255,.05); border-color: var(--line-dark); }
.section-dark .steps p { color: #c6d4e4; }

/* ---------- Numeri / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--brand); line-height: 1; }
.stat-value em { font-style: normal; color: var(--accent-dark); }
.stat-label { margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-dark);
  transition: transform .3s var(--ease);
  flex: 0 0 auto;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; font-size: .99rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(700px 300px at 12% 120%, rgba(118, 181, 43, .25), transparent 60%),
    linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 72px) clamp(28px, 5vw, 72px);
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #c6d4e4; max-width: 640px; margin: 0 auto; }
.cta-banner .hero-cta { justify-content: center; margin-top: 30px; }

/* ---------- Blog card ---------- */
.post-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.post-card img { border-radius: 0; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card .post-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.post-card h3 { font-size: 1.13rem; }
.post-card p { font-size: .95rem; }
.post-card .card-link { margin-top: auto; padding-top: 16px; }

/* ---------- Articolo blog ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article-hero-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin: 0 0 40px; }
.article h2 { font-size: 1.6rem; margin-top: 1.8em; }
.article h3 { font-size: 1.2rem; margin-top: 1.4em; }
.article ul, .article ol { margin: 1em 0; display: grid; gap: 8px; }
.article-note {
  margin-top: 48px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem;
  color: var(--muted);
}

/* ---------- Box evidenza ---------- */
.note-box {
  background: var(--accent-soft);
  border: 1px solid #d4e8b6;
  border-radius: var(--radius);
  padding: 24px 28px;
}
.note-box h3 { color: var(--accent-dark); }

/* ---------- Form contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 44px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.form-field label .req { color: var(--accent-dark); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-alt);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(118, 181, 43, .18);
}
.form-privacy { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form-privacy input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent-dark); flex: 0 0 auto; }
.form-disclaimer { font-size: .86rem; color: var(--muted); }
.form-status { min-height: 1.4em; font-weight: 600; color: var(--accent-dark); }

.contact-aside { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.contact-item h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p { font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: #b9c9dc; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  padding: clamp(52px, 7vw, 80px) 24px 44px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: 40px; height: 37px; object-fit: contain; filter: brightness(0) invert(1) opacity(.92); }
.footer-brand .brand-text { color: #fff; font-size: 1.15rem; }
.footer-brand .brand-text em { color: var(--accent); }
.footer-col > p { font-size: .95rem; }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col ul a { color: #b9c9dc; font-size: .95rem; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  padding-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: .87rem;
}
.footer-bottom a { color: #b9c9dc; }
.footer-bottom a:hover { color: var(--accent); }
.footer-disclaimer { padding: 0 24px 34px; font-size: .8rem; color: #7d92ab; max-width: var(--container); margin: 0 auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

/* ---------- 404 ---------- */
.error-hero { min-height: 70vh; display: flex; align-items: center; text-align: center; padding-top: var(--nav-h); }
.error-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 16vw, 9rem); color: var(--brand); line-height: 1; }
.error-code em { font-style: normal; color: var(--accent-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    /* l'header ha backdrop-filter: il fixed si ancora all'header, serve altezza esplicita */
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    padding: 20px 24px 44px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links > li > a { display: block; padding: 14px 10px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .has-sub > a::after { display: none; }
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 0;
    padding: 0 0 6px 14px;
  }
  .sub-menu a { padding: 11px 10px; font-size: 1rem; color: var(--muted); }
  .nav-links .nav-cta { margin: 18px 0 0; text-align: center; justify-content: center; display: block; padding: 15px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero-badge { left: 12px; bottom: 14px; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 34px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 18px; }
  .btn { width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; }
  .steps li { padding: 20px 20px 20px 66px; }
  .steps li::before { left: 18px; top: 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
