/* AITANOR — sito vetrina v3 (athanor edition) */
/* Brand: dark navy + gold accent — alchemical forge metaphor */

:root {
  --brand-50: #eef2f9;
  --brand-100: #d6dff0;
  --brand-300: #6b86b8;
  --brand-500: #2a4a82;
  --brand-700: #1a3460;
  --brand-800: #11244a;
  --brand-900: #0a1628;
  --ink-900: #0b0f1a;
  --ink-700: #1c2030;
  --ink-500: #374151;
  --ink-300: #6b7280;
  --ink-200: #9ca3af;
  --ink-100: #d1d5db;
  --ink-50: #f3f4f6;
  --bg: #f7f8fa;
  --white: #ffffff;
  --accent-300: #f4e9cf;
  --accent-400: #d9b769;
  --accent-500: #c9a961;
  --accent-600: #a8893f;
  --accent-700: #8a6f30;
  --shadow-sm: 0 1px 2px 0 rgba(11,15,26,.06);
  --shadow-md: 0 4px 12px -2px rgba(11,15,26,.10);
  --shadow-lg: 0 12px 30px -6px rgba(11,15,26,.12);
  --shadow-xl: 0 24px 50px -12px rgba(10,22,40,.25);
  --shadow-gold: 0 8px 24px -4px rgba(201,169,97,.35);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --maxw: 1180px;
  --gutter: 24px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter', 'Cinzel', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink-700);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-600); }
::selection { background: var(--accent-300); color: var(--brand-900); }

/* Skip link a11y */
.skip {
  position: absolute; top: -100px; left: 0;
  background: var(--brand-900); color: var(--white);
  padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 1000;
}
.skip:focus { top: 0; }

/* ===== Layout ===== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 96px 0; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }

/* ===== Typography ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--brand-900);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw + 0.5rem, 4rem); margin-bottom: 24px; }
h2 { font-size: clamp(1.8rem, 3vw + 0.5rem, 2.8rem); margin-bottom: 20px; }
h3 { font-size: clamp(1.3rem, 1.5vw + 0.6rem, 1.75rem); margin-bottom: 14px; }
h4 { font-size: 1.2rem; margin-bottom: 10px; }
p { margin-bottom: 14px; color: var(--ink-500); }
.lead { font-size: 1.2rem; color: var(--ink-500); line-height: 1.55; max-width: 720px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 16px;
}
.eyebrow::before { content: '— '; opacity: 0.6; }

/* ===== Header / Nav ===== */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(10,22,40,0.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 24px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-900);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.nav-logo img { width: 38px; height: 38px; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 8px;
  transition: all .2s ease;
}
.nav-links a:hover { background: var(--ink-50); color: var(--brand-900); }
.nav-links a.cta { background: var(--brand-900); color: var(--white); }
.nav-links a.cta:hover { background: var(--brand-800); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; border-radius: 6px;
}
.nav-toggle svg { width: 28px; height: 28px; color: var(--brand-900); }

@media (max-width: 880px) {
  .nav-links {
    position: absolute; top: 100%; right: 16px; left: 16px;
    flex-direction: column; align-items: stretch;
    background: var(--white);
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--ink-100);
    transform-origin: top right;
    transform: scaleY(0); opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
  }
  .nav-links.open { transform: scaleY(1); opacity: 1; }
  .nav-toggle { display: inline-flex; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: 0; cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-900); color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--brand-800); transform: translateY(-1px); color: var(--white); box-shadow: var(--shadow-lg); }
