:root {
  --color-bg: #f7f7f4;
  --color-surface: #ffffff;
  --color-surface-soft: #eceff1;
  --color-text: #151719;
  --color-muted: #646a70;
  --color-border: rgba(21, 23, 25, 0.12);
  --color-accent: #526477;
  --color-accent-dark: #354456;
  --shadow-soft: 0 22px 70px rgba(21, 23, 25, 0.09);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1160px;
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(82, 100, 119, 0.35); outline-offset: 3px; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--color-text);
  color: white;
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 32px), var(--max-width)); margin: 0 auto; }
.section { padding: 92px 0; }
.section[id], .hero[id] { scroll-margin-top: calc(var(--header-height) + 16px); }
.section.compact { padding: 64px 0; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.05em;
}
.section-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(246, 247, 245, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(18, 22, 20, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 210px; }
.brand img { width: 172px; height: auto; }
.brand-text { font-size: .9rem; font-weight: 700; letter-spacing: -.02em; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-surface); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--color-text); border-radius: 999px; transition: transform .2s ease, opacity .2s ease; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 10px 13px; border-radius: 999px; color: var(--color-muted); font-size: .94rem; transition: color .18s ease, background .18s ease; }
.site-nav a:hover { color: var(--color-text); background: rgba(18, 22, 20, 0.06); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--color-text);
  color: white;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(18, 22, 20, 0.16); }
