/* ============================================================
   GES Private Office — Main Stylesheet
   Stack: HTML + CSS Custom Properties + Vanilla JS
   Design: Figma zCg25Ka7DhFrhi0vqwnqFA
   ============================================================ */

/* ── 1. Design Tokens ──────────────────────────────────────── */
:root {
  --clr-bg:          #1a1a1a;
  --clr-bg-card:     rgba(255, 255, 255, 0.05);
  --clr-gold:        #d1ae85;
  --clr-gold-dark:   #6b5944;
  --clr-white:       #ffffff;
  --clr-white-60:    rgba(255, 255, 255, 0.60);
  --clr-white-08:    rgba(255, 255, 255, 0.08);
  --clr-white-04:    rgba(255, 255, 255, 0.04);
  --clr-white-10:    rgba(255, 255, 255, 0.10);
  --clr-divider:     rgba(217, 217, 217, 0.10);
  --clr-muted:       #868687;
  --clr-label:       #888888;

  --grad-heading:    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.6) 96.5%);
  --grad-card:       linear-gradient(135deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.04) 100%);
  --grad-btn-gold:   linear-gradient(105deg, #d1ae85 0%, #6b5944 100%);

  --border-card:     1px solid #d1ae85;
  --radius-card:     12px;
  --radius-btn:      8px;
  --blur-card:       blur(21.5px);

  --ff-main:         'Manrope', sans-serif;
  --ff-ui:           'Inter', sans-serif;

  --fs-hero:    clamp(38px, 4.5vw, 56px);
  --fs-h2:      clamp(28px, 2.8vw, 40px);
  --fs-h3:      24px;
  --fs-body:    16px;
  --fs-small:   14px;
  --fs-xs:      12px;

  --lh-tight:   1.1;
  --lh-heading: 1.2;
  --lh-body:    1.5;

  --ls-hero:    -1.68px;
  --ls-h2:      -1.2px;
  --ls-h3:      -0.48px;

  --container:  1200px;
  --gap-section: clamp(72px, 8vw, 120px);
  --gap-grid:    10px;

  --t-fast:     0.2s ease;
  --t-base:     0.35s ease;
  --t-slow:     0.55s ease;

  --header-h:   76px;
}

/* ── 2. Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--clr-bg);
  color: var(--clr-white);
  font-family: var(--ff-main);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--t-fast);
}
a:hover { opacity: 0.75; }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ── 3. Utility ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 120px);
}

.section {
  padding-block: var(--gap-section);
  position: relative;
}

/* Gradient text helper */
.grad-text {
  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 4. Scroll-reveal animation ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal--right {
  transform: translateX(40px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: none; }

/* ── 5. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-family: var(--ff-main);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast);
  border: none;
}

.btn:hover  { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.35); opacity: 1; }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--grad-btn-gold);
  color: #1a1a1a;
}
.btn--gold:hover {
  box-shadow: 0 8px 32px rgba(209,174,133,.35);
}

.btn--ghost {
  background: rgba(255,255,255,.05);
  color: var(--clr-white);
  border: 1px solid rgba(255,255,255,.12);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.10);
  border-color: var(--clr-gold);
}

/* ── 6. Section Typography ─────────────────────────────────── */
.section-title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-h2);
  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title--center { text-align: center; }

.section-subtitle {
  font-size: var(--fs-body);
  color: var(--clr-white-60);
  line-height: var(--lh-body);
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}

/* ── 7. Glass Card Mixin ───────────────────────────────────── */
.glass-card {
  background: var(--grad-card);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
}

/* ── 8. HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--t-base), backdrop-filter var(--t-base), box-shadow var(--t-base);
}

.site-header.scrolled {
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo img {
  width: 129px;
  height: auto;
  display: block;
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.header__nav-list {
  display: flex;
  gap: 31px;
  align-items: center;
}
.header__nav-link {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--clr-white);
  opacity: 0.85;
  position: relative;
  transition: opacity var(--t-fast), color var(--t-fast);
}
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-gold);
  transition: width var(--t-base);
}
.header__nav-link:hover,
.header__nav-link.active {
  opacity: 1;
  color: var(--clr-gold);
}
.header__nav-link:hover::after,
.header__nav-link.active::after { width: 100%; }

.header__cta {
  flex-shrink: 0;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.burger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast);
}
.burger.is-open .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open .burger__line:nth-child(2) { opacity: 0; }
.burger.is-open .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 9. HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__deco--ellipse1 {
  position: absolute;
  top: -220px;
  right: -80px;
  width: 680px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.hero__deco--ellipse1 img { width: 100%; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 560px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 540px;
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-hero);
  background: linear-gradient(90deg, #fff 20%, rgba(255,255,255,.6) 97%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: var(--fs-body);
  color: var(--clr-white);
  opacity: 0.8;
  max-width: 452px;
  line-height: var(--lh-body);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__sphere-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero__sphere {
  width: 100%;
  position: relative;
  z-index: 1;
  mix-blend-mode: hard-light;
  filter: drop-shadow(0 0 60px rgba(209,174,133,.15));
  animation: float 6s ease-in-out infinite;
}

.hero__glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  mix-blend-mode: plus-lighter;
  pointer-events: none;
  opacity: 0.6;
}

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

/* ── 10. PRIVILEGES ────────────────────────────────────────── */
.privileges .container { position: relative; z-index: 1; }

.privileges__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-grid);
}

