@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* ========== RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ========== VARIABLES ========== */
:root {
  --bg-primary: #0b0e1a;
  --bg-secondary: #111525;
  --bg-card: #161a2e;
  --bg-footer: #12151f;
  --accent-blue: #2e5bff;
  --accent-blue-hover: #1A1387;
  --text-primary: #ffffff;
  --text-secondary: #8a92a8;
  --text-muted: #5a6178;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --Neutral-gray-10: #3B3E48;
  --card-bg-tint: rgba(255, 255, 255, 0.1);
  --card-bg-accent-0: rgba(39, 29, 205, 0);
  --card-bg-accent-1: rgba(39, 29, 205, 0.15);
  --card-bg-accent-2: rgba(39, 29, 205, 0.4);
  --card-number-color: #271DCD33; 
  --card-heading-color: #e8e7f5;
  --card-text-color: #D2D7DB;
  --page-bg: #101116;
  --container-max: 1504px;
  --gutter: max(90px, calc((100% - var(--container-max)) / 2));
}

/* ========== BASE ========== */
html {
  scroll-behavior: smooth;
  background: none !important;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #010214;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  -webkit-user-drag: none;
}

.wrap-all {
  margin: 10px 20px 0 20px;
}

/* ========== MOODLE OVERRIDES ========== */
.popover-region,
#region-main {
  display: none !important;
}

/* ========== NAVBAR ========== */
.navbar {
  margin-right: var(--gutter);
  margin-left: var(--gutter);
  position: fixed !important;
  top: 16px;
  width: auto !important;
  height: 64px !important;
  z-index: 999;
  display: flex;
  align-items: center !important;
  justify-content: space-between;
  padding: 0 40px;
  background: #010214b2 !important;
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light) !important;
  border-radius: 16px;
  overflow: visible;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.2em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3em;
  list-style: none;
  margin: 0 !important;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  color: #AEB2B5
}

.nav-links a:focus {
  color: white;
  background: transparent;
  box-shadow: 0 0 0 0 white !important;
  outline: 1px solid white;
  outline-offset: 7px;
  border-radius: 1px;
}

li {
  background: transparent;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-search {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.nav-search:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-search svg {
  stroke: rgba(255, 255, 255, 0.7);
}

.login-btn-hidden {
  z-index: 99 !important;
  width: 79px;
  height: 36px;
  background: #271dcd;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-btn-hidden:focus {
  z-index: 99 !important;
  outline: 1px solid #D9D9D9 !important;
  outline-offset: -5px !important;
  border-radius: 10px !important;
}

.login-btn-hidden:hover {
  z-index: 0;
  background: var(--accent-blue-hover);
}

.btn-login a:focus {
  color: white;
  background: transparent;
  box-shadow: 0 0 0 0 white !important;
}

.btn-login .usermenu,
.btn-login .dropdown,
.btn-login .btn.dropdown-toggle {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: #fff !important;
}

.btn-login a,
.btn-login .btn,
.btn-login .logininfo a {
  color: #fff !important;
  text-decoration: none !important;
  display: block !important;
}

.btn-login .ps-2 {
  padding-left: 0 !important;
}

/* ========== USER DROPDOWN ========== */
.usermenu-container {
  position: relative;
}

.usermenu-container .dropdown {
  position: relative;
}

.usermenu-container .btn.dropdown-toggle {
  background: transparent;
  border: none;
  padding: 4px 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.usermenu-container .btn.dropdown-toggle::after {
  display: none;
}

.usermenu-container .userinitials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.dropdown-menu {
  display: none;
}

.usermenu-container .dropdown.show .dropdown-menu {
  display: none;
}

.usermenu-container .dropdown.open .dropdown-menu {
  display: block;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 9999;
  min-width: 220px;
  background: #161a2e;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 6px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.dropdown-menu .dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  white-space: nowrap;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.dropdown-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.dropdown-menu .dropdown-divider {
  border-top: 1px solid var(--border);
  margin: 6px 0;
}

.usermenu-container .carousel-item {
  display: none;
}

.usermenu-container .carousel-item.active {
  display: block;
}

.usermenu-container .header {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
}

.usermenu-container .header .btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.usermenu-container .items {
  max-height: 200px;
  overflow-y: auto;
}

/* Burger (mobile only) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


@media (max-width: 1100px) {
  .navbar {
    top: 0;
    left: 0;
    right: 0;
    height: 56px !important;
    padding: 0 16px;
    border-radius: 0;
    margin: 0;
  }

  .navbar .logo img {
    max-height: 35px;
    max-width: 100px;
  }

  .burger { display: flex; }
  .nav-left { gap: 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0;
    background: rgba(11, 14, 26, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }

  .nav-links li a {
    display: block;
    padding: 12px 24px;
    font-size: 15px;
  }

  .nav-right { gap: 8px; }

  .usermenu-container .dropdown.open .dropdown-menu {
    top: auto;
    bottom: calc(100% + 8px);
  }
}

/* ========== BANNER / HERO ========== */
.banner {
  width: 100%;
  padding: clamp(24px, 4.55cqw, 40px) var(--gutter) 0px var(--gutter);
  container-type: inline-size;
  container-name: banner;
}

.banner-container {
  max-width: 100%;
  margin-top: clamp(20px, 3.8cqw, 50px);
  margin-bottom: clamp(12px, 2.3cqw, 30px);
  display: flex;
  align-items: center;
  gap: clamp(24px, 4cqw, 80px);
}

.hero-content {
  flex: 1 1 42%;
  min-width: 0;
  max-width: 100%;
  z-index: 1;
}

.hero-title {
  font-size: clamp(20px, 4.9cqw, 60px);
  font-weight: 600;
  line-height: 120%;
  padding-bottom: 0.5em;
}

.hero-title .highlight {
  color: #add5ff;
}

.hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, 1.55cqw, 16px);
  font-weight: 400;
  color: white;
  line-height: 1.7;
  margin-bottom: 0.8em;
}

.hero-desc + .hero-desc {
  margin-bottom: 2.4em;
}

.banner-image {
  flex: 1 1 46%;
  min-width: 0;
  text-align: right;
}

.banner-image img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 800 / 600;
  object-fit: cover;
  margin-left: auto;
  border-radius: clamp(6px, 0.9cqw, 12px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.8cqw, 10px);
  height: clamp(44px, 4.85cqw, 60px);
  background: #271dcd;
  color: #fff;
  border: none;
  border-radius: clamp(8px, 1.2cqw, 16px);
  padding: clamp(10px, 1.2cqw, 16px) clamp(18px, 2.4cqw, 32px);
  font-size: clamp(15px, 1.8cqw, 20px);
  font-weight: 500;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  text-decoration: none;
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
}