.btn-accent {
  background: var(--accent-500); color: var(--brand-900);
  box-shadow: var(--shadow-gold);
}
.btn-accent:hover { background: var(--accent-400); transform: translateY(-1px); color: var(--brand-900); }
.btn-ghost {
  background: transparent; color: var(--brand-900);
  border: 1.5px solid var(--brand-900);
}
.btn-ghost:hover { background: var(--brand-900); color: var(--white); }
.btn-light {
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
}
.btn-light:hover { background: rgba(255,255,255,0.2); color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at top left, rgba(201,169,97,0.18), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(42,74,130,0.4), transparent 60%),
    linear-gradient(180deg, var(--brand-900) 0%, var(--ink-900) 100%);
  color: var(--white);
  padding: 120px 0 96px;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 18% 88%, rgba(201,169,97,0.10), transparent 35%),
    radial-gradient(circle at 82% 18%, rgba(106,200,255,0.08), transparent 40%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 2;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 80px 0 64px; }
}
.hero h1 { color: var(--white); }
.hero h1 .gold {
  background: linear-gradient(135deg, var(--accent-300) 0%, var(--accent-500) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero .lead { color: rgba(255,255,255,0.82); }
.hero .eyebrow { color: var(--accent-400); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-trust { margin-top: 36px; display: flex; gap: 28px; flex-wrap: wrap; color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent-400); flex-shrink: 0; }

/* Hero visual — athanor furnace */
.athanor {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 380px;
  margin: 0 auto;
}
.athanor svg { width: 100%; height: 100%; }
.athanor-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 65%, rgba(201,169,97,0.4), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ===== Cards / Grids ===== */
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.section-head .lead { margin: 0 auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 920px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 20px; }
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,22,40,0.04);
  transition: all .25s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,169,97,0.3);
}
.card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,169,97,0.15), rgba(201,169,97,0.05));
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--accent-600);
}
.card .icon-wrap svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: 0.97rem; margin: 0; flex-grow: 1; }
.card-link {
  margin-top: 18px;
  font-weight: 600; font-size: 0.92rem;
  color: var(--brand-900); display: inline-flex; align-items: center; gap: 6px;
}
.card-link:hover { color: var(--accent-600); gap: 10px; }
.card-link::after { content: '→'; transition: transform .2s ease; }
.card-link:hover::after { transform: translateX(4px); }

/* Numbered cards */
.card-num { position: relative; padding-top: 56px; }
.card-num .num {
  position: absolute; top: 24px; left: 32px;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--accent-600);
  letter-spacing: 0.1em;
}

/* ===== Featured product (CEO AI) ===== */
.featured-product {
  background:
    linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 50%, var(--ink-900) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.featured-product::before {
  content: ''; position: absolute; top: -60%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,169,97,0.25), transparent 70%);
  border-radius: 50%;
}
@media (max-width: 920px) {
  .featured-product { padding: 40px 28px; grid-template-columns: 1fr; }
}
.featured-product h2 { color: var(--white); }
.featured-product .lead { color: rgba(255,255,255,0.85); }
.featured-product .eyebrow { color: var(--accent-400); }
.featured-product ul { list-style: none; padding: 0; margin: 24px 0; }
.featured-product li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: rgba(255,255,255,0.92);
}
.featured-product li::before {
  content: '✦'; position: absolute; left: 0; top: 8px;
  color: var(--accent-400); font-size: 1rem;
}
.product-mark {
  font-family: var(--font-display);
  font-size: 5rem; line-height: 1; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-300) 0%, var(--accent-500) 60%, var(--accent-600) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  position: relative; z-index: 1;
}
.product-mark span { display: block; font-size: 0.95rem; letter-spacing: 0.2em; font-weight: 600; color: var(--accent-400); -webkit-text-fill-color: var(--accent-400); margin-top: 12px; }
.product-side {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,169,97,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative; z-index: 1;
  backdrop-filter: blur(10px);
}

/* ===== Approach (alchemical steps) ===== */
.approach-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px; position: relative;
}
@media (max-width: 920px) { .approach-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .approach-grid { grid-template-columns: 1fr; } }

.step {
  text-align: left;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-500);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step .roman {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-600);
  display: block; margin-bottom: 16px;
  text-transform: uppercase;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { font-size: 0.92rem; margin: 0; }

/* ===== Service detail (deep) ===== */
.service-block {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 56px; align-items: start;
  padding: 64px 0;
  border-bottom: 1px solid var(--ink-100);
}
.service-block:last-child { border-bottom: 0; }
@media (max-width: 920px) {
  .service-block { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
}
.service-block .sticky {
  position: sticky; top: 100px;
}
.service-block h2 { margin-bottom: 12px; }
.service-block .meta {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--accent-600);
  margin-bottom: 14px;
}
.service-block .icon-big {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 100%);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-400);
}
.service-block .icon-big svg { width: 36px; height: 36px; }
.service-block .what { margin-bottom: 28px; }
.service-block h4 { color: var(--brand-900); margin-bottom: 8px; margin-top: 20px; font-size: 1.05rem; }
.service-block ul { padding-left: 22px; margin-bottom: 8px; color: var(--ink-500); }
.service-block li { margin-bottom: 6px; }

