/* ============================================================
   HDM — Elite E-Commerce Email Marketing
   style.css
   ============================================================ */

/* ========================
   FONTS
   ======================== */
@font-face {
  font-family: 'Telegraf';
  src: url('fonts/TelegrafRegular_272984568a25d8528fe2de8b20b29011.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Telegraf';
  src: url('fonts/Telegraf UltraLight 200.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Telegraf';
  src: url('fonts/Telegraf UltraBold 800.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ========================
   CUSTOM PROPERTIES
   ======================== */
:root {
  /* Colors */
  --black:      #000000;
  --near-black: #050505;
  --dark-1:     #0a0a0a;
  --dark-2:     #111111;
  --dark-3:     #1a1a1a;
  --deep-blue:  #0B3F53;
  --perf-blue:  #5EA3D3;
  --white:      #FFFFFF;
  --gray-400:   #888888;
  --gray-600:   #444444;

  /* Gradients */
  --gradient:      linear-gradient(135deg, #1e6096 0%, #5EA3D3 100%);
  --gradient-text: linear-gradient(90deg, #5EA3D3 0%, #1e6096 100%);

  /* Typography */
  --font:      'Telegraf', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Layout */
  --nav-height:    72px;
  --container-max: 1440px;
  --container-pad: clamp(16px, 2.5vw, 40px);
  --section-pad:   clamp(80px, 10vw, 140px);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-base: 0.3s ease;
  --t-slow: 0.55s cubic-bezier(0.16, 1, 0.3, 1);

  /* Borders */
  --border:       1px solid rgba(255, 255, 255, 0.07);
  --border-light: 1px solid rgba(255, 255, 255, 0.11);
}

/* ========================
   RESET & BASE
   ======================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul { list-style: none; }

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

/* ========================
   UTILITIES
   ======================== */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--t-base);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn--gradient {
  background: var(--gradient);
  color: var(--white);
}

.btn--gradient:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(94, 163, 211, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.04);
}

.btn--large {
  padding: 18px 40px;
  font-size: 16px;
}

/* Section helpers */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--perf-blue);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 64px;
}

.section-header .section-link {
  align-self: flex-start;
  color: var(--perf-blue);
  font-size: 14px;
  font-weight: 500;
  margin-top: 14px;
  transition: var(--t-fast);
}

.section-header .section-link:hover { opacity: 0.75; }

/* Fade-in scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   NAVIGATION
   ======================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--border);
  transition: background var(--t-base), border-color var(--t-base);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 42px;
  width: auto;
  display: block;
  opacity: 0.88;
  filter: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--t-fast);
  letter-spacing: 0.01em;
}

.nav__links a:hover { color: var(--white); }

.nav__cta {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 4px;
  transition: var(--t-base);
  letter-spacing: 0.02em;
}

.nav__cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(94, 163, 211, 0.28);
}

.nav__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav__menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: var(--t-base);
}

.nav__menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__menu-toggle.active span:nth-child(2) { opacity: 0; }
.nav__menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ========================
   MOBILE MENU
   ======================== */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-menu.active { transform: translateX(0); }

.mobile-menu__container {
  padding: 40px var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu ul li a {
  display: block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.025em;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.65);
  border-bottom: var(--border);
  transition: color var(--t-fast);
}

.mobile-menu ul li a:hover { color: var(--white); }

/* ========================
   HERO SECTION
   ======================== */
.hero {
  min-height: 78vh;
  padding-top: calc(var(--nav-height) + 72px);
  padding-bottom: 20px;
  background: var(--black);
  position: relative;
  overflow: hidden;
  color: #e4e2dd;
}

/* Hero visual — desktop stars background */
.hero__visual {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero__stars {
  width: 100%;
  height: 100%;
}

.hero__stars canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Globe canvas — small accent, right side of hero */
#globe-container {
  position: absolute;
  top: 55%;
  right: calc(clamp(24px, 5vw, 80px) + 40px);
  transform: translateY(calc(-50% - 50px));
  width: 374px;
  height: 374px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.365;
}

#hero-stars {
  display: none;
  position: absolute;
  top: 52%;
  right: 0;
  transform: translateY(-50%);
  width: min(62vw, 320px);
  height: min(62vw, 320px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

#hero-stars canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 1;
}

.hero__header {
  max-width: 100%;
}

.hero__sub {
  margin-top: 28px;
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(228, 226, 221, 0.5);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero__cta { margin-top: 40px; }

.hero__spacer { height: 60px; }

.hero__title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__line {
  display: block;
}

.hero__subtitle {
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ========================
   ACCORDION (Hero Services)
   ======================== */
.accordion { border-top: var(--border-light); }

.accordion__item {
  border-bottom: var(--border-light);
  overflow: hidden;
}

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  cursor: pointer;
  user-select: none;
}

.accordion__header:hover .accordion__title { color: var(--perf-blue); }

.accordion__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.accordion__number {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  width: 28px;
  flex-shrink: 0;
}

.accordion__title {
  font-size: clamp(22px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  transition: color var(--t-fast);
}

.accordion__icon {
  font-size: 28px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  transition: transform var(--t-base), color var(--t-fast);
  flex-shrink: 0;
  line-height: 1;
}

.accordion__item.active .accordion__icon {
  transform: rotate(45deg);
  color: var(--perf-blue);
}

.accordion__item.active .accordion__title { color: var(--perf-blue); }

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion__item.active .accordion__body { max-height: 420px; }

.accordion__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 0 0 40px;
  padding-left: 52px;
  align-items: start;
}

.accordion__text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 480px;
}

.accordion__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--perf-blue);
  letter-spacing: 0.02em;
  transition: var(--t-fast);
}

