/* ═══════════════════════════════════════════════════════
   dAImon — Design System & Styles
   eu-daimon.it · v1.0 · Luglio 2026
   ═══════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Source+Serif+4:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ── Custom Properties ── */
:root {
  /* Palette — Brand Manual §3 */
  --navy: #0B1E3C;
  --blue: #3B78C8;
  --blue-dark: #2D5F9E;
  --green: #5CA828;
  --green-dark: #4A8A1F;
  --bg: #F8F7F4;
  --bg-soft: #EFEEE9;
  --border: #DDDCD7;

  /* Semantic tokens */
  --text: var(--navy);
  --text-muted: #4E5D73;
  --text-light: #8694A7;
  --text-on-dark: #E8ECF1;
  --text-on-dark-muted: #A0ADBF;

  /* Typography */
  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-serif: 'Source Serif 4', 'Georgia', serif;

  /* Spacing */
  --section-gap: clamp(50px, 6vw, 80px);
  --container: min(1200px, 90vw);
  --container-narrow: min(780px, 90vw);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.3s;

  /* Header */
  --header-h: 96px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.1vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--blue-dark);
}

ul, ol {
  list-style: none;
}

/* ── Typography ── */
.display {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1, .h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h2, .h2 {
  font-family: var(--font-sans);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.3;
}

h4, .h4 {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 600;
  line-height: 1.4;
}

.micro-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green);
}

.micro-label--navy {
  color: var(--navy);
}

.micro-label--blue {
  color: var(--blue);
}

.serif-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.35;
  font-style: normal;
}

.body-large {
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Layout ── */
.container {
  width: var(--container);
  margin: 0 auto;
}

.container--narrow {
  width: var(--container-narrow);
  margin: 0 auto;
}

.section {
  padding: var(--section-gap) 0;
}

.section--navy {
  background: var(--navy);
  color: var(--bg);
}

.section--soft {
  background: var(--bg-soft);
}

.grid {
  display: grid;
  gap: clamp(32px, 4vw, 64px);
}

.grid--asymmetric {
  grid-template-columns: 5fr 7fr;
}

.grid--asymmetric-reverse {
  grid-template-columns: 7fr 5fr;
}

.grid--2 {
  grid-template-columns: 1fr 1fr;
}

.grid--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 768px) {
  .grid--asymmetric,
  .grid--asymmetric-reverse,
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 28px;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
  text-decoration: none;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.btn--green,
.btn--push {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn--green:hover,
.btn--push:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--secondary:hover {
  background: var(--navy);
  color: #fff;
}

.btn--on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.btn--on-dark:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--duration) var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(11, 30, 60, 0.25);
}

.header-inner {
  width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo svg {
  height: 32px;
  width: auto;
}

.logo img {
  height: 76px;
  width: auto;
  display: block;
}

.footer-brand .logo-img {
  height: 108px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 4px 0;
  position: relative;
  transition: color var(--duration) var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width var(--duration) var(--ease);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: #ffffff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 60, 0.6);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.nav-overlay.visible {
  opacity: 1;
}

/* ── Dropdown Nav ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  transition: color var(--duration) var(--ease);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--duration) var(--ease);
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown-toggle.active {
  color: var(--blue);
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown-toggle.active::after {
  width: 100%;
}

.nav-dropdown-toggle .chevron {
  width: 10px;
  height: 6px;
  transition: transform var(--duration) var(--ease);
}

.nav-dropdown:hover .nav-dropdown-toggle .chevron,
.nav-dropdown.open .nav-dropdown-toggle .chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              visibility 0s var(--duration);
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              visibility 0s;
}

.nav-dropdown-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 8px 0;
  min-width: 260px;
  box-shadow: 0 8px 24px rgba(11, 30, 60, 0.08);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: color var(--duration) var(--ease),
              background var(--duration) var(--ease);
}

.nav-dropdown-menu a.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 20px;
  white-space: normal;
  border-bottom: 1px solid var(--border);
}

.nav-dropdown-menu a.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--duration) var(--ease);
}

.dropdown-item-desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
}

.nav-dropdown-menu a.dropdown-item:hover .dropdown-item-title {
  color: var(--blue);
}

.nav-dropdown-menu a:hover {
  color: var(--blue);
  background: var(--bg-soft);
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a.active {
  color: var(--blue);
}

.nav-dropdown-menu a.active .dropdown-item-title {
  color: var(--blue);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 40px 40px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 95;
    box-shadow: -8px 0 32px rgba(11, 30, 60, 0.1);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-overlay.open {
    display: block;
  }

  .nav-links a {
    font-size: 18px;
    font-weight: 600;
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a::after {
    display: none;
  }

  /* Dropdown mobile */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    font-size: 18px;
    font-weight: 600;
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
  }

  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 300px;
  }

  .nav-dropdown-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    min-width: auto;
  }

  .nav-dropdown-menu a {
    padding: 14px 0 14px 20px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown-menu a:hover {
    background: transparent;
  }
}

