/* =========================================
CSS index + portafolio
========================================= */

/* ===== Global ===== */

body {
  background: #f8fafc;
  color: #0f172a;
  font-family: "Inter Tight", sans-serif;
}

[id] {
  scroll-margin-top: 95px;
}

h1,
h2,
h3,
h4,
h5 {
  color: #0f172a;
  font-weight: 700;
}

p,
li {
  color: #334155;
  line-height: 1.7;
}

a {
  text-decoration: none;
}

/* ===== Navbar ===== */

.navbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0;
}

.navbar-brand {
  font-weight: 800;
  color: #0f172a !important;
}

.navbar-brand i {
  color: #0ea5e9 !important;
}

.navbar .nav-link {
  color: #334155 !important;
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: #0ea5e9 !important;
}

.navbar-toggler {
  border-color: #cbd5e1;
}

.navbar-toggler-icon {
  filter: brightness(0);
}

/* ===== Hero ===== */

.hero {
  background: #ffffff;
  padding: 80px 0;
  border-bottom: 1px solid #e2e8f0;
}

.hero .lead {
  color: #475569 !important;
}

/* ===== Imagen Perfil ===== */

.perfil-img {
  width: 185px;
  height: 215px;
  object-fit: contain;
  border-radius: 50% / 45%;
  background: white;
  border: 2px solid #0ea5e9;
  padding: 6px;
}

/* ===== Títulos ===== */

.section-title {
  color: #0ea5e9;
  font-weight: 800;
  margin-bottom: 18px;
}

/* ===== Cards ===== */

.card-custom {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.card-custom img {
  height: 210px;
  object-fit: contain;
  background: #f8fafc;
  padding: 12px;
}

/* ===== Botones ===== */

.btn-info {
  background: #0ea5e9 !important;
  border: none !important;
  color: white !important;
  font-weight: 600;
  border-radius: 10px;
}

.btn-info:hover {
  background: #0284c7 !important;
}

.btn-outline-light {
  background: white;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

.btn-outline-light:hover {
  background: #0ea5e9;
  color: white !important;
}

.btn-success {
  background: #16a34a;
  border: none;
  border-radius: 10px;
}

/* ===== Badges ===== */

.badge {
  border-radius: 10px;
  padding: 8px 14px;
}

/* ===== Footer ===== */

footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
}