/* =====================================================
   PALETA PRINCIPAL — BLACK & BLUE TECH PREMIUM
===================================================== */
:root {
  --bg: #0b0e11;
  --bg-dark: #0f1216;
  --bg-card: #11151a;
  --bg-hover: #1a1f25;

  --text: #e3e7ee;
  --text-soft: #9aa4af;
  --text-muted: #69737e;

  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --blue-dark: #1e3a8a;

  --radius: 12px;
  --transition: 0.25s ease;
}

/* =====================================================
   RESET / BASE
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 58px;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  z-index: 1000;
  border-bottom: 1px solid #1a1f24;
  backdrop-filter: blur(10px);
}

.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary {
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.25);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 36px;
  height: 36px;
}

.nav-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.nav-links a {
  margin-left: 25px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--blue-light);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

/* ==========================
   HERO — Senior QA Version
========================== */

.hero-section {
  padding: 150px 10% 100px;
  background: var(--bg);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* CONTENEDOR 2 COLUMNAS */
.hero-container {
  width: 100%;
  max-width: 1300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin: auto;
}

/* COLUMNA IZQUIERDA */
.hero-left {
  flex: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--blue-light), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  margin-top: 15px;
  color: var(--text-soft);
  font-size: 1.2rem;
  max-width: 500px;
}

/* BADGES */
.tech-badges {
  margin: 25px 0 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-badges span {
  background: var(--bg-card);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: var(--blue-light);
  font-size: 0.9rem;
  font-weight: 500;
}

/* BOTONES */
.hero-buttons {
  display: flex;
  gap: 15px;
}

/* COLUMNA DERECHA (LOGO) */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-logo-wrapper {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(59, 130, 246, 0.25),
      rgba(59, 130, 246, 0.05),
      transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glow-pulse 4s ease-in-out infinite;
}

/* LOGO CIRCULAR */
.hero-logo-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

/* ANIMACIÓN SUAVE */
@keyframes glow-pulse {
  0% {
    transform: scale(1);
    opacity: .9;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: .9;
  }
}

/* ==========================
   RESPONSIVE HERO
========================== */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-left {
    margin-top: 30px;
  }

  .hero-right {
    justify-content: center;
  }
}

/* =====================================================
   BOTONES PREMIUM
===================================================== */
.btn-primary {
  padding: 12px 28px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--blue-light);
}

.btn-secondary {
  padding: 12px 28px;
  background: var(--bg-card);
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--blue);
  color: #fff;
}

/* =====================================================
   SECCIONES
===================================================== */
.section {
  padding: 120px 10%;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  background: linear-gradient(to right, var(--blue-light), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-text {
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto 20px auto;
  font-size: 1.05rem;
}

/* =====================================================
   SKILLS GRID
===================================================== */
.skills-grid {
  max-width: 700px;
  margin: 40px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 15px;
}

.skills-grid span {
  background: var(--bg-card);
  border: 1px solid #1a1f24;
  padding: 12px 0;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text-soft);
  transition: var(--transition);
  transition: all 0.25s ease;
}

.skills-grid span:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

/* =====================================================
   EXPERIENCIA
===================================================== */
.experience-card {
  background: var(--bg-card);
  max-width: 750px;
  margin: 40px auto 0;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid #1a1f24;
  text-align: left;
}

.experience-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.exp-time {
  font-size: 0.95rem;
  color: var(--blue-light);
  margin-bottom: 20px;
  display: block;
}

.experience-card ul {
  color: var(--text-soft);
  margin-left: 20px;
  line-height: 1.8;
}

/* ==========================
   EXPERIENCIA — Senior QA
========================== */

.experience-card {
  background: var(--bg-card);
  max-width: 850px;
  margin: 40px auto 0;
  padding: 45px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
  transition: 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.15);
}

.exp-time {
  font-size: 0.95rem;
  color: var(--blue-light);
  margin-bottom: 18px;
  display: block;
}

.exp-summary {
  color: var(--text-soft);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.exp-list {
  color: var(--text-soft);
  margin-left: 20px;
  line-height: 1.8;
  font-size: 1rem;
}

.exp-list li {
  margin-bottom: 12px;
}

.exp-list strong {
  color: var(--blue-light);
}


/* =====================================================
   CONTACTO
===================================================== */
.contact-links {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.contact-links a {
  color: var(--blue);
  transition: var(--transition);
}

.contact-links a:hover {
  color: var(--blue-light);
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  background: var(--bg-dark);
  padding: 40px;
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #1a1f24;
  font-size: 0.82rem;
  opacity: 0.75;
  color: var(--text-muted);
}

/* =====================================================
   ANIMACIONES SUAVES
===================================================== */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1),
    transform .9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
    letter-spacing: -1px;
  }

  .hero-logo {
    width: 110px;
  }

  .navbar {
    padding: 0 5%;
  }
}

