/*
Theme Name: Horizon Wow
Theme URI: https://horizon.local
Author: Horizon
Description: Dark immersive landing theme for Horizon, incubatore per terapisti manuali.
Version: 1.1.4
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: horizon-wow
*/

:root {
  --bg: #FFD8A4;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --ink: #111827;
  --muted: #374151;
  --line: rgba(53, 185, 255, 0.22);
  --lime: #96BD0D;
  --lime-soft: #96BD0D;
  --cyan: #35B9FF;
  --aqua: #C0ECFF;
  --sun: #F7931E;
  --sun-soft: #FFD8A4;
  --danger: #ff695f;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --shadow: 0 34px 90px rgba(7, 20, 33, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  --max: 1180px;
  --scroll: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(
      900px 600px at 50% 30%,
      rgba(247, 147, 30, 0.45) 0%,
      rgba(255, 216, 164, 0.8) 45%,
      #FFD8A4 80%
    ),
    var(--bg);
  color: var(--ink);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(192, 236, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 236, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.horizon-page {
  position: relative;
  min-height: 100vh;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: calc(var(--scroll) * 100%);
  height: 2px;
  background: linear-gradient(90deg, var(--lime-soft), var(--sun), var(--cyan));
  box-shadow: 0 0 18px rgba(150, 189, 13, 0.65);
}

#horizon-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E");
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 0;
  backdrop-filter: blur(18px);
}

.nav {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(192, 236, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 253, 246, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 50px rgba(0, 0, 0, 0.22);
}

.nav::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(150, 189, 13, 0.08), rgba(53, 185, 255, 0.07), transparent);
  transform: translateX(-100%);
  animation: nav-scan 7s ease-in-out infinite;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
  padding: 0;
  z-index: 1;
}

.brand img {
  display: block;
  width: 124px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(150, 189, 13, 0.14));
}

.nav-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links a {
  position: relative;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(192, 236, 255, 0.06);
  border-color: rgba(150, 189, 13, 0.22);
  box-shadow: 0 0 18px rgba(150, 189, 13, 0.1);
}

.cta,
.ghost-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid rgba(150, 189, 13, 0.35);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: linear-gradient(135deg, var(--lime-soft), var(--lime) 52%, var(--sun));
  box-shadow: 0 14px 44px rgba(150, 189, 13, 0.23);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 18px 56px rgba(247, 147, 30, 0.26);
}

.ghost-cta {
  color: var(--ink);
  background: rgba(192, 236, 255, 0.06);
  box-shadow: none;
}

.section {
  padding: 112px 0;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  padding: 72px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.7fr);
  gap: 24px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--aqua);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--lime), var(--cyan));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 0.95;
  font-weight: 650;
  letter-spacing: 0;
}

h1 .sunrise {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--sun), var(--sun-soft) 32%, var(--lime-soft) 64%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.32;
}

.lead strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.gradient-shell {
  padding: 1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(238, 248, 244, 0.26), rgba(192, 236, 255, 0.08), rgba(247, 147, 30, 0.08), transparent);
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius-lg) - 1px);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

/* Redesigned multi-page experience */
.hero-redesign {
  min-height: calc(100vh - 74px);
  align-items: center;
  padding: 58px 0 70px;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 26px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy::after {
  display: block;
  width: min(420px, 86%);
  height: 1px;
  margin-top: 32px;
  content: "";
  background: linear-gradient(90deg, var(--lime), rgba(53, 185, 255, 0.5), transparent);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  padding: 1px;
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(238, 248, 244, 0.28), rgba(192, 236, 255, 0.1), rgba(247, 147, 30, 0.16), rgba(255, 255, 255, 0));
  box-shadow: 0 48px 110px rgba(0, 0, 0, 0.46);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-visual:hover {
  box-shadow: 0 54px 130px rgba(0, 0, 0, 0.58), 0 0 80px rgba(247, 147, 30, 0.12);
}

.horizon-scan {
  position: relative;
  height: 100%;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 31px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 50% 34%, rgba(247, 147, 30, 0.16), transparent 38%),
    rgba(7, 20, 32, 0.78);
  backdrop-filter: blur(28px);
}

.horizon-scan::before,
.horizon-scan::after {
  position: absolute;
  inset: 22px;
  content: "";
  border: 1px solid rgba(192, 236, 255, 0.1);
  border-radius: 26px;
  background-image:
    linear-gradient(rgba(192, 236, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 236, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.horizon-scan::after {
  inset: auto 0 0;
  height: 42%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 253, 246, 0.86));
}

.sun-disc {
  position: absolute;
  left: 50%;
  top: 74px;
  width: min(280px, 60%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sun), var(--sun-soft) 54%, rgba(255, 255, 255, 0.02));
  filter: drop-shadow(0 0 60px rgba(247, 147, 30, 0.26));
  transform: translateX(-50%);
  animation: sun-breathe 7s ease-in-out infinite;
}

.scan-line {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 51%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lime), var(--lime-soft), var(--cyan), transparent);
  box-shadow: 0 0 24px rgba(150, 189, 13, 0.9);
  animation: horizon-sweep 4.8s ease-in-out infinite;
}

.moon-disc {
  position: absolute;
  right: 18%;
  top: 47%;
  width: 70px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 42%, white 0 34%, transparent 35%), var(--cyan);
  filter: blur(0.2px) drop-shadow(0 0 24px rgba(53, 185, 255, 0.45));
  animation: moon-float 8s ease-in-out infinite;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 48%;
  border: 1px solid rgba(192, 236, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-a {
  width: 74%;
  aspect-ratio: 1;
  animation: orbit-turn 20s linear infinite;
}

.orbit-b {
  width: 52%;
  aspect-ratio: 1;
  border-color: rgba(150, 189, 13, 0.16);
  animation: orbit-turn 14s linear infinite reverse;
}

.radar-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime-soft);
  box-shadow: 0 0 20px rgba(150, 189, 13, 0.8);
}

