@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;
}

/* ========== BASE ========== */
html {
  scroll-behavior: smooth;
}

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: 90px;
  margin-left: 90px;
  position: fixed !important;
  top: 16px;
  left: 16px;
  right: 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;
  /* outline: 1px solid #D9D9D9;
  outline-offset: 4px;
  border-radius: 1px; */
}

.btn-login .usermenu,
.btn-login .dropdown,
.btn-login .btn.dropdown-toggle {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: #fff !important;
}

/* Сброс Bootstrap-стилей на ссылке входа */
.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;
}

/* Дропдаун — скрыт по умолчанию, в т.ч. когда Moodle ставит .show */
.dropdown-menu {
  display: none;
}

.usermenu-container .dropdown.show .dropdown-menu {
  display: none;
}

/* Открывается только по нашему классу .open */
.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); }

/* ========== BANNER / HERO ========== */
.banner {
  width: 100%;
  padding: 60px 90px 0px 90px;
}

.banner-container {
  max-width: 100%;
  margin-top: 50px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: clamp(10px, 15px, 100px);
}

.hero-content {
  flex: 0 0 50%;
  max-width: 100%;
  z-index: 1;
}

.hero-title {
  font-size: 64px;
  font-weight: 600;
  line-height: 120%;
  padding-bottom: 2rem;
}

.hero-title .highlight {
  color: #add5ff;
}

.hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: white;
  line-height: 1.7;
  margin-bottom: 16px;
  /* text-wrap: balance;          */
}

.hero-desc + .hero-desc {
  margin-bottom: 48px;
}

.banner-image {
  flex: 1;
  text-align: right;
}

.banner-image img {
  width: 800px;
  max-width: 100%;
  height: 600px;
  /* width: 800px;
  height: 600px; */
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #271dcd;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 16px 32px;
  font-size: 24px;
  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;
}

/* ========== CLIENTS ========== */
.clients {
  margin-top: 2rem;
  padding: 50px 90px 20px 90px;
  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 18s 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 90px 100px 90px;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 120%;
  margin-bottom: 64px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.advantage-card {
  padding: 0 48px 0 0;
  border-right: 1px solid #666d80;
}

.advantage-card:first-child { padding-left: 0; }
.advantage-card:nth-child(2) { padding-left: 48px; }
.advantage-card:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 48px;
}

.adv-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #666d80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.adv-title {
  font-size: 32px;
  font-weight: 500;
  line-height: 120%;
  padding-bottom: 2rem;
}

.adv-list {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adv-list li {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 140%;
  margin-bottom: 20px;
}

/* ========== VIDEO ========== */
.video-section {
  padding: 100px 90px 100px 90px;
}

.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;
}

/* .video-thumbnail:hover {
  filter: brightness(0.9);
}

.video-thumbnail img:hover {
  filter: grayscale(1) brightness(5);
}; */

.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 90px 90px 100px;
  background: #010214;
}

.faq .section-title { margin-bottom: 48px; }

.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 90px 20px 90px;
  background: #010214;
  position: relative;
}

.footer-card {
  background: var(--bg-footer);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.footer-card-body {
  display: grid;
  grid-template-columns: 260px 1fr 220px;
  gap: 80px;
  padding: 56px;
}

.footer-tagline { font-size: 16px; color: #fdfdfd; }

.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;
  margin-bottom: 12px;
}

.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-size: 15px;
  position: relative;
  text-decoration: none;
  color: #fdfdfd;
  transition: color 0.3s ease,
              transform 0.3s ease;
}
/* 
.footer-nav li a:hover { 
  border-bottom: 1px solid white;
  color: var(--text-primary); 
} */

.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 80px 0 80px; }

.footer-bg-text img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  
}

/* p a:hover {
  text-decoration: underline;
}  */

/* ========== 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) {
  /* NAVBAR */
  .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 */
  .banner { padding: 80px 20px 24px; }

  .banner-container {
    flex-direction: column;
    gap: 32px;
    margin: 0 auto;
  }

  .hero-content { max-width: 100%; text-align: center; }
  .hero-title { font-size: 36px; }
  .hero-desc { font-size: 15px; }

  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
  }

  /* 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; }
  .section-title { font-size: 32px; margin-bottom: 40px; }
  .advantages-grid { grid-template-columns: 1fr; gap: 40px; }

  .advantage-card {
    padding: 0 0 40px 0 !important;
    border-right: none !important;
    border-bottom: 1px solid #666d80;
  }

  .advantage-card:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
  }

  .adv-title { font-size: 22px; padding-bottom: 1rem; }
  .adv-list li { font-size: 16px; margin-bottom: 10px; }

  /* 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 .section-title { font-size: 32px; margin-bottom: 32px; }
  .faq-question { font-size: 15px; }
  .faq-answer { font-size: 14px; }
  .faq-toggle { width: 32px; height: 32px; }

  /* FOOTER */
  .footer-wrap { padding: 0 16px 40px; }
  .footer-card-body { grid-template-columns: 1fr; gap: 36px; padding: 32px 24px; }
  .footer-card-bottom { padding: 16px 24px; text-align: center; }
  .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) {
  .hero-title      { font-size: 28px; }
  .section-title   { font-size: 26px; }
  .video-header h2 { font-size: 22px; }
  .adv-title       { font-size: 20px; }
}
