/* =========================
   BASE
========================= */
* {
  box-sizing: border-box;
}

/* =========================
   HEADER
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(0, 210, 255, 0.72);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { height: 36px; margin: 2px 6%; }

header a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #0d3c61; /* или свой цвет */
}
header a:hover {
  color: white;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(0, 210, 255, 0.72);
    padding: 15px 24px;
    display: flex;
  }

.header-contacts {
    margin: 2px 6% ;
    display: flex;
    gap: 12px;
  }

.header-contacts a {
    font-size: 16px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
  }
  
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  background-image: url('images/water-sky.jpg');
  color: #005994;
  background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
}

section {
  padding: 45px 45px;
  max-width: 1440px;
  margin: 0 auto 60px;
  background-color: #f6f8f9;
  border-top: 1px solid #F8F9FB;
  border-radius: 12px;
}

h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #212529;
}

h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #0095f7;
}

h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 15px 0;
  letter-spacing: -0.01em;
  color: #0d3c61;
}

p, li {
  color: #005994;
}

p {
  margin-bottom: 20px;
  color: #005994;
}

ul {
  padding-left: 20px;
}

small {
  color: #005994;
}

/* =========================
   BUTTON
========================= */
.btn {
  background: #41c940;
  color: #212529;
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(32, 140, 149, 0.3);
}

/* =========================
   HERO SLIDER
========================= */

.hero {padding:0px 0px; }
.hero-slider { position: relative; height: 78vh; overflow: hidden; color: #fff; padding: 0px !important;}
.hero-slides { display: flex; height: 100%; transition: transform 1.2s ease-in-out; }
.hero-slide { min-width: 100%; background-size: cover; background-position: center; filter: brightness(0.95) saturate(1.1); }
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 1440px; text-align: center; padding: 0px;}
.hero-content h1 { margin-bottom: 15px; color: #f2f2f2; }
.hero-content p { font-size: 20px; font-weight: 500; max-width: 720px; color: #fff; }
.hero-content ul { list-style: none; font-weight: 500; padding: 0; color: #fff; }
.hero-content li { margin: 6px 0; }
.hero-content img { height: 60px; margin-bottom: 24px; }

.hero-content {
  text-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* =========================
   FEATURES GRID (2x3)
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}

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

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

.card {
  background: rgb(0, 210, 255, 0.2);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 24px;
  border-radius: 16px;
  color: #004a7b;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,48,130,0.5);
}

/* =========================
   SPECS (2 COLUMNS)
========================= */
.specs-grid {
  display: flex;
  gap: 5%;
  align-items: center;
  margin-top: 12px;
}

.specs-text {
  width: 47%;
}

.specs-text ul {
  list-style: none;
  padding: 0;
}

.specs-text li {
  margin-bottom: 14px;
  font-size: 18px;
  color: #004a7b;
}

.specs-image {
  width: 47%;
}

.specs-image img {
  width: 100%;
  border-radius: 12px;
}

/* Мобильный breakpoint */
@media (max-width: 768px) {
  body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--nv-text);
    background: var(--nv-bg);
  }

  .container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 12px 16px 32px;
    box-sizing: border-box;
  }

  h1, h2, h3 {
    margin: 0 0 12px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--nv-text);
  }

  h1 {
    font-size: 22px;
    margin-top: 8px;
  }

  h2 {
    font-size: 18px;
    margin-top: 20px;
  }

  h3 {
    font-size: 16px;
    margin-top: 16px;
  }

  p {
    margin: 0 0 12px;
    color: var(--nv-text);
  }

  small,
  .text-muted {
    font-size: 13px;
    color: var(--nv-muted);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .specs-grid { flex-direction: column; }
  .specs-text, .specs-image { width: 100%; }
  .specs-image { margin-top: 5px; }

 .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 210, 255, 0.72);
  }
  .logo { height: 28px; margin-left: 2%; width: auto;}

  .header-contacts {
      flex-direction: column;
      margin: 1px 2%;
      display: flex;
      gap: 4px;
      align-items: flex-end;
    }
    .header-contacts a {
      font-size: 14px;
    }
    
    .hero {
    padding: 12px 12px;
    background: var(--nv-bg-soft);
  }

  .hero-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 14px;
    color: var(--nv-muted);
    margin-bottom: 14px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    border-radius: 999px;
    border: none;
    background: var(--nv-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }

  .btn-primary:hover {
    background: #005099;
  }

  .btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #d0d7e2;
    background: #fff;
    color: var(--nv-text);
    font-size: 14px;
    text-decoration: none;
  }
}
  
/* =========================
   CUSTOMIZATION BLOCK
========================= */
.customization {
  text-align: left;
  background:rgb(0, 210, 255, 0.1);
}

.customization-grid {
  display: flex;
  justify-content: space-between;
  gap: 4%;
  margin-top: 48px;
}

.custom-card {
  width: 30%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 16px;
}

.custom-card p {
  font-size: 18px;
  font-weight: 500;
}

.custom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

/* Адаптация под мобильные */
@media (max-width: 768px) {
  .customization-grid {
    flex-direction: column;
  }

  .custom-card {
    width: 100%;
  }
}

/* =========================
   FADE ANIMATION
========================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   FAQ
========================= */
/* Base styles */
.faq-section {
  padding: 30px 20px;
  background:rgb(0, 210, 255, 0.1);
  font-family: sans-serif;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #333;
}

/* Accordion styles */
.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Hide default arrow in some browsers */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Custom arrow indicator */
.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 20px;
  color: #666;
  line-height: 1.6;
}

.faq-item:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* Popup container */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* The actual popup (appears on top) */
.popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

/* =========================
   FORM
========================= */
input,
select {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  font-size: 16px;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #292c31;
  color: rgb(0, 210, 255, 0.9);
  padding: 40px 20px;
  text-align: center;
}
footer a {
  text-decoration: none;
  color: white; /* или свой цвет */
}
footer a:hover {
  color: #41c940;
}