:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #14202e;
  --muted: #5d6673;
  --line: #e8e4db;
  --navy: #1f3a5f;
  --navy-deep: #152a45;
  --tint: #eef2f7;
  --sand: #f3efe6;
  --radius: 18px;
  --header-height: 76px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; color: var(--navy); }
p { margin: 0; }
a { color: inherit; }
.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
section { padding: 110px 0; }

.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.button {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.button:hover { background: var(--navy-deep); transform: translateY(-1px); }
.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.button.ghost:hover { background: var(--surface); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; height: var(--header-height); background: rgba(251, 250, 247, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(20, 32, 46, 0.05); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Fraunces', Georgia, serif; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 0.95rem; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav .lang { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; }
.nav a.button { color: #fff; padding: 10px 18px; }

/* Home hero */
.hero { padding: 80px 0 110px; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { margin: 20px 0 24px; }
.trust { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: 0.9rem; color: var(--muted); }
.faces { display: flex; }
.faces span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; display: grid; place-items: center; font-size: 0.7rem; font-weight: 600; color: var(--navy); background: var(--tint); }
.faces span:first-child { margin-left: 0; }

.showcase { position: relative; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(20, 32, 46, 0.25); }
.shortlist { padding: 26px 26px 70px; }
.shortlist header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.shortlist header strong { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 1.15rem; }
.shortlist header span { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.candidate { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.candidate:last-child { border-bottom: none; padding-bottom: 0; }
.candidate .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 600; flex: none; }
.candidate div { flex: 1; min-width: 0; }
.candidate strong { display: block; font-size: 0.95rem; font-weight: 600; }
.candidate small { color: var(--muted); font-size: 0.82rem; }
.tag { font-size: 0.75rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.green { background: #e6f2ec; color: #22663f; }
.blue { background: var(--tint); color: var(--navy); }
.sand { background: var(--sand); color: #7a5b22; }
.float-card { position: absolute; padding: 16px 18px; display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--muted); }
.float-card strong { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; font-weight: 500; line-height: 1; color: var(--ink); }
.float-card.one { left: -40px; bottom: -28px; }
.float-card.two { right: -24px; top: -58px; }
@media (prefers-reduced-motion: no-preference) {
  .float-card.one { animation: float 7s ease-in-out infinite; }
  .float-card.two { animation: float 8s ease-in-out -3s infinite; }
}
@keyframes float { 50% { transform: translateY(-10px); } }

/* Client strip */
.clients { padding: 0 0 30px; }
.clients p { text-align: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 52px; }
.clients li { font-family: 'Fraunces', Georgia, serif; font-size: 1.3rem; color: #a0a5ac; letter-spacing: -0.01em; }

/* Section heads */
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { margin: 14px 0 16px; }
.section-head p { color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(20, 32, 46, 0.35); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--navy); margin-bottom: 22px; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Method */
.alt { background: var(--sand); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { border-top: 2px solid var(--line); padding-top: 24px; position: relative; }
.step::before { content: ''; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--navy); transition: width 1s ease 0.3s; }
.step.visible::before { width: 100%; }
.step .when { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); }
.step h3 { margin: 10px 0; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Numbers band */
.band { background: var(--navy); color: #fff; border-radius: 28px; padding: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.band strong { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin-bottom: 10px; }
.band > div > span { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }

/* Quotes */
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0 0 26px; font-family: 'Fraunces', Georgia, serif; font-size: 1.18rem; line-height: 1.5; }
.who { display: flex; align-items: center; gap: 12px; }
.who .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--navy); font-weight: 600; font-size: 0.85rem; }
.who strong { display: block; font-size: 0.95rem; }
.who span { color: var(--muted); font-size: 0.85rem; }

/* CTA */
.cta { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 80px 32px; }
.cta h2 { max-width: 20ch; margin: 14px auto 18px; }
.cta p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.cta .actions { justify-content: center; }

/* Inner pages */
.page-hero { padding: 90px 0 60px; }
.page-hero h1 { margin: 18px 0 22px; max-width: 18ch; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.perk { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.perk strong { display: block; font-weight: 600; margin-bottom: 2px; }
.perk span { color: var(--muted); font-size: 0.92rem; }
.offers-zone { padding-top: 20px; padding-bottom: 60px; min-height: 280px; }
.spontaneous { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 48px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.spontaneous h3 { margin-bottom: 6px; }
.spontaneous p { color: var(--muted); font-size: 0.95rem; max-width: 56ch; }
.faq { max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 1.05rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--navy); font-size: 1.4rem; line-height: 1; transition: transform 0.3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 12px; max-width: 62ch; }
.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; text-align: left; padding: 56px; }
.contact-card h2 { margin: 14px 0 12px; max-width: none; }
.contact-card p { margin: 0; max-width: none; }
.mail { color: var(--navy); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; font-size: 0.92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { margin: 0 0 14px; color: var(--ink); font-size: 0.9rem; }
.footer-grid a:not(.logo) { display: block; text-decoration: none; margin-bottom: 8px; }
.footer-grid a:not(.logo):hover { color: var(--ink); }
.footer-grid .logo { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.82rem; }

/* Scroll reveal */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--delay, 0s); }
  .reveal.visible { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .showcase { max-width: 460px; width: 100%; margin: 40px auto 0; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .grid.three, .perks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: repeat(2, 1fr); padding: 44px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 720px) {
  section { padding: 80px 0; }
  .nav { gap: 16px; }
  .nav a:not(.button):not(.lang) { display: none; }
  .grid.four, .steps, .band { grid-template-columns: 1fr; }
  .float-card.one { left: -8px; }
  .float-card.two { right: -8px; }
  .cta { padding: 56px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .step::before { width: 100%; transition: none; }
}
