:root {
  --navy: #0b1230;
  --blue: #1b3b8f;
  --orange: #ff8a3d;
  --light: #f7f8fb;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 22px 60px rgba(9, 18, 44, 0.2);
  --radius-lg: 0px;
  --radius-md: 0px;
  --radius-sm: 0px;
  --text: #0f172a;
  --muted: #5b6a8d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

main > section:not(:first-child) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-wrap.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 500;
  color: var(--text);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transition: width 0.3s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch { display:inline-flex; align-items:center; gap:3px; padding:4px; border:1px solid rgba(15,23,42,.12); border-radius:999px; background:rgba(244,247,251,.96); box-shadow:0 8px 22px rgba(15,23,42,.08); }
.language-switch a, .language-switch span { display:inline-grid; place-items:center; min-width:37px; height:32px; padding:0 9px; border-radius:999px; font-size:12px; font-weight:800; line-height:1; letter-spacing:.06em; }
.language-switch a { color:var(--muted); }
.language-switch a:hover { color:var(--navy); background:#fff; }
.language-switch .active { color:#fff; background:var(--navy); box-shadow:0 5px 12px rgba(15,23,42,.2); }
.mobile-language-switch { display:none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 0;
  background: linear-gradient(120deg, var(--blue), var(--orange));
  color: var(--white);
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.15);
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.pyz-button {
  font-family: "Space Grotesk", "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 20px;
  border-color: rgba(27, 59, 143, 0.35);
  background: rgba(27, 59, 143, 0.08);
  color: var(--blue);
  position: relative;
  overflow: hidden;
}

.pyz-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 138, 61, 0.08), rgba(27, 59, 143, 0.16));
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.pyz-button span,
.pyz-button {
  position: relative;
  z-index: 1;
}

.pyz-button:hover {
  color: var(--navy);
  border-color: var(--orange);
}

.pyz-button:hover::after {
  opacity: 0.8;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 0 6vw;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.nav-mobile.open {
  max-height: 240px;
  opacity: 1;
  padding: 16px 6vw 24px;
  pointer-events: auto;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: center;
  padding: 140px 6vw 120px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1230 0%, #0f1f4d 45%, #132f73 100%);
  color: #f8fafc;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    120deg,
    rgba(255, 143, 64, 0.35) 0%,
    rgba(27, 59, 143, 0.45) 45%,
    rgba(11, 18, 48, 0.9) 100%
  );
  background-size: 200% 200%;
  animation: gradientMove 18s ease infinite;
  opacity: 0.85;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.7;
  animation: float 12s ease-in-out infinite;
}

.glow-2 {
  right: -180px;
  top: 8%;
  background: radial-gradient(circle, rgba(27, 59, 143, 0.6), rgba(27, 59, 143, 0));
  animation-delay: 2s;
}

.hero-embers {
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 143, 64, 0.18), transparent 45%),
    radial-gradient(circle at 70% 20%, rgba(255, 143, 64, 0.12), transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 143, 64, 0.14), transparent 55%),
    linear-gradient(120deg, rgba(255, 143, 64, 0.08), transparent 40%);
  opacity: 0.45;
  animation: emberDrift 16s ease-in-out infinite;
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 20px;
  color: #ffffff;
}

.hero h1 span {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
}

.lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
}

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

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.hero .btn-ghost:hover {
  border-color: var(--orange);
  color: #ffffff;
}

.hero-metrics {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  padding: 18px 22px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metrics h3,
.hero-metrics .metric-value {
  font-size: 1.8rem;
  margin: 0 0 4px;
  color: var(--orange);
}

.hero-metrics .metric-value {
  font-weight: 700;
  line-height: 1.1;
}

.hero-metrics p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.visual-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(11, 18, 48, 0.35);
  backdrop-filter: blur(16px);
  max-width: 420px;
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 143, 64, 0.4), rgba(27, 59, 143, 0.2), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.visual-card > * {
  position: relative;
  z-index: 1;
}

