  :root {
    --orange: #FF5C00;
    --orange-light: #FF7A2F;
    --dark: #1a0a00;
    --darker: #0d0400;
    --white: #ffffff;
    --cream: #f5f0eb;
    --text-sm: 0.85rem;
    --text-base: 1rem;
    --text-lg: 1.2rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 3rem;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  .body {
    font-family: "Poppins", sans-serif;
    background: #0d0400;
    color: var(--white);
    overflow-x: hidden;
  }

  .fondo {
    inset: 0;
    background-image: url('../../images/voluntario/fondo.webp');
    background-size: cover;
    background-position: center top;
  }

  /* ===== HERO SECTION ===== */
  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    overflow: hidden;
    padding-bottom: 500px;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../../images/voluntario/banner.webp');
    background-size: cover;
    background-position: center top;
    z-index: 0;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(13,4,0,1) 0%,
      rgba(13,4,0,0.1) 2%,
      rgba(13,4,0,0.1) 98%,
      rgba(13,4,0,1) 100%
    );
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px 0;
    max-width: 800px;
    margin: 0 auto;
  }

  .hero-tag {
    display: inline-block;
    background: #111;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 4px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
  }

  .hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 20px;
  }

  .hero h1 span.white {
    color: var(--white);
  }

  .hero-subtitle {
    font-size: clamp(0.85rem, 2vw, 1rem);
    line-height: 1.7;
    color: rgb(255, 255, 255);
    max-width: 800px;
    margin: 0 auto 50px;
  }

  .hero-subtitle span.highlight {
    color: var(--orange);
    font-weight: 600;
  }

  /* ===== VOLUNTARIADO SECTION ===== */
  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
    padding: 0px 0px 20px;
  }

  .section-label .pill {
    background: var(--orange);
    border-radius: 4px;
    padding: 0px 5px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
  }

  .voluntariado {
    position: relative;
    z-index: 2;
    padding: 20px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
  }

  .voluntariado h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 28px;
    letter-spacing: 1px;
  }

  .voluntariado h2 span {
    color: var(--orange);
    background: var(--orange);
    color: white;
    padding: 2px 12px;
    border-radius: 4px;
  }

  .voluntariado-box {
    background: rgba(0, 0, 0, 0);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 12px;
    padding: 15px 15px;
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgb(255, 255, 255);
    text-align: justify;
  }

  /* ===== COMPROMISO SECTION ===== */
  .compromiso {
    padding: 20px 20px;
    text-align: center;
    position: relative;
    background-color: rgba(0, 0, 0, 0);
  }

  .compromiso-inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
  }

  .section-title {
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center; /* o center si quieres centrado */
    gap: 0 10px;
    line-height: 1.5;
  }

  .section-title .orange { color: var(--orange); }

  .section-title .white { color: var(--white); }

  .section-title .underline-line {
    display: block;
    height: 3px;
    background: var(--orange); /* o #FF5C00 */
    border-radius: 2px;
  }

  .compromiso-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    gap: 0 20px;
  }

  /* Ítems pares (2do y 4to) suben */
  .compromiso-item:nth-child(even) {
    margin-top: 0;
  }

  /* Ítems impares (1ro y 3ro) bajan */
  .compromiso-item:nth-child(odd) {
    margin-top: 60px;
  }

  .compromiso-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .compromiso-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
  }

  .compromiso-icon {
    width: 96px;
    height: 96px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 30px rgba(255,92,0,0.4);
  }

  .compromiso-icon img {
    width: 96px;
    height: 96px;
    object-fit: contain;
  }

  .compromiso-name {
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-align: center;
    color: white;
  }

  .compromiso-desc {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    text-align: center;
  }

  /* ===== ACTIVIDADES SECTION ===== */
  .actividades {
    padding: 20px 20px 100px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
  }

  .actividades-inner {
    max-width: 1000px;
    margin: 0 auto;
  }

  .actividades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
  }

  .activity-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .activity-card:hover {
    transform: scale(1.03);
  }

  .activity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .activity-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
  }

  .activity-card .card-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
  }

  .activity-card .card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    color: white;
  }

  /* ===== ACTIVITY DETAIL SECTION ===== */
  .activity-detail {
    padding: 0 20px 80px;
    background-color: rgba(0, 0, 0, 0);
    background-image: url('../../images/voluntario/fondo.webp');
    background-size: cover;
    background-position: center top;
  }

  .activity-detail-inner {
    max-width: 900px;
    margin: 0 auto;
  }

  .activity-header {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

  .activity-header-bg {
    position: absolute;
    inset: 0;
    background-image: url('../../images/voluntario/banner.webp');
    background-size: cover;
    background-position: center;
  }

  .activity-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
  }

  .activity-header-content {
    position: relative;
    z-index: 2;
    padding: 30px 36px;
  }

  .activity-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
  }

  .activity-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
  }

  .activity-title span { color: var(--orange); font-style: italic; }

  /* YouTube embed */
  .youtube-container {
    background: rgba(255,92,0,0.08);
    border: 1px solid rgba(255,92,0,0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .youtube-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* ratio 16:9 */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
  }

  .youtube-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .youtube-thumbnail {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    min-width: 280px;
    max-width: 440px;
    aspect-ratio: 16/9;
    cursor: pointer;
    background: #000;
  }

  .youtube-thumbnail img.thumb-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
  }

  .youtube-thumbnail .yt-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .yt-logo-area {
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
  }

  .yt-logo-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    color: #1a0a00;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .yt-play-btn {
    width: 56px;
    height: 56px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255,92,0,0.5);
    transition: transform 0.2s;
  }

  .youtube-thumbnail:hover .yt-play-btn {
    transform: scale(1.1);
  }

  .yt-play-btn svg {
    width: 22px;
    height: 22px;
    fill: white;
    margin-left: 3px;
  }

  .yt-project-title {
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  }

  .activity-desc {
    font-size: 0.85rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.8);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
  }


  /* ===== GALLERY SECTION ===== */
  .gallery {
    position: relative;
    overflow: hidden;
    width: 140%;
    margin-left: -20%;
    border-radius: 14px;
  }

  .gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .gallery::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .gallery::before,
  .gallery::after {
    width: 180px; /* antes 120px */
  }

  #track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
  }

  .gallery-slide {
    flex: 0 0 calc(20% - 8px);
    margin: 0 4px;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    transition: transform 0.3s, opacity 0.3s;
  }

  .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
  }

  #dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }

  .gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    border: none;
  }

  .gallery-dot.active {
    background: #FF5C00;
    transform: scale(1.3);
  }

  /* ===== COMMENT SECTION ===== */
  .comment-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
    margin-top: 20px;
  }

  .comment-image {
    border-radius: 16px;
    overflow: hidden;
    min-height: 220px;
  }

  .comment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.8;
  }

  .comment-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .comment-box h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-style: italic;
    color: rgba(255,255,255,0.95);
  }

  .comment-box p {
    font-size: 0.82rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.75);
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    .actividades-grid {
      grid-template-columns: 1fr;
      max-width: 400px;
      margin: 40px auto 0;
    }

    .compromiso-grid {
      gap: 30px;
    }

    .comment-section {
      grid-template-columns: 1fr;
    }

    .comment-image {
      min-height: 200px;
    }

    .gallery-photo {
      flex: 0 0 calc(80% - 8px);
    }

    .youtube-container {
      flex-direction: column;
    }
  }

  @media (max-width: 480px) {
    .voluntariado-box {
      padding: 20px;
    }
    .activity-header-content {
      padding: 20px;
    }
    .comment-box {
      padding: 20px;
    }
  }

  /* Divider */
  .section-divider {
    width: 60px;
    height: 4px;
    background: var(--orange);
    margin: 0 auto 16px;
    border-radius: 2px;
  }

  .orange-line {
    display: inline-block;
    width: 40px;
    height: 3px;
    background: var(--orange);
    vertical-align: middle;
    margin-right: 10px;
  }