/*
Theme Name: Lighthouse Valuations
Theme URI: https://lighthousevaluations.ca
Author: Lighthouse Valuations Inc.
Description: Custom theme for Lighthouse Valuations Inc.
Version: 2.2
License: Proprietary
Text Domain: lighthouse-valuations
*/

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

:root {
  --charcoal:       #132436;
  --charcoal-mid:   #32363b;
  --charcoal-light: #3c4147;
  --charcoal-pale:  #464c53;
  --silver:         #a8adb5;
  --silver-light:   #c8cdd5;
  --gold:           #c9a84c;
  --gold-light:     #dfc06a;
  --gold-dim:       rgba(201,168,76,0.12);
  --white:          #ffffff;
  --text-light:     #d8dde5;
  --text-muted:     #8a9099;
  --border:         rgba(255,255,255,0.07);
  --border-hover:   rgba(201,168,76,0.35);
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'DM Sans', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: #132436;
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; transition: all 0.4s ease;
  background: rgba(42,45,49,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav.scrolled { padding: 10px 0; box-shadow: 0 2px 24px rgba(0,0,0,0.3); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--silver-light); text-decoration: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--silver-light); margin: 5px 0; transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 80px;
  background: #132436;
}
.hero::before { content: none; }
.hero::after { content: none; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.6; } }
.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim); border: 1px solid rgba(201,168,76,0.25);
  border-radius: 100px; padding: 8px 20px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 32px; animation: fadeUp 0.8s ease both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; background: var(--gold);
  border-radius: 50%; animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600; color: var(--white); line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 28px; animation: fadeUp 0.8s ease 0.15s both;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
  font-size: 1.1rem; line-height: 1.75; color: var(--text-muted);
  max-width: 560px; margin: 0 auto 40px; animation: fadeUp 0.8s ease 0.3s both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.8s ease 0.45s both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; text-decoration: none; border-radius: 6px;
  transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--gold); color: var(--charcoal); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.2); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.15); color: var(--text-light); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── Sections ── */
section { padding: 120px 0; }
.section-label {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; color: var(--white); line-height: 1.15; margin-bottom: 20px;
}
.section-subtitle { font-size: 1.05rem; line-height: 1.7; color: var(--text-muted); max-width: 600px; }
.gold-line { width: 48px; height: 2px; background: var(--gold); margin: 20px 0 24px; border-radius: 2px; }

/* ── About ── */
#about { background: var(--charcoal-mid); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.stat-card {
  background: var(--charcoal-light); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px; transition: border-color 0.3s, box-shadow 0.3s;
}
.stat-card:hover { border-color: var(--border-hover); box-shadow: 0 4px 20px rgba(201,168,76,0.08); }
.stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.stat-label { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.03em; }
.about-values { display: flex; flex-direction: column; gap: 16px; }
.value-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px;
  background: var(--charcoal-light); border-radius: 12px; border: 1px solid var(--border); transition: all 0.3s;
}
.value-item:hover { border-color: var(--border-hover); transform: translateX(4px); }
.value-icon {
  flex-shrink: 0; width: 40px; height: 40px; background: var(--gold-dim); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.value-item h4 { color: var(--white); font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.value-item p { font-size: 0.85rem; line-height: 1.6; color: var(--text-muted); }

/* ── Services ── */
#services { background: var(--charcoal); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.service-card {
  background: var(--charcoal-mid); border: 1px solid var(--border);
  border-radius: 16px; padding: 40px 32px; transition: all 0.4s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px; background: var(--gold-dim); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--gold);
}
.service-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.service-card p { font-size: 0.88rem; line-height: 1.7; color: var(--text-muted); }

