:root {
  --navy: #11162f;
  --navy-soft: #1c2852;
  --violet: #705cf6;
  --violet-dark: #5542d2;
  --lavender: #dce3ff;
  --ice: #f1f3ff;
  --paper: #fbfbff;
  --white: #ffffff;
  --text: #171b33;
  --muted: #69708a;
  --line: rgba(17, 22, 47, 0.12);
  --shadow: 0 26px 70px rgba(17, 22, 47, 0.14);
  --radius-large: 36px;
  --radius-medium: 25px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 11px 15px;
  border-radius: 12px;
  color: var(--white);
  background: var(--navy);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: 18px 0;
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(251, 251, 255, 0.94);
  box-shadow: 0 8px 28px rgba(17, 22, 47, 0.08);
  backdrop-filter: blur(16px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-symbol {
  position: relative;
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(112, 92, 246, 0.3);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e2e7ff);
  box-shadow: inset 0 0 0 8px rgba(112, 92, 246, 0.06);
}
.brand-symbol::before,
.brand-symbol::after,
.brand-symbol i {
  content: "";
  position: absolute;
  border: 2px solid var(--violet);
  border-radius: 50%;
}
.brand-symbol::before {
  width: 20px;
  height: 20px;
  border-left-color: transparent;
  transform: rotate(30deg);
}
.brand-symbol::after {
  width: 9px;
  height: 9px;
  border-right-color: transparent;
  transform: translate(8px, -5px);
}
.brand-symbol i {
  width: 5px;
  height: 5px;
  border: 0;
  background: var(--violet);
  transform: translate(-8px, 7px);
}
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 0.92rem; letter-spacing: -0.02em; }
.brand-text span { margin-top: 4px; color: var(--muted); font-size: 0.74rem; }
.navigation { display: flex; align-items: center; gap: 7px; }
.navigation a {
  padding: 11px 14px;
  border-radius: 999px;
  color: #505872;
  font-size: 0.88rem;
  font-weight: 750;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.navigation a:hover { color: var(--navy); background: rgba(112, 92, 246, 0.08); transform: translateY(-1px); }
.navigation .nav-contact { margin-left: 4px; padding-inline: 20px; color: var(--white); background: var(--navy); }
.navigation .nav-contact:hover { color: var(--white); background: var(--violet); }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  padding: 170px 0 48px;
  background:
    radial-gradient(circle at 12% 18%, rgba(112, 92, 246, 0.15), transparent 29%),
    linear-gradient(180deg, #ffffff 0%, #eef1ff 72%, var(--paper) 100%);
}
.background-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(17, 22, 47, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 22, 47, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 78%, transparent);
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.glow-one { width: 360px; height: 360px; top: 90px; left: -240px; border: 1px solid rgba(112, 92, 246, 0.24); box-shadow: inset 0 0 90px rgba(112, 92, 246, 0.08); }
.glow-two { width: 170px; height: 170px; right: 7%; bottom: 90px; background: radial-gradient(circle at 32% 28%, #fff, rgba(184, 198, 255, 0.44)); box-shadow: 0 38px 80px rgba(112, 92, 246, 0.14); }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 68px;
}
.hero-content { animation: rise 0.7s ease both; }
.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: var(--violet-dark);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow span { width: 34px; height: 1px; background: var(--violet); }
.hero h1,
.section-heading h2,
.location-content h2,
.contact-grid h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}
.hero h1 { max-width: 720px; font-size: clamp(4.1rem, 7.4vw, 7.1rem); }
.hero h1 em { display: block; color: var(--violet); font-weight: 400; }
.phone-label { margin: 34px 0 3px; color: var(--muted); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.hero-phone { display: inline-block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.1vw, 3.25rem); letter-spacing: -0.035em; transition: color 0.2s ease; }
.hero-phone:hover { color: var(--violet); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--navy); box-shadow: 0 18px 35px rgba(17, 22, 47, 0.18); }
.button-primary:hover { background: var(--violet); box-shadow: 0 20px 40px rgba(112, 92, 246, 0.24); }
.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.66); }
.button-secondary:hover { background: var(--white); box-shadow: 0 14px 30px rgba(17, 22, 47, 0.09); }
.concept {
  position: relative;
  width: min(42vw, 500px);
  aspect-ratio: 1;
  justify-self: center;
  animation: rise 0.8s 0.08s ease both;
}
.concept-orbit { position: absolute; inset: 50%; border: 1px solid rgba(112, 92, 246, 0.26); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 100%; height: 100%; }
.orbit-two { width: 76%; height: 76%; border-style: dashed; }
.orbit-three { width: 52%; height: 52%; border-color: rgba(17, 22, 47, 0.16); }
.concept::before,
.concept::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 88%;
  height: 42%;
  border: 1px solid rgba(112, 92, 246, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(34deg);
}
.concept::after { transform: translate(-50%, -50%) rotate(-34deg); }
.concept-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 225px;
  aspect-ratio: 1;
  place-content: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(112, 92, 246, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 28px 70px rgba(112, 92, 246, 0.16), inset 0 0 0 16px rgba(112, 92, 246, 0.035);
  text-align: center;
  backdrop-filter: blur(12px);
}
.concept-center span { color: var(--muted); font-size: 0.69rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.concept-center strong { margin-top: 7px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 400; line-height: 0.95; }
.concept-dot { position: absolute; width: 12px; aspect-ratio: 1; border: 3px solid var(--white); border-radius: 50%; background: var(--violet); box-shadow: 0 6px 18px rgba(112, 92, 246, 0.35); }
.dot-one { top: 12%; left: 48%; }
.dot-two { right: 5%; bottom: 28%; }
.dot-three { left: 10%; bottom: 18%; }
.hero-strip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 74px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-strip i { flex: 1; height: 1px; background: var(--line); }
.hero-strip a:hover { color: var(--violet); }

.section { padding: 108px 0; }
.section-heading { margin-bottom: 44px; }
.section-heading h2 { font-size: clamp(3.5rem, 6vw, 5.9rem); }
.cards { display: grid; grid-template-columns: 1.15fr 0.85fr 0.85fr; gap: 18px; }
.card {
  position: relative;
  display: flex;
  min-height: 350px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(17, 22, 47, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.card-dark { color: var(--white); background: linear-gradient(145deg, var(--navy), #25366d); }
.card-index { align-self: flex-start; padding: 7px 10px; border: 1px solid currentColor; border-radius: 999px; opacity: 0.68; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; }
.card p { margin: 0 0 9px; color: var(--muted); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.card-dark p { color: rgba(255, 255, 255, 0.62); }
.card h3 { position: relative; z-index: 2; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.15rem, 3.1vw, 3.15rem); font-weight: 400; letter-spacing: -0.04em; line-height: 0.99; }
.card h3 a:hover { color: var(--violet); }
.round-link { position: absolute; top: 28px; right: 28px; display: grid; width: 42px; aspect-ratio: 1; place-items: center; border-radius: 50%; color: var(--violet-dark); background: var(--ice); transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease; }
.round-link:hover { transform: rotate(10deg); color: var(--white); background: var(--violet); }
.card-circle { position: absolute; right: -105px; bottom: -115px; width: 280px; height: 280px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; box-shadow: inset 0 0 0 35px rgba(255, 255, 255, 0.025), inset 0 0 0 70px rgba(255, 255, 255, 0.025); }

.location { padding-top: 24px; }
.location-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 540px;
  overflow: hidden;
  border-radius: var(--radius-large);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #22356f);
  box-shadow: var(--shadow);
}
.location-content { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: 70px; }
.section-label-light { color: var(--lavender); }
.location-content h2 { margin-bottom: 36px; font-size: clamp(4rem, 6.4vw, 6.5rem); }
.location-content h2 span,
.contact-grid h2 span { color: #9f90ff; }
.button-light { color: var(--navy); background: var(--white); }
.button-light:hover { color: var(--white); background: var(--violet); }
.location-art { position: relative; min-height: 540px; overflow: hidden; background: linear-gradient(145deg, rgba(112, 92, 246, 0.24), rgba(184, 198, 255, 0.05)); }
.map-grid { position: absolute; inset: 0; opacity: 0.42; background-image: linear-gradient(28deg, transparent 0 29%, rgba(255, 255, 255, 0.2) 30% 31%, transparent 32% 100%), linear-gradient(118deg, transparent 0 43%, rgba(255, 255, 255, 0.15) 44% 45%, transparent 46% 100%), repeating-radial-gradient(circle at 70% 50%, transparent 0 44px, rgba(255, 255, 255, 0.08) 45px 46px); }
.pin { position: absolute; left: 56%; top: 43%; width: 92px; height: 92px; transform: translate(-50%, -50%) rotate(45deg); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50% 50% 50% 10%; background: rgba(255, 255, 255, 0.12); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22); backdrop-filter: blur(10px); }
.pin span { position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; transform: translate(-50%, -50%); border: 5px solid var(--white); border-radius: 50%; }
.location-tag { position: absolute; left: 56%; top: calc(43% + 90px); transform: translateX(-50%); padding: 10px 15px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px; background: rgba(17, 22, 47, 0.5); font-size: 0.78rem; font-weight: 800; backdrop-filter: blur(10px); }

.contact { padding-bottom: 124px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 60px; }
.contact-grid h2 { font-size: clamp(3.8rem, 6.8vw, 6.8rem); }
.contact-box { display: grid; justify-items: start; }
.contact-box p { margin: 0 0 9px; color: var(--muted); font-size: 0.8rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-number { margin-bottom: 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.5vw, 3.75rem); letter-spacing: -0.035em; line-height: 1; transition: color 0.2s ease; }
.contact-number:hover { color: var(--violet); }

.site-footer { padding: 35px 0 118px; border-top: 1px solid var(--line); background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; }
.footer-data { display: flex; align-items: center; gap: 25px; color: var(--muted); font-size: 0.82rem; font-weight: 750; }
.footer-data a:hover { color: var(--violet); }
.to-top { display: grid; width: 44px; aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease; }
.to-top:hover { transform: translateY(-4px); color: var(--white); background: var(--navy); }
.floating-contact { position: fixed; z-index: 90; right: 16px; bottom: 16px; display: none; align-items: center; gap: 9px; padding: 10px 16px 10px 10px; border-radius: 999px; color: var(--white); background: var(--navy); box-shadow: 0 14px 35px rgba(17, 22, 47, 0.3); font-size: 0.82rem; }
.floating-contact span { display: grid; width: 34px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }

@keyframes rise {
  from { opacity: 0.01; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 145px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .concept { width: min(72vw, 440px); }
  .cards { grid-template-columns: 1fr 1fr; }
  .card-dark { grid-column: 1 / -1; }
  .card { min-height: 290px; }
  .location-panel { grid-template-columns: 1fr; }
  .location-content { padding: 58px; }
  .location-art { min-height: 420px; }
  .contact-grid { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { padding: 12px 0; }
  .brand-symbol { width: 42px; }
  .brand-text strong { font-size: 0.82rem; }
  .brand-text span { font-size: 0.68rem; }
  .menu-button {
    position: relative;
    z-index: 102;
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
  }
  .menu-button i { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform 0.25s ease, opacity 0.25s ease; }
  .menu-open .menu-button i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-button i:nth-of-type(2) { opacity: 0; }
  .menu-open .menu-button i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
  .navigation {
    position: fixed;
    z-index: 101;
    inset: 0;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    padding: 110px 28px 38px;
    background: rgba(251, 251, 255, 0.99);
    transform: translateX(105%);
    transition: transform 0.3s ease;
  }
  .menu-open .navigation { transform: translateX(0); }
  .navigation a { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; font-size: 1.05rem; text-align: center; }
  .navigation .nav-contact { margin: 10px 0 0; }
  .hero { padding: 130px 0 38px; }
  .hero h1 { font-size: clamp(3.55rem, 16.5vw, 5.1rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .concept { width: min(86vw, 340px); }
  .concept-center { width: 180px; }
  .concept-center strong { font-size: 1.55rem; }
  .hero-strip { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 45px; }
  .hero-strip i { width: 100%; flex: none; }
  .section { padding: 80px 0; }
  .section-heading h2 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .cards { grid-template-columns: 1fr; }
  .card-dark { grid-column: auto; }
  .card { min-height: 270px; }
  .location-panel { border-radius: 26px; }
  .location-content { padding: 44px 28px; }
  .location-content h2 { font-size: clamp(3.5rem, 16vw, 5rem); }
  .location-art { min-height: 330px; }
  .pin { width: 76px; height: 76px; }
  .contact-grid h2 { font-size: clamp(3.5rem, 15vw, 5rem); }
  .contact-number { font-size: 2.55rem; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-data { grid-column: 1 / -1; grid-row: 2; align-items: flex-start; flex-direction: column; gap: 8px; }
  .to-top { grid-column: 2; grid-row: 1; }
  .floating-contact { display: inline-flex; }
}

@media (max-width: 420px) {
  .brand-text strong { font-size: 0.74rem; }
  .brand-text span { font-size: 0.63rem; }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 4rem); }
  .card { padding: 24px; }
  .contact-number { font-size: 2.18rem; }
}

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