:root {
  /* Color controls: change these first when rebranding the site. */
  --color-primary: #1C3575;
  --color-secondary: #000000;
  --color-accent: #D1F1FE;
  --color-secondary-dark: #3D475E;
  --color-base: #FFFFFF;
  --color-bg: var(--color-base);
  --color-bg-2: #f7fbfd;
  --color-panel: var(--color-base);
  --color-panel-soft: #f8fbfd;
  --color-panel-strong: #eef8fc;
  --color-line: rgba(28, 53, 117, 0.14);
  --color-line-strong: rgba(28, 53, 117, 0.28);
  --color-text: var(--color-secondary);
  --color-muted: rgba(0, 0, 0, 0.62);
  --color-dim: rgba(0, 0, 0, 0.45);
  --color-accent-2: #D1F1FE;
  --color-accent-soft: rgba(209, 241, 254, 0.38);
  --color-gradient: linear-gradient(135deg, #1C3575 0%, #3D475E 100%);
  --color-white-button: #FFFFFF;
  --color-white-button-text: #000000;

  --font-heading: "Yeseva One", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-main: var(--font-body);
  --font-mono: var(--font-body);
  --max-width: 1180px;
  --nav-height: 76px;
  --radius-card: 12px;
  --shadow-card: 0 16px 46px rgba(28, 53, 117, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-base);
  color: var(--color-text);
  font-family: var(--font-main);
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: none;
}

body::after {
  content: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: var(--nav-height);
  backdrop-filter: blur(6px);
  background: transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 17% 0%, rgba(0, 132, 166, 0.22), transparent 26rem),
    radial-gradient(circle at 82% 18%, rgba(0, 132, 166, 0.16), transparent 24rem);
  opacity: 0.55;
}

.nav-wrap {
  width: min(var(--max-width), calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  line-height: 1;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.nav-link {
  color: rgba(207, 216, 224, 0.68);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  transition: color 220ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.language {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text);
  font-weight: 700;
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 23px;
  border-radius: 999px;
  border: 1px solid var(--color-line-strong);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 168, 216, 0.18);
}

.btn-dark {
  background: rgba(14, 19, 29, 0.92);
  color: var(--color-text);
  border-color: rgba(0, 168, 216, 0.48);
}

.btn-light {
  background: var(--color-white-button);
  color: var(--color-white-button-text);
}

.btn-ghost {
  background: rgba(17, 29, 42, 0.55);
  color: var(--color-text);
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: rgba(17, 29, 42, 0.72);
  color: var(--color-text);
}

.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.hero {
  min-height: 760px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 102px 0 86px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 128, 160, 0.24), transparent 28rem),
    radial-gradient(circle at 78% 48%, rgba(0, 148, 184, 0.3), transparent 34rem);
  filter: blur(1px);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  transform: translateY(-26px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 17px;
  border: 1px solid var(--color-line-strong);
  border-radius: 999px;
  background: rgba(18, 31, 45, 0.48);
  color: rgba(222, 230, 236, 0.78);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 -14px 22px rgba(0, 168, 216, 0.08), 0 0 24px rgba(255, 255, 255, 0.05);
}

.hero h1,
.page-hero h1 {
  margin: 36px auto 0;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1.16;
  max-width: 980px;
  letter-spacing: 0;
}

.text-fade {
  color: transparent;
  background: linear-gradient(90deg, #ffffff 0%, #ecf3f7 36%, #a9b1ba 68%, rgba(244, 248, 251, 0.34) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p,
.page-hero p {
  margin: 30px auto 0;
  max-width: 560px;
  color: rgba(213, 222, 229, 0.7);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.5;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 70px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  margin: 24px auto 0;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  color: rgba(244, 248, 251, 0.82);
}

.section-title p {
  margin: 20px auto 0;
  max-width: 680px;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.55;
}

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

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

.service-card,
.perk-card,
.contact-card,
.form-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, rgba(18, 27, 39, 0.9), rgba(13, 20, 32, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow-card);
}

.service-card {
  position: relative;
  min-height: 224px;
  padding: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 280ms ease;
}

.service-card:hover {
  transform: translateY(8px);
  border-color: rgba(109, 229, 255, 0.36);
  background: linear-gradient(145deg, rgba(21, 33, 47, 0.95), rgba(14, 22, 35, 0.98));
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon,
.perk-icon,
.contact-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 12px;
  color: #ffffff;
  background:
    radial-gradient(circle at 35% 25%, #ffffff, #b7c4cb 42%, #344856 72%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(0, 168, 216, 0.15));
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.15);
  font-size: 16px;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  font-weight: 500;
}

.service-card p {
  margin: 14px 0 0;
  color: #b0bac5;
  font-size: 16px;
  line-height: 1.55;
}

.service-card ul {
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid transparent;
  list-style: none;
  color: #d7e2ea;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.35;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  overflow: hidden;
  transition: max-height 320ms ease, opacity 250ms ease, transform 250ms ease, padding 250ms ease, border-color 250ms ease;
}

.service-card li {
  position: relative;
  padding-left: 17px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--color-accent-2);
  box-shadow: 0 0 10px rgba(109, 229, 255, 0.45);
}

