:root {
  --bg: #f7f3f0;
  --surface: #ffffff;
  --surface-soft: #fcf9f7;
  --text: #2d211e;
  --muted: #6f6562;
  --line: #e9dfdb;
  --primary: #0e3a5b;
  --primary-strong: #0a2f49;
  --accent: #6db2c8;
  --dark-panel: #12263a;
  --shadow: 0 18px 40px rgba(19, 25, 37, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; line-height: 1.7; color: var(--muted); }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}
.section { padding: 96px 0; }
.section-soft { background: linear-gradient(180deg, #fbf8f6 0%, #f5efeb 100%); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(233, 223, 219, 0.8);
}
.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand img { width: 220px; height: auto; }
.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.desktop-nav a {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.desktop-nav a:hover { color: var(--primary); }
.nav-cta { margin-left: 12px; }
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  transition: 0.25s ease;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 0 20px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.mobile-menu.active { display: flex; }
.mobile-cta { width: 100%; text-align: center; justify-content: center; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--primary); color: #fff; }
.button-primary:hover { background: var(--primary-strong); }
.button-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(14, 58, 91, 0.22);
}
.button-secondary:hover { border-color: rgba(14, 58, 91, 0.45); }
.button-light { background: #fff; color: var(--primary); }

.hero {
  padding-top: 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary);
}
.hero h1,
.section-heading h2,
.structure-copy h2,
.cta-panel h2,
.two-column h2 {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
}
.hero h1 {
  font-size: clamp(44px, 6.2vw, 74px);
  max-width: 760px;
}
.hero h1 span { color: var(--primary); }
.hero-text {
  max-width: 620px;
  font-size: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 26px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-pills span {
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
}
.hero-media { position: relative; padding-left: 12px; }
.hero-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #ddebf4;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14, 58, 91, 0.08);
}
.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}
.floating-card {
  position: absolute;
  left: -12px;
  bottom: 34px;
  min-width: 240px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 40px rgba(15, 26, 40, 0.12);
  border: 1px solid rgba(233, 223, 219, 0.9);
}
.floating-card strong {
  display: block;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 6px;
}
.floating-card a {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 3px;
}
.floating-card span { font-size: 13px; color: var(--muted); }

.section-heading { max-width: 760px; margin: 0 auto 44px; }
.section-heading.center { text-align: center; }
.section-heading h2,
.two-column h2,
.structure-copy h2,
.cta-panel h2 { font-size: clamp(32px, 4vw, 52px); }
.lead { font-size: 18px; }

.cards-grid {
  display: grid;
  gap: 22px;
}
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card,
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(30, 37, 46, 0.04);
}
.icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(109,178,200,0.16);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 18px;
}
.info-card h3,
.step-card h3,
.site-footer h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--text);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 32px;
  align-items: start;
}
.check-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.check-list div,
.detail-box {
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.check-list strong,
.label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 7px;
}
.check-list span,
.detail-box a,
.cta-details a,
.cta-details p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}
.detail-panel { display: grid; gap: 16px; }

.structure-section {
  background: linear-gradient(135deg, #0f2438 0%, #173754 100%);
}
.structure-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 38px;
  align-items: center;
}
.structure-image-wrap {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.structure-image {
  width: 100%;
  aspect-ratio: 1 / 0.88;
  object-fit: cover;
}
.structure-copy h2,
.structure-copy p,
.light { color: #ffffff; }
.light-pills span {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.9);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.step-number {
  display: inline-block;
  margin-bottom: 14px;
  font-family: "Playfair Display", serif;
  font-size: 40px;
  color: var(--accent);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 28px;
  padding: 44px;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, #1b557c 100%);
}
.cta-panel h2,
.cta-panel p,
.cta-panel .light { color: #fff; }
.cta-details {
  display: grid;
  gap: 14px;
  align-content: start;
}
.cta-details div {
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 14px;
}
.cta-details div:last-child { border-bottom: 0; padding-bottom: 0; }
.cta-details a,
.cta-details p,
.cta-details .label { color: #fff; }
.cta-details p { margin-bottom: 0; }

.site-footer {
  padding: 38px 0 26px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.45);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(160px, 0.4fr));
  gap: 26px;
}
.footer-logo { width: 220px; margin-bottom: 18px; }
.site-footer a,
.site-footer p { display: block; margin-bottom: 10px; color: var(--muted); }
.footer-bottom {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.footer-bottom p { margin: 0; font-size: 14px; }

@media (max-width: 1100px) {
  .hero-grid,
  .two-column,
  .structure-grid,
  .cta-panel,
  .footer-grid,
  .steps-grid,
  .cols-3 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .desktop-nav,
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-grid,
  .two-column,
  .structure-grid,
  .cta-panel,
  .cols-3,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 78px 0; }
  .hero { padding-top: 42px; }
  .hero-copy { order: 1; }
  .hero-media { order: 2; padding-left: 0; }
  .floating-card {
    left: 16px;
    bottom: 18px;
    min-width: 220px;
  }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .site-header { position: sticky; }
  .nav-wrap { min-height: 76px; gap: 16px; }
  .brand img { width: 178px; }
  .hero h1 { font-size: 42px; }
  .section-heading h2,
  .two-column h2,
  .structure-copy h2,
  .cta-panel h2 { font-size: 34px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-card img { aspect-ratio: 1 / 1.2; }
  .floating-card {
    position: static;
    margin-top: 14px;
    width: 100%;
  }
  .info-card,
  .step-card,
  .cta-panel { padding: 22px; }
  .cta-panel { border-radius: 28px; }
}
