/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #2c5aa0; /* Color de fondo inicial para evitar el blanco */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

body:not(.loaded) .header,
body:not(.loaded) .hero,
body:not(.loaded) .campaign-section,
body:not(.loaded) .services-section,
body:not(.loaded) .pricing-section,
body:not(.loaded) .branches-section,
body:not(.loaded) .contact-section,
body:not(.loaded) .footer {
    opacity: 0;
    visibility: hidden;
}

body.loaded .header,
body.loaded .hero,
body.loaded .campaign-section,
body.loaded .services-section,
body.loaded .pricing-section,
body.loaded .branches-section,
body.loaded .contact-section,
body.loaded .footer {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease-in, visibility 0.8s ease-in;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 100px;
    width: auto;
}

.brand-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent 0%, #2c5aa0 20%, #2c5aa0 80%, transparent 100%);
    opacity: 0.4;
    margin: 0 10px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-left: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #2c5aa0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2c5aa0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 150px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,215,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(44,90,160,0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(255,255,255,0.05) 0%, transparent 50%),
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100px 100px;
    animation: backgroundMove 20s linear infinite;
    z-index: 1;
}

@keyframes backgroundMove {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0px 0px;
    }
    100% {
        background-position: 100% 100%, -100% -100%, 50% 50%, 100px 100px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: center;
    perspective: 1000px;
    overflow: visible;
}

.hero-image {
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateY(2deg);
    }
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero-title-section h1 {
    margin-bottom: 0;
    flex: 1;
    min-width: 300px;
}

.hero-title-section .price-highlight {
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.highlight {
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.hero-price {
    margin-bottom: 2rem;
}

.price-highlight {
    display: flex;
    align-items: center;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    border: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    height: 56px;
    white-space: nowrap;
    flex-shrink: 0;
}

.price-highlight strong {
    font-size: 1.3rem;
    font-weight: 700;
}

.hero-cta-section {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.2rem;
    color: #ffd700;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: #ffd700;
    color: #333;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    height: 56px;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.hero-image img {
    width: 120%;
    height: auto;
    border-radius: 30px;
    box-shadow: 
        0 0 40px rgba(44, 90, 160, 0.4),
        0 0 80px rgba(44, 90, 160, 0.2),
        0 0 120px rgba(44, 90, 160, 0.1),
        0 25px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    filter: brightness(1.05) contrast(1.1) saturate(1.1) drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
    position: relative;
    overflow: hidden;
    transform: scale(1.1);
}

.hero-image img:hover {
    transform: translateY(-15px) scale(1.15);
    box-shadow: 
        0 0 60px rgba(44, 90, 160, 0.6),
        0 0 120px rgba(44, 90, 160, 0.4),
        0 0 180px rgba(44, 90, 160, 0.2),
        0 40px 100px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1) contrast(1.15) saturate(1.15) drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
}

.hero-image {
    position: relative;
    overflow: visible;
    border-radius: 30px;
    padding: 12px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Imagen principal del hero */
.hero-main-image {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-main-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, 
        rgba(44, 90, 160, 0.15) 0%, 
        rgba(255, 215, 0, 0.1) 50%, 
        rgba(44, 90, 160, 0.15) 100%);
    z-index: -1;
    pointer-events: none;
    border-radius: 40px;
    filter: blur(20px);
    opacity: 0.7;
    transition: all 0.3s ease;
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.hero-image:hover::before {
    opacity: 1;
}

/* Elementos decorativos modernos */
.hero-image {
    --decoration-size: 60px;
}

.hero-image .decoration {
    position: absolute;
    width: var(--decoration-size);
    height: var(--decoration-size);
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: -1;
}

.hero-image .decoration:nth-child(1) {
    top: -30px;
    right: -30px;
    animation-delay: 0s;
}

.hero-image .decoration:nth-child(2) {
    bottom: -20px;
    left: -20px;
    animation-delay: 1s;
    border-color: rgba(44, 90, 160, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Secciones generales */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Campaign Section */
.campaign-section {
    padding: 6rem 0;
    background: #f8f9ff;
    position: relative;
}

.campaign-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/imagen1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    filter: saturate(1.2) brightness(1.1);
    z-index: 1;
}

.campaign-section .container {
    position: relative;
    z-index: 2;
}

.campaign-section h2,
.campaign-section h3,
.campaign-section p {
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

.campaign-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.campaign-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.benefit-content h3 {
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 120px;
}

.info-card h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card ul {
    list-style: none;
    margin-top: 1rem;
}

.info-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Services Section */
.services-section {
    padding: 6rem 0 3rem 0;
    background: white;
    position: relative;
}

.services-header-bg {
    position: relative;
}

.services-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/imagen2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    filter: saturate(1.3) brightness(1.1);
    z-index: 1;
    border-radius: 15px;
}

.services-header-bg h2,
.services-header-bg p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #f8f9ff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #2c5aa0;
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.service-card li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f2ff 100%);
    position: relative;
}

.pricing-header-bg {
    position: relative;
}

.pricing-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/imagen3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    filter: saturate(1.2) brightness(1.05);
    z-index: 1;
    border-radius: 15px;
}