.priv-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 7px;
}

.priv-card__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 13px;
  background: var(--grad-card);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.priv-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.priv-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-h3);
  color: var(--clr-white);
}

.priv-card__text {
  font-size: var(--fs-body);
  color: var(--clr-white-60);
  line-height: var(--lh-body);
}

/* ── 11. ABOUT ─────────────────────────────────────────────── */
.about { overflow: hidden; }

.about__bg-card {
  position: absolute;
  inset: 40px 120px;
  background: var(--grad-card);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
  z-index: 0;
  pointer-events: none;
}

.about__deco--ellipse2 {
  position: absolute;
  left: -220px;
  top: 80px;
  width: 440px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}
.about__deco--ellipse2 img { width: 100%; }

.about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about__text {
  font-size: var(--fs-body);
  color: var(--clr-white-60);
  line-height: var(--lh-body);
  max-width: 560px;
}

.about__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 11px;
}

.about__list-item {
  font-size: var(--fs-small);
  color: var(--clr-white-60);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(217,217,217,.2);
}

.about__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--clr-gold);
  transition: gap var(--t-fast), opacity var(--t-fast);
}
.about__more:hover { gap: 10px; opacity: 1; }

.about__more-arrow {
  width: 24px;
  height: 24px;
  transition: transform var(--t-fast);
}
.about__more:hover .about__more-arrow { transform: translateX(4px); }

.about__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about__arrows {
  width: 100%;
  max-width: 480px;
  mix-blend-mode: hard-light;
  filter: drop-shadow(0 0 40px rgba(209,174,133,.1));
}

/* ── 12. SERVICES ──────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-grid);
  margin-bottom: 48px;
}

.service-card {
  background: var(--grad-card);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
  padding: 32px 33px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  border-color: rgba(209,174,133,.8);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 6px;
}

.service-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-h3);
  color: var(--clr-white);
}

.service-card__text {
  font-size: var(--fs-body);
  color: var(--clr-white-60);
  line-height: var(--lh-body);
}

.services__footnote {
  font-size: 20px;
  font-weight: 600;
  color: var(--clr-white);
  opacity: 0.6;
  text-align: center;
  max-width: 848px;
  margin-inline: auto;
  line-height: var(--lh-body);
}

/* ── 13. CLIENTS ───────────────────────────────────────────── */
.clients { overflow: hidden; }

