:root {
  --panel: rgba(8, 20, 45, 0.78);
  --panel-strong: rgba(9, 23, 50, 0.92);
  --line: rgba(119, 186, 255, 0.16);
  --text: #f4f8ff;
  --muted: #a9bdd8;
  --accent: #19d9cf;
  --accent-strong: #1a7ef2;
  --white-soft: rgba(255, 255, 255, 0.84);
  --shadow: 0 32px 80px rgba(1, 10, 25, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(25, 217, 207, 0.22), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(26, 126, 242, 0.22), transparent 34%),
    linear-gradient(135deg, #050b1c 0%, #081739 45%, #0f2457 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -12%;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(circle at 15% 20%, rgba(25, 217, 207, 0.16), transparent 28%),
    radial-gradient(circle at 78% 22%, rgba(28, 126, 242, 0.16), transparent 32%),
    radial-gradient(circle at 50% 72%, rgba(97, 205, 255, 0.08), transparent 26%);
  animation: auroraShift 28s ease-in-out infinite alternate;
}

body::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
  animation: gridDrift 34s linear infinite;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(11, 31, 78, 0.5), transparent 50%),
    linear-gradient(135deg, rgba(3, 10, 27, 0.94), rgba(5, 19, 46, 0.96));
  overflow: hidden;
  pointer-events: none;
}

.intro-aura,
.intro-rings span {
  position: absolute;
  border-radius: 50%;
}

.intro-aura-a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(25, 217, 207, 0.25), transparent 68%);
  filter: blur(16px);
  animation: introAura 9s ease-in-out infinite;
}

.intro-aura-b {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(26, 126, 242, 0.22), transparent 70%);
  filter: blur(22px);
  animation: introAura 12s ease-in-out infinite reverse;
}

.intro-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.intro-rings span {
  border: 1px solid rgba(164, 232, 255, 0.16);
  animation: rotateRing 24s linear infinite;
}

.intro-rings span:nth-child(1) {
  width: 280px;
  height: 280px;
}

.intro-rings span:nth-child(2) {
  width: 420px;
  height: 420px;
  animation-duration: 32s;
  animation-direction: reverse;
}

.intro-rings span:nth-child(3) {
  width: 580px;
  height: 580px;
  animation-duration: 40s;
}

.intro-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.intro-logo-wrap::before,
.intro-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -16%;
  border-radius: 36px;
}

.intro-logo-wrap::before {
  background: linear-gradient(135deg, rgba(25, 217, 207, 0.14), rgba(26, 126, 242, 0.18));
  border: 1px solid rgba(146, 217, 255, 0.16);
}

.intro-logo-wrap::after {
  inset: -22%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(25, 217, 207, 0) 0deg, rgba(25, 217, 207, 0.28) 120deg, rgba(26, 126, 242, 0.22) 210deg, rgba(26, 126, 242, 0) 360deg);
  filter: blur(20px);
  animation: haloSpin 14s linear infinite;
}

.intro-logo {
  position: relative;
  width: min(72vw, 360px);
  filter: drop-shadow(0 24px 50px rgba(16, 109, 255, 0.46));
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  position: sticky;
  top: 16px;
  z-index: 20;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 14px 18px 14px 20px;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 108px;
  height: 108px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(25, 126, 242, 0.38));
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.site-nav a {
  color: var(--white-soft);
  border: 1px solid transparent;
}

.site-nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  color: white;
  background: linear-gradient(135deg, rgba(25, 217, 207, 0.92), rgba(26, 126, 242, 0.95));
  box-shadow: 0 14px 30px rgba(26, 126, 242, 0.22);
}

.header-cta:hover,
.btn:hover,
.contact-link:hover {
  transform: translateY(-2px);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.toggle-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 20px rgba(25, 217, 207, 0.55);
}

main {
  display: grid;
  gap: 34px;
  margin-top: 30px;
}

