/* ==========================================================================
   Lumivex Digital LLC FZ — site stylesheet
   ========================================================================== */

:root {
  --navy: #0a1e3f;
  --navy-dark: #071630;
  --blue: #1e88e5;
  --blue-light: #29b6f6;
  --blue-pale: #e8f4fd;
  --ink: #1c2836;
  --muted: #5b6b7f;
  --border: #e3e9f0;
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 30, 63, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 30, 63, 0.14);
  --max: 1180px;
  --gradient: linear-gradient(135deg, var(--navy) 0%, var(--blue) 65%, var(--blue-light) 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

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

h1, h2, h3, h4 { margin: 0 0 16px; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 16px; color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-header p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 24px rgba(30, 136, 229, 0.35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(30, 136, 229, 0.45); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-pale); }
.btn-block { width: 100%; justify-content: center; }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.logo img { height: 42px; width: auto; }

.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--blue-pale); color: var(--blue); }
.main-nav a.active { color: var(--blue); background: var(--blue-pale); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}
.header-phone svg { flex-shrink: 0; color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--gradient);
  color: #fff;
  overflow: hidden;
  padding: 100px 0 110px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.10) 0, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.12) 0, transparent 45%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero .eyebrow { background: rgba(255,255,255,0.12); color: #dff2ff; }
.hero h1 { color: #fff; }
.hero p.lead { color: #cfe6fb; font-size: 1.1rem; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
  max-width: 520px;
}
.hero-stats div { text-align: left; }
.hero-stats strong { display: block; font-size: 1.9rem; font-weight: 800; }
.hero-stats span { color: #cfe6fb; font-size: 0.85rem; }

.hero-art {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero-art ul { display: grid; gap: 14px; }
.hero-art li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.92rem;
}
.hero-art li svg { color: var(--blue-light); flex-shrink: 0; }

/* ---------------------------------------------------------------------
   Cards / grids
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.service-card h3 { margin-bottom: 8px; }
.service-card p { margin-bottom: 0; font-size: 0.94rem; }

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 500;
}
.check-list svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }

/* ---------------------------------------------------------------------
   About / split sections
   --------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 40px;
  color: #fff;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.split-media .mini-stat { display: flex; align-items: baseline; gap: 10px; }
.split-media .mini-stat strong { font-size: 2.2rem; font-weight: 800; }
.split-media .mini-stat span { color: #cfe6fb; font-size: 0.9rem; }

/* ---------------------------------------------------------------------
   Values / process
   --------------------------------------------------------------------- */
.process-step {
  position: relative;
  padding-left: 56px;
}
.process-step .num {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-pale);
  color: var(--blue);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------------------------------------------------------------------
   CTA band
   --------------------------------------------------------------------- */
.cta-band {
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #cfe6fb; margin: 0; }

/* ---------------------------------------------------------------------
   Contact page
   --------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
}
.contact-info-card h3 { color: #fff; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.contact-info-item:first-of-type { border-top: none; padding-top: 24px; }
.contact-info-item svg { color: var(--blue-light); flex-shrink: 0; margin-top: 3px; }
.contact-info-item strong { display: block; margin-bottom: 4px; }
.contact-info-item span, .contact-info-item a { color: #cfe6fb; font-size: 0.95rem; }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 8px; color: var(--navy); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-alt);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field-error { color: #d32f2f; font-size: 0.82rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #d32f2f; }
.field.invalid .field-error { display: block; }

.form-alert {
  display: none;
  padding: 14px 16px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.form-alert.success { display: block; background: #e6f6ec; color: #1b7a3d; }
.form-alert.error { display: block; background: #fdeaea; color: #c62828; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 40px;
}
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* honeypot field */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------------------------------------------------------------------
   Page header (interior pages)
   --------------------------------------------------------------------- */
.page-header {
  background: var(--gradient);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 10px; }
.page-header p { color: #cfe6fb; max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: #a9d3f5; margin-bottom: 14px; }
.breadcrumb a { color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-dark);
  color: #b9c7da;
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer-about img { height: 38px; margin-bottom: 16px; }
.footer-about p { color: #93a5bc; font-size: 0.92rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #b9c7da; font-size: 0.92rem; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--blue-light); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 16px; font-size: 0.9rem; color: #b9c7da; align-items: flex-start; }
.footer-contact svg { color: var(--blue-light); flex-shrink: 0; margin-top: 2px; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.social-row a:hover { background: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--blue-light); }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { max-width: 100%; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-inner.nav-open .main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 12px;
  }
  .header-inner.nav-open .main-nav ul { flex-direction: column; align-items: stretch; }
  .header-inner.nav-open .main-nav a { display: block; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 72px; }
}
