@media (min-width: 769px) {
        html {
            zoom: 0.9;
        }
    }

    body {
    line-height: 1.6;
}

/* Para el header - OVERRIDE específico */
.capas-header,
.capas-header * {
    line-height: normal !important;
}

  /* Estilos para la sección Hero */

  /* Estilo para el botón de regreso */
  .back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
  }

  .btn-back {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
  }

  .btn-back:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }

  .btn-back i {
    font-size: 1.1rem;
  }

  /* Animaciones del Hero */

  /* Estilos responsivos */

  @media (max-width: 576px) {

    .back-button {
      top: 15px;
      left: 15px;
    }

    .btn-back {
      padding: 6px 12px;
      font-size: 0.9rem;
    }
  }

:root {
    --success-green: #28a745;
    --warning-orange: #fd7e14;
}

.ponte-mano-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.ponte-mano-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23044c8c' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ponte-mano-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Sección de imagen con decoración */
.image-section {
    position: relative;
}

/* Decoración superior */
.decoration-top {
    position: relative;
    margin-bottom: 30px;
}

.floating-elements {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
}

.float-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(4, 164, 220, 0.2), rgba(116, 180, 44, 0.2));
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 20%;
    animation-delay: 0s;
}

.circle-2 {
    width: 40px;
    height: 40px;
    top: 40px;
    right: 15%;
    animation-delay: 2s;
}

.float-star {
    position: absolute;
    color: var(--light-green);
    font-size: 1.5rem;
    animation: sparkle 4s ease-in-out infinite;
}

.star-1 {
    top: 0px;
    left: 10%;
    animation-delay: 1s;
}

.star-2 {
    top: 30px;
    right: 25%;
    color: var(--warning-orange);
    animation-delay: 3s;
}

.top-badge {
    background: linear-gradient(135deg, var(--warning-orange), #ff8c42);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(253, 126, 20, 0.3);
    animation: pulse-badge 3s ease infinite;
    margin-left: 20px;
}

.top-badge i {
    font-size: 1.2rem;
}

/* Carrusel de imágenes */
.image-carousel {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
    z-index: 5;
}

.image-carousel:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Decoración inferior */
.decoration-bottom {
    margin-top: 30px;
    position: relative;
}

.bottom-stats {
    background: white;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(4, 164, 220, 0.1);
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--secondary-blue), transparent);
    margin: 0 15px;
}

/* Contenedor para logo personalizado */
.custom-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.logo-placeholder {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(4, 76, 140, 0.1), rgba(116, 180, 44, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid rgba(4, 164, 220, 0.2);
    position: relative;
    overflow: hidden;
}

.logo-placeholder:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-blue);
}

.logo-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.logo-placeholder:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.custom-logo {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-placeholder:hover .custom-logo {
    transform: scale(1.1);
}

/* Si usas un ícono temporal en lugar de imagen */
.logo-placeholder i {
    font-size: 3rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.logo-placeholder:hover i {
    color: var(--secondary-blue);
    transform: scale(1.2);
}

/* Animaciones */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 1;
    }
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(253, 126, 20, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(253, 126, 20, 0.4);
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-carousel:hover .carousel-slide.active img {
    transform: scale(1.05);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.indicator.active {
    background: var(--light-green);
    transform: scale(1.2);
}

/* Contenido del programa */
.ponte-mano-info {
    padding: 20px 0;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--light-green), var(--success-green));
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(116, 180, 44, 0.3);
}

.ponte-mano-info h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.5;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.info-card.frequency {
    border-left-color: var(--secondary-blue);
}

.info-card.schedule {
    border-left-color: var(--warning-orange);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(4, 76, 140, 0.1), rgba(4, 164, 220, 0.1));
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.frequency .info-icon {
    background: linear-gradient(135deg, rgba(4, 164, 220, 0.1), rgba(4, 164, 220, 0.2));
    color: var(--secondary-blue);
}

.schedule .info-icon {
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.1), rgba(253, 126, 20, 0.2));
    color: var(--warning-orange);
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.info-content p {
    margin: 0;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.benefits {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--light-green);
}

.benefits h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits h4 i {
    color: var(--success-green);
}

.benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits li {
    padding: 8px 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 25px;
}

.benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--light-green);
    font-weight: bold;
}

.social-follow {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--secondary-blue);
}

.social-follow h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-follow h4 i {
    color: var(--warning-orange);
}

.social-follow p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-btn.facebook:hover {
    background: #0a5dc3;
    transform: translateY(-2px);
    color: white;
}