.pricing-header-bg h2,
.pricing-header-bg p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.price-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-header {
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    color: white;
    padding: 2rem;
    text-align: center;
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-option {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.price-option .type {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price-option .price {
    font-size: 1.8rem;
    font-weight: 700;
}

.price-option .credit {
    font-size: 0.9rem;
    opacity: 0.8;
}

.price-features {
    padding: 2rem;
}

.special-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.special-option:last-child {
    border-bottom: none;
}

.special-option .feature {
    font-weight: 500;
}

.special-option .price {
    color: #2c5aa0;
    font-weight: 600;
}

/* Branches Section */
.branches-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.branches-header-bg {
    position: relative;
}

.branches-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/imagen4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.16;
    filter: saturate(1.25) brightness(1.1);
    z-index: 1;
    border-radius: 15px;
}

.branches-header-bg h2,
.branches-header-bg p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.branch-card {
    background: #f8f9ff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-5px);
}

.branch-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.branch-card h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.branch-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.branch-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.branch-card:hover .branch-photo {
    transform: scale(1.05);
}

.branch-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.branch-info i {
    color: #2c5aa0;
    width: 16px;
}

.additional-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.service-item {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    background: #f8f9ff;
    border-radius: 20px;
    align-items: center;
}

.service-item .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-content h3 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    color: white;
}

.contact-section .section-header h2,
.contact-section .section-header p {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.submit-btn {
    width: 100%;
    background: #ffd700;
    color: #333;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 0.5rem;
    color: #ffd700;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 30px;
    width: auto;
}

.footer-section h4 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2c5aa0;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 992px) {
    .campaign-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .logo {
        height: 80px;
    }
    
    .brand-divider {
        height: 40px;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    /* Imágenes de fondo ya aplicadas - no necesitan estilos específicos para móvil */
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-title-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-title-section h1 {
        min-width: auto;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-cta-section {
        justify-content: center;
    }
    
    .campaign-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .campaign-benefits {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-services {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        height: 60px;
    }
    
    .brand-divider {
        height: 30px;
    }
    
    .nav-brand {
        gap: 15px;
    }
    
    .brand-text {
        font-size: 1.2rem;
        margin-left: 5px;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .benefit-item,
    .service-card,
    .price-card,
    .branch-card {
        margin-bottom: 1rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-item,
.service-card,
.price-card,
.branch-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Estilos de fondo ya aplicados en las secciones correspondientes */

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c5aa0 0%, #1a4480 50%, #0f2c5c 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

/* Asegurar que la pantalla de carga sea visible inmediatamente */
body .loading-screen {
    opacity: 1 !important;
    visibility: visible !important;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    color: white;
    animation: loadingPulse 2s ease-in-out infinite;
    z-index: 2;
}

.loading-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 90, 160, 0.3);
    z-index: -1;
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    animation: logoFloat 3s ease-in-out infinite;
}

.loading-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.loading-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fullscreen-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4;
    filter: brightness(0.7) contrast(1.2) saturate(1.1);
    animation: videoGlow 4s ease-in-out infinite;
}

/* Estilos de thumbnails removidos - ahora usando video de pantalla completa */

.thumbnail-item:hover {
    transform: scale(1.1);
    border-color: #ffd700;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.loading-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
}

/* Spinner y texto de carga eliminados */

/* Loading Animations */
@keyframes loadingPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

/* Animaciones de spin y textFade eliminadas */

@keyframes videoGlow {
    0%, 100% {
        opacity: 0.3;
        filter: brightness(0.7) contrast(1.2) saturate(1.1);
    }
    50% {
        opacity: 0.5;
        filter: brightness(0.8) contrast(1.3) saturate(1.2);
    }
}

/* Loading Screen Responsive */
@media (max-width: 768px) {
    .loading-logo {
        width: 80px;
    }
    
    .loading-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .loading-logo {
        width: 70px;
    }
    
    .loading-title {
        font-size: 1.3rem;
    }
}

/* Enlaces de contacto */
.info-content a[href^="tel:"],
.footer-section a[href^="tel:"],
.footer-section a[href^="https://wa.me/"] {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-content a[href^="tel:"]:hover,
.footer-section a[href^="tel:"]:hover,
.footer-section a[href^="https://wa.me/"]:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Efectos adicionales */
.benefit-item:nth-child(even) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Botones Flotantes de Contacto */
.floating-contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.floating-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.phone-btn a {
    background: linear-gradient(135deg, #2c5aa0, #1a4480);
}

.whatsapp-btn a {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.email-btn a {
    background: linear-gradient(135deg, #ea4335, #d33b2c);
}

.floating-btn:hover a {
    transform: scale(1.1);
}

/* Tooltips */
.btn-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1001;
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
}

.floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

/* Responsive para botones flotantes */
@media (max-width: 768px) {
    .floating-contact-buttons {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
    }
    
    .floating-btn a {
        font-size: 22px;
    }
    
    .btn-tooltip {
        display: none;
    }
}