:root {
  --teal-900: #073c47;
  --teal-700: #0d7c86;
  --teal-600: #12939c;
  --teal-50:  #e9f5f6;
  --pink:     #e0466f;
  --ink:      #26303a;
  --ink-soft: #5c6a77;
  --line:     #dde6ea;
  --bg-alt:   #f2f8f9;
  --radius:   8px;
  --wrap:     1180px;
  --shadow:   0 2px 12px rgba(7, 60, 71, .08);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 .55em; font-weight: 700; }
h1 { font-size: 2.3rem; }
h2 { font-size: 1.7rem; color: var(--teal-900); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
img, svg { display: block; }
a { color: var(--teal-700); }
a:hover, a:focus-visible { color: var(--pink); }
:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

/* ---------- header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: var(--shadow); }

.topbar { background: var(--teal-900); color: #bcd9dd; font-size: .8rem; }
.topbar__in { display: flex; flex-wrap: wrap; gap: 4px 26px; justify-content: space-between; align-items: center; min-height: 34px; }
.topbar p { display: flex; align-items: center; gap: 7px; margin: 0; }
.topbar svg { flex: none; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: #ffd07a; }

.header__in { display: flex; align-items: center; gap: 18px; min-height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; background: var(--teal-700); color: #fff;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-size: 1.2rem; font-weight: 700; color: var(--teal-900); }
.brand__sub { font-size: .72rem; color: var(--ink-soft); }

.primary-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block; padding: 9px 12px; border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500;
}
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--teal-50); color: var(--teal-700); }

.nav-toggle {
  display: none; width: 46px; height: 42px; background: none;
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle__box { display: block; position: relative; width: 22px; height: 2px; margin: 0 auto; background: var(--teal-700); }
.nav-toggle__box::before, .nav-toggle__box::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--teal-700);
}
.nav-toggle__box::before { top: -7px; }
.nav-toggle__box::after  { top:  7px; }

/* ---------- hero ---------- */

.hero {
  padding: 54px 0 46px; color: #fff;
  background: linear-gradient(135deg, var(--teal-900), var(--teal-600));
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero__lead { font-size: 1.08rem; color: #d5ecee; max-width: 62ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }

.btn { display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: .95rem; }
.btn--primary { background: var(--pink); color: #fff; }
.btn--primary:hover { background: #f0577f; color: #fff; }
.btn--ghost { border: 2px solid rgba(255, 255, 255, .65); color: #fff; padding: 11px 26px; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }

.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.hero__facts li {
  background: rgba(255, 255, 255, .1); border-radius: var(--radius);
  padding: 14px 18px; min-width: 0;
}
.hero__facts strong { display: block; font-size: 1.25rem; }
.hero__facts span { font-size: .85rem; color: #cfe6e9; }

/* ---------- sections ---------- */

.section { padding: 52px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { position: relative; padding-bottom: 14px; margin-bottom: 22px; }
.section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; background: var(--pink); border-radius: 2px; }
.section__lead { max-width: 78ch; color: var(--ink-soft); margin-bottom: 26px; }

.intro { max-width: 92ch; }
.intro p:last-child { margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards > * { min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card svg { color: var(--teal-700); margin-bottom: 10px; }
.card h3 { color: var(--teal-900); font-size: 1rem; }
.card p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.doc {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal-700);
  border-radius: var(--radius); padding: 20px 22px; min-width: 0;
}
.doc h3 { color: var(--teal-900); margin-bottom: .15em; }
.doc__role { font-size: .85rem; font-weight: 600; color: var(--pink); margin-bottom: .7em; }
.doc p:last-child { margin: 0; font-size: .92rem; color: var(--ink-soft); }

.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.panel h3 { color: var(--teal-900); }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .94rem; }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: .55em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--teal-700);
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.steps li { display: flex; gap: 14px; background: #fff; border-radius: var(--radius); padding: 18px 20px; min-width: 0; }
.step__n { font-size: 1.5rem; font-weight: 700; color: var(--teal-50); background: var(--teal-700); border-radius: var(--radius); padding: 2px 12px; height: fit-content; flex: none; }
.steps h3 { margin-bottom: .3em; color: var(--teal-900); }
.steps p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  margin: 0; background: var(--bg-alt); border-radius: var(--radius);
  padding: 22px 24px; min-width: 0; display: flex; flex-direction: column; gap: 12px;
}
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font-size: .93rem; }
.review blockquote p::before { content: "“"; }
.review blockquote p::after { content: "”"; }
.review figcaption { font-weight: 600; color: var(--teal-900); margin-top: auto; }
.review figcaption span { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-soft); }

.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; min-width: 0; }
.post h3 { color: var(--teal-900); font-size: 1.02rem; }
.post p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

.section--contact { background: var(--teal-900); color: #d3e9ec; }
.section--contact .section__title { color: #fff; }
.section--contact .section__lead { color: #b9d8dc; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact__box { background: rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 20px 22px; min-width: 0; }
.contact__box h3 { color: #ffd07a; }
.contact address { font-style: normal; }
.contact a { color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.contact a:hover { color: #ffd07a; }
.contact p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.site-footer { background: #10222a; color: #9fb5bc; font-size: .92rem; padding-top: 38px; }
.footer__in { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 26px; padding-bottom: 24px; }
.footer__name { color: #fff; font-weight: 700; }
.footer__head { color: #fff; font-weight: 700; margin-bottom: .6em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #9fb5bc; text-decoration: none; }
.site-footer a:hover { color: #ffd07a; }
.footer__bottom { border-top: 1px solid #21333b; padding: 15px 0; }
.footer__bottom p { margin: 0; font-size: .84rem; }

.callnow {
  position: fixed; left: 18px; bottom: 18px; z-index: 60;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--pink); color: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
.callnow:hover { background: #f0577f; color: #fff; }

/* ---------- mobile ---------- */

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps, .reviews { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .cards, .docs, .posts, .two-col { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .section, .hero { padding: 36px 0; }

  .nav-toggle { display: block; }
  .primary-nav { display: none; width: 100%; order: 3; padding-bottom: 12px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { padding: 11px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header__in { flex-wrap: wrap; }

  .cards, .steps, .reviews, .contact, .hero__facts, .footer__in { grid-template-columns: 1fr; }
  .topbar__in { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
