:root {
  --brand-blue: #001f92;
  --brand-blue-light: #0b52ff;
  --brand-dark: #0f172a;
  --brand-muted: #475569;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --border: #dbe4f1;
  --accent: #e32a44;
  --corner-radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--brand-dark);
  background: var(--surface-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(960px, 100% - 32px);
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
  color: var(--surface);
  padding: 96px 0 88px;
  text-align: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 700;
}

.hero p {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-list {
  margin: 32px 0 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-list li::before {
  content: "•";
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.25rem;
  line-height: 1;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--surface);
  color: var(--brand-blue);
  box-shadow: 0 14px 40px rgba(0, 47, 255, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(0, 47, 255, 0.28);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--surface);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--surface);
  transform: translateY(-2px);
}

main {
  padding: 80px 0;
}

main.container {
  padding: 0;
}

section {
  background: var(--surface);
  border-radius: var(--corner-radius);
  padding: 48px clamp(24px, 5vw, 56px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

section + section {
  margin-top: 40px;
}

section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 2.8vw, 2.1rem);
  line-height: 1.2;
  color: var(--brand-blue);
}

section h3 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
  color: var(--brand-blue);
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--brand-muted);
}

li + li {
  margin-top: 10px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

.button-row .btn-primary,
.button-row .btn-secondary {
  margin: 0;
}

.cities-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 24px;
  padding-left: 0;
  list-style: none;
}

.cities-list li {
  background: var(--surface-muted);
  border-radius: 999px;
  padding: 10px 18px;
  text-align: center;
  font-weight: 500;
  color: var(--brand-blue);
  border: 1px solid var(--border);
}

.card {
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  text-align: center;
}

.card p {
  color: var(--brand-muted);
  margin: 0 auto 28px;
  max-width: 520px;
}

.card .btn-primary {
  box-shadow: none;
  background: var(--brand-blue);
  color: var(--surface);
}

.card .btn-primary:hover,
.card .btn-primary:focus-visible {
  background: var(--brand-blue-light);
}

.card .btn-secondary {
  color: var(--brand-blue);
  border-color: rgba(15, 23, 42, 0.15);
}

.section-intro {
  margin: 0 0 28px;
  color: var(--brand-muted);
  max-width: 620px;
}

.testimonials .section-intro {
  margin-bottom: 36px;
}

.testimonial-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial-card {
  background: var(--surface-muted);
  border-radius: var(--corner-radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 3px;
}

.testimonial-quote {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 500;
}

.testimonial-author {
  margin: 0;
  font-weight: 600;
  color: var(--brand-blue);
}

.testimonial-author span {
  display: block;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--brand-muted);
}

.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-highlights {
  padding-left: 20px;
  margin: 0;
}

.contact-highlights li {
  color: var(--brand-dark);
  font-weight: 500;
}

.contact-form {
  display: grid;
  gap: 18px;
  background: var(--surface-muted);
  border-radius: var(--corner-radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  color: var(--brand-blue);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 4px rgba(11, 82, 255, 0.12);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  width: 100%;
  background: var(--brand-blue);
  color: var(--surface);
  box-shadow: none;
}

.contact-form .btn-primary:hover,
.contact-form .btn-primary:focus-visible {
  background: var(--brand-blue-light);
}

.contact-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--brand-muted);
  text-align: center;
}

.site-footer {
  margin-top: 80px;
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 0;
  font-size: 0.95rem;
}

.site-footer nav {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

@media (max-width: 768px) {
  .hero {
    padding: 72px 0 64px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 7vw, 2.75rem);
  }

  .hero p {
    font-size: 1.05rem;
  }

  section {
    padding: 32px 20px;
  }

  .card {
    padding: 40px 20px;
  }

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

  .contact-form {
    padding: 24px;
  }

  .contact-grid {
    gap: 24px;
  }
}