.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-primary:focus {
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0) !important;
  background: #271DCD;
  z-index: 99 !important;
  outline: 1px solid #D9D9D9 !important;
  outline-offset: -5px !important;
}

.arrow {
  margin-left: 0.5em;
}

@media (max-width: 800px) {
  .banner-container {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(24px, 5cqw, 48px);
  }
  .hero-content {
    flex: 1 1 auto;
    text-align: center;
  }
  .banner-image {
    flex: 1 1 auto;
    text-align: center;
  }
  .banner-image img {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========== CLIENTS ========== */
.clients {
  margin-top: 2rem;
  padding: 30px var(--gutter) 20px var(--gutter);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.clients-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: white;
  white-space: nowrap;
  height: 80px;
  align-content: center;
  padding-right: 40px;
  border-right: 1px solid white;
  margin-right: 40px;
  flex-shrink: 0;
}

.clients-logos {
  display: flex;
  align-items: center;
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.clients-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  animation: scrollLogos 35s linear infinite;
}

@keyframes scrollLogos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-logo {
  padding: 0 2rem;
  display: flex;
  align-items: center;
}

.client-logo img {
  opacity: 0.8;
  max-width: 150px;
  object-fit: contain;
  height: 90px;
  flex-shrink: 0;
  filter: grayscale(100%) invert(1) brightness(1.5) contrast(1);
  mix-blend-mode: screen;
  transition: opacity 0.3s, filter 0.3s;
}

.client-logo-invert img {
  filter: brightness(0) invert(1);
}

.client-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

/* ========== ADVANTAGES ========== */

.advantages {
  padding: 100px var(--gutter) 0 var(--gutter);
  container-type: inline-size;
  container-name: advantages;
}

.advantages .section-title {
  padding-bottom: 1rem;
  font-size: clamp(26px, 2.34vw + 14.75px, 50px);
  font-weight: 600;
}

.section-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 120%;
  color: #FDFDFD;
}

.cards {
  padding-top: 2em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2%, 60px);
  width: 100%;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 552 / 446;
  padding: clamp(16px, 4.7%, 32px) clamp(20px, 9.5%, 56px) clamp(20px, 7%, 40px) clamp(16px, 4.7%, 32px);
  border-radius: 16px;
  border: 1px solid var(--Neutral-gray-10, #3B3E48);
  background:
    linear-gradient(0deg, var(--card-bg-tint), var(--card-bg-tint)),
    linear-gradient(149.36deg, var(--card-bg-accent-0) 73.36%, var(--card-bg-accent-1) 92.59%, var(--card-bg-accent-2) 111.82%);
  overflow: hidden;
}

.card:hover {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)),
  linear-gradient(149.36deg, rgba(39, 29, 205, 0) 73.36%, rgba(39, 29, 205, 0.15) 92.59%, rgba(39, 29, 205, 0.4) 111.82%);
}