.service-card:hover ul {
  max-height: 210px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 14px;
  border-color: rgba(210, 232, 244, 0.12);
}

.services-footer {
  text-align: center;
  margin-top: 46px;
  color: rgba(157, 168, 180, 0.76);
}

.services-footer p {
  margin-bottom: 24px;
  font-size: 18px;
}

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

.accordion-group {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, rgba(18, 27, 39, 0.9), rgba(13, 20, 32, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow-card);
  overflow: hidden;
  transition: border-color 260ms ease;
}

.accordion-group:hover {
  border-color: rgba(109, 229, 255, 0.24);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 200ms ease;
}

.accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.03);
}

.accordion-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background:
    radial-gradient(circle at 35% 25%, #ffffff, #b7c4cb 42%, #344856 72%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(0, 168, 216, 0.15));
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.15);
  font-size: 14px;
  flex-shrink: 0;
}

.accordion-arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--color-muted);
  transition: transform 300ms ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding 350ms ease;
}

.accordion-panel ul {
  margin: 0;
  padding: 0 24px 22px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.accordion-panel li {
  position: relative;
  padding-left: 18px;
  color: #b0bac5;
  font-size: 15px;
  line-height: 1.45;
}

.accordion-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--color-accent-2);
  box-shadow: 0 0 10px rgba(109, 229, 255, 0.45);
}

.accordion-trigger[aria-expanded="true"] + .accordion-panel {
  max-height: 320px;
  padding-top: 4px;
}

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

.perk-card {
  min-height: 280px;
  padding: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.perk-card.wide {
  grid-column: span 2;
}

.perk-visual {
  min-height: 102px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-stack {
  display: flex;
  filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.15));
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-left: -13px;
  border: 3px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(145deg, var(--a), var(--b));
}

.avatar:first-child {
  margin-left: 0;
}

.message-stack {
  width: 100%;
  max-width: 370px;
  display: grid;
  gap: 14px;
}

.message-pill {
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #dce4eb;
  background: rgba(255, 255, 255, 0.05);
}

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

.bar {
  width: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  height: var(--h);
}

.bar.accent {
  background: var(--color-accent);
  box-shadow: 0 0 20px rgba(0, 168, 216, 0.65);
}

.network-mini,
.network-large {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1.8;
}

.network-large {
  width: min(100%, 760px);
  aspect-ratio: 2;
}

.cube {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(145deg, #fff, #9fb1bc 55%, #304353);
  box-shadow: 0 0 44px rgba(255, 255, 255, 0.2), 0 0 80px rgba(0, 168, 216, 0.18);
}

.node {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 34, 47, 0.78);
  box-shadow: inset 0 0 24px rgba(109, 229, 255, 0.08);
}

.node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112px;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(109, 229, 255, 0.38), transparent);
}

.n1 { left: 5%; top: 44%; }
.n1::before { transform: rotate(0deg); }
.n2 { left: 24%; top: 9%; }
.n2::before { transform: rotate(35deg); }
.n3 { right: 22%; top: 14%; }
.n3::before { transform: rotate(145deg); }
.n4 { right: 4%; top: 45%; }
.n4::before { transform: rotate(180deg); }
.n5 { left: 24%; bottom: 6%; }
.n5::before { transform: rotate(-35deg); }
.n6 { right: 23%; bottom: 7%; }
.n6::before { transform: rotate(215deg); }

.timeline {
  width: 100%;
  height: 126px;
  position: relative;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 62px 100%;
}

