/* =================================================================
   REVOLORIO.COM - ESTILOS PERSONALIZADOS
   ================================================================= */

:root {
    --primary-dark: #1a2a4e;
    --primary-blue: #2563eb;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --success: #10b981;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* =================================================================
   BASE STYLES
   ================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

.container,
.container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

main {
    margin-top: 80px; /* Espacio para navbar fija */
}

/* =================================================================
   NAVBAR
   ================================================================= */

.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f1929 100%);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--white) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    margin-right: 8px;
    color: var(--primary-blue);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    margin-left: 10px;
}

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

.nav-link.active {
    color: var(--primary-blue) !important;
    border-bottom: 2px solid var(--primary-blue);
}

.navbar-toggler {
    z-index: 1050 !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.navbar-collapse {
    max-height: none !important;
}

.navbar-collapse.show {
    display: block !important;
}

/* =================================================================
   HERO SECTION
   ================================================================= */

.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 100%);
    color: var(--white);
    padding: 80px 0 60px;
    min-height: auto;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-section .btn {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-illustration {
    font-size: 120px;
    color: rgba(37, 99, 235, 0.2);
    text-align: center;
    animation: none;
}

.logo-hero {
    max-width: 250px;
    height: auto;
    animation: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

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

/* =================================================================
   PAGE HEADER
   ================================================================= */

.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 100%);
    color: var(--white);
    padding: 80px 0 60px;
    margin-top: 80px;
    position: relative;
    width: 100%;
    overflow: hidden;
    max-width: 100vw;
}

.page-header .container,
.page-header .container-fluid {
    width: 100%;
    overflow: hidden;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
}

.page-header .row {
    width: 100%;
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
}

.page-header .col-lg-6 {
    min-width: 0;
    overflow: hidden;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: left;
}

.page-header .lead {
    font-size: 1.15rem;
    opacity: 0.9;
    text-align: left;
}

/* =================================================================
   BUTTONS
   ================================================================= */

