/* =========================================================
   Lighthouse Solutions — website.css
   Dark maritime theme — permanent dark mode
   ========================================================= */

:root {
  --bg:         #060E1C;
  --surface:    #091729;
  --surface-2:  #0F2240;
  --surface-3:  #152A50;
  --border:     #1C3258;
  --border-lit: #2A4475;
  --navy:       #0A234B;
  --gold:       #FBC754;
  --gold-dim:   rgba(251,199,84,.12);
  --gold-glow:  rgba(251,199,84,.06);
  --blue:       #4A9BE8;
  --blue-dim:   rgba(74,155,232,.12);
  --text:       #FDFDFD;
  --text-soft:  #B0C2D8;
  --text-dim:   #8395AF;
  --ff-heading: 'Barlow Condensed', sans-serif;
  --ff-body:    'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-mono:    'IBM Plex Mono', monospace;
  --max-w:      1100px;
  --nav-h:      64px;
  --section-py: clamp(64px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ---- Navigation ---- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s;
}
.site-nav.scrolled {
  background: rgba(9,23,41,.96);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo {
  width: 36px; height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(251,199,84,.2);
}
.nav-wordmark {
  font-family: var(--ff-heading);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text);
  line-height: 1;
}
.nav-wordmark span {
  display: block;
  font-family: var(--ff-mono);
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 1.5px;
  margin-top: 3px;
  font-weight: 400;
}
.nav-spacer { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy) !important;
  background: var(--gold);
  border-radius: 100px;
  transition: filter .15s, transform .15s;
}
.nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}
.hamburger-btn span {
  display: block; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(6,14,28,.7);
  z-index: 190;
  backdrop-filter: blur(4px);
}
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 80vw);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 195;
  padding: calc(var(--nav-h) + 24px) 24px 32px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav-drawer a:hover { color: var(--text); background: var(--surface-2); }
.nav-drawer .nav-cta {
  margin-top: 8px;
  border-radius: 8px;
  justify-content: center;
  color: var(--navy) !important;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background:
    radial-gradient(ellipse 80% 60% at 20% 65%, rgba(10,35,75,.7) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(16,110,213,.1) 0%, transparent 50%),
    linear-gradient(160deg, #060E1C 0%, #091729 45%, #060E1C 100%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center 30%;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(6,14,28,.90) 0%, rgba(10,35,75,.78) 40%, rgba(6,14,28,.88) 100%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 100% 60% at 50% 100%, rgba(6,14,28,.8) 0%, transparent 60%);
}

/* ---- Hero Lighthouse Image ---- */
.hero-lighthouse {
  position: absolute;
  right: clamp(32px, 7vw, 100px);
  bottom: 0;
  z-index: 1;
  width: clamp(180px, 22vw, 360px);
  pointer-events: none;
  opacity: 0;
  animation: lighthouse-fade 1.4s 1.6s ease forwards;
}
.hero-lighthouse img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 32px rgba(251,199,84,.18));
}
@keyframes lighthouse-fade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 0.5; transform: translateY(0); }
}

/* ---- Particles ---- */
.hero-particles {
  position: absolute; inset: 0;
  z-index: 1; pointer-events: none;
  width: 100%; height: 100%;
}

