:root {
  --accent: #0866cc;
  --accent-soft: rgba(8, 102, 204, 0.1);
  --white: #ffffff;
  --grey: #f4f6f8;
  --grey-border: #dce2e8;
  --text: #17202a;
  --muted: #5d6874;
  --radius: 22px;
  --pill: 999px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Open Sans", Inter, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; width: 100%; height: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 94px 0; }
.section-alt { background: var(--grey); }
.skip-link {
  position: fixed;
  z-index: 200;
  left: 20px;
  top: -80px;
  padding: 10px 18px;
  border-radius: var(--pill);
  color: var(--white);
  background: var(--accent);
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--grey-border);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 5px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 14px;
}
.brand strong, .brand small { display: block; line-height: 1.25; }
.brand strong { font-size: 1.03rem; letter-spacing: -.01em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.main-nav { display: flex; justify-content: center; gap: 30px; margin-left: auto; }
.main-nav a { position: relative; padding: 26px 0 23px; font-size: .92rem; font-weight: 700; }
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border: 2px solid var(--accent);
  border-radius: var(--pill);
  color: var(--white);
  background: var(--accent);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { color: var(--accent); background: var(--white); transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid rgba(8,102,204,.3); outline-offset: 3px; }
.button-small { min-height: 42px; padding: 9px 19px; font-size: .88rem; }
.button-full { width: 100%; }
.text-link { color: var(--accent); font-weight: 800; border-bottom: 2px solid var(--accent); }

.hero { overflow: hidden; padding-top: 72px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: stretch; gap: 58px; }
.hero-copy { align-self: center; padding: 20px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--accent);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 2px; content: ""; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(2.55rem, 5.3vw, 4.75rem); line-height: 1.03; letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.12; letter-spacing: -.04em; }
h3 { font-size: 1.13rem; line-height: 1.3; }
.hero-lead { max-width: 680px; margin-bottom: 31px; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 38px; color: var(--muted); font-size: .88rem; }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row span::before { width: 8px; height: 8px; content: ""; background: var(--accent); border-radius: 50%; }
.trust-row strong { color: var(--text); }
.hero-panel {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 48px;
  color: var(--white);
  background: var(--accent);
  border-radius: 34px;
}
.hero-panel::before, .hero-panel::after { position: absolute; content: ""; border: 2px solid rgba(255,255,255,.25); border-radius: 50%; }
.hero-panel::before { width: 220px; height: 220px; top: -90px; right: -70px; }
.hero-panel::after { width: 110px; height: 110px; top: 35px; right: 30px; }
.panel-icon { position: absolute; width: 152px; height: 152px; top: 65px; left: 48px; color: var(--white); }
.hero-panel h2 { position: relative; max-width: 390px; margin-bottom: 22px; font-size: 2rem; }
.check-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { position: absolute; left: 0; top: .14em; color: var(--accent); content: "✓"; font-weight: 900; }
.light-list { position: relative; margin-top: 0; }
.light-list li::before { color: var(--white); }

