/* ============================================================
   Lodon, LLC — Professional Corporate Website
   Computer Systems Design & Related Services
   ============================================================ */

:root {
  --deep: #060d18;
  --navy: #0b1a30;
  --navy-light: #112540;
  --slate: #1a2744;
  --teal: #0891b2;
  --teal-bright: #06b6d4;
  --teal-pale: #e0f2fe;
  --teal-wash: #ecfeff;
  --gold: #b8860b;
  --gold-light: #d4a853;
  --white: #ffffff;
  --snow: #f8fafc;
  --fog: #f1f5f9;
  --mist: #e2e8f0;
  --ash: #94a3b8;
  --slate-gray: #64748b;
  --charcoal: #334155;
  --ink: #0f172a;
  --text: #1e293b;
  --text-muted: #475569;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.18; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.018em; }
h3 { font-size: 1.4rem; letter-spacing: -0.01em; }
.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

/* ---------- Utility ---------- */
.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--deep);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  padding: 0.45rem 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.top-bar a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
.top-bar a:hover { color: var(--teal-bright); }
.top-bar-left { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; }
.top-bar-right { display: flex; gap: 1rem; align-items: center; }
.top-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 8px var(--teal-bright); }

/* ---------- Navigation ---------- */
.navbar {
  background: rgba(11, 26, 48, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; padding-block: 0.9rem; }
.logo {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 1.35rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.01em;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 100%);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--white); font-weight: 900;
}
.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.80);
  font-size: 0.92rem; font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--teal-bright); transition: width var(--transition);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }
.btn-nav {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--teal);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.88rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav:hover { background: var(--teal-bright); transform: translateY(-1px); }
.btn-nav::after { display: none !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--white); margin: 6px 0; border-radius: 2px; transition: var(--transition); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--deep) 0%, var(--navy) 45%, var(--navy-light) 100%);
  color: var(--white);
  padding: 6rem 0 7rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 15% 70%, rgba(8,145,178,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 500px 500px at 82% 20%, rgba(6,182,212,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 400px 400px at 50% 90%, rgba(184,134,11,0.08) 0%, transparent 50%);
}
.hero-geo {
  position: absolute; right: -8%; top: 10%; width: 55%; height: 85%;
  opacity: 0.055;
  background:
    linear-gradient(30deg, transparent 49.5%, rgba(255,255,255,0.8) 49.5%, rgba(255,255,255,0.8) 50.5%, transparent 50.5%),
    linear-gradient(150deg, transparent 49.5%, rgba(255,255,255,0.6) 49.5%, rgba(255,255,255,0.6) 50.5%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,0.4) 49.5%, rgba(255,255,255,0.4) 50.5%, transparent 50.5%);
}
.hero-dots {
  position: absolute; right: 5%; bottom: 12%;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px;
  opacity: 0.09;
}
.hero-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--white); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 0.9fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--teal-bright); }
.hero-lead { font-size: 1.18rem; color: rgba(255,255,255,0.70); margin-bottom: 2.2rem; max-width: 520px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.8rem 1.9rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; transition: all var(--transition); text-align: center; cursor: pointer; border: none; }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 4px 16px rgba(8,145,178,0.35); }
.btn-primary:hover { background: var(--teal-bright); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(8,145,178,0.45); }
.btn-outline { border: 2px solid rgba(255,255,255,0.35); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: blur(8px);
}
.hero-card h3 { color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.2rem; }
.hero-stat { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.5rem; }
.hero-stat-num { font-size: 2.4rem; font-weight: 800; color: var(--teal-bright); }
.hero-stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.60); }

/* ---------- Section Common ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--fog); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; margin-top: 0.7rem; }

/* ---------- Divider ---------- */
.section-divider {
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0%);
}
.section-alt .section-divider {
  background: var(--fog);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0%);
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.service-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 50px; height: 50px;
  background: var(--teal-pale);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
  font-size: 1.5rem;
}
.service-card h3 { margin-bottom: 0.7rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
.stats-row { display: flex; gap: 2.5rem; margin-top: 2rem; }
.stat-item { text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--teal); }
.stat-desc { font-size: 0.85rem; color: var(--slate-gray); margin-top: 0.2rem; }
.about-visual {
  position: relative;
  background: linear-gradient(145deg, var(--navy-light), var(--navy));
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
  overflow: hidden;
}
.about-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 300px 300px at 70% 30%, rgba(8,145,178,0.2), transparent);
}
.about-visual > * { position: relative; z-index: 1; }
.about-visual h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.about-list li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem; color: rgba(255,255,255,0.80);
}
.about-list li::before { content: '─'; color: var(--teal-bright); font-weight: 700; }