/* ===== Story (about) ===== */
.story {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 920px) { .story-grid { grid-template-columns: 1fr; gap: 40px; } }
.story-visual {
  background: linear-gradient(135deg, var(--brand-900), var(--ink-900));
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  color: var(--white);
  position: relative; overflow: hidden;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.story-visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(201,169,97,0.3), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(42,74,130,0.5), transparent 60%);
}
.story-visual .glyph {
  position: relative; z-index: 1;
  text-align: center;
  font-family: var(--font-display);
}
.story-visual .glyph .glyph-sigil {
  display: block;
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  color: var(--accent-500);
  opacity: 0.92;
}
.story-visual .glyph .glyph-word {
  display: block;
  font-size: 5.6rem; line-height: 1; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-300), var(--accent-500), var(--accent-700));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
}
.story-visual .glyph .glyph-tag {
  display: block;
  font-size: 0.72rem; letter-spacing: 0.42em; font-weight: 500;
  color: rgba(255,255,255,0.55);
  -webkit-text-fill-color: rgba(255,255,255,0.55);
  margin-top: 26px;
  text-transform: lowercase;
}
@media (max-width: 920px) {
  .story-visual .glyph .glyph-sigil { width: 44px; height: 44px; margin-bottom: 18px; }
  .story-visual .glyph .glyph-word { font-size: 4rem; }
  .story-visual .glyph .glyph-tag { font-size: 0.64rem; letter-spacing: 0.32em; margin-top: 20px; }
}
@media (max-width: 420px) {
  .story-visual .glyph .glyph-word { font-size: 3rem; }
  .story-visual .glyph .glyph-tag { font-size: 0.58rem; letter-spacing: 0.24em; }
}

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
details {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-100);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .2s ease;
}
details:hover { border-color: var(--accent-500); }
details[open] { box-shadow: var(--shadow-md); border-color: var(--accent-500); }
details summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--brand-900);
  font-size: 1.02rem;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+'; font-size: 1.5rem; line-height: 1;
  color: var(--accent-600);
  transition: transform .2s ease;
  flex-shrink: 0;
}
details[open] summary::after { transform: rotate(45deg); }
details .answer { padding: 0 24px 22px; color: var(--ink-500); line-height: 1.65; }
details .answer p { margin-bottom: 10px; }
details .answer p:last-child { margin: 0; }

/* ===== CTA strip ===== */
.cta-strip {
  background:
    radial-gradient(circle at 20% 30%, rgba(201,169,97,0.2), transparent 50%),
    linear-gradient(135deg, var(--brand-900), var(--ink-900));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip h2 { color: var(--white); margin-bottom: 16px; }
.cta-strip p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 32px; }
.cta-strip .btn { margin: 0 6px; }
@media (max-width: 540px) { .cta-strip { padding: 48px 24px; } }

