:root {
  --navy: #0f2438;
  --navy_soft: #1b3a5c;
  --amber: #e8871e;
  --amber_soft: #f4b350;
  --bg: #f7f8fa;
  --text: #1c2530;
  --muted: #5b6773;
  --card: #ffffff;
  --radius: 14px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1420;
    --text: #eef1f4;
    --muted: #a9b4bf;
    --card: #12202f;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body { background: var(--bg); color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn_primary {
  background: var(--amber);
  color: #1a1000;
  box-shadow: 0 8px 20px rgba(232, 135, 30, 0.35);
}
.btn_outline {
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}
.btn_outline:hover {
  border-color: var(--amber_soft);
  color: var(--amber_soft);
}
.btn_ghost {
  border: 2px solid var(--amber);
  color: var(--amber);
  padding: 8px 18px;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .btn_ghost { font-size: 12px; padding: 8px 12px; }
}

/* header */
.site_header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(15, 36, 56, 0.1);
  border-bottom: 1px solid #eceef1;
}
.header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
}
.brand_logo { height: 52px; width: auto; display: block; }
.main_nav { display: flex; gap: 22px; }
.main_nav a { opacity: 0.85; font-size: 15px; }
.main_nav a:hover { opacity: 1; color: var(--amber_soft); }

/* hero */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero_video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero_video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
}
.hero_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,36,56,0.86) 0%, rgba(27,58,92,0.8) 100%);
}
.hero_inner { position: relative; z-index: 2; text-align: center; max-width: 780px; }
.eyebrow {
  color: var(--amber_soft);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 0 0 20px;
  line-height: 1.25;
}
.hero_lead {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin: 0 0 30px;
}
.hero_actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust_bar {
  background: var(--card);
  border-bottom: 1px solid #eceef1;
  padding: 22px 0;
}
.hero_trust {
  list-style: none;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  color: var(--navy_soft);
  font-size: 14px;
  font-weight: 600;
}
.hero_trust li { position: relative; padding-inline-start: 20px; }
.hero_trust li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--amber);
}

/* sections */
.section { padding: 64px 0; }
.section_title {
  text-align: center;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 10px;
}
.section_sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 36px;
}

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

.services_groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.service_photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  margin-bottom: 16px;
}
.service_photo_low { object-position: center 70%; }
.service_group h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--amber);
}
.service_group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service_group li {
  padding: 13px 0;
  border-bottom: 1px solid #e4e0d6;
  font-weight: 600;
  font-size: 15.5px;
}
.service_group li:last-child { border-bottom: none; }

.why_item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 36, 56, 0.06);
}
.why_icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber_soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.why_item h3 { margin: 0 0 8px; font-size: 17px; }
.why_item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* edge */
.edge_grid { grid-template-columns: repeat(3, 1fr); }
.edge_item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 36, 56, 0.06);
}
.edge_num, .edge_icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber_soft);
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  flex-shrink: 0;
}
.edge_item h3 { margin: 0 0 8px; font-size: 18px; }
.edge_item p { margin: 0; color: var(--muted); font-size: 14px; }

/* credentials */
.credentials {
  background: var(--navy);
  padding: 34px 0;
}
.credentials_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  text-align: center;
}
.credentials_item { color: #fff; }
.credentials_value {
  font-size: 30px;
  font-weight: 800;
  color: var(--amber_soft);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.credentials_label {
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
}
.credentials_pending { font-size: 16px; }
.credentials_sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.18);
}
@media (max-width: 640px) {
  .credentials_sep { display: none; }
  .credentials_inner { gap: 22px; }
}

/* process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 36, 56, 0.06);
}
.step_num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber);
  color: #1a1000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* faq */
.faq_list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid #e4e0d6;
}
.faq_item {
  border-bottom: 1px solid #e4e0d6;
  padding: 18px 4px;
}
.faq_item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq_item summary::-webkit-details-marker { display: none; }
.faq_item summary::after {
  content: "+";
  color: var(--amber);
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq_item[open] summary::after { transform: rotate(45deg); }
.faq_item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* gallery */
.gallery_track_wrap {
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.gallery_track {
  direction: ltr;
  display: flex;
  width: max-content;
  gap: 14px;
  animation: gallery_scroll 32s linear infinite;
}
.gallery_track:hover { animation-play-state: paused; }
.gallery_track img {
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
}
@keyframes gallery_scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery_track { animation: none; }
}

/* clients */
.logo_strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: center;
}

/* projects */
.projects_list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid #e4e0d6;
}
.project_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid #e4e0d6;
}
.project_tag {
  color: var(--amber);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.project_name { font-weight: 600; font-size: 15.5px; }
.logo_card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  box-shadow: 0 4px 16px rgba(15, 36, 56, 0.06);
}
.logo_card img { max-height: 46px; width: auto; object-fit: contain; }
.clients_sub {
  text-align: center;
  color: var(--muted);
  margin: 26px 0 0;
}

/* lead */
.lead {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy_soft) 100%);
  color: #fff;
}
.lead_inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.lead_copy h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 14px; }
.lead_copy p { color: rgba(255,255,255,0.85); }
.phone_cta {
  font-size: 24px;
  font-weight: 800;
  color: var(--amber_soft);
}
.lead_form {
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.lead_form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}
.lead_form input,
.lead_form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d6dbe1;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: #111;
  resize: vertical;
}
.lead_form input:focus,
.lead_form textarea:focus { outline: 2px solid var(--amber); }
.form_note { min-height: 20px; font-size: 14px; color: #1f7a3d; margin: 0; }

/* footer */
.site_footer {
  background: #ffffff;
  color: var(--muted);
  padding: 30px 0;
  border-top: 1px solid #eceef1;
}
.footer_inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer_logo { height: 44px; display: block; }
.footer_inner p { margin: 0; font-size: 13px; }

/* responsive */
@media (max-width: 900px) {
  .why_grid, .edge_grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .logo_strip { grid-template-columns: repeat(2, 1fr); }
  .lead_inner { grid-template-columns: 1fr; }
  .main_nav { display: none; }
  .services_groups { grid-template-columns: 1fr; gap: 28px; }
  .gallery_grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .why_grid, .edge_grid, .steps, .logo_strip { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 40px; }
  .gallery_grid { grid-template-columns: 1fr; }
  .gallery_grid img { height: 200px; }
}