#hero {
  --mouse-x: 50%;
  --mouse-y: 50%;
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y),
      rgba(59, 130, 246, 0.12),
      transparent 60%),
    var(--bg);
}

/* =====================================================
   SUBPÁGINAS — HERO PEQUEÑO
===================================================== */
.sub-hero {
  padding: 140px 10% 80px;
  text-align: center;
  background: var(--bg-dark);
}

.sub-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  font-weight: 700;
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  font-weight: 700;
}

.sub-hero-desc {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* =====================================================
   SUBPÁGINAS — SECCIONES
===================================================== */
.sub-section {
  padding: 80px 10%;
  max-width: 900px;
  margin: 0 auto;
}

.sub-section h2 {
  text-align: left;
  margin-bottom: 12px;
  font-size: 1.6rem;
  font-weight: 600;
  background: linear-gradient(to right, var(--blue-light), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-text {
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* =====================================================
   LISTAS PROFESIONALES
===================================================== */
.sub-list {
  margin-left: 20px;
  margin-top: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

.sub-list li {
  margin-bottom: 8px;
}

/* =====================================================
   CODE BLOCK PREMIUM
===================================================== */
.code-block {
  background: #0f1318;
  padding: 22px;
  border-radius: var(--radius);
  color: var(--blue-light);
  border: 1px solid #1b2027;
  font-family: "Fira Code", monospace;
  font-size: 0.95rem;
  margin: 30px 0;
  white-space: pre;
  overflow-x: auto;
}

/* =====================================================
   GALERÍA CYPRESS
===================================================== */
.gallery {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 35px 0 25px;
}

.gallery img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.25);
}

/* =====================================================
   RESPONSIVE SUBPÁGINAS
===================================================== */
@media (max-width: 768px) {
  .sub-hero {
    padding: 120px 8% 70px;
  }

  .sub-hero h1 {
    font-size: 2rem;
  }

  .sub-section {
    padding: 60px 8%;
  }

  .sub-section h2 {
    font-size: 1.4rem;
  }

  .code-block {
    font-size: 0.9rem;
  }
}

/* =====================================================
   LOGO SUPERIOR CIRCULAR
===================================================== */
.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  /* 🔹 sin marco */
  box-shadow: none;
  /* 🔹 sin glow */
}

/* ==========================
   SKILLS — Senior QA Stack
========================== */

.skills-wrapper {
  max-width: 1100px;
  margin: 40px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

.skills-block {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
  transition: 0.3s ease;
}

.skills-block:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.skills-block h3 {
  margin-bottom: 18px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue-light);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-list span {
  background: var(--bg-dark);
  padding: 8px 14px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: 0.25s ease;
}

.skills-list span:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.25);
  color: var(--blue-light);
}

/* ==========================
   SOBRE MÍ — Senior QA
========================== */

.about-text {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 850px;
  margin: 0 auto 22px auto;
  line-height: 1.75;
}

/* ==========================
   CONTACTO — Versión Pro
========================== */

.contact-grid {
  max-width: 900px;
  margin: 35px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: 0.25s ease;
}

.contact-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.18);
  transform: translateY(-3px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.15);
  font-size: 1.4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text);
}

/* ==========================
   FOOTER — Profesional
========================== */

.footer-pro {
  background: var(--bg-dark);
  padding: 50px 10%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 70px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Nombre + Rol */
.footer-name h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.footer-name p {
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* Links */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.footer-links a {
  color: var(--blue-light);
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

/* Meta */
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-meta span {
  color: var(--text-muted);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================
   CASE STUDY CARDS
========================== */

.case-card {
  max-width: 1100px;
  margin: 50px auto 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.15);
}

.case-info h3 {
  font-size: 1.4rem;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.case-list {
  margin-left: 18px;
  margin-bottom: 22px;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 1rem;
}

.case-buttons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.case-image img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

/* Responsive */
@media (max-width: 900px) {
  .case-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .case-buttons {
    justify-content: center;
  }
}
/* LISTAS CON CHECK CENTRADAS Y PEGADAS AL TEXTO */
.enhanced-list {
  list-style: none;
  padding-left: 0;
  margin: 18px auto 0 auto;     /* centramos el bloque */
  display: inline-flex;          /* bloque compacto centrado */
  flex-direction: column;
  gap: 6px;                      /* separación vertical entre items */
}

.enhanced-list li {
  display: inline-flex;          /* cada item es una fila: ✔ + texto */
  align-items: flex-start;
  gap: 16px;                      /* distancia mínima entre ✔ y texto */
  line-height: 1.5;
  text-align: left;              /* para que el texto del item no se vea raro */
}

.enhanced-list li::before {
  content: "✔";
  color: var(--blue-light);
  font-weight: bold;
  font-size: 0.9rem;
  margin-top: 2px;
}