.social-btn.whatsapp {
    background: #25d366;
    color: white;
}

.social-btn.whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    color: white;
}

.alert-notice {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffeaa7;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(253, 126, 20, 0.2);
}

.alert-notice i {
    color: var(--warning-orange);
    font-size: 1.5rem;
    margin-top: 2px;
}

.alert-notice p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .ponte-mano-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .image-carousel {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }

    .image-carousel:hover {
        transform: scale(1.02);
    }

    .floating-elements {
        display: none;
    }

    .top-badge {
        margin-left: 0;
    }

    .bottom-stats {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .stat-divider {
        width: 60px;
        height: 2px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .ponte-mano-section {
        padding: 40px 0;
    }

    .ponte-mano-info h2 {
        font-size: 2.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .social-buttons {
        flex-direction: column;
    }

    .carousel-container {
        height: 300px;
    }

    .decoration-top {
        margin-bottom: 20px;
    }

    .decoration-bottom {
        margin-top: 20px;
    }

    .top-badge {
        font-size: 0.8rem;
        padding: 10px 16px;
    }
}

@media (max-width: 576px) {
    .ponte-mano-info h2 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .info-card {
        padding: 15px;
    }

    .benefits, .social-follow {
        padding: 20px;
    }

    .stat-item {
        gap: 8px;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .bottom-stats {
        padding: 15px;
    }

    .custom-logo-container {
        margin-top: 20px;
    }

    .logo-placeholder {
        width: 140px;
        height: 140px;
    }

    .logo-placeholder i {
        font-size: 2.5rem;
    }
}

  /* Botón de ayuda telefónica */
.capas-btn-service-phone {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.capas-btn-service-phone:hover {
  background: linear-gradient(135deg, #0056b3, #003d82);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.4);
  color: white;
  text-decoration: none;
}

.capas-btn-service-phone i {
  font-size: 1.1rem;
}

/* Botón de WhatsApp */
.capas-btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.capas-btn-whatsapp:hover {
  background: linear-gradient(135deg, #128c7e, #0f6f5e);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  color: white;
  text-decoration: none;
}

.capas-btn-whatsapp i {
  font-size: 1.1rem;
}

/* Grupo de botones mejorado */
.capas-button-group {
  flex-wrap: wrap;
  margin-top: 15px;
}

/* Responsive para botones */
@media (max-width: 768px) {

  .capas-btn-service-phone,
  .capas-btn-whatsapp {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}
.capas-additional-services {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
}

.capas-additional-services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23044c8c' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 100px;
  pointer-events: none;
}

.capas-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.capas-section-header h2 {
  color: #044c8c;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.capas-section-header h2:after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #74b42c;
  border-radius: 2px;
}

.capas-section-header p {
  color: #444444;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.capas-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.capas-service-item {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 30px 25px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.capas-service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(4, 164, 220, 0.2);
}

.capas-service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(4, 76, 140, 0.1), rgba(4, 164, 220, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.capas-service-icon i {
  font-size: 2rem;
  color: #044c8c;
  transition: all 0.3s ease;
}

.capas-service-item:hover .capas-service-icon {
  background: linear-gradient(135deg, #044c8c, #04a4dc);
  transform: rotate(5deg) scale(1.1);
}

.capas-service-item:hover .capas-service-icon i {
  color: white;
}

.capas-service-item h3 {
  color: #044c8c;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.capas-service-item p {
  color: #444444;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

.capas-service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.capas-service-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.capas-service-details ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.capas-service-details ul li i {
  color: #74b42c;
  margin-right: 10px;
  font-size: 1rem;
}

/* Grupo de botones */
.capas-button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.capas-btn-service {
  display: inline-block;
  background-color: #74b42c;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(116, 180, 44, 0.2);
  text-align: center;
}

.capas-btn-service:hover {
  background-color: #044c8c;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(4, 76, 140, 0.3);
  color: white;
}

/* Botón alternativo para instrucciones */

/* Botón completamente rosa */
.capas-btn-full-pink {
  display: inline-block;
  background-color: #E83E8C;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(232, 62, 140, 0.2);
  text-align: center;
  border: none;
}

.capas-btn-full-pink:hover {
  background-color: #d6246f;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(232, 62, 140, 0.3);
}

/* Botón de teléfono */
.capas-btn-service-alt-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(4, 76, 140, 0.1);
  color: #044c8c;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.capas-btn-service-alt-phone i {
  font-size: 1.1rem;
}

.capas-btn-service-alt-phone:hover {
  background-color: #044c8c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(4, 76, 140, 0.2);
}

.capas-toggle-details {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #04a4dc;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed rgba(4, 76, 140, 0.1);
  transition: all 0.3s ease;
}

.capas-toggle-details span {
  margin-right: 5px;
}

.capas-toggle-details i {
  transition: transform 0.3s ease;
}

.capas-toggle-details.active i {
  transform: rotate(180deg);
}

.capas-toggle-details:hover {
  color: #044c8c;
}

/* Animación de carga */
@keyframes capasFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-capas-aos="fade-up"] {
  animation: capasFadeInUp 0.6s ease forwards;
  opacity: 0;
}

[data-capas-aos-delay="200"] {
  animation-delay: 0.2s;
}

/* Responsive */
@media (max-width: 991px) {
  .capas-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .capas-additional-services {
    padding: 60px 0;
  }

  .capas-section-header h2 {
    font-size: 2rem;
  }

  .capas-services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .capas-additional-services {
    padding: 50px 0;
  }

  .capas-service-item {
    padding: 25px 20px;
  }

  .capas-service-icon {
    width: 60px;
    height: 60px;
  }

  .capas-service-icon i {
    font-size: 1.6rem;
  }

  .capas-service-item h3 {
    font-size: 1.3rem;
  }

  .capas-section-header h2 {
    font-size: 1.8rem;
  }
}

  /* Estilos para el botón de regreso dentro de la sección */
  .return-button-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 10px;
  }

  .return-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(4, 76, 140, 0.2);
    border: 2px solid transparent;
  }

  .return-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  .return-button:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(4, 76, 140, 0.3);
  }

  .return-button:hover i {
    transform: translateX(-5px);
  }

  /* Estilos responsivos para el botón */
  @media (max-width: 576px) {
    .return-button {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
  }

  /* Estilos generales de la sección */

  /* Estilos para las pestañas */

  .services-tabs .nav-item {
      position: relative;
  }

  /* Estilos para las definiciones en las pestañas */
  .tab-definition {
      position: absolute;
      top: 100%;
      left: 0;
      width: 250px;
      background-color: rgba(255, 255, 255, 0.95);
      border-radius: 6px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      padding: 10px;
      margin-top: 10px;
      font-size: 0.85rem;
      color: var(--dark-gray);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 10;
      border-left: 3px solid var(--light-green);
  }

  .tab-definition p {
      margin: 0;
      display: flex;
      align-items: center;
      gap: 6px;
  }

  .tab-definition i {
      color: var(--primary-blue);
      font-size: 1rem;
  }

  .nav-item:hover .tab-definition {
      opacity: 1;
      visibility: visible;
  }

  /* Estilos para el contenido de las pestañas */

  .service-details h3 {
      display: flex;
      align-items: center;
  }

  .service-emoji {
      font-size: 1.5rem;
      margin-left: 8px;
      display: inline-block;
      vertical-align: middle;
  }

  .service-subtitle {
      background-color: rgba(0, 0, 0, 0.03);
      border-left: 3px solid var(--light-green);
      padding: 8px 12px;
      margin-bottom: 15px;
      border-radius: 4px;
      font-size: 0.95rem;
      color: var(--dark-gray);
      font-style: italic;
  }

  /* Estilos para la información adicional */

  /* Estilos responsivos */

  @media (max-width: 767px) {

      .tab-definition {
          width: 200px;
      }
  }

  @media (max-width: 575px) {

      .tab-definition {
          position: static;
          width: 100%;
          margin-top: 5px;
          margin-bottom: 10px;
          opacity: 1;
          visibility: visible;
          display: none;
      }

      .nav-item.active .tab-definition {
          display: block;
      }

      .service-subtitle {
          font-size: 0.9rem;
      }
  }

/* Estilos para el botón flotante de WhatsApp - Watsi */
/* Botón flotante principal */
.watsi__button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.watsi__button.watsi-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.watsi__button.watsi__button--hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    pointer-events: none;
}

.watsi__button__open {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1976d2 0%, #4caf50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.watsi__button:hover .watsi__button__open {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1565c0 0%, #388e3c 100%);
    box-shadow: 0 6px 25px rgba(21, 101, 192, 0.6);
}

.watsi__button__sendtext {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1565c0 0%, #388e3c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    user-select: none;
}

.watsi__button:hover .watsi__button__sendtext {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(10px);
}

.watsi__button__sendtext::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 8px solid #1565c0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.watsi__button__send {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.watsi__button__send i {
    font-size: 26px;
    color: white;
    transition: all 0.3s ease;
    line-height: 1;
}

.watsi__tooltip {
    position: absolute;
    bottom: 75px;
    left: 0;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    user-select: none;
}

.watsi__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
}

.watsi__button:hover .watsi__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Chat box */
.watsi__box {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 350px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transform-origin: bottom left;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    overflow: hidden;
}

.watsi__box.watsi__box--show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.watsi__header {
    background: linear-gradient(135deg, #1565c0 0%, #00695c 100%);
    padding: 20px;
    position: relative;
    color: white;
}

.watsi__powered {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

.watsi__powered svg {
    width: 60px;
    height: 12px;
    fill: white;
}

.watsi__close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.watsi__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.watsi__close::before,
.watsi__close::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: white;
    border-radius: 1px;
}

.watsi__close::before {
    transform: rotate(45deg);
}

.watsi__close::after {
    transform: rotate(-45deg);
}

.watsi__box__scroll {
    max-height: 300px;
    overflow-y: auto;
}

.watsi__box__content {
    padding: 25px;
}

.watsi__message {
    background: linear-gradient(135deg, #e3f2fd 0%, #e0f2f1 100%);
    padding: 18px;
    border-radius: 15px;
    border-left: 4px solid #1e88e5;
    font-size: 16px;
    line-height: 1.5;
    color: #0d47a1;
    position: relative;
    animation: watsiFadeInMessage 0.5s ease-out;
}

@keyframes watsiFadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.watsi__message::before {
    content: '💬';
    position: absolute;
    top: -8px;
    left: 15px;
    background: #1e88e5;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Botón de acción en el chat */
.watsi__action {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
    display: flex;
    gap: 10px;
}

.watsi__action__button {
    flex: 1;
    background: linear-gradient(135deg, #1e88e5 0%, #26a69a 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    animation: watsiGentlePulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.watsi__action__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: watsiShimmer 2.5s infinite;
}

.watsi__action__button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #00695c 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.4);
    animation-play-state: paused;
}

.watsi__action__button--blue {
    background: #2196f3;
    animation-delay: 1.5s;
}

.watsi__action__button--blue::before {
    animation-delay: 1.2s;
}

.watsi__action__button--blue:hover {
    background: #1976d2;
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
}

@keyframes watsiGentlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }
}

@keyframes watsiShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Animaciones */
@keyframes watsiPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(30, 136, 229, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0);
    }
}

.watsi__button__open {
    animation: watsiPulse 2s infinite;
}

/* Responsive */
@media (max-width: 480px) {
    .watsi__box {
        width: calc(100vw - 20px);
        left: 10px;
        bottom: 15px;
    }

    .watsi__button {
        bottom: 15px;
        left: 15px;
    }

    .watsi__action {
        flex-direction: column;
    }

    .watsi__action__button {
        font-size: 16px;
        padding: 12px 20px;
    }
}

/* Ocultar en dispositivos móviles si deseas */
@media (max-width: 768px) {
    .watsi__button,
    .watsi__box {
        display: none !important;
    }
}

:root {
  /* Colores del Hero (originales) */
  --primary-blue: #044c8c;
  --secondary-blue: #04a4dc;
  --dark-blue: #044090;
  --medium-blue: #3a74a6;
  --light-green: #74b42c;
  --medium-green: #7cbc34;
  --dark-green: #307c68;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e1e5eb;
  --dark-gray: #444444;
}

/* Estilos para la sección Hero */
.modern-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  padding: 80px 0 80px;
  overflow: hidden;
}

