/* =============================================
   SOPORTE TÉCNICO CSS - SH COMPANY SAS
   ============================================= */

/* -------------------- HERO SECTION -------------------- */
.hero-section {
     background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #1a252f 100%);
     padding: 6rem 0 4rem 0;
     position: relative;
     overflow: hidden;
     min-height: 70vh;
     display: flex;
     align-items: center;
}

.hero-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background:
          radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.2) 0%, transparent 50%),
          radial-gradient(circle at 80% 20%, rgba(155, 89, 182, 0.2) 0%, transparent 50%),
          radial-gradient(circle at 40% 80%, rgba(46, 204, 113, 0.2) 0%, transparent 50%);
     z-index: 1;
}

.hero-section::after {
     content: '';
     position: absolute;
     top: -50%;
     left: -50%;
     width: 200%;
     height: 200%;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
     animation: heroGrid 20s linear infinite;
     z-index: 1;
}

@keyframes heroGrid {
     0% {
          transform: translate(0, 0) rotate(0deg);
     }

     100% {
          transform: translate(-10px, -10px) rotate(360deg);
     }
}

.hero-content {
     position: relative;
     z-index: 2;
     animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
     0% {
          opacity: 0;
          transform: translateY(30px);
     }

     100% {
          opacity: 1;
          transform: translateY(0);
     }
}

.hero-icon {
     margin-bottom: 2rem;
     position: relative;
}

