/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #f59e0b;
    --text-color: #1f2937;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

/* Info Box */
.info-box {
    background-color: #bee5f4f3;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 1020px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.info-box p {
    margin: 0;
    font-weight: 500;
    min-height: 1.5em; /* Asegura que el contenedor tenga altura incluso cuando está vacío */
}

/* Efecto de máquina de escribir - Versión base para escritorio */
.typewriter-text {
    display: inline-block;
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.05em;
    font-size: 1.1rem;
    animation: 
        typing 3s steps(40, end) 1s 1 normal both,
        blink-caret 0.75s step-end 8; /* El cursor parpadea 8 veces */
    will-change: width, border-color; /* Mejora el rendimiento */
    backface-visibility: hidden; /* Evita parpadeos en algunos dispositivos */
    transform: translateZ(0); /* Acelera la renderización en móviles */
}

/* Animación de escritura */
@keyframes typing {
    from { 
        width: 0;
        opacity: 0.8; /* Suave aparición */
    }
    to { 
        width: 100%;
        opacity: 1;
    }
}

/* Efecto del cursor parpadeante */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color); }
}

/* Optimizaciones para móviles */
@media screen and (max-width: 768px) {
    .typewriter-text {
        font-size: 1rem; /* Tamaño de fuente ligeramente más pequeño */
        animation: 
            typing 2.5s steps(30, end) 0.5s 1 normal both,
            blink-caret 0.75s step-end 6; /* Menos parpadeos en móviles */
        white-space: pre-wrap; /* Mejor manejo de saltos de línea */
        word-break: break-word; /* Evita desbordamiento en móviles */
    }
    
    /* Ajuste para pantallas muy pequeñas */
    @media (max-width: 480px) {
        .typewriter-text {
            font-size: 0.95rem;
            animation: 
                typing 2s steps(25, end) 0.3s 1 normal both,
                blink-caret 0.75s step-end 4;
        }
    }
}

