:root {
  --blue-900: #063a75;
  --blue-700: #0b4f9e;
  --blue-600: #1263bd;
  --accent:   #f7941e;
  --accent-d: #d97b06;
  --ink:      #22303f;
  --ink-soft: #5b6a7a;
  --line:     #dde5ee;
  --bg:       #ffffff;
  --bg-alt:   #f2f6fb;
  --radius:   6px;
  --wrap:     1180px;
  --shadow:   0 2px 10px rgba(6, 58, 117, .09);
}

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

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3 { font-family: "Roboto Slab", Georgia, serif; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 2.35rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.12rem; }
p  { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); }
a:hover, a:focus-visible { color: var(--accent-d); }

:focus-visible { outline: 3px solid var(--accent); 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(--blue-900); color: #cfe0f3; font-size: .82rem; }
.topbar__in { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; align-items: center; min-height: 34px; }
.topbar p { margin: 0; }
.topbar__contact { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--accent); }

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

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; margin-right: auto; }
.brand__mark { font-family: "Roboto Slab", Georgia, serif; font-size: 1.75rem; font-weight: 700; color: var(--blue-700); letter-spacing: .06em; }
.brand__sub  { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; 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: .93rem; font-weight: 600;
}
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--bg-alt); color: var(--blue-700); }

.nav-toggle {
  display: none; margin-left: auto; 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(--blue-700); }
.nav-toggle__box::before, .nav-toggle__box::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--blue-700);
}
.nav-toggle__box::before { top: -7px; }
.nav-toggle__box::after  { top:  7px; }

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

.hero { position: relative; background: var(--blue-900); }

.hero__slides { position: relative; }
.hero__slide { margin: 0; display: none; }
.hero__slide.is-active { display: block; }
.hero__slide img { width: 100%; aspect-ratio: 10 / 3; object-fit: cover; }

.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(6, 58, 117, .55); color: #fff; font-size: 1.6rem; line-height: 1;
}
.hero__nav:hover { background: var(--accent); }
.hero__nav--prev { left: 14px; }
.hero__nav--next { right: 14px; }

.hero__panel { background: linear-gradient(180deg, var(--blue-900), var(--blue-700)); color: #fff; padding: 30px 0 36px; }
.hero__panel h1 { color: #fff; margin-bottom: .35em; }
.hero__lead { max-width: 62ch; color: #d8e6f6; font-size: 1.05rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; font-size: .95rem;
}
.btn--accent { background: var(--accent); color: #23180a; }
.btn--accent:hover { background: #ffa938; color: #23180a; }
.btn--ghost { border: 2px solid rgba(255, 255, 255, .6); color: #fff; padding: 10px 24px; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

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

.section { padding: 54px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { color: var(--blue-900); position: relative; padding-bottom: 14px; margin-bottom: 28px; }
.section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 62px; height: 4px; background: var(--accent); }

.intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: start; }
.intro__text > *:last-child { margin-bottom: 0; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

.intro__video { margin: 0; }
.intro__video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.intro__video figcaption { font-size: .85rem; color: var(--ink-soft); padding-top: 8px; }

.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.card h3 { color: var(--blue-700); }
.card p:last-child { margin-bottom: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid > * { min-width: 0; }
.tile {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tile figcaption { padding: 14px 16px; }
.tile h3 { margin: 0; font-size: 1.02rem; color: var(--blue-900); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.services li { background: #fff; border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; min-width: 0; }
.services h3 { color: var(--blue-700); margin-bottom: .35em; }
.services p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

.news { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: start; }
.news__lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.news__lead h3 { color: var(--blue-900); font-size: 1.28rem; }
.news__list { list-style: none; margin: 0; padding: 0; }
.news__list li { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
.news__list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.news__list h3 { color: var(--blue-700); font-size: 1.05rem; margin-bottom: .3em; }
.news__list p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; list-style: none; margin: 0; padding: 0; }
.projects li { position: relative; padding: 12px 16px 12px 38px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.projects li::before {
  content: ""; position: absolute; left: 16px; top: 1.15em;
  width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg);
}

.section--cta { background: var(--blue-900); color: #e7f0fa; }
.section--cta .section__title { color: #fff; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact__box { background: rgba(255, 255, 255, .07); border-radius: var(--radius); padding: 20px 22px; min-width: 0; }
.contact__box h3 { color: var(--accent); }
.contact address { font-style: normal; }
.contact a { color: #fff; font-weight: 600; }
.contact a:hover { color: var(--accent); }
.contact p:last-child { margin-bottom: 0; }

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

.site-footer { background: #12222f; color: #a9bccd; font-size: .92rem; padding-top: 40px; }
.footer__in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; padding-bottom: 26px; }
.footer__name { color: #fff; font-weight: 700; letter-spacing: .02em; }
.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: #a9bccd; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid #24384a; padding: 16px 0; }
.footer__bottom p { margin: 0; font-size: .85rem; }

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

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

@media (max-width: 980px) {
  .intro, .news { grid-template-columns: 1fr; }
  .cards--3, .grid, .services, .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.45rem; }
  .section { padding: 38px 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--3, .grid, .services, .contact, .projects, .footer__in { grid-template-columns: 1fr; }
  .hero__nav { width: 34px; height: 34px; font-size: 1.2rem; }
  .topbar__in { justify-content: center; text-align: center; }
}

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