* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Oswald", sans-serif;
  color: #fff;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("./img/hero.jpg") no-repeat center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  z-index: 1;
}

/* затемнение */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.589);
  z-index: -1;
}

.navbar {
  width: 100%;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 20px;
  border-radius: 30px;
}

.logo img {
  width: 250px;
  height: 60px;
  object-fit: cover;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 5rem;
}
.nav-links,
.nav-btn {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 1px;
}
.nav-links a {
  cursor: pointer;
  color: #f3f3f3;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #b10000;
}

.nav-btn {
  border: 1px solid #f3f3f3;
  background: none;
  padding: 8px 20px;
  color: #f3f3f3;
  border-radius: 20px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.3s ease;
}
.nav-btn:hover {
  color: #b10000;
}
.hero h1 {
  font-family: "Anton", sans-serif;
  font-size: 6.5rem;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 3px;
}

.hero p {
  font-family: "Roboto Condensed", sans-serif;
  margin-top: 20px;
  font-size: 1.7rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero .cta-btn {
  margin-top: 25px;
  background: #b10000;
  border: none;
  color: #f3f3f3;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero .cta-btn:hover {
  background: #810000;
}

.services {
  width: 100%;
  padding: 80px 0; /* убрал боковые паддинги */
  background: #fff;
  color: #333;
}

.services-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.services-text {
  flex: 1;
  padding-left: 10%; /* только слева даём отступ */
}

.services-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.services-text p {
  width: 80%;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #555;
}

.services-image {
  flex: 1;
  text-align: right;
  margin-right: 0; /* убираем отступ */
}

.services-image img {
  width: 100%;
  height: auto;
  display: block;
}

.services-icons {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 60px;
  padding: 0 10%;
}

.icon-box {
  flex: 1;
  text-align: center;
  padding: 20px;
}

.icon {
  width: 70px;
  height: 70px;
  border: 2px solid #b10000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  font-size: 1.8rem;
  color: #b10000;
}

.icon-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.icon-box p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}
.operate-section {
  display: flex;
  width: 100%;
  min-height: 400px;
}