.accordion__link:hover { opacity: 0.75; }

/* Visual cards in accordion */
.accordion__visual {
  display: flex;
  align-items: flex-start;
}

.visual-card {
  width: 100%;
  max-width: 360px;
  height: 190px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.visual-card--strategy {
  background: linear-gradient(135deg, #0B3F53 0%, #073344 100%);
  background-image:
    linear-gradient(135deg, #0B3F53 0%, #073344 100%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: cover, 24px 24px, 24px 24px;
}

.visual-card--design {
  background: linear-gradient(135deg, #0d4a63 0%, #5EA3D3 100%);
}

.visual-card--dev {
  background: linear-gradient(135deg, #040e16 0%, #0B3F53 100%);
  background-image:
    linear-gradient(135deg, #040e16 0%, #0B3F53 100%),
    radial-gradient(rgba(94,163,211,0.12) 1px, transparent 1px);
  background-size: cover, 18px 18px;
}

.visual-card--automation {
  background: linear-gradient(135deg, #0B3F53 0%, #1e7a9e 100%);
}

.visual-card--analytics {
  background: linear-gradient(135deg, #060d14 0%, #5EA3D3 100%);
}

.visual-card__inner {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.visual-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.3);
  padding: 5px 10px;
  border-radius: 3px;
}

.visual-stat {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 4px;
}

.visual-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ========================
   STATS SECTION
   ======================== */
.stats {
  background: var(--dark-1);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 44px 0;
}

.stats__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stats__item {
  text-align: center;
  flex: 1;
}

.stats__number {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stats__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.stats__divider {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.09);
  flex-shrink: 0;
}

/* ========================
   CLIENT LOGOS
   ======================== */
.clients {
  padding: 56px 0;
  background: rgba(0, 0, 0, 0.001);
  overflow: hidden;
  border-top: var(--border);
  border-bottom: var(--border);
}

.marquee {
  overflow: hidden;
  position: relative;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 67.2px;
  animation: marquee-scroll 18s linear infinite;
  width: max-content;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.marquee__item img {
  height: 30.6px;
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
  opacity: 0.78;
  transition: opacity var(--t-fast);
}

.marquee__item:hover img { opacity: 1; }

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

/* ========================
   WORK SECTION
   ======================== */
.work {
  padding: var(--section-pad) 0;
  background: var(--near-black);
  border-top: var(--border);
}

.work__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}

.work__card {
  background: var(--dark-2);
  border: var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base);
}

.work__card:hover {
  border-color: rgba(94, 163, 211, 0.28);
  transform: translateY(-3px);
}

.work__card-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.wc--tall  { height: 300px; }
.wc--short { height: 220px; }

.wc--blue-gradient { background: linear-gradient(135deg, #0B3F53 0%, #5EA3D3 100%); }
.wc--dark          { background: linear-gradient(135deg, #080f18 0%, #0B3F53 100%); }
.wc--mid-blue      { background: linear-gradient(135deg, #1a6b8c 0%, #5EA3D3 100%); }
.wc--deep          { background: linear-gradient(135deg, #040a10 0%, #0d3a4f 100%); }

.work__card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.work__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.35);
  display: inline-block;
  padding: 5px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  align-self: flex-start;
}

.work__stat {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}

.work__stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.work__info { padding: 24px; }

.work__info h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.work__info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-bottom: 16px;
}

.work__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--perf-blue);
  transition: var(--t-fast);
}

.work__link:hover { opacity: 0.75; }

/* ========================
   ABOUT SECTION
   ======================== */
.about {
  padding: var(--section-pad) 0;
  background: var(--black);
  border-top: var(--border);
  position: relative;
  overflow: hidden;
}

.about__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.about__content {
  max-width: 800px;
  padding-right: 0;
  position: relative;
  z-index: 3;
}

.about__visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: stretch;
  width: 100%;
  max-width: none;
  min-height: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.about__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background: linear-gradient(90deg, var(--black) 0%, rgba(0, 0, 0, 0.92) 24%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0) 72%); */
  pointer-events: none;
  z-index: 2;
}

.about__stars {
  width: 100%;
  height: 100%;
}

.about__stars canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.about__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.about__body {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about__body strong {
  color: var(--white);
  font-weight: 600;
}

.about__content .btn { margin-top: 16px; }

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

.pillar {
  padding: 24px;
  background: var(--dark-2);
  border: var(--border);
  border-radius: 6px;
  transition: border-color var(--t-base);
}

.pillar:hover { border-color: rgba(94, 163, 211, 0.28); }

.pillar__icon {
  font-size: 18px;
  color: var(--perf-blue);
  margin-bottom: 12px;
  display: block;
}

.pillar h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

/* ========================
   SERVICES SECTION
   ======================== */
.services {
  padding: var(--section-pad) 0;
  /* padding-top: 30px; */
  background: var(--dark-1);
  border-top: var(--border);
}

.services__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  overflow: hidden;
}

.service-card {
  padding: 40px 36px;
  background: var(--dark-1);
  transition: background var(--t-base);
}

.service-card:hover { background: var(--dark-2); }

.service-card__number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--perf-blue);
  font-family: var(--font-mono);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.65;
}

/* ========================
   FAQ SECTION
   ======================== */
.faq {
  padding: var(--section-pad) 0;
  background: var(--black);
  border-top: var(--border);
}

.faq__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.faq__list { border-top: var(--border-light); }

.faq__item {
  border-bottom: var(--border-light);
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  user-select: none;
  gap: 24px;
}

.faq__question span:first-child {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color var(--t-fast);
}

.faq__item:hover .faq__question span:first-child { color: var(--perf-blue); }

.faq__icon {
  font-size: 24px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  transition: transform var(--t-base), color var(--t-fast);
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
  color: var(--perf-blue);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__item.active .faq__answer { max-height: 300px; }

.faq__answer p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  padding-bottom: 24px;
  max-width: 720px;
}

/* ========================
   CTA SECTION
   ======================== */
.cta-section {
  padding: var(--section-pad) 0;
  background: var(--dark-1);
  border-top: var(--border);
  position: relative;
  overflow: hidden;
}

.cta-section__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 1;
}

.cta-section__content {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.cta-section__title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.cta-section__body {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  margin-bottom: 40px;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cta-section__contact {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.cta-section__contact a {
  color: var(--perf-blue);
  transition: var(--t-fast);
}

.cta-section__contact a:hover { opacity: 0.75; }

/* ========================
   FOOTER
   ======================== */
.footer {
  background: var(--black);
  border-top: var(--border-light);
  padding: 72px 0 36px;
}

.footer__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 64px;
}

.footer__logo {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border: var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  transition: var(--t-base);
}

.footer__social a:hover {
  border-color: rgba(94, 163, 211, 0.4);
  color: var(--perf-blue);
}

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

.footer__nav-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.footer__nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.52);
  transition: color var(--t-fast);
}

.footer__nav-col ul li a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: var(--border);
}

.footer__bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.22);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.22);
  transition: color var(--t-fast);
}

