/* ==============================
   RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==============================
   BASE
================================ */
body {
  background: #000;
  font-family: 'Outfit', sans-serif;
}

/* ==============================
   HERO BLOCK
================================ */
.hero {
  position: relative;
  width: 100%;
  height: 790px;              /* как в Figma */
  overflow: hidden;
}

/* фон-картинка 1440x790 */
.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 790px;
  transform: translateX(-50%);
  object-fit: contain;
  z-index: 1;
}

/* ==============================
   MAIN MENU (1440 GRID)
================================ */
.main-menu {
  position: absolute;
  top: 20px;                  /* Y из Figma */
  left: 50%;
  width: 1440px;
  transform: translateX(-50%);
  z-index: 10;
}

/* ==============================
   MENU LAYOUT (LINES + ITEMS)
================================ */
.menu-wrap {
  position: absolute;
  left: 795px;                /* X — центр блока меню (двигаем ТОЛЬКО ТУТ) */
  display: flex;
  align-items: center;
}

/* полоски */
.menu-lines {
  width: 210px;               /* как SVG */
  height: auto;
  display: block;
}

/* ==============================
   MENU ITEMS
================================ */
.menu-items {
  display: flex;
  gap: 40px;                  /* расстояние между пунктами */
  margin-left: 25px;          /* отступ от полосок */
}

.menu-items a {
  font-size: 16px;
  font-weight: 500;           /* Medium */
  letter-spacing: 0.04em;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

/* сброс состояний ссылок */
.main-menu a,
.main-menu a:visited,
.main-menu a:hover,
.main-menu a:active {
  color: #ffffff;
  text-decoration: none;
}



/* ==============================
   HERO LOGO
================================ */

.hero-logo {
  position: absolute;
  left: 120px;     /* X = 120 */
  top: 150px;      /* Y = 150 */
  width: 550px;
  height: 145px;
  z-index: 10;
}

/* ==============================
   HERO BMW TITLE
================================ */

.hero-bmw {
  position: absolute;
  left: 120px;       /* X = 120 */
  top: 405px;        /* Y = 405 */
  font-size: 88px;
  font-weight: 500;  /* Medium */
  color: #ffffff;
  letter-spacing: 0.02em;
  z-index: 10;
  line-height: 1;
}

/* ==============================
   HERO SUBTITLE
================================ */

.hero-subtitle {
  position: absolute;
  left: 125px;              /* X = 120 */
  top: calc(405px + 88px);


  font-size: 35px;
  font-weight: 500;         /* Medium */
  color: #0BA2D3;
  letter-spacing: 0.02em;
  z-index: 10;
  line-height: 1.1;
}
/* ==============================
   HERO SOCIAL ICONS
================================ */

.hero-socials {
  position: absolute;
  left: 125px;     /* X = 125 */
  top: 670px;      /* Y = 670 */
  display: flex;
  gap: 7px;        /* расстояние между иконками */
  z-index: 10;
}

.hero-socials img {
  width: 32px;
  height: 32px;
  display: block;
}


/* teenused */


.second-block {
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
}

.second-block__inner {
  position: relative;
  width: 1440px;
  height: 800px;
  display: flex;
  align-items: center;
  padding-left: 80px;
  box-sizing: border-box;
}

/* ЛЕВАЯ ЧАСТЬ */
.second-block__content {
  max-width: 600px;
  z-index: 2;
}

/* ПРАВАЯ КАРТИНКА */
.second-block__image {
  position: absolute;
  right: 0;
  bottom: 50px; /* можно подвинуть вверх/вниз */
}

.second-block__image img {
  width: 370px;
  height: 630px;
  object-fit: contain;
  display: block;
}
.services-title {
  position: absolute;
  left: 125px;
  top: 40px;

  font-family: 'Outfit', sans-serif;
  font-weight: 800;          /* Outfit Medium */
  font-size: 64px;
  line-height: 1;

  color: #0BA2D3;
  margin: 0;
}



.services-grid {
  position: absolute;
  left: 125px;
  top: 140px; /* ниже заголовка TEENUSED */
  display: flex;
  gap: 80px;
}

.services-column {
  width: 390px;
}

.service-item {
  margin-bottom: 40px;
}

.service-title {
  position: relative;
  

  display: flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: -0.2px; 
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 23px;
  color: #0BA2D3;

  margin: 0 0 12px 0;
}



.service-title img {
  position: absolute;
  left: -48px;

  top: 50%;
  transform: translateY(-50%); /* центр по вертикали */

  width: 40px;
  height: 17px;
}

.service-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45; /* 🔑 компактнее */
  color: #000;

  margin: 0 0 8px 0; /* небольшой отступ снизу */
}