.modern-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-text-container {
  width: 55%;
  padding-right: 40px;
}

.modern-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modern-hero h1 span {
  display: inline;
  color: var(--light-green);
  margin-left: 5px;
}

.modern-hero p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
  max-width: 600px;
}

.hero-info {
  display: inline-block;
  background: rgba(116, 180, 44, 0.2);
  border-left: 4px solid var(--light-green);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-image-container {
  width: 45%;
  position: relative;
}

.hero-image-circle {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 6px solid rgba(255, 255, 255, 0.2);
  animation: pulse 6s infinite alternate;
}

.hero-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--light-green);
  color: white;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: rotate(-15deg);
  animation: rotate 10s infinite linear;
}

.hero-badge span:first-child {
  font-size: 1.2rem;
}

.hero-badge span:last-child {
  font-size: 0.9rem;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

/* Animaciones del Hero */
@keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.05);
  }
  100% {
      transform: scale(1);
  }
}

@keyframes rotate {
  0% {
      transform: rotate(-15deg);
  }
  50% {
      transform: rotate(5deg);
  }
  100% {
      transform: rotate(-15deg);
  }
}

/* Estilos para la sección de Servicios */
.services-section {
  padding: 80px 0;
  background-color: var(--light-gray);
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 40px;
}

.services-header h2 {
  color: var(--primary-blue);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.services-header h2:after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--light-green);
  border-radius: 2px;
}