.card__number {
  position: absolute;
  top: clamp(-2px, -2%, 4px);
  left: clamp(8px, 3%, 24px);
  padding-top: clamp(4px, 1cqw, 16px);
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(50px, 9cqw, 160px);
  line-height: 120%;
  letter-spacing: 0%;
  color: var(--card-number-color);
  pointer-events: none;
  user-select: none;
}

.card__heading {
  position: relative;
  margin: 0 0 0.5em 0;
  padding-top: clamp(54px, 5.5cqw, 280px);
  font-size: clamp(18px, 1.8cqw, 50px);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: var(--card-heading-color);
}

.card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  margin-top: clamp(16px, 4%, 60px);
}

.card__body p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  margin-bottom: 1em;
  font-size: clamp(10px, 1.8cqw, 17px);
  line-height: 1.5;
  color: var(--card-text-color);
}

.card__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1650px) {
  .card {
    aspect-ratio: auto;
    min-height: 340px;
  }
  .card__number {
    font-size: clamp(56px, 18cqw, 150px);
  }
  .card__heading {
    font-size: clamp(14px, 3.15cqw, 30px);
    padding-top: clamp(56px, 12cqw, 100px);
  }
  .card__body p {
    font-size: clamp(10px, 1.8cqw, 15px);
  }
}

@media (max-width: 1175px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .card {
    aspect-ratio: auto;
    min-height: 340px;
  }
  .card__number {
    font-size: clamp(56px, 18cqw, 480px);
  }
  .card__heading {
    font-size: clamp(14px, 3.15cqw, 30px);
    padding-top: clamp(56px, 10cqw, 300px);
  }
  .card__body p {
    font-size: clamp(14px, 1.8cqw, 18px);
  }
}

@media (max-width: 680px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    aspect-ratio: auto;
    min-height: 380px;
  }
  .card__number {
    font-size: clamp(56px, 36cqw, 480px);
  }
  .card__heading {
    font-size: clamp(18px, 6.3cqw, 60px);
    padding-top: clamp(56px, 20cqw, 300px);
  }
  .card__body p {
    font-size: clamp(14px, 4.2cqw, 40px);
  }
}

/* ========== VIDEO ========== */
.video-section {
  padding: 100px var(--gutter) 100px var(--gutter);
}

.video-header {
  margin-bottom: 60px;
}

.video-header h2 {
  font-size: 50px;
  font-weight: 600;
  line-height: 120%;
  padding-bottom: 1rem;
}

.video-header p {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 120%;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 17 / 9;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(59, 130, 246, 0.05));
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: filter 0.3s ease;
}

.play-icon {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: #010214;
  border: 1px solid #3B3E48;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon:hover {
  background: #3B3E48;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 85vh;
  margin: auto;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.modal-video { width: 100%; height: 100%; }

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1001;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.close-button:hover { background: rgba(0, 0, 0, 0.8); }

/* ========== FAQ ========== */
.faq {
  padding: 100px var(--gutter) 90px var(--gutter);
  background: #010214;
}

.faq .section-title {
  margin-bottom: 48px;
  font-size: clamp(26px, 2.34vw + 14.75px, 50px);
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s ease;
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  cursor: pointer;
  user-select: none;
  transition-delay: 0.5s;
}

.faq-question {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}

.faq-toggle {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.faq-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}

.faq-item.open .faq-toggle { background: rgba(255, 255, 255, 0.1); }

.faq-toggle svg {
  stroke: var(--text-primary);
  transition: transform 0.7s;
}

.faq-item.open .faq-toggle svg { transform: rotate(180deg); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s ease-in-out;
}

.faq-item.open .faq-body { max-height: 300px; }

.faq-answer {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #fdfdfd;
  line-height: 1.7;
  padding-bottom: 24px;
}

.faq-answer a { color: #add5ff; text-decoration: none; position: relative;  transition: color 0.3s ease,
              transform 0.3s ease;}
.faq-answer a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 0.6px;
  background: #add5ff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease-in-out
}

.faq-answer a:hover { height: 0.6px; }