/* ===== Contact / Form ===== */
.contact-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 56px; align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
}
@media (max-width: 540px) { .form { padding: 28px; } }
.form .row { margin-bottom: 18px; }
.form .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .form .two-col { grid-template-columns: 1fr; gap: 0; } }
.form label {
  display: block; font-weight: 600; font-size: 0.92rem;
  color: var(--brand-900); margin-bottom: 8px;
}
.form .req { color: var(--accent-600); }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink-700);
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.18);
}
.form textarea { resize: vertical; min-height: 120px; }
.form .hp { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }
.form .privacy { font-size: 0.85rem; color: var(--ink-300); display: flex; gap: 10px; align-items: flex-start; }
.form .privacy input { width: auto; margin-top: 4px; }
.form .privacy a { color: var(--brand-700); }
.form .submit-row { margin-top: 24px; }
.form .submit-row .btn { width: 100%; justify-content: center; }
.form .alert {
  padding: 14px 18px; border-radius: var(--radius-sm);
  margin-bottom: 18px; font-size: 0.95rem;
}
.form .alert.ok { background: #ecfdf5; color: #065f46; border-left: 3px solid #10b981; }
.form .alert.err { background: #fef2f2; color: #991b1b; border-left: 3px solid #ef4444; }

.contact-info {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
}
.contact-info h3 { margin-bottom: 24px; }
.contact-info .info-row {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--ink-100);
}
.contact-info .info-row:last-child { border-bottom: 0; }
.contact-info .info-row .ic {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-300);
  color: var(--accent-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-info .info-row .ic svg { width: 18px; height: 18px; }
.contact-info .info-row .label { font-size: 0.82rem; color: var(--ink-300); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contact-info .info-row .val { color: var(--brand-900); font-weight: 500; }
.contact-info .info-row .val a { color: var(--brand-900); }
.contact-info .info-row .val a:hover { color: var(--accent-600); }

/* ===== Footer ===== */
footer.site-footer {
  background: var(--brand-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .nav-logo { color: var(--white); margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; max-width: 320px; }
footer h5 {
  color: var(--white);
  font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 18px;
  font-weight: 600;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: rgba(255,255,255,0.65); transition: color .15s ease; }
footer ul li a:hover { color: var(--accent-400); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 0.84rem; color: rgba(255,255,255,0.5);
}
.footer-legal .legal-info { max-width: 760px; line-height: 1.6; }
.footer-legal .legal-info strong { color: rgba(255,255,255,0.7); font-weight: 600; }

/* ===== Subpage hero (light) ===== */
.subhero {
  background:
    radial-gradient(ellipse at top, rgba(201,169,97,0.07), transparent 60%),
    linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--ink-100);
}
.subhero .container { text-align: center; max-width: 820px; }

/* ===== Breadcrumb ===== */
.crumbs {
  font-size: 0.85rem; color: var(--ink-300);
  margin-bottom: 24px;
}
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--brand-900); }
.crumbs span { margin: 0 8px; opacity: 0.5; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 32px; }
.bg-white { background: var(--white); }
.no-pt { padding-top: 0 !important; }
.no-pb { padding-bottom: 0 !important; }

/* ===== Print ===== */
@media print {
  header.site-header, footer.site-footer, .cta-strip, .nav { display: none; }
  body { background: white; color: black; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== CLIENTI / TRUST BAND (sezione clienti su home + pagina clienti) ===== */
.clients-band {
  background: linear-gradient(180deg, var(--brand-900) 0%, var(--brand-800) 100%);
  color: var(--accent-300);
  padding: 56px 0;
  border-top: 1px solid rgba(201,169,97,0.25);
  border-bottom: 1px solid rgba(201,169,97,0.15);
}
.clients-band .container { color: var(--accent-300); }
.clients-band-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.clients-band-head .eyebrow { color: var(--accent-400); }
.clients-band-head h2 { color: var(--white); font-size: 1.9rem; line-height: 1.2; margin-bottom: 12px; }
.clients-band-head .lead { color: rgba(244,233,207,0.85); font-size: 1rem; margin: 0 auto; }

.clients-logos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
}
.client-logo {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,97,0.35);
  color: var(--accent-300);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  padding: 22px 16px;
  border-radius: var(--radius-md);
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  letter-spacing: 0.01em;
}
.client-logo small {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(244,233,207,0.70);
  margin-top: 4px;
}
.client-logo:hover {
  border-color: var(--accent-400);
  background: rgba(217,183,105,0.08);
  transform: translateY(-2px);
}
.clients-band-cta { text-align: center; margin-top: 32px; }
.clients-band .btn-light {
  background: rgba(244,233,207,0.10);
  color: var(--accent-300);
  border: 1px solid var(--accent-400);
}
.clients-band .btn-light:hover {
  background: var(--accent-300);
  color: var(--brand-900);
}

/* ===== PAGINA CLIENTI — aree e schede ===== */
.clients-area { padding: 64px 0; }
.area-head { max-width: 820px; margin: 0 auto 32px; text-align: center; }
.area-head h2 { font-size: 1.85rem; line-height: 1.2; margin-bottom: 8px; }
.area-head p { color: var(--ink-500); font-size: 1rem; }

.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.client-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.client-card:hover {
  border-color: var(--accent-400);
  box-shadow: var(--shadow-md);
}
.client-card-h {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-100);
}
.client-card-h h3 {
  font-size: 1.2rem;
  color: var(--brand-900);
  margin: 0;
}
.client-card .badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-700);
  background: var(--accent-300);
  padding: 4px 10px;
  border-radius: 999px;
}
.client-card p {
  font-size: 0.95rem;
  color: var(--ink-500);
  margin-bottom: 8px;
  line-height: 1.5;
}
.client-card p strong { color: var(--ink-700); }
.client-card a { color: var(--brand-700); text-decoration: underline; }
.client-card a:hover { color: var(--brand-900); }

