/* Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #1B3A5C;
  line-height: 1.6;
  background: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.header {
  background: #1B3A5C;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo img {
  height: 56px;
  width: auto;
}

.lang-switcher {
  display: flex;
  gap: 0.25rem;
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1.8rem;
  padding: 0.2rem 0.3rem;
  border-radius: 4px;
  line-height: 1;
  opacity: 1;
}

.lang-switcher a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

.lang-switcher a.lang-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
  display: inline-block;
  background: #D0231A;
  color: #ffffff;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  background: #b01e16;
}

/* Hero */
.hero {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__text h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  color: #1B3A5C;
  margin-bottom: 1.25rem;
}

.hero__text p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 2rem;
}

.hero__image {
  display: flex;
  justify-content: center;
}

.hero__image img {
  max-width: 340px;
  width: 100%;
}

/* How it works */
.how-it-works {
  background: #f5f7fa;
  padding: 5rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #1B3A5C;
  margin-bottom: 3rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.step__number {
  background: #D0231A;
  color: #ffffff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.3rem;
  color: #1B3A5C;
  margin-bottom: 0.5rem;
}

.step p {
  color: #555;
}

/* Why EMC */
.why-emc {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.benefit {
  padding: 2rem;
  border-left: 4px solid #D0231A;
  background: #f5f7fa;
}

.benefit h3 {
  font-size: 1.2rem;
  color: #1B3A5C;
  margin-bottom: 0.5rem;
}

.benefit p {
  color: #555;
}

/* Video */
.video-section {
  background: #1B3A5C;
  padding: 5rem 2rem;
  text-align: center;
}

.video-section .section-title {
  color: #ffffff;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* Contact */
.contact {
  padding: 5rem 2rem;
  max-width: 680px;
  margin: 0 auto;
}

.contact .section-title {
  margin-bottom: 0.5rem;
}

.contact .contact-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: #1B3A5C;
  border: 2px solid #ccc;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1B3A5C;
}

.form-group textarea {
  height: 160px;
  resize: vertical;
}

.contact-thanks {
  display: none;
  padding: 2rem;
  background: #f5f7fa;
  border-left: 4px solid #D0231A;
  font-size: 1.2rem;
  color: #1B3A5C;
}

/* Footer */
.footer {
  background: #1B3A5C;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: #ffffff;
}

/* Responsive — tablet */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero__image {
    order: -1;
  }
}

/* Responsive — mobile */
@media (max-width: 600px) {
  .hero {
    padding: 3rem 1.5rem;
  }

  .hero__text h1 {
    font-size: 2rem;
  }

  .how-it-works,
  .why-emc,
  .video-section,
  .contact {
    padding: 3rem 1.5rem;
  }

  .header {
    padding: 0.75rem 1.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .benefits {
    grid-template-columns: 1fr;
  }
}