.footer__legal a:hover { color: rgba(255, 255, 255, 0.55); }

/* ========================
   RESPONSIVE
   ======================== */
@media (min-width: 769px) {
  .cta-section { display: none; }
}

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }

  .about__visual { width: clamp(320px, 56vw, 640px); }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta { display: none; }

  .work,
  .about,
  .services,
  .faq,
  .cta-section {
    padding-top: 40px;
  }

  .stats {
    border-bottom: none;
  }

  .stats + section {
    border-top: none;
  }

  .btn--large {
    padding: 14px 28px;
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 36px);
    padding-bottom: 22px;
  }

  .hero__sub { margin-top: 16px; }

  .hero__cta { margin-top: 24px; }

  #globe-container { display: none; }

  #hero-stars {
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    transform: none;
    width: 100%;
  }

  .nav__menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .stats__container {
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: space-between;
  }

  .stats__divider { display: none; }

  .stats__item {
    flex: 1 1 0;
    min-width: 0;
  }

  .stats__number {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .stats__label {
    font-size: 10px;
    letter-spacing: 0.01em;
  }

  .clients {
    padding: 44px 0;
    border-bottom: none;
    background: transparent;
  }

  .marquee__item img {
    height: 24px;
  }

  .hero__title {
    font-size: 34px;
    line-height: 1.05;
  }

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


  .about__content { padding-right: 0; }

  .about__visual { display: flex; }
  .hero__visual { display: none; }


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

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

  .cta-section__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-section__actions .btn {
    text-align: center;
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .work,
  .about,
  .services,
  .faq,
  .cta-section {
    padding-top: 40px;
  }

  .btn--large {
    padding: 12px 22px;
    font-size: 14px;
  }

  .hero__title {
    font-size: 28px;
    line-height: 1.08;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 28px);
    padding-bottom: 22px;
  }

  #hero-stars {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    transform: none;
    width: 100%;
    opacity: 0.45;
  }

  .stats {
    padding: 28px 0;
  }

  .stats__container {
    gap: 8px;
  }

  .stats__number {
    font-size: 19px;
    margin-bottom: 4px;
  }

  .stats__label {
    font-size: 9px;
  }

  .clients {
    padding: 36px 0;
    border-bottom: none;
  }

  .marquee__item img {
    height: 20px;
  }

  .hero__line {
    white-space: nowrap;
  }

  .accordion__title { font-size: 22px; }
  .footer__nav { grid-template-columns: 1fr; }
  .accordion__content { padding-left: 0; }
}