.node-a {
  left: 18%;
  top: 34%;
  animation: node-drift 6s ease-in-out infinite;
}

.node-b {
  right: 24%;
  top: 23%;
  background: var(--cyan);
  animation: node-drift 7s ease-in-out infinite reverse;
}

.node-c {
  right: 16%;
  bottom: 28%;
  background: var(--sun);
  animation: node-drift 8s ease-in-out infinite;
}

.signal-stack {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 98px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(150, 189, 13, 0.16);
  border-radius: 18px;
  background: rgba(255, 253, 246, 0.78);
  backdrop-filter: blur(18px);
}

.signal-stack span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-stack strong {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 0.95;
}

.growth-system {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 96px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  counter-reset: growth;
}

.growth-system::before {
  position: absolute;
  left: 50%;
  top: -72px;
  bottom: 100%;
  width: 1px;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(150, 189, 13, 0.48));
  transform: translateX(-50%);
}

.growth-system div {
  position: relative;
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px 16px 16px 18px;
  border: 1px solid rgba(192, 236, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 253, 246, 0.78);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.growth-system div:hover {
  border-color: rgba(150, 189, 13, 0.38);
  background: rgba(255, 253, 246, 0.78);
  transform: translateY(-3px);
}

.growth-system div::after {
  position: absolute;
  inset: auto auto 12px 50%;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--lime-soft);
  box-shadow: 0 0 18px rgba(150, 189, 13, 0.7);
  animation: node-pulse 2.4s ease-in-out infinite;
}

.growth-system span {
  color: var(--aqua);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.growth-system strong {
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.08;
}

.growth-system small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.live-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(192, 236, 255, 0.14);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 253, 246, 0.78);
  backdrop-filter: blur(18px);
}

.live-panel strong {
  color: var(--lime-soft);
  font-size: 28px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime-soft);
  box-shadow: 0 0 0 0 rgba(150, 189, 13, 0.7);
  animation: pulse-ring 1.8s ease-out infinite;
}

.authority-band {
  padding: 18px 0 84px;
}

.authority-band .badge-grid {
  padding: 12px;
  border: 1px solid rgba(192, 236, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 253, 246, 0.78);
  backdrop-filter: blur(18px);
}

.authority-band .badge-card {
  position: relative;
  min-height: 118px;
  background:
    linear-gradient(135deg, rgba(150, 189, 13, 0.08), transparent 42%),
    rgba(4, 11, 20, 0.42);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.authority-band .badge-card::before {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(150, 189, 13, 0.55), rgba(53, 185, 255, 0.28), transparent);
  transform: scaleX(0.2);
  opacity: 0.45;
  transition: transform 220ms ease, opacity 220ms ease;
}

.authority-band .badge-card:hover {
  transform: translateY(-5px);
  border-color: rgba(150, 189, 13, 0.34);
  background:
    radial-gradient(circle at 18% 24%, rgba(150, 189, 13, 0.13), transparent 34%),
    rgba(7, 20, 32, 0.78);
}

.authority-band .badge-card:hover::before {
  transform: scaleX(1);
  opacity: 1;
}

.badge-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(192, 236, 255, 0.18);
  border-radius: 14px;
  color: var(--aqua);
  background: rgba(192, 236, 255, 0.06);
  box-shadow: 0 0 0 0 rgba(192, 236, 255, 0.22);
  animation: badge-pulse 3.2s ease-in-out infinite;
}

.badge-card:nth-child(2) .badge-icon {
  color: var(--lime-soft);
  background: rgba(150, 189, 13, 0.07);
  animation-delay: 0.4s;
}

.badge-card:nth-child(3) .badge-icon {
  color: var(--sun-soft);
  background: rgba(247, 147, 30, 0.08);
  animation-delay: 0.8s;
}

.badge-card:nth-child(4) .badge-icon {
  color: var(--cyan);
  background: rgba(53, 185, 255, 0.07);
  animation-delay: 1.2s;
}

.route-section {
  padding-top: 72px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.quick-route {
  position: relative;
  min-height: 276px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(192, 236, 255, 0.15);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 253, 246, 0.9), rgba(229, 239, 208, 0.74)),
    radial-gradient(circle at 80% 18%, rgba(150, 189, 13, 0.1), transparent 15rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.quick-route::before {
  position: absolute;
  inset: -1px;
  content: "";
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(150, 189, 13, 0.18), transparent 34%);
  transition: opacity 180ms ease;
}

.quick-route::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 84px;
  height: 84px;
  content: "";
  border: 1px dashed rgba(192, 236, 255, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 30px rgba(53, 185, 255, 0.04);
  animation: orbit-turn 16s linear infinite;
}

.quick-route:hover,
.quick-route:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(150, 189, 13, 0.42);
  background:
    linear-gradient(145deg, rgba(9, 30, 46, 0.96), rgba(5, 12, 10, 0.86)),
    radial-gradient(circle at var(--mx, 55%) var(--my, 30%), rgba(150, 189, 13, 0.14), transparent 16rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 32px 80px rgba(0, 0, 0, 0.34), 0 0 42px rgba(150, 189, 13, 0.08);
}

.quick-route:hover::before,
.quick-route:focus-visible::before {
  opacity: 1;
}

.quick-route > * {
  position: relative;
}

.quick-route span {
  color: var(--sun);
  width: fit-content;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(247, 147, 30, 0.32);
  font-size: 13px;
  font-weight: 900;
}

.quick-route h3 {
  max-width: 92%;
  margin: 22px 0 16px;
  font-size: clamp(22px, 1.65vw, 30px);
  line-height: 1.05;
}

.quick-route p {
  max-width: 94%;
  color: var(--muted);
  font-size: 15px;
}

.quick-route .icon {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 38px;
  height: 38px;
  color: var(--aqua);
  transition: transform 240ms ease, color 240ms ease;
}

