/* Estilos específicos para páginas de servicios */
    .hero-servicio {
      position: relative;
      height: 75vh;
      display: flex;
      align-items: center;
      justify-content: center;

      background: url('./img/elaboracionherramientas2.jpg') center/cover no-repeat;
      overflow: hidden;
    }

    /* OVERLAY OSCURO PARA MEJORAR LEGIBILIDAD */
    .hero-servicio::after {
      content: "";
      position: absolute;
      inset: 0;

      background:
        linear-gradient(
          rgba(0, 0, 0, 0.35),
          rgba(0, 0, 0, 0.35)
        ),
        linear-gradient(
          rgba(233, 227, 213, 0.45),
          rgba(233, 227, 213, 0.45)
        );

      z-index: 1;
    }


   

    .hero-servicio {
      position: relative;
      height: 75vh;
      display: flex;
      align-items: center;
      justify-content: center;

      background: url('./img/consultoria.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      overflow: hidden;
    }


    .hero-servicio::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
      opacity: 0.4;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 900px;
      padding: 0 2rem;
      animation: fadeInUp 1s ease;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hero-content h1 {
      font-size: 4rem;
      color: #ffffff;
      margin: 0 0 1rem 0;
      font-weight: 700;
      letter-spacing: -1px;
    }

    .hero-content .subtitulo {
      font-size: 2rem;
      color: #5c4329;
      margin-bottom: 2rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .hero-content p {
      font-size: 1.2rem;
      color: #ffffff;
      line-height: 1.8;
      max-width: 700px;
      margin: 0 auto;
    }

    /* Grid de servicios */
    .servicios-grid {
      max-width: 1400px;
      margin: 6rem auto;
      padding: 0 2rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 2rem;
    }

    .servicio-card {
      background: #ffffff;
      border-radius: 12px;
      padding: 2.5rem;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      position: relative;
      overflow: hidden;
    }

    .servicio-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 0;
      background: linear-gradient(180deg, #cda434, #6b4e2e);
      transition: height 0.4s ease;
    }

    .servicio-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    }

    .servicio-card:hover::before {
      height: 100%;
    }

    .servicio-card h3 {
      font-size: 1.5rem;
      color: #3c2f2f;
      margin: 0 0 1rem 0;
      font-weight: 600;
    }

    .servicio-card p {
      font-size: 1rem;
      color: #6b6b6b;
      line-height: 1.7;
      margin: 0;
    }

    /* Categorías principales */
    .categoria-section {
      background: linear-gradient(to bottom, #f9f7f1 0%, #ffffff 100%);
      padding: 5rem 0;
      margin: 4rem 0;
    }

    .categoria-header {
      text-align: center;
      max-width: 800px;
      margin: 0 auto 4rem auto;
      padding: 0 2rem;
    }

    .categoria-header h2 {
      font-size: 2.8rem;
      color: #3c2f2f;
      margin: 0 0 1rem 0;
      font-weight: 700;
    }

    .categoria-header .line {
      width: 80px;
      height: 3px;
      background: linear-gradient(90deg, #cda434, #6b4e2e);
      margin: 0 auto 1.5rem auto;
    }

    .categoria-header p {
      font-size: 1.1rem;
      color: #6b6b6b;
      line-height: 1.8;
    }

    /* Lista de servicios detallados */
    .servicios-lista {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    .servicio-item {
      background: #ffffff;
      padding: 1.8rem 2.2rem;
      margin-bottom: 1rem;
      border-radius: 8px;
      border-left: 3px solid #e9e3d5;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .servicio-item:hover {
      border-left-color: #cda434;
      background: #fffaf2;
      transform: translateX(8px);
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }

    .servicio-item h4 {
      font-size: 1.2rem;
      color: #3c2f2f;
      margin: 0;
      font-weight: 600;
    }

    /* CTA Section */
    .cta-section {
      background: linear-gradient(135deg, #6b4e2e 0%, #4a3a28 100%);
      padding: 5rem 2rem;
      text-align: center;
      margin-top: 6rem;
    }

    .cta-section h2 {
      font-size: 2.5rem;
      color: #ffffff;
      margin: 0 0 1rem 0;
    }

    .cta-section p {
      font-size: 1.2rem;
      color: #e9e3d5;
      margin-bottom: 2rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .cta-section .btn {
      display: inline-block;
      background-color: #cda434;
      color: #ffffff;
      padding: 1rem 2.5rem;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1.1rem;
      transition: all 0.3s ease;
      border: 2px solid #cda434;
    }

    .cta-section .btn:hover {
      background-color: transparent;
      border-color: #ffffff;
      transform: scale(1.05);
    }

    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 2.5rem;
      }

      .servicios-grid {
        grid-template-columns: 1fr;
        margin: 3rem auto;
      }

      .categoria-header h2 {
        font-size: 2rem;
      }
    }

    /* Indicador de ejemplos */
    .ejemplo-icon {
      width: 28px;
      height: 28px;
      background: linear-gradient(135deg, #cda434, #6b4e2e);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 0.85rem;
      font-weight: bold;
      transition: transform 0.3s ease;
      flex-shrink: 0;
      margin-left: 1rem;
    }

    .servicio-item.has-examples:hover .ejemplo-icon {
      transform: rotate(180deg) scale(1.1);
    }

    /* === DROPDOWN DE EJEMPLOS === */
    .ejemplos-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      background: #f9f7f1;
    }

    .servicio-item.has-examples:hover .ejemplos-content {
      max-height: 800px;
    }

    .ejemplos-wrapper {
      padding: 2rem 2.2rem;
      border-top: 1px solid #e9e3d5;
    }

    .ejemplos-label {
      font-size: 0.85rem;
      font-weight: 600;
      color: #6b4e2e;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 1.5rem;
      display: block;
    }

    /* Grid de dos columnas para ejemplos */
    .ejemplo-row {
      display: grid;
      grid-template-columns: 200px 1fr;
      gap: 2rem;
      padding: 1.2rem 0;
      border-bottom: 1px solid rgba(201, 164, 52, 0.2);
    }

    .ejemplo-row:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .ejemplo-row:first-child {
      padding-top: 0;
    }

    /* Columna izquierda: título del ejemplo */
    .ejemplo-titulo {
      font-size: 1rem;
      font-weight: 600;
      color: #6b4e2e;
      line-height: 1.4;
    }

    /* Columna derecha: descripción del ejemplo */
    .ejemplo-descripcion {
      font-size: 0.95rem;
      color: #5c4329;
      line-height: 1.6;
    }

    /* === RESPONSIVE === */
    @media (max-width: 768px) {
      .categoria-header h2 {
        font-size: 2rem;
      }

      .ejemplo-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
      }

      .ejemplo-titulo {
        margin-bottom: 0.3rem;
      }

      .servicio-item:hover .servicio-header {
        transform: translateX(4px);
      }
    }