.clients__deco--left {
  position: absolute;
  left: -220px;
  bottom: 0;
  width: 440px;
  pointer-events: none;
  opacity: 0.25;
  z-index: 0;
}
.clients__deco--left img { width: 100%; }

.clients .container { position: relative; z-index: 1; }

.clients__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 44px;
  margin-bottom: 48px;
}

.clients__footnote {
  font-size: var(--fs-body);
  color: var(--clr-white-60);
  text-align: center;
  max-width: 712px;
  margin-inline: auto;
  line-height: var(--lh-body);
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion__item {
  border-bottom: 1px solid rgba(217,217,217,.10);
}

.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  text-align: left;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: var(--clr-white);
  transition: color var(--t-fast);
}
.accordion__btn:hover { color: var(--clr-gold); }

.accordion__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform var(--t-base), opacity var(--t-fast);
  opacity: 0.7;
}
.accordion__btn[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
  opacity: 1;
}

.accordion__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-base), padding var(--t-base);
}
.accordion__body p {
  padding-bottom: 16px;
  font-size: var(--fs-body);
  color: var(--clr-white-60);
  line-height: var(--lh-body);
}
.accordion__body.is-open { max-height: 200px; }

/* ── 14. INFRASTRUCTURE ────────────────────────────────────── */
.infra { overflow: hidden; }

.infra__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.infra__deco--right {
  right: -220px;
  top: -100px;
  width: 440px;
  opacity: 0.3;
}
.infra__deco--left {
  left: -200px;
  bottom: 0;
  width: 680px;
  opacity: 0.2;
}
.infra__deco img { width: 100%; }

.infra .container { position: relative; z-index: 1; }

.infra__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.infra-card {
  background: var(--grad-card);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.infra-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  border-color: rgba(209,174,133,.8);
}

.infra-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.infra-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.infra-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-h3);
  color: var(--clr-white);
}

.infra-card__text {
  font-size: var(--fs-body);
  color: var(--clr-white-60);
  line-height: var(--lh-body);
}

/* ── 15. CONTACT FORM ──────────────────────────────────────── */
.contact__inner {
  max-width: 760px;
  margin-inline: auto;
}

.contact-form {
  background: var(--grad-card);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--clr-white);
  letter-spacing: 0.3px;
}

.form-req { color: var(--clr-gold); }

.form-input {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--ff-main);
  font-size: var(--fs-body);
  color: var(--clr-white);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}

.form-input::placeholder { color: rgba(255,255,255,.3); }

.form-input:focus {
  border-color: var(--clr-gold);
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(209,174,133,.12);
}

.form-input.has-error {
  border-color: #e06060;
  box-shadow: 0 0 0 3px rgba(224,96,96,.12);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-error {
  font-size: 13px;
  color: #e06060;
  min-height: 1em;
  display: block;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.form-privacy {
  font-size: var(--fs-small);
  color: var(--clr-white-60);
  max-width: 320px;
}
.form-privacy__link { color: var(--clr-gold); }
.form-privacy__link:hover { text-decoration: underline; opacity: 1; }

.form-submit {
  min-width: 200px;
  position: relative;
}

.submit-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(26,26,26,.4);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.form-submit.is-loading .submit-text { opacity: 0; }
.form-submit.is-loading .submit-loader { display: block; position: absolute; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-alert {
  padding: 16px 20px;
  border-radius: 8px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.form-alert--success {
  background: rgba(80,180,100,.12);
  border: 1px solid rgba(80,180,100,.35);
  color: #80e49a;
}
.form-alert--error {
  background: rgba(224,96,96,.10);
  border: 1px solid rgba(224,96,96,.3);
  color: #f08080;
}
.form-alert a { color: var(--clr-gold); }

/* ── 16. FOOTER ────────────────────────────────────────────── */
.site-footer {
  padding-block: 48px 40px;
}

.footer__divider {
  border: none;
  border-top: 1px solid var(--clr-divider);
  margin-block: 0 48px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px 80px;
  align-items: start;
  padding-bottom: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 372px;
}

.footer__brand-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__brand-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.44px;
  line-height: var(--lh-heading);
  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__brand-desc {
  font-size: var(--fs-body);
  color: var(--clr-white-60);
  line-height: var(--lh-body);
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer__social-label {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--clr-white);
}
.footer__social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer__social-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.footer__social-link:hover img { transform: scale(1.2); opacity: 0.8; }

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer__nav-heading,
.footer__contacts-heading {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.44px;
  color: var(--clr-label);
  line-height: var(--lh-heading);
}
.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__nav-link {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--clr-white);
  transition: color var(--t-fast), opacity var(--t-fast);
}
.footer__nav-link:hover { color: var(--clr-gold); opacity: 1; }

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 48px;
  font-style: normal;
}
.footer__contact-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__contact-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
}
.footer__contact-link {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--clr-white);
  line-height: 24px;
  transition: color var(--t-fast);
}
.footer__contact-link:hover { color: var(--clr-gold); opacity: 1; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--clr-divider);
  flex-wrap: wrap;
}