/* clienti-area bg-white override (alternanza) */
.clients-area.bg-white { background: var(--white); }
.clients-area.bg-white .client-card {
  background: var(--bg);
}

/* ===== COMPLIANCE LIST (pagina clienti, sezione PA) ===== */
.compliance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.compliance-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 0.96rem;
  color: var(--ink-500);
  border-bottom: 1px solid var(--ink-100);
}
.compliance-list li:last-child { border-bottom: none; }
.compliance-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 20px;
  height: 20px;
  background: var(--accent-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.compliance-list li strong { color: var(--brand-900); }

/* ===== FORM CONTATTI: campi opzionali ===== */
.optional-fields summary {
  list-style: none;
  position: relative;
  padding-left: 22px;
  user-select: none;
}
.optional-fields summary::before {
  content: "▸";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--accent-600);
  transition: transform .15s ease;
}
.optional-fields[open] summary::before { transform: rotate(90deg); }
.optional-fields summary::-webkit-details-marker { display: none; }

/* ===== RESPONSIVE TUNING per band clienti su mobile ===== */
@media (max-width: 640px) {
  .clients-band { padding: 40px 0; }
  .clients-band-head h2 { font-size: 1.5rem; }
  .clients-logos {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .client-logo {
    font-size: 0.82rem;
    padding: 16px 10px;
    min-height: 80px;
  }
  .client-logo small { font-size: 0.7rem; }
}
@media (max-width: 380px) {
  .clients-logos { grid-template-columns: 1fr; }
}

/* ===== BRAND athanor (lowercase brand mark, usato sulla home) ===== */
.brand-lower {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-transform: lowercase;
}
.nav-logo .brand-lower {
  font-size: 1.25rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.01em;
  color: var(--brand-900);
}
.hero .eyebrow .brand-lower {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--accent-400);
}
.name-origin h2 .brand-lower {
  font-size: 1.1em;
}