/* ── Footer ── */
.site-footer {
  background: #E8E7E2;
  color: var(--navy);
  padding: 80px 0 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 360px;
}

.footer-nav-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-nav a {
  display: block;
  font-size: 15px;
  color: var(--navy);
  padding: 6px 0;
  transition: color var(--duration) var(--ease);
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-bottom {
  background: var(--navy);
  color: var(--text-on-dark-muted);
  padding: 28px 0;
}

.footer-bottom-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.footer-legal a {
  color: var(--text-on-dark-muted);
  text-decoration: underline;
  transition: color var(--duration) var(--ease);
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-globe {
  opacity: 0.7;
  transition: opacity var(--duration) var(--ease);
}

.footer-globe:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ═══════════════════════════════════════════════════════
   PAGE: HOME
   ═══════════════════════════════════════════════════════ */

/* Hero */
.hero {
  padding: clamp(50px, 6vw, 80px) 0 var(--section-gap);
  position: relative;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Ambient floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
}

.hero-shape--1 {
  width: clamp(280px, 30vw, 500px);
  height: clamp(280px, 30vw, 500px);
  background: var(--blue);
  opacity: 0.15;
  top: -5%;
  right: 5%;
  animation: heroFloat1 22s ease-in-out infinite;
}

.hero-shape--2 {
  width: clamp(200px, 22vw, 380px);
  height: clamp(200px, 22vw, 380px);
  background: var(--green);
  opacity: 0.12;
  bottom: 0;
  right: 20%;
  animation: heroFloat2 28s ease-in-out infinite;
}

.hero-shape--3 {
  width: clamp(150px, 18vw, 280px);
  height: clamp(150px, 18vw, 280px);
  background: var(--navy);
  opacity: 0.06;
  top: 25%;
  right: 40%;
  animation: heroFloat3 25s ease-in-out infinite;
}

@keyframes heroFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-40px, 30px) scale(1.05); }
  66%      { transform: translate(25px, -20px) scale(0.95); }
}

@keyframes heroFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(20px, -35px) scale(1.08); }
  66%      { transform: translate(-30px, 15px) scale(0.96); }
}

@keyframes heroFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(15px, -20px); }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

/* Staggered entrance */
.hero-stagger {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.9s var(--ease) forwards;
}

.hero-stagger:nth-child(1) { animation-delay: 0.1s; }
.hero-stagger:nth-child(2) { animation-delay: 0.25s; }
.hero-stagger:nth-child(3) { animation-delay: 0.4s; }
.hero-stagger:nth-child(4) { animation-delay: 0.55s; }

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Rotating word */
.rotating-word-wrapper {
  display: inline-block;
  position: relative;
  color: var(--blue);
}