.btn {
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-success {
    background: #22c55e;
    border-color: #22c55e;
}

.btn-success:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

/* =================================================================
   SERVICE CARDS
   ================================================================= */

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.service-icon {
    font-size: 50px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* =================================================================
   ABOUT SECTION
   ================================================================= */

.about-img,
.about-header-img,
.about-section-img,
.section-illustration {
    font-size: 80px;
    color: rgba(37, 99, 235, 0.15);
    text-align: center;
    padding: 30px 0;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.about-header-img {
    font-size: 90px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
}

.about-header-img i {
    max-width: 100%;
    max-height: 100%;
}

/* =================================================================
   MVV CARDS (Misión, Visión, Valores)
   ================================================================= */

.mvv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.mvv-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.mvv-icon {
    font-size: 50px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.mvv-card h3 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 15px;
}

.mvv-card p {
    color: var(--secondary);
    font-size: 0.95rem;
}

.mvv-card ul {
    text-align: left;
    font-size: 0.9rem;
    color: var(--secondary);
}

.mvv-card li {
    margin-bottom: 8px;
}

/* =================================================================
   EXPERIENCE BOXES
   ================================================================= */

.experience-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.experience-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* =================================================================
   SAAS FEATURES
   ================================================================= */

.saas-feature {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.saas-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 50px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* =================================================================
   CONTACT SECTION
   ================================================================= */

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.contact-icon {
    font-size: 50px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.contact-card h4 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-card a {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Estilos para hacer los contact-card más como botones */
.contact-button {
    cursor: pointer;
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--white) 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

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

.contact-button:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: var(--primary-blue) !important;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2) !important;
    transform: translateY(-12px) scale(1.02) !important;
}

.contact-button:active {
    transform: translateY(-8px) scale(0.98) !important;
}

.contact-button-text {
    font-weight: 700 !important;
    font-size: 1.1rem;
    color: var(--primary-blue) !important;
    margin: 10px 0 !important;
}

/* =================================================================
   CONTACT FORM
   ================================================================= */

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

/* =================================================================
   WHATSAPP CTA CARD
   ================================================================= */

.whatsapp-cta-card {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.whatsapp-icon-large {
    font-size: 80px;
    margin-bottom: 20px;
}

.whatsapp-cta-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

/* =================================================================
   CTA SECTION
   ================================================================= */

.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 100%);
    color: var(--white);
    padding: 60px 0;
    margin-top: 50px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
}

/* =================================================================
   FOOTER
   ================================================================= */

footer {
    background: var(--primary-dark);
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-blue) !important;
    transform: translateX(5px);
    display: inline-block;
}

/* =================================================================
   WHY CHOOSE US CARDS
   ================================================================= */

.why-card {
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: var(--light-bg);
}

.why-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.why-card i {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: block;
}

.why-card h5 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */

/* Ocultar hamburguesa en modo web (pantallas grandes) */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
    
    .navbar-collapse {
        display: flex !important;
    }
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 60px 15px 40px 15px;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .page-header .container,
    .page-header .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-header-img,
    .section-illustration {
        font-size: 70px;
        padding: 25px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .hero-illustration {
        font-size: 80px;
        padding: 30px 0;
    }

    .logo-hero {
        max-width: 200px;
    }

    main {
        margin-top: 60px;
    }

    .hero-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 30px;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .hero-section h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .hero-section .lead {
        font-size: 0.95rem;
    }

    .hero-section .d-flex {
        flex-direction: column-reverse;
    }

    .hero-image {
        margin-bottom: 30px;
    }

    .hero-section .btn {
        width: 100%;
    }

    .logo-hero {
        max-width: 150px;
    }

    .page-header {
        padding: 40px 0;
        margin-top: 60px;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .page-header .container,
    .page-header .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .page-header h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .page-header .lead {
        font-size: 0.9rem;
    }

    .about-header-img,
    .section-illustration {
        font-size: 55px;
        padding: 8px 0;
        margin: 0;
    }

    .service-card {
        padding: 25px 20px;
    }

    .mvv-card {
        margin-bottom: 20px;
    }

    .cta-section {
        padding: 40px 0;
        text-align: center;
    }

    .cta-section .col-lg-8,
    .cta-section .col-lg-4 {
        margin-bottom: 20px;
    }
}

/* =================================================================
   TEXT UTILITIES
   ================================================================= */

.text-primary {
    color: var(--primary-blue) !important;
}

.text-success {
    color: var(--success) !important;
}

.fw-bold {
    font-weight: 700;
}

.fw-600 {
    font-weight: 600;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}

@media (max-width: 992px) {
    .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 1.6rem;
    }
}

/* =================================================================
   ANIMATIONS
   ================================================================= */

[data-aos] {
    opacity: 0;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* =================================================================
   SCROLLBAR PERSONALIZADO
   ================================================================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* =================================================================
   UTILIDADES
   ================================================================= */

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2) translateY(-3px);
}

.list-unstyled li {
    transition: all 0.3s ease;
}

.list-unstyled li:hover {
    transform: translateX(5px);
}

.service-section-img {
    font-size: 150px !important;
    padding: 80px 0 !important;
}

/* =================================================================
   RESPONSIVE ADJUSTMENTS FOR LOGOS AND ICONS
   ================================================================= */

@media (max-width: 768px) {
    .service-section-img {
        font-size: 80px !important;
        padding: 40px 0 !important;
    }

    .about-section-img {
        font-size: 70px;
        padding: 30px 0;
    }

    .about-img {
        font-size: 70px;
        padding: 30px 0;
    }

    .about-header-img {
        font-size: 80px;
    }

    .service-icon {
        font-size: 40px;
    }

    .hero-illustration {
        font-size: 100px;
    }
}

@media (max-width: 576px) {
    .service-section-img {
        font-size: 50px !important;
        padding: 10px 0 !important;
    }

    .about-section-img {
        font-size: 40px;
        padding: 10px 0;
    }

    .about-img {
        font-size: 40px;
        padding: 10px 0;
    }
    
    .page-header {
        padding: 30px 0 20px 0;
        margin-top: 56px;
    }
    
    .page-header .container,
    .page-header .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .page-header .lead {
        font-size: 0.85rem;
    }
    
    .about-header-img,
    .section-illustration {
        font-size: 45px;
        padding: 5px;
        margin: 0;
    }
    
    .hero-section {
        padding: 40px 0 15px 0;
    }
    
    .hero-section h1 {
        font-size: 1.2rem;
    }
    
    .hero-section .lead {
        font-size: 0.85rem;
    }
    
    .logo-hero {
        max-width: 100px;
    }
    
    main {
        margin-top: 56px;
    }
}
        padding: 20px 0;
    }

    .about-header-img {
        font-size: 60px;
    }

    .service-icon {
        font-size: 35px;
    }

    .hero-illustration {
        font-size: 80px;
    }
}