/* ===== RESPONSIVE FINE-TUNING (mobile <= 768 / <= 540 / <= 380) ===== */
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .hero { padding: 72px 0 56px; }
  .hero-trust { gap: 14px 22px; font-size: 0.84rem; }
  .hero-trust span { flex: 0 1 auto; }
  body { font-size: 16px; line-height: 1.6; }
  p { line-height: 1.65; }
  .lead { font-size: 1.08rem; line-height: 1.6; }
  .featured-product { padding: 36px 22px; }
  .featured-product .product-mark { font-size: 3.6rem; }
  .cta-strip { padding: 48px 28px; }
  .form { padding: 28px 22px; }
  .nav { padding: 12px 0; gap: 12px; }
  .nav-logo { font-size: 1.05rem; gap: 10px; }
  .nav-logo img { width: 32px; height: 32px; }
  .footer-grid { gap: 28px; margin-bottom: 36px; }
  .footer-legal { flex-direction: column; gap: 12px; font-size: 0.82rem; line-height: 1.5; }
}
@media (max-width: 540px) {
  :root { --gutter: 16px; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .hero-grid { gap: 36px; }
  .hero-trust { flex-direction: column; gap: 10px; align-items: flex-start; }
  .hero-trust span { font-size: 0.82rem; line-height: 1.45; }
  .hero-ctas { gap: 10px; margin-top: 28px; }
  .hero-ctas .btn { flex: 1 1 auto; min-width: 0; padding: 12px 18px; font-size: 0.92rem; }
  .featured-product { padding: 28px 18px; border-radius: var(--radius-lg); }
  .featured-product .product-mark { font-size: 3rem; }
  .product-side { padding: 24px 18px; }
  .cta-strip { padding: 40px 20px; border-radius: var(--radius-lg); }
  .cta-strip .btn { display: inline-flex; margin: 6px 0; width: 100%; justify-content: center; }
  .footer-brand p { max-width: 100%; }
  .footer-legal .legal-info { font-size: 0.8rem; line-height: 1.55; }
  details summary { font-size: 0.95rem; padding: 16px 18px; }
  details .answer { padding: 0 18px 18px; }
  .approach-grid { gap: 16px; }
  .step { padding: 24px 20px; }
  .card { padding: 24px 22px; }
  .name-origin { padding: 40px 0; }
  .name-origin h2 { font-size: 1.4rem; line-height: 1.25; }
  .name-origin .lead { font-size: 1rem; line-height: 1.6; }
  .athanor { max-width: 280px; }
}
@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .nav-logo span { font-size: 0.98rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  h1 { font-size: 2rem; line-height: 1.18; }
  .hero h1 { font-size: 1.95rem; }
  h2 { font-size: 1.45rem; }
  .featured-product .product-mark { font-size: 2.6rem; }
}

/* ===== Anti-overflow universale (mobile safety net) ===== */
img, picture, video, svg, iframe { max-width: 100%; }
pre, code { overflow-x: auto; }
table { display: block; max-width: 100%; overflow-x: auto; }
.container, .footer-grid, .grid-3, .grid-2, .hero-grid, .approach-grid {
  min-width: 0;
}
.clients-logos li, .step, .card { min-width: 0; word-break: break-word; }

/* ===== Pagina servizio dedicata (analisi-dati-previsionali) ===== */
.svc-hero {
  background:
    radial-gradient(ellipse at top left, rgba(201,169,97,0.18), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(42,74,130,0.4), transparent 60%),
    linear-gradient(180deg, var(--brand-900) 0%, var(--ink-900) 100%);
  color: var(--white);
  padding: 100px 0 72px;
  position: relative;
  overflow: hidden;
}
.svc-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw + 0.5rem, 3.4rem); }
.svc-hero .lead { color: rgba(255,255,255,0.85); }
.svc-hero .eyebrow { color: var(--accent-400); }
.svc-hero .crumbs { color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.svc-hero .crumbs a { color: rgba(255,255,255,0.75); }
.svc-hero .crumbs span { color: rgba(255,255,255,0.4); }
.svc-pill {
  display: inline-flex; gap: 8px; align-items: center;
  background: rgba(201,169,97,0.15);
  border: 1px solid rgba(201,169,97,0.4);
  color: var(--accent-300);
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.kpi-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 36px;
}
@media (max-width: 640px) { .kpi-row { grid-template-columns: 1fr; } }
.kpi {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,169,97,0.25);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--white);
}
.kpi .num { font-size: 1.8rem; font-weight: 700; color: var(--accent-400); line-height: 1.1; display: block; margin-bottom: 4px; }
.kpi .lbl { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.svc-section { padding: 72px 0; }
.svc-section h2 { font-size: clamp(1.7rem, 2.5vw + 0.4rem, 2.2rem); margin-bottom: 18px; }
.svc-section .lead { margin-bottom: 28px; }
.svc-section .bullets { padding-left: 22px; color: var(--ink-500); }
.svc-section .bullets li { margin-bottom: 10px; }

.svc-case {
  background: var(--white);
  border-left: 4px solid var(--accent-500);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.svc-case h4 { color: var(--brand-900); margin-bottom: 6px; font-size: 1.1rem; }
.svc-case .role { font-size: 0.85rem; color: var(--ink-300); margin-bottom: 14px; letter-spacing: 0.04em; }
.svc-case p { margin: 0; font-size: 0.97rem; color: var(--ink-500); line-height: 1.55; }
@media (max-width: 540px) { .svc-case { padding: 22px 20px; } }

.svc-grid-2 {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 36px; align-items: start;
}
@media (max-width: 920px) { .svc-grid-2 { grid-template-columns: 1fr; gap: 28px; } }

.svc-output-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 640px) { .svc-output-grid { grid-template-columns: 1fr; } }
.svc-output-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 22px 22px;
  box-shadow: var(--shadow-sm);
}
.svc-output-card h4 { color: var(--brand-900); font-size: 1.02rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.svc-output-card h4 svg { width: 18px; height: 18px; color: var(--accent-600); flex-shrink: 0; }
.svc-output-card p { font-size: 0.92rem; color: var(--ink-500); margin: 0; line-height: 1.5; }

.svc-tech {
  background: var(--brand-900);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: rgba(255,255,255,0.8);
  margin-top: 24px;
}
.svc-tech h3 { color: var(--white); margin-bottom: 16px; font-size: 1.2rem; }
.svc-tech .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tech .chip {
  display: inline-block;
  font-size: 0.82rem; font-weight: 500;
  padding: 6px 14px;
  border: 1px solid rgba(201,169,97,0.35);
  border-radius: 999px;
  color: var(--accent-300);
  background: rgba(255,255,255,0.04);
}

/* ========================================================================== */
/* ===== AITANOR — FORMATTING REFINEMENTS 2026-05-26 (servizi + chi-siamo) === */
/* Override mirati per migliorare tipografia, ritmo verticale, larghezza      */
/* colonna di lettura, leggibilità mobile, allineamento e accessibilità.      */
/* Nessun cambio di contenuto, solo formattazione e layout.                   */
/* ========================================================================== */

/* Tipografia base — più aria, più contrasto, line-height più alto */
body {
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
@media (max-width: 768px) {
  body { font-size: 16px; line-height: 1.65; }
}

/* Heading — pesi e ritmi equilibrati */
h1 { line-height: 1.18; }
h2 { line-height: 1.22; margin-bottom: 22px; }
h3 { line-height: 1.3; }
h4 { line-height: 1.35; font-size: 1.12rem; }

/* Paragrafo — più contrasto, spaziatura coerente */
p { color: var(--ink-700); margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* Lead centrato su subhero e section-head */
.subhero .lead, .section-head .lead { margin-left: auto; margin-right: auto; }
.section-head .lead { max-width: 680px; }

/* Span accentato (parola colorata in h1 subhero) */
.accent { color: var(--accent-600); }

/* Card — paragrafo più leggibile, heading allineati */
.card p { color: var(--ink-700); font-size: 1rem; line-height: 1.65; margin: 0 0 12px; }
.card p:last-child { margin-bottom: 0; }
.card h3, .card h4 { margin-bottom: 12px; }
.card ul { padding-left: 22px; color: var(--ink-700); margin: 8px 0 0; }
.card ul li { margin-bottom: 8px; line-height: 1.55; }
.card ul li:last-child { margin-bottom: 0; }

/* Card "fact" — h4 + paragrafo breve, altezze allineate */
.card-fact { padding: 28px 28px 26px; min-height: 152px; }
.card-fact h4 { margin-bottom: 10px; }
.card-fact p { font-size: 0.98rem; line-height: 1.6; }

/* Stacco visivo per card in section bg-white */
.bg-white .card { background: var(--bg); border-color: rgba(10,22,40,0.06); }
.bg-white .card:hover { background: var(--white); }

/* ===== Service detail (deep) — più aria, sticky off su mobile ===== */
.service-block {
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  padding: 72px 0;
}
@media (max-width: 920px) {
  .service-block { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .service-block .sticky { position: static; }
}
.service-block.is-flat,
.service-section .service-block {
  padding-top: 0;
  padding-bottom: 64px;
  border-bottom: 0;
}
@media (max-width: 920px) {
  .service-section .service-block { padding-bottom: 48px; }
}
.service-block .sticky { top: 96px; }
.service-block .sticky > p {
  color: var(--ink-500);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 360px;
}
.service-block .sticky .btn { margin-top: 8px; }
.service-block .what {
  margin-bottom: 0;
  max-width: 68ch;
}
.service-block .what p {
  line-height: 1.75;
  color: var(--ink-700);
  font-size: 1.02rem;
  margin-bottom: 16px;
}
.service-block .what h3 { color: var(--brand-900); margin-top: 0; margin-bottom: 14px; }
.service-block .what h4 { color: var(--brand-900); margin-bottom: 10px; margin-top: 28px; font-size: 1.08rem; }
.service-block .what ul { padding-left: 22px; margin: 0 0 8px; color: var(--ink-700); }
.service-block .what li { margin-bottom: 10px; line-height: 1.6; }
.service-block .what li:last-child { margin-bottom: 0; }

/* Wrapper sezione servizio (sostituisce inline padding-top hack) */
.service-section { padding: 0; }
.service-section + .service-section { border-top: 1px solid var(--ink-100); }
.service-section .service-block { padding-top: 64px; padding-bottom: 64px; border-bottom: 0; }
@media (max-width: 920px) {
  .service-section .service-block { padding-top: 48px; padding-bottom: 48px; }
}

/* Sticky TOC navigazione servizi (sostituisce inline sticky + btn-ghost) */
.service-toc {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--ink-100);
  padding: 14px 0;
}
.service-toc nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.service-toc .toc-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-900);
  border: 1.5px solid var(--ink-100);
  border-radius: 999px;
  background: var(--white);
  transition: all .15s ease;
  white-space: nowrap;
  min-height: 36px;
}
.service-toc .toc-link:hover {
  border-color: var(--brand-900);
  background: var(--brand-900);
  color: var(--white);
}
@media (max-width: 768px) {
  .service-toc { padding: 10px 0; top: 56px; }
  .service-toc nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 16px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .service-toc nav::-webkit-scrollbar { display: none; }
  .service-toc .toc-link { scroll-snap-align: start; flex-shrink: 0; }
}

/* ===== Subhero — equilibrio + mobile-friendly left-align ===== */
.subhero { padding: 88px 0 72px; }
@media (max-width: 768px) {
  .subhero { padding: 64px 0 48px; }
  .subhero .container { text-align: left; }
}
.subhero h1 { margin-bottom: 20px; }
.subhero h1 .accent { color: var(--accent-600); }

/* ===== Prose: testi lunghi con larghezza colonna leggibile ===== */
.prose { max-width: 68ch; }
.prose p { line-height: 1.75; color: var(--ink-700); margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0 16px; color: var(--ink-700); }
.prose li { margin-bottom: 10px; line-height: 1.65; }
.prose h2, .prose h3, .prose h4 { margin-top: 32px; }
.prose h2:first-child, .prose h3:first-child, .prose h4:first-child { margin-top: 0; }
.prose strong { color: var(--brand-900); }

/* Story (about) — colonna sinistra con prose */
.story-grid > div > h2 { margin-bottom: 18px; }
.story-grid > div p { line-height: 1.75; color: var(--ink-700); margin-bottom: 16px; }
.story-grid > div p:last-child { margin-bottom: 0; }
@media (min-width: 921px) { .story-grid > div:first-child { max-width: 60ch; } }

/* Card di contatto / email — più aria interna */
.card-contact { padding: 32px 32px 30px; }
.card-contact h4 { margin-bottom: 10px; color: var(--brand-900); font-size: 1.1rem; }
.card-contact p { font-size: 1rem; line-height: 1.6; }
.card-contact a { color: var(--brand-700); font-weight: 600; word-break: break-word; }
.card-contact a:hover { color: var(--accent-600); }
.card-contact .meta-hint {
  font-size: 0.88rem;
  color: var(--ink-300);
  font-style: italic;
}

/* Nota di legenda sotto blocchi */
.legend-note {
  margin: 28px auto 0;
  font-size: 0.92rem;
  color: var(--ink-500);
  text-align: center;
  max-width: 720px;
  line-height: 1.55;
}
@media (max-width: 768px) {
  .legend-note { text-align: left; }
}

/* Service-tagline */
.service-tagline { font-size: 1.02rem; color: var(--ink-500); line-height: 1.6; }

/* ===== CTA strip — più aria, mobile full-width buttons ===== */
.cta-section { padding-top: 16px; }
.cta-strip .eyebrow { color: var(--accent-400); }
.cta-strip h2 {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.1rem);
  margin-bottom: 18px;
  line-height: 1.25;
}
.cta-strip p { font-size: 1.05rem; line-height: 1.6; }
@media (max-width: 540px) {
  .cta-strip { padding: 40px 22px; }
  .cta-strip .btn { width: 100%; justify-content: center; margin: 6px 0; }
}

/* Card-num — label compatta, no overflow su parole lunghe */
.card-num .num {
  font-size: 0.76rem;
  line-height: 1.3;
  max-width: calc(100% - 64px);
}
@media (max-width: 540px) {
  .card-num { padding-top: 50px; }
  .card-num .num { top: 22px; left: 28px; font-size: 0.72rem; letter-spacing: 0.12em; }
}

/* Mobile refinements: section padding e section-head margin */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
}

/* Touch targets minimi (≥44px) per accessibilità tap */
@media (pointer: coarse) {
  .nav-links a, .btn, .toc-link, .card-link { min-height: 44px; }
}

/* No justify e center forzato su testi lunghi mobile (allineamento sinistra) */
@media (max-width: 768px) {
  p, li, .lead { text-align: left; }
}