.timeline span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: block;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 5px solid var(--color-accent);
  border-radius: 10px;
  color: #d7e0e8;
  background: rgba(255, 255, 255, 0.055);
  white-space: nowrap;
}

.perk-card h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  font-weight: 500;
}

.perk-card p {
  margin: 14px 0 0;
  color: #aeb9c4;
  font-size: 16px;
  line-height: 1.45;
}

.stats-section {
  width: 100%;
  margin: 140px 0 160px;
  padding: 100px 24px 120px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.stats-section::before,
.stats-section::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(1200px, 92vw);
  height: 320px;
  border: 3px solid rgba(0, 168, 216, 0.42);
  border-top: 0;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%);
  top: 76px;
  filter: drop-shadow(0 0 30px rgba(0, 168, 216, 0.16));
}

.stats-section::after {
  width: min(1340px, 98vw);
  opacity: 0.28;
  top: 54px;
}

.stats-section h2 {
  position: relative;
  margin: 0 auto 46px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  color: transparent;
  background: linear-gradient(90deg, #fff, rgba(244, 248, 251, 0.34));
  -webkit-background-clip: text;
  background-clip: text;
  z-index: 1;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: clamp(40px, 7vw, 100px);
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 500;
}

.stat span {
  display: block;
  margin-top: 16px;
  color: #aeb9c4;
  font-size: 17px;
}

.testimonial-band {
  width: 100%;
  overflow: hidden;
  padding: 100px 0 160px;
  margin-bottom: 40px;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 360px;
  min-height: 202px;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(18, 27, 39, 0.92), rgba(13, 20, 32, 0.94));
  color: #d6dee6;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  color: #9da8b4;
}

.testimonial-person .avatar {
  margin: 0;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

/* ── Tefy-inspired Premium Footer ── */
.site-footer {
  width: 100%;
  background: var(--color-gradient);
  color: #ffffff;
  padding: 100px 0 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  font-family: var(--font-main);
}

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

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 50px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-title {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
  color: #ffffff;
  margin: 0 0 14px 0;
}

.footer-subtext {
  font-size: clamp(15px, 1.2vw, 18px);
  color: #9aa5b1;
  margin: 0 0 32px 0;
  font-weight: 400;
}

.footer-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #040911;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
  letter-spacing: 0;
}

.footer-email-btn:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
  text-align: right;
}

.footer-info-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f7b88;
}

.footer-contact-link {
  font-family: var(--font-mono);
  font-size: clamp(16px, 1.5vw, 20px);
  color: #ffffff;
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-contact-link:hover {
  color: var(--color-accent-2);
}

.footer-social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 4px;
}

.footer-social-links a {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 200ms ease, color 200ms ease;
  opacity: 0.85;
}

.footer-social-links a:hover {
  opacity: 1;
  color: var(--color-accent-2);
  text-decoration: underline;
}

.footer-divider-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 24px 0;
}

.footer-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #8896a4;
  padding: 6px 0;
}

.footer-legal-links {
  display: flex;
  gap: 28px;
}

.footer-legal-links a {
  color: #8896a4;
  text-decoration: none;
  transition: color 200ms ease;
}

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

.footer-hero-brand {
  width: 100%;
  padding-top: 16px;
  padding-bottom: 6px;
  text-align: center;
  overflow: hidden;
  user-select: none;
}

.brand-big-text {
  display: block;
  font-size: clamp(48px, 14vw, 210px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #9cb0c3 48%, #273747 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  white-space: nowrap;
  position: relative;
}

.brand-dot {
  display: inline-block;
  width: clamp(10px, 1.8vw, 30px);
  height: clamp(10px, 1.8vw, 30px);
  background: var(--color-accent);
  margin-left: clamp(4px, 1vw, 16px);
  vertical-align: baseline;
  box-shadow: 0 0 20px rgba(230, 57, 70, 0.6);
}

.page-hero {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 116px 0 28px;
  text-align: center;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(36px, 3.8vw, 52px);
}

.page-hero + .section {
  padding-top: 42px;
}

.service-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(420px, 1.14fr);
  gap: 28px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 22px;
}

.contact-card {
  padding: 24px;
  min-height: 154px;
}

.contact-card h3,
.form-card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

.contact-card p {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.45;
}

.contact-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-text);
  font-weight: 800;
}

.form-card {
  padding: 28px;
}

.form-card p {
  margin: 14px 0 34px;
  color: var(--color-muted);
  font-size: 16px;
}

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

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

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