.quick-route:hover .icon,
.quick-route:focus-visible .icon {
  color: var(--lime-soft);
  transform: translateX(10px);
}

.page-hero {
  padding: 92px 0 54px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.36fr);
  gap: 24px;
  align-items: center;
}

.page-hero h1 {
  max-width: 820px;
}

.page-hero-orb {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 253, 246, 0.78);
  box-shadow: var(--shadow);
}

.page-hero-orb span {
  width: 170px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sun), var(--sun-soft), transparent 72%);
  animation: page-sun-breathe 7s ease-in-out infinite;
}

.page-hero-orb::before,
.page-hero-orb::after,
.page-hero-orb i,
.page-hero-orb em {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-orb::before {
  left: 50%;
  top: 50%;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(192, 236, 255, 0.18);
  animation: orbit-turn 18s linear infinite;
}

.page-hero-orb::after {
  left: 50%;
  top: 50%;
  width: 52%;
  aspect-ratio: 1;
  border: 1px dashed rgba(150, 189, 13, 0.2);
  animation: orbit-turn 12s linear infinite reverse;
}

.page-hero-orb i {
  width: 12px;
  height: 12px;
  right: 23%;
  top: 28%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(53, 185, 255, 0.7);
}

.page-hero-orb em {
  width: 10px;
  height: 10px;
  left: 24%;
  bottom: 30%;
  background: var(--lime-soft);
  box-shadow: 0 0 22px rgba(150, 189, 13, 0.72);
}

.page-hero-orb strong {
  position: absolute;
  bottom: 38px;
  max-width: 86%;
  color: var(--aqua);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
}

.services-flow .service-card:nth-child(2),
.services-flow .service-card:nth-child(4) {
  transform: translateY(28px);
}

.split-elevated {
  align-items: center;
}

.pacc-network {
  position: relative;
  min-height: 520px;
  margin: 30px 0 26px;
  overflow: hidden;
  border: 1px solid rgba(192, 236, 255, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 72%, rgba(150, 189, 13, 0.11), transparent 18rem),
    linear-gradient(180deg, rgba(7, 20, 32, 0.62), rgba(4, 11, 20, 0.84));
  box-shadow: var(--shadow);
}

.pacc-network::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle, rgba(150, 189, 13, 0.24) 0 3px, transparent 4px),
    linear-gradient(rgba(192, 236, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 236, 255, 0.035) 1px, transparent 1px);
  background-position: 0 0, 0 0, 0 0;
  background-size: 130px 130px, 44px 44px, 44px 44px;
  opacity: 0.45;
}

.pacc-node {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(192, 236, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 253, 246, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.pacc-node::after {
  position: absolute;
  inset: -10px;
  z-index: -1;
  content: "";
  border-radius: 28px;
  opacity: 0;
  background: radial-gradient(circle, rgba(150, 189, 13, 0.18), transparent 64%);
  transition: opacity 220ms ease;
}

.pacc-node:hover {
  border-color: rgba(150, 189, 13, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 70px rgba(0, 0, 0, 0.36), 0 0 40px rgba(150, 189, 13, 0.08);
}

.pacc-node:hover::after {
  opacity: 1;
}

.pacc-node span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(150, 189, 13, 0.45);
  border-radius: 14px;
  color: var(--lime-soft);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(150, 189, 13, 0.12);
}

.pacc-node strong {
  margin-top: 10px;
  color: var(--ink);
  font-size: 13px;
}

.pacc-node-core {
  left: 50%;
  bottom: 54px;
  width: 132px;
  height: 132px;
  border-color: rgba(150, 189, 13, 0.38);
  transform: translateX(-50%);
  box-shadow: 0 0 80px rgba(150, 189, 13, 0.12);
}

.pacc-node-core span {
  width: 74px;
  height: 74px;
  border-radius: 24px;
}

.pacc-node-pos,
.pacc-node-acq,
.pacc-node-conv,
.pacc-node-conq {
  width: 154px;
  height: 112px;
}

.pacc-node-pos {
  left: 8%;
  top: 58px;
}

.pacc-node-acq {
  left: 32%;
  top: 30px;
}

.pacc-node-conv {
  right: 32%;
  top: 30px;
}

.pacc-node-conq {
  right: 8%;
  top: 58px;
}

.pacc-arc {
  position: absolute;
  left: 50%;
  bottom: 118px;
  z-index: 1;
  width: 1px;
  height: 340px;
  background: linear-gradient(to top, rgba(150, 189, 13, 0.38), rgba(150, 189, 13, 0.06), transparent);
  transform-origin: bottom center;
}

.pacc-route {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.pacc-route path {
  fill: none;
  stroke: rgba(150, 189, 13, 0.38);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 12 14;
  animation: route-dash 6s linear infinite;
}

.pacc-route-dot {
  fill: var(--lime-soft);
  filter: drop-shadow(0 0 12px rgba(150, 189, 13, 0.9));
}

.pacc-arc::before,
.pacc-arc::after {
  position: absolute;
  left: 50%;
  width: 11px;
  height: 11px;
  content: "";
  border-radius: 50%;
  background: var(--lime-soft);
  box-shadow: 0 0 18px rgba(150, 189, 13, 0.74);
  transform: translateX(-50%);
  animation: arc-pulse 3.4s ease-in-out infinite;
}

.pacc-arc::before {
  top: 26%;
}

.pacc-arc::after {
  top: 56%;
  animation-delay: 0.8s;
}

.arc-1 {
  transform: rotate(-58deg);
}

.arc-2 {
  transform: rotate(-22deg);
}

.arc-3 {
  transform: rotate(22deg);
}

.arc-4 {
  transform: rotate(58deg);
}

.section-link {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.final-cta {
  padding-top: 64px;
}

.final-cta-inner {
  padding: clamp(24px, 5vw, 54px);
  text-align: center;
}

.final-cta-inner h2,
.final-cta-inner p {
  margin-left: auto;
  margin-right: auto;
}

.final-cta-inner h2 {
  max-width: 760px;
}

.final-cta-inner p {
  max-width: 620px;
}

@keyframes sun-breathe {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    filter: drop-shadow(0 0 52px rgba(247, 147, 30, 0.22));
  }

  50% {
    transform: translateX(-50%) scale(1.035);
    filter: drop-shadow(0 0 82px rgba(247, 147, 30, 0.38));
  }
}

@keyframes horizon-sweep {
  0%,
  100% {
    opacity: 0.72;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-18px);
  }
}

@keyframes moon-float {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(12px, -16px);
  }
}

@keyframes orbit-turn {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes node-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(10px, -12px) scale(1.18);
  }
}