.visual-label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.7);
}

.visual-card h2,
.visual-card h3 {
  margin: 0 0 18px;
  font-size: 1.4rem;
}

.hero-list {
  margin: 0 0 18px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-list li {
  margin-bottom: 8px;
}

.visual-footer {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.section {
  padding: 110px 6vw;
}

.section-head {
  max-width: 720px;
  margin-bottom: 50px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin: 10px 0 18px;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 14px;
  background: var(--orange);
}

.section-head .eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 10px;
  transform: translateY(-1px);
}

.about {
  background: var(--white);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.glass-card {
  background: linear-gradient(140deg, rgba(11, 18, 48, 0.08), rgba(255, 255, 255, 0.8));
  border-radius: 0;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 18, 48, 0.08);
  border-top: 2px solid rgba(255, 138, 61, 0.6);
}

.services {
  background: linear-gradient(180deg, var(--light) 0%, #eef1f9 100%);
}

.services-showcase {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.service-tabs {
  display: flex;
  gap: 0;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.service-tab {
  position: relative;
  width: auto;
  height: 260px;
  border-radius: 0;
  border: 1px solid rgba(11, 18, 48, 0.15);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
  overflow: hidden;
  flex: 1;
}

.service-tab + .service-tab {
  border-left: 0;
}

.tab-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: rotate(0deg);
  transform-origin: center;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.tab-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}

.tab-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tab-text {
  line-height: 1.1;
  text-align: center;
}

.service-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--navy), var(--blue));
  background-size: 100% 200%;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-tab::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(27, 59, 143, 0),
    rgba(27, 59, 143, 0.9),
    rgba(27, 59, 143, 0)
  );
  opacity: 0;
  transform: translateY(-120%);
}

.service-tab:hover,
.service-tab.active {
  color: var(--white);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11, 18, 48, 0.18);
}

.service-tab.active .tab-icon svg {
  stroke: var(--orange);
}

.service-tab:hover::before,
.service-tab.active::before {
  opacity: 1;
  animation: gradientRise 2.2s ease infinite;
}

.service-tab.sweep::after {
  opacity: 1;
  animation: tabSweep 0.8s ease;
}

.service-connector {
  width: 3px;
  height: 32px;
  margin: 0 auto;
  background: rgba(11, 18, 48, 0.12);
  position: relative;
  overflow: hidden;
}

.service-connector::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(27, 59, 143, 0), rgba(27, 59, 143, 1), rgba(27, 59, 143, 0));
  opacity: 0;
}

.services-showcase.animate .service-connector::after {
  opacity: 1;
  animation: connectorDrop 0.7s ease;
}

.services-showcase.animate .service-connector {
  animation: connectorGlow 1.4s ease;
}

.service-detail {
  background: rgba(11, 18, 48, 0.92);
  border-radius: 0;
  padding: 32px;
  box-shadow: 0 24px 50px rgba(11, 18, 48, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* keep layout stable: only text swaps animate */

.service-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 59, 143, 0.85),
    rgba(27, 59, 143, 0.35),
    rgba(255, 143, 64, 0.85)
  );
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.services-showcase.animate .service-detail::before {
  opacity: 1;
  animation: detailSweep 1.6s ease;
}

.service-detail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 18, 48, 0.8),
    rgba(255, 143, 64, 0.25),
    rgba(11, 18, 48, 0.8)
  );
  background-size: 100% 200%;
  opacity: 0.55;
  pointer-events: none;
}

.services-showcase.animate .service-detail::after {
  animation: detailBlend 10s ease-in-out infinite alternate;
}

.service-detail h3 {
  margin-top: 0;
  font-size: 1.6rem;
  color: var(--orange);
}

.service-detail .detail-heading,
.service-detail .detail-text {
  position: relative;
  z-index: 1;
}

.service-detail.swap-in .detail-heading {
  animation: textSwap 0.45s ease;
}

