.partners-carousel{position:relative;margin-top:1.5rem}
/* CSS Variables fallback (base.css might not be loaded) */
:root{
  --primary-color:#192941;
  --secondary-color:#C9EEE8;
  --accent-color:#ffffff;
  --overlay-color:rgba(16,29,49,0.95);
  --transition-fast:0.3s ease;
  --transition-medium:0.5s ease;
  /* Use non-negative z-indexes to avoid Safari stacking issues */
  --z-video:0;
  --z-scrim:1;
  --z-hero-content:2;
  --z-header:50;
  --z-menu:60;
  --header-height:4rem;
}
.partners-carousel{overflow:hidden}
.partners-track{display:flex;gap:2.5rem;align-items:center;animation:marq 28s linear infinite;will-change:transform}
.partner-item{height:90px;width:160px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;filter:grayscale(100%);opacity:.9}
.partner-item img{max-height:70px;max-width:140px;object-fit:contain}
@keyframes marq{0%{transform:translateX(0)}100%{transform:translateX(var(--marq-shift,-50%))}}

/* Support icons sizing */
.why-item__icon svg{width:40px;height:40px}

/* Quote section fixed background */
#quote{background-attachment:fixed;background-repeat:no-repeat}
/* Components CSS - Header, Hero, Menu */

/* ===== HEADER ===== */
header {
  height: var(--header-height);
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent-color);
  z-index: var(--z-header);
  transition: all var(--transition-fast);
  background: transparent;
}

/* Header states */
header.black,
header.floated {
  position: fixed;
  background-color: var(--overlay-color);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Header elements */
.header__logotype {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.header__logotype span {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 2em;
  font-family: var(--font-primary);
  transition: all var(--transition-fast);
}

.header-logo {
  height: 3.5em;
  width: auto;
  max-width: 200px;
  transition: all var(--transition-fast);
  filter: brightness(1);
  display: block;
  object-fit: contain;
  vertical-align: middle;
}

.header__logotype:hover span {
  color: var(--secondary-color);
  transform: scale(1.05);
}

.header__logotype:hover .header-logo {
  filter: brightness(1.2);
  transform: scale(1.05);
}

.header__menu {
  margin-right: auto;
  margin-left: 2em;
  cursor: pointer;
}

.header__menu span {
  display: inline-block;
  vertical-align: middle;
  font-weight: 500;
  font-size: 2em;
  transition: all var(--transition-fast);
}

.header__menu:hover span {
  transform: translateX(-0.5em);
  color: var(--secondary-color);
}

.header__cta {
  margin-left: 1.5em;
}

.header__cta-btn {
  display: inline-block;
  padding: 0.6em 1.2em;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  text-decoration: none;
  transition: all var(--transition-fast);
  background: transparent;
}

.header__cta-btn:hover {
  background: transparent;
  color: var(--accent-color);
}

/* ===== HEADER MENU ===== */
.header-menu {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-menu);
  width: 100%;
  height: 100vh;
  padding-bottom: 0;
  background-color: var(--overlay-color);
  backdrop-filter: blur(15px);
  padding-top: 10em;
  transition: all var(--transition-fast);
}

.header_menu-opened .header-menu {
  background-color: var(--overlay-color);
  backdrop-filter: blur(15px);
}

.header-menu .menu-title {
  text-align: center;
  margin-bottom: 3em;
  color: var(--accent-color);
}

.header-menu .menu-title-line {
  font-size: 2.5em;
  margin: 0 0 0.5em 0;
  opacity: 0.9;
  line-height: 1.2;
}

.header-menu .list {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 40vh;
  margin: 0;
  padding: 0;
}

.header-menu .list li {
  margin-bottom: 1em;
}

.header-menu .list li a {
  font-size: 2.5em;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.header-menu .list li a:hover {
  color: var(--accent-color);
  transform: translateX(10px);
}

.header-menu .close-icon {
  display: block !important;
  width: 3em;
  height: 3em;
  position: absolute;
  right: 1.5em;
  top: 2em;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("../img/menu-close.a61828afc5a4.svg");
  opacity: 0.9;
  transition: all var(--transition-fast);
  cursor: pointer;
  filter: brightness(1.2);
  z-index: 100;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
}

.header-menu .close-icon:hover {
  opacity: 1;
  transform: rotate(90deg);
  filter: brightness(1.5);
}

.header-menu .close-text {
  display: block;
  font-size: 2.5em;
  color: var(--accent-color);
  font-weight: bold;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Если SVG загрузился, скрываем текст */
.header-menu .close-icon[style*="background-image"] .close-text {
  display: none;
}

/* ===== HERO SECTION ===== */
#main {
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
  width: 100vw;
  min-height: 100svh;
  overflow: hidden;
}

#main .container {
  position: relative;
  z-index: var(--z-hero-content);
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
}

#main .row {
  width: 100%;
  margin: 0;
}