.info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Language Notice */
.language-notice {
    background: var(--primary-color);
    padding: 12px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 30px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.language-notice p {
    margin: 0;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.language-notice i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 1.1em;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 100px 20px 80px;
    text-align: center;
    margin-top: 0;
    position: relative;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-buttons .btn-secondary:hover {
    background-color: #0044cc;
}

/* About Us Section */
.about-us {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.about-us h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-us p {
    max-width: 100%;
    margin: 0 0 1rem 0;
    text-align: left;
    line-height: 1.7;
}

.about-us-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-us-image {
    flex: 1;
}

.about-us-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-us-text {
    flex: 1;
}

.about-us-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.about-us-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    text-align: left;
    margin: 0 0 1rem 0;
    margin-bottom: 15px;
}

/* Services Section */
.services {
    padding: 60px 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card ul {
    list-style: none;
    margin: 1rem 0;
}

.service-card ul li {
    padding: 0.25rem 0;
    color: #6b7280;
}

.service-card ul li::before {
    content: "✓";
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.service-cta {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-weight: 600;
}

/* FAQ Section - Pure CSS Solution */
.faq {
    padding: 80px 0;
    background: var(--light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.2s ease;
    position: relative;
    margin: 0;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question i,
.fa-chevron-down {
    transition: transform 0.3s ease;
    margin-left: 1rem;
    color: var(--primary-color);
}

/* Hide the checkbox */
.faq-toggle {
    display: none;
}

/* Style the answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    opacity: 0;
}

/* Show answer when checkbox is checked */
.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
    opacity: 1;
}

/* Rotate icon when checked */
.faq-toggle:checked ~ .faq-question i {
    transform: rotate(180deg);
}

/* CTA Section */
.cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact Form Styles */
.main-content {
    padding-top: 100px;
    min-height: 70vh;
}

.contact-title {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1rem;
}

.contact-info {
    text-align: center;
    margin: 2rem 0;
}

/* Character Counter Styles */
.char-counter {
    text-align: right;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.char-counter.normal {
    color: #666;
}

.char-counter.warning {
    color: #f39c12;
}

.char-counter.error {
    color: #e74c3c;
    font-weight: bold;
}

.char-limit-reached {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

/* Form Field Styles */
.field-error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.required-field::after {
    content: " *";
    color: #e74c3c;
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button[type="submit"] {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Error Message */
.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

/* Logo Link */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

/* Main Content */
.main-content {
    padding: 100px 0 40px; /* Aumenté el padding superior para evitar solapamiento con el menú */
    margin-top: 20px; /* Espacio adicional para asegurar visibilidad */
}

/* Contact Title */
.contact-title {
    margin: 20px 0 30px 0;
    padding-top: 20px;
    text-align: center;
    color: var(--text-color);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Contact Form Container */
.contact-form-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Contact Info */
.contact-info {
    margin: 20px 0 10px;
    padding: 20px 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    line-height: 1.6;
    font-size: 1rem;
}

.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 1rem;
}

.contact-info p:first-child {
    margin-top: 0;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 0; /* Aseguramos que no haya espacio extra por defecto */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Checkbox de términos y condiciones */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin: 1.5rem 0;
    position: relative;
}

.form__checkbox {
    margin-right: 10px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-termsandConditions {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-color);
    cursor: pointer;
    flex: 1;
}

.form-termsandConditions a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.form-termsandConditions a:hover {
    text-decoration: underline;
}

/* Mensajes de error */
.error-message {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
    position: absolute;
    bottom: -20px;
    left: 28px;
}

/* Estilo para el campo de checkbox cuando hay error */
.checkbox-group.error .form__checkbox {
    outline: 2px solid #dc2626;
    border-radius: 3px;
}

/* Estilos para el contador de caracteres */
.char-counter {
    font-size: 0.8rem;
    text-align: right;
    margin-top: 0.25rem;
}

.char-counter.normal {
    color: #6b7280;
}

.char-counter.warning {
    color: #d97706;
}

.char-counter.error {
    color: #dc2626;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4b5563;
    color: #9ca3af;
}

/* Legal Page Styles */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
    padding: 2rem 1rem;
}

.legal-section {
    margin-bottom: 2.5rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.legal-section h2 {
    color: var(--primary-color);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
    font-size: 1.75rem;
}

.legal-section h3 {
    color: #2d3748;
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.company-info {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-color);
}

.contact-info {
    margin: 1.5rem 0 0 0;
}

.contact-info p {
    margin: 0.75rem 0;
    display: flex;
    align-items: center;
}

.contact-info i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-color);
    text-align: center;
}

.service-highlight {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f0f7ff;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1rem 0.5rem;
    }
    .legal-section {
        padding: 1rem;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    text-decoration: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Privacy Policy Styles */
.privacy-policy {
    max-width: 900px;
    margin: 100px auto 60px;
    padding: 0 20px;
}

.privacy-policy h1 { 
    color: var(--primary-color); 
    margin-bottom: 30px; 
}

.privacy-policy h2 { 
    color: var(--primary-color); 
    margin: 30px 0 15px; 
}

.privacy-policy p, 
.privacy-policy ul, 
.privacy-policy table { 
    margin-bottom: 20px; 
    line-height: 1.6; 
}

.privacy-policy ul { 
    padding-left: 20px; 
}

.privacy-policy table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.privacy-policy th, 
.privacy-policy td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.privacy-policy th {
    background-color: #f4f4f4;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    display: block;
}

@media (max-width: 768px) {
    .privacy-policy {
        margin-top: 80px;
    }
    
    .privacy-policy table {
        display: block;
        overflow-x: auto;
    }
}

/* Speech Controls */
.speech-controls {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.speech-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    z-index: 1000;
}

.speech-btn i {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.speech-btn:hover, .speech-btn:focus {
    background-color: #45a049;
    transform: scale(1.1);
    outline: none;
}

.speech-btn.stop {
    background-color: #f44336;
}

.speech-btn.stop:hover, .speech-btn.stop:focus {
background-color: #d32f2f;
}

/* Mejoras para móviles */
@media (max-width: 1024px) {
.nav-menu {
position: fixed;
top: 70px;
left: -100%;
flex-direction: column;
background: var(--white);
width: 100%;
text-align: center;
transition: 0.3s;
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
padding: 2rem 0;
gap: 1.5rem;
        margin-left: 10px;
        box-shadow: none;
    }
}

}
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.terms-container .container {
    max-width: 900px;
    margin: 0 auto;
}

.terms-container h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    padding-bottom: 15px;
}

.terms-container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.last-updated {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.terms-section {
    background: #fff;
    margin-bottom: 25px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.terms-section h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.terms-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.terms-section ul {
    margin: 15px 0 15px 0;
    padding-left: 0;
    list-style-type: none;
}

.terms-section li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 30px;
}

.terms-section li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1em;
    width: 20px;
    text-align: center;
}

.contact-info {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 8px;
}

/* Responsive para Términos y Condiciones */
@media (max-width: 768px) {
    .terms-container {
        padding: 80px 0 40px;
    }
    
    .terms-container h1 {
        font-size: 1.8rem;
    }
    
    .terms-section {
        padding: 20px 15px;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
    }
}

.last-updated i {
    font-size: 1.1rem;
}

.terms-section {
    margin-bottom: 30px;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.terms-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.terms-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-section h2 i {
color: var(--primary-color);
font-size: 1.3rem;
}

.terms-section p {
margin-bottom: 15px;
line-height: 1.8;
color: var(--text-secondary);
font-size: 1.02rem;
}

.terms-section ul {
margin: 15px 0 15px 20px;
padding-left: 5px;
}

.terms-section li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    padding-left: 25px;
}

.terms-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 50px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info h3 i {
    font-size: 1.3rem;
}

.contact-info p {
    margin-bottom: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Estilos responsivos para Términos y Condiciones */
@media (max-width: 768px) {
    .terms-container {
        padding: 80px 0 40px;
    }
    
    .terms-container h1 {
        font-size: 2rem;
    }
    
    .terms-section {
        padding: 25px 20px;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
    }
    
    .contact-info {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .terms-container h1 {
        font-size: 1.7rem;
    }
    
    .terms-section h2,
    .contact-info h3 {
        font-size: 1.2rem;
    }
    
    .terms-section p,
    .terms-section li {
        font-size: 0.95rem;
    }
}

/* Estilos para la página de Términos y Condiciones */
.terms-container {
    padding: 100px 0 60px;
}