/* ---------- Industries ---------- */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.industry-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  text-align: center;
  transition: all var(--transition);
}
.industry-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.industry-icon { font-size: 2rem; margin-bottom: 0.7rem; }
.industry-card h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.industry-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-step {
  text-align: center; padding: 2rem 1.5rem; position: relative;
}
.process-step::after {
  content: '';
  position: absolute; top: 34px; left: calc(50% + 30px); width: calc(100% - 60px); height: 2px;
  background: var(--mist);
}
.process-step:last-child::after { display: none; }
.process-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: var(--teal);
  margin: 0 auto 1rem;
  position: relative; z-index: 1;
}
.process-step h4 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white); text-align: center; padding: 5rem 0;
  position: relative; overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,145,178,0.18), transparent 70%);
  top: -30%; left: 60%;
}
.cta::after {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.12), transparent 70%);
  bottom: -20%; left: 10%;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 { color: var(--white); margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,0.70); font-size: 1.05rem; margin-bottom: 2rem; max-width: 550px; margin-inline: auto; }
.btn-cta { padding: 0.9rem 2.4rem; background: var(--teal); color: var(--white); border-radius: var(--radius); font-weight: 700; font-size: 1rem; transition: all var(--transition); border: none; cursor: pointer; display: inline-block; }
.btn-cta:hover { background: var(--teal-bright); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(8,145,178,0.4); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.8rem 0; border-bottom: 1px solid var(--mist);
}
.contact-detail-icon {
  width: 40px; height: 40px; background: var(--teal-pale);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 0.9rem; margin-bottom: 0.15rem; }
.contact-detail span { font-size: 0.9rem; color: var(--text-muted); }
.contact-form {
  background: var(--white); border: 1px solid var(--mist);
  border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--charcoal); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1px solid var(--mist); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.92rem; color: var(--text);
  background: var(--snow); transition: border var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.12);
}
.form-submit { width: 100%; padding: 0.85rem; cursor: pointer; }

/* ---------- Footer ---------- */
.footer {
  background: var(--deep); color: rgba(255,255,255,0.65);
  padding: 4rem 0 2.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer h4 { color: var(--white); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.2rem; }
.footer p, .footer li { font-size: 0.88rem; line-height: 1.75; }
.footer a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer a:hover { color: var(--teal-bright); }
.footer-about p { margin-bottom: 0.5rem; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.8rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ---------- Page Hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--deep) 0%, var(--navy) 60%);
  color: var(--white); padding: 4rem 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 500px 300px at 30% 50%, rgba(8,145,178,0.12), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }

/* ---------- Policy Content ---------- */
.policy-section { padding: 4rem 0; }
.policy-content { max-width: 800px; margin: 0 auto; }
.policy-content h2 { font-size: 1.5rem; margin: 2.5rem 0 0.8rem; }
.policy-content h3 { font-size: 1.15rem; margin: 1.6rem 0 0.5rem; }
.policy-content p { margin-bottom: 0.9rem; color: var(--text-muted); line-height: 1.78; }
.policy-content ul { margin: 0.6rem 0 1.2rem 1.4rem; list-style: disc; }
.policy-content li { margin-bottom: 0.35rem; color: var(--text-muted); line-height: 1.65; }
.policy-content .last-updated { font-size: 0.88rem; color: var(--ash); margin-bottom: 2rem; }

/* ---------- Mobile Nav ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(11, 26, 48, 0.99);
    backdrop-filter: blur(12px);
    padding: 1.5rem; gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.active { display: flex; }
  .hero .container { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { flex-wrap: wrap; gap: 1.5rem; }
}
@media (max-width: 520px) {
  .industries-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .top-bar .container { flex-direction: column; gap: 0.3rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