.hero,
.stats,
.services,
.process,
.contact {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 180px);
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(25, 217, 207, 0.11);
  border: 1px solid rgba(25, 217, 207, 0.18);
  color: #93fff5;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.9rem, 6vw, 5.8rem);
  line-height: 0.94;
  max-width: 10ch;
}

.hero-text,
.section-heading p,
.process p,
.contact-panel p,
.contact-card p,
.contact-link {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 20px 34px rgba(26, 126, 242, 0.28);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.btn-wide {
  width: 100%;
  margin-top: 20px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}

.hero-pills li {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white-soft);
}

.hero-visual {
  position: relative;
  min-height: 700px;
}

.orb,
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.85;
}

.orb-one {
  width: 190px;
  height: 190px;
  top: 24px;
  right: 46px;
  background: radial-gradient(circle, rgba(25, 217, 207, 0.8), transparent 65%);
  animation: floatY 12s ease-in-out infinite;
}

.orb-two {
  width: 240px;
  height: 240px;
  bottom: 20px;
  left: 10px;
  background: radial-gradient(circle, rgba(26, 126, 242, 0.72), transparent 65%);
  animation: floatY 16s ease-in-out infinite reverse;
}

.hero-glow-a {
  width: 260px;
  height: 260px;
  top: 130px;
  left: 40px;
  background: radial-gradient(circle, rgba(25, 217, 207, 0.18), transparent 65%);
}

.hero-glow-b {
  width: 320px;
  height: 320px;
  right: 20px;
  bottom: 120px;
  background: radial-gradient(circle, rgba(28, 126, 242, 0.18), transparent 65%);
}

.hero-card,
.service-card,
.process-timeline article,
.contact-card,
.stats article {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  min-height: 700px;
  padding: 34px;
}

.card-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 1));
}

.hero-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-rings span {
  position: absolute;
  border: 1px solid rgba(138, 233, 255, 0.14);
  border-radius: 50%;
  animation: rotateRing 34s linear infinite;
}

.hero-rings span:nth-child(1) {
  width: 320px;
  height: 320px;
}

.hero-rings span:nth-child(2) {
  width: 420px;
  height: 420px;
  animation-duration: 42s;
  animation-direction: reverse;
}

.hero-rings span:nth-child(3) {
  width: 520px;
  height: 520px;
  animation-duration: 50s;
}

.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
}

.hero-logo {
  width: min(100%, 620px);
  filter: drop-shadow(0 30px 52px rgba(16, 109, 255, 0.4));
}

.hero-logo-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  animation: pulseLogo 12s ease-in-out infinite;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -10% -12%;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(25, 217, 207, 0.12), rgba(26, 126, 242, 0.16));
  border: 1px solid rgba(146, 217, 255, 0.12);
  z-index: -1;
}

.hero-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: conic-gradient(from 90deg, rgba(25, 217, 207, 0) 0deg, rgba(25, 217, 207, 0.22) 90deg, rgba(26, 126, 242, 0.18) 180deg, rgba(26, 126, 242, 0) 270deg, rgba(25, 217, 207, 0) 360deg);
  filter: blur(18px);
  opacity: 0.75;
  z-index: -2;
  animation: haloSpin 18s linear infinite;
}

.hero-logo-real {
  animation: driftLogo 16s ease-in-out infinite;
  transform-origin: center;
}

.brand-mark-real {
  animation: brandGlow 10s ease-in-out infinite;
}

body:not(.is-loaded) .brand-mark-real,
body:not(.is-loaded) .hero-logo-wrap,
body:not(.is-loaded) .hero-logo-real,
body:not(.is-loaded) .intro-logo,
body:not(.is-loaded) .intro-logo-wrap {
  opacity: 0;
  transform: translateY(28px) scale(0.8) rotate(-10deg);
}

body.is-loaded .brand-mark-real {
  animation: logoIntro 3s cubic-bezier(0.18, 0.9, 0.22, 1) both, brandGlow 10s ease-in-out 3s infinite;
}