/* ---- Hero Content ---- */
.hero-content {
  position: relative; z-index: 2;
  max-width: 820px;
  padding: clamp(32px,6vw,80px) clamp(16px,4vw,48px);
  margin-left: max(0px, calc((100vw - var(--max-w)) / 2));
}
.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  opacity: 0; animation: fade-up .6s .2s ease forwards;
}
.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(48px, 7.5vw, 88px);
  font-weight: 700; text-transform: uppercase;
  line-height: 1.0; letter-spacing: -.5px;
  color: var(--text); margin-bottom: 28px;
}
.hero-title .word-reveal { display: block; opacity: 0; animation: fade-up .7s ease forwards; }
.hero-title .word-reveal:nth-child(1) { animation-delay: .45s; }
.hero-title .word-reveal:nth-child(2) { animation-delay: .65s; color: var(--gold); }
.hero-title .word-reveal:nth-child(3) { animation-delay: .85s; }
.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-soft); line-height: 1.65; max-width: 520px;
  margin-bottom: 36px; opacity: 0; animation: fade-up .7s 1.1s ease forwards;
}
.hero-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 40px; opacity: 0; animation: fade-up .7s 1.3s ease forwards;
}
.btn-hero-primary {
  display: inline-flex; align-items: center;
  padding: 13px 28px; font-size: 15px; font-weight: 600;
  color: var(--navy); background: var(--gold); border-radius: 100px;
  transition: filter .15s, transform .15s;
}
.btn-hero-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-hero-ghost {
  display: inline-flex; align-items: center;
  padding: 12px 28px; font-size: 15px; font-weight: 500;
  color: var(--text); border: 1px solid rgba(255,255,255,.2); border-radius: 100px;
  transition: border-color .15s, background .15s, transform .15s;
}
.btn-hero-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  opacity: 0; animation: fade-up .7s 1.5s ease forwards;
}
.hero-chip {
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); padding: 5px 12px;
  border: 1px solid rgba(251,199,84,.3); border-radius: 100px;
  background: rgba(251,199,84,.05);
}
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  opacity: 0; animation: fade-up .7s 1.8s ease forwards;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: .3; } 50% { opacity: .9; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Section Common ---- */
.section { padding: var(--section-py) 0; }
.section-eyebrow {
  font-family: var(--ff-mono); font-size: 10.5px;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .3px; color: var(--text);
  line-height: 1.08; margin-bottom: 12px;
}
.section-title::after {
  content: ''; display: block;
  width: 44px; height: 3px;
  background: var(--gold); margin-top: 14px; border-radius: 2px;
}
.section-lead {
  font-size: 16px; color: var(--text-soft);
  max-width: 600px; line-height: 1.65; margin-top: 20px;
}

/* ---- About ---- */
.about-section { background: var(--bg); }
.about-header { margin-bottom: 56px; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.about-text p { font-size: 16px; color: var(--text-soft); line-height: 1.75; margin-bottom: 20px; }
.about-text p:last-of-type { margin-bottom: 0; }
.about-origin {
  margin-top: 32px; padding-left: 20px;
  border-left: 3px solid var(--gold);
}
.about-origin p { font-size: 15px; color: var(--text-dim); font-style: italic; line-height: 1.65; margin-bottom: 0 !important; }
.about-values { display: flex; flex-direction: column; gap: 4px; }
.value-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px; border-radius: 8px; transition: background .15s;
}
.value-item:hover { background: var(--gold-glow); }
.value-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gold-dim); border: 1px solid rgba(251,199,84,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.value-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value-name { font-family: var(--ff-heading); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: var(--text); margin-bottom: 4px; }
.value-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }

/* ---- Services ---- */
.services-section {
  background-color: var(--surface);
  background-image: radial-gradient(rgba(251,199,84,.035) 1px, transparent 1px);
  background-size: 28px 28px;
}
.services-header { margin-bottom: 48px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .22s, box-shadow .22s;
}
.service-card::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .25s ease;
}
.service-card:hover { border-color: var(--border-lit); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon-wrap {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--gold-dim); border: 1px solid rgba(251,199,84,.22);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--gold);
  transition: background .2s;
}
.service-card:hover .service-icon-wrap { background: rgba(251,199,84,.18); }
.service-icon-wrap svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-name { font-family: var(--ff-heading); font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .2px; color: var(--text); margin-bottom: 10px; line-height: 1.2; }
.service-desc { font-size: 13.5px; color: var(--text-soft); line-height: 1.65; margin-bottom: 18px; }
.service-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.service-tag {
  font-family: var(--ff-mono); font-size: 10px;
  padding: 3px 8px; border-radius: 3px;
  background: var(--blue-dim); color: var(--blue);
  border: 1px solid rgba(74,155,232,.2);
  letter-spacing: .4px; white-space: nowrap;
}

