:root {
  --navy: #17223D;
  --navy-2: #1F2D4F;
  --green: #3C786F;
  --green-dark: #2F6159;
  --green-tint: #E7F0EE;
  --light: #F5F5F5;
  --white: #FFFFFF;
  --text: #2A3347;
  --muted: #5B6478;
  --line: #E2E5EA;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: 8px 14px; border-radius: 10px;
}
.nav a:hover { background: var(--light); }
.nav a[aria-current="page"] { color: var(--green); background: var(--green-tint); }
.nav .nav-call { background: var(--green); color: var(--white); margin-left: 8px; }
.nav .nav-call:hover { background: var(--green-dark); }
.menu-toggle {
  display: none; border: 0; background: var(--light); color: var(--navy);
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer; font: inherit; font-size: 1.4rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: var(--white); }

/* Hero */
.hero { background: var(--navy); color: #D5DBE8; padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px;
  border: 26px solid var(--green); border-top-color: transparent; border-radius: 50%; opacity: .22;
}
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lead { font-size: 1.2rem; max-width: 58ch; margin-bottom: 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #8FC3BA; margin-bottom: 14px; }
.page-hero { padding: 64px 0 68px; }
.page-hero h1 { max-width: 22ch; }

/* Sections */
section { padding: 80px 0; }
.bg-light { background: var(--light); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--green-tint); color: var(--green);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card .more { margin-top: auto; padding-top: 16px; font-weight: 700; text-decoration: none; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checks strong { color: var(--navy); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.value { border-left: 4px solid var(--green); padding: 6px 0 6px 18px; }
.value h3 { margin-bottom: .25em; }
.value p { color: var(--muted); margin: 0; }

/* Service list */
.service { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 34px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; }
.service .icon svg { width: 30px; height: 30px; }
.service p { color: var(--muted); max-width: 62ch; }
.service p:last-child { margin-bottom: 0; }

/* 24/7 band */
.band { background: var(--green); color: var(--white); padding: 56px 0; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { color: var(--white); margin-bottom: .2em; }
.band p { margin: 0; color: #E3F0ED; max-width: 52ch; }
.band .phone { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--white); text-decoration: none; white-space: nowrap; }
.band .phone:hover { text-decoration: underline; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list b { color: var(--navy); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.form { background: var(--light); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.form input, .form textarea {
  font: inherit; font-weight: 400; color: var(--text); padding: 13px 14px; border-radius: 10px;
  border: 1px solid #CDD2DB; background: var(--white); width: 100%;
}
.form input:focus, .form textarea:focus { outline: 3px solid rgba(60,120,111,.3); border-color: var(--green); }
.form textarea { min-height: 150px; resize: vertical; }
.form .note { font-size: .88rem; color: var(--muted); margin: 0; }
.form button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.hidden { display: none; }

/* Footer */
.site-footer { background: var(--navy); color: #AEB7C9; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 54px; width: auto; margin-bottom: 18px; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #D5DBE8; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

a:focus-visible, button:focus-visible { outline: 3px solid #8FC3BA; outline-offset: 2px; }

/* Responsive */
@media (max-width: 920px) {
  .grid-3 { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 10px 16px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .nav-call { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .hero { padding: 60px 0 68px; }
  .page-hero { padding: 48px 0 52px; }
  .grid-2, .values, .form .row, .footer-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 14px; }
  .brand img { height: 40px; }
  .form { padding: 22px; }
  .hero::after { width: 300px; height: 300px; right: -110px; bottom: -120px; border-width: 18px; }
}
