:root {
  --bg: #fafaf0;
  --paper: #fffdf8;
  --ink: #26231f;
  --muted: #70695f;
  --blue: #678da8;
  --blue-dark: #435f75;
  --blue-soft: #e7eef2;
  --line: #e2e2d8;
  --shadow: 0 18px 50px rgba(49, 61, 69, 0.09);
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "Mulish", "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}
a {
  color: inherit;
}
.container {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}
.button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      100deg,
      rgba(24, 43, 57, 0.95) 0%,
      rgba(38, 70, 91, 0.82) 54%,
      rgba(48, 59, 68, 0.36) 100%
    ),
    url("/3.webp") center 58% / cover;
  background-blend-mode: normal;
  color: #fff;
}
.hero::after {
  position: absolute;
  right: -140px;
  bottom: -240px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 105px 0 110px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}
.hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-family: "Playfair Display", serif;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 500;
  line-height: 1.02;
}
.hero p {
  max-width: 700px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero .button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
}
.hero .button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}
section {
  padding: 82px 0;
}
.intro {
  text-align: center;
}
.section-title {
  margin: 0 0 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 500;
  line-height: 1.15;
}
.section-lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}
.process {
  margin-top: 42px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.process-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 15px;
  background: var(--paper);
  text-align: center;
  box-shadow: 0 9px 26px rgba(43, 63, 78, 0.05);
}
.process-step:not(:last-child)::after {
  position: absolute;
  top: 38px;
  right: -14px;
  z-index: 2;
  width: 16px;
  color: var(--blue);
  content: "→";
}
.number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}
.process-step strong {
  display: block;
  font-size: 14px;
}
.content-section {
  padding-top: 20px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(43, 63, 78, 0.06);
  transition: 0.2s;
}
.card:hover {
  border-color: #c7d7e4;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 22px;
}
.card h2 {
  margin: 0 0 13px;
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 500;
}
.card p {
  margin: 0 0 14px;
  color: var(--muted);
}
.card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.card li + li {
  margin-top: 7px;
}
.wide {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
}
.wide .card-icon {
  margin: 0;
}
.assurance {
  margin-top: 24px;
  border-radius: var(--radius);
  padding: 28px;
  background: var(--blue-dark);
  color: #fff;
}
.assurance strong {
  display: block;
  margin-bottom: 5px;
  font-family: "Playfair Display", serif;
  font-size: 27px;
  font-weight: 500;
}
.assurance p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}
.contact {
  background: var(--paper);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.contact-copy p {
  color: var(--muted);
}
.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.contact-item span:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--bg);
  box-shadow: var(--shadow);
}
.contact-panel h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: 29px;
  font-weight: 500;
}
.contact-panel p {
  margin: 0 0 22px;
  color: var(--muted);
}
footer {
  padding: 30px 0;
  background: #303b44;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-row a {
  color: #fff;
}
.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
@media (max-width: 850px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
  .cards,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .wide .card-icon {
    margin-bottom: 5px;
  }
}
@media (max-width: 560px) {
  .container {
    width: min(100% - 26px, 1120px);
  }
  .hero-inner {
    padding: 78px 0 85px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }
  section {
    padding: 64px 0;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 15px;
  }
  .card {
    padding: 23px;
  }
  .contact-panel {
    padding: 23px;
  }
  .footer-row {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.card-icon .cmg-icon,
.contact-item .cmg-icon {
  width: 22px;
  height: 22px;
}
