:root {
  --bg: #f6f8fc;
  --white: #ffffff;
  --text: #172033;
  --muted: #5f6980;
  --primary: #223a74;
  --primary-soft: #e9eefb;
  --border: #dce3f1;
  --shadow: 0 18px 45px rgba(21, 33, 64, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(34, 58, 116, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(34, 58, 116, 0.05), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.hero {
  position: relative;
  padding: 18px 0 10px;
}

.top-badge {
  display: inline-flex;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow);
}

.hero-card {
  margin-top: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(233,238,251,0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(34, 58, 116, 0.06);
}

.hero-card::before {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -80px;
}

.hero-card::after {
  width: 180px;
  height: 180px;
  bottom: -70px;
  left: -50px;
}

.eyebrow,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 14px;
}

.hero h1,
.section-heading h2,
.contact-box h2 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 760px;
}

.subtitle {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 18px 0 8px;
}

.hero-text,
.section-heading p,
.info-panel p,
.contact-box p,
.contact-item p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  font-size: 1.04rem;
  margin: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(34, 58, 116, 0.2);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
}

.section {
  margin-top: 34px;
}

.section-intro,
.professional-card,
.contact-box {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.section-intro {
  padding: 40px;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.contact-box h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.info-panel h3,
.service-card h3,
.detail-item p,
.contact-title {
  margin: 0 0 12px;
}

.info-panel h3,
.service-card h3,
.contact-title {
  color: var(--primary);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  min-height: 150px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(34, 58, 116, 0.06);
}

.service-number {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  line-height: 1.35;
}

.accent-card {
  background: linear-gradient(135deg, #223a74, #314d92);
}

.accent-card .service-number {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

.accent-card h3 {
  color: #fff;
}

.professional-card {
  padding: 42px;
}

.professional-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-item {
  background: linear-gradient(180deg, #ffffff, #f5f7fc);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.detail-label {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 14px;
}

.detail-item p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.contact-box {
  padding: 42px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}

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

.contact-item {
  background: linear-gradient(180deg, #ffffff, #f6f8fc);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-item a {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

.footer {
  margin-top: 36px;
  text-align: center;
  padding: 24px 18px 10px;
}

.footer p {
  margin: 8px 0;
}

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

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

@media (max-width: 980px) {
  .intro-grid,
  .services-grid,
  .professional-details,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .section-intro,
  .professional-card,
  .contact-box {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 18px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .section-heading h2,
  .contact-box h2 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