@keyframes node-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-50%) scale(0.85);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.25);
  }
}

@keyframes arc-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-50%) scale(0.8);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.25);
  }
}

@keyframes route-dash {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -96;
  }
}

@keyframes badge-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(150, 189, 13, 0);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(150, 189, 13, 0.04), 0 0 24px rgba(192, 236, 255, 0.12);
    transform: translateY(-2px);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(150, 189, 13, 0.58);
  }

  100% {
    box-shadow: 0 0 0 14px rgba(150, 189, 13, 0);
  }
}

@keyframes page-sun-breathe {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 52px rgba(247, 147, 30, 0.22));
  }

  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 82px rgba(247, 147, 30, 0.38));
  }
}

@keyframes nav-scan {
  0%,
  45% {
    transform: translateX(-110%);
  }

  70%,
  100% {
    transform: translateX(110%);
  }
}

.hero-panel::before {
  position: absolute;
  inset: -20% -10% auto;
  height: 220px;
  content: "";
  background: radial-gradient(circle, rgba(247, 147, 30, 0.34), transparent 62%);
  filter: blur(6px);
}

.sun-card {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 28%, rgba(247, 147, 30, 0.95), rgba(247, 147, 30, 0.44) 34%, rgba(255, 255, 255, 0.02) 62%, transparent 63%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.sun-card::after {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 28%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--lime), var(--lime-soft), transparent);
  box-shadow: 0 0 26px rgba(150, 189, 13, 0.8);
}

.metric-stack {
  position: relative;
  display: grid;
  gap: 8px;
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(192, 236, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 246, 0.78);
}

.metric b {
  color: var(--lime-soft);
  font-size: 22px;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.badge-card,
.service-card,
.case-card,
.video-card,
.form-panel,
.comparison,
.pacc-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 246, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.badge-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.icon {
  width: 34px;
  height: 34px;
  color: var(--aqua);
}

.badge-card b {
  display: block;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 0.95;
}

.badge-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.44fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  font-weight: 650;
  letter-spacing: 0;
}

.section-head p,
.muted {
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(150, 189, 13, 0.38);
  background: rgba(9, 30, 46, 0.86);
}

.service-number {
  color: var(--lime-soft);
  font-size: 13px;
  font-weight: 800;
}

.service-card h3,
.case-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.05;
}

.service-card p,
.case-card p,
.pacc-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.65fr);
  gap: 16px;
  align-items: stretch;
}

.split.no-comparison {
  grid-template-columns: minmax(0, 1fr);
}

.story-card {
  padding: 28px;
}

.founder {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.founder-mark {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--sun), var(--lime-soft));
  font-size: 30px;
  font-weight: 900;
}

.comparison {
  overflow: hidden;
}

.row {
  display: grid;
  grid-template-columns: 1fr 0.42fr 0.42fr;
  gap: 1px;
  background: rgba(192, 236, 255, 0.08);
}

.cell {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 14px;
  background: rgba(255, 253, 246, 0.78);
  color: var(--muted);
  font-size: 14px;
}

.cell.head {
  color: var(--ink);
  font-weight: 800;
  background: rgba(192, 236, 255, 0.08);
}

.ok,
.no {
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
}

.ok {
  color: var(--lime-soft);
}

.no {
  color: var(--danger);
}

.pacc {
  display: block;
}

