*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  background: #111318;
  color: #fff;
  overflow-x: hidden;
}

/* ══ HEADER ══════════════════════════════════════ */
.header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #1a1c23;
  background-image: url(../imgs/fondo.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 60px 40px;
}
.header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,17,22,0.72);
}
.header-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
}
.avatar-wrap {
  margin-bottom: 48px;
  text-align: center;
}

/* avatar*/
.avatar-wrap img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.18);
  object-fit: cover;
  display: block;
  margin: 0 auto;
}
.header h1 {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.header h1 strong { font-weight: 700; }
.tag-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.tag-line { width: 36px; height: 2px; background: #fff; flex-shrink: 0; }

.tag {
  background: #1a6fb5;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  padding: 7px 20px;
  display: inline-block;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(26,111,181,0.4);
}

.header hr { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin-bottom: 20px; }
.header p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 580px;
}

/* ══ ACCIONES ════════════════════════════════════ */
.actions {
  position: relative;
  background: #111318;
}

/* Fondos dentro de la sección */
.action-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.action-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.action-bg.active { opacity: 1; }
.action-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,12,18,0.72);
}

.actions-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px 80px;
}

.action-item {
  border-top: 1px solid rgba(255,255,255,0.10);
}
.action-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.10); }

.action-item a {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 0 32px;
  padding: 40px 0;
  text-decoration: none;
  transition: padding-left 0.3s ease;
}
.action-item a:hover { padding-left: 16px; }

.action-num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s;
}
/* colores de los botnes de abajo*/
.action-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  line-height: 1;
  transition: color 0.3s;
}
.action-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-align: right;
  transition: color 0.3s;
  white-space: nowrap;
}

.action-item a:hover .action-title,
.action-item.active a .action-title { color: #fff; }
.action-item a:hover .action-num,
.action-item.active a .action-num { color: rgba(255,255,255,0.5); }
.action-item a:hover .action-sub,
.action-item.active a .action-sub { color: rgba(255,255,255,0.55); }

/* ══ RESPONSIVE ══════════════════════════════════ */
@media (max-width: 768px) {
  .actions-inner { padding: 0 24px 60px; }
  .action-item a { grid-template-columns: 40px 1fr; gap: 0 16px; padding: 28px 0; }
  .action-sub { display: none; }
  .header { padding: 50px 24px; }
}



/* ══ BOTONES HEADER v2 ═══════════════════════════ */
.header-btns {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a6fb5;
  border: none;
  color: #fff !important;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 36px;
  text-decoration: none !important;
  border-radius: 50px;
  transition: background 0.3s ease, transform 0.2s ease;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(26,111,181,0.4);
}
.header-btn:hover {
  background: #155d9e;
  transform: translateY(-2px);
}
.header-btn-wa {
  background: #1255a0;
  box-shadow: 0 4px 20px rgba(18,85,160,0.4);
}
.header-btn-wa:hover {
  background: #0e4a8a;
}