body.is-loaded .hero-logo-wrap {
  animation: logoReveal 3s cubic-bezier(0.16, 1, 0.3, 1) both, pulseLogo 12s ease-in-out 3s infinite;
}

body.is-loaded .hero-logo-real {
  animation: logoSpinIn 3s cubic-bezier(0.16, 1, 0.3, 1) both, driftLogo 16s ease-in-out 3s infinite;
}

body.is-loaded .intro-logo-wrap {
  animation: introLogoReveal 3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.is-loaded .intro-logo {
  animation: introLogoSpin 3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.is-loaded .intro-screen {
  animation: introFadeOut 3.4s ease-in-out forwards;
}

.signal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.signal-title {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8ae9ff;
}

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 46px;
}

.signal-bars span {
  width: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  animation: barPulse 3.2s ease-in-out infinite;
}

.signal-bars span:nth-child(1) { height: 38%; animation-delay: 0.1s; }
.signal-bars span:nth-child(2) { height: 70%; animation-delay: 0.25s; }
.signal-bars span:nth-child(3) { height: 100%; animation-delay: 0.4s; }
.signal-bars span:nth-child(4) { height: 60%; animation-delay: 0.55s; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stats article {
  border-radius: 24px;
  padding: 24px;
}

.stats strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 8px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-panel h2 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

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

.service-card {
  position: relative;
  border-radius: 30px;
  padding: 26px;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 217, 207, 0.12), transparent 70%);
}

.service-card.featured {
  background:
    linear-gradient(180deg, rgba(10, 23, 52, 0.96), rgba(9, 38, 84, 0.82)),
    var(--panel);
}

.service-card h3,
.process-timeline h3 {
  margin: 16px 0 16px;
  font-size: 1.4rem;
  font-family: "Sora", sans-serif;
}

.service-card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-timeline article {
  border-radius: 28px;
  padding: 24px;
}

.process-timeline span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(25, 217, 207, 0.18), rgba(26, 126, 242, 0.28));
  color: #93fff5;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.contact-panel,
.contact-card {
  border-radius: 32px;
  padding: 30px;
}

