*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #333;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #111;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
}

/* ─── HEADER ─────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 3rem;
  width: auto;
  display: block;
}

a:hover {
  color: #4B4EF7;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.site-nav li a {
  font-size: 16px;
  font-weight: 600;
  color: #7a7a7a;
  padding: 13px 20px;
  display: block;
  transition: color 0.2s;
}

.site-nav li a:hover {
  color: #4B4EF7;
}

.site-nav li:not(:last-child)::after {
  content: '|';
  color: #cccccc;
}

/* ─── HEADER CONTACTS ────────────────────────────────── */
.header .contacts {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.875rem;
}

.header .contacts a {
  color: #555;
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  white-space: nowrap;
  transition: color 0.2s;
  border-left: 1px solid #e8e8e8;
}

.header .contacts a:first-child {
  border-left: none;
}

.header .contacts a:hover {
  color: #4B4EF7;
}

/* ─── HEADER NAV ──────────────────────────────────────── */
.header nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.header nav ul li {
  display: flex;
  align-items: center;
}

.header nav ul li a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #555;
  padding: 0.5rem 1rem;
  display: block;
  transition: color 0.2s;
  white-space: nowrap;
}

.header nav ul li a:hover {
  color: #4B4EF7;
}

.header nav ul li:not(:last-child)::after {
  content: '|';
  color: #ddd;
  line-height: 1;
  align-self: center;
}

/* ─── HERO SECTION ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  background-color: #ffffff;
  background-image: url('https://betep.ee/wp-content/uploads/2025/03/Artboard-1.png');
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  padding: 80px 60px 60px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 560px;
  z-index: 2;
}

.hero-content h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 500;
  color: #111;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 15px;
  color: #333;
  margin-bottom: 36px;
  text-align: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── LEGEND ─────────────────────────────────────── */
.legend {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px 28px 20px;
  max-width: 420px;
  box-shadow: 0 4px 24px rgba(75,78,247,0.08);
}
.legend h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #111;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.legend h4 {
  font-size: 1.25rem;
  font-weight: 400;
  color: #111;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.legend h4:last-child {
  margin-bottom: 0;
}

.phone-input-row {
  display: flex;
  align-items: stretch;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 12px;
}

.phone-flag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #f5f5f5;
  border-right: 1px solid #d0d0d0;
  font-size: 14px;
  color: #555;
  white-space: nowrap;
}

.phone-flag img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
  display: inline-block;
}

.phone-input-row input[type="tel"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 14px;
  
  font-size: 15px;
  color: #333;
  background: transparent;
}

