/* Reset y básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fafafa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* Header */
  header {
    background-color: #222;
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  }
  header h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 8px;
  }
  header p {
    font-style: italic;
    font-weight: 300;
  }
  
  /* Contenedor principal */
  .container {
    max-width: 900px;
    width: 90%;
    margin: 30px auto;
    flex-grow: 1;
  }

  /* Box container para index.html */
  .box-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Box con imagen, título y texto centrado */
  .box {
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    width: 280px;
    text-decoration: none;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
  
  .box:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transform: translateY(-8px);
  }
  
  .box img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
    margin-bottom: 15px;
  }
  
  .box h2 {
    margin: 0 15px 10px;
    font-size: 1.8rem;
    color: #222;
  }
  
  .box p {
    margin: 0 15px 20px;
    color: #555;
    font-size: 1rem;
    line-height: 1.4;
  }
  
  /* Footer */
  footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
    margin-top: auto;
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    .box-container {
      flex-direction: column;
      align-items: center;
    }
    .box {
      width: 90%;
    }
  }

  /* Video responsive wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    margin: 15px 0;
  }
  
  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }
  
  /* Cards de trabajos */
  .work-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .work-card h3 {
    margin-bottom: 10px;
    color: #222;
    font-size: 1.6rem;
  }
  
  .work-card p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  /* Contenedor para los links */
  .links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
  }
  
  /* Botones de links Instagram y Youtube */
  .btn-link {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    background: #3498db;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
  }
  
  .btn-link:hover {
    background: #2980b9;
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    .work-card {
      padding: 15px;
      max-width: 100%;
    }
    .links {
      flex-direction: column;
    }
    .btn-link {
      padding: 12px 0;
    }
  }

  blockquote.instagram-media,
  blockquote.tiktok-embed {
    width: 100% !important;
    max-width: 540px; /* Ajusta según prefieras */
    margin: 0 auto;
  }
  
  .reels-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
  }
  
  .reels-section h2 {
    margin-bottom: 10px;
    color: #222;
  }
  
  .reels-section p {
    margin-bottom: 20px;
    color: #666;
  }
  
  .reels-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* espacio vertical entre los Reels */
    align-items: center; /* centrados horizontalmente */
  }
  .reels-container-horizontal {
    display: flex;
    flex-direction: row; /* en fila horizontal */
    gap: 20px; /* espacio horizontal entre los reels */
    overflow-x: auto; /* si hay muchos reels, agrega scroll horizontal */
    padding: 10px 0;
  }
  
  .reels-container-horizontal blockquote {
    flex: 0 0 auto; /* evita que se redimensionen demasiado */
  }

  .header-with-icons {
    text-align: center;
    margin-bottom: 30px;
    position: relative; /* Para manejo de capas si se necesita */
  }
  
  .title-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  
  .header-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }
  
  .title-icons h1 {
    margin: 0;
    font-size: 2.8rem;
    color: #fff; /* Blanco para que contraste con fondo oscuro, cámbialo si tu fondo es claro */
    z-index: 10; /* Asegura que esté por encima de los iconos */
    position: relative;
  }
  
  
  .subtitle {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #ddd; /* Subtítulo más suave */
  }
  
  
  
  