.hero {
  background: linear-gradient(120deg, var(--primary) 0%, #2a7bbd 100%);
  color: white;
  padding: 5rem 1.5rem;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.brand-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 1rem;
}

.hero-image {
  width: 100%;
  max-width: 420px;
  justify-self: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(15, 47, 78, 0.08);
  padding: 2rem 1.5rem;
  position: relative;
  border: 1px solid rgba(23, 92, 143, 0.08);
  text-align: center;
}

.pricing-card--featured {
  border: 2px solid var(--accent);
  transform: scale(1.05);
  box-shadow: 0 16px 48px rgba(15, 47, 78, 0.15);
}

.badge-featured {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0.5rem 0 1rem;
  color: var(--primary-dark);
  font-size: 1.25rem;
}

.discount {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.pricing-card .description {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pricing-cta {
  display: inline-block;
  text-decoration: none;
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.pricing-cta:hover {
  background: var(--primary-dark);
}

.pricing-card--featured .pricing-cta {
  background: var(--accent);
  color: var(--text);
}

.pricing-card--featured .pricing-cta:hover {
  opacity: 0.9;
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
}

.cta {
  display: inline-block;
  margin-top: 1.5rem;
  text-decoration: none;
  background: var(--accent);
  color: var(--text);
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.section-block {
  margin-bottom: 2.5rem;
}

.intro {
  text-align: center;
  margin-bottom: 2rem;
}

.intro h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.intro p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.cards--center {
  grid-template-columns: 1fr;
  max-width: 500px;
  margin: 0 auto;
}

.card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(15, 47, 78, 0.08);
  padding: 1.5rem;
}

.card-with-image {
  position: relative;
}

.card-with-image img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.image-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(23, 92, 143, 0.9);
  color: white;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.image-badge--locations {
  background: rgba(242, 184, 75, 0.95);
  color: var(--text);
}

.location-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.location-badges span {
  background: rgba(23, 92, 143, 0.1);
  color: var(--primary-dark);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.card h3 {
  margin-top: 0;
  color: var(--primary-dark);
  display: inline-block;
  background: rgba(23, 92, 143, 0.92);
  color: white;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.card ul {
  padding-left: 0;
  margin: 1.2rem 0 0 0;
  color: var(--muted);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(245, 247, 251, 0.9);
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.98rem;
}

.subject-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(242, 184, 75, 0.25);
  border-radius: 50%;
  font-size: 1.2rem;
}

.subject-icon img {
  width: 20px;
  height: 20px;
}

.section-cta {
  display: block;
  margin: 1.5rem auto 0;
  text-decoration: none;
  background: var(--primary);
  color: white;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s ease;
  width: fit-content;
}

.section-cta:hover {
  background: var(--primary-dark);
}

.contact-section {
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(15, 47, 78, 0.08);
  padding: 2rem;
}

.section-block:nth-of-type(2) {
  background: linear-gradient(120deg, var(--primary) 0%, #2a7bbd 100%);
  color: white;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 35px rgba(15, 47, 78, 0.16);
}

.section-block:nth-of-type(4) {
  background: linear-gradient(135deg, rgba(23, 92, 143, 0.08) 0%, rgba(242, 184, 75, 0.06) 100%);
  border-radius: 24px;
  padding: 2rem 1.5rem;
}

.section-block:nth-of-type(2) .intro h2,
.section-block:nth-of-type(2) .intro p,
.section-block:nth-of-type(2) .card h3,
.section-block:nth-of-type(2) .card p {
  color: white;
}

.section-block:nth-of-type(2) .card {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.section-block:nth-of-type(2) .card p {
  color: var(--muted);
}

.contact-section h2 {
  margin-top: 0;
  color: var(--primary-dark);
}

.contact-section p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #dce5ee;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--text);
  background: white;
}

.contact-form button {
  justify-self: start;
  border: none;
  background: var(--primary);
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--primary-dark);
}

.footer {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  color: white;
  background: linear-gradient(120deg, var(--primary) 0%, #2a7bbd 100%);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 60px;
  height: 60px;
}

.footer-brand p {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.footer-locations h4,
.footer-contact h4 {
  margin: 0 0 0.8rem 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.location-list span,
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-link {
  text-decoration: none;
  color: white;
  transition: opacity 0.2s ease;
}

.contact-link:hover {
  opacity: 0.8;
}

.footer-icon {
  width: 18px;
  height: 18px;
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.85;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .cards {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding: 4rem 1rem;
  }

  .hero-image {
    max-width: 320px;
  }

  .pricing-card--featured {
    transform: scale(1);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    justify-content: center;
  }

  .location-list span,
  .contact-link {
    justify-content: center;
  }
}