#main .col-12 {
  padding: 0;
  text-align: center;
}

/* Hero background */
.main__bg-video {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: var(--z-video);
  margin: 0;
  padding: 0;
}

.main__bg-scrim {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-scrim);
  background: linear-gradient(
    to bottom,
    rgba(16, 29, 49, 0.7),
    rgba(16, 29, 49, 0.5) 40%,
    rgba(16, 29, 49, 0.7)
  );
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Hero content */
.main__headline {
  font-size: 2em;
  text-align: center;
  margin: 0 0 3em 0;
  padding: 0;
  color: var(--accent-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.main__headline span {
  line-height: 1.1;
  font-size: 4em;
}

.main__sub {
  text-align: center;
  font-size: 2em;
  margin: 0 0 3em 0;
  line-height: 1.4;
  color: var(--accent-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.main__btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

.main__btn {
  display: inline-block;
  vertical-align: middle;
  width: 18em;
  height: 4em;
  line-height: 4em;
  border: 2px solid var(--accent-color) !important;
  text-align: center;
  margin: 0 0.5em;
  transition: all var(--transition-medium);
  text-decoration: none;
  background: transparent !important;
  position: relative;
  z-index: var(--z-hero-content);
}

.main__btn span {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1em;
  color: var(--accent-color);
  position: relative;
  z-index: var(--z-hero-content);
}

/* Ensure CTA text stays inside boundaries */
.main__btn span { display: inline-block; padding: 0 1.25em; line-height: inherit; }

.main__btn:hover {
  background-color: var(--accent-color) !important;
}

.main__btn:hover span {
  color: var(--primary-color);
}

.main__btn_blue {
  background-color: transparent !important;
  border: 2px solid var(--accent-color) !important;
  border-radius: 0;
}

.main__btn_blue span {
  color: var(--accent-color) !important;
}

.main__btn_blue:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.main__btn_blue:hover span {
  color: var(--primary-color) !important;
}

/* Mouse animation */
@keyframes pulsar {
  0% { transform: translateY(0); }
  50% { transform: translateY(1.05em); }
  100% { transform: translateY(0); }
}

.main__mouse {
  margin-top: 3em;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.main__mouse .mice {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("../img/main-mouse.2e36cad14866.svg");
  width: 2em;
  height: 3em;
  margin-left: auto;
  margin-right: auto;
  animation: pulsar 2s infinite;
}

.main__mouse:after {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: calc(100vh - 6.5em);
  background-color: var(--accent-color);
  left: calc(50% - 0.5px);
  top: 6.5em;
}

/* Explicit straight white line under mouse till bottom of hero (JS positions top) */
.main__mouse-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0;
  background: var(--accent-color);
  pointer-events: none;
  z-index: 10; /* above video and scrim */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1466px) {
  #main .container {
    padding-top: 5em;
  }
}

@media (max-width: 768px) {
  #main .container {
    padding-top: 4em;
  }
  
  .main__headline span {
    font-size: 2.5em;
  }

  .main__sub {
    font-size: 1.2em;
  }
  
  .main__sub br {
    display: none;
  }

  .main__btn-row {
    flex-direction: column;
    gap: 0.8em;
  }

  .main__btn {
    width: 14em;
    height: 3.5em;
    line-height: 3.5em;
    margin: 0;
  }
    
  .main__btn_blue {
    margin-bottom: 0;
  }
  
  .header-menu .list li a {
    font-size: 2.2em;
  }
  
  .header-menu {
    padding-top: 8em;
  }
  
  .header-menu .close-icon {
    top: 1em;
    right: 2em;
  }
}

@media (max-width: 767px) {
  header {
    font-size: 5px;
  }

  .header__menu {
    margin-left: 4em;
  }

  .header-logo {
    height: 2.5em;
    max-width: 150px;
  }

  header.floated .header-logo,
  header.black .header-logo {
    height: 2.2em;
    max-width: 130px;
  }
}

@media (max-width: 640px), (prefers-reduced-motion: reduce) {
  /* Keep video visible on mobile; provide poster as background fallback */
  #main { background: url("../media/hero-poster.3a78fec2c726.jpeg") center/cover no-repeat; }
  /* Add gradient overlay over poster to match desktop scrim */
  #main::before {
    content: '';
    position: absolute; left: 0; top: 0; right: 0; bottom: 0;
    background: linear-gradient(
      to bottom,
      rgba(16, 29, 49, 0.7),
      rgba(16, 29, 49, 0.5) 40%,
      rgba(16, 29, 49, 0.7)
    );
    z-index: var(--z-scrim);
    pointer-events: none;
  }
  /* Allow content to extend beyond viewport on small screens */
  #main { overflow: visible; }
  /* Hide bouncing mouse and vertical line on mobile */
  .main__mouse, .main__mouse-line { display: none !important; }
  /* Small spacing after CTA buttons */
  .main__btn-row { margin-bottom: 0.75rem; }
  /* iOS fix: background-attachment fixed breaks on mobile */
  #trial, #quote { background-attachment: scroll !important; }
}

/* Hide mouse/line on tablets too */
@media (max-width: 1024px) {
  .main__mouse, .main__mouse-line { display: none !important; }
}

/* Tablet portrait tuning */
@media (min-width: 640px) and (max-width: 1024px) and (orientation: portrait) {
  #main .container { padding-top: 4.25em; min-height: 100svh; }
  .main__headline span { font-size: 2.4em; line-height: 1.08; }
  .main__sub { font-size: 1.1em; margin-bottom: 1.1em; line-height: 1.35; }
  .main__btn { width: 13em; height: 3.2em; }
  .main__btn-row { gap: 0.6em; margin-bottom: 0.9rem; }
  .main__btn span { display:flex; align-items:center; justify-content:center; height:100%; line-height:1; }
  /* Header brand fine alignment on tablets */
  #site-header .brand-img, #site-header .brand-text { position: relative; top: -2px; }
}

/* Tablet landscape tuning: ensure hero fits and CTA centered */
@media (min-width: 640px) and (max-width: 1024px) and (orientation: landscape) {
  #main .container { padding-top: 3.6em; min-height: 100svh; }
  .main__headline span { font-size: 2.1em; line-height: 1.05; }
  .main__sub { font-size: 1.0em; margin-bottom: 0.9em; line-height: 1.3; }
  .main__btn { width: 12.5em; height: 3em; }
  .main__btn-row { gap: 0.6em; margin-bottom: 0.8rem; }
  .main__btn span { display:flex; align-items:center; justify-content:center; height:100%; line-height:1; }
  #site-header .brand-img, #site-header .brand-text { position: relative; top: -2px; }
}

/* Landscape tuning to ensure hero fits on screen */
@media (orientation: landscape) and (max-height: 600px) {
  #main .container { padding-top: 3.5em; min-height: 100svh; }
  .main__headline span { font-size: 2em; }
  .main__sub { font-size: 1.1em; margin-bottom: 1.2em; }
  .main__btn { width: 12em; height: 3em; }
  .main__btn-row { gap: 0.5em; margin-bottom: 0.75rem; }
  .main__btn span { display:flex; align-items:center; justify-content:center; height:100%; line-height:1; }
  /* Header brand vertical alignment in horizontal orientation */
  #site-header .brand-img { position: relative; top: -2px; }
  #site-header .brand-text { position: relative; top: -2px; }
}

/* Ensure hero fully fits on tall phones as well */
/* iPhone 15/15 Pro portrait (390x844) and similar: tighter hero */
@media (max-width: 430px) and (max-height: 900px) {
  #main .container { padding-top: 3.25em; min-height: 100svh; }
  .main__headline span { font-size: 2.1em; line-height: 1.05; }
  .main__sub { font-size: 1.0em; margin-bottom: 0.9em; line-height: 1.35; }
  .main__btn { width: 11.5em; height: 2.8em; }
  .main__btn-row { gap: 0.5em; margin-bottom: 0.75rem; }
  .main__btn span { display:flex; align-items:center; justify-content:center; height:100%; line-height:1; font-size: 0.82em; letter-spacing: normal; }
}

/* iPhone 15 landscape (932x430 logical) and other short landscapes */
@media (orientation: landscape) and (max-height: 500px) {
  #main .container { padding-top: 3.2em; min-height: 100svh; }
  .main__headline span { font-size: 1.8em; line-height: 1.05; }
  .main__sub { font-size: 0.95em; margin-bottom: 0.8em; line-height: 1.3; }
  .main__btn { width: 11em; height: 2.6em; }
  .main__btn span { display:flex; align-items:center; justify-content:center; height:100%; line-height: 1; font-size: 0.78em; letter-spacing: normal; }
}

/* Galaxy S22 landscape and similar very short viewports */
@media (orientation: landscape) and (max-height: 420px) {
  .main__headline span { font-size: 1.6em; }
  .main__sub { font-size: 0.9em; margin-bottom: 0.6em; }
  .main__btn { width: 10.5em; height: 2.4em; }
  .main__btn span { font-size: 0.76em; }
  .main__btn-row { margin-bottom: 0.9rem; }
}

/* Stronger scrim over poster on phones */
@media (max-width: 640px) {
  #main .main__bg-scrim {
    background: linear-gradient(
      to bottom,
      rgba(16, 29, 49, 0.78),
      rgba(16, 29, 49, 0.58) 40%,
      rgba(16, 29, 49, 0.78)
    );
  }
}