.pacc-orbit {
  position: sticky;
  top: 108px;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.orbit-ring {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(150, 189, 13, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(53, 185, 255, 0.09);
}

.orbit-ring:nth-child(2) {
  width: 54%;
  border-color: rgba(53, 185, 255, 0.2);
}

.orbit-core {
  position: relative;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: radial-gradient(circle at 45% 28%, #FFD8A4, var(--sun) 42%, rgba(150, 189, 13, 0.86));
  font-size: 44px;
  font-weight: 900;
  box-shadow: 0 0 90px rgba(247, 147, 30, 0.26);
}

.pacc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.pacc-card {
  overflow: hidden;
  padding: 0;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.pacc-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 92px;
  padding: 24px 28px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.pacc-card summary::-webkit-details-marker {
  display: none;
}

.pacc-card summary::after {
  content: "+";
  color: var(--lime-soft);
  font-size: 28px;
}

.pacc-card[open] summary::after {
  content: "-";
}

.pacc-card[open] {
  border-color: rgba(150, 189, 13, 0.32);
  background: rgba(8, 18, 17, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 22px 70px rgba(0, 0, 0, 0.24);
}

.pacc-card .letter {
  color: var(--sun);
}

.pacc-card p {
  max-width: 880px;
  margin: 0;
  padding: 0 28px 22px;
}

.pacc-card p + p {
  padding-top: 0;
}

.cases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cases-section .section-head {
  grid-template-columns: minmax(0, 0.74fr) minmax(280px, 0.46fr);
  align-items: start;
}

.cases-section .section-head h2 {
  max-width: 820px;
}

.cases-section-preview {
  position: relative;
  overflow: visible;
}

.cases-section-preview::before {
  position: absolute;
  right: 2%;
  top: 20%;
  width: min(44vw, 560px);
  aspect-ratio: 1;
  content: "";
  border: 1px dashed rgba(192, 236, 255, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 189, 13, 0.07), transparent 64%);
  pointer-events: none;
  animation: orbit-turn 22s linear infinite;
}

.cases-section-preview .cases {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 0.82fr);
  align-items: start;
}

.cases-section-preview .cases::after {
  display: grid;
  align-content: start;
  min-height: 0;
  padding: 32px;
  border: 1px solid rgba(192, 236, 255, 0.12);
  border-radius: 24px;
  color: var(--muted);
  content: "Risultati concreti, non promesse: +147 studi aiutati dal 2021";
  font-size: clamp(28px, 2.45vw, 44px);
  font-weight: 850;
  line-height: 1.02;
  background:
    radial-gradient(circle at 24% 30%, rgba(150, 189, 13, 0.12), transparent 16rem),
    rgba(7, 20, 32, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cases-section-preview .case-card {
  min-height: 0;
}

.cases-section-preview .case-card {
  padding: 18px;
}

.cases-section-preview .thumb {
  aspect-ratio: 16 / 7.6;
}

.cases-section-preview .proof-list {
  gap: 6px;
}

.cases-section-preview .proof-list li:nth-child(n+3) {
  display: none;
}

.case-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  align-content: start;
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(247, 147, 30, 0.34), rgba(53, 185, 255, 0.2)),
    radial-gradient(circle at 50% 40%, rgba(150, 189, 13, 0.22), transparent 46%),
    rgba(192, 236, 255, 0.06);
}

.thumb img,
.video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: saturate(0.95) contrast(0.92);
  transform: scale(1.04);
  transition: opacity 220ms ease, transform 360ms ease, filter 220ms ease;
}

.thumb::after,
.video-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 42%, rgba(150, 189, 13, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(255, 216, 164, 0.2), rgba(192, 236, 255, 0.22));
  pointer-events: none;
}

.thumb:hover img,
.thumb:focus-visible img,
.video-card:hover img,
.video-card:focus-visible img {
  opacity: 0.95;
  filter: saturate(1.08) contrast(1);
  transform: scale(1.1);
}

.play {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime-soft);
  box-shadow: 0 14px 40px rgba(150, 189, 13, 0.24);
}

.case-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.proof-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.proof-list li::before {
  content: "✓";
  color: var(--lime-soft);
  font-weight: 900;
}

.video-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.video-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
}

