:root {
  --bg: #f2f7ff;
  --text: #0c2340;
  --muted: #365679;
  --primary: #0d3d7a;
  --primary-strong: #082b58;
  --accent: #2a7be4;
  --card: #ffffff;
  --shadow: 0 16px 40px rgba(8, 43, 88, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(42, 123, 228, 0.25), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(13, 61, 122, 0.18), transparent 36%),
    linear-gradient(135deg, #f7fbff 0%, #eaf3ff 100%);
  z-index: -1;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(13, 61, 122, 0.12);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.brand-role {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.9px;
}

.hero {
  padding: clamp(2rem, 4vw, 4rem) 0 2rem;
}

.hero-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-content h1 {
  margin: 0.4rem 0 1rem;
  line-height: 1.15;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.kicker {
  display: inline-block;
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.lead {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 61, 122, 0.28);
}

.btn-light {
  background: #fff;
  color: var(--primary);
  border-color: rgba(13, 61, 122, 0.22);
}

.btn-outline {
  color: var(--primary);
  border-color: rgba(13, 61, 122, 0.26);
  background: rgba(255, 255, 255, 0.9);
}

.hero-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.specialties {
  padding: 1rem 0 2.2rem;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin: 0 0 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid rgba(13, 61, 122, 0.08);
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  box-shadow: 0 10px 22px rgba(8, 43, 88, 0.07);
  position: relative;
  font-weight: 600;
}

.card::before {
  content: "✓";
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: #fff;
  background: var(--accent);
}

.about {
  padding: 1rem 0 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.1rem;
}

.about p {
  color: var(--muted);
}

.contact-card {
  background: linear-gradient(160deg, var(--primary), var(--primary-strong));
  color: #fff;
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-top: 0;
}

.contact-card .phone {
  color: #fff;
  text-decoration: none;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.contact-card .small {
  opacity: 0.85;
  font-size: 0.86rem;
  margin-bottom: 0;
}

footer {
  border-top: 1px solid rgba(13, 61, 122, 0.14);
  background: rgba(255, 255, 255, 0.8);
}

footer .container {
  padding: 1rem 0;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-wrap {
    max-width: 560px;
    margin: 0 auto;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .topbar-inner {
    gap: 0.8rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
