:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --text: #172033;
  --muted: #5f6b84;
  --line: #e7ebf3;
  --primary: #102a56;
  --accent: #d4a63f;
  --accent-soft: rgba(212, 166, 63, 0.12);
  --shadow: 0 20px 50px rgba(17, 34, 68, 0.10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231,235,243,0.75);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.brand-mini {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.phone-link {
  color: var(--primary);
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 48px;
  background:
    radial-gradient(circle at top left, rgba(16, 42, 86, 0.07), transparent 34%),
    radial-gradient(circle at bottom right, rgba(212, 166, 63, 0.12), transparent 28%),
    #fff;
}

.hero-grid,
.focus-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 32px;
  align-items: center;
}

.badge,
.section-kicker,
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.35rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 span { color: var(--primary); }

.hero-text {
  max-width: 700px;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(16, 42, 86, 0.15);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid var(--line);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-points li {
  padding: 14px 16px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(17, 34, 68, 0.05);
}

.hero-card,
.service-card,
.focus-item,
.contact-panel,
.location-card,
.institutional {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card-inner {
  padding: 32px;
}

.hero-card h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin: 18px 0 12px;
}

.hero-card p,
.section-heading p,
.focus-text p,
.location-info p,
.institutional p,
.contact-panel p {
  color: var(--muted);
}

.contact-box {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.hero-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.65;
  pointer-events: none;
}

.hero-shape-1 {
  width: 200px;
  height: 200px;
  background: rgba(212, 166, 63, 0.14);
  top: 70px;
  right: -40px;
}

.hero-shape-2 {
  width: 240px;
  height: 240px;
  background: rgba(16, 42, 86, 0.07);
  bottom: -90px;
  left: -80px;
}

.section {
  padding: 84px 0;
}

.section-highlight {
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading.left { margin-bottom: 18px; }

.section-heading h2,
.focus-text h2,
.contact-panel h2 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.focus-item,
.contact-panel,
.location-card,
.institutional {
  padding: 28px;
}

.icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #1d4f9a);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.service-card h3,
.focus-item h3,
.location-info h3,
.footer h3 {
  margin: 0 0 10px;
}

.focus-list {
  display: grid;
  gap: 18px;
}

.institutional {
  max-width: 880px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.contact-item {
  padding: 16px 18px;
  background: var(--surface-soft);
  border-radius: 16px;
  border: 1px solid var(--line);
}

.contact-item span {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.map-placeholder {
  min-height: 290px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(16,42,86,0.08), rgba(212,166,63,0.10)),
    repeating-linear-gradient(
      45deg,
      rgba(16,42,86,0.05),
      rgba(16,42,86,0.05) 12px,
      rgba(255,255,255,0.72) 12px,
      rgba(255,255,255,0.72) 24px
    );
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}

.map-pin {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--primary);
  box-shadow: 0 18px 40px rgba(16, 42, 86, 0.24);
}

.map-pin::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background: white;
  border-radius: 50%;
  top: 19px;
  left: 19px;
}

.footer {
  background: #0d1730;
  color: rgba(255,255,255,0.9);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .focus-grid,
  .contact-grid,
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-grid,
  .focus-grid,
  .contact-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 68px 0;
  }

  .hero-card-inner,
  .service-card,
  .focus-item,
  .contact-panel,
  .location-card,
  .institutional {
    padding: 22px;
  }
}
