:root {
  --bg: #f8f9fc;
  --sand: #eef2fa;
  --surface: #ffffff;
  --ink: #0f1a33;
  --muted: #5d6575;
  --line: #e1e6f0;
  --green: #0b1f4e;
  --green-dark: #071537;
  --green-soft: #e6ebf6;
  --amber: #e8505b;
  --radius: 12px;
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand .word { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.brand .word small { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--green); margin-left: 4px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: #d3d9e6; }
.btn-outline:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { padding: 80px 0 88px; background: var(--sand); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--amber); letter-spacing: .14em; text-transform: uppercase;
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin: 16px 0 18px; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .facts { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero .facts div { font-size: 14px; color: var(--muted); }
.hero .facts b { display: block; font-family: var(--serif); font-size: 24px; color: var(--ink); font-weight: 600; }

/* Phone chat mockup (light, WhatsApp-like) */
.phone {
  background: #efeae2; border-radius: 26px; border: 8px solid #1e2522;
  max-width: 380px; margin-left: auto; overflow: hidden;
  box-shadow: 0 24px 50px rgba(11, 31, 78, .16);
}
.phone-top { background: var(--green); color: #fff; display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.phone-top .av { width: 34px; height: 34px; border-radius: 50%; background: #fbfaf7; display: grid; place-items: center; }
.phone-top .av img { width: 24px; height: 24px; border-radius: 6px; }
.phone-top b { display: block; font-size: 14px; line-height: 1.2; }
.phone-top small { font-size: 12px; opacity: .8; }
.phone-body { padding: 14px 12px 18px; }
.msg {
  max-width: 82%; padding: 7px 10px 6px; border-radius: 8px; font-size: 14px; line-height: 1.45;
  margin: 6px 0; box-shadow: 0 1px 0 rgba(0,0,0,.08); color: #111b21;
}
.msg.in { background: #fff; border-top-left-radius: 0; }
.msg.out { background: #d9fdd3; margin-left: auto; border-top-right-radius: 0; }
.msg small { display: block; text-align: right; font-size: 11px; color: #667781; margin-top: 2px; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 8px 0 12px; line-height: 1.15; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }
.kicker { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step .n { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--green); }
.step h3 { margin: 6px 0 8px; font-size: 21px; }
.step p { margin: 0; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.photo {
  width: 100%; max-width: 320px; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  justify-self: center; border: 6px solid var(--surface); box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(11,31,78,.12);
}
.about h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 8px 0 14px; line-height: 1.15; }
.about p { color: var(--muted); font-size: 17px; }
.about ul { padding: 0; list-style: none; margin: 18px 0 0; }
.about li { padding-left: 26px; position: relative; margin: 8px 0; color: var(--ink); }
.about li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact .card { padding: 30px; }
.contact h3 { margin: 0 0 6px; font-size: 22px; }
.info-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row:last-of-type { border-bottom: 0; }
.info-row b { min-width: 132px; font-size: 14px; color: var(--muted); font-weight: 600; }
.info-row span { font-size: 15px; }

/* Footer */
.site-footer { background: #0a1838; color: #b3bdd3; padding: 52px 0 28px; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer .fbrand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.site-footer .fbrand img { width: 30px; height: 30px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
.site-footer a { color: #e2e7f3; }
.site-footer p { margin: 4px 0; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; font-size: 13px; }

/* Legal pages */
.doc { max-width: 800px; margin: 0 auto; padding: 56px 20px 84px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin-bottom: 30px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc p, .doc li { color: #2b3550; }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--sand); }

@media (max-width: 900px) {
  .hero .wrap, .about, .contact { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .nav { display: none; }
  .photo { max-width: 240px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  section { padding: 64px 0; }
  .info-row { flex-direction: column; gap: 2px; }
  .site-header .btn { padding: 9px 14px; font-size: 14px; }
  .brand .word { font-size: 19px; }
}