.service-detail.swap-in .detail-text {
  animation: textSwap 0.55s ease;
}

.service-detail p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.service-detail ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.service-detail li {
  margin-bottom: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 28px;
  border-radius: 0;
  background: var(--white);
  border: 1px solid rgba(11, 18, 48, 0.1);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.2);
  border-color: rgba(255, 138, 61, 0.5);
}

.service-card h3 {
  margin: 18px 0 12px;
}

.service-card p {
  color: var(--muted);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(11, 18, 48, 0.08), rgba(255, 138, 61, 0.2));
  display: grid;
  place-items: center;
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why {
  background: var(--white);
}

.why-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.why-card {
  padding: 22px 24px;
  border-radius: 0;
  background: linear-gradient(120deg, rgba(11, 18, 48, 0.04), rgba(255, 138, 61, 0.08));
  border: 1px solid rgba(11, 18, 48, 0.08);
  border-left: 3px solid rgba(255, 138, 61, 0.4);
}

.contact {
  background: linear-gradient(120deg, rgba(11, 18, 48, 0.98), rgba(27, 59, 143, 0.96));
  color: var(--white);
}

.contact .eyebrow,
.contact p,
.contact label {
  color: rgba(255, 255, 255, 0.7);
}

.contact-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: start;
}

.contact-details {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
}

.contact-form {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

input,
textarea {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  padding: 12px 14px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(255, 138, 61, 0.7);
  border-color: transparent;
}

.footer {
  padding: 50px 6vw 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  background: #0b1224;
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand p {
  max-width: 420px;
}

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

.footer-menu {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 26px;
  margin-left: auto;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  font-size: 0.95rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  padding: 4px 0;
}

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

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.logo-footer img {
  height: 40px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(11, 18, 36, 0.95);
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 6vw;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-text strong {
  display: block;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.cookie-text p {
  margin: 0;
  max-width: 760px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-actions .btn {
  min-width: 140px;
}

.cookie-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.cookie-actions .btn-ghost:hover {
  border-color: var(--orange);
  color: #ffffff;
}

.cookie-banner.hidden {
  display: none;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 18, 48, 0.2);
  background: #ffffff;
  color: var(--text);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(11, 18, 48, 0.12);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 210;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.system-login {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid transparent;
}

.system-login:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.login-body,
.system-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0b1230 0%, #0f1f4d 45%, #132f73 100%);
  color: #f8fafc;
}

.policy-body {
  min-height: 100vh;
  background: #f5f6fb;
  color: var(--text);
}

.policy-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 120px 6vw 90px;
}

.policy-header {
  margin-bottom: 40px;
}

.policy-header img {
  height: 38px;
  margin-bottom: 16px;
}

.policy-header h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.policy-section {
  background: #ffffff;
  border: 1px solid rgba(11, 18, 48, 0.08);
  padding: 28px;
  margin-bottom: 20px;
}

.policy-section h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.policy-section p {
  color: var(--muted);
  margin: 0 0 12px;
}

.policy-section ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--muted);
}

.policy-section li {
  margin-bottom: 8px;
}

.policy-footer {
  text-align: center;
  margin-top: 30px;
  color: var(--muted);
}

.login-wrap,
.system-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 6vw;
}

.login-card {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px;
  box-shadow: 0 24px 50px rgba(11, 18, 48, 0.35);
  backdrop-filter: blur(16px);
}

.login-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-header picture {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
}

.login-header img {
  width: 170px;
  max-width: 42vw;
  height: auto;
  object-fit: contain;
}

.login-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.7);
}

.login-card h1 {
  margin: 0;
  font-size: 1.8rem;
}

.login-subtitle {
  margin: 16px 0 24px;
  color: rgba(255, 255, 255, 0.75);
}

.login-form .field label {
  color: rgba(255, 255, 255, 0.75);
}

