/* ============================================
   Videocontrol — stylesheet
   ============================================ */

:root {
  --navy-950: #0c1424;
  --navy-900: #101a30;
  --navy-800: #16233f;
  --navy-700: #1e2f52;
  --red-600: #c1272d;
  --red-700: #9c1f24;
  --ink: #1f2430;
  --muted: #5b6472;
  --line: #e7e9ee;
  --bg: #f7f8fa;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(16, 26, 48, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(16, 26, 48, 0.15);
  --container: 1160px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  cursor: pointer;
}
.btn .icon { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-primary {
  background: var(--red-600);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(193, 39, 45, .6);
}
.btn-primary:hover { background: var(--red-700); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(16, 26, 48, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 18px -8px rgba(0,0,0,.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 42px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #e9ecf3;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 2px;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red-600);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
}
.phone-link .icon { width: 18px; height: 18px; fill: var(--red-600); flex: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,15,28,.92) 0%, rgba(10,15,28,.72) 45%, rgba(10,15,28,.35) 100%),
    linear-gradient(0deg, rgba(10,15,28,.55), rgba(10,15,28,.15));
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding-top: 60px; padding-bottom: 60px; }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero-lead {
  font-size: 1.1rem;
  color: #d8dcea;
  max-width: 56ch;
  margin: 0 0 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: #eef0f4; }

.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head-left { text-align: left; margin: 0 0 24px; }
.section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin: 0 0 14px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -.01em;
}
.divider {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--red-600);
  border-radius: 3px;
  margin: 0 auto 16px;
}
.section-head-left .divider { margin: 0 0 16px; }
.section-sub { color: var(--muted); margin: 0; }

/* ---------- Steps grid ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-card img { width: 100%; aspect-ratio: 400 / 260; object-fit: cover; }
.step-body { padding: 22px 20px 26px; position: relative; }
.step-num {
  position: absolute;
  top: -20px;
  right: 18px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red-600);
  opacity: .3;
}
.step-body h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--navy-900); }
.step-body p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Feature / cards grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  margin-bottom: 18px;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--navy-900); }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- About ---------- */
.about { background: var(--navy-900); color: #fff; }
.about .section-head h2 { color: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text p { color: #cfd4e2; margin: 0 0 18px; }
.about-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.about-media img {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45));
}

/* ---------- Banner ---------- */
.banner {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
}
.banner-bg { position: absolute; inset: 0; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,20,36,.88), rgba(12,20,36,.55));
}
.banner-text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 600;
  max-width: 640px;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 22px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 32px 16px 0;
  font-weight: 600;
  color: var(--navy-900);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.4rem;
  color: var(--red-600);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }

/* ---------- CTA / Contact ---------- */
.cta { position: relative; overflow: hidden; padding: 100px 0; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(20,4,6,.82), rgba(0,0,0,.72)); }
.cta-content { position: relative; z-index: 1; text-align: center; color: #fff; }
.cta-content h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 14px; font-weight: 800; }
.cta-content p { color: #ecd9da; margin: 0 0 30px; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #b9c0d1; padding: 36px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.footer-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-phone { color: #fff; text-decoration: none; font-weight: 600; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b9c0d1;
  text-decoration: none;
  font-weight: 500;
}
.footer-social:hover { color: #fff; }
.footer-social .icon { width: 18px; height: 18px; fill: currentColor; }
.footer-copy { margin: 0; font-size: .9rem; }

/* ---------- Floating call button (mobile) ---------- */
.fab-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 600;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red-600);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(193,39,45,.7);
  text-decoration: none;
}
.fab-call .icon { width: 24px; height: 24px; fill: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .steps-grid, .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; padding: 32px; }
  .about-media img { max-width: 200px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    background: var(--navy-900);
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 32px;
  }
  .main-nav a {
    display: block;
    padding: 16px 4px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-toggle { display: flex; }
  .phone-link span { display: none; }
  .fab-call { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .steps-grid, .cards-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 40px; }
  .hero-content { padding-top: 40px; padding-bottom: 48px; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10,15,28,.55) 0%, rgba(10,15,28,.88) 55%, rgba(10,15,28,.96) 100%);
  }
  .about-media { padding: 24px; }
}