.contact-panel {
  background:
    radial-gradient(circle at top left, rgba(25, 217, 207, 0.18), transparent 35%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-link {
  display: block;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.contact-link:hover {
  border-color: rgba(25, 217, 207, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.contact-link strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}

.contact-link-label,
.contact-label {
  display: block;
  margin-bottom: 8px;
  color: #8ae9ff;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-card {
  background: var(--panel-strong);
}

.contact-card > div + div {
  margin-top: 18px;
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.hours-list strong {
  color: var(--text);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.lang-toggle.is-es {
  border-color: rgba(25, 217, 207, 0.35);
  box-shadow: inset 0 0 0 1px rgba(25, 217, 207, 0.12);
}

.lang-toggle.is-es .toggle-dot {
  box-shadow: 0 0 24px rgba(25, 217, 207, 0.8);
}

.service-icon {
  display: inline-flex;
  min-width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(25, 217, 207, 0.16), rgba(26, 126, 242, 0.22));
  border: 1px solid rgba(125, 198, 255, 0.16);
  color: #b5ffff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes auroraShift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  50% { transform: translate3d(2%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(-1%, 3%, 0) scale(1.02); }
}

@keyframes gridDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(44px, 22px, 0); }
}

@keyframes introAura {
  0%, 100% { transform: scale(0.94); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes pulseLogo {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}

@keyframes driftLogo {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(6px, -8px, 0) rotate(1.6deg); }
}

@keyframes brandGlow {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 14px 28px rgba(25, 126, 242, 0.38)); }
  50% { transform: translateY(-4px) scale(1.08); filter: drop-shadow(0 20px 36px rgba(25, 217, 207, 0.42)); }
}

@keyframes logoIntro {
  0% { opacity: 0; transform: translateY(22px) scale(0.78) rotate(-12deg); }
  60% { opacity: 1; transform: translateY(-6px) scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes logoReveal {
  0% { opacity: 0; transform: translateY(42px) scale(0.76); }
  70% { opacity: 1; transform: translateY(-8px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes logoSpinIn {
  0% { opacity: 0; transform: scale(0.72) rotate(-18deg); }
  65% { opacity: 1; transform: scale(1.04) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes introLogoReveal {
  0% { opacity: 0; transform: translateY(34px) scale(0.72); }
  55% { opacity: 1; transform: translateY(-8px) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes introLogoSpin {
  0% { opacity: 0; transform: scale(0.68) rotate(-24deg); }
  60% { opacity: 1; transform: scale(1.06) rotate(4deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes introFadeOut {
  0%, 82% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes haloSpin {
  0% { transform: rotate(0deg) scale(0.96); opacity: 0.55; }
  50% { transform: rotate(180deg) scale(1.04); opacity: 0.85; }
  100% { transform: rotate(360deg) scale(0.96); opacity: 0.55; }
}

@keyframes barPulse {
  0%, 100% { transform: scaleY(0.72); opacity: 0.65; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .site-nav,
  .header-actions {
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .hero,
  .contact,
  .process-timeline,
  .service-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-card {
    min-height: 620px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

  .intro-logo {
    width: min(78vw, 280px);
  }

  .site-header {
    top: 10px;
    padding: 14px;
  }

  .brand {
    justify-content: center;
  }

  .brand-mark {
    width: 112px;
    height: 112px;
  }

  .site-nav {
    gap: 8px;
  }

  .site-nav a,
  .header-cta,
  .lang-toggle {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-card,
  .service-card,
  .contact-panel,
  .contact-card,
  .process-timeline article,
  .stats article {
    border-radius: 24px;
  }

  .hero-card {
    padding: 20px;
    min-height: 540px;
  }

  .logo-stage {
    min-height: 360px;
  }

  .hero-logo {
    width: min(100%, 440px);
  }

  .hero-rings span:nth-child(1) { width: 220px; height: 220px; }
  .hero-rings span:nth-child(2) { width: 290px; height: 290px; }
  .hero-rings span:nth-child(3) { width: 360px; height: 360px; }

  .contact-link strong,
  .hours-list li {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  body:not(.is-loaded) .brand-mark-real,
  body:not(.is-loaded) .hero-logo-wrap,
  body:not(.is-loaded) .hero-logo-real,
  body:not(.is-loaded) .intro-logo,
  body:not(.is-loaded) .intro-logo-wrap {
    opacity: 1;
    transform: none;
  }

  .intro-screen {
    display: none;
  }
}



/* Final smooth navigation system */
.site-header {
  font-family: "Sora", sans-serif;
}

.site-nav a,
.header-cta,
.side-nav-dock a {
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.015em;
}

.side-nav-dock {
  position: fixed;
  left: 22px;
  top: 50%;
  z-index: 24;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(119, 186, 255, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(9, 24, 55, 0.76), rgba(6, 14, 35, 0.58));
  box-shadow: 0 28px 70px rgba(1, 10, 25, 0.38);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-34px, -50%, 0) scale(0.92);
  filter: blur(8px);
  transition:
    opacity 0.55s ease,
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.65s ease;
}

.side-nav-dock::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 22px;
  border: 1px solid rgba(25, 217, 207, 0.08);
  pointer-events: none;
}

.side-nav-dock a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 146px;
  min-height: 48px;
  padding: 0 14px 0 10px;
  color: var(--white-soft);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    border-color 0.3s ease;
}

.side-nav-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 12px;
  color: #9efff4;
  background: linear-gradient(135deg, rgba(25, 217, 207, 0.16), rgba(26, 126, 242, 0.18));
}

.side-nav-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

body.is-scrolled .side-nav-dock {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, -50%, 0) scale(1);
  filter: blur(0);
}

body.is-scrolled .side-nav-dock a {
  opacity: 1;
  transform: translateX(0);
}

body.is-scrolled .side-nav-dock a:nth-child(1) { transition-delay: 0.08s; }
body.is-scrolled .side-nav-dock a:nth-child(2) { transition-delay: 0.14s; }
body.is-scrolled .side-nav-dock a:nth-child(3) { transition-delay: 0.20s; }
body.is-scrolled .side-nav-dock a:nth-child(4) { transition-delay: 0.26s; }

.side-nav-dock a:hover {
  color: white;
  border-color: rgba(25, 217, 207, 0.24);
  background: rgba(255, 255, 255, 0.075);
  transform: translateX(5px);
}

body.is-scrolled .site-header {
  left: 0;
  right: 0;
  width: max-content;
  margin: 0 auto;
  display: flex;
  padding: 6px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body.is-scrolled .site-header .brand {
  position: relative;
  padding: 8px;
  border-radius: 999px;
  background: rgba(6, 14, 35, 0.18);
  box-shadow: 0 20px 44px rgba(1, 10, 25, 0.28);
  backdrop-filter: blur(12px);
  transform: scale(0.94);
}

body.is-scrolled .site-header .brand-mark {
  width: 82px;
  height: 82px;
}

body.is-scrolled .site-header .site-nav {
  opacity: 0;
  transform: translateY(-12px) scale(0.94);
  pointer-events: none;
}

body.is-scrolled .site-header .header-actions {
  opacity: 0;
  transform: translateY(-12px) scale(0.94);
  pointer-events: none;
}

body.is-scrolled .site-header .brand:hover {
  transform: scale(1);
}

body.is-scrolled .site-header .brand:hover .brand-mark {
  transform: translateY(-2px) scale(1.06) rotate(2deg);
}

.site-footer {
  display: grid;
  gap: 28px;
  margin-top: 26px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(25, 217, 207, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(25, 126, 242, 0.28));
}

.footer-brand p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.footer-label {
  display: block;
  margin-bottom: 10px;
  color: #8ae9ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: var(--muted);
  line-height: 1.7;
}

.site-footer a {
  display: block;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-footer a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom a {
  color: #8ae9ff;
  font-weight: 700;
}

@media (max-width: 780px) {
  .side-nav-dock {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 14px;
    grid-template-columns: repeat(4, 1fr);
    transform: translate3d(0, 26px, 0) scale(0.94);
  }

  .side-nav-dock a {
    min-width: 0;
    justify-content: center;
    padding: 0 10px;
  }

  .side-nav-dock a span:last-child {
    display: none;
  }

  body.is-scrolled .side-nav-dock {
    transform: translate3d(0, 0, 0) scale(1);
  }

  body.is-scrolled .site-header .brand-mark {
    width: 68px;
    height: 68px;
  }

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

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


/* Polished scroll morph overrides */
.site-header {
  transform-origin: top center;
  transition:
    top 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s ease,
    background 0.45s ease,
    box-shadow 0.45s ease,
    backdrop-filter 0.45s ease;
  will-change: top, width, padding;
}

.brand,
.brand-mark,
.site-nav,
.header-actions {
  transition:
    opacity 0.5s ease,
    transform 0.78s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.78s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.78s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.55s ease,
    box-shadow 0.45s ease,
    background 0.45s ease;
  will-change: transform, opacity;
}

body.is-scrolled .site-header {
  top: 18px;
  width: max-content;
  grid-template-columns: auto;
  justify-content: center;
  padding: 6px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: blur(0);
}

body.is-scrolled .site-header .brand {
  padding: 8px;
  border-radius: 999px;
  background: rgba(6, 14, 35, 0.2);
  box-shadow: 0 22px 52px rgba(1, 10, 25, 0.34);
  backdrop-filter: blur(14px);
  transform: translateY(0) scale(0.94);
}

body.is-scrolled .site-header .brand-mark {
  width: 82px;
  height: 82px;
}

body.is-scrolled .site-header .site-nav,
body.is-scrolled .site-header .header-actions {
  position: absolute;
  inset: auto;
  opacity: 0;
  transform: translateY(-16px) scale(0.9);
  pointer-events: none;
}

.side-nav-dock {
  transform: translate3d(-42px, -50%, 0) scale(0.9);
  transition:
    opacity 0.65s ease,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.75s ease,
    box-shadow 0.55s ease;
  will-change: transform, opacity, filter;
}

body.is-scrolled .side-nav-dock {
  transform: translate3d(0, -50%, 0) scale(1);
  box-shadow: 0 32px 80px rgba(1, 10, 25, 0.42), 0 0 0 1px rgba(25, 217, 207, 0.08) inset;
}

.side-nav-dock a {
  transition:
    opacity 0.5s ease,
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}

body.is-scrolled .side-nav-dock a:nth-child(1) { transition-delay: 0.10s; }
body.is-scrolled .side-nav-dock a:nth-child(2) { transition-delay: 0.18s; }
body.is-scrolled .side-nav-dock a:nth-child(3) { transition-delay: 0.26s; }
body.is-scrolled .side-nav-dock a:nth-child(4) { transition-delay: 0.34s; }

body:not(.is-scrolled) .side-nav-dock a {
  transition-delay: 0s;
}

@media (max-width: 780px) {
  body.is-scrolled .site-header {
    top: 10px;
  }

  body.is-scrolled .side-nav-dock {
    transform: translate3d(0, 0, 0) scale(1);
  }
}


/* Legal pages */
.legal-page .page-shell {
  width: min(1180px, calc(100% - 32px));
}

.legal-shell {
  padding-bottom: 72px;
}

.legal-header {
  margin-bottom: 34px;
}

.legal-main {
  display: grid;
  gap: 22px;
}

.reveal-lite {
  opacity: 1;
  transform: none;
}

.legal-hero,
.legal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(25, 217, 207, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.legal-hero {
  padding: 42px;
}

.legal-hero h1,
.legal-card h2 {
  margin: 0 0 14px;
  font-family: "Sora", sans-serif;
}

.legal-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.96;
}

.legal-hero p,
.legal-card p,
.legal-card li,
.field-group span,
.checkbox-row,
.form-status {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.legal-card {
  padding: 32px;
}

.legal-grid,
.consent-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.policy-list {
  margin: 0;
  padding-left: 20px;
}

.policy-list li + li {
  margin-top: 12px;
}

.legal-nav {
  gap: 10px;
}

.legal-nav a {
  min-height: 42px;
  padding-inline: 14px;
}

.legal-footer {
  margin-top: 22px;
}

.consent-card,
.notice-card {
  min-height: 100%;
}

.consent-form {
  display: grid;
  gap: 18px;
}

.field-group {
  display: grid;
  gap: 10px;
}

.field-group input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(7, 18, 42, 0.72);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.field-group input:focus {
  border-color: rgba(25, 217, 207, 0.45);
  box-shadow: 0 0 0 4px rgba(25, 217, 207, 0.12);
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: start;
}

.checkbox-row input {
  margin-top: 5px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.checkbox-row a {
  color: #8ae9ff;
}

.consent-submit {
  justify-self: start;
}

.form-status {
  min-height: 28px;
  margin: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.form-status.is-visible {
  opacity: 1;
}

.form-status.is-success {
  color: #9effd4;
}

.form-status.is-error {
  color: #ffb4c0;
}

@media (max-width: 980px) {
  .legal-grid,
  .consent-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .legal-header {
    grid-template-columns: 1fr;
    justify-items: center;
    border-radius: 28px;
    padding: 18px;
  }

  .legal-nav {
    justify-content: center;
  }

  .legal-hero,
  .legal-card {
    padding: 24px;
    border-radius: 26px;
  }

  .legal-hero h1 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }
}