.rotating-word {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.rotating-word.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.hero .display {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-shape { animation: none; }
  .hero-stagger { animation: none; opacity: 1; transform: none; }
  .rotating-word { transition: none; }
}

/* Manifesto (navy section) */
.manifesto {
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
}

.manifesto .micro-label {
  color: var(--green);
  margin-bottom: 40px;
}

.manifesto-text {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-text .serif-quote {
  color: #fff;
  margin-bottom: 16px;
}

.manifesto-text .serif-quote:last-child {
  margin-bottom: 0;
}

/* Asset row (01/02/03) */
.asset-list {
  width: var(--container);
  margin: 0 auto;
}

.asset-item {
  display: grid;
  grid-template-columns: clamp(80px, 10vw, 160px) 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.4s var(--ease);
}

.asset-item:last-child {
  border-bottom: none;
}

.asset-number {
  font-family: var(--font-sans);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  opacity: 0.12;
  transition: color 0.4s var(--ease), opacity 0.4s var(--ease);
}

/* Hover interaction: light up hovered, grey out siblings */
.asset-list:hover .asset-item {
  opacity: 0.3;
}

.asset-list:hover .asset-item:hover {
  opacity: 1;
}

.asset-list:hover .asset-item:hover .asset-number {
  color: var(--green);
  opacity: 0.7;
}

.asset-item:nth-child(1) .asset-number {
  color: var(--green);
  opacity: 0.25;
}

.asset-body h3 {
  margin-bottom: 12px;
}

.asset-body p {
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 520px;
}

.asset-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.asset-link:hover {
  gap: 10px;
}

.asset-link::after {
  content: '→';
  transition: transform var(--duration) var(--ease);
}

/* Why dAImon */
.reasons {
  width: var(--container);
  margin: 0 auto;
}

.reason-item {
  padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  transition: opacity 0.4s var(--ease);
}

.reason-item:last-child {
  border-bottom: none;
}

.reason-num {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  transition: opacity 0.4s var(--ease);
}

/* Hover: dim siblings, highlight hovered */
.reasons:hover .reason-item {
  opacity: 0.3;
}

.reasons:hover .reason-item:hover {
  opacity: 1;
}

.reasons:hover .reason-item:hover .reason-num {
  opacity: 1;
}

.reason-item h4 {
  margin-bottom: 8px;
}

.reason-item p {
  color: var(--text-muted);
  max-width: 600px;
}

/* Team / Credibility */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(40px, 5vw, 64px);
}

.team-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}

/* Striped pattern placeholder */
.team-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 4px,
    rgba(255,255,255,0.05) 4px,
    rgba(255,255,255,0.05) 5px
  );
}

.team-photo-placeholder span {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.team-card h4 {
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Credibility strip */
.credibility-strip {
  padding: clamp(40px, 5vw, 64px) 0;
  background: var(--navy);
  color: var(--text-on-dark);
}

.credibility-grid {
  display: flex;
  justify-content: center;
  gap: clamp(48px, 8vw, 120px);
  flex-wrap: wrap;
}

.credibility-item {
  text-align: center;
}

.credibility-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-on-dark-muted);
  margin-bottom: 6px;
}

/* ── Service Breadcrumb ── */
.service-breadcrumb {
  display: flex;
  gap: 15px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.service-breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.service-breadcrumb a:hover {
  color: var(--navy);
}

.service-breadcrumb .breadcrumb-current {
  color: var(--navy);
  font-weight: 600;
}

/* ── Team Grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.team-card {
  background: var(--bg);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}

.team-card .bio-photo {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.team-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.team-card .bio-role {
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.credibility-value {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  color: #fff;
}

/* CTA section consistency */
.cta-section h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: var(--section-gap) 0;
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════
   PAGE: CHI SIAMO
   ═══════════════════════════════════════════════════════ */
.page-header {
  padding: clamp(60px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
  background: var(--navy);
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-header .micro-label {
  margin-bottom: 20px;
  color: var(--green);
}

.page-header h1 {
  max-width: 700px;
  color: #ffffff;
}

.page-header .body-large {
  color: var(--text-on-dark-muted);
}

/* Breadcrumb inside dark header */
.page-header .service-breadcrumb {
  color: var(--text-on-dark-muted);
}

.page-header .service-breadcrumb a {
  color: var(--text-on-dark-muted);
}

.page-header .service-breadcrumb a:hover {
  color: #ffffff;
}

.page-header .service-breadcrumb .breadcrumb-current {
  color: var(--green);
  font-weight: 600;
}

.editorial-section {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) 0;
}

.editorial-section p {
  margin-bottom: 24px;
  color: var(--text-muted);
}

.editorial-section p:last-child {
  margin-bottom: 0;
}

.editorial-section h3 {
  margin-bottom: 16px;
  margin-top: 48px;
}

/* Bio section with alternating layout */
.bio-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--border);
}

.bio-row--reverse {
  grid-template-columns: 7fr 5fr;
}

.bio-row--reverse .bio-photo {
  order: 2;
}

.bio-row--reverse .bio-content {
  order: 1;
}

.bio-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bio-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 4px,
    rgba(255,255,255,0.05) 4px,
    rgba(255,255,255,0.05) 5px
  );
}

.bio-photo span {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  position: relative;
  z-index: 1;
}

.bio-content .micro-label {
  margin-bottom: 12px;
}

.bio-content h3 {
  margin-bottom: 4px;
}

