:root {
  --bg: #faf7f2;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --bg-warm: #f3ebe0;
  --line: rgba(90, 70, 50, 0.12);
  --text: #1c1916;
  --muted: #6b6258;
  --blue: #1f5f9c;
  --blue-deep: #164876;
  --blue-soft: #e8f1f9;
  --wood: #a67c52;
  --beige: #e8dcc8;
  --white: #ffffff;
  --radius: 16px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(250, 247, 242, 0.9);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.45rem 0;
}
.logo img {
  height: 120px;
  width: auto;
  max-width: min(520px, 46vw);
}
.nav {
  display: flex; align-items: center; gap: 1rem;
  color: var(--muted); font-size: 0.88rem; flex-shrink: 0;
}
.nav a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.15rem; border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  color: var(--white); font-weight: 600; font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 22px rgba(31, 95, 156, 0.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(31, 95, 156, 0.3); }
.menu-toggle {
  display: none; background: var(--white); border: 1px solid var(--line);
  color: var(--text); border-radius: 10px; padding: 0.45rem 0.65rem;
}

.hero {
  position: relative; overflow: hidden;
  min-height: clamp(420px, 62vh, 620px);
  display: flex; align-items: flex-end;
  padding: 0 0 3.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-warm);
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(250,247,242,0.92) 0%, rgba(250,247,242,0.72) 42%, rgba(250,247,242,0.28) 72%, rgba(250,247,242,0.15) 100%),
    linear-gradient(180deg, rgba(250,247,242,0.2) 0%, rgba(250,247,242,0.55) 100%);
}
.hero-copy { position: relative; z-index: 1; padding-top: 4rem; max-width: 36rem; }
.hero-kicker {
  color: var(--blue); font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.55rem);
  line-height: 1.08; letter-spacing: -0.03em;
  max-width: 18ch; margin: 0 0 1rem; color: var(--text);
}
.hero .sub {
  color: var(--muted); font-size: 1.1rem; max-width: 36ch; margin: 0 0 1.8rem;
}

section { padding: 4.5rem 0; border-bottom: 1px solid var(--line); }
.section-label {
  color: var(--blue); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em; margin: 0 0 1rem; max-width: 22ch;
  color: var(--text);
}
.lede { color: var(--muted); max-width: 62ch; margin: 0; font-size: 1.05rem; }

.grid-cards {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 2rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  box-shadow: 0 6px 18px rgba(90, 70, 50, 0.04);
  overflow: hidden;
}
.card-photo { padding: 0; display: flex; flex-direction: column; }
.card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-warm);
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.card-photo:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 1.15rem 1.2rem 1.3rem; }
.card h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .brands {
  margin-top: 0.7rem; color: var(--blue); font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.gallery {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-warm);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
}
.gallery-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.split {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}
.split .card h3 { font-size: 1.2rem; }

.steps {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 2rem;
}
.step {
  background: var(--bg-warm); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem;
}
.step .n {
  color: var(--blue); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.08em; margin-bottom: 0.45rem;
}
.step h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.88rem; }

#trust { background: #fffdf9; }
.trust-meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem;
  color: var(--muted); margin: 1.25rem 0 1.75rem; font-size: 0.95rem;
}
.pill {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.35rem 0.75rem; background: var(--white);
}
.pill strong { color: var(--text); font-weight: 600; }
.partners {
  display: flex; flex-wrap: wrap; gap: 0.85rem 1.35rem;
  align-items: center; justify-content: flex-start;
}
.partner {
  display: block;
  height: 32px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
  opacity: 0.88;
  filter: none;
  color: #1c1916;
}
.partner:hover { opacity: 1; }

.cta-block {
  text-align: center; padding: 4.5rem 0;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(31, 95, 156, 0.08), transparent 70%),
    linear-gradient(180deg, var(--bg-warm), var(--bg));
  border-bottom: none;
}
.cta-block h2 { margin-inline: auto; }
.cta-block p { color: var(--muted); margin: 0.5rem auto 1.5rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem; color: var(--muted); font-size: 0.88rem;
  background: #f3ebe0;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: space-between; align-items: center;
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(250, 247, 242, 0.98); border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem; gap: 0.9rem;
  }
  .menu-toggle { display: inline-flex; }
  .header-inner { position: relative; }
  .logo img { height: 78px; max-width: min(300px, 68vw); }
  .hero { min-height: 460px; align-items: flex-end; }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(250,247,242,0.25) 0%, rgba(250,247,242,0.88) 72%, rgba(250,247,242,0.96) 100%);
  }
  .hero-copy { max-width: none; padding-top: 2.5rem; }
  .split, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: span 1; aspect-ratio: 16 / 10; }
  .logo img { height: 68px; max-width: min(260px, 72vw); }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .logo img { height: 108px; max-width: min(460px, 42vw); }
}