.field label {
  color: #dbe4eb;
  font-weight: 700;
  font-size: 14px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: rgba(2, 8, 17, 0.48);
  color: var(--color-text);
  padding: 16px 18px;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(109, 229, 255, 0.56);
  box-shadow: 0 0 0 4px rgba(0, 168, 216, 0.1);
}

.map-panel {
  margin-top: 28px;
  min-height: 240px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 62% 42%, rgba(0, 168, 216, 0.45), transparent 6rem),
    linear-gradient(145deg, rgba(18, 27, 39, 0.9), rgba(13, 20, 32, 0.94));
  background-size: 46px 46px, 46px 46px, auto, auto;
  display: grid;
  place-items: center;
  color: #d8e2ea;
  font-weight: 800;
  text-align: center;
  padding: 30px;
}

/* ═══════════════════════════════════════════════
   ANIMATION SYSTEM
   ─────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 750ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 750ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 750ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 90ms; }
.stagger > *:nth-child(3) { transition-delay: 180ms; }
.stagger > *:nth-child(4) { transition-delay: 270ms; }
.stagger > *:nth-child(5) { transition-delay: 360ms; }

.delay-1 { transition-delay: 80ms !important; }
.delay-2 { transition-delay: 160ms !important; }
.delay-3 { transition-delay: 240ms !important; }
.delay-4 { transition-delay: 320ms !important; }

@keyframes float-node {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

@keyframes float-cube {
  0%, 100% { transform: translate(-50%, -50%) rotate(45deg) translateY(0px); }
  50%       { transform: translate(-50%, -50%) rotate(45deg) translateY(-6px); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(0, 168, 216, 0.25), 0 0 0 rgba(0, 168, 216, 0); }
  50%       { box-shadow: 0 0 44px rgba(0, 168, 216, 0.55), 0 0 80px rgba(0, 168, 216, 0.12); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes line-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.reveal.visible .cube,
.reveal-right.visible .cube {
  animation: float-cube 5s ease-in-out infinite;
}

.reveal.visible .node,
.reveal-right.visible .node {
  animation: float-node 4s ease-in-out infinite;
}

.reveal.visible .n1 { animation-delay: 0s; }
.reveal.visible .n2 { animation-delay: 0.6s; }
.reveal.visible .n3 { animation-delay: 1.2s; }
.reveal.visible .n4 { animation-delay: 1.8s; }
.reveal.visible .n5 { animation-delay: 0.3s; }
.reveal.visible .n6 { animation-delay: 0.9s; }

.service-card:hover,
.perk-card:hover,
.accordion-group:hover {
  animation: glow-pulse 2.4s ease-in-out infinite;
}

.stat strong {
  transition: text-shadow 600ms ease;
}

.stats-section.visible .stat strong,
.reveal.visible ~ .stats-grid .stat strong {
  text-shadow: 0 0 32px rgba(89, 217, 244, 0.35);
}

.eyebrow {
  background-size: 200% auto;
  transition: background-position 600ms ease;
}

.message-pill {
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 400ms ease;
}

.perk-card:hover .message-pill:nth-child(1) { transform: translateX(4px); }
.perk-card:hover .message-pill:nth-child(2) { transform: translateX(8px); transition-delay: 60ms; }
.perk-card:hover .message-pill:nth-child(3) { transform: translateX(6px); transition-delay: 120ms; }

.bar {
  transform-origin: bottom center;
  transform: scaleY(0);
  transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.perk-card.anim-done .bar { transform: scaleY(1); }
.perk-card.anim-done .bar:nth-child(2) { transition-delay: 60ms; }
.perk-card.anim-done .bar:nth-child(3) { transition-delay: 120ms; }
.perk-card.anim-done .bar:nth-child(4) { transition-delay: 180ms; }
.perk-card.anim-done .bar:nth-child(5) { transition-delay: 240ms; }
.perk-card.anim-done .bar:nth-child(6) { transition-delay: 300ms; }
.perk-card.anim-done .bar:nth-child(7) { transition-delay: 360ms; }
.perk-card.anim-done .bar:nth-child(8) { transition-delay: 420ms; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1120px) {
  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .nav-menu,
  .language {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-open .nav-menu {
    position: fixed;
    left: 24px;
    right: 24px;
    top: 82px;
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 24px;
    background: rgba(11, 18, 28, 0.96);
  }

  .mobile-open .nav-link {
    width: 100%;
  }

  .service-page-grid,
  .site-footer,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 36px;
  }
  
  .footer-right {
    align-items: flex-start;
    text-align: left;
  }
  
  .footer-info-block {
    align-items: flex-start;
  }

  .footer-social-links {
    justify-content: flex-start;
  }
  
  .footer-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-height: 70px;
    --radius-card: 18px;
  }

  .nav-wrap,
  .section,
  .page-hero,
  .site-footer {
    width: min(100% - 28px, var(--max-width));
  }

  .brand-logo {
    height: 32px;
  }

  .nav-actions .btn-light {
    display: none;
  }

  .hero {
    min-height: 650px;
    width: 100%;
    padding: 92px 0 48px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 36px;
    letter-spacing: 0;
  }

  .page-hero {
    padding: 98px 0 20px;
  }

  .hero p,
  .page-hero p {
    font-size: 18px;
  }

  .hero-actions {
    margin-top: 44px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    margin-bottom: 42px;
  }

  .services-grid,
  .services-grid.major,
  .service-page-grid,
  .perks-grid,
  .form-row,
  .accordion-grid {
    grid-template-columns: 1fr;
  }

  .perk-card.wide {
    grid-column: auto;
  }

  .service-card,
  .perk-card,
  .form-card,
  .contact-card {
    padding: 22px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card ul {
    max-height: 260px;
    opacity: 1;
    transform: none;
  }

  .stats-section {
    padding: 56px 24px;
  }

  .stats-section h2 {
    margin-bottom: 38px;
  }

  .stats-grid {
    gap: 34px;
  }

  .testimonial-card {
    width: 300px;
  }

  .site-footer {
    padding-bottom: 24px;
  }
}

.about-section {
  padding: 86px 0;
}

.about-card {
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, rgba(16, 25, 37, 0.95), rgba(9, 15, 25, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow-card);
  padding: clamp(32px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2), transparent);
}

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

.about-title {
  margin: 18px 0 0;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  color: #f7fbfd;
  letter-spacing: 0;
}

.about-body {
  display: grid;
  gap: 22px;
  max-width: 1040px;
}

.about-text {
  margin: 0;
  color: rgba(210, 222, 232, 0.84);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.7;
  font-weight: 400;
}

.about-text strong {
  color: #ffffff;
  font-weight: 600;
}

.highlight-red {
  color: var(--color-primary);
  font-weight: 700;
}

.about-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Brand refresh: navy/slate gradient system with Yeseva One + Mulish. */
.site-shell {
  background: var(--color-base);
}