.service-item ul {
  margin: 6px 0 0 0;  /* меньше воздуха сверху */
  padding-left: 18px;
}

.service-item ul li {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;   /* Medium */
  font-size: 16px;
  line-height: 1.45;  /* 🔑 такой же ритм */
  color: #000;

  margin-bottom: 4px; /* меньше расстояние между пунктами */
}


/* ===== MINUST BLOCK ===== */

.about-block {
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
}

.about-block__inner {
  width: 1440px;
  height: 425px;
  padding: 0 125px;
  box-sizing: border-box;
  position: relative;
  overflow: visible; /* 🔑 ВАЖНО */
}

/* ===== ЛИНИЯ ===== */
.about-line-wrapper {
  position: relative;
  height: 40px;
  margin-top: 40px;

  /* 🔥 компенсация padding */
  margin-left: -125px;
  margin-right: -125px;
}

.about-line {
  width: 100%;
  height: 40px;
  display: block;
}

/* ===== ЗАГОЛОВОК ===== */
.about-title {
  position: absolute;
  left: 380px;              /* ты уже подобрала */
  top: 50%;
  transform: translateY(-50%);

  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: #0BA2D3;

  background: #ffffff;
  padding: 0 24px;
  margin: 0;
}

/* ===== КОНТЕНТ ===== */
.about-content {
  margin-top: 48px;
}

.about-text {
  max-width: 720px;
}

.about-text p {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
  color: #000;
  margin: 0 0 14px 0;
}

/* ===== ЛОГО ===== */
.about-logo {
  position: absolute;
  right: 120px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999; /* 🔥 ВАЖНО */
}
.about-logo img {
  width: 360px;
  height: auto;
  display: block;
  position: relative;
  z-index: 9999;
}


.contacts-block {
  width: 100vw;
  height: 680px;   /* ← было 580 */
  background-color: #0BA2D3;
  position: relative;
  overflow: hidden;
}


/* линии */
.lines {
  position: absolute;
  width: 420px;
  height: 60px;
}

.lines-top {
  top: -5px;              /* ← сдвиг вверх */
  left: calc(50% + 180px);
}


.lines-bottom {
  position: absolute;
  left: 150px;   /* отступ слева */
  bottom: -5px;     /* прижали к нижнему краю */
}



/* внутренняя сетка */
.contacts-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 60px 125px;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}

/* левая часть */
.contacts-info {
  width: 45%;
  color: #fff;
}

.contacts-info h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.contacts-info p {
  margin: 6px 0;
  font-size: 16px;
}

.contacts-info .company {
  margin-bottom: 20px;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.socials a {
  display: inline-flex;
  width: 28px;
  height: 28px;
}

.socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.socials a:hover img {
  transform: scale(1.1);
  opacity: 0.85;
}

/* карта */
.map {
  width: 520px;
  height: 260px;
  border-radius: 12px;
  overflow: hidden; /* важно */
  background: #eaeaea;
  margin-top: 24px;
}

.map iframe {
  width: 100%;
  height: 100%;
}


/* правая часть */
.contacts-form {
  width: 45%;
  color: #fff;
}

.contacts-form h2 {
  font-size: 48px;
  margin-bottom: 24px;
}

.contacts-form .row {
  display: flex;
  gap: 20px;
}

.contacts-form input,
.contacts-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: none;
  margin-bottom: 16px;
  font-size: 14px;
  box-sizing: border-box;
}

.contacts-form textarea {
  height: 120px;
  resize: none;
}

.contacts-form button {
  margin-top: 10px;
  padding: 14px 40px;
  border-radius: 30px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.form-title {
  font-size: 48px;
  margin-bottom: 24px;
  color: #fff;
}
html {
  scroll-behavior: smooth;
}

#services-anchor,
#about-anchor,
#contacts-anchor {
  position: relative;
  top: -120px; /* компенсируем меню */
}
