:root {
  --porcelain: #f8fafc;
  --snow: #ffffff;
  --indigo: #1e3a8a;
  --indigo-bright: #1d4ed8;
  --gold: #d4af37;
  --ink: #0f172a;
  --ash: #64748b;
  --line: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--porcelain);
  color: var(--ink);
}

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(30, 58, 138, 0.07), transparent 55%),
    radial-gradient(700px 360px at 92% 8%, rgba(212, 175, 55, 0.1), transparent 50%);
}

.header-glass {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-glass.is-scrolled {
  box-shadow: 0 8px 30px -18px rgba(15, 23, 42, 0.18);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--indigo-bright));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.logo-mark {
  transition: transform 0.3s ease;
}

.logo-mark:hover {
  transform: translateY(-1px);
}

.gold-badge {
  color: #8a6d12;
  background: linear-gradient(180deg, #fff8e1, #f6e7b4);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 8px 20px -12px rgba(212, 175, 55, 0.8);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
}

.hero-orb-a {
  width: 280px;
  height: 280px;
  top: 40px;
  left: -60px;
  background: rgba(30, 58, 138, 0.09);
}

.hero-orb-b {
  width: 240px;
  height: 240px;
  top: 80px;
  right: -40px;
  background: rgba(212, 175, 55, 0.14);
}

.hero-marquee {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 18px 0;
  z-index: 0;
}

.marquee-row {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: inline-flex;
  width: max-content;
  will-change: transform;
}

.marquee-track span {
  display: inline-block;
  white-space: nowrap;
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--indigo);
  opacity: 0.07;
}

.marquee-track.accent span {
  color: var(--gold);
  opacity: 0.12;
}

.row-1 span { font-size: clamp(28px, 5vw, 52px); }
.row-2 span { font-size: clamp(24px, 4.4vw, 46px); }
.row-3 span { font-size: clamp(20px, 3.6vw, 38px); }
.row-4 span { font-size: clamp(22px, 4vw, 42px); }

@keyframes marquee-left-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-right-move {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.marquee-left { animation: marquee-left-move 75s linear infinite; }
.marquee-row.row-3 .marquee-left { animation-duration: 55s; }
.marquee-right { animation: marquee-right-move 90s linear infinite; }
.marquee-row.row-4 .marquee-right { animation-duration: 110s; }

@media (max-width: 640px) {
  .sm-hide { display: none; }
}

.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(30, 58, 138, 0.28);
  border-color: rgba(212, 175, 55, 0.45);
}

.step-card:hover,
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px -22px rgba(30, 58, 138, 0.3);
  border-color: rgba(29, 78, 216, 0.28);
}

.step-card .step-num {
  display: inline-block;
  transition: letter-spacing 0.3s ease;
}

.step-card:hover .step-num {
  letter-spacing: 0.28em;
}

.vision-panel {
  min-height: 420px;
  background:
    linear-gradient(160deg, #1e3a8a 0%, #1d4ed8 58%, #16306f 100%);
}

.vision-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 30% 20%, black, transparent 75%);
}

.sector-card {
  position: relative;
}

.sector-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 35%, rgba(212, 175, 55, 0.7), rgba(29, 78, 216, 0.65));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sector-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 40px -24px rgba(30, 58, 138, 0.35);
}

.sector-card:hover::before {
  opacity: 1;
}

.sector-card:hover .sector-icon {
  background: rgba(30, 58, 138, 0.1);
  color: var(--indigo-bright);
}

.sector-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--snow);
  color: var(--indigo);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px -10px rgba(15, 23, 42, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sector-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 10px 22px -14px rgba(30, 58, 138, 0.28);
}

.form-input:focus {
  border-color: rgba(29, 78, 216, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.form-shell.is-sending {
  pointer-events: none;
  opacity: 0.92;
}

.form-success {
  animation: success-in 0.45s ease;
}

.form-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.choice-card {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--porcelain);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.choice-card:hover {
  border-color: rgba(29, 78, 216, 0.35);
  transform: translateY(-1px);
}

.choice-card:has(input:checked) {
  background: #fff;
  border-color: rgba(29, 78, 216, 0.55);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.choice-card input {
  margin-top: 3px;
  accent-color: #1e3a8a;
  flex-shrink: 0;
}

.choice-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 16px;
  border: 1px dashed rgba(30, 58, 138, 0.28);
  border-radius: 1rem;
  background: var(--porcelain);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.file-drop:hover,
.file-drop.is-dragover {
  border-color: rgba(29, 78, 216, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.08);
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.trust-badge {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.08);
}

.trust-badge-icon {
  display: flex;
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(30, 58, 138, 0.08);
  color: var(--indigo);
}

.form-error {
  color: #b91c1c;
  font-size: 12px;
  font-weight: 600;
}

@keyframes success-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-menu {
  z-index: 50;
}

.mobile-menu {
  animation: menu-in 0.25s ease;
}

.mobile-link:hover {
  background: var(--porcelain);
  color: var(--indigo-bright);
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.social-btn {
  display: inline-flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--indigo);
  background: var(--porcelain);
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--indigo);
  color: #fff;
  transform: translateY(-2px);
}

.wa-fab {
  animation: wa-pulse 2.2s ease-in-out infinite;
}

.wa-fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: wa-ring 2.2s ease-out infinite;
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes wa-ring {
  0% { transform: scale(0.92); opacity: 0.8; }
  100% { transform: scale(1.28); opacity: 0; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-link.is-active {
  color: var(--indigo);
}

.nav-link.is-active::after {
  width: 100%;
}

.mobile-link.is-active {
  background: var(--porcelain);
  color: var(--indigo-bright);
}

.photo-slot {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed rgba(30, 58, 138, 0.28);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.95));
  color: var(--ash);
  text-align: center;
}

.photo-slot--tall {
  min-height: 420px;
}

.photo-slot--wide {
  min-height: 220px;
}

.photo-slot--card {
  min-height: 140px;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot:has(img) > :not(img) {
  display: none;
}

.photo-slot figcaption,
.photo-slot .photo-slot-label {
  position: relative;
  z-index: 1;
  max-width: 16rem;
  padding: 0 1rem;
  font-size: 13px;
  font-weight: 600;
}

.photo-slot-hint {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-fab,
  .wa-fab::after {
    animation: none;
  }
  .marquee-left,
  .marquee-right {
    animation: none;
  }
}