.btn-continue {
  background: #4B4EF7;
  color: #ffffff;
  border: none;
  padding: 15px 30px;

  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-continue:hover {
  background: #3a3de0;
}

.phone-form-skip {
  font-size: 13px;
  color: #888888;
  text-align: left;
}

.phone-form-skip a {
  color: #888888;
  text-decoration: underline;
  font-size: 13px;
}

.phone-form-skip a:hover {
  color: #4B4EF7;
}

/* ─── CONTACT QUICK ──────────────────────────────────── */
.contact-quick {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e8eeed;
}

.contact-quick h3 {

  font-size: 18px;
  font-weight: 600;
  color: #6EC1E4;
  margin-bottom: 6px;
}

.contact-quick p {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
  text-align: left;
}

.contact-email-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-email-icon {
  width: 40px;
  height: 40px;
  background: #E8EEFD;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-email-icon svg {
  width: 18px;
  height: 18px;
  fill: #6EC1E4;
}

.contact-email-badge span {

  font-size: 15px;
  font-weight: 500;
  color: #555;
}

/* ─── STEPS SECTION ──────────────────────────────────── */
.steps {
  background: linear-gradient(180deg, #E8EEFD 0%, #ffffff 100%);
  padding: 4rem 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 2px 12px rgba(75,78,247,0.07);
}

.step-num-icon {
  position: relative;
  flex-shrink: 0;
}

.step-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;

  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step-badge.num { background: #FF6B6B; }
.step-badge.check { background: #FF6B6B; }

.step-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.step-icon-placeholder {
  width: 68px;
  height: 68px;
  background: #E8EEFD;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-placeholder svg {
  width: 36px;
  height: 36px;
  stroke: #4B4EF7;
  fill: none;
}

.step-text h3 {

  font-size: 18px;
  font-weight: 600;
  color: #6EC1E4;
  margin-bottom: 8px;
}

.step-text p {
  font-size: 14px;
  color: #888888;
  line-height: 1.5;
}

/* ─── MAP SECTION ───────────────────────────── */
.map {
  position: relative;
}
.map .container {
  padding: 4rem 1.5rem;
}
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 0;
}
.map-legend {
  position: relative;
  max-width: 20rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 1rem;;
  z-index: 10;
}
.map-legend h3 {
  line-height: 1.3;
  margin-bottom: 1rem;
}
.map-legend h4 {
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: .75rem;
}

/* ─── CONTACT FORM SECTION ───────────────────────────── */
.contact-form {
  background: #E8EEFD;
  padding: 3rem 1.5rem;
}

.contact-form .container {
  max-width: 60rem;
  width: 100%;
  margin: 0 auto;
}

.contact-form h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333333;
  text-align: center;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.contact-form .subtitle {
  text-align: center;
  font-size: 1rem;
  color: #333;
  margin-bottom: 2rem;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.half {
  grid-column: span 1;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  
  font-size: 12px;
  font-weight: 500;
  color: #888888;
  text-transform: capitalize;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #ffffff;
  border: 1px solid #d8dfe8;
  border-radius: 6px;
  padding: 14px 16px;
  
  font-size: 14px;
  color: #555555;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4B4EF7;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.btn-submit-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.btn-submit {
  background: #9ba4d3;
  color: #ffffff;
  border: none;
  padding: 15px 50px;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #4B4EF7;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  grid-column: 1 / -1;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form-status--ok {
  background: #e6f9f0;
  color: #1a7a4a;
  border: 1px solid #a3e0c1;
}

.form-status--err {
  background: #fff0f0;
  color: #c0392b;
  border: 1px solid #f5a9a9;
}

/* ─── STOCK SECTION ─────────────────────────────────── */
.stock {
  padding: 4rem 1.5rem;
}

.stock h2 {
  text-align: center;
  margin-bottom: 2rem;;
}

.stock-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 72rem) {
  .stock-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 52rem) {
  .stock-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 34rem) {
  .stock-list {
    grid-template-columns: 1fr;
  }
}

.stock-card {
  min-width: 16rem;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.stock-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.stock-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stock-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.stock-card-details {
  list-style: none;
  font-size: 0.8rem;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
  flex: 1;
}

.stock-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4B4EF7;
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: #B0B6B6;
  padding: 2rem 0;
  text-align: center;
}

.follow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #888888;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

.social li a {
  width: 2.5rem;
  height: 2.5rem;
  background: #E8EEFD;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4B4EF7;
  transition: background 0.2s, color 0.2s;
}

.social li a:hover {
  background: #4B4EF7;
  color: #ffffff;
}

.social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.contacts {
  font-size: 13px;
  color: #333;
  line-height: 1.7;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 720px) {
  .header .contacts .address,
  .header .contacts .email {
    display: none;
  }

  .header .contacts .phone {
    border-left: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 16px 24px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    padding: 60px 24px 60px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-content p {
    margin-left: 0;
    margin-right: 0;
  }

  .phone-form-wrap {
    max-width: 100%;
  }

  .steps-section {
    padding: 60px 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 60px 24px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group.half {
    grid-column: span 1;
  }

  .site-footer {
    padding: 40px 24px 24px;
  }
}

@media (max-width: 600px) {
  .site-nav {
    display: none;
  }
}