/* ===== CARD COMPONENTS ===== */

/* Solution Cards - Skycast Style (Image 3/4, Text 1/4) */
.solution-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    height: 520px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.solution-card__image {
    height: 75%; /* 3/4 of card */
    width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
}

.solution-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem 1rem 0 0;
}

.solution-card__body {
    height: 25%; /* 1/4 of card */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 1rem;
    background: white;
    flex-shrink: 0;
    flex-grow: 0;
}

.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #11264A;
    line-height: 1.2;
}

.solution-card p {
    color: #666;
    flex-grow: 1;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Case Cards */
.case-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-card__image {
    transform: scale(1.05);
}

.case-card__body {
    padding: 1.5rem;
}

.case-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #11264A;
}

.case-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Service Items - Not Cards, More Text */
.service-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
}

.service-item__icon {
    margin-bottom: 1.5rem;
}

.service-item__icon i {
    font-size: 4rem;
    color: #C8F1EB;
    margin-bottom: 1rem;
    display: block;
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #11264A;
}

.service-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.service-item .service-details {
    background: rgba(200, 241, 235, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.service-item .service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item .service-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(200, 241, 235, 0.3);
    color: #11264A;
}

.service-item .service-details li:last-child {
    border-bottom: none;
}

.service-item .service-details li:before {
    content: "✓";
    color: #C8F1EB;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Support Items */
.support-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.support-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.support-item__icon {
    margin-bottom: 1.5rem;
}

.support-item__icon i {
    font-size: 3rem;
    color: #C8F1EB;
    margin-bottom: 1rem;
}

.support-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #11264A;
}

.support-item p {
    color: #666;
    line-height: 1.6;
}

/* ===== FORM COMPONENTS ===== */

/* Form Cards */
.trial-form,
.quote-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ===== RICH TEXT (CKEditor output) ===== */
.prose h1, .prose h2, .prose h3, .prose h4 { color: #0f172a; margin-top: 1.25rem; margin-bottom: 0.75rem; font-weight: 700; }
.prose h1 { font-size: 1.875rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose p { color: #334155; line-height: 1.7; margin: 0.75rem 0; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.prose ol { list-style: decimal; padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.prose li { margin: 0.25rem 0; }
.prose a { color: #1d4ed8; text-decoration: underline; }

.form-label {
    font-weight: 600;
    color: #11264A;
    margin-bottom: 0.5rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    color: #0b1220;
}

.form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255,255,255,0.9);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.35);
}

.form-check-input:checked {
    background-color: #C8F1EB;
    border-color: #C8F1EB;
}

/* ===== PARTNERS CAROUSEL ===== */
.partners-carousel {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    /* Transparent track so cards are visually separated on section background */
    background: transparent;
}

.partners-track {
    display: flex;
    animation: scroll-partners 30s linear infinite;
    gap: 2.5rem; /* slightly tighter spacing */
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(var(--marq-shift, -50%)); }
}

.partner-item {
    flex-shrink: 0;
    width: 160px; /* unified cell size */
    height: 90px; /* unified cell size */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.5rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden; /* clip oversized scaled logos to card */
}

.partner-item:hover {
    background: rgba(255, 255, 255, 1);
}

.partner-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* заполняет ячейку по большей стороне, сохраняя пропорции */
    /* keep brand colors (no grayscale) */
    transform-origin: center center;
    display: block; /* avoid inline gaps/baseline shifts */
    will-change: transform; /* smoother per-item scaling */
}

