/* ============================================================
   SanchezColomb™ — Fox Theme (Bootstrap 5 Overrides)
   Paleta sage green + warm grays
   ============================================================ */

:root {
  --fox-bg: #f7f8fa;
  --fox-surface: #ffffff;
  --fox-text: #2d3748;
  --fox-text-secondary: #666;
  --fox-text-muted: #888;
  --fox-border: #e8e8ec;
  --fox-green: #5b8a7a;
  --fox-green-hover: #4a7566;
  --fox-green-light: #7c9a8e;
  --fox-green-bg: #f0f5f2;
  --fox-green-border: #c5d5ce;
  --fox-header-bg: rgba(247,248,250,0.85);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--fox-text);
  background: var(--fox-bg);
  -webkit-font-smoothing: antialiased;
}

.display-1 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--fox-text); }
.text-secondary { color: var(--fox-text-secondary) !important; }

/* --- Navbar --- */
.navbar {
  background: var(--fox-header-bg) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fox-border);
  height: 3.5rem;
}
.navbar .navbar-brand { font-weight: 600; font-size: 1.125rem; color: var(--fox-text); letter-spacing: -0.3px; }
.navbar .navbar-brand img { max-height: 28px; width: auto; display: block; }
.navbar .navbar-brand span { color: var(--fox-green-light); }
.navbar .nav-link { font-size: 1rem; color: var(--fox-text-secondary); font-weight: 400; padding: 0.5rem 1rem; border-radius: 6px; }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--fox-green); }

/* --- Material Symbols --- */
.material-symbols-outlined { font-size: 1.25rem; vertical-align: middle; }

/* --- Buttons --- */
.btn {
  font-weight: 500; font-size: 0.9rem; border-radius: 8px;
  padding: 0.7rem 1.75rem; transition: all 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--fox-green); border-color: var(--fox-green); color: #fff;
}
.btn-primary:hover { background: var(--fox-green-hover); border-color: var(--fox-green-hover); color: #fff; }
.btn-outline-primary {
  background: transparent; border: 1px solid var(--fox-green-border); color: var(--fox-green);
}
.btn-outline-primary:hover { background: var(--fox-green-bg); color: var(--fox-green-hover); border-color: var(--fox-green); }
.btn-lg { padding: 0.9rem 2.25rem; font-size: 0.95rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.825rem; }

/* --- Cards --- */
.card {
  border: none; border-radius: 8px; background: var(--fox-surface);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.02);
  transition: box-shadow 0.2s; padding: 1.25rem; display: flex; flex-direction: column;
}
.card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04); }
.card-body { padding: 0; flex: 1; display: flex; flex-direction: column; }
.card-icon { font-size: 1.1rem; margin-bottom: 0.5rem; display: block; line-height: 1.2; }
.card h5, .card .card-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--fox-text); }
.card p, .card .card-text { font-size: 0.78rem; color: var(--fox-text-secondary); margin-bottom: 0; line-height: 1.4; }
.card .card-meta {
  margin-top: auto; padding-top: 0.75rem; font-size: 0.7rem;
  color: var(--fox-green-light); font-weight: 500; letter-spacing: 0.3px; text-transform: uppercase;
}
.card .card-img-top {
  margin: -1.25rem -1.25rem 0;
  width: calc(100% + 2.5rem);
  border-radius: 8px 8px 0 0;
}

/* Metric cards (stats over dark bg) */
.card-metric {
  text-align: center; background: rgba(255,255,255,0.06) !important; color: white !important;
}
.card-metric .card-icon { color: rgba(255,255,255,0.5); font-size: 1rem; margin-bottom: 0.5rem; }
.card-metric .stat-number { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.card-metric .stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.25rem; }

/* --- Hero --- */
.hero-fox {
  padding: 6rem 0 4rem; text-align: center;
  background: var(--fox-bg);
}
.hero-fox .location {
  display: inline-block; font-size: 0.8rem; color: var(--fox-green-light); font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero-fox p { font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }

/* --- Stats section --- */
.stats-fox { background: var(--fox-text); color: white; }

/* --- Section spacing --- */
.section-fox { padding: 4.5rem 0; }
.section-fox .section-title { text-align: center; margin-bottom: 0.75rem; }
.section-fox .section-subtitle { text-align: center; color: var(--fox-text-muted); font-size: 1rem; margin-bottom: 3rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.section-fox-alt { background: var(--fox-surface); }
.section-fox-alt .card { background: var(--fox-bg); }

/* --- Process steps --- */
.step-fox { display: flex; gap: 1.25rem; padding: 1.25rem; }
.step-fox .step-number {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--fox-green); color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-weight: 600; font-size: 0.9rem;
}
.step-fox h5 { font-weight: 600; margin-bottom: 0.25rem; }
.step-fox p { font-size: 0.85rem; color: var(--fox-text-secondary); margin-bottom: 0; }

/* --- Forms --- */
.form-control {
  border: 1px solid var(--fox-border); border-radius: 8px; font-size: 0.9rem;
  padding: 0.65rem 1rem; background: var(--fox-surface);
}
.form-control:focus { border-color: var(--fox-green); box-shadow: 0 0 0 3px rgba(91,138,122,0.12); }
.form-label { font-weight: 500; font-size: 0.85rem; color: var(--fox-text); margin-bottom: 0.25rem; }

/* --- Footer --- */
.footer-fox { background: var(--fox-text); color: #bbb; }
.footer-fox a { color: #999; text-decoration: none; transition: color 0.2s; }
.footer-fox a:hover { color: #fff; }
.footer-fox hr { border-color: rgba(255,255,255,0.08); }
.footer-fox h6 { color: #fff; font-weight: 600; letter-spacing: 0.3px; font-size: 0.85rem; }
.footer-fox .fw-semibold img { max-height: 28px; width: auto; }

/* --- CTA section --- */
.cta-fox { background: var(--fox-green); color: white; }
.cta-fox h2 { color: white; }
.cta-fox p { color: rgba(255,255,255,0.75); }
.cta-fox .form-label { color: rgba(255,255,255,0.75); }
.cta-fox .form-control {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); color: white;
}
.cta-fox .form-control::placeholder { color: rgba(255,255,255,0.5); }
.cta-fox .form-control:focus { border-color: rgba(255,255,255,0.5); box-shadow: 0 0 0 3px rgba(255,255,255,0.1); }
.cta-fox .btn-light { background: white; color: var(--fox-green); border: none; font-weight: 600; }
.cta-fox .btn-light:hover { background: #f0f0f0; }

/* --- Responsive --- */
@media (max-width: 767.98px) {
  .display-1 { font-size: 1.75rem; }
  .hero-fox { padding: 5rem 0 2.5rem; }
  .section-fox { padding: 2.5rem 0; }
  .navbar { height: auto; min-height: 3.5rem; }
}