.bio-content .bio-role {
  font-size: 15px;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 20px;
}

.bio-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .bio-row,
  .bio-row--reverse {
    grid-template-columns: 1fr;
  }

  .bio-row--reverse .bio-photo,
  .bio-row--reverse .bio-content {
    order: unset;
  }
}

/* ═══════════════════════════════════════════════════════
   PAGE: OFFERTA
   ═══════════════════════════════════════════════════════ */

/* Funnel intro */
.funnel {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 40px 0;
}

.funnel-step {
  flex: 1;
  padding: 32px 28px;
  border: 1px solid var(--border);
  position: relative;
}

.funnel-step:first-child {
  border-radius: 5px 0 0 5px;
}

.funnel-step:last-child {
  border-radius: 0 5px 5px 0;
}

.funnel-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-light);
  z-index: 2;
  background: var(--bg);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.funnel-step .micro-label {
  margin-bottom: 8px;
}

.funnel-step h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.funnel-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .funnel {
    flex-direction: column;
    gap: 12px;
  }

  .funnel-step {
    border-radius: 5px;
  }

  .funnel-step:first-child,
  .funnel-step:last-child {
    border-radius: 5px;
  }

  .funnel-step:not(:last-child)::after {
    content: '↓';
    right: 50%;
    top: auto;
    bottom: -20px;
    transform: translateX(50%);
  }
}

/* ── Course Tabs ── */

/* Formazione Intro — three-level explainer */
.formazione-intro {
  max-width: 900px;
}

.formazione-intro-lead {
  font-size: clamp(17px, 1.3vw, 21px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.formazione-intro-lead strong {
  color: var(--navy);
  font-weight: 600;
}

.formazione-intro-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(24px, 3vw, 36px);
}

.formazione-intro-level {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.formazione-intro-num {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.formazione-intro-label {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.3;
}

.formazione-intro-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.formazione-intro-cta {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
}

@media (max-width: 640px) {
  .formazione-intro-levels {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── Fascia Navigation Section ── */
.fascia-nav-section {
  padding-top: 0;
  padding-bottom: 0;
}

.formazione-select-prompt {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}

.fascia-nav-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(11, 30, 60, 0.03);
}

.fascia-nav-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px);
  background: var(--bg);
  border: none;
  border-left: 3px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s var(--ease),
              border-color 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
  position: relative;
  width: 100%;
}

.fascia-nav-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
  z-index: 2;
}

.fascia-nav-card:not(:first-child) {
  border-left: 1px solid var(--border);
}

.fascia-nav-card:hover {
  background: var(--bg-soft);
}

/* Active states per area — distinct background colors */

/* 01 · Sapere: Deep Navy Blue */
.fascia-nav-card--sapere.active {
  background: #0B1E3C;
  border-left: 3px solid var(--green);
}
.fascia-nav-card--sapere.active:not(:first-child) {
  border-left: 3px solid var(--green);
}
.fascia-nav-card--sapere.active .fascia-nav-num {
  color: var(--green);
}
.fascia-nav-card--sapere.active .fascia-nav-meta {
  color: var(--green);
  background: rgba(92, 168, 40, 0.18);
}
.fascia-nav-card--sapere.active .fascia-nav-cta {
  color: var(--green);
}

/* 02 · Saper fare: Deep Sage Green */
.fascia-nav-card--saper-fare.active {
  background: #1E4324;
  border-left: 3px solid #7DE859;
}
.fascia-nav-card--saper-fare.active:not(:first-child) {
  border-left: 3px solid #7DE859;
}
.fascia-nav-card--saper-fare.active .fascia-nav-num {
  color: #7DE859;
}
.fascia-nav-card--saper-fare.active .fascia-nav-meta {
  color: #7DE859;
  background: rgba(125, 232, 89, 0.18);
}
.fascia-nav-card--saper-fare.active .fascia-nav-cta {
  color: #7DE859;
}

/* 03 · Saper decidere: Deep Petrol Blue */
.fascia-nav-card--saper-decidere.active {
  background: #12293B;
  border-left: 3px solid #7BB0F7;
}
.fascia-nav-card--saper-decidere.active:not(:first-child) {
  border-left: 3px solid #7BB0F7;
}
.fascia-nav-card--saper-decidere.active .fascia-nav-num {
  color: #7BB0F7;
}
.fascia-nav-card--saper-decidere.active .fascia-nav-meta {
  color: #7BB0F7;
  background: rgba(123, 176, 247, 0.18);
}
.fascia-nav-card--saper-decidere.active .fascia-nav-cta {
  color: #7BB0F7;
}

.fascia-nav-card-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fascia-nav-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.fascia-nav-num {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.fascia-nav-title {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.3vw, 21px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
  transition: color 0.2s var(--ease);
}

.fascia-nav-card.active .fascia-nav-title {
  color: #ffffff;
}

.fascia-nav-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  transition: color 0.2s var(--ease);
}

.fascia-nav-card.active .fascia-nav-desc {
  color: var(--text-on-dark-muted);
}

.fascia-nav-meta {
  display: inline-flex;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--green-dark);
  background: rgba(92, 168, 40, 0.12);
  padding: 4px 10px;
  border-radius: 3px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.fascia-nav-card.active .fascia-nav-meta {
  color: var(--green);
  background: rgba(92, 168, 40, 0.18);
}

.fascia-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  transition: color 0.2s var(--ease);
}

