:root {
  --navy: #0c2348;
  --navy-deep: #07162f;
  --navy-mid: #16356c;
  --orange: #f15a22;
  --orange-deep: #d44512;
  --ink: #122033;
  --muted: #5c6d80;
  --line: #e4ebf3;
  --paper: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 22, 47, 0.12);
  --radius: 18px;
  --header: 86px;
  --topbar: 42px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: Outfit, Inter, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.45em;
}
p { margin: 0 0 1em; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy-deep);
  color: #d7e2f2;
  font-size: 13.5px;
  min-height: var(--topbar);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--topbar);
}
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: #fff; }
.topbar a:hover { color: #ffd2bf; }
.topbar-links { display: flex; gap: 18px; align-items: center; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(7, 22, 47, 0.06); }
.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img { height: 68px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a, .login-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
}
.nav a:hover, .login-toggle:hover, .nav a.active { color: var(--orange); }
.nav a.active { background: #fff4ee; }

.has-sub { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.18s ease;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.submenu a {
  display: block;
  border-radius: 10px;
  padding: 10px 12px;
}
.submenu a span { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.15s ease;
}
.btn:hover { background: var(--orange-deep); color: #fff; }
.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}
.btn.ghost:hover { background: #fff; color: var(--navy); }
.btn.navy { background: var(--navy); }
.btn.navy:hover { background: var(--navy-mid); }

.hero {
  position: relative;
  min-height: 680px;
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slide.active { opacity: 1; }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 47, 0.88) 0%, rgba(7, 22, 47, 0.62) 48%, rgba(7, 22, 47, 0.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 92px 0 150px;
  max-width: 720px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(42px, 6vw, 72px); color: #fff; max-width: 12ch; }
.hero p.lead { font-size: 18px; color: #e7eef8; max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-dots {
  position: absolute;
  z-index: 3;
  left: max(20px, calc((100% - var(--max)) / 2));
  bottom: 118px;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}
.hero-dots button.active { background: var(--orange); }

.track-card {
  position: relative;
  z-index: 4;
  margin-top: -78px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 14px;
  align-items: end;
}
.track-card label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.track-card select, .track-card input, .field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 140px; padding: 14px; resize: vertical; }
.track-card select:focus, .track-card input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(241, 90, 34, 0.25);
  border-color: var(--orange);
}

.section { padding: 88px 0; }
.section.alt { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 8px;
}
.section h2 { font-size: clamp(32px, 4vw, 46px); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(12, 35, 72, 0.04);
}
.card img { height: 190px; width: 100%; object-fit: cover; }
.card-body { padding: 20px 20px 22px; }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); margin: 0; }
.card a.more { display: inline-block; margin-top: 12px; color: var(--orange); font-weight: 700; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.photo-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 460px;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 460px; }
.photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: #fff;
  color: var(--navy);
  border-radius: 16px;
  padding: 14px 16px;
  max-width: 230px;
  box-shadow: var(--shadow);
}
.photo-badge strong { display: block; font-family: Outfit, sans-serif; font-size: 18px; }

.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--ink);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 11.2 3.4 8.4l1.1-1.1 1.7 1.7 4.3-4.3 1.1 1.1z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
}
.pillar .num {
  font-family: Outfit, sans-serif;
  color: var(--orange);
  font-size: 28px;
  font-weight: 700;
}
.pillar h3 { font-size: 20px; }

.modes {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}
.mode {
  position: relative;
  min-height: 240px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.mode.tall { min-height: 502px; }
.mode img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mode span {
  position: relative;
  z-index: 1;
  font-family: Outfit, sans-serif;
  font-size: 28px;
  font-weight: 650;
  text-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.mode::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,22,47,0.75), rgba(7,22,47,0.05));
}
.mode-stack { display: grid; gap: 22px; }

.cta {
  background:
    linear-gradient(100deg, rgba(7,22,47,0.92), rgba(12,35,72,0.78)),
    url("../wp-content/uploads/2024/03/ab2.webp") center/cover;
  color: #fff;
  border-radius: 28px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); max-width: 14ch; }
.cta p { color: #e5eef8; margin: 0; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.page-hero {
  position: relative;
  color: #fff;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background: var(--navy) center/cover no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,22,47,0.82), rgba(7,22,47,0.35));
}
.page-hero .wrap { position: relative; z-index: 1; padding: 70px 0 42px; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 5vw, 64px); }
.crumbs { color: #d5e2f3; font-size: 14px; }
.crumbs a { color: #fff; }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 54px;
}
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-block img { width: 100%; height: 340px; object-fit: cover; border-radius: 24px; }
.service-block h2 { font-size: 36px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}
.panel.navy { background: var(--navy); color: #fff; border: 0; }
.panel.navy p, .panel.navy a { color: #e7eef8; }
.phone-xl {
  font-family: Outfit, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  color: #fff;
  letter-spacing: -0.03em;
  display: inline-block;
  margin: 8px 0 16px;
}
.portal-links { display: grid; gap: 10px; margin-top: 18px; }
.portal-links a {
  display: flex;
  justify-content: space-between;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
  font-weight: 700;
}
.portal-links a:hover { background: var(--orange); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.note { color: var(--muted); font-size: 14px; }
.form-ok {
  display: none;
  background: #eefaf3;
  border: 1px solid #b7e4c7;
  color: #146c43;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.site-footer {
  background: var(--navy-deep);
  color: #c9d6e8;
  padding: 56px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 28px;
}
.site-footer h3 { color: #fff; font-size: 18px; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.footer-logo {
  background: #fff;
  display: inline-block;
  border-radius: 12px;
  padding: 6px 8px;
  margin-bottom: 12px;
}
.footer-logo img { height: 58px; width: auto; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 32px;
  padding-top: 16px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed;
    inset: calc(var(--topbar) + var(--header)) 16px auto 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }
  .nav.open { display: flex; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 6px 10px;
  }
  .has-sub.open .submenu { display: block; }
  .track-card, .split, .cards, .pillars, .modes, .contact-grid, .service-block, .service-block.reverse, .footer-grid, .cta {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .mode.tall { min-height: 240px; }
  .cta { padding: 28px; }
  .hero { min-height: 560px; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar .wrap { flex-direction: column; align-items: flex-start; padding: 8px 0; }
  .legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  html { scroll-behavior: auto; }
}