.faq-answer a:hover::after {
  transform: scaleX(1);
  height: 0.6px;
  transform-origin: left;
}

.faq-answer a:focus {
  color: #add5ff;
  background: transparent;
  box-shadow: 0 0 0 0 white !important;
}

/* ========== FOOTER ========== */
.footer-wrap {
  padding: 0 var(--gutter) 20px var(--gutter);
  background: #010214;
  position: relative;
}

.footer-card {
  background: var(--bg-footer);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  container-type: inline-size;
  container-name: footer-card;
}

.footer-card-body {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  padding: 56px;
}

.footer-brand {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-contacts {
  flex: 2 1 200px;
  min-width: 240px;
}

.footer-card-body > div:last-child {
  flex: 1 1 160px;
  min-width: 140px;
}

@media (max-width: 1000px) {
  .footer-card-body {
    flex-direction: column;
    gap: 36px;
    padding: 32px 24px;
  }
  .footer-card-bottom {
    padding: 16px 24px;
    text-align: center;
  }
}

.footer-tagline { font-size: 16px; color: #fdfdfd; margin-top: 24px !important}

.footer-col-title {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: #aeb2b5;
  margin-bottom: 24px;
}

.footer-contacts p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.footer-contacts a { color: #add5ff; text-decoration: none; position: relative;  transition: color 0.3s ease,
              transform 0.3s ease;}

.footer-contacts p a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 0.6px;
  background: #add5ff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease-in-out
}

.footer-contacts p a:hover {
  height: 0.6px;
}

.footer-contacts p a:hover::after {
  transform: scaleX(1);
  height: 0.6px;
  transform-origin: left;
}

.footer-contacts a:focus {
  color: #add5ff;
  background: transparent;
  box-shadow: 0 0 0 0 white !important;
}

.footer-nav {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav li a {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  position: relative;
  text-decoration: none;
  color: #fdfdfd;
  transition: color 0.3s ease,
              transform 0.3s ease;
}

.footer-nav li a:focus {
  color: white;
  background: transparent;
  box-shadow: 0 0 0 0 white !important;
}

.footer-nav li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 0.8px;
  background: white;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease-in-out
}

.footer-nav li a:hover {
  height: 0.8px;
}

.footer-nav li a:hover::after {
  transform: scaleX(1);
  height: 0.8px;
  transform-origin: left;
}

.footer-card-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 56px;
}

.footer-bottom-inner { color: #aeb2b5; font-family:'Inter', sans-serif; font-size: 16px; font-weight: 400;}

.footer-bg-text { pointer-events: none; margin: 0 var(--gutter) 0 var(--gutter); }

.footer-bg-text img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > *:nth-child(1) { animation: fadeInUp 0.7s 0.1s ease both; }
.hero-content > *:nth-child(2) { animation: fadeInUp 0.7s 0.2s ease both; }
.hero-content > *:nth-child(3) { animation: fadeInUp 0.7s 0.3s ease both; }
.hero-content > *:nth-child(4) { animation: fadeInUp 0.7s 0.4s ease both; }

/* ========== MOBILE (≤ 768px) ========== */
@media (max-width: 768px) {

  .banner { padding: 80px 20px 24px; }

  .btn-primary {
    /* width: 100%; */
    justify-content: center;
  }

  /* CLIENTS */
  .clients {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 20px;
    gap: 24px;
  }

  .clients-label {
    border-right: none;
    border-bottom: 1px solid white;
    padding-right: 0;
    padding-bottom: 16px;
    margin-right: 0;
    font-size: 18px;
  }

  .client-logo { padding: 0 1.2rem; }
  .client-logo img { max-width: 60px; }

  /* ADVANTAGES */
  .advantages { padding: 60px 20px; }

  /* VIDEO */
  .video-section { padding: 60px 20px; }
  .video-header { margin-bottom: 32px; }
  .video-header h2 { font-size: 28px; padding-bottom: 0.5rem; }
  .video-header p { font-size: 16px; }
  .modal-content { width: 95%; height: 70vh; }

  /* FAQ */
  .faq { padding: 60px 20px; }
  .faq-question { font-size: 15px; }
  .faq-answer { font-size: 14px; }
  .faq-toggle { width: 32px; height: 32px; }

  /* FOOTER */
  .footer-wrap { padding: 0 16px 40px; }
  .footer-bg-text { padding: 24px 0 10px; }
  .footer-contacts p { font-size: 14px; }
  .footer-nav li a { font-size: 14px; }
}

/* ========== SMALL PHONES (≤ 480px) ========== */
@media (max-width: 480px) {
  .video-header h2 { font-size: 22px; }
}