.site-header {
  color: #ffffff;
}

.site-header::before {
  background: linear-gradient(180deg, rgba(28, 53, 117, 0.34), rgba(28, 53, 117, 0));
  opacity: 1;
}

.nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active,
.language {
  color: #ffffff;
}

.btn {
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0;
}

.btn::after,
.footer-email-btn::after {
  content: "↗";
  font-size: 1.05em;
  line-height: 1;
}

.btn:hover {
  box-shadow: 0 14px 30px rgba(28, 53, 117, 0.18);
}

.btn-light {
  background: var(--color-white-button);
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--color-white-button-text);
}

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

.hero,
.page-hero,
.stats-section,
.site-footer {
  background: var(--color-gradient);
  color: #ffffff;
}

.hero {
  min-height: 720px;
  isolation: isolate;
}

.hero::before {
  background:
    linear-gradient(135deg, rgba(28, 53, 117, 0.18), rgba(61, 71, 94, 0.08)),
    radial-gradient(circle at 18% 12%, rgba(209, 241, 254, 0.18), transparent 25rem);
}

.hero-content {
  transform: none;
}

.hero h1,
.page-hero h1,
.section-title h2,
.service-card h3,
.perk-card h3,
.stats-section h2,
.testimonial-card blockquote,
.footer-title,
.about-title,
.contact-card h3,
.form-card h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.02;
  max-width: 1060px;
}

.text-fade {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.hero p,
.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-body);
  font-weight: 500;
}

.hero .btn-dark {
  background: transparent;
  border-color: rgba(209, 241, 254, 0.72);
  color: #ffffff;
}