/* ---- Differentials ---- */
.diff-section { background: var(--bg); }
.diff-header { margin-bottom: 48px; }
.diff-list { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 40px; }
.diff-item {
  display: grid; grid-template-columns: 80px 1fr;
  align-items: start; gap: 20px;
  padding: 32px 36px; border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.diff-item:last-child { border-bottom: none; }
.diff-item:hover { background: var(--gold-glow); }
.diff-number { font-family: var(--ff-mono); font-size: 52px; font-weight: 500; color: rgba(251,199,84,.18); line-height: 1; padding-top: 4px; user-select: none; }
.diff-title { font-family: var(--ff-heading); font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .2px; color: var(--text); margin-bottom: 8px; }
.diff-desc { font-size: 14.5px; color: var(--text-soft); line-height: 1.65; max-width: 560px; }

/* ---- Compare Table ---- */
.compare-wrap { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  padding: 14px 24px;
  font-family: var(--ff-heading); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  background: var(--surface-2); color: var(--text-dim);
  border-bottom: 1px solid var(--border); text-align: left;
}
.compare-table th.col-us { background: rgba(251,199,84,.09); color: var(--gold); border-left: 1px solid var(--border); }
.compare-table td { padding: 14px 24px; font-size: 14px; color: var(--text-soft); border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td.col-us { color: var(--text); font-weight: 500; background: rgba(251,199,84,.04); border-left: 1px solid var(--border); }
.compare-table td.col-us::before { content: '✓  '; color: var(--gold); font-weight: 700; }
.compare-table tr:hover td { background: rgba(255,255,255,.02); }
.compare-table tr:hover td.col-us { background: rgba(251,199,84,.07); }

/* ---- CTA ---- */
.cta-section { background: var(--surface); }
.cta-texture {
  position: absolute; inset: 0;
  background-image: url('../images/topografic-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}
.cta-card {
  border: 1px solid var(--border); border-top: 3px solid var(--gold);
  border-radius: 12px; padding: clamp(40px,6vw,72px) clamp(28px,5vw,64px);
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--navy) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(251,199,84,.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-badge {
  display: inline-block; font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); padding: 5px 14px;
  border: 1px solid rgba(251,199,84,.3); border-radius: 100px;
  background: rgba(251,199,84,.06); margin-bottom: 24px;
}
.cta-title {
  font-family: var(--ff-heading);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .3px; color: var(--text); line-height: 1.1; margin-bottom: 16px;
}
.cta-sub { font-size: 16px; color: var(--text-soft); line-height: 1.65; max-width: 520px; margin: 0 auto 36px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-size: 15px; font-weight: 600;
  color: var(--navy); background: var(--gold); border-radius: 100px;
  transition: filter .15s, transform .15s;
}
.btn-cta-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; font-size: 15px; font-weight: 500;
  color: var(--text); border: 1px solid var(--border-lit); border-radius: 100px;
  transition: border-color .15s, background .15s, transform .15s;
}
.btn-cta-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); transform: translateY(-2px); }
.cta-meta { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cta-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-dim); }
.cta-meta-item svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---- Footer ---- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: clamp(48px,6vw,80px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; border: 1px solid rgba(251,199,84,.2); }
.footer-wordmark { font-family: var(--ff-heading); font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text); }
.footer-tagline { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; margin-bottom: 12px; }
.footer-location { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.footer-col-title { font-family: var(--ff-heading); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 16px; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-list a { font-size: 13.5px; color: var(--text-soft); transition: color .15s; }
.footer-links-list a:hover { color: var(--gold); }
.footer-contact-item { font-size: 13px; color: var(--text-soft); margin-bottom: 8px; line-height: 1.5; }
.footer-contact-item a { color: var(--text-soft); transition: color .15s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bar {
  border-top: 1px solid var(--border); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bar p { font-size: 12px; color: var(--text-dim); }

/* ---- Scroll Reveal ---- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-lighthouse { display: none; }
  .nav-links { display: none; }
  .hamburger-btn { display: flex; }
  .diff-item { grid-template-columns: 56px 1fr; padding: 24px 20px; gap: 14px; }
  .diff-number { font-size: 36px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 520px) {
  .hero-title { font-size: 42px; }
  .btn-hero-primary, .btn-hero-ghost { width: 100%; justify-content: center; }
  .diff-item { grid-template-columns: 1fr; gap: 6px; }
  .diff-number { font-size: 28px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-cta-primary, .btn-cta-ghost { justify-content: center; }
  .compare-table th, .compare-table td { padding: 10px 14px; font-size: 12px; }
}