/* Per-brand visual normalisation (filename-based) */

.partner-item img[src$="/newtec.svg"],
.partner-item img[src$="/telenor.svg"],
.partner-item img[src*="newtec.svg"],
.partner-item img[src*="telenor.svg"] {
    transform: scale(1.5);
}

.partner-item img[src$="/ses.svg"],
.partner-item img[src$="/starlink.svg"],
.partner-item img[src*="ses.svg"],
.partner-item img[src*="starlink.svg"] {
    transform: scale(0.75);
}

/* Further bump Telenor */
.partner-item img[src$="/telenor.svg"],
.partner-item img[src*="telenor.svg"] {
    transform: scale(2.25);
}

/* Optional grayscale mode (no SVG edits needed) */
.partners-gray .partner-item img {
    filter: grayscale(100%);
}

/* ===== WHY SATCAST SECTION ===== */
.why-satcast {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
}

.why-satcast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../media/hero-poster.3a78fec2c726.jpeg") center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.why-satcast .container {
    position: relative;
    z-index: 2;
}

.why-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.why-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.why-item__icon {
    font-size: 0; /* reset for svg sizing */
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.why-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.why-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Unified SVG icon treatment (Why + Support) */
.why-item__icon svg {
    width: 28px;
    height: 28px;
    display: inline-block;
}

/* 24/7 Support: double icon size */
#support .why-item__icon svg {
    width: 56px;
    height: 56px;
}