.hero .btn-light {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.section,
.testimonial-band {
  color: #000000;
}

.section-title h2 {
  color: #000000;
}

.section-title p,
.services-footer,
.services-footer p,
.perk-card p,
.service-card p,
.testimonial-person,
.contact-card p,
.form-card p,
.about-text {
  color: var(--color-muted);
}

.eyebrow,
.footer-label {
  position: relative;
  min-height: 0;
  padding: 0 0 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.footer-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: var(--color-accent);
}

.page-hero {
  width: 100%;
  max-width: none;
  padding: 150px max(20px, calc((100vw - var(--max-width)) / 2)) 86px;
}

.page-hero .eyebrow,
.site-footer .footer-label {
  color: var(--color-accent);
}

.page-hero .eyebrow::before,
.site-footer .footer-label::before {
  background: var(--color-accent);
}

.page-hero + .section {
  padding-top: 72px;
}

.service-card,
.perk-card,
.contact-card,
.form-card,
.testimonial-card,
.about-card,
.accordion-group {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  border-color: rgba(28, 53, 117, 0.34);
  background: #ffffff;
}

.service-card::after,
.about-card::before {
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-primary), transparent);
}

.service-icon,
.perk-icon,
.contact-icon,
.accordion-icon {
  border-radius: 10px;
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: none;
}

.service-card h3,
.perk-card h3,
.contact-card h3,
.form-card h2,
.about-title,
.contact-card a {
  color: #000000;
}

.service-card ul,
.accordion-panel li {
  color: rgba(0, 0, 0, 0.74);
}

.service-card li::before,
.accordion-panel li::before {
  background: var(--color-primary);
  box-shadow: none;
}

.about-text strong {
  color: #000000;
}

.highlight-red {
  color: var(--color-primary);
}

.message-pill,
.timeline span {
  border-color: rgba(28, 53, 117, 0.16);
  background: rgba(209, 241, 254, 0.44);
  color: #000000;
}

.timeline span {
  border-left-color: var(--color-accent);
}

.bar {
  background: rgba(28, 53, 117, 0.24);
}

.bar.accent {
  background: var(--color-primary);
  box-shadow: none;
}

.node {
  border-color: rgba(28, 53, 117, 0.18);
  background: #ffffff;
}

.node::before {
  background: linear-gradient(90deg, rgba(28, 53, 117, 0.32), transparent);
}

.cube {
  background: linear-gradient(145deg, #ffffff, var(--color-accent) 52%, var(--color-primary));
  box-shadow: 0 16px 36px rgba(28, 53, 117, 0.14);
}

.stats-section {
  margin: 110px 0 130px;
  border: 0;
}

.stats-section::before,
.stats-section::after {
  border-color: rgba(209, 241, 254, 0.38);
  filter: none;
}

.stats-section h2,
.stat strong,
.stat span {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.stat span {
  color: rgba(255, 255, 255, 0.78);
}

.testimonial-card blockquote {
  color: #000000;
}

.site-footer {
  width: 100%;
  margin-top: 40px;
  border-top: 0;
  font-family: var(--font-body);
}

.footer-title {
  color: #ffffff;
}

.footer-subtext,
.footer-meta-row,
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-email-btn {
  gap: 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-body);
  font-weight: 800;
}

.footer-email-btn:hover {
  background: var(--color-accent);
}

.footer-contact-link,
.footer-social-links a,
.footer-legal-links a:hover {
  color: #ffffff;
}

.footer-contact-link:hover,
.footer-social-links a:hover {
  color: var(--color-accent);
}

.footer-divider-line {
  background: rgba(209, 241, 254, 0.28);
}

.brand-big-text {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-accent) 55%, rgba(209, 241, 254, 0.18) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-dot {
  background: var(--color-accent);
  box-shadow: 0 0 20px rgba(209, 241, 254, 0.42);
}

.field label {
  color: #000000;
}

.field input,
.field textarea {
  border-color: var(--color-line);
  border-radius: 12px;
  background: #ffffff;
  color: #000000;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(209, 241, 254, 0.58);
}

.map-panel {
  border-color: var(--color-line);
  border-radius: var(--radius-card);
  background:
    linear-gradient(90deg, rgba(28, 53, 117, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(28, 53, 117, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 62% 42%, rgba(209, 241, 254, 0.84), transparent 6rem),
    #ffffff;
  color: #000000;
}

.mobile-toggle {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.mobile-open .nav-menu {
  background: linear-gradient(135deg, rgba(28, 53, 117, 0.98), rgba(61, 71, 94, 0.98));
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