.operate-text {
  width: 50%;
  background-color: #750000; /* твой цвет */
  color: white;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.operate-section .operate-text h2 {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}

.operate-section .operate-text p {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #eaeaea;
}

.operate-map {
  width: 50%;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.operate-map {
  padding: 3rem;
}
.operate-map img {
  width: 80%;
  height: auto;
  filter: grayscale(100%);
  object-fit: contain;
}

.reviews-section {
  padding: 60px 20px;
  text-align: center;
  color: #333;
}

.reviews-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.slider {
  position: relative;
  max-width: 920px;
  margin: 0 auto 0;
  overflow: hidden;
}

#brokerTitle {
  margin-top: 5rem !important;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
}

.slide p {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.slide span {
  display: block;
  font-weight: bold;
  color: #b10000;
  font-size: 1rem;
}
.reviews-section .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; /* одинаковая ширина */
  height: 36px; /* одинаковая высота */
  border-radius: 50%;
  border: 2px solid #b10000;
  background: #fff;
  color: #b10000;
  font-size: 20px; /* стрелка чуть меньше */
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0; /* убрали высоту текста */
  padding: 0; /* убрали отступы */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.reviews-section .nav-btn:hover {
  background: #b10000;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.reviews-section .nav-btn.left {
  left: 12px;
}

.reviews-section .nav-btn.right {
  right: 12px;
}
.contact {
  display: flex;
  justify-content: center;
  padding: 5rem 0;
  background-color: #750000;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #1b1b1b;
  padding: 3rem 4rem;
}

.form-desc {
  text-align: center;
  margin-bottom: 2rem;
}

.form-title {
  font-family: "Geometria-med", sans-serif;
  font-size: 36px;
}

.form-subtitle {
  margin-top: 1rem;
  font-family: "Geometria-regular", sans-serif;
  font-size: 18px;
}

.form-fields {
  font-size: 14px;
}

.form-fields,
.form-container select {
  width: 100%;
  padding: 15px;
  margin-bottom: 1.5rem;
  background: #1b1b1b;
  border: 1px solid #797979f3;
  outline: none;
  color: #f3f3f3f3;
}

.form-container label {
  display: block;
  font-family: sans-serif;
  margin-bottom: 1rem;
}

.form-container select option {
  font-size: 14px;
}

.experience-label {
  font-family: sans-serif;
  font-size: 20px;
  display: block;
  margin-bottom: 0.5rem;
}

.required-note {
  color: #aa0101;
  font-weight: bold;
  margin-left: 0.25rem;
}

.error-msg {
  color: #aa0101;
  font-size: 14px;
  margin-top: 0.25rem;
  display: none;
  transition: opacity 0.3s ease;
}
.error-msg.show {
  display: block;
  opacity: 1;
}

.experience-radio label {
  display: flex;
  cursor: pointer;
  font-family: sans-serif;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.375em;
}

/* скрываем input */
.experience-radio label input {
  position: absolute;
  left: -9999px;
}

/* когда input выбран */
.experience-radio label input:checked + span {
  background-color: #9696961b;
}

.experience-radio label input:checked + span:before {
  box-shadow: inset 0 0 0 0.4375em #818181;
}

/* сам span */
.experience-radio label span {
  display: flex;
  align-items: center;
  padding: 0.375em 0.75em 0.375em 0.375em;
  border-radius: 99em;
  transition: 0.25s ease;
}

/* наведение */
.experience-radio label span:hover {
  background-color: #9696961b;
}

/* кружочек перед текстом */
.experience-radio label span:before {
  display: flex;
  flex-shrink: 0;
  content: "";
  background-color: #9696961b;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  margin-right: 0.375em;
  transition: 0.25s ease;
  box-shadow: inset 0 0 0 0.125em #818181;
}

.form-button {
  margin: 2rem auto 0 auto;
  display: block;
  background: #551919;
  padding: 16px 34px;
  color: white;
  font-family: "Geometria-med", sans-serif;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.12s ease, background 0.12s ease;
  border: none;
  cursor: pointer;
}

.form-button:hover {
  background: #5c1919;
}
.checkbox-wrapper-33 {
  --s-xsmall: 0.625em;
  --s-small: 1.2em;
  --border-width: 1px;
  --c-primary: #7c0000;
  --c-primary-20-percent-opacity: rgba(232, 17, 64, 0.2);
  --c-primary-10-percent-opacity: rgba(232, 17, 46, 0.1);
  --t-base: 0.4s;
  --t-fast: 0.2s;
  --e-in: ease-in;
  --e-out: cubic-bezier(0.11, 0.29, 0.18, 0.98);
  margin-top: 2rem;
}

.checkbox-wrapper-33 .visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.checkbox-wrapper-33 .checkbox {
  display: flex;
}

.checkbox-wrapper-33 .checkbox + .checkbox {
  margin-top: var(--s-small);
}

.checkbox-wrapper-33 .checkbox__symbol {
  display: inline-block;
  display: flex;
  margin-right: calc(var(--s-small) * 0.7);
  border: var(--border-width) solid var(--c-primary);
  position: relative;
  border-radius: 0.1em;
  width: 1.5em;
  height: 1.5em;
  transition: box-shadow var(--t-base) var(--e-out),
    background-color var(--t-base);
  box-shadow: 0 0 0 0 var(--c-primary-10-percent-opacity);
}

.checkbox-wrapper-33 .checkbox__symbol:after {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  width: 0.25em;
  height: 0.25em;
  background-color: var(--c-primary-20-percent-opacity);
  opacity: 0;
  border-radius: 3em;
  transform: scale(1);
  transform-origin: 50% 50%;
}

.checkbox-wrapper-33 .checkbox .icon-checkbox {
  width: 2em;
  height: 1em;
  margin: auto;
  fill: none;
  stroke-width: 3;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
  color: var(--c-primary);
  display: inline-block;
}

.checkbox-wrapper-33 .checkbox .icon-checkbox path {
  transition: stroke-dashoffset var(--t-fast) var(--e-in);
  stroke-dasharray: 30px, 31px;
  stroke-dashoffset: 31px;
}

.checkbox-wrapper-33 .checkbox__textwrapper {
  margin: 0;
  color: rgb(156, 156, 156);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
.checkbox__textwrapper a {
  color: #aa0101;
}
.checkbox-wrapper-33 .checkbox__trigger:checked + .checkbox__symbol:after {
  -webkit-animation: ripple-33 1.5s var(--e-out);
  animation: ripple-33 1.5s var(--e-out);
}

.checkbox-wrapper-33
  .checkbox__trigger:checked
  + .checkbox__symbol
  .icon-checkbox
  path {
  transition: stroke-dashoffset var(--t-base) var(--e-out);
  stroke-dashoffset: 0px;
}

.checkbox-wrapper-33 .checkbox__trigger:focus + .checkbox__symbol {
  box-shadow: 0 0 0 0.25em var(--c-primary-20-percent-opacity);
}

@-webkit-keyframes ripple-33 {
  from {
    transform: scale(0);
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: scale(20);
  }
}

@keyframes ripple-33 {
  from {
    transform: scale(0);
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: scale(20);
  }
}
/* === Footer styles – локальные === */
.footer {
  background: #1b1b1b;
  color: #f3f3f3f3;
  padding: 4rem 0; /* py-16 */
  text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial;
}
.footer a {
  color: #f3f3f3;
}
.footer .footer-container {
  max-width: 1200px;
  margin: 0 auto 1.5rem; /* mb-6 */
  padding: 0 1rem; /* px-4 */
}

.footer .footer-logo-link {
  display: block;
  text-align: center;
}
.footer-logo-link img {
  width: 300px !important;
  height: 100px;
  object-fit: cover;
}
.footer .footer-company {
  margin-bottom: 1rem; /* mb-4 */
  font-size: 1.5rem; /* text-2xl */
  font-weight: 800; /* font-extrabold */
  text-transform: uppercase;
  line-height: 1.1;
}

.footer .footer-contact {
  margin-bottom: 0.5rem; /* mb-2 */
  font-size: 1.125rem; /* text-lg */
}

.footer .footer-contact-link {
  text-decoration: none;
  cursor: pointer;
}
.footer .footer-contact-link:hover,
.footer .footer-contact-link:focus {
  text-decoration: underline;
  text-decoration-color: #000; /* hover:decoration-black */
  outline: none;
}

.footer .footer-address {
  font-size: 1.125rem; /* text-lg */
}

/* Responsive (sm:) */
@media (min-width: 640px) {
  .footer .footer-logo {
    width: 10rem;
  }
  .footer .footer-company {
    font-size: 1.875rem; /* text-3xl */
  }
  .footer .footer-contact,
  .footer .footer-address {
    font-size: 1.5rem; /* text-2xl */
  }
}

/* _____________________________________ */

/* ===== ADAPTIVE STYLES ===== */

/* --- Laptop / Tablet --- */
@media (max-width: 1024px) {
  .nav-links {
    gap: 2rem;
  }
  .hero h1 {
    font-size: 4rem;
  }
}

/* --- Tablet & Mobile --- */
@media (max-width: 768px) {
  /* NAVBAR */
  .nav-links {
    display: none; /* прячем все ссылки */
  }

  .navbar {
    justify-content: space-between;
    padding: 10px 20px;
  }

  .logo img {
    width: 180px;
    height: 80px;
  }

  .nav-btn {
    display: inline-block;
    font-size: 0.95rem;
    padding: 8px 18px;
  }

  /* HERO */
  .hero h1 {
    font-size: 4rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 10px 24px;
  }

  /* SERVICES */
  .services-container {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }

  .services-text {
    padding: 0;
  }

  .services-text h2 {
    font-size: 2rem;
  }

  .services-text p {
    width: 100%;
  }

  .services-image {
    margin-top: 20px;
    text-align: center;
  }

  .services-icons {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  /* OPERATE SECTION */
  .operate-section {
    flex-direction: column;
  }

  .operate-text,
  .operate-map {
    width: 100%;
    padding: 2rem;
  }

  .operate-section .operate-text h2 {
    font-size: 1.8rem;
  }

  .operate-section .operate-text p {
    font-size: 1rem;
  }

  /* REVIEWS */
  .reviews-section h2 {
    font-size: 1.6rem;
  }

  .slide p {
    font-size: 1rem;
  }

  /* CONTACT FORM */
  .contact {
    padding: 3rem 1rem;
  }

  .form-container {
    padding: 2rem 1.5rem;
  }

  .form-title {
    font-size: 1.8rem;
  }

  .form-subtitle {
    font-size: 1rem;
  }
}

/* --- Small Mobile --- */
@media (max-width: 480px) {
  .navbar{
    padding: 10px;
  }
  .hero {
    height: 600px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .logo img {
    width: 180px;
    height: 60px;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .nav-btn {
    font-size: 0.85rem;
    padding: 6px 14px;
  }
  .footer {
    padding: 4rem 1rem;
  }
  .footer-logo-link img {
    width: 170px !important;
    height: 60px;
  }
}