/* ── Use Cases ── */
#use-cases { background: var(--charcoal-mid); }
.use-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.use-case {
  background: var(--charcoal-light); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 24px; display: flex; align-items: flex-start; gap: 16px; transition: all 0.35s ease;
}
.use-case:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.2); }
.use-case-num {
  flex-shrink: 0; width: 32px; height: 32px; background: var(--gold-dim); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--gold);
}
.use-case h4 { font-size: 0.92rem; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.use-case p { font-size: 0.8rem; line-height: 1.6; color: var(--text-muted); }

/* ── Trust bar ── */
.trust-bar {
  padding: 60px 0;
  background: var(--charcoal-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-items { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { text-align: center; min-width: 140px; }
.trust-item .trust-icon { font-size: 1.6rem; margin-bottom: 10px; color: var(--gold); }
.trust-item h4 { font-size: 0.85rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.trust-item p { font-size: 0.75rem; line-height: 1.5; color: var(--text-muted); }

/* ── Industries ── */
#industries { background: var(--charcoal); }
.industries-wrap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.industry-tag {
  padding: 10px 20px; background: var(--charcoal-mid); border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.82rem; font-weight: 500; color: var(--silver-light); transition: all 0.3s;
}
.industry-tag:hover { border-color: var(--border-hover); color: var(--gold); background: var(--gold-dim); }

/* ── Team ── */
#team { background: var(--charcoal-mid); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 60px; max-width: 800px; margin-left: auto; margin-right: auto; }
.team-card { background: var(--charcoal-light); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.4s ease; }
.team-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.team-photo { width: 100%; aspect-ratio: 3/2; background: var(--charcoal-pale); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--charcoal-light) 0%, transparent 50%); }
.team-initials { font-family: var(--font-display); font-size: 2.8rem; font-weight: 600; color: var(--silver); opacity: 0.3; }
.team-info { padding: 24px; }
.team-info h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.team-designation { font-size: 0.72rem; font-weight: 500; color: var(--gold); letter-spacing: 0.04em; margin-bottom: 8px; }
.team-role { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.team-bio { font-size: 0.82rem; line-height: 1.65; color: var(--text-muted); }
.team-links { display: flex; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.team-links a { font-size: 0.75rem; font-weight: 500; color: var(--gold); text-decoration: none; transition: color 0.3s; }
.team-links a:hover { color: var(--gold-light); }

/* ── FAQ ── */
#faq { background: var(--charcoal); }
.faq-grid { max-width: 800px; margin: 60px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--charcoal-mid); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.3s; }
.faq-item.active { border-color: var(--border-hover); }
.faq-question {
  width: 100%; padding: 22px 28px; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--white); text-align: left; transition: color 0.3s;
}
.faq-question:hover { color: var(--gold); }
.faq-chevron { flex-shrink: 0; width: 20px; height: 20px; color: var(--text-muted); transition: transform 0.3s ease; }
.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--gold); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 28px 22px; font-size: 0.88rem; line-height: 1.7; color: var(--text-muted); }

/* ── Contact ── */
#contact { background: var(--charcoal-mid); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; }
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0; background: var(--gold-dim); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.contact-item h4 { font-size: 0.85rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 0.88rem; color: var(--text-muted); text-decoration: none; line-height: 1.5; }
.contact-item a:hover { color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 16px; justify-content: center; align-items: center; min-height: 200px; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--charcoal-light) 0%, var(--charcoal-pale) 100%);
  border: 1px solid var(--border); border-radius: 20px; padding: 64px;
  text-align: center; margin-top: 80px; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.07), transparent 70%);
}
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--white); margin-bottom: 16px; position: relative; }
.cta-banner p { font-size: 1rem; color: var(--text-muted); margin-bottom: 32px; position: relative; }
.cta-banner .btn { position: relative; }

/* ── Payment ── */
#payment { background: var(--charcoal); }
.payment-card { max-width: 700px; margin: 60px auto 0; background: var(--charcoal-mid); border: 1px solid var(--border); border-radius: 16px; padding: 48px 40px; }
.payment-methods { display: flex; flex-direction: column; gap: 20px; }
.payment-method {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px;
  background: var(--charcoal-light); border-radius: 12px; border: 1px solid var(--border); transition: border-color 0.3s;
}
.payment-method:hover { border-color: var(--border-hover); }
.payment-method-icon {
  flex-shrink: 0; width: 40px; height: 40px; background: var(--gold-dim); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.payment-method h4 { font-size: 0.92rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.payment-method p { font-size: 0.84rem; line-height: 1.6; color: var(--text-muted); }
.payment-method a { color: var(--gold); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.payment-method a:hover { color: var(--gold-light); }

/* ── Footer ── */
.footer { padding: 48px 0; border-top: 1px solid var(--border); background: var(--charcoal-mid); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-copy a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-copy a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }


/* ── Nav logo ── */
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-wrap {
  width: 44px; height: 44px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0; position: relative;
  background: #fff;
}
.nav-logo-wrap img {
  position: absolute;
  width: 195%;
  left: 50%; top: -4%;
  transform: translateX(-50%);
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-main {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 800;
  color: var(--white); letter-spacing: 0.12em;
}
.nav-logo-sub {
  font-family: var(--font-body); font-size: 0.62rem; font-weight: 300;
  color: var(--silver); letter-spacing: 0.2em;
}

/* ── Hero logo badge ── */
.hero-logo-badge {
  width: 140px; height: 140px; border-radius: 50%;
  overflow: hidden; margin: 0 auto; position: relative;
  background: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.hero-logo-badge img {
  position: absolute;
  width: 195%;
  left: 50%; top: -4%;
  transform: translateX(-50%);
}

/* ── Footer logo badge ── */
.footer-logo-badge {
  width: 48px; height: 48px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0; position: relative;
  background: #fff;
}
.footer-logo-badge img {
  position: absolute;
  width: 195%;
  left: 50%; top: -4%;
  transform: translateX(-50%);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(42,45,49,0.98); backdrop-filter: blur(20px);
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: block; }
  .hero { min-height: 90vh; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .trust-items { gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 40px 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) { .about-stats { grid-template-columns: 1fr; } }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
