:root {
  --blue: #407af8;
  --blue-dark: #2f63d6;
  --blue-soft: #e7eefe;
  --ink: #18232f;
  --muted: #5e5e5e;
  --bg: #ffffff;
  --bg-alt: #f0f7fa;
  --bg-tint: #f7fdff;
  --line: #e6eef5;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(24, 35, 47, .08);
}
* { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
a { color: var(--blue); text-decoration: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { font-size: 22px; font-weight: 800; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 700; font-size: 18px; }
.brand-accent { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 18px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--blue); }
.nav-phone { margin-left: auto; font-weight: 700; color: var(--blue); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.phone-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 13px 26px; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; transition: background .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-soft { background: var(--blue-soft); color: var(--blue); }
.btn-soft:hover { background: #d8e3fd; }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, var(--bg-tint) 0%, #ffffff 100%); padding: 80px 0 90px; overflow: hidden; }
.hero-ring { position: absolute; left: -180px; top: -60px; width: 460px; height: 460px; border-radius: 50%; border: 60px solid var(--blue-soft); opacity: .55; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--blue); font-weight: 700; letter-spacing: .02em; margin: 0 0 12px; }
.hero-text h1 { font-size: 46px; line-height: 1.12; font-weight: 800; margin: 0 0 18px; letter-spacing: -.01em; }
.hero-sub { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 460px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { position: relative; min-height: 360px; }
.hero-blob { position: absolute; inset: 10% -4% 6% 8%; background: var(--blue); border-radius: 44% 56% 60% 40% / 48% 42% 58% 52%; opacity: .14; }
.hero-photo { position: relative; background: #fff; border-radius: 26px; box-shadow: var(--shadow); padding: 30px; }
.avatars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.avatars span { aspect-ratio: 1; display: grid; place-items: center; font-size: 40px; background: var(--bg-alt); border-radius: 18px; }
.hero-photo-cap { text-align: center; font-weight: 700; color: var(--ink); margin: 18px 0 0; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 34px; font-weight: 800; text-align: center; margin: 0 0 10px; letter-spacing: -.01em; }
.section-sub { text-align: center; color: var(--muted); font-size: 17px; margin: 0 auto 44px; max-width: 560px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--blue-soft); display: grid; place-items: center; font-size: 28px; margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }

/* Team */
.team { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.team .section-title, .team .section-sub { text-align: left; margin-left: 0; }
.team-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.member h3 { margin: 14px 0 4px; font-size: 17px; }
.member p { margin: 0; color: var(--muted); font-size: 14px; }
.avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700; margin: 0 auto; }

/* News */
.news { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.news-img { height: 150px; display: grid; place-items: center; font-size: 48px; background: var(--bg-alt); }
.news-body { padding: 22px 24px 26px; }
.news-body h3 { margin: 0 0 8px; font-size: 18px; }
.news-body p { margin: 0; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.contact .section-title { text-align: left; }
.contact p { margin: 6px 0; }
.contact-cta { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-cta h3 { margin: 0 0 10px; font-size: 22px; }
.contact-cta p { color: var(--muted); margin: 0 0 20px; }
.muted { color: var(--muted); }

/* Footer */
.site-footer { background: var(--bg-tint); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-grid h4 { margin: 0 0 14px; font-size: 16px; }
.footer-grid .muted a { color: var(--muted); }
.footer-grid .muted a:hover { color: var(--blue); }
.brand-light { font-size: 20px; margin-bottom: 12px; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1 1 auto; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font-family: inherit; font-size: 14px; outline: none; }
.newsletter input:focus { border-color: var(--blue); }
.newsletter .btn { padding: 11px 18px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; min-height: 0; max-width: 380px; }
  .team { grid-template-columns: 1fr; gap: 28px; }
  .team .section-title { text-align: left; }
  .cards { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .nav { height: 62px; gap: 12px; }
  .nav-links { display: none; }
  .nav-phone { margin-left: auto; font-size: 14px; }
  .hero { padding: 48px 0 60px; }
  .hero-text h1 { font-size: 31px; }
  .hero-sub { font-size: 17px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 52px 0; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 16px; margin-bottom: 30px; }
  .cards { grid-template-columns: 1fr; }
  .team-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