.video-card strong {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.form-panel {
  padding: 22px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(192, 236, 255, 0.16);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: rgba(255, 253, 246, 0.78);
  outline: none;
  padding: 12px 13px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(150, 189, 13, 0.55);
  box-shadow: 0 0 0 4px rgba(150, 189, 13, 0.08);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.trust-line span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(192, 236, 255, 0.05);
}

.site-footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.page-hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-stage,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }

  .horizon-scan {
    min-height: 460px;
  }

  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pacc-network {
    min-height: 610px;
    margin: 18px 0 22px;
    border-radius: 24px;
  }

  .pacc-network::after {
    position: absolute;
    left: 50%;
    top: 52px;
    bottom: 88px;
    z-index: 1;
    width: 2px;
    content: "";
    background: linear-gradient(to bottom, rgba(150, 189, 13, 0), rgba(150, 189, 13, 0.48), rgba(192, 236, 255, 0.3), rgba(150, 189, 13, 0));
    box-shadow: 0 0 24px rgba(150, 189, 13, 0.18);
    transform: translateX(-50%);
  }

  .pacc-route {
    display: none;
  }

  .pacc-node {
    border-radius: 18px;
  }

  .pacc-node-core {
    bottom: 24px;
    width: 118px;
    height: 76px;
  }

  .pacc-node-core span {
    width: auto;
    height: auto;
    padding: 12px 18px;
    border-radius: 16px;
  }

  .pacc-node-pos,
  .pacc-node-acq,
  .pacc-node-conv,
  .pacc-node-conq {
    left: 50%;
    right: auto;
    width: min(320px, calc(100% - 34px));
    height: 86px;
    transform: translateX(-50%);
  }

  .pacc-node-pos {
    top: 34px;
  }

  .pacc-node-acq {
    top: 144px;
  }

  .pacc-node-conv {
    top: 254px;
  }

  .pacc-node-conq {
    top: 364px;
  }

  .pacc-node strong {
    margin-top: 6px;
  }

  .pacc-arc {
    display: none;
  }

  .services,
  .cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cases-section-preview .cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cases-section-preview .cases::after {
    grid-column: 1 / -1;
    min-height: 180px;
  }

  .hero-grid,
  .split,
  .pacc,
  .contact,
  .section-head {
    grid-template-columns: 1fr;
  }

  .pacc-orbit {
    position: relative;
    top: auto;
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .nav {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: stretch;
    padding: 8px;
  }

  .brand {
    justify-content: flex-start;
  }

  .brand img {
    width: 96px;
  }

  .nav-links {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    overflow: visible;
    padding: 6px 0 2px;
  }

  .nav-links a {
    text-align: center;
    padding: 7px 8px;
    font-size: 11px;
    border-color: rgba(192, 236, 255, 0.1);
    background: rgba(192, 236, 255, 0.04);
  }

  .nav .cta {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-height: 40px;
    padding: 9px 10px;
  }

  .section {
    padding: 76px 0;
  }

  .hero-redesign {
    min-height: auto;
    padding: 42px 0 48px;
  }

  .hero-stage {
    gap: 18px;
  }

  .hero-copy::after {
    margin-top: 22px;
  }

  .hero-visual,
  .horizon-scan {
    min-height: 520px;
  }

  .sun-disc {
    top: 54px;
    width: 66%;
  }

  .moon-disc {
    width: 58px;
  }

  .signal-stack {
    left: 16px;
    right: 16px;
    bottom: 90px;
  }

  .growth-system {
    left: 14px;
    right: 14px;
    bottom: 84px;
    grid-template-columns: 1fr;
  }

  .growth-system div {
    min-height: 64px;
  }

  .live-panel {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .authority-band {
    padding-bottom: 36px;
  }

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

  .quick-route {
    min-height: 220px;
  }

  .page-hero {
    padding: 54px 0 24px;
  }

  .page-hero-orb {
    min-height: 220px;
  }

  .arc-1,
  .arc-2,
  .arc-3,
  .arc-4 {
    transform: rotate(0);
  }

  .services-flow .service-card:nth-child(2),
  .services-flow .service-card:nth-child(4) {
    transform: none;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .badge-grid,
  .services,
  .cases,
  .video-strip,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .cases-section .section-head,
  .cases-section-preview .cases {
    grid-template-columns: 1fr;
  }

  .cases-section-preview .cases::after {
    min-height: 150px;
    font-size: 30px;
  }

  .badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .badge-card {
    grid-template-columns: 1fr;
    align-content: space-between;
    gap: 12px;
  }

  .row {
    grid-template-columns: 1fr 74px 74px;
  }

  .cell {
    min-height: 64px;
    padding: 10px;
    font-size: 12px;
  }

  .footer-row,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cta,
  .ghost-cta {
    width: 100%;
  }
}

@media (min-width: 520px) and (max-width: 760px) {
  .nav-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Light Horizon brand palette. Structure and motion stay unchanged. */
.site-shell,
.hero-visual,
.horizon-scan,
.growth-system div,
.live-panel,
.badge-card,
.quick-route,
.page-hero-orb,
.pacc-network,
.pacc-node,
.service-card,
.story-card,
.comparison,
.cell,
.pacc-card,
.case-card,
.video-card,
.form-panel,
.metric,
.final-cta-inner,
.trust-line span {
  color: var(--ink);
  border-color: rgba(53, 185, 255, 0.22);
  background:
    radial-gradient(circle at 86% 12%, rgba(65, 188, 230, 0.16), transparent 13rem),
    linear-gradient(145deg, rgba(255, 248, 232, 0.78), rgba(255, 225, 176, 0.5)),
    rgba(255, 244, 224, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 22px 58px rgba(117, 91, 48, 0.12);
}

.site-shell {
  background: rgba(255, 246, 226, 0.72);
}

.nav {
  border-color: rgba(53, 185, 255, 0.22);
  background:
    radial-gradient(circle at 82% 18%, rgba(192, 236, 255, 0.18), transparent 18rem),
    linear-gradient(145deg, rgba(255, 250, 238, 0.8), rgba(245, 230, 202, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66), 0 20px 60px rgba(92, 112, 98, 0.16);
}

.nav::before {
  background: linear-gradient(90deg, transparent, rgba(192, 236, 255, 0.2), rgba(150, 189, 13, 0.16), transparent);
}

.nav-links a,
.ghost-cta {
  color: var(--ink);
  border-color: rgba(53, 185, 255, 0.2);
  background: rgba(255, 250, 238, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.nav-links a:hover {
  background: rgba(150, 189, 13, 0.12);
}

.quick-route:hover,
.quick-route:focus-visible,
.service-card:hover,
.pacc-card[open] {
  border-color: rgba(150, 189, 13, 0.42);
  background:
    radial-gradient(circle at var(--mx, 55%) var(--my, 30%), rgba(192, 236, 255, 0.24), transparent 16rem),
    linear-gradient(145deg, rgba(255, 252, 243, 0.92), rgba(239, 231, 203, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 28px 82px rgba(117, 91, 48, 0.16), 0 0 42px rgba(150, 189, 13, 0.12);
}

.hero-copy .lead,
.quick-route p,
.service-card p,
.case-card p,
.pacc-card p,
.section-head p,
.muted,
.trust-line,
.metric span,
.cell,
.proof-list li {
  color: var(--muted);
}

.page-hero-orb,
.pacc-network,
.horizon-scan {
  background:
    radial-gradient(circle at 76% 24%, rgba(192, 236, 255, 0.28), transparent 24rem),
    radial-gradient(circle at 36% 30%, rgba(247, 147, 30, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(255, 252, 243, 0.8), rgba(239, 231, 203, 0.58));
}

.pacc-network::before,
body::before {
  opacity: 0.35;
}

.thumb {
  background:
    linear-gradient(135deg, rgba(247, 147, 30, 0.18), rgba(192, 236, 255, 0.28)),
    radial-gradient(circle at 50% 40%, rgba(150, 189, 13, 0.24), transparent 46%),
    rgba(255, 252, 243, 0.56);
}

.cases-section-preview::before {
  background: radial-gradient(circle, rgba(150, 189, 13, 0.11), transparent 64%);
}

.cases-section-preview .cases::after {
  color: var(--ink);
  border-color: rgba(53, 185, 255, 0.22);
  background:
    radial-gradient(circle at 78% 20%, rgba(192, 236, 255, 0.24), transparent 15rem),
    radial-gradient(circle at 22% 28%, rgba(150, 189, 13, 0.14), transparent 16rem),
    linear-gradient(145deg, rgba(255, 252, 243, 0.82), rgba(226, 234, 207, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 20px 58px rgba(92, 112, 98, 0.12);
}

.growth-system div,
.live-panel,
.signal-stack {
  color: var(--ink);
  border-color: rgba(53, 185, 255, 0.24);
  background:
    radial-gradient(circle at 82% 14%, rgba(192, 236, 255, 0.18), transparent 13rem),
    linear-gradient(145deg, rgba(255, 252, 243, 0.82), rgba(232, 235, 206, 0.62));
}

.growth-system div:hover {
  background:
    radial-gradient(circle at 82% 14%, rgba(192, 236, 255, 0.24), transparent 13rem),
    linear-gradient(145deg, rgba(255, 252, 243, 0.92), rgba(226, 234, 207, 0.76));
}

.growth-system small,
.live-panel {
  color: var(--muted);
}

input,
select,
textarea {
  color: var(--ink);
  border-color: rgba(7, 20, 33, 0.15);
  background: rgba(255, 249, 236, 0.72);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(150, 189, 13, 0.6);
  box-shadow: 0 0 0 4px rgba(150, 189, 13, 0.12);
}

.site-footer {
  color: var(--muted);
  border-color: rgba(7, 20, 33, 0.14);
}

/* Horizon One palette override: same layout/effects, exact light brand colors. */
.nav,
.site-shell,
.gradient-shell,
.glass,
.hero-panel,
.hero-visual,
.horizon-scan,
.signal-stack,
.growth-system div,
.live-panel,
.badge-card,
.quick-route,
.page-hero-orb,
.pacc-network,
.pacc-node,
.service-card,
.story-card,
.comparison,
.cell,
.pacc-card,
.case-card,
.video-card,
.form-panel,
.metric,
.final-cta-inner,
.trust-line span,
.sun-card,
.row,
input,
select,
textarea {
  color: var(--ink) !important;
  border-color: rgba(53, 185, 255, 0.22) !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(192, 236, 255, 0.5), transparent 16rem),
    radial-gradient(circle at 20% 20%, rgba(247, 147, 30, 0.18), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 216, 164, 0.68)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 18px 48px rgba(108, 119, 91, 0.12) !important;
}

.site-shell {
  background: rgba(255, 255, 255, 0.62) !important;
}

.hero-copy .lead,
.page-hero .lead,
.quick-route p,
.service-card p,
.case-card p,
.pacc-card p,
.story-card p,
.final-cta-inner p,
.section-head p,
.muted,
.trust-line,
.metric span,
.cell,
.proof-list li,
.growth-system small,
.live-panel,
.signal-stack span {
  color: var(--muted) !important;
}

.growth-system strong,
.signal-stack strong,
.live-panel strong,
.page-hero-orb strong,
.case-card h3,
.service-card h3,
.pacc-card summary,
.badge-card b,
.cell.head,
h1,
h2,
h3 {
  color: var(--ink) !important;
}

.gradient-shell::before,
.hero-panel::before {
  background: radial-gradient(circle, rgba(247, 147, 30, 0.28), transparent 62%) !important;
}

.glass {
  border-color: rgba(53, 185, 255, 0.22) !important;
}

.row {
  background: rgba(192, 236, 255, 0.32) !important;
}

.cell.ok,
.ok,
.proof-list li::before {
  color: var(--lime) !important;
}

.cell.no,
.no {
  color: #d86b5d !important;
}

.nav-links a,
.ghost-cta {
  color: var(--ink) !important;
  border-color: rgba(53, 185, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.68) !important;
}

.nav-links a:hover,
.quick-route:hover,
.quick-route:focus-visible,
.service-card:hover,
.pacc-card[open],
.growth-system div:hover {
  background:
    radial-gradient(circle at var(--mx, 70%) var(--my, 24%), rgba(53, 185, 255, 0.28), transparent 15rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(192, 236, 255, 0.42)) !important;
  border-color: rgba(150, 189, 13, 0.42) !important;
}

.cta {
  color: #ffffff !important;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--lime) 100%) !important;
}

.pacc-node-core,
.pacc-node span,
.play,
.pulse-dot {
  background: var(--lime-soft) !important;
  color: var(--ink) !important;
}

.thumb {
  background:
    radial-gradient(circle at 50% 42%, rgba(150, 189, 13, 0.25), transparent 36%),
    linear-gradient(135deg, rgba(255, 216, 164, 0.72), rgba(192, 236, 255, 0.64)) !important;
}

.cases-section-preview {
  overflow: visible !important;
}

.cases-section-preview .cases {
  align-items: start !important;
  gap: 16px !important;
  overflow: visible !important;
}

.cases-section-preview .case-card {
  min-height: auto !important;
}

.cases-section-preview .cases::after {
  min-height: auto !important;
  padding: 26px !important;
  color: var(--ink) !important;
  border-color: rgba(53, 185, 255, 0.22) !important;
  background:
    radial-gradient(circle at 80% 18%, rgba(192, 236, 255, 0.46), transparent 15rem),
    radial-gradient(circle at 24% 22%, rgba(150, 189, 13, 0.16), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 216, 164, 0.66)) !important;
}

.page-hero {
  background:
    radial-gradient(circle at 18% 22%, rgba(247, 147, 30, 0.16), transparent 28rem),
    radial-gradient(circle at 86% 10%, rgba(53, 185, 255, 0.24), transparent 28rem) !important;
}

.page-hero-orb span,
.sun-disc {
  background: linear-gradient(180deg, var(--sun), var(--sun-soft) 54%, rgba(255, 255, 255, 0.16)) !important;
}

.moon-disc {
  background: radial-gradient(circle at 32% 42%, white 0 34%, transparent 35%), var(--cyan) !important;
}

.comparison,
.form-panel,
.contact,
.final-cta {
  overflow: visible !important;
}

.services-flow .service-card:nth-child(2),
.services-flow .service-card:nth-child(4) {
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* v1.1.1 - Palette Horizon One exact match across every page. */
:root {
  --bg: #FFD8A4;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --ink: #111827;
  --muted: #374151;
  --line: rgba(53, 185, 255, 0.22);
  --lime: #96BD0D;
  --lime-soft: #96BD0D;
  --cyan: #35B9FF;
  --aqua: #C0ECFF;
  --sun: #F7931E;
  --sun-soft: #FFD8A4;
}

body {
  color: #111827 !important;
  background:
    radial-gradient(900px 600px at 50% 30%, rgba(247, 147, 30, 0.45) 0%, rgba(255, 216, 164, 0.8) 45%, #FFD8A4 80%),
    linear-gradient(120deg, #FFD8A4 0%, #FBE7C4 42%, #C0ECFF 100%) !important;
}

body::before {
  background-image:
    linear-gradient(rgba(53, 185, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 185, 255, 0.08) 1px, transparent 1px) !important;
}

.noise {
  opacity: 0.08 !important;
  mix-blend-mode: multiply;
}

.site-shell,
.nav,
.gradient-shell,
.glass,
.hero-panel,
.hero-visual,
.horizon-scan,
.signal-stack,
.growth-system div,
.live-panel,
.authority-band .badge-grid,
.badge-card,
.quick-route,
.page-hero-orb,
.pacc-network,
.pacc-node,
.service-card,
.story-card,
.comparison,
.cell,
.pacc-card,
.case-card,
.video-card,
.form-panel,
.metric,
.final-cta-inner,
.trust-line span,
.sun-card,
.row,
input,
select,
textarea {
  color: #111827 !important;
  border-color: rgba(53, 185, 255, 0.22) !important;
  background:
    radial-gradient(circle at 82% 16%, rgba(192, 236, 255, 0.56), transparent 18rem),
    radial-gradient(circle at 18% 20%, rgba(247, 147, 30, 0.18), transparent 15rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 216, 164, 0.68)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 20px 58px rgba(17, 24, 39, 0.1) !important;
}

.site-shell {
  background: rgba(255, 255, 255, 0.66) !important;
  backdrop-filter: blur(18px);
}

.nav {
  background:
    radial-gradient(circle at 88% 14%, rgba(192, 236, 255, 0.52), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 216, 164, 0.5)) !important;
}

.nav::before,
.hero-copy::after,
.quick-route span,
.cases-section-preview::before {
  background: linear-gradient(90deg, transparent, #35B9FF, #96BD0D, transparent) !important;
}

.nav-links a,
.ghost-cta {
  color: #111827 !important;
  border-color: rgba(53, 185, 255, 0.24) !important;
  background: rgba(255, 255, 255, 0.64) !important;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.quick-route:hover,
.quick-route:focus-visible,
.service-card:hover,
.pacc-card[open],
.growth-system div:hover,
.case-card:hover,
.video-card:hover {
  color: #111827 !important;
  border-color: rgba(150, 189, 13, 0.48) !important;
  background:
    radial-gradient(circle at var(--mx, 70%) var(--my, 24%), rgba(53, 185, 255, 0.3), transparent 15rem),
    radial-gradient(circle at 20% 25%, rgba(150, 189, 13, 0.14), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(192, 236, 255, 0.46)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 28px 78px rgba(17, 24, 39, 0.12),
    0 0 42px rgba(53, 185, 255, 0.16) !important;
}

.cta {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: linear-gradient(90deg, #35B9FF 0%, #96BD0D 100%) !important;
  box-shadow: 0 16px 44px rgba(53, 185, 255, 0.22), 0 14px 34px rgba(150, 189, 13, 0.18) !important;
}

.cta:hover,
.cta:focus-visible {
  box-shadow: 0 18px 54px rgba(53, 185, 255, 0.26), 0 16px 44px rgba(150, 189, 13, 0.24) !important;
}

h1,
h2,
h3,
.growth-system strong,
.signal-stack strong,
.live-panel strong,
.page-hero-orb strong,
.case-card h3,
.service-card h3,
.pacc-card summary,
.badge-card b,
.cell.head {
  color: #111827 !important;
}

.lead,
.hero-copy .lead,
.page-hero .lead,
.quick-route p,
.service-card p,
.case-card p,
.pacc-card p,
.story-card p,
.final-cta-inner p,
.section-head p,
.muted,
.trust-line,
.metric span,
.cell,
.proof-list li,
.growth-system small,
.live-panel,
.signal-stack span {
  color: #374151 !important;
}

.eyebrow,
.growth-system span,
.badge-icon,
.pacc-node-core,
.pacc-node span {
  color: #35B9FF !important;
}

.quick-route span,
.pacc-card summary strong,
.badge-card strong,
.cell.ok,
.ok,
.proof-list li::before {
  color: #96BD0D !important;
}

.sun-disc,
.page-hero-orb span {
  background: linear-gradient(180deg, #F7931E 0%, #FFD8A4 56%, rgba(255, 255, 255, 0.22) 100%) !important;
  filter: drop-shadow(0 0 54px rgba(247, 147, 30, 0.28)) !important;
}

.moon-disc {
  background: radial-gradient(circle at 32% 42%, #ffffff 0 34%, transparent 35%), #35B9FF !important;
  filter: drop-shadow(0 0 24px rgba(53, 185, 255, 0.42)) !important;
}

.scan-line,
.route-line path,
.pacc-route-mobile path,
.pacc-route-dot,
.pulse-dot,
.radar-node,
.pacc-node-core,
.pacc-node span,
.play {
  background: #96BD0D !important;
  color: #111827 !important;
  box-shadow: 0 0 24px rgba(150, 189, 13, 0.42) !important;
}

.scan-line {
  background: linear-gradient(90deg, transparent, #96BD0D, #35B9FF, transparent) !important;
}

.thumb {
  background:
    radial-gradient(circle at 50% 42%, rgba(150, 189, 13, 0.24), transparent 36%),
    linear-gradient(135deg, rgba(255, 216, 164, 0.72), rgba(192, 236, 255, 0.68)) !important;
}

.page-hero,
.final-cta {
  background:
    radial-gradient(circle at 18% 22%, rgba(247, 147, 30, 0.2), transparent 28rem),
    radial-gradient(circle at 86% 10%, rgba(53, 185, 255, 0.26), transparent 28rem) !important;
}

.cases-section-preview .cases::after {
  color: #111827 !important;
  border-color: rgba(53, 185, 255, 0.22) !important;
  background:
    radial-gradient(circle at 80% 18%, rgba(192, 236, 255, 0.52), transparent 15rem),
    radial-gradient(circle at 24% 22%, rgba(150, 189, 13, 0.16), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 216, 164, 0.68)) !important;
}

.comparison,
.form-panel,
.contact,
.final-cta,
.cases-section-preview,
.cases-section-preview .cases {
  overflow: visible !important;
}