.fascia-nav-card.active .fascia-nav-cta {
  color: var(--green);
}

.fascia-nav-cta .cta-arrow {
  transition: transform 0.2s var(--ease);
}

.fascia-nav-card:hover .fascia-nav-cta .cta-arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .fascia-nav-cards {
    grid-template-columns: 1fr;
  }

  .fascia-nav-card:not(:first-child) {
    border-left: 3px solid transparent;
    border-top: 1px solid var(--border);
  }

  .fascia-nav-card.active:not(:first-child) {
    border-left: 3px solid var(--green);
    border-top: 1px solid var(--border);
  }
}

/* Tab Panels */
.course-tab-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.course-tab-panel.active {
  display: block;
  opacity: 1;
  animation: fadeTab 0.35s var(--ease) forwards;
}

@keyframes fadeTab {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Override fascia-header border when inside tabs */
.course-tab-panel .fascia-header {
  border-top: none;
  padding-top: clamp(32px, 4vw, 48px);
}

/* Fascia header */

.fascia-header {
  padding: clamp(48px, 6vw, 80px) 0 clamp(24px, 3vw, 40px);
  border-top: 2px solid var(--navy);
}

.fascia-header .micro-label {
  margin-bottom: 12px;
}

.fascia-header h2 {
  margin-bottom: 12px;
}

.fascia-header p {
  color: var(--text-muted);
  max-width: 680px;
}

/* Course card */
.course-card {
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--border);
  transition: border-color var(--duration) var(--ease);
}

.course-card:hover {
  border-top-color: var(--green);
}

.course-code {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--navy);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 12px;
  transition: color var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.course-card:hover .course-code {
  color: var(--green);
  opacity: 0.95;
}

.course-card h3 {
  margin-bottom: 16px;
}

.course-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 780px;
  margin-bottom: 28px;
}

.course-profile {
  display: inline-flex;
  gap: 12px;
  margin-bottom: 24px;
}

.course-profile span {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  padding: 4px 12px;
  border: 1px solid var(--blue);
  border-radius: 3px;
}

.course-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.course-meta-item {
  font-size: 14px;
}

.course-meta-label {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.course-meta-value {
  color: var(--text);
  font-weight: 500;
}

.course-contents h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.course-contents ul {
  list-style: none;
  padding: 0;
}

.course-contents ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

.course-contents ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--blue);
  opacity: 0.4;
}