.footer__bottom-left,
.footer__bottom-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--ff-ui);
  font-size: var(--fs-xs);
  color: var(--clr-muted);
  line-height: 1.7;
}
.footer__bottom-right { text-align: right; }
.footer__lang { color: var(--clr-white); text-transform: capitalize; }

/* ── 17. TABLET 768–1024 ───────────────────────────────────── */
@media (max-width: 1080px) {
  :root { --gap-section: 80px; }

  .privileges__grid { grid-template-columns: repeat(2, 1fr); }

  .hero__inner { gap: 32px; }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 48px 40px;
  }
  .footer__brand { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 48px; max-width: 100%; }
  .footer__brand > a { flex-shrink: 0; }
}

@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__bg-card { inset: 40px 0; border-radius: 0; }
  .about__visual { order: -1; }
  .about__arrows { max-width: 320px; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 18. MOBILE ≤ 767 ──────────────────────────────────────── */
@media (max-width: 767px) {
  :root {
    --gap-section: 64px;
    --header-h:    64px;
  }

  /* Header mobile */
  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(20,20,20,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px clamp(20px,5vw,40px) 32px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform var(--t-base), opacity var(--t-base);
    z-index: 99;
    pointer-events: none;
    border-bottom: 1px solid var(--clr-divider);
  }
  .header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .header__nav-link {
    font-size: 20px;
    padding: 10px 0;
    display: block;
  }
  .header__cta { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 0;
  }
  .hero__content { max-width: 100%; gap: 24px; }
  .hero__visual { margin-top: -20px; }
  .hero__sphere-wrap { max-width: 320px; margin-inline: auto; }
  .hero__deco--ellipse1 { width: 340px; right: -60px; top: -100px; }

  /* Privileges */
  .privileges__grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* About */
  .about__bg-card { inset: 20px 0; border-radius: 0; }
  .about__list { grid-template-columns: 1fr; }
  .about__inner { gap: 32px; padding-block: 40px; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }
  .services__footnote { font-size: 16px; }

  /* Clients */
  .clients__grid { grid-template-columns: 1fr; }
  .accordion__btn { font-size: 16px; }

  /* Infra */
  .infra__grid { grid-template-columns: 1fr; gap: 12px; }

  /* Contact form */
  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-submit { width: 100%; }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer__brand { flex-direction: column; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer__bottom-right { text-align: left; }
}

@media (max-width: 420px) {
  .privileges__grid { grid-template-columns: 1fr; }
}

/* ── 19. Accessibility & Focus ─────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal--right { opacity: 1; transform: none; }
  .hero__sphere { animation: none; }
}

/* ── 20. Print ─────────────────────────────────────────────── */
@media print {
  .site-header, .burger, .hero__deco, .about__deco, .infra__deco, .clients__deco { display: none; }
  body { background: #fff; color: #000; }
}
