:root {
  --bg: #eef3f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #12304f;
  --ink-soft: #4b617b;
  --line: rgba(18, 48, 79, 0.14);
  --primary: #1d5f95;
  --primary-deep: #10395c;
  --accent: #8fd1e2;
  --shadow: 0 24px 70px rgba(15, 49, 82, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: 1180px;
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(143, 209, 226, 0.4), transparent 30%),
    linear-gradient(180deg, #f8fbfe 0%, var(--bg) 38%, #dfe8f2 100%);
}

body.menu-open {
  overflow: hidden;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-header,
.hero,
.trust-strip,
.section,
.site-footer {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #6bb8d0);
  overflow: hidden;
}

.brand__mark span {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
}

.brand__mark span:first-child {
  inset: 6px 15px 6px 15px;
}

.brand__mark span:last-child {
  inset: 15px 6px 15px 6px;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__copy strong,
.brand__copy span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.brand__copy span {
  color: var(--primary);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.site-nav a,
.header-actions a,
.eyebrow,
.section-label,
.detail-label,
.hero-card__label {
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--ink-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button--solid {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(16, 57, 92, 0.22);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(18, 48, 79, 0.12);
}

.button--glass {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 28px;
  min-height: 90vh;
  padding: 110px 0 56px;
}

.hero__backdrop {
  position: absolute;
  inset: 30px 0 0;
  border-radius: 40px;
  background:
    linear-gradient(120deg, rgba(8, 30, 50, 0.72), rgba(29, 95, 149, 0.28)),
    url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=1400&q=80") center/cover;
  box-shadow: var(--shadow);
}

.hero__content,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 80px 0 70px 54px;
  color: #ffffff;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 8ch;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 8vw, 6.8rem);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero__lead {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-card {
  align-self: end;
  margin: 0 26px 44px 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

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

.hero-card__list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -8px;
}

.trust-strip article,
.advantage-card,
.exam-card,
.process-step,
.agreements__panel,
.contact-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.trust-strip article {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
}

.trust-strip strong {
  display: block;
  font-size: 1.4rem;
}

.trust-strip span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
}

.section {
  padding: 110px 0 0;
}

.section--split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.section-heading {
  max-width: 560px;
}

.section-heading--narrow {
  max-width: 760px;
}

.section-label {
  color: var(--primary);
  margin-bottom: 16px;
}

.section-heading h2,
.contact-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.section-heading p,
.contact-card__intro p,
.agreements__copy p,
.process-step p,
.exam-card p,
.advantage-card p {
  margin-top: 18px;
  color: var(--ink-soft);
  line-height: 1.9;
  font-size: 1rem;
}

.advantages,
.exam-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.advantages {
  grid-template-columns: repeat(2, 1fr);
}

.advantage-card,
.exam-card,
.process-step {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.advantage-card__number,
.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  border-radius: 999px;
  background: rgba(29, 95, 149, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.advantage-card h3,
.exam-card h3,
.agreements__copy h3,
.process-step h3 {
  margin-top: 20px;
  font-size: 1.2rem;
}

.exam-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.exam-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(29, 95, 149, 0.14), rgba(143, 209, 226, 0.3));
  color: var(--primary);
  font-weight: 800;
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.section-cta p {
  color: var(--ink-soft);
}

.process-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
}

.agreements__panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  margin-top: 32px;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.agreement-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.agreement-logos div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  padding: 36px;
  border-radius: 34px;
  margin-bottom: 110px;
}

.contact-card__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.detail-label {
  display: block;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-card__details p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 42px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.menu-open {
    border-radius: 34px;
  }

  .site-header.menu-open .site-nav,
  .site-header.menu-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding-top: 14px;
  }

  .hero,
  .section--split,
  .agreements__panel,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 76px 28px 28px;
  }

  .hero-card {
    margin: 0 22px 24px;
  }

  .trust-strip,
  .exam-grid,
  .process-grid,
  .advantages,
  .contact-card__details {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .trust-strip,
  .section,
  .site-footer {
    width: min(calc(100% - 20px), var(--content));
  }

  .site-header {
    top: 10px;
    padding: 14px 16px;
  }

  .hero {
    padding-top: 94px;
  }

  .hero__backdrop {
    inset: 0;
    border-radius: 30px;
  }

  .hero__content {
    padding: 56px 20px 18px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .hero__lead {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .trust-strip,
  .exam-grid,
  .process-grid,
  .advantages,
  .agreement-logos,
  .contact-card__details {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 88px;
  }

  .section-heading h2,
  .contact-card h2 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .section-cta,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-card {
    padding: 24px;
    margin-bottom: 88px;
  }
}
