/* ═══════════════════════════════════════
   BLUE AUTOMATIC GATES — Shared Stylesheet
   ═══════════════════════════════════════ */

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

:root {
  --blue-900: #0d1f4f;
  --blue-800: #112466;
  --blue-700: #1a3a8f;
  --blue-600: #1e4db7;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --gold:     #f59e0b;
  --gold-dark:#d97706;
  --white:    #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --font:     'Manrope', 'Inter', sans-serif;
  --radius:   16px;
  --shadow:   0 4px 24px rgba(13,31,79,0.10);
  --shadow-lg:0 8px 48px rgba(13,31,79,0.16);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-900); background: var(--white); overflow-x: hidden; }
img  { display: block; max-width: 100%; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4vw; height: 70px;
  background: rgba(13,31,79,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo svg { height: 46px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.72);
  text-decoration: none; padding: 6px 10px; border-radius: 8px;
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  display: flex; align-items: center; gap: 7px;
  background: var(--gold); color: var(--gray-900);
  font-weight: 800; font-size: 0.88rem; padding: 9px 18px;
  border-radius: 50px; text-decoration: none; white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 3px 12px rgba(245,158,11,0.35);
}
.nav-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* Mobile hamburger */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  color: white; font-size: 1.4rem; padding: 4px;
}
.nav-mobile {
  display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--blue-900); z-index: 199; padding: 32px 6vw;
  flex-direction: column; gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.8);
  text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .mob-cta {
  margin-top: 20px; background: var(--gold); color: var(--gray-900);
  text-align: center; border-radius: 50px; border: none; font-weight: 800;
}

/* ── PAGE HERO ── */
.page-hero {
  padding: 130px 5vw 80px;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.08; color: white; margin-bottom: 20px;
}
.page-hero h1 span { color: var(--gold); }
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.72); line-height: 1.7;
  max-width: 560px; margin: 0 auto;
}

/* ── SECTIONS ── */
section { padding: 88px 5vw; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-600); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
}
.section-label::before { content:''; width:24px; height:2px; background:var(--blue-500); border-radius:2px; }
h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.1; color: var(--gray-900);
}
h2 span { color: var(--blue-600); }
.section-sub {
  font-size: 1rem; color: var(--gray-600); line-height: 1.7; max-width: 540px; margin-top: 14px;
}
.section-center { text-align: center; }
.section-center .section-sub { margin: 14px auto 0; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--gray-900);
  font-weight: 800; font-size: 1rem; padding: 14px 30px;
  border-radius: 50px; text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(245,158,11,0.35);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--blue-600);
  font-weight: 700; font-size: 1rem; padding: 13px 28px;
  border-radius: 50px; text-decoration: none;
  border: 2px solid var(--blue-200, #bfdbfe);
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--blue-50); border-color: var(--blue-400); }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--blue-700);
  font-weight: 800; font-size: 1rem; padding: 14px 30px;
  border-radius: 50px; text-decoration: none;
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }

/* ── CARDS ── */
.card {
  background: white; border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-100);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--blue-50); display: grid; place-items: center; margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--blue-600); fill: none; stroke-width: 1.8; }
.card h3 { font-size: 1.1rem; font-weight: 800; color: var(--gray-900); margin-bottom: 10px; }
.card p { font-size: 0.93rem; color: var(--gray-600); line-height: 1.65; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  text-align: center; padding: 88px 5vw;
}
.cta-banner h2 { color: white; }
.cta-banner .section-sub { color: rgba(255,255,255,0.7); margin: 14px auto 36px; max-width: 480px; }
.cta-banner .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--gray-900); padding: 64px 5vw 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.7;
  margin-top: 16px; max-width: 260px;
}
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer-col a, .footer-col span {
  display: block; font-size: 0.88rem; color: rgba(255,255,255,0.55);
  text-decoration: none; margin-bottom: 8px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { font-size: 0.8rem; color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ── FAQ ACCORDION ── */
.faq-item { border: 1.5px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; transition: border-color 0.2s, box-shadow 0.2s; background:white; }
.faq-item.open { border-color: var(--blue-400); box-shadow: 0 4px 16px rgba(37,99,235,0.08); }
.faq-q { width:100%; background:none; border:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; padding:22px 28px; text-align:left; gap:16px; font-family:var(--font); }
.faq-q span { font-size:1rem; font-weight:700; color:var(--gray-900); line-height:1.4; }
.faq-chevron { flex-shrink:0; width:24px; height:24px; border-radius:50%; background:var(--gray-100); display:grid; place-items:center; transition:background 0.2s,transform 0.3s; }
.faq-item.open .faq-chevron { background:var(--blue-600); transform:rotate(180deg); }
.faq-chevron svg { width:13px; height:13px; stroke:var(--gray-600); fill:none; stroke-width:2.5; }
.faq-item.open .faq-chevron svg { stroke:white; }
.faq-a { max-height:0; overflow:hidden; transition:max-height 0.45s ease,padding 0.3s; padding:0 28px; font-size:0.95rem; color:var(--gray-600); line-height:1.85; }
.faq-a.open { max-height:900px; padding:4px 28px 26px; }
.faq-q:hover { background:var(--gray-50); }
.faq-q span { font-size:1rem; font-weight:700; color:var(--gray-900); line-height:1.45; flex:1; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  section { padding: 64px 5vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}