/* ===== SECTION STYLING ===== */

/* Solutions Section - Clean White */
#solutions {
    background: #f8f9fa;
    padding: 5rem 0;
}

/* Services Section - Light Background */
#service {
    background: linear-gradient(135deg, rgba(200, 241, 235, 0.1), rgba(200, 241, 235, 0.05));
    padding: 5rem 0;
}

/* Cases Section - Styling is controlled in template for hybrid version */

/* Support background removed to let template classes control it */
/* (intentionally no #support background rule) */

/* Reveal animations for split sections */
.reveal-left { opacity: 0; transform: translateX(-40px) translateY(12px) scale(0.95); transition: opacity 1333ms ease, transform 1333ms ease; }
.reveal-right { opacity: 0; transform: translateX(40px) translateY(12px) scale(0.95); transition: opacity 1333ms ease, transform 1333ms ease; }
.reveal-visible { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
.reveal-delay { transition-delay: 200ms; }

@media (max-width: 768px) {
  /* Disable reveal animations on mobile/tablets */
  .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Also disable reveal (set visible) in landscape with small height (phones/tablets) */
@media (orientation: landscape) and (max-height: 600px) {
  .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* About Section - Clean */
#about {
    background: white;
    padding: 5rem 0;
}

/* Form Sections - With Background */
#trial {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.45)), 
                url("../media/back2.c72aa324d079.jpg") center/cover no-repeat fixed;
    color: white;
    padding: 5rem 0;
}

#quote {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
                url("../media/back.acc3f4dc4262.jpg") center / cover no-repeat fixed;
    color: white;
    padding: 5rem 0;
}

#trial .sec-headline,
#trial .sec-sub,
#quote .sec-headline,
#quote .sec-sub {
    color: white;
}

/* Partners Section - force white background across breakpoints */
#partners {
    background: #ffffff !important;
    padding: 3rem 0;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

@media (max-width: 768px) {
    .solution-card,
    .case-card,
    .service-card,
    .support-item {
        margin-bottom: 1.5rem;
    }
    
    .trial-form,
    .quote-form {
        padding: 1.5rem;
    }
}
