/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial,
               sans-serif;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ddd;
  z-index: 9999;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left {
  color: #4A76A8;
  font-weight: bold;
}
.right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap; /* важно: запрещаем перенос */
}

/* ===== CONTACTS ===== */
.contacts {
  display: flex;
  gap: 12px;
  align-items: center;
}

.contacts a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s ease;
}

.contacts a:hover {
  color: #000;
}

/* ===== LANG SWITCH ===== */
.lang {
  display: flex;
  gap: 6px;
}

.lang a {
  padding: 4px 8px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  border-radius: 4px;
  transition: 0.2s ease;
}

.lang a:hover {
  background: #eaeaea;
}

/* ===== HERO ===== */


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 50, 0.45);
}

.hero-content {
  position: relative;
  max-width: 800px;
  padding: 20px;
}

.hero {
  min-height: 300px;
  height: 45vh;

  background: url('pics/hero.jpg') center 25% / cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

/* ===== CONTENT ===== */
.container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

.section {
  background: #fff;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
}

h2 {
  color: #0077cc;
}
.services {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 60px auto;
    max-width: 1100px;
    padding: 0 20px;
}

.service-card {
    position: relative;
    flex: 0 1 280px;   /* фиксируем нормальную ширину */
    max-width: 320px;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
    color: white;
}


.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    transform: scale(1);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 50, 0.45);
    z-index: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover img {
    transform: scale(1.03);
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 15px;
}

.overlay h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.overlay p {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .services {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        max-width: 100%;
    }
}
.contact-float {
    position: fixed;
    right: 20px;
    bottom: 20px;

    display: flex;
    flex-direction: column;
    gap: 10px;

    z-index: 9999;
}

/* кнопки */
.cf-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 16px;

    border-radius: 50px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    box-shadow: 0 10px 25px rgba(0,0,0,0.2);

    transition: 0.2s ease;

    white-space: nowrap;
}

/* hover */
.cf-item:hover {
    transform: scale(1.05);
}

/* WhatsApp */
.cf-item.whatsapp {
    background: #25D366;
    color: white;
}

/* Phone */
.cf-item.phone {
    background: #e9ecef;
    color: #2ecc71; /* ВАЖНО: это красит SVG */
}

/* Email */
.cf-item.email {
    background: #d6d6d6;
    color: #555;
}

/* SVG иконка */
.icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
@media (max-width: 768px) {

  .header-inner {
    padding: 10px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .right {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 13px;
  }

  .lang {
    display: flex;
    gap: 6px;
  }

}
.hero-video{
    min-height:300px;
    height:45vh;
    background:url('pics/video.jpg') center center/cover no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
    position:relative;
}

.hero-video::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(10,25,50,.45);
}

.hero-video h1{
    position:relative;
    z-index:2;
    font-size:42px;
}

.video-content{
    max-width:900px;
    margin:40px auto;
    padding:20px;
}

.btn{
    display:inline-block;
    margin-top:25px;
    padding:12px 22px;
    background:#4A76A8;
    color:#fff;
    text-decoration:none;
    border-radius:6px;
}

.btn:hover{
    background:#335d8a;
}
.hero-video{
    background: url('pics/video.jpg') center center / cover no-repeat;
}
.hero-valve{
    background: url('pics/valve.jpg') center center / cover no-repeat;
}
.hero-lp{
    background: url('pics/lp.jpg') center center / cover no-repeat;
}
.logo {
  text-decoration: none;
  color: #4A76A8;
  font-weight: 700;
  font-size: 16px;
}