/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #e8f5e8;
    padding-top: 80px; /* Espacio para el menú fijo */
}

/* Menú de navegación */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 8px;
}

.logo-text {
    color: #2e7d32;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.1);
}

.nav-cta-button {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.nav-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-container {
        height: 70px;
        padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .logo-text {
        display: none;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .nav-cta-button {
        padding: 10px 16px;
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
    }
}

/* Sección de contacto */
.contacto-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contacto-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

@media (max-width: 480px) {
    .contacto-info {
        grid-template-columns: 1fr;
    }
}

.contacto-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #2e7d32;
}

.contacto-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.contacto-item h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contacto-item p {
    margin: 0;
    line-height: 1.6;
}

.contacto-item a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contacto-item a:hover {
    color: #1b5e20;
    text-decoration: underline;
}

.maps-link {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: #2e7d32;
    color: white !important;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.maps-link:hover {
    background: #1b5e20;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.horarios-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    border-left: 4px solid #388e3c;
}

.horarios-info h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.horario-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.horario-item:last-child {
    border-bottom: none;
}

.horario-item span:first-child {
    font-weight: 500;
    color: #2c3e50;
}

.horario-item span:last-child {
    color: #2e7d32;
    font-weight: 600;
}

@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contacto-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contacto-item {
        padding: 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contacto-section {
        padding: 20px 15px;
    }
}

/* Header y Hero Section */
.hero-section {
    background-image: url('imagenes/tecnico-arreglando-computador.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('imagenes/tecnico-arreglando-computador.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-section > * {
    position: relative;
    z-index: 3;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Botones CTA */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin: 10px;
}

.cta-button:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.cta-button::before {
    content: '';
    width: 1.2em;
    height: 1.2em;
    background-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" role="img" height="1em" width="1em" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Iconos de confianza */
.trust-icons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-icons span {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Contenedor principal */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Secciones */
section {
    margin: 60px 0;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2e7d32, #388e3c);
    border-radius: 2px;
}

/* Grid de servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #2e7d32;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05) 0%, rgba(56, 142, 60, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Artículos de problemas comunes */
article {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
}

article h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

article p {
    margin-bottom: 10px;
    color: #555;
}

article strong {
    color: #2c3e50;
}

/* Tabla de precios */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

thead {
    background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%);
    color: white;
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    font-weight: 600;
    font-size: 1.1rem;
}

tbody tr:hover {
    background: #f8f9fa;
}

tbody tr:last-child td {
    border-bottom: none;
}

small {
    color: #666;
    font-style: italic;
    display: block;
    margin-top: 15px;
}

/* Lista de beneficios */
ul {
    list-style: none;
    margin: 30px 0;
}

ul li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

ul li:last-child {
    border-bottom: none;
}

/* FAQ Section */
details {
    margin: 20px 0;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

summary {
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    transition: background 0.3s ease;
}

summary:hover {
    background: #e9ecef;
}

details[open] summary {
    background: #2e7d32;
    color: white;
}

details p {
    padding: 20px;
    margin: 0;
    background: white;
    color: #555;
    line-height: 1.6;
}

/* CTA Final */
.final-cta {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
}

.final-cta h2::after {
    background: rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 50px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: #ecf0f1;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 10px;
    color: #bdc3c7;
}

.footer-section a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #5dade2;
}

.copy-right {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive Design para Tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .proceso-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding: 0 30px;
    }
    
    .proceso-paso {
        padding: 40px 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .servicios-especializados-grid {
        gap: 15px;
        padding: 20px 30px;
    }
    
    .servicio-especializado-button {
        min-width: 110px;
        padding: 22px 18px;
        font-size: 0.85rem;
    }
    
    .hero-section {
        padding: 60px 30px;
    }
    
    section {
        padding: 35px 30px;
    }
    
    /* Footer específico para tablets */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 20px;
    }
    
    .footer-section {
        text-align: left;
        padding: 0 10px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }
    
    .footer-section p {
        font-size: 0.95rem;
        margin-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-section a {
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: inline-block;
        max-width: 100%;
    }
    
    /* Email largo en tablets */
    .footer-section a[href^="mailto:"] {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    footer {
        padding: 40px 20px 20px;
    }
}

/* Responsive Design para Móviles */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .trust-icons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 20px;
        margin: 30px 0;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    th, td {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
        padding: 0 10px;
    }
    
    .footer-section {
        padding: 0 5px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .footer-section a {
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: inline-block;
        max-width: 100%;
    }
    
    /* Específico para el email largo */
    .footer-section a[href^="mailto:"] {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    footer {
        padding: 30px 15px 15px;
    }
    
    /* Responsive para sección Cómo Funciona */
    #como-funciona {
        padding: 50px 20px;
        margin: 20px 0;
    }
    
    #como-funciona h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .proceso-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    
    .proceso-paso {
        padding: 30px 20px;
        margin-bottom: 15px;
    }
    
    .paso-icono {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }
    
    .proceso-paso h3 {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }
    
    .proceso-paso p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 10px;
    }
    
    .nav-menu {
        top: 60px;
        padding: 15px;
    }
    
    .hero-section {
        padding: 40px 15px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-section p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 8px;
    }
    
    .trust-icons {
        flex-direction: column;
        gap: 10px;
        margin-top: 30px;
    }
    
    .trust-icons span {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    main {
        padding: 0 10px;
    }
    
    section {
        padding: 25px 15px;
        margin: 15px 0;
    }
    
    section h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    /* Responsive móvil para sección Cómo Funciona */
    #como-funciona {
        padding: 30px 15px;
        margin: 15px 0;
    }
    
    #como-funciona h2 {
        font-size: 1.7rem;
        margin-bottom: 30px;
    }
    
    .proceso-grid {
        gap: 20px;
        padding: 0;
        grid-template-columns: 1fr;
    }
    
    .proceso-paso {
        padding: 25px 15px;
        margin-bottom: 10px;
    }
    
    .paso-icono {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .proceso-paso h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .proceso-paso p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .paso-icono svg {
        width: 40px;
        height: 40px;
    }
    
    /* Servicios especializados móvil */
    .servicios-especializados-grid {
        gap: 10px;
        padding: 15px 0;
        justify-content: center;
    }
    
    .servicio-especializado-button {
        min-width: 90px;
        padding: 18px 12px;
        font-size: 0.75rem;
        border-radius: 20px;
    }
    
    .servicio-especializado-button .servicio-icon {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }
    
    .servicio-especializado-button .servicio-icon img {
        width: 1.6rem;
        height: 1.6rem;
    }
    
    .servicio-especializado-button span {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    table {
        font-size: 0.8rem;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    th, td {
        padding: 8px 6px;
        min-width: 80px;
    }
}

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

.service-card, article, section {
    animation: fadeInUp 0.6s ease-out;
}

/* Efectos adicionales */
.service-card:nth-child(even) {
    border-left-color: #388e3c;
}

.service-card:nth-child(3n) {
    border-left-color: #4caf50;
}

/* Sección Cómo Funciona */
#como-funciona {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 20px;
    text-align: center;
    margin: 40px 0;
}

#como-funciona h2 {
    color: #2e7d32;
    margin-bottom: 70px;
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

#como-funciona h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #2e7d32);
    border-radius: 2px;
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.proceso-paso {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.proceso-paso::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #2e7d32);
}

.proceso-paso:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.paso-icono {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border-radius: 50%;
    margin: 0 auto 35px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.proceso-paso:hover .paso-icono {
    transform: scale(1.15);
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.4);
}

.proceso-paso:hover .paso-icono svg path {
    fill: white;
}

.proceso-paso h3 {
    color: #2e7d32;
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.proceso-paso p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    margin-top: 15px;
}

/* Servicios Especializados */
.servicios-especializados-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding: 20px 0;
}

.servicio-especializado-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    padding: 25px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.servicio-especializado-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);
    transition: left 0.5s ease;
}

.servicio-especializado-button:hover::before {
    left: 100%;
}

.servicio-especializado-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #66bb6a, #388e3c);
}

.servicio-especializado-button .servicio-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.servicio-especializado-button .servicio-icon img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.servicio-especializado-button span {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive para servicios especializados en tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .servicios-especializados-grid {
        gap: 15px;
        padding: 20px;
    }
    
    .servicio-especializado-button {
        min-width: 105px;
        padding: 22px 16px;
        font-size: 0.82rem;
    }
    
    .servicio-especializado-button .servicio-icon {
        font-size: 1.9rem;
        margin-bottom: 7px;
    }
    
    .servicio-especializado-button .servicio-icon img {
        width: 1.9rem;
        height: 1.9rem;
    }
}

/* Responsive para servicios especializados en móviles */
@media (max-width: 768px) {
    .servicios-especializados-grid {
        gap: 12px;
        padding: 15px 10px;
    }
    
    .servicio-especializado-button {
        min-width: 95px;
        padding: 20px 14px;
        font-size: 0.78rem;
    }
    
    .servicio-especializado-button .servicio-icon {
        font-size: 1.7rem;
        margin-bottom: 6px;
    }
    
    .servicio-especializado-button .servicio-icon img {
        width: 1.7rem;
        height: 1.7rem;
    }
}

/* Sección de Testimonios */
#testimonios {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

#testimonios h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 700;
}

.testimonios-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.testimonio-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.testimonio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonio-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonio-avatar {
    margin-right: 15px;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.testimonio-info {
    flex: 1;
}

.testimonio-nombre {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonio-fecha {
    color: #6c757d;
    font-size: 0.9rem;
}

.testimonio-estrellas {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffc107;
}

.testimonio-texto {
    color: #495057;
    line-height: 1.6;
    font-size: 1rem;
    font-style: italic;
}

/* Responsive para testimonios */
@media (max-width: 768px) {
    #testimonios {
        padding: 60px 15px;
    }
    
    #testimonios h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .testimonios-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    .testimonio-item {
        padding: 25px;
    }
    
    .avatar-placeholder {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .testimonio-nombre {
        font-size: 1rem;
    }
    
    .testimonio-texto {
        font-size: 0.95rem;
    }
}

/* Media query para pantallas muy pequeñas */
@media (max-width: 360px) {
    body {
        padding-top: 55px;
    }
    
    .nav-container {
        height: 55px;
        padding: 0 8px;
    }
    
    .nav-menu {
        top: 55px;
    }
    
    .hero-section {
        padding: 25px 10px;
    }
    
    .hero-section h1 {
        font-size: 1.3rem;
        line-height: 1.2;
    }
    
    .hero-section p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 10px 15px;
        font-size: 0.85rem;
        margin: 5px;
    }
    
    .trust-icons {
        margin-top: 25px;
        gap: 8px;
    }
    
    .trust-icons span {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    main {
        padding: 0 8px;
    }
    
    section {
        padding: 20px 10px;
        margin: 10px 0;
    }
    
    section h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    #como-funciona {
        padding: 25px 10px;
        margin: 10px 0;
    }
    
    #como-funciona h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .proceso-grid {
        gap: 15px;
    }
    
    .proceso-paso {
        padding: 20px 12px;
        margin-bottom: 8px;
    }
    
    .paso-icono {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .paso-icono svg {
        width: 35px;
        height: 35px;
    }
    
    .proceso-paso h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .proceso-paso p {
        font-size: 0.85rem;
    }
    
    .servicios-especializados-grid {
        gap: 8px;
        padding: 10px 0;
    }
    
    .servicio-especializado-button {
        min-width: 80px;
        padding: 15px 10px;
        font-size: 0.7rem;
        border-radius: 18px;
    }
    
    .servicio-especializado-button .servicio-icon {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }
    
    .servicio-especializado-button .servicio-icon img {
        width: 1.4rem;
        height: 1.4rem;
    }
    
    .servicio-especializado-button span {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    table {
        font-size: 0.75rem;
    }
    
    th, td {
        padding: 6px 4px;
        min-width: 70px;
    }
}

/* Mejoras generales para móviles */
@media (max-width: 768px) {
    /* Prevenir overflow horizontal */
    body {
        overflow-x: hidden;
    }
    
    /* Asegurar que las imágenes no se desborden */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Mejorar el espaciado de botones */
    .cta-button, .nav-cta-button {
        display: block;
        text-align: center;
        margin: 10px auto;
        max-width: 280px;
    }
    
    /* Asegurar que las tablas sean responsive */
    table {
        width: 100%;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    /* Wrapper para tablas */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mejorar el espaciado de texto */
    p {
        line-height: 1.6;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    /* Asegurar que los contenedores no se desborden */
    .nav-container,
    main,
    section,
    .footer-content {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Mejorar el grid de servicios */
    .services-grid {
        padding: 0 10px;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    /* Contacto responsive */
    .contacto-grid {
        padding: 0 10px;
    }
    
    .contacto-item {
        margin-bottom: 15px;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}
