:root{
  --bg: #0a0e1a;          /* fondo principal oscuro profundo */
  --bg-2: #0f1420;        /* secciones alternadas */
  --bg-3: #141b2e;        /* fondo terciario */
  --card: #1a2332;        /* tarjetas con más contraste */
  --card-hover: #1f2838;  /* hover estado de tarjetas */
  --text: #e8edf4;        /* texto principal más brillante */
  --muted:#9ba3b8;        /* texto secundario */
  --brand:#00d4ff;        /* acento cyan brillante (representa tecnología/modernidad) */
  --brand-2:#0099ff;      /* acento azul profundo */
  --brand-gradient: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
  --accent:#7c3aed;       /* acento púrpura para CTAs secundarios */
  --success:#10b981;      /* verde para elementos positivos */
  --line: rgba(255,255,255,.1);
  --radius:14px;
  --shadow: 0 8px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html,body { 
  height: 100%; 
  scroll-behavior: smooth; 
}

body{
  margin:0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: 
    radial-gradient(ellipse 1400px 800px at 90% -10%, rgba(0,212,255,.08), transparent 60%),
    radial-gradient(ellipse 1000px 600px at 10% 100%, rgba(124,58,237,.06), transparent 70%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===================== UTILIDADES ===================== */
.container{ 
  width: min(1200px, 92vw); 
  margin-inline: auto; 
}

.section{ 
  padding: 90px 0; 
}

.section-head{ 
  text-align: center; 
  margin-bottom: 48px; 
  max-width: 720px;
  margin-inline: auto;
}

.section-head h2{ 
  font-size: clamp(1.8rem, 3vw, 2.6rem); 
  margin: 0 0 12px;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-head p{ 
  color: var(--muted); 
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ===================== BOTONES ===================== */
.btn{
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  gap: .7rem; 
  padding: 1rem 1.6rem; 
  border-radius: 10px;
  background: var(--brand-gradient);
  color: #fff; 
  font-weight: 700;
  font-size: .95rem;
  border: 0; 
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,212,255,.3);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover{ 
  transform: translateY(-2px); 
  box-shadow: 0 8px 24px rgba(0,212,255,.4);
}

.btn:active{ 
  transform: translateY(0); 
}

.btn-ghost{
  background: transparent; 
  color: var(--text);
  border: 2px solid var(--line); 
  box-shadow: none;
}

.btn-ghost:hover{
  border-color: var(--brand);
  background: rgba(0,212,255,.05);
  box-shadow: 0 4px 14px rgba(0,212,255,.15);
}

.btn-soft{
  background: var(--card); 
  color: var(--text); 
  box-shadow: none; 
  border: 1px solid var(--line);
}

.btn-soft:hover{
  background: var(--card-hover);
  border-color: var(--brand);
}

.btn-sm{ 
  padding: .7rem 1.2rem; 
  font-weight: 600;
  font-size: .9rem;
}

/* ===================== HEADER ===================== */
.site-header{
  position: sticky; 
  top: 0; 
  z-index: 100; 
  backdrop-filter: blur(12px) saturate(180%);
  background: rgba(10,14,26,.85);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.site-header:hover::after {
  opacity: 0.3;
}

.header-inner{ 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 16px 0; 
}

.brand{ 
  display: flex; 
  align-items: center; 
  gap: .8rem; 
  color: var(--text); 
  text-decoration: none; 
  font-weight: 800; 
  letter-spacing: .3px;
  transition: var(--transition);
}

.brand:hover {
  transform: translateX(4px);
}

.brand img{ 
  height: 40px; 
  width: 40px; 
  object-fit: contain; 
  filter: drop-shadow(0 0 8px rgba(0,212,255,.6));
  transition: var(--transition);
}

.brand:hover img {
  filter: drop-shadow(0 0 14px rgba(0,212,255,.9));
}

.brand span{ 
  font-size: 1.3rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand small{ 
  opacity: .7; 
  margin-left: .3rem; 
  letter-spacing: .15em; 
  font-size: .7rem;
  color: var(--muted);
}

.nav ul{ 
  display: flex; 
  gap: 8px; 
  align-items: center; 
  list-style: none; 
  margin: 0; 
  padding: 0; 
}

.nav a{ 
  color: var(--text); 
  text-decoration: none; 
  padding: .7rem 1rem; 
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width 0.3s;
}

.nav a:hover::after {
  width: 60%;
}

.nav a:hover{ 
  background: rgba(0,212,255,.08);
  color: var(--brand);
}

/* Hamburguesa */
.menu-toggle{
  display: none; 
  width: 44px; 
  height: 44px; 
  border: 0; 
  background: transparent; 
  cursor: pointer;
  position: relative;
}

.menu-toggle span{
  display: block; 
  height: 2px; 
  background: var(--text); 
  margin: 7px 6px; 
  border-radius: 2px; 
  transition: transform .3s ease, opacity .2s ease;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translateY(12px);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translateY(-12px);
}

/* ===================== HERO ===================== */
.hero{ 
  padding: 120px 0 90px; 
  position: relative; 
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,212,255,.15) 0%, transparent 70%);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, 50px); }
}

.hero-inner{ 
  display: grid; 
  grid-template-columns: 1.1fr .9fr; 
  gap: 48px; 
  align-items: center; 
}

.hero-copy h1{ 
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); 
  line-height: 1.15; 
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.hero-copy p{ 
  color: var(--muted); 
  margin: 0 0 32px; 
  max-width: 56ch;
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-cta{ 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
}

.hero-art {
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,.1) 0%, rgba(124,58,237,.1) 100%);
  mix-blend-mode: overlay;
}

.hero-badges{ 
  display: flex; 
  gap: 12px; 
  padding-top: 32px; 
  flex-wrap: wrap; 
}

.hero-badges span{
  font-size: .85rem; 
  color: var(--brand); 
  border: 1px solid rgba(0,212,255,.3); 
  padding: .5rem 1rem; 
  border-radius: 999px; 
  background: rgba(0,212,255,.05);
  font-weight: 600;
  transition: var(--transition);
}

.hero-badges span:hover {
  background: rgba(0,212,255,.12);
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* ===================== ABOUT ===================== */
.about {
  background: var(--bg-2);
}

.grid-2{ 
  display: grid; 
  gap: 40px; 
  grid-template-columns: 1.1fr .9fr; 
  align-items: start; 
}

.about .mini-card{
  background: var(--card); 
  border: 1px solid var(--line); 
  border-radius: var(--radius);
  padding: 24px; 
  box-shadow: var(--shadow); 
  margin-bottom: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about .mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.about .mini-card:hover::before {
  opacity: 1;
}

.about .mini-card:hover {
  transform: translateX(8px);
  border-color: rgba(0,212,255,.4);
}

.about h2{ 
  margin-top: 0;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin-bottom: 20px;
}

.about h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text);
}

.about p {
  color: var(--muted);
  line-height: 1.7;
}

/* ===================== CARDS ===================== */
.cards{
  display: grid; 
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card{
  background: var(--card); 
  border: 1px solid var(--line); 
  border-radius: var(--radius);
  padding: 28px; 
  box-shadow: var(--shadow); 
  display: flex; 
  flex-direction: column; 
  gap: 14px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,212,255,.5);
  box-shadow: 0 16px 40px rgba(0,212,255,.2);
}

.card .icon{ 
  font-size: 2.2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,.1);
  border-radius: 12px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card h3{ 
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.card p{ 
  color: var(--muted); 
  margin: 0;
  line-height: 1.6;
}

/* ===================== PROJECTS / GALLERY ===================== */
.project-grid{ 
  display: grid; 
  gap: 28px; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
}

.project{
  background: var(--card); 
  border: 1px solid var(--line); 
  border-radius: var(--radius); 
  overflow: hidden; 
  box-shadow: var(--shadow);
  display: block;
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.project:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,212,255,.25);
  border-color: var(--brand);
}

.project img{ 
  width: 100%; 
  height: 240px; 
  object-fit: cover; 
  display: block;
  transition: var(--transition);
}

.project:hover img {
  transform: scale(1.05);
}

.project-info{ 
  padding: 20px 24px; 
}

.project-info h3{ 
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--text);
}

.project-info p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ===================== TECH STACK ===================== */
.section[style*="background"] {
  background: var(--bg-3) !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ===================== CONTACT ===================== */
.contact {
  background: var(--bg-2);
}

.contact .lead{ 
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-list{ 
  list-style: none; 
  padding: 0; 
  margin: 20px 0 32px; 
}

.contact-list li {
  padding: 8px 0;
  font-size: 1.05rem;
}

.contact-list a{ 
  color: var(--brand); 
  text-decoration: none;
  transition: var(--transition);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--brand-2);
  text-decoration: underline;
}

.form{
  background: var(--card); 
  border: 1px solid var(--line); 
  border-radius: var(--radius);
  padding: 32px; 
  display: grid; 
  gap: 20px; 
  box-shadow: var(--shadow);
}

.form label{ 
  display: grid; 
  gap: 10px; 
  font-weight: 600;
  color: var(--text);
}

.form input, .form textarea{
  background: var(--bg-3); 
  border: 1px solid var(--line); 
  color: var(--text);
  padding: 1rem 1.2rem; 
  border-radius: 10px; 
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.form input:focus, .form textarea:focus{ 
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,212,255,.1);
}

.form-status{ 
  margin: 8px 0 0; 
  min-height: 1.2em; 
  color: var(--muted); 
}

/* ===================== FOOTER ===================== */
.site-footer{ 
  border-top: 1px solid var(--line); 
  padding: 40px 0; 
  background: var(--bg); 
}

.footer-inner{ 
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-nav{ 
  display: flex; 
  flex-wrap: wrap;
  gap: 24px; 
}

.footer-nav a{ 
  color: var(--muted); 
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.footer-nav a:hover{ 
  color: var(--brand); 
}

.brand--footer img{ 
  height: 32px; 
  width: 32px; 
  filter: drop-shadow(0 0 8px rgba(0,212,255,.5));
}

.legal{ 
  color: var(--muted); 
  margin: 0; 
  font-size: .9rem; 
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px){
  .cards{ 
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .project-grid{ 
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .grid-2, .hero-inner{ 
    grid-template-columns: 1fr; 
  }
  
  .hero-art{ 
    order: -1; 
    height: 320px; 
  }
}

@media (max-width: 720px){
  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .menu-toggle{ 
    display: block; 
  }
  
  .nav{ 
    position: fixed; 
    inset: 64px 0 auto 0; 
    background: rgba(10,14,26,.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line); 
    transform: translateY(-150%); 
    transition: transform .3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
  }
  
  .nav ul{ 
    flex-direction: column; 
    align-items: stretch; 
    padding: 20px 16px; 
    gap: 8px; 
  }
  
  .nav a{ 
    width: 100%; 
    padding: 14px 20px;
    border-radius: 10px; 
  }
  
  .nav .btn-sm{ 
    width: 100%; 
    justify-content: center; 
    margin: 12px 0 8px; 
  }
  
  .site-header.nav-open .nav{ 
    transform: translateY(0); 
  }
  
  .footer-inner{ 
    flex-direction: column;
    text-align: center; 
    gap: 20px;
  }
  
  .footer-nav{ 
    justify-content: center; 
  }
  
  .cards{ 
    grid-template-columns: 1fr; 
  }
  
  .project-grid{ 
    grid-template-columns: 1fr; 
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta a {
    width: 100%;
    justify-content: center;
  }
}

/* ===================== ANIMACIONES ADICIONALES ===================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card, .project, .mini-card {
  animation: fadeInUp 0.6s ease backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

.card .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,.1);
  border-radius: 12px;
  position: relative;
}

.card .icon i,
.card .icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand);
  stroke-width: 2;
}

.card:hover .icon {
  background: rgba(0,212,255,.15);
}

/* ===================== CAROUSEL / GALLERY ===================== */
.carousel-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  display: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10,14,26,0.95) 0%, rgba(10,14,26,0.85) 70%, transparent 100%);
  padding: 40px 48px 32px;
  color: var(--text);
}

.carousel-caption h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.carousel-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* Botones de navegación */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(26,35,50,0.9);
  backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--card-hover);
  border-color: var(--brand);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand);
  stroke-width: 2.5;
}

.carousel-prev {
  left: 24px;
}

.carousel-next {
  right: 24px;
}

/* Indicadores */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.indicator:hover {
  border-color: var(--brand);
  transform: scale(1.2);
}

.indicator.active {
  background: var(--brand-gradient);
  border-color: var(--brand);
  width: 32px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
  .carousel-slide img {
    height: 450px;
  }
  
  .carousel-caption {
    padding: 32px 36px 24px;
  }
  
  .carousel-caption h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 720px) {
  .carousel-slide img {
    height: 350px;
  }
  
  .carousel-btn {
    width: 44px;
    height: 44px;
  }
  
  .carousel-btn svg {
    width: 22px;
    height: 22px;
  }
  
  .carousel-prev {
    left: 12px;
  }
  
  .carousel-next {
    right: 12px;
  }
  
  .carousel-caption {
    padding: 24px 20px 18px;
  }
  
  .carousel-caption h3 {
    font-size: 1.2rem;
  }
  
  .carousel-caption p {
    font-size: 0.95rem;
  }
}

/* ===================== LIGHTBOX MODAL ===================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.8);
  border: 1px solid var(--line);
}

.lightbox-caption {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 28px;
  margin-top: 20px;
  text-align: center;
  max-width: 600px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

.lightbox-caption h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: var(--text);
}

.lightbox-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Botones del lightbox */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(26,35,50,0.95);
  backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1001;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-close:hover {
  background: rgba(220, 38, 38, 0.9);
  border-color: #ef4444;
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--card-hover);
  border-color: var(--brand);
  transform: translateY(-50%) scale(1.15);
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  width: 26px;
  height: 26px;
  stroke: var(--text);
  stroke-width: 2.5;
}

.lightbox-prev:hover svg,
.lightbox-next:hover svg {
  stroke: var(--brand);
}

/* Agregar cursor pointer a las slides del carrusel */
.carousel-slide {
  cursor: pointer;
}

.carousel-slide img {
  cursor: pointer;
}

/* Responsive del lightbox */
@media (max-width: 720px) {
  .lightbox-content img {
    max-height: 70vh;
  }

  .lightbox-caption {
    padding: 16px 20px;
    margin-top: 16px;
  }

  .lightbox-caption h3 {
    font-size: 1.2rem;
  }

  .lightbox-caption p {
    font-size: 0.9rem;
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .lightbox-close svg,
  .lightbox-prev svg,
  .lightbox-next svg {
    width: 22px;
    height: 22px;
  }
}