.services-header p {
  color: var(--dark-gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Estilos para las pestañas */
.services-tabs {
  border-bottom: none;
  justify-content: center;
  margin-bottom: 30px;
}

.services-tabs .nav-link {
  border: none;
  color: var(--dark-gray);
  font-weight: 600;

  padding: 12px 20px;
  border-radius: 30px;
  margin: 0 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-tabs .nav-link i {
  font-size: 1.2rem;
}

.services-tabs .nav-link:hover {
  background-color: rgba(4, 76, 140, 0.1);
  color: var(--primary-blue);
}

.services-tabs .nav-link.active {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(4, 76, 140, 0.3);
}

/* Estilos para el contenido de las pestañas */
.services-content {
  margin-top: 20px;
}

.service-card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  max-height: 400px;
}

.service-details {
  padding: 30px;
}

.service-details h3 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.service-details h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--light-green);
  border-radius: 1.5px;
}

.service-details p {
  color: var(--dark-gray);
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  margin-top: 20px;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature i {
  color: var(--light-green);
  font-size: 1.2rem;
  margin-right: 10px;
}

.feature span {
  font-size: 1rem;
  color: var(--dark-gray);
}

/* Estilos para la información adicional */
.service-info {
  padding: 30px;
  background-color: rgba(4, 76, 140, 0.05);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.service-info h4 {
  color: var(--dark-blue);
  font-size: 1.4rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-info h4 i {
  color: var(--primary-blue);
}

.service-info p {
  color: var(--dark-gray);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-data {
  margin-top: 30px;
  margin-bottom: 30px;
}

.data-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.data-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.data-card i {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
  display: block;
}

.data-card h5 {
  color: var(--dark-blue);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.data-card p {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin: 0;
}

.service-contact {
  background-color: var(--white);
  border-radius: 8px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-contact i {
  font-size: 1.5rem;
  color: var(--primary-blue);
}

.service-contact p {
  margin: 0;
  font-size: 0.95rem;
}

/* Estilos responsivos */
@media (max-width: 1200px) {
  .hero-image-circle {
      width: 400px;
      height: 400px;
  }
}

@media (max-width: 991px) {
  .modern-hero-content {
      flex-direction: column;
      text-align: center;
  }

  .hero-text-container, .hero-image-container {
      width: 100%;
      padding-right: 0;
  }

  .hero-text-container {
      margin-bottom: 50px;
  }

  .modern-hero p {
      margin: 0 auto 40px;
  }

  .hero-image-circle {
      margin: 0 auto;
      width: 350px;
      height: 350px;
  }

  .hero-badge {
      left: 50%;
      margin-left: -150px;
  }

  .service-details {
      padding: 30px 20px;
  }

  .service-image {
      max-height: 350px;
      margin: 30px auto 0;
      display: block;
  }
}

@media (max-width: 767px) {
  .modern-hero h1 {
      font-size: 3rem;
  }

  .modern-hero p {
      font-size: 1.2rem;
  }

  .hero-image-circle {
      width: 300px;
      height: 300px;
  }

  .services-header h2 {
      font-size: 2rem;
  }

  .services-tabs .nav-link {
      padding: 10px 15px;
      font-size: 0.9rem;
  }

  .service-details h3 {
      font-size: 1.5rem;
  }

  .service-details p {
      font-size: 1rem;
  }

  .data-card {
      margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .modern-hero {
      padding: 80px 0 120px;
  }

  .modern-hero h1 {
      font-size: 2.5rem;
  }

  .hero-image-circle {
      width: 250px;
      height: 250px;
  }

  .hero-badge {
      width: 100px;
      height: 100px;
      bottom: 10px;
      margin-left: -120px;
  }

  .services-tabs {
      flex-direction: column;
      gap: 10px;
  }

  .services-tabs .nav-item {
      width: 100%;
  }

  .services-tabs .nav-link {
      margin: 0;
      justify-content: center;
  }
}

/* Estilos para el botón de volver arriba con ondas sutiles y periódicas (mismo diseño, nuevo nombre) */
.back-to-top-pulse {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(4, 76, 140, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 99;
}

.back-to-top-pulse svg {
    transition: transform 0.3s ease;
}

.back-to-top-pulse:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    box-shadow: 0 6px 20px rgba(4, 76, 140, 0.4);
    transform: translateY(0) scale(1.05);
}

.back-to-top-pulse:hover svg {
    transform: translateY(-3px);
}

.back-to-top-pulse.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ondas más sutiles y periódicas */
.back-to-top-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--secondary-blue);
    opacity: 0;
    z-index: -1;
    animation: subtle-ripple 4s 2s ease-out infinite;
}

@keyframes subtle-ripple {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    15% {
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Brillo periódico para el botón */
.back-to-top-pulse.visible {
    animation: subtle-glow 6s ease infinite;
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(4, 76, 140, 0.3);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(4, 164, 220, 0.5);
    }
}

/* Ajustes responsivos */
@media screen and (max-width: 768px) {
    .back-to-top-pulse {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    .back-to-top-pulse {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

    .facebook-news-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: #1877f2;
        color: white;
        padding: 10px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        width: 100%;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
    }

    .facebook-news-btn:hover {
        background: #0a5dc3;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(24, 119, 242, 0.4);
        color: white;
    }

    .facebook-news-btn i {
        font-size: 1.2rem;
    }

    .newsletter-form {
        margin-top: 15px;
    }

/* ===== Cambios de la revisión ===== */

/* 3. "Nuestros Servicios" ya cierra antes de Ponte a Mano: se conserva el mismo espacio y fondo de antes */
.services-section { padding-bottom: 0; }
.servicios-regreso { background-color: var(--light-gray); padding-bottom: 80px; }

/* 21. Al entrar con enlace directo, el encabezado fijo no tapa las pestañas */
#servicesTab { scroll-margin-top: 100px; }

/* 12. Ícono de "estás aquí" en el menú */
.capas-dropdown-item .icono-aqui { width: 1em; height: 1em; vertical-align: -0.125em; }

/* 19. Teléfonos que marcan al tocarlos: se ven igual */
a.tel { color: inherit; text-decoration: none; }
a.tel:hover { text-decoration: underline; }
@media (hover: none) { a.tel { text-decoration: underline dotted; text-underline-offset: 3px; } }

/* 6. Se ve cuál "Ver detalles" tiene el foco con teclado */
.capas-toggle-details:focus-visible { outline: 3px solid #04a4dc; outline-offset: 4px; border-radius: 6px; }

/* 20. Servicios Adicionales en 2x2 (antes quedaban 3 arriba y 1 sola abajo) */
@media (min-width: 992px) {
    .capas-services-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
}

/* 22. Carrusel: puntos como botones (se ven igual) y flechas */
button.indicator { padding: 0; appearance: none; -webkit-appearance: none; }
.indicator:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.carrusel-flecha {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 40px; height: 40px; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, 0.85); color: var(--primary-blue); font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); opacity: 0; transition: opacity 0.3s ease, background 0.3s ease;
}
.carrusel-flecha.anterior { left: 12px; }
.carrusel-flecha.siguiente { right: 12px; }
.image-carousel:hover .carrusel-flecha, .carrusel-flecha:focus-visible { opacity: 1; }
.carrusel-flecha:hover { background: #fff; }
@media (hover: none) { .carrusel-flecha { opacity: 1; width: 36px; height: 36px; } }

/* 23. ¿Cuánto debo? */
.btn-cuanto-debo {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; padding: 10px 18px;
    background: var(--primary-blue); color: #fff; border-radius: 25px; font-weight: 600; font-size: 0.9rem;
    text-decoration: none; box-shadow: 0 4px 12px rgba(4, 76, 140, 0.2); transition: all 0.3s ease;
}
.btn-cuanto-debo:hover { background: var(--light-green); color: #fff; transform: translateY(-2px); }

/* 10. Animaciones de adorno: en pausa fuera de pantalla y apagadas si el celular pide menos movimiento */
.anim-pausada .float-circle, .anim-pausada .float-star, .anim-pausada .top-badge,
.anim-pausada .hero-image-circle, .anim-pausada .hero-badge { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
    .float-circle, .float-star, .top-badge, .hero-image-circle, .hero-badge,
    .watsi__button__open, .watsi__action__button, .watsi__action__button::before,
    .back-to-top-pulse::before, .back-to-top-pulse.visible, .capas-bubble { animation: none !important; }
}
