/* ============================================
   VARIABLES Y RESET
   ============================================ */
:root {
    --primary-color: #1491FF;
    --primary-dark: #0D6ECC;
    --primary-darker: #0A5BA8;
    --secondary-color: #10B981;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --bg-dark: #111827;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 158px;
    height: 54px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-dark);
    cursor: pointer;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    padding: 0.5rem 0;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.nav-link-mobile:hover {
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* ============================================
   CONTACT BAR
   ============================================ */
.contact-bar {
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border-color);
}

.contact-bar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-color);
}

.contact-item i {
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.hide-mobile {
    display: none;
}

@media (min-width: 640px) {
    .hide-mobile {
        display: inline;
    }
}

@media (min-width: 768px) {
    .contact-bar-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    width: 100%;
    height: 100%;
    /* CORREGIDO: Eliminado el linear-gradient para quitar el tapiz azul */
    background: url('../images/slides/slide1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide-bg-2 {
    /* CORREGIDO: Eliminado el linear-gradient para quitar el tapiz azul */
    background: url('../images/slides/slide2.jpg');
    background-size: cover;
    background-position: center;
}

.slide-bg-3 {
    /* CORREGIDO: Eliminado el linear-gradient para quitar el tapiz azul */
    background: url('../images/slides/slide3.jpg');
    background-size: cover;
    background-position: center;
}

.slide-bg-4 {
    /* CORREGIDO: Eliminado el linear-gradient para quitar el tapiz azul */
    background: url('../images/slides/slide4.jpg');
    background-size: cover;
    background-position: center;
}

.slide-text {
    max-width: 700px;
    color: white;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: var(--bg-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-btn-prev {
    left: 1rem;
}

.slider-btn-next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

@media (min-width: 768px) {
    .slide-title {
        font-size: 3rem;
    }
    
    .slide-subtitle {
        font-size: 1.5rem;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
}

.primary-color {
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.service-header {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.service-header-blue {
    background: linear-gradient(135deg, #60A5FA 0%, var(--primary-color) 100%);
}

.service-header-green {
    background: linear-gradient(135deg, #34D399 0%, var(--secondary-color) 100%);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 2.5rem;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 700;
}

.service-body {
    padding: 1.5rem;
}

.service-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-features i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.service-features .fa-check {
    color: var(--secondary-color);
}

.btn-service {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-blue {
    background: var(--primary-color);
    color: white;
}

.btn-blue:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-green {
    background: var(--secondary-color);
    color: white;
}

.btn-green:hover {
    background: #059669;
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #FBBF24;
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.testimonial-author {
    color: var(--text-dark);
    font-weight: 600;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #60A5FA 0%, var(--primary-color) 100%);
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-description {
    color: #ffffff;
    font-size: 0.875rem;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ffffff;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.875rem;
}

.footer-contact i {
    font-size: 1rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: #ffffff;
    font-size: 0.875rem;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: white;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   ESTILOS ADICIONALES PARA PÁGINAS INTERNAS
   Agregar estos estilos al final de styles.css
   ============================================ */

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #60A5FA 0%, var(--primary-color) 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

@media (min-width: 768px) {
    .page-header {
        padding: 5rem 0;
    }
    
    .page-title {
        font-size: 3rem;
    }
}

/* ============================================
   ACTIVE NAV LINK
   ============================================ */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* ============================================
   HOW TO SEND SECTION (ENVÍA DINERO)
   ============================================ */
.how-to-send-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.methods-container {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.method-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

.method-header {
    text-align: center;
    margin-bottom: 2rem;
}

.method-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.method-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.method-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.method-steps {
    margin-bottom: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

.step-content a {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-method:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .methods-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   FEATURES SEND SECTION
   ============================================ */
.features-send-section {
    padding: 4rem 0;
    background: var(--bg-gray);
}

.features-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-gray);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   REQUIREMENTS SECTION
   ============================================ */
.requirements-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.requirements-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.requirement-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.requirement-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirement-card ul {
    list-style: none;
    padding-left: 0;
}

.requirement-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
}

.requirement-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.important-note {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.5rem;
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    border-radius: 0.5rem;
}

.important-note i {
    font-size: 1.5rem;
    color: #F59E0B;
    flex-shrink: 0;
}

.important-note h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.important-note ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.important-note li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.important-note li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #F59E0B;
    font-weight: 700;
}

@media (min-width: 768px) {
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #60A5FA 0%, var(--primary-color) 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.btn-cta.primary {
    background: white;
    color: var(--primary-color);
}

.btn-cta.primary:hover {
    background: var(--bg-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-cta.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* ============================================
   HISTORIA SECTION (ACERCA DE NOSOTROS)
   ============================================ */
.historia-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.historia-content {
    max-width: 900px;
    margin: 0 auto;
}

.historia-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.text-center {
    text-align: center;
}

.values-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #60A5FA 0%, var(--primary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-choose-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.reasons-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.reason-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.reason-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.reason-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reason-content h3 i {
    color: var(--primary-color);
}

.reason-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================
   ESTILOS PARA PÁGINAS LEGALES
   Agregar al final de styles.css
   ============================================ */

/* ============================================
   LEGAL CONTENT SECTION
   ============================================ */
.legal-content-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    background: var(--bg-gray);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 3rem;
}

.legal-intro p {
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 0;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section a {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.legal-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--text-gray);
    line-height: 1.7;
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.legal-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-contact {
    background: var(--bg-gray);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.legal-contact h2 {
    border-bottom: none;
    margin-bottom: 1rem;
}

.legal-contact p {
    margin-bottom: 0.5rem;
}

.legal-update {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.legal-update p {
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

/* ============================================
   INFO BOXES Y ALERTAS
   ============================================ */
.info-box {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #EFF6FF;
    border-left: 4px solid #3B82F6;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.info-box i {
    font-size: 2rem;
    color: #3B82F6;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-box h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.info-box p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.info-box ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

.info-box ul li {
    color: var(--text-gray);
    padding: 0.25rem 0;
}

.alert-box {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.alert-box.warning {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
}

.alert-box i {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.alert-box.warning i {
    color: #F59E0B;
}

.alert-box h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    margin-top: 0;
}

/* ============================================
   COMPLIANCE PAGE SPECIFIC STYLES
   ============================================ */
.compliance-highlight {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 1rem;
    margin: 2rem 0;
    border: 2px solid var(--primary-color);
}

.compliance-highlight i {
    font-size: 3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.compliance-highlight h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.75rem 0;
}

.compliance-highlight p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

.regulation-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.regulation-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.regulation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.regulation-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.regulation-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.regulation-card > p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.regulation-details {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.regulation-details p {
    margin-bottom: 0.75rem;
}

.regulation-details strong {
    color: var(--text-dark);
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    background: white;
    border-radius: 0.5rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.external-link:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.external-link i {
    font-size: 0.875rem;
}

.obligations-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.obligation-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.obligation-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.obligation-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.obligation-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.obligation-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.authorities-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.authority-card {
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.authority-card:hover {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.authority-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.authority-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.authority-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.9375rem;
    margin: 0;
}

.commitment-box {
    background: var(--bg-gray);
    border: 2px solid var(--primary-color);
    border-radius: 0.75rem;
    padding: 2rem;
    margin: 2rem 0;
}

.commitment-box ul {
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 640px) {
    .obligations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .authorities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .legal-content-section {
        padding: 5rem 0;
    }
    
    .legal-section h2 {
        font-size: 2.25rem;
    }
    
    .legal-section h3 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .obligations-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   ESTILOS PARA PÁGINA NUESTRA OFICINA
   Agregar al final de styles.css
   ============================================ */

/* ============================================
   OFFICE INTRO SECTION
   ============================================ */
.office-intro-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

.office-intro-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.office-intro-text {
    flex: 1;
}

.office-intro-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.office-intro-text p {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.office-intro-icon {
    flex-shrink: 0;
}

.office-intro-icon i {
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.3;
}

/* ============================================
   OFFICE LOCATION SECTION
   ============================================ */
.office-location-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.location-content {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.location-description p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.location-description p strong {
    color: var(--text-dark);
    font-weight: 600;
}

.location-highlights {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.highlight-item p {
    color: var(--text-gray);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

.map-container {
    position: relative;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
}

.map-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    transition: background 0.3s ease;
}

.map-link:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

/* ============================================
   OFFICE TRANSPORT SECTION
   ============================================ */
.office-transport-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.transport-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.transport-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.transport-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.transport-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #60A5FA 0%, var(--primary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.transport-icon i {
    font-size: 2rem;
}

.transport-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.transport-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.transport-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transport-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
    font-size: 0.9375rem;
}

.transport-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.subte-line {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
}

.line-b {
    background: #EB0000;
}

.line-c {
    background: #0088D1;
}

.line-d {
    background: #00B359;
}

.line-e {
    background: #C618D1;
}

.transport-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.transport-note i {
    font-size: 1.5rem;
    color: #F59E0B;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.transport-note p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   OFFICE HOURS SECTION
   ============================================ */
.office-hours-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.hours-content {
    display: grid;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hours-info {
    display: flex;
    gap: 2rem;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
}

.hours-icon {
    flex-shrink: 0;
}

.hours-icon i {
    font-size: 4rem;
    color: var(--primary-color);
}

.hours-details h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.schedule {
    margin-bottom: 1.5rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--secondary-color);
}

.schedule-item.closed {
    border-left-color: #DC2626;
    opacity: 0.7;
}

.schedule-day {
    font-weight: 600;
    color: var(--text-dark);
}

.schedule-time {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.schedule-item.closed .schedule-time {
    color: #DC2626;
}

.hours-description {
    color: var(--text-gray);
    line-height: 1.7;
}

.hours-description a {
    color: var(--primary-color);
    font-weight: 600;
}

.appointment-box {
    background: linear-gradient(135deg, #60A5FA 0%, var(--primary-color) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
}

.appointment-box h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.appointment-box p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-appointment:hover {
    background: var(--bg-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

/* ============================================
   OFFICE SERVICES SECTION
   ============================================ */
.office-services-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.services-office-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.service-office-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-office-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.service-office-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-office-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-office-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   OFFICE CONTACT SECTION
   ============================================ */
.office-contact-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.contact-office-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.contact-office-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-office-info > p {
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-office-details {
    display: grid;
    gap: 2rem;
}

.contact-office-item {
    display: flex;
    gap: 1.5rem;
}

.contact-office-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-office-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-office-item p {
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.contact-office-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-office-item small {
    color: var(--text-light);
    font-size: 0.875rem;
}

.social-icons-office {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-icons-office a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons-office a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.contact-office-image {
    display: flex;
    justify-content: center;
}

.office-photo-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
}

.office-photo-placeholder i {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.office-photo-placeholder p {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.125rem;
}

/* ============================================
   OFFICE CTA SECTION
   ============================================ */
.office-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #60A5FA 0%, var(--primary-color) 100%);
    color: white;
}

.cta-office-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-office-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-office-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-office-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-cta-office {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 250px;
    justify-content: center;
}

.btn-cta-office.primary {
    background: white;
    color: var(--primary-color);
}

.btn-cta-office.primary:hover {
    background: var(--bg-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
}

.btn-cta-office.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta-office.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 767px) {
    .office-intro-content {
        flex-direction: column;
        text-align: center;
    }
    
    .office-intro-icon i {
        font-size: 4rem;
    }
    
    .hours-info {
        flex-direction: column;
        text-align: center;
    }
    
    .schedule-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (min-width: 640px) {
    .cta-office-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .services-office-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .transport-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-office-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

@media (min-width: 1024px) {
    .services-office-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hours-content {
        grid-template-columns: 1.5fr 1fr;
    }
}