.hero-icon i {
     font-size: 4rem;
     color: #3498db;
     background: linear-gradient(135deg, #3498db, #2980b9);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     filter: drop-shadow(0 4px 8px rgba(52, 152, 219, 0.3));
     animation: heroIconPulse 2s ease-in-out infinite;
}

@keyframes heroIconPulse {

     0%,
     100% {
          transform: scale(1);
          filter: drop-shadow(0 4px 8px rgba(52, 152, 219, 0.3));
     }

     50% {
          transform: scale(1.1);
          filter: drop-shadow(0 6px 12px rgba(52, 152, 219, 0.5));
     }
}

.hero-title {
     font-size: 3.5rem;
     font-weight: 800;
     color: #ffffff;
     margin-bottom: 1.5rem;
     background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
     line-height: 1.2;
}

.hero-subtitle {
     font-size: 1.3rem;
     color: #bdc3c7;
     margin-bottom: 2rem;
     font-weight: 400;
     line-height: 1.6;
     max-width: 600px;
     margin-left: auto;
     margin-right: auto;
}

.hero-badge {
     display: inline-block;
     background: linear-gradient(135deg, #e74c3c, #c0392b);
     color: white;
     padding: 0.8rem 2rem;
     border-radius: 50px;
     font-weight: 600;
     font-size: 1rem;
     box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
     animation: heroBadgeFloat 3s ease-in-out infinite;
     border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes heroBadgeFloat {

     0%,
     100% {
          transform: translateY(0);
          box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
     }

     50% {
          transform: translateY(-5px);
          box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
     }
}

/* Responsive para Hero Section */
@media screen and (max-width: 768px) {
     .hero-section {
          padding: 4rem 0 3rem 0;
          min-height: 60vh;
     }

     .hero-icon i {
          font-size: 3rem;
     }

     .hero-title {
          font-size: 2.5rem;
          margin-bottom: 1rem;
     }

     .hero-subtitle {
          font-size: 1.1rem;
          margin-bottom: 1.5rem;
          padding: 0 1rem;
     }

     .hero-badge {
          padding: 0.6rem 1.5rem;
          font-size: 0.9rem;
     }
}

@media screen and (max-width: 576px) {
     .hero-section {
          padding: 3rem 0 2rem 0;
          min-height: 50vh;
     }

     .hero-icon i {
          font-size: 2.5rem;
     }

     .hero-title {
          font-size: 2rem;
     }

     .hero-subtitle {
          font-size: 1rem;
          padding: 0 0.5rem;
     }

     .hero-badge {
          padding: 0.5rem 1.2rem;
          font-size: 0.85rem;
     }
}

@media screen and (max-width: 480px) {
     .hero-title {
          font-size: 1.8rem;
     }

     .hero-subtitle {
          font-size: 0.9rem;
     }

     .hero-badge {
          padding: 0.4rem 1rem;
          font-size: 0.8rem;
     }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
     background: #f8f9fa;
     position: relative;
}

.contact-card {
     background: white;
     border-radius: 20px;
     padding: 3rem 2rem;
     text-align: center;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
     border: 1px solid rgba(242, 92, 5, 0.1);
     height: 100%;
}

.contact-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
     border-color: rgba(242, 92, 5, 0.3);
}

.contact-icon {
     width: 80px;
     height: 80px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 1.5rem;
     font-size: 2rem;
     color: white;
}

.whatsapp-card .contact-icon {
     background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.phone-card .contact-icon {
     background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.email-card .contact-icon {
     background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

.contact-card h4 {
     font-size: 1.5rem;
     font-weight: 700;
     margin-bottom: 1rem;
     color: #333;
}

.contact-card p {
     color: #666;
     margin-bottom: 1.5rem;
}

.contact-numbers .btn {
     display: block;
     width: 100%;
     font-weight: 600;
     border-radius: 50px;
     padding: 0.8rem 1.5rem;
     text-decoration: none;
     transition: all 0.3s ease;
}

.contact-numbers .btn:hover {
     transform: scale(1.02);
}

/* ===== FAQ SECTION ===== */
.faq-section {
     background: #1a1a1a;
}

.section-header h2 {
     font-size: 2.5rem;
     font-weight: 800;
     margin-bottom: 1rem;
}

.faq-item {
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(242, 92, 5, 0.2);
     border-radius: 15px;
     margin-bottom: 1rem;
     overflow: hidden;
}

.faq-item .accordion-button {
     background: transparent;
     color: white;
     border: none;
     padding: 1.5rem 2rem;
     font-size: 1.2rem;
     font-weight: 600;
     border-radius: 0;
}

.faq-item .accordion-button:not(.collapsed) {
     background: rgba(242, 92, 5, 0.1);
     color: #f25c05;
     box-shadow: none;
}

.faq-item .accordion-button::after {
     filter: brightness(0) invert(1);
}

.faq-item .accordion-button:not(.collapsed)::after {
     filter: brightness(0) saturate(100%) invert(41%) sepia(91%) saturate(1283%) hue-rotate(15deg) brightness(96%) contrast(93%);
}

.faq-item .accordion-body {
     background: rgba(0, 0, 0, 0.3);
     color: white;
     padding: 2rem;
}

.solution-steps h6 {
     color: #f25c05;
     font-size: 1.1rem;
     margin-bottom: 1rem;
}

.solution-steps ol {
     margin: 0;
     padding-left: 1.5rem;
}

.solution-steps li {
     margin-bottom: 0.8rem;
     line-height: 1.6;
}

.solution-steps code {
     background: rgba(242, 92, 5, 0.1);
     color: #f25c05;
     padding: 0.2rem 0.5rem;
     border-radius: 4px;
     font-family: monospace;
}

/* ===== SCHEDULE SECTION ===== */
.schedule-section {
     background: #f8f9fa;
}

.schedule-card {
     background: white;
     border-radius: 20px;
     padding: 3rem;
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
     border: 1px solid rgba(242, 92, 5, 0.1);
}

.schedule-header h3 {
     color: #333;
     font-size: 2rem;
     font-weight: 700;
}

.schedule-item {
     background: #f8f9fa;
     border-radius: 15px;
     padding: 2rem;
     height: 100%;
     border: 1px solid rgba(242, 92, 5, 0.1);
}

.schedule-item h5 {
     color: #f25c05;
     font-size: 1.3rem;
     font-weight: 700;
     margin-bottom: 1.5rem;
}

.time-slot {
     background: white;
     border-radius: 8px;
     padding: 1rem;
     margin-bottom: 0.8rem;
     border-left: 4px solid #f25c05;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.time-slot.emergency {
     border-left-color: #dc3545;
     background: rgba(220, 53, 69, 0.05);
}

.time-slot strong {
     color: #333;
}

/* ===== VISIT SECTION ===== */
.visit-section {
     background: #1a1a1a;
}

.visit-card {
     background: rgba(255, 255, 255, 0.05);
     border-radius: 20px;
     padding: 3rem;
     border: 1px solid rgba(242, 92, 5, 0.2);
}

.visit-header h3 {
     color: white;
     font-size: 2rem;
     font-weight: 700;
}

.visit-header p {
     color: rgba(255, 255, 255, 0.8);
     font-size: 1.1rem;
}

.visit-form .form-label {
     color: white;
     font-weight: 600;
     margin-bottom: 0.5rem;
}

.visit-form .form-control,
.visit-form .form-select {
     background: rgba(255, 255, 255, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.2);
     color: white;
     border-radius: 10px;
     padding: 0.8rem 1rem;
}

.visit-form .form-control:focus,
.visit-form .form-select:focus {
     background: rgba(255, 255, 255, 0.15);
     border-color: #f25c05;
     box-shadow: 0 0 0 0.2rem rgba(242, 92, 5, 0.25);
     color: white;
}

.visit-form .form-control::placeholder {
     color: rgba(255, 255, 255, 0.6);
}

.visit-form .form-select option {
     background: #1a1a1a;
     color: white;
}

.btn-orange {
     background: linear-gradient(135deg, #f25c05 0%, #ff8a47 100%);
     border: none;
     color: white;
     font-weight: 700;
     border-radius: 50px;
     padding: 1rem 3rem;
     font-size: 1.1rem;
     transition: all 0.3s ease;
     box-shadow: 0 10px 30px rgba(242, 92, 5, 0.3);
}

.btn-orange:hover {
     transform: translateY(-3px);
     box-shadow: 0 15px 40px rgba(242, 92, 5, 0.4);
     color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
     .hero-title {
          font-size: 2.5rem;
     }

     .hero-icon {
          width: 80px;
          height: 80px;
          font-size: 2rem;
     }

     .contact-card {
          padding: 2rem 1.5rem;
     }

     .schedule-card,
     .visit-card {
          padding: 2rem;
     }

     .faq-item .accordion-button {
          padding: 1rem 1.5rem;
          font-size: 1rem;
     }

     .faq-item .accordion-body {
          padding: 1.5rem;
     }
}

@media (max-width: 576px) {
     .hero-title {
          font-size: 2rem;
     }

     .hero-subtitle {
          font-size: 1.1rem;
     }

     .contact-card {
          padding: 1.5rem 1rem;
     }

     .schedule-item {
          padding: 1.5rem;
     }
}

/* -------------------- EQUIPO TÉCNICO -------------------- */
.team-section {
     position: relative;
     overflow: hidden;
}

.team-card {
     perspective: 1000px;
     height: 400px;
     margin-bottom: 2rem;
}

.card-inner {
     position: relative;
     width: 100%;
     height: 100%;
     text-align: center;
     transition: transform 0.6s;
     transform-style: preserve-3d;
     border-radius: 20px;
}

.team-card:hover .card-inner {
     transform: rotateY(180deg);
}

.card-front,
.card-back {
     position: absolute;
     width: 100%;
     height: 100%;
     backface-visibility: hidden;
     border-radius: 20px;
     padding: 2rem;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
}

.card-front {
     background: linear-gradient(135deg, #2c2c2e 0%, #1c1c1e 100%);
     color: white;
     border: 2px solid #f25c05;
}

.card-back {
     background: linear-gradient(135deg, #f25c05 0%, #e04503 100%);
     color: white;
     transform: rotateY(180deg);
     padding: 1.5rem;
}

.tech-avatar {
     position: relative;
     margin-bottom: 1.5rem;
}

.avatar-img {
     width: 120px;
     height: 120px;
     border-radius: 50%;
     object-fit: cover;
     border: 4px solid #f25c05;
     transition: transform 0.3s ease;
}

.avatar-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 120px;
     height: 120px;
     border-radius: 50%;
     background: rgba(242, 92, 5, 0.8);
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     transition: opacity 0.3s ease;
}

.team-card:hover .avatar-overlay {
     opacity: 1;
}

.avatar-overlay i {
     font-size: 2rem;
     color: white;
}

.tech-name {
     font-size: 1.2rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
     color: #f25c05;
}

.tech-role {
     font-size: 0.9rem;
     opacity: 0.8;
     margin-bottom: 1rem;
}

.tech-rating {
     display: flex;
     justify-content: center;
     gap: 0.2rem;
}

.tech-rating i {
     color: #ffd700;
     font-size: 0.9rem;
}

.tech-info h5 {
     font-size: 1.1rem;
     margin-bottom: 1rem;
     text-align: center;
}

.tech-info ul {
     list-style: none;
     padding: 0;
     margin: 0;
     text-align: left;
     flex-grow: 1;
}

.tech-info ul li {
     padding: 0.3rem 0;
     font-size: 0.85rem;
     line-height: 1.4;
}

.tech-contact {
     margin-top: auto;
     text-align: center;
}

.tech-contact .btn {
     padding: 0.5rem 1rem;
     font-size: 0.9rem;
     border-radius: 25px;
     font-weight: 600;
}

/* -------------------- RESPONSIVE PARA EQUIPO TÉCNICO -------------------- */
@media screen and (max-width: 768px) {
     .team-card {
          height: 350px;
          margin-bottom: 1.5rem;
     }

     .card-front,
     .card-back {
          padding: 1.5rem 1rem;
     }

     .avatar-img {
          width: 100px;
          height: 100px;
     }

     .avatar-overlay {
          width: 100px;
          height: 100px;
     }

     .avatar-overlay i {
          font-size: 1.5rem;
     }

     .tech-name {
          font-size: 1.1rem;
     }

     .tech-role {
          font-size: 0.85rem;
     }

     .tech-info h5 {
          font-size: 1rem;
          margin-bottom: 0.8rem;
     }

     .tech-info ul li {
          font-size: 0.8rem;
          padding: 0.25rem 0;
     }

     .tech-contact .btn {
          padding: 0.4rem 0.8rem;
          font-size: 0.8rem;
     }
}

@media screen and (max-width: 576px) {
     .team-card {
          height: 320px;
          margin-bottom: 1rem;
     }

     .card-front,
     .card-back {
          padding: 1rem 0.8rem;
     }

     .avatar-img {
          width: 80px;
          height: 80px;
          border-width: 3px;
     }

     .avatar-overlay {
          width: 80px;
          height: 80px;
     }

     .avatar-overlay i {
          font-size: 1.2rem;
     }

     .tech-name {
          font-size: 1rem;
          margin-bottom: 0.3rem;
     }

     .tech-role {
          font-size: 0.8rem;
          margin-bottom: 0.8rem;
     }

     .tech-info h5 {
          font-size: 0.9rem;
          margin-bottom: 0.6rem;
     }

     .tech-info ul li {
          font-size: 0.75rem;
          padding: 0.2rem 0;
     }

     .tech-contact .btn {
          padding: 0.35rem 0.7rem;
          font-size: 0.75rem;
     }

     /* Mejorar el flip en móviles */
     .team-card:hover .card-inner {
          transform: rotateY(180deg);
     }

     /* Alternativa: mostrar info al hacer tap en móviles */
     .team-card:active .card-inner {
          transform: rotateY(180deg);
     }
}

@media screen and (max-width: 480px) {
     .team-card {
          height: 300px;
     }

     .card-front,
     .card-back {
          padding: 0.8rem 0.6rem;
     }

     .avatar-img {
          width: 70px;
          height: 70px;
     }

     .avatar-overlay {
          width: 70px;
          height: 70px;
     }

     .tech-name {
          font-size: 0.9rem;
     }

     .tech-role {
          font-size: 0.75rem;
     }

     .tech-info ul li {
          font-size: 0.7rem;
     }
}

/* -------------------- STATS DEL EQUIPO -------------------- */
.team-stats {
     margin-top: 3rem;
     padding: 2rem;
     background: rgba(242, 92, 5, 0.1);
     border-radius: 20px;
     border: 2px solid rgba(242, 92, 5, 0.3);
}

.stat-item {
     padding: 1rem;
     text-align: center;
}

.stat-number {
     font-size: 2.5rem;
     font-weight: 800;
     color: #f25c05;
     margin-bottom: 0.5rem;
}

.stat-label {
     font-size: 0.9rem;
     color: #ccc;
     text-transform: uppercase;
     letter-spacing: 1px;
}

@media screen and (max-width: 576px) {
     .team-stats {
          margin-top: 2rem;
          padding: 1.5rem 1rem;
     }

     .stat-number {
          font-size: 2rem;
     }

     .stat-label {
          font-size: 0.8rem;
     }
}