.section-heading { max-width: 680px; margin-bottom: 44px; }
.section-heading > p { margin-bottom: 0; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { padding: 29px; border: 1px solid var(--grey-border); border-radius: var(--radius); transition: transform .2s ease, border-color .2s ease; }
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.icon-card { width: 55px; height: 55px; margin-bottom: 23px; padding: 12px; color: var(--accent); background: var(--accent-soft); border-radius: 17px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: .93rem; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 75px; }
.about-copy > p { max-width: 650px; color: var(--muted); }
.facts-panel { padding: 49px; color: var(--white); background: var(--accent); border-radius: 32px; }
.facts-label { margin-bottom: 5px; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.facts-panel > strong { font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1; letter-spacing: -.06em; }
.fact-divider { height: 1px; margin: 34px 0; background: rgba(255,255,255,.35); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.facts-grid b, .facts-grid span { display: block; }
.facts-grid b { font-size: 1.45rem; }
.facts-grid span { margin-top: 4px; font-size: .83rem; opacity: .86; }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { display: flex; min-height: 300px; flex-direction: column; padding: 30px; background: var(--grey); border-radius: var(--radius); }
.stars { margin-bottom: 20px; color: var(--accent); letter-spacing: .15em; }
blockquote { margin: 0 0 28px; font-size: 1.02rem; line-height: 1.75; }
.testimonial-card footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--grey-border); }
.testimonial-card footer strong, .testimonial-card footer span { display: block; }
.testimonial-card footer span { margin-top: 3px; color: var(--muted); font-size: .82rem; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; align-items: start; }
.contact-info > p { max-width: 500px; color: var(--muted); }
address { display: grid; gap: 13px; margin: 31px 0; font-style: normal; }
.contact-item { display: flex; align-items: center; gap: 15px; }
.contact-icon { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; color: var(--accent); background: var(--white); border-radius: 14px; font-weight: 900; }
.contact-item small, .contact-item strong { display: block; }
.contact-item small { color: var(--muted); font-size: .76rem; }
.contact-item strong { font-size: .94rem; }
.hours { display: grid; gap: 4px; padding-top: 25px; border-top: 1px solid var(--grey-border); }
.hours span { color: var(--muted); font-size: .88rem; }
.contact-form { padding: 38px; background: var(--white); border: 1px solid var(--grey-border); border-radius: 28px; }
.form-heading { margin-bottom: 26px; }
.form-heading h3 { margin-bottom: 4px; font-size: 1.45rem; }
.form-heading p { margin-bottom: 0; color: var(--muted); font-size: .85rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 17px; }
.field label { display: block; margin: 0 0 7px 3px; font-size: .84rem; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--grey-border); border-radius: 13px; color: var(--text); background: var(--white); }
input, select { height: 49px; padding: 0 14px; }
textarea { min-height: 130px; padding: 12px 14px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--accent); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 3px 0 22px; color: var(--muted); font-size: .8rem; }
.consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--accent); }
.consent a { color: var(--accent); text-decoration: underline; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.form-status { min-height: 22px; margin: 12px 0 0; color: var(--accent); text-align: center; font-size: .85rem; font-weight: 700; }

.site-footer { color: var(--text); background: var(--white); border-top: 1px solid var(--grey-border); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-top: 55px; padding-bottom: 45px; }
.footer-links { display: grid; align-content: start; gap: 8px; font-size: .88rem; }
.footer-links strong { margin-bottom: 5px; }
.footer-links a { width: max-content; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 20px; padding-bottom: 20px; color: var(--muted); border-top: 1px solid var(--grey-border); font-size: .78rem; }
.inline-links { display: flex; gap: 18px; }
.inline-links a:hover { color: var(--accent); }

.legal-hero { padding: 78px 0; color: var(--white); background: var(--accent); }
.legal-hero .eyebrow { color: var(--white); }
.legal-hero .eyebrow::before { background: var(--white); }
.legal-hero h1 { margin-bottom: 12px; font-size: clamp(2.5rem, 6vw, 4.4rem); }
.legal-hero p { margin-bottom: 0; opacity: .85; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; align-items: start; gap: 70px; }
.legal-nav { position: sticky; top: 110px; display: grid; gap: 9px; padding: 24px; background: var(--grey); border-radius: 20px; }
.legal-nav strong { margin-bottom: 4px; }
.legal-nav a { color: var(--muted); font-size: .87rem; }
.legal-nav a:hover { color: var(--accent); }
.legal-content { max-width: 790px; }
.legal-content section { margin-bottom: 42px; scroll-margin-top: 105px; }
.legal-content h2 { margin-bottom: 13px; font-size: 1.55rem; letter-spacing: -.02em; }
.legal-content p { color: var(--muted); }
.legal-content a:not(.button) { color: var(--accent); text-decoration: underline; }

@media (max-width: 940px) {
  .header-cta { margin-left: auto; }
  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    order: 3;
    padding: 0;
    border: 1px solid var(--grey-border);
    border-radius: 50%;
    background: var(--white);
  }
  .menu-toggle span { display: block; width: 18px; height: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    height: calc(100vh - 78px);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 35px 30px;
    background: var(--white);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--grey-border); font-size: 1.2rem; }
  .main-nav a::after { display: none; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .hero-panel { min-height: 480px; }
  .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { gap: 45px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 68px 0; }
  .header-inner { min-height: 70px; gap: 10px; }
  .brand small { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .main-nav { top: 70px; height: calc(100vh - 70px); }
  .hero { padding-top: 45px; }
  h1 { font-size: clamp(2.55rem, 14vw, 3.5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .trust-row { flex-direction: column; gap: 10px; margin-top: 30px; }
  .hero-panel { min-height: 460px; padding: 32px 25px; border-radius: 25px; }
  .panel-icon { width: 125px; height: 125px; top: 55px; left: 25px; }
  .hero-panel h2 { font-size: 1.65rem; }
  .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .service-card, .testimonial-card { padding: 25px; }
  .facts-panel { padding: 34px 27px; border-radius: 25px; }
  .facts-grid { gap: 22px 16px; }
  .contact-form { padding: 27px 20px; border-radius: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .legal-hero { padding: 58px 0; }
  .legal-layout { grid-template-columns: 1fr; gap: 42px; }
  .legal-nav { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
