/* Localto.co — Brand Hub */

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

:root {
  --navy: #0d2b4e;
  --blue: #1565a0;
  --orange: #f4a020;
  --text: #1a2e44;
  --muted: #64748b;
  --bg: #f0f4f8;
  --card: #ffffff;
  --border: #dde3ec;
  --loz: #0d6efd;
  --pcb: #198754;
  --radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── Header ── */
header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: white;
  padding: 0;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  text-align: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.logo-mark {
  width: 52px;
  height: 52px;
  background: var(--orange);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
}

.logo-text { text-align: left; }
.logo-text .brand { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; }
.logo-text .tagline { display: block; font-size: 0.8rem; opacity: 0.7; font-weight: 400; letter-spacing: 0.5px; text-transform: uppercase; }

.hero-headline {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: white;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: #e09010; transform: translateY(-1px); }

/* ── Stats Bar ── */
.stats-bar {
  background: white;
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--blue); }
.stat span { font-size: 0.85rem; color: var(--muted); }

/* ── Sections ── */
.section-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 24px;
}

.section-inner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 40px;
}

/* ── Market Groups ── */
.markets { background: var(--bg); }

.market-group { margin-bottom: 40px; }

.market-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.market-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}
.market-badge.loz { background: var(--loz); }
.market-badge.pcb { background: var(--pcb); }

.market-header h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 2px; }
.market-header p { font-size: 0.9rem; color: var(--muted); }

.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.dir-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.15s, transform 0.1s, border-color 0.15s;
}
.dir-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: var(--blue);
}

.dir-icon { font-size: 1.6rem; }
.dir-info { flex: 1; }
.dir-info strong { display: block; font-size: 0.95rem; font-weight: 700; }
.dir-info span { font-size: 0.82rem; color: var(--muted); }
.dir-arrow { font-size: 1.1rem; color: var(--muted); }

/* ── Coming Soon ── */
.coming-soon-group { margin-top: 32px; }
.coming-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}

.coming-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coming-card {
  background: white;
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── How It Works ── */
.how-it-works { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 10px;
}

.step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ── For Contractors CTA ── */
.for-contractors { background: var(--bg); }

.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: white;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-box h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.cta-box p { opacity: 0.85; font-size: 0.95rem; max-width: 480px; }

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand .brand { font-size: 1.2rem; font-weight: 800; color: white; margin-right: 10px; }
.footer-brand span:last-child { font-size: 0.85rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: white; }

.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .stats-inner { gap: 24px; }
  .cta-box { flex-direction: column; text-align: center; }
  .header-inner { padding: 36px 20px 48px; }
}
