/* VARIABLES */
:root {
    --primary: #C62828;
    --primary-dark: #B71C1C;
    --secondary: #2E7D32;
    --dark-bg: #111111;
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: #fdfdfd;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
}

/* --- MODALES BALANCEADOS (NUEVO) --- */
.custom-modal {
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.header-denver {
    background: linear-gradient(135deg, var(--primary), #ff5252);
}

.header-slc {
    background: linear-gradient(135deg, var(--secondary), #4caf50);
}

/* Marca de Agua en el Header */
.header-watermark {
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 8rem;
    opacity: 0.15;
    transform: rotate(-15deg);
    pointer-events: none; /* No interfiere con clics */
}

.icon-circle-sm {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.z-2 {
    z-index: 2;
}
/* Asegura que el texto esté sobre la marca de agua */

/* Animaciones Modal */
.animate-element {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .animate-element {
    opacity: 1;
    transform: translateY(0);
}

.modal.show .delay-1 {
    transition-delay: 0.1s;
}

.btn-light:active {
    transform: scale(0.95);
}

/* --- BOTONES PREMIUM --- */
.btn-gradient {
    background: linear-gradient(45deg, var(--primary), #ff5252);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.4);
    transition: all 0.3s ease;
}

    .btn-gradient:hover {
        background: linear-gradient(45deg, #b71c1c, #d32f2f);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(198, 40, 40, 0.6);
        color: white;
    }

.btn-pulse {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
    }
}

/* --- FOOTER PREMIUM --- */
.bg-darker {
    background-color: var(--dark-bg);
}

.icon-circle-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: 0.3s;
}

.bg-dark-glass {
    background: rgba(255,255,255,0.05);
}

.footer-contact-item:hover .icon-circle-large {
    background: rgba(255,255,255,0.15);
    transform: scale(1.1);
}

.hover-white:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

    .footer-links a:hover {
        color: var(--primary);
        padding-left: 5px;
    }

/* --- TARJETAS PRO --- */
.pro-card {
    border: none;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

    .pro-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

.icon-circle {
    width: 100px;
    height: 100px;
    background: #fff5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    padding: 15px;
}

.pro-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    background: #fee2e2;
}

.green-theme {
    background: #e8f5e9;
}

.pro-card:hover .green-theme {
    background: #c8e6c9;
}

.gray-theme {
    background: #f5f5f5;
}

.link-arrow {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 15px;
    display: inline-block;
    transition: 0.3s;
}

    .link-arrow i {
        margin-left: 5px;
        transition: 0.3s;
    }

.pro-card:hover .link-arrow i {
    transform: translateX(5px);
}

/* --- MISSION CARD --- */
.mission-card {
    background: linear-gradient(135deg, var(--primary), #8e0000);
    position: relative;
    overflow: hidden;
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    height: 80px;
    margin-bottom: 20px;
    animation: breathe 2s infinite ease-in-out;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* --- GENERAL --- */
.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-link {
    font-weight: 600;
    color: #444 !important;
    transition: color 0.3s;
}

    .nav-link:hover, .nav-link.active {
        color: var(--primary) !important;
    }

.carousel-item {
    height: 85vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.text-gradient-red {
    background: linear-gradient(45deg, #ff5252, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* SVG */
.svg-icon-box {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
}

.interactive-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.passport-cover {
    transform-origin: 25px center;
    transition: transform 0.5s ease;
}

.pro-card:hover .passport-cover {
    transform: rotateY(-30deg);
}

.pro-card:hover .passport-pages {
    transform: translateX(2px);
}

.folder-front {
    transform-origin: center bottom;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.folder-paper {
    transition: transform 0.5s ease;
}

.pro-card:hover .folder-front {
    transform: scaleY(0.8) skewX(-10deg);
    opacity: 0.9;
}

.pro-card:hover .folder-paper {
    transform: translateY(-15px);
}

.doc-pen {
    transform-origin: center;
    transition: transform 0.5s ease;
}

.pro-card:hover .doc-pen {
    animation: writing 1s infinite alternate;
}

@keyframes writing {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(8px, 0) rotate(0deg);
    }
}

/* UTILS */
.ls-2 {
    letter-spacing: 2px;
}

.ls-1 {
    letter-spacing: 1px;
}

.divider {
    height: 3px;
    width: 60px;
    background: var(--primary);
    border-radius: 2px;
}

.bg-dots {
    background-image: radial-gradient(#ddd 1px, transparent 1px);
    background-size: 20px 20px;
}

.icon-box-small {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: transform 0.3s;
    text-decoration: none;
}

    .floating-btn:hover {
        transform: scale(1.1);
        color: white;
    }

.reveal {
    opacity: 1;
}

/* --- TEMAS DE COLOR PARA SERVICIOS --- */
.theme-blue {
    background: #E3F2FD;
}

.card:hover .theme-blue {
    background: #BBDEFB;
    transform: scale(1.1) rotate(-5deg);
}

.theme-red {
    background: #FFEBEE;
}

.card:hover .theme-red {
    background: #FFCDD2;
    transform: scale(1.1) rotate(5deg);
}

.theme-gold {
    background: #FFF8E1;
}

.card:hover .theme-gold {
    background: #FFECB3;
    transform: scale(1.1) rotate(-5deg);
}

.theme-orange {
    background: #FFF3E0;
}

.card:hover .theme-orange {
    background: #FFE0B2;
    transform: scale(1.1) rotate(5deg);
}

.theme-dark-red {
    background: #FCE4EC;
}

.card:hover .theme-dark-red {
    background: #F8BBD0;
    transform: scale(1.1) rotate(-5deg);
}

.theme-purple {
    background: #F3E5F5;
}

.card:hover .theme-purple {
    background: #E1BEE7;
    transform: scale(1.1) rotate(5deg);
}

.theme-teal {
    background: #E0F2F1;
}

.card:hover .theme-teal {
    background: #B2DFDB;
    transform: scale(1.1) rotate(-5deg);
}

.theme-green {
    background: #E8F5E9;
}

.card:hover .theme-green {
    background: #C8E6C9;
    transform: scale(1.1) rotate(5deg);
}

/* Ajuste para que los botones se queden abajo */
.card {
    display: flex;
    flex-direction: column;
}
/* Estilos Generales de la Sección */
.testimonials-section {
    padding: 50px 20px;
    background-color: #f9f9f9; /* Color de fondo suave */
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.testimonial-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Columnas */
.testimonial-content {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.image-column img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Imagen redonda */
    object-fit: cover;
    border: 3px solid #333; /* Borde opcional */
}

.text-column {
    text-align: left;
    flex: 1; /* Toma el espacio restante */
}

/* Texto Auto-escribible */
.auto-type-text {
    font-size: 1.5rem;
    color: #333;
    min-height: 80px; /* Evita saltos de altura mientras escribe */
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

    /* Efecto del cursor parpadeante */
    .auto-type-text::after {
        content: '|';
        animation: blink 0.7s infinite;
    }

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.author-name {
    font-size: 1rem;
    color: #666;
    font-style: italic;
    font-weight: bold;
}

/* Botones de Navegación */
.nav-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: background 0.3s;
}

    .nav-btn:hover {
        background: #555;
    }

/* Responsivo para móviles */
@media (max-width: 768px) {
    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }

    .text-column {
        text-align: center;
    }
}
