:root {
  --bg: #f7f5f1;
  --ink: #171717;
  --muted: #5e5a54;
  --line: #e4dfd6;
  --card: #fff;
  --accent: #f0b429;
  --accent-ink: #1a1a1a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: #111; color: #fff; font-size: 14px; font-weight: 600; }
.ticker { overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; padding: 10px 0; animation: marquee 22s linear infinite; }
.ticker-track span { display: inline-block; padding-right: 48px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.header-inner, .hero-actions { display: flex; align-items: center; gap: 16px; }
.header-inner { justify-content: space-between; min-height: 64px; }
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; display: block; }
.nav { display: flex; gap: 22px; font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px;
  padding: 12px 18px; font-weight: 700; cursor: pointer;
}
.btn-sm { padding: 8px 12px; font-size: 13px; }
.btn-ghost { background: transparent; border: 1px solid var(--ink); }
.burger { display: none; background: none; border: 0; font-size: 24px; }
.section { padding: 36px 0; }
.hero { padding: 36px 0 20px; }
.hero-grid, .about-grid, .why-grid, .contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--muted); }
h1, h2 { line-height: 1.15; letter-spacing: -.03em; }
h1 { font-size: clamp(36px, 5vw, 64px); margin: 8px 0 16px; }
h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; }
.lead, .section-head p, .about p, .why p, .contact p { color: var(--muted); font-size: 18px; }
.hero-visual { position: relative; }
.hero-visual img, .about-photos img, .why-photos img, .projects img, .news img { border-radius: 18px; width: 100%; object-fit: cover; }
.hero-visual img { height: 460px; }
.float-card {
  position: absolute; left: -20px; bottom: 24px; background: #fff; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.float-card strong { display: block; font-size: 28px; }
.section { padding: 36px 0; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; max-width: none; }
.cards, .quotes, .news, .projects { display: grid; gap: 16px; }
.cards, .quotes, .news { grid-template-columns: repeat(3, 1fr); }
.cards { grid-template-columns: repeat(4, 1fr); }
.card, .quotes article, .news article, .form {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
}
.card img { width: 48px; height: 48px; }
.tag { color: #9a6b00; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.ribbon {
  display: inline-block;
  margin: 0 0 8px;
  padding: 10px 28px 10px 18px;
  background: #c62828;
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
  font-size: clamp(22px, 3vw, 34px);
}
.about-case img { width: 100%; border-radius: 18px; }
.about-case p { max-width: 760px; }
.about-case h3 { margin: 18px 0 0; font-size: 28px; }
.chart { margin-top: 18px; width: 180px; }
.table-wrap { overflow: auto; background: #fff; border-radius: 18px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 16px; border-bottom: 1px solid var(--line); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.pills li { background: #c4841d; color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; }
.form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input { border: 1px solid var(--line); border-radius: 10px; padding: 12px; font: inherit; }
.steps { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.steps span { background: #fff; border-radius: 999px; padding: 8px 12px; border: 1px solid var(--line); }
.projects { grid-template-columns: repeat(5, 1fr); }
figure { margin: 0; }
figcaption { margin-top: 8px; font-weight: 700; }
figcaption small { display: block; color: var(--muted); font-weight: 500; }
.cta, .bottom-cta { background: #171717; color: #fff; padding: 56px 0; }
.cta-inner { display: flex; gap: 20px; align-items: center; }
.quotes article img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center top; }
.quotes article { display: grid; gap: 6px; }
.quotes h3 { margin: 8px 0 0; }
.quotes .role { margin: 0; font-size: 14px; }
.role, .meta, .copy, .footer a { color: var(--muted); }
.stats { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 0; }
.stats strong { display: block; font-size: 36px; }
.news img { height: 180px; object-fit: cover; }
.footer { padding: 36px 0 24px; border-top: 1px solid var(--line); }
.header { position: sticky; top: 0; background: rgba(247,245,241,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 5; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.plan-main { border: 2px solid #c4841d; background: #fffaf1; }
.plan-name { margin: 0; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 14px; color: #c4841d; }
.plan-fee { margin: 10px 0 0; font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.sent {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f6e7c4;
  color: #1a1a1a;
}
.sent[hidden] { display: none; }
.sent strong { font-size: 18px; }
.err { color: #9b1c1c; }
.footer-min { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.copy { margin: 14px auto 0; }
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 16px; border-bottom: 1px solid var(--line); }
  .burger { display: block; }
  .hero-grid, .about-grid, .why-grid, .contact-grid, .cards, .quotes, .projects, .plans, .footer-min { grid-template-columns: 1fr; }
  .footer-min { display: grid; justify-items: start; }
  .logo img { height: 28px; }
  .top-links { display: none; }
  .hero-visual img { height: 280px; }
}
