:root {
  --ink: #12141c;
  --ink-soft: #4a4e5c;
  --paper: #ffffff;
  --paper-soft: #f4f6fb;
  --blue: #0f4bb9;
  --blue-deep: #0a3585;
  --line: #e4e7ef;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  color: var(--ink);
  margin: 0 0 .5em 0;
  line-height: 1.15;
  font-weight: 700;
}
p { line-height: 1.7; color: var(--ink-soft); margin: 0 0 1em 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.icon svg, .why-icon svg { width: 100%; height: 100%; }

/* Topbar */
.topbar { background: var(--ink); color: #cfd3e0; font-size: 13.5px; }
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; gap: 8px;
}
.topbar a { color: #e8eaf1; }
.topbar .contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .contacts span { opacity: .55; margin-right: 6px; }

/* Header */
header.site { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 19px; }
.brand img { width: 38px; height: 38px; }
nav.main { display: flex; gap: 34px; }
nav.main a { font-weight: 600; font-size: 15px; color: var(--ink); }
nav.main a.active { color: var(--blue); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--blue); color: #fff !important;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; border: none; cursor: pointer;
}
.btn:hover { background: var(--blue-deep); }
.btn-outline { background: transparent; border: 1.5px solid var(--line); color: var(--ink) !important; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue) !important; }
.btn-outline.on-dark { color: #fff !important; border-color: rgba(255,255,255,.4); }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 120px 0 130px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); max-width: 15ch; }
.hero p.lead { color: #d3d8ea; max-width: 52ch; font-size: 17.5px; }
.hero-tag { display: inline-block; font-size: 14px; font-weight: 600; color: #9fb4e8; margin-bottom: 18px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.page-hero {
  padding: 64px 0; color: #fff; background-size: cover; background-position: center;
}
.page-hero h1 { color: #fff; font-size: clamp(28px,4vw,40px); }
.breadcrumb { font-size: 14px; color: #cfd8ee; margin-bottom: 10px; }
.breadcrumb a { color: #fff; }

/* Stats bar */
.stats { background: var(--blue); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding: 42px 28px; }
.stat { text-align: center; border-right: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; gap: 4px; }
.stat:last-child { border-right: none; }
.stat-num { font-family: 'Sora', sans-serif; font-size: 34px; font-weight: 700; }
.stat-label { font-size: 13.5px; color: #cddaf5; }

/* Section generic */
section { padding: 88px 0; }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { padding: 34px 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.service-card .icon { width: 46px; height: 46px; color: var(--blue); display: block; margin-bottom: 20px; }
.service-card h3 { font-size: 19px; }
.service-card p { font-size: 14.5px; margin-bottom: 0; }

/* About / vision */
.about { background: var(--paper-soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photo { border-radius: 16px; overflow: hidden; }
.about-copy .eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; margin-bottom: 10px; display: block; }
.about-copy p { font-size: 15.5px; }

/* Why choose */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 44px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-icon { width: 34px; height: 34px; flex: none; color: var(--blue); margin-top: 4px; }
.why-item h4 { font-size: 16.5px; margin-bottom: 4px; }
.why-item p { font-size: 14px; margin-bottom: 0; }

/* CTA band */
.cta-band {
  color: #fff; text-align: center; border-radius: 20px; padding: 64px 40px; margin: 0 28px;
  background-size: cover; background-position: center;
}
.cta-band h2 { color: #fff; font-size: clamp(24px,3.2vw,32px); }
.cta-band p { color: #d3d8ea; max-width: 46ch; margin: 0 auto 28px; }

/* Placeholder chip + cards */
.draft-chip {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  color: #a15c00; background: #fff2da; border: 1px solid #f0d9ab;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
}
.placeholder-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ph-card { border: 1px dashed #cfd5e4; border-radius: 14px; padding: 26px; background: var(--paper-soft); }
.ph-card img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.ph-card h4 { font-size: 16px; }
.ph-card p { font-size: 13.5px; margin-bottom: 0; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card { padding: 30px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.testimonial-card p.quote { font-size: 14.5px; font-style: italic; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.testimonial-person h5 { margin: 0; font-size: 14.5px; }
.testimonial-person span { font-size: 12.5px; color: var(--ink-soft); }

/* Contact form */
.contact-form { display: grid; gap: 16px; max-width: 640px; margin: 0 auto; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-msg { text-align: center; padding: 12px; border-radius: 10px; margin-bottom: 16px; }
.form-msg.ok { background: #e8f6ec; color: #1c7a37; }
.form-msg.err { background: #fdeceb; color: #b3261e; }

/* Footer */
footer { background: var(--ink); color: #b7bccb; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-grid h5 { color: #fff; font-family: 'Sora', sans-serif; font-size: 14.5px; margin-bottom: 18px; }
.footer-grid a, .footer-grid p { color: #b7bccb; font-size: 14px; display: block; margin-bottom: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: 34px; height: 34px; }
.footer-brand span { color: #fff; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; }
.foot-bottom { padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  nav.main { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .why-grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .placeholder-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