/* Course CTA */
.course-cta {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* CTA subtitle */
.cta-subtitle {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Info box (finanziabilità etc.) */
.info-box {
  background: var(--bg-soft);
  border-left: 3px solid var(--blue);
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 5px 5px 0;
}

.info-box h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.info-box p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Methodology / Platform section */
.method-section {
  padding: var(--section-gap) 0;
  border-top: 2px solid var(--navy);
}

.method-section .micro-label {
  margin-bottom: 16px;
}

.method-section > .container > h2 {
  margin-bottom: 16px;
}

.method-section > .container > .body-large {
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 680px;
}

.terna {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}

.terna-item {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.terna-verb {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
}

.terna-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .terna {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
   PAGE: CONTATTI
   ═══════════════════════════════════════════════════════ */

/* ── Trust Grid ── */
.contact-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-trust-item {
  text-align: center;
  padding: 16px;
}

.contact-trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(59, 120, 200, 0.08);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-trust-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.contact-trust-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Form Intro ── */
.contact-form-intro {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.contact-form-intro h3 {
  margin-bottom: 8px;
}

.contact-form-intro p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ── Form Row (side-by-side fields) ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── Contact Grid ── */
.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

/* ── Form ── */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  transition: border-color var(--duration) var(--ease);
  outline: none;
  cursor: pointer;
}

.form-group input:not([type="checkbox"]),
.form-group textarea {
  cursor: text;
}

.form-group input:not([type="checkbox"]):focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
}

.form-group input:not([type="checkbox"])::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group .field-error {
  font-size: 13px;
  color: #C0392B;
  margin-top: 6px;
  display: none;
}

.form-group.error input:not([type="checkbox"]),
.form-group.error textarea {
  border-color: #C0392B;
}

.form-group.error .field-error {
  display: block;
}

.form-success {
  background: var(--bg-soft);
  border: 1px solid var(--green);
  border-radius: 5px;
  padding: 24px 28px;
  display: none;
}

.form-success.visible {
  display: block;
}

.form-success p {
  color: var(--text);
  font-weight: 500;
}

/* ── Contact Info Sidebar ── */
.contact-info {
  padding-top: 8px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-card:first-child {
  padding-top: 0;
}

.contact-info-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(59, 120, 200, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-card-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a.contact-info-card-value:hover {
  color: var(--blue-dark);
}

.contact-info-separator {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* ── People avatars ── */
.contact-info-people {
  padding-top: 24px;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-person:last-child {
  margin-bottom: 0;
}

.contact-person-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-person-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-person-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Process Timeline ── */
.contact-process {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
}

.contact-process-step {
  flex: 1;
  padding: 0 24px;
}

.contact-process-step:first-child {
  padding-left: 0;
}

.contact-process-step:last-child {
  padding-right: 0;
}

.contact-process-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 12px;
}

.contact-process-step h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-process-step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-process-connector {
  width: 40px;
  min-width: 40px;
  height: 1px;
  background: var(--border);
  margin-top: 18px;
  flex-shrink: 0;
}

/* ── FAQ ── */
.contact-faq-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}

.contact-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.contact-faq-item:first-child {
  padding-top: 0;
}

.contact-faq-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-faq-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .contact-trust-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-trust-item {
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 0;
  }

  .contact-trust-icon {
    margin-bottom: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-process {
    flex-direction: column;
    gap: 32px;
  }

  .contact-process-step {
    padding: 0;
  }

  .contact-process-connector {
    width: 1px;
    height: 32px;
    min-width: unset;
    margin-top: 0;
    margin-left: 14px;
  }

  .contact-faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* ═══════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.35s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════
   PAGE: HOME V2 (ALTERNATIVE HERO WITH IMAGE)
   ═══════════════════════════════════════════════════════ */
.hero-v2 {
  position: relative;
  background: var(--navy);
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-v2 .display {
  color: #ffffff;
  margin-bottom: 40px;
}

.hero-v2 .hero-subtitle {
  color: var(--text-on-dark-muted);
}

.hero-v2 .rotating-word-wrapper {
  color: #5CA2FA;
}

/* Ambient glow shapes for dark hero */
.hero-v2 .hero-shape--1 {
  background: var(--blue);
  opacity: 0.08;
}

.hero-v2 .hero-shape--2 {
  background: var(--green);
  opacity: 0.06;
}

.hero-v2 .hero-shape--3 {
  background: #ffffff;
  opacity: 0.03;
}

@media (min-width: 992px) {
  .hero-v2 {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    padding: 40px 0;
  }
}

@media (max-width: 991px) {
  .hero-v2 {
    padding: clamp(60px, 8vw, 100px) 0;
  }
}

/* Hero text stays full-width, above the orb */
.hero-v2 .hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

/* ── Background Orb (absolute behind text) ── */
.hero-v2-orb {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: clamp(420px, 50vw, 900px);
  height: auto;
  aspect-ratio: 1 / 1;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}

.hero-v2-orb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: url(#liquid-flow-filter);
  will-change: filter;
  transform: translateZ(0);
}

@media (max-width: 991px) {
  .hero-v2-orb {
    right: -10%;
    width: clamp(300px, 70vw, 500px);
    opacity: 0.3;
  }
}

@media (max-width: 480px) {
  .hero-v2-orb {
    right: -20%;
    opacity: 0.2;
  }
}

