:root {
  --bg: #f6f1e8;
  --surface: #fffdf8;
  --surface-2: #eef2f5;
  --text: #1e2833;
  --muted: #5d6873;
  --brand: #315f88;
  --brand-deep: #203b57;
  --gold: #d2a93b;
  --line: rgba(32, 59, 87, 0.12);
  --shadow: 0 24px 60px rgba(18, 35, 52, 0.14);
  --radius: 28px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(210,169,59,0.10), transparent 26%),
    linear-gradient(180deg, #f8f4ed 0%, #f3efe8 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-shell { width: min(100%, var(--max)); margin: 0 auto; padding: 18px; }

.topbar {
  position: sticky;
  top: 10px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 22px;
  background: rgba(255,253,248,0.76);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(25, 42, 61, 0.08);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 50px; height: 50px; border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.brand-overline { display: block; font-size: 0.73rem; text-transform: uppercase; letter-spacing: .16em; color: var(--brand); margin-bottom: 2px; }
.brand strong { font-size: 1rem; }
.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a { color: var(--muted); font-size: 0.96rem; }
.main-nav a:hover, .text-link:hover { color: var(--brand-deep); }
.nav-cta {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: white !important;
  font-weight: 600;
}
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.8rem; }

.hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 48px;
  align-items: center;
  padding: 76px 8px 48px;
}
.eyebrow, .section-tag {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 700;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -0.04em;
  max-width: 11ch;
}
.lead {
  font-size: 1.14rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 62ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: white;
  box-shadow: 0 16px 32px rgba(49,95,136,.24);
}
.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  color: var(--brand-deep);
}
.hero-facts {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 10px;
  color: var(--brand-deep);
}
.hero-facts li::before {
  content: "•";
  color: var(--gold);
  margin-right: 10px;
}
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.35));
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(49,95,136,.12), transparent 60%);
  pointer-events: none;
}
.hero-card img { border-radius: 26px; width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; }
.hero-badge {
  position: absolute;
  right: -8px;
  bottom: 28px;
  background: rgba(255,253,248,.92);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 22px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
}
.hero-badge span { display: block; font-size: 1.8rem; font-weight: 800; color: var(--brand); }
.hero-badge strong { font-size: .95rem; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 6px 0 24px;
}
.trust-strip > div {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.7);
}
.trust-strip strong { display: block; color: var(--brand-deep); margin-bottom: 8px; }
.trust-strip span { color: var(--muted); line-height: 1.55; }

.section { padding: 76px 8px; }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section h2 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -0.03em; }
.section p { color: var(--muted); line-height: 1.8; font-size: 1.04rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.cards .card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-card {
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.75);
}
.accent-dark { background: linear-gradient(160deg, #244768 0%, #162c43 100%); color: white; }
.accent-dark p, .accent-dark li { color: rgba(255,255,255,.86); }
.accent-light { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(232,238,244,.88)); }
.info-card h3 { margin: 0 0 12px; font-size: 1.7rem; }
.info-card ul { margin: 20px 0 0; padding-left: 18px; display: grid; gap: 10px; }
.text-link { display: inline-block; margin-top: 18px; color: var(--gold); font-weight: 700; }
.accent-light .text-link { color: var(--brand); }

.expertise-grid {
  background: rgba(255,255,255,.46);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 40px;
  box-shadow: var(--shadow);
}
.expertise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pill-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.pill-card strong { display: block; margin-bottom: 10px; font-size: 1.02rem; color: var(--brand-deep); }
.pill-card span { color: var(--muted); line-height: 1.55; }

.statement-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  align-items: center;
  color: white;
  border-radius: 34px;
  background:
    linear-gradient(115deg, rgba(32,59,87,.98), rgba(49,95,136,.92)),
    url('assets/brand-bg.jpg') center/cover no-repeat;
  box-shadow: var(--shadow);
}
.statement-band p, .statement-band .section-tag { color: rgba(255,255,255,.84); }
.statement-band h2 { color: white; }

.profile .credential-box {
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(244,245,247,.9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.credential-box h3 { margin-top: 0; }
.credential-box ul { margin: 18px 0; padding-left: 18px; color: var(--muted); display: grid; gap: 10px; }
.ethics-note {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(49,95,136,.08);
  border: 1px solid rgba(49,95,136,.14);
}
.mini-credentials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.mini-credentials span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  color: var(--brand-deep);
  font-size: .92rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.timeline-grid article {
  padding: 28px;
  border-radius: 26px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 14px 38px rgba(25,42,61,.08);
}
.timeline-grid span {
  display: inline-flex;
  width: 44px; height: 44px;
  border-radius: 999px;
  align-items: center; justify-content: center;
  background: var(--brand);
  color: white;
  font-weight: 800;
  margin-bottom: 16px;
}
.timeline-grid h3 { margin: 0 0 10px; }

.faq-list { display: grid; gap: 14px; }
details {
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.78);
}
summary { cursor: pointer; font-weight: 700; color: var(--brand-deep); }
details p { margin: 14px 0 4px; }

.contact-section {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 30px;
  align-items: start;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 36px;
  box-shadow: var(--shadow);
}
.contact-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.contact-form {
  padding: 30px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; color: var(--brand-deep); font-weight: 600; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(32,59,87,.18);
  border-radius: 16px;
  background: white;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(49,95,136,.16);
  border-color: var(--brand);
}
.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
}
.consent input { margin-top: 4px; width: 18px; height: 18px; }
.form-note { margin: 14px 0 0; font-size: .92rem !important; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 8px 40px;
  color: var(--muted);
}
.footer strong { display: block; color: var(--brand-deep); margin-bottom: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }

.legal-page { max-width: 900px; margin: 0 auto; padding: 24px; }
.legal-card {
  margin-top: 28px;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow);
}
.legal-card h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin-top: 0; }
.legal-card h2 { margin-top: 32px; }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.8; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; }

@media (max-width: 1080px) {
  .hero, .two-col, .statement-band, .contact-section { grid-template-columns: 1fr; }
  .cards .card-grid, .expertise-list, .timeline-grid, .trust-strip { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: 100%; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,253,248,.96);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .cards .card-grid, .expertise-list, .timeline-grid, .trust-strip { grid-template-columns: 1fr; }
  .site-shell { padding: 12px; }
  .hero { padding-top: 48px; gap: 28px; }
  .section { padding: 56px 4px; }
  .topbar { top: 8px; }
  .footer { flex-direction: column; }
}