.login-form input {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.login-error {
  display: none;
  margin: 0 0 12px;
  color: #ffd2b8;
  font-size: 0.9rem;
}

.login-footer {
  margin-top: 16px;
}

.login-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.system-wrap {
  align-items: flex-start;
}

.system-header {
  width: min(1080px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.system-header img {
  height: 44px;
}

.system-placeholder {
  width: min(1080px, 100%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px;
}

.system-placeholder h2 {
  margin-top: 0;
}

@media (max-width: 720px) {
  .system-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(24px) translateX(-10px);
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradientRise {
  0% {
    background-position: 0% 100%;
  }
  50% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 0% 100%;
  }
}

@keyframes tabSweep {
  0% {
    transform: translateY(-120%);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: translateY(200%);
    opacity: 0;
  }
}

@keyframes connectorDrop {
  0% {
    transform: translateY(-120%);
    opacity: 0;
  }
  100% {
    transform: translateY(120%);
    opacity: 1;
  }
}

@keyframes connectorGlow {
  0% {
    background: rgba(11, 18, 48, 0.12);
  }
  50% {
    background: rgba(27, 59, 143, 0.7);
  }
  100% {
    background: rgba(11, 18, 48, 0.12);
  }
}

@keyframes detailReveal {
  0% {
    opacity: 0;
    transform: translateY(-14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes detailSweep {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  70% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

@keyframes detailBlend {
  0% {
    opacity: 0.55;
    background-position: 0% 0%;
  }
  100% {
    opacity: 0.55;
    background-position: 0% 100%;
  }
}

@keyframes textSwap {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes emberDrift {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    filter: blur(0px);
  }
  50% {
    transform: translateY(18px) translateX(-12px) scale(1.02);
    filter: blur(1px);
  }
  100% {
    transform: translateY(-6px) translateX(8px) scale(1);
    filter: blur(0px);
  }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile {
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
  }

  .nav-mobile .mobile-language-switch { display:inline-flex; align-self:flex-start; margin:2px 0 8px; }
  .nav-mobile .mobile-language-switch a { padding:0 9px; }

  .nav-mobile a {
    padding: 8px 0;
    font-weight: 500;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .visual-card {
    max-width: 100%;
  }

  .services-showcase {
    gap: 20px;
    overflow: visible;
  }

  .service-tabs,
  .services .service-tabs {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    gap: 10px !important;
    width: 100% !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  .service-tab,
  .services .service-tab {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 76px;
    margin: 0 !important;
    padding: 16px 20px;
    border: 1px solid rgba(11, 18, 48, 0.15);
    transform: none !important;
    justify-content: flex-start;
    align-items: center;
    font-size: 1rem;
    letter-spacing: 0.04em;
    box-sizing: border-box;
  }

  .service-tab + .service-tab,
  .services .service-tab + .service-tab {
    border-left: 1px solid rgba(11, 18, 48, 0.15);
  }

  .service-tab:hover,
  .service-tab.active,
  .services .service-tab:hover,
  .services .service-tab.active {
    transform: none !important;
  }

  .tab-content,
  .services .tab-content {
    transform: rotate(0deg);
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
    white-space: normal !important;
    width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start;
    text-align: left;
  }

  .tab-icon {
    flex: 0 0 auto;
  }

  .tab-text,
  .services .tab-text {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
    text-align: left;
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .service-connector {
    display: none;
  }

  .service-detail {
    padding: 24px 18px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 120px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

  .contact-form {
    padding: 22px;
  }

  .tab-icon {
    width: 20px;
    height: 20px;
  }

  .tab-icon svg {
    width: 18px;
    height: 18px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-menu {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
    justify-content: center;
  }

  .footer-brand {
    display: grid;
    justify-items: center;
  }

  .footer-links {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 540px) {
  .nav {
    padding: 16px 5vw;
  }

  .section {
    padding: 90px 5vw;
  }

  .service-tab,
  .services .service-tab {
    padding: 14px 16px;
    min-height: 68px;
  }

  .login-header img {
    width: 145px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

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

  .back-to-top {
    transition: none;
  }
}
