/* ============================================================
   TAMBO CONSULTING LLC — Main Stylesheet
   ============================================================ */

:root {
  --primary: #1a3a5c;       /* Deep navy */
  --primary-dark: #0f2540;
  --accent: #2e86ab;        /* Teal blue */
  --accent-light: #4fa8c8;
  --gold: #c9a84c;          /* Warm gold */
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f2540;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(26,58,92,0.10);
  --shadow-lg: 0 8px 40px rgba(26,58,92,0.16);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.25s ease;
  --max-width: 1160px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.section { padding: 96px 0; }

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(46,134,171,0.35); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover { background: var(--bg-alt); transform: translateY(-1px); }

.btn-soft {
  background: rgba(46,134,171,0.08);
  color: var(--primary);
  border-color: rgba(46,134,171,0.18);
}
.btn-soft:hover { background: rgba(46,134,171,0.14); transform: translateY(-1px); }

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(46,134,171,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--primary);
  margin: 8px 0 16px;
  line-height: 1.2;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 12px 0;
}

.nav.scrolled .logo-text,
.nav.scrolled .logo-mark { color: var(--primary); }
.nav.scrolled .nav-links a { color: var(--text); }
.nav.scrolled .nav-links a:hover { color: var(--accent); }
.nav.scrolled .nav-cta { background: var(--accent) !important; color: #fff !important; }
.nav.scrolled .nav-toggle { color: var(--primary); }
.page-nav { background: rgba(255,255,255,0.97); }
.page-nav .logo-text,
.page-nav .logo-mark { color: var(--primary); }
.page-nav .nav-links a { color: var(--text); }
.page-nav .nav-cta { color: #fff !important; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo-mark {
  width: 38px; height: 38px;
  background: var(--gold);
  color: var(--primary-dark);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.logo-mark.small { width: 28px; height: 28px; font-size: 0.7rem; }

.logo-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.logo-llc { font-weight: 400; opacity: 0.7; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 18px;
  border-radius: 6px;
  color: #fff !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover { background: rgba(255,255,255,0.25) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a4a6e 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(46,134,171,0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.15) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(46,134,171,0.15) 0%, transparent 40%);
}

/* Grid pattern overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
}
.stat:first-child { padding-left: 0; }

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 10px;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-items span:nth-child(even) { color: var(--accent); }

/* ============================================================
   INTERNAL PAGES
   ============================================================ */
.page-hero {
  position: relative;
  padding: 150px 0 88px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 58%, #255f79 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 56px;
  align-items: center;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 22px;
}
.page-sub {
  max-width: 640px;
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  margin-bottom: 36px;
}
.product-panel,
.surveillance-panel {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.product-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.panel-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-panel strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1.1;
}
.product-panel span:last-child,
.signal-list span { color: rgba(255,255,255,0.7); }
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  gap: 24px;
}
.product-card,
.tier {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.featured-product {
  background: linear-gradient(135deg, #ffffff 0%, #f4fbfd 100%);
  border-color: rgba(46,134,171,0.24);
}
.product-card-muted { background: var(--bg-alt); }
.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.product-status {
  font-size: 0.75rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 5px 10px;
  border-radius: 999px;
}
.product-status.muted {
  color: var(--text-muted);
  background: var(--border);
}
.product-card h3,
.tier h3,
.dashboard-access h2 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.product-card p,
.tier p,
.dashboard-access p {
  color: var(--text-muted);
  margin-bottom: 18px;
}
.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.pricing-section,
.dashboard-access { background: var(--bg-alt); }
.tier-grid,
.surveillance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.signal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 18px;
}
.signal-header span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.signal-header strong { font-size: 1.2rem; }
.signal-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.signal-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
}
.signal-list strong { color: #fff; }
.dashboard-access-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: transparent;
  color: #fff;
}
.service-card.featured .service-list li { color: rgba(255,255,255,0.75); }
.service-card.featured .service-list li::before { color: var(--gold); }

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-card.featured h3 { color: #fff; }

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.service-card.featured p { color: rgba(255,255,255,0.75); }

.service-list { display: flex; flex-direction: column; gap: 6px; }
.service-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; min-height: 360px; }

.about-card-stack { position: relative; height: 360px; }

.about-card {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
  width: 260px;
  transition: transform var(--transition);
}
.about-card:hover { transform: translateY(-4px); }

.about-card strong { font-size: 0.95rem; color: var(--primary); }
.about-card span { font-size: 0.8rem; color: var(--text-muted); }
.about-card-icon { font-size: 1.5rem; margin-bottom: 4px; }

.about-card-1 { top: 0; left: 0; }
.about-card-2 { top: 120px; left: 60px; border-color: var(--accent); }
.about-card-3 { top: 240px; left: 20px; }

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--primary);
  margin: 8px 0 20px;
  line-height: 1.2;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.about-credentials {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.credential {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.cred-icon { color: #22c55e; }

/* ============================================================
   APPROACH
   ============================================================ */
.approach { background: var(--bg); }

.approach-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.step:hover { background: var(--bg-alt); }

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(46,134,171,0.2);
  line-height: 1;
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.step p { font-size: 0.88rem; color: var(--text-muted); }

.step-arrow {
  font-size: 1.5rem;
  color: var(--border);
  padding-top: 48px;
  flex-shrink: 0;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin-bottom: 12px;
}
.cta-band p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--primary);
  margin: 8px 0 16px;
}
.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
}
.contact-item a,
.footer a {
  color: inherit;
  text-decoration: none;
}
.contact-item a:hover,
.footer a:hover {
  text-decoration: underline;
}
.c-icon { font-size: 1.2rem; }

/* FORM */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,134,171,0.1);
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  padding: 40px 0;
}
.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .approach-steps { gap: 8px; }
  .step-arrow { display: none; }
  .page-hero-grid,
  .product-grid,
  .dashboard-access-inner { grid-template-columns: 1fr; }
  .tier-grid,
  .surveillance-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.3rem; color: #fff; }
  .nav-toggle { display: block; z-index: 101; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-stats { gap: 0; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-stats .stat-divider { display: none; }
  .stat { padding: 12px 16px; }
}