.button.secondary { background: var(--color-surface); color: var(--color-text); border-color: var(--color-border); }
.button.secondary:hover { box-shadow: var(--shadow-soft); }
.button.accent { background: var(--color-accent); }
.button.accent:hover { background: var(--color-accent-dark); }
.hero { padding: 96px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 54px; align-items: center; }
.hero h1 { margin: 0; font-size: clamp(3rem, 8vw, 6.8rem); line-height: .95; letter-spacing: -.075em; }
.hero p { max-width: 670px; margin: 26px 0 0; color: var(--color-muted); font-size: clamp(1.1rem, 2vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-card {
  min-height: 520px;
  padding: 26px;
  border-radius: 38px;
  background: #d7dcdf;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,.9);
  overflow: hidden;
  position: relative;
}
.hero-card::after { content: ""; position: absolute; inset: auto -18% -28% 16%; height: 270px; border-radius: 999px; background: rgba(82, 100, 119, 0.24); filter: blur(36px); }
.hero-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(21,23,25,.08) 0%, rgba(21,23,25,.02) 44%, rgba(21,23,25,.48) 100%); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: imageDrift 16s ease-in-out infinite alternate; }
.hero-card-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; position: relative; z-index: 2; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; background: rgba(255,255,255,.82); color: var(--color-accent-dark); border-radius: 999px; font-size: .86rem; font-weight: 700; backdrop-filter: blur(14px); }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.hero-metrics { position: absolute; left: 24px; bottom: 26px; z-index: 3; display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 10px; width: min(330px, calc(100% - 48px)); }
.hero-metrics div { padding: 16px; border-radius: 20px; background: rgba(255,255,255,.82); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.75); }
.hero-metrics strong { display: block; font-size: 1.45rem; line-height: 1; letter-spacing: -.04em; color: var(--color-text); }
.hero-metrics span { display: block; margin-top: 7px; color: var(--color-muted); font-size: .86rem; }
.floating-note { position: absolute; right: 24px; bottom: 26px; z-index: 3; width: min(260px, 78%); padding: 18px; border-radius: 22px; background: rgba(255,255,255,.85); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 18px 38px rgba(18,22,20,.12); }
.floating-note strong { display: block; margin-bottom: 6px; }
.floating-note span { color: var(--color-muted); font-size: .93rem; }
.grid-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.card { padding: 28px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid rgba(18,22,20,.08); box-shadow: 0 12px 34px rgba(18,22,20,.04); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card h3 { margin: 0 0 10px; font-size: 1.24rem; letter-spacing: -.03em; }
.card p, .card li { color: var(--color-muted); }
.icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(82,100,119,.12); color: var(--color-accent-dark); }
.image-strip { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; margin-top: 22px; }
.image-card { position: relative; min-height: 310px; margin: 0; overflow: hidden; border-radius: 30px; background: var(--color-surface-soft); box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,.9); }
.image-card.tall { min-height: 390px; }
.image-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform .7s ease, filter .7s ease; }
.image-card:hover img { transform: scale(1.08); filter: contrast(1.03); }
.image-card figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.82); backdrop-filter: blur(16px); color: var(--color-text); font-weight: 800; }
.services-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 28px; align-items: start; margin-top: 40px; }
.service-tabs { display: grid; gap: 10px; position: sticky; top: calc(var(--header-height) + 20px); }
.service-tab { width: 100%; border: 1px solid var(--color-border); background: var(--color-surface); border-radius: 18px; padding: 18px; text-align: left; color: var(--color-muted); transition: background .18s ease, color .18s ease, border-color .18s ease; }
.service-tab strong { display: block; color: var(--color-text); margin-bottom: 4px; }
.service-tab.active { background: var(--color-text); color: rgba(255,255,255,.74); border-color: var(--color-text); }
.service-tab.active strong { color: white; }
.service-panel { display: none; padding: 34px; border-radius: 32px; background: var(--color-surface); border: 1px solid rgba(18,22,20,.08); box-shadow: var(--shadow-soft); }
.service-panel.active { display: block; animation: fadeSlide .25s ease; }
.service-panel h3 { margin: 0 0 18px; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.1; letter-spacing: -.04em; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 30px; color: var(--color-muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: rgba(82,100,119,.16); }
.check-list li::after { content: ""; position: absolute; left: 5px; top: calc(.45em + 5px); width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.timeline { margin-top: 38px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 26px; border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid rgba(18,22,20,.08); }
.step-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--color-accent); color: white; font-weight: 800; margin-bottom: 18px; }
.trust { background: linear-gradient(135deg, #151719 0%, #28313c 100%); color: white; border-radius: 42px; padding: clamp(34px, 6vw, 62px); display: grid; grid-template-columns: 1fr .85fr; gap: 30px; align-items: center; overflow: hidden; position: relative; }
.trust p { color: rgba(255,255,255,.72); }
.trust-image { width: 100%; min-height: 260px; height: 100%; object-fit: cover; border-radius: 28px; opacity: .78; box-shadow: 0 18px 48px rgba(0,0,0,.24); }
.trust-items { display: grid; gap: 14px; grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
.trust-item { padding: 20px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.form-shell { margin-top: 36px; border-radius: 36px; background: var(--color-surface); border: 1px solid rgba(18,22,20,.08); box-shadow: var(--shadow-soft); overflow: hidden; }
.form-header { padding: 26px 28px; border-bottom: 1px solid rgba(18,22,20,.08); display: grid; gap: 14px; }
.progress-line { height: 8px; background: var(--color-surface-soft); border-radius: 999px; overflow: hidden; }
.progress-bar { display: block; height: 100%; width: 14.28%; background: var(--color-accent); border-radius: inherit; transition: width .25s ease; }
.form-body { padding: 28px; }
.form-step { display: none; animation: fadeSlide .22s ease; }
.form-step.active { display: block; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; }
.hint { color: var(--color-muted); font-size: .92rem; }
input, textarea, select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--color-border);
  background: #fbfcfb;
  color: var(--color-text);
  border-radius: 14px;
  padding: 12px 14px;
}
textarea { min-height: 136px; resize: vertical; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--color-muted); }
.checkbox input { width: 20px; min-height: 20px; margin-top: 2px; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; padding: 0 28px 28px; }
.form-message { margin: 0 28px 26px; padding: 14px 16px; border-radius: 16px; display: none; }
.form-message.success { display: block; color: #2f4154; background: rgba(82,100,119,.14); }
.form-message.error { display: block; color: #842828; background: rgba(132,40,40,.10); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.contact-card { padding: 28px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid rgba(18,22,20,.08); }
.contact-card a { color: var(--color-accent); font-weight: 700; }
.footer { padding: 34px 0; border-top: 1px solid rgba(18,22,20,.1); color: var(--color-muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--color-text); }
.legal-page { padding: 74px 0 92px; }
.legal-card { background: var(--color-surface); border: 1px solid rgba(18,22,20,.08); border-radius: 32px; box-shadow: var(--shadow-soft); padding: clamp(24px, 5vw, 54px); }
.legal-card h1 { margin-top: 0; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: .98; letter-spacing: -.06em; }
.legal-card h2 { margin-top: 34px; letter-spacing: -.03em; }
.legal-card p, .legal-card li { color: var(--color-muted); }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes imageDrift { from { transform: scale(1.04) translate3d(-8px, 0, 0); } to { transform: scale(1.09) translate3d(10px, -8px, 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-photo { animation: none; }
}
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: calc(var(--header-height) + 8px) 16px auto; display: none; flex-direction: column; align-items: stretch; padding: 18px; background: rgba(255,255,255,.97); border: 1px solid rgba(18,22,20,.08); border-radius: 24px; box-shadow: var(--shadow-soft); max-height: calc(100dvh - var(--header-height) - 24px); overflow-y: auto; }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 16px; }
  .site-nav .button { margin-top: 6px; }
  .hero-grid, .services-layout, .trust, .contact-grid, .image-strip { grid-template-columns: 1fr; }
  .hero { padding-top: 62px; }
  .hero-card { min-height: 440px; }
  .trust-items { grid-template-columns: 1fr; }
  .service-tabs { position: static; }
  .timeline, .grid-three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-height: 72px; }
  .container { width: min(calc(100% - 32px), var(--max-width)); }
  .section { padding: 64px 0; }
  .section.compact { padding: 42px 0; }
  .header-inner { gap: 10px; }
  .brand { min-width: 0; }
  .brand img { width: min(142px, 42vw); }
  .nav-toggle { flex: 0 0 44px; }
  .hero { padding: 44px 0 38px; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: clamp(2.55rem, 12.8vw, 4.1rem); line-height: .98; }
  .hero p { margin-top: 18px; font-size: 1.06rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 24px; }
  .hero-actions .button { width: 100%; }
  .hero-card { min-height: 340px; padding: 18px; border-radius: 26px; }
  .hero-metrics { left: 16px; right: 16px; bottom: 16px; width: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hero-metrics div { padding: 12px; border-radius: 16px; }
  .hero-metrics strong { font-size: 1.2rem; }
  .hero-metrics span { font-size: .78rem; }
  .floating-note { display: none; }
  .grid-three, .timeline, .field-grid { grid-template-columns: 1fr; }
  .card, .step, .contact-card { padding: 22px; }
  .image-card, .image-card.tall { min-height: 260px; }
  .service-panel { padding: 24px 20px; border-radius: 24px; }
  .service-tab { padding: 16px; }
  .trust { border-radius: 26px; padding: 26px 20px; }
  .trust-image { min-height: 210px; }
  .form-shell { border-radius: 26px; }
  .form-header { padding: 20px; }
  .form-body { padding: 22px 20px; }
  .form-actions { flex-direction: column-reverse; padding: 0 20px 20px; }
  .form-actions .button { width: 100%; }
  .form-message { margin: 0 20px 20px; }
  .contact-card a { overflow-wrap: anywhere; }
  .footer-inner { flex-direction: column; }
  .legal-page { padding: 42px 0 64px; }
}

@media (max-width: 380px) {
  .container { width: min(calc(100% - 24px), var(--max-width)); }
  .hero h1 { font-size: clamp(2.35rem, 12.4vw, 3.15rem); }
  .hero-metrics { left: 12px; right: 12px; bottom: 12px; }
  .hero-metrics div { padding: 10px; }
}
