* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 23px;
  line-height: 1.5;
  color: #1A202C;
  background: #F7FAFC;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.navbar {
  background: white;
  padding: 16px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  color: #CE3A1C;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1000;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item a {
  color: #2D3748;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-item a:hover {
  color: #CE3A1C;
}

.nav-item a.active {
  color: #CE3A1C;
  font-weight: 600;
}

.top {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(135deg, rgba(206, 58, 28, 0.85), rgba(22, 138, 162, 0.75)), url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.top-content {
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 900px;
  padding: 48px 24px;
}

.top h1 {
  font-size: 90px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.top p {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 32px;
  opacity: 0.95;
}

.go {
  display: inline-block;
  padding: 16px 48px;
  background: #F6BA41;
  color: #1A202C;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.go:hover {
  background: #168AA2;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 138, 162, 0.3);
}

.go-primary {
  background: #CE3A1C;
  color: white;
}

.go-primary:hover {
  background: #A62F17;
}

.block {
  padding: 64px 0;
}

.block-alt {
  background: white;
}

.block-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.block h2 {
  font-size: 64px;
  font-weight: 700;
  color: #1A202C;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.block h3 {
  font-size: 45px;
  font-weight: 600;
  color: #2D3748;
  margin-bottom: 16px;
}

.block p {
  font-size: 23px;
  color: #4A5568;
  line-height: 1.6;
}

.wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.box {
  flex: 1 1 300px;
  max-width: 350px;
  background: white;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(206, 58, 28, 0.15);
}

.box h3 {
  font-size: 32px;
  color: #CE3A1C;
  margin-bottom: 16px;
  font-weight: 600;
}

.box p {
  font-size: 16px;
  color: #4A5568;
  line-height: 1.6;
}

.box-icon {
  font-size: 45px;
  color: #168AA2;
  margin-bottom: 16px;
  display: block;
}

.item {
  flex: 1 1 280px;
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.item-content {
  padding: 24px;
}

.item h3 {
  font-size: 23px;
  color: #2D3748;
  margin-bottom: 8px;
  font-weight: 600;
}

.item p {
  font-size: 16px;
  color: #718096;
}

.progress-indicator {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  margin: 24px 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #CE3A1C, #F6BA41);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.form-area {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

.form-group {
  position: relative;
  margin-bottom: 32px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid #E2E8F0;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: transparent;
}

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

.form-group label {
  position: absolute;
  left: 16px;
  top: 16px;
  color: #718096;
  font-size: 16px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 12px;
  font-size: 11px;
  color: #CE3A1C;
  background: white;
  padding: 0 8px;
}

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

.footer {
  background: #2D3748;
  color: white;
  padding: 48px 0 24px;
  margin-top: 64px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer-section {
  flex: 1 1 250px;
}

.footer h3 {
  font-size: 23px;
  margin-bottom: 16px;
  color: white;
}

.footer p,
.footer a {
  font-size: 16px;
  color: #CBD5E0;
  line-height: 1.8;
}

.footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #F6BA41;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #4A5568;
  color: #CBD5E0;
  font-size: 16px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mt-6 { margin-top: 64px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.mb-6 { margin-bottom: 64px; }

.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
.p-5 { padding: 48px; }
.p-6 { padding: 64px; }

.highlight {
  color: #CE3A1C;
  font-weight: 600;
}

.accent-text {
  color: #168AA2;
}

.gold-text {
  color: #F6BA41;
}

.testimonial {
  background: white;
  padding: 32px;
  border-radius: 8px;
  border-left: 4px solid #CE3A1C;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.testimonial-author {
  font-weight: 600;
  color: #2D3748;
  margin-top: 16px;
  font-size: 16px;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: #168AA2;
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background: #CE3A1C;
}

.badge-accent {
  background: #F6BA41;
  color: #1A202C;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

@media screen and (min-width: 480px) {
  .top h1 {
    font-size: 64px;
  }

  .top p {
    font-size: 23px;
  }
}

@media screen and (min-width: 768px) {
  .block h2 {
    font-size: 64px;
  }

  .box {
    max-width: 380px;
  }
}

@media screen and (min-width: 1024px) {
  .top h1 {
    font-size: 90px;
  }

  .top p {
    font-size: 32px;
  }
}

@media screen and (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 999;
    flex-direction: column;
    padding: 24px;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .nav-item {
    width: 100%;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px solid #E2E8F0;
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-item a {
    display: block;
    padding: 8px;
    font-size: 16px;
  }

  .top {
    min-height: 450px;
  }

  .top h1 {
    font-size: 45px;
  }

  .top p {
    font-size: 23px;
  }

  .block h2 {
    font-size: 45px;
  }

  .block h3 {
    font-size: 32px;
  }

  body {
    font-size: 16px;
  }

  .block p {
    font-size: 16px;
  }

  .box {
    flex: 1 1 100%;
    max-width: 100%;
    clip-path: none;
    border-radius: 8px;
  }

  .item {
    flex: 1 1 100%;
  }

  .form-area {
    padding: 24px;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .container {
    padding: 0 16px;
  }
}

@media screen and (max-width: 480px) {
  .top h1 {
    font-size: 32px;
  }

  .top p {
    font-size: 16px;
  }

  .block h2 {
    font-size: 32px;
  }

  .go {
    padding: 12px 32px;
    font-size: 16px;
  }

  .logo {
    font-size: 23px;
  }
}
