:root {
  --navy: #0f2c4d; --navy-d: #091d34; --gold: #c9a227; --blue: #1d6fb8;
  --ink: #232a33; --ink-soft: #5c6672; --line: #e1e6ec; --bg-alt: #f5f8fb;
  --radius: 8px; --wrap: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: "DM Sans", "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.7; color: var(--ink); background: #fff; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: 2.5rem; } h2 { font-size: 1.7rem; color: var(--navy); } h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; } img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); } a:hover, a:focus-visible { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); 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; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 10px rgba(15,44,77,.09); }
.header__in { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { margin-right: auto; } .brand img { width: 210px; height: auto; }
.primary-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 10px 14px; border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 500; }
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--bg-alt); color: var(--navy); }
.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(--navy); }
.nav-toggle__box::before, .nav-toggle__box::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy); }
.nav-toggle__box::before { top: -7px; } .nav-toggle__box::after { top: 7px; }

.hero { position: relative; background: var(--navy-d); }
.hero__bg { width: 100%; max-height: 480px; object-fit: cover; opacity: .4; }
.hero__panel { position: absolute; inset: auto 0 0 0; padding: 36px 0 34px; background: linear-gradient(180deg, rgba(9,29,52,0), rgba(9,29,52,.93) 42%); color: #fff; }
.hero h1 { color: #fff; max-width: 18ch; } .hero__lead { max-width: 62ch; color: #ccd9e6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn { display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .95rem; }
.btn--primary { background: var(--gold); color: #2a2206; }
.btn--primary:hover { background: #dcb63a; color: #2a2206; }
.btn--ghost { border: 2px solid rgba(255,255,255,.6); color: #fff; padding: 11px 26px; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }

.section { padding: 52px 0; } .section--alt { background: var(--bg-alt); }
.section__title { position: relative; padding-bottom: 12px; margin-bottom: 22px; }
.section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--gold); }
.section__lead { max-width: 70ch; margin-bottom: 24px; }

.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.about__img { margin: 0; } .about__img img { width: 100%; border-radius: var(--radius); }
.about p:last-child { margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards > * { min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.card img { width: 56px; height: 56px; margin-bottom: 14px; }
.card h3 { color: var(--navy); } .card p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promise { border-left: 4px solid var(--blue); border-radius: var(--radius); background: var(--bg-alt); padding: 20px 24px; min-width: 0; }
.promise h3 { color: var(--navy); } .promise p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

.section--contact { background: var(--navy-d); color: #c7d6e5; }
.section--contact .section__title { color: #fff; }
.section--contact .section__lead { color: #a9c0d6; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact__box { background: rgba(255,255,255,.07); border-radius: var(--radius); padding: 24px; min-width: 0; }
.contact__box img { width: 46px; height: 46px; margin-bottom: 12px; }
.contact__box h3 { color: var(--gold); }
.contact__box p { margin: 0; }
.contact a { color: #fff; font-weight: 600; } .contact a:hover { color: var(--gold); }

.site-footer { background: #071726; color: #8fa3b6; font-size: .92rem; padding-top: 36px; }
.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: #8fa3b6; text-decoration: none; } .site-footer a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid #12293e; padding: 15px 0; }
.footer__bottom p { margin: 0; font-size: .84rem; }

@media (max-width: 1000px) { .cards, .promises, .contact { grid-template-columns: repeat(2, 1fr); } .footer__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; } h2 { font-size: 1.4rem; }
  .section { padding: 34px 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; min-height: 64px; } .brand img { width: 168px; }
  .hero__bg { max-height: 280px; } .hero__panel { position: static; background: var(--navy-d); }
  .about, .cards, .promises, .contact, .footer__in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
