/* =============================================
   INTEGRATECH 2026 - ESTILOS PREMIUM FINALES
   Logo real + Hero 2 Columnas + Carrusel + Animaciones
   ============================================= */

/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a3e6f;
    --primary-light: #2a5a9c;
    --primary-soft: rgba(26, 62, 111, 0.08);
    --secondary: #00a3b2;
    --accent: #ff6b35;
    --success: #25D366;
    --dark: #1e293b;
    --gray: #64748b;
    --gray-light: #f1f5f9;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== UTILIDADES ===== */
.text-center { text-align: center; }
.mt-5 { margin-top: 3rem; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BOTONES ===== */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    display: inline-block;
    background: var(--success);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-whatsapp:hover {
    background: #1ea952;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large { padding: 16px 40px; font-size: 1.1rem; }
.btn-small { padding: 10px 24px; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; text-align: center; }

.btn-outline-primary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-light {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Header */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 25%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(26, 62, 111, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gray);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Navegación */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--gray-light);
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.3s;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 16px;
}

.mobile-menu a {
    color: var(--dark);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 8px 0;
}

/* ===== HERO 2 COLUMNAS ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid var(--gray-light);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--gray);
}

.hero-features i {
    color: var(--success);
}

/* ===== LOGO HERO ANIMADO (VERSIÓN LIMPIA - SIN SOMBRAS NI ELIPSES) ===== */
.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-animated-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-animated-img {
    width: 100%;
    height: auto;
    max-width: 550px;
    border-radius: 50%;
    
    /* SIN SOMBRAS - LIMPIO */
    box-shadow: none;
    
    /* Transición suave para hover */
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Animación de entrada (solo se ejecuta una vez) */
    animation: bounceEntrance 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    
    /* Estado inicial de la animación */
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
}

/* Efecto hover: zoom sutil (sin sombras) */
.logo-animated-img:hover {
    transform: scale(1.05) !important;
    /* Sin sombra adicional */
}

/* Animación de entrada tipo "brinco" */
@keyframes bounceEntrance {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-15deg);
    }
    40% {
        opacity: 1;
        transform: scale(1.1) rotate(5deg);
    }
    60% {
        transform: scale(0.95) rotate(-2deg);
    }
    80% {
        transform: scale(1.02) rotate(1deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Respetar preferencias de reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .logo-animated-img {
        animation: none;
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-animated-img {
        max-width: 300px;
    }
}

/* ===== CARRUSEL ===== */
.carousel-section {
    padding: 0 0 60px;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    height: 557px;
}

/* Pausar animación al hover */
.carousel-container:hover .carousel {
    animation-play-state: paused;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* En móvil, la imagen se ancla a la izquierda */
    object-position: left center;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 60px 40px 40px;
}

.carousel-caption h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 20px;
}

/* ===== RESPONSIVE CARRUSEL ===== */
@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }
    
    /* En móvil, la imagen se ve desde la izquierda (no se centra) */
    .carousel-slide img {
        object-position: left center !important;
    }
    
    .carousel-caption {
        padding: 40px 20px 20px;
        text-align: left;
    }
    
    .carousel-caption h3 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.95rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-btn.prev { left: 10px; }
    .carousel-btn.next { right: 10px; }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .carousel {
        height: 250px;
    }
    
    .carousel-caption h3 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.85rem;
    }
}

/* ===== SECCIONES ===== */
.section {
    padding: 100px 0;
}

.section-gray {
    background: var(--gray-light);
}

.section-primary-light {
    background: linear-gradient(135deg, var(--primary-soft) 0%, rgba(0, 163, 178, 0.05) 100%);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== GRIDS ===== */
.row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

/* Cards */
.problem-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    width: 70px;
    height: 70px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: #dc3545;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.problem-card p {
    color: var(--gray);
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-soft);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin-top: 24px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-list i {
    color: var(--success);
}

.advantage-card {
    background: var(--white);
    padding: 32px 20px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
}

.advantage-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.advantage-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Industry Tags */
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.industry-tag {
    padding: 10px 20px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 40px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.industry-tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.result-item {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.result-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.result-label {
    color: var(--gray);
    font-weight: 500;
}

/* Info Box */
.info-box {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin-top: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.info-item:last-child {
    border: none;
    margin: 0;
    padding: 0;
}

.info-item i {
    width: 24px;
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 4px;
}

.info-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dark);
}

.info-item span,
.info-item a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary);
}

/* WhatsApp clickeable */
.clickable-wa {
    cursor: pointer;
    display: inline-block;
    padding: 4px 0;
}

/* Map */
.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* About text */
.about-text {
    color: var(--gray);
    margin: 20px 0;
    line-height: 1.8;
}

/* ===== FORMULARIO ===== */
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}

.form-check input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-check label {
    color: var(--gray);
}

.form-check a {
    color: var(--primary);
    text-decoration: none;
}

.form-status {
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
}

/* ===== CTA FINAL ===== */
.cta-final {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 80px 0;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Logo Footer */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-logo .logo-text .logo-main {
    color: var(--white);
}

.footer-logo .logo-text .logo-sub {
    color: #94a3b8;
}

.footer-about p {
    color: #94a3b8;
    line-height: 1.8;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--white);
}

.footer i {
    width: 20px;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

/* ===== COOKIES ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    color: var(--white);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s;
    padding: 16px 0;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-banner a {
    color: var(--secondary);
    text-decoration: none;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-content h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.modal-content h4 {
    margin: 20px 0 10px;
    color: var(--dark);
}

.modal-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--dark);
}

/* ===== BOTONES FLOTANTES ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 998;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ea952;
}

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: var(--dark);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===== ANIMACIONES ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-actions .btn-primary {
        display: none;
    }
    
    .row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-cta .btn-large {
        width: 100%;
        text-align: center;
    }
    
    .cookie-banner .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .carousel {
        height: 200px;
    }
    
    .carousel-caption {
        padding: 40px 20px 20px;
    }
    
    .carousel-caption h3 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-animated-img {
        max-width: 300px;
    }
    
    .footer-logo-img {
        width: 35px;
        height: 35px;
    }
}

/* ===== MODO OSCURO ===== */
body.dark-mode {
    background: #0f172a;
    color: #e2e8f0;
}

body.dark-mode .header,
body.dark-mode .mobile-menu,
body.dark-mode .problem-card,
body.dark-mode .service-card,
body.dark-mode .advantage-card,
body.dark-mode .result-item,
body.dark-mode .info-box,
body.dark-mode .contact-wrapper,
body.dark-mode .modal-content {
    background: #1e293b;
    color: #e2e8f0;
}

body.dark-mode .section-gray {
    background: #1a2536;
}

body.dark-mode .section-primary-light {
    background: #162336;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1a2536 100%);
}

body.dark-mode .section-title {
    color: #e2e8f0;
}

body.dark-mode .nav-menu a {
    color: #e2e8f0;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

body.dark-mode .problem-card h3,
body.dark-mode .service-card h3,
body.dark-mode .advantage-card h3 {
    color: #e2e8f0;
}

body.dark-mode .service-list li {
    color: #e2e8f0;
}

body.dark-mode .info-item strong {
    color: #e2e8f0;
}

body.dark-mode .logo-img {
    box-shadow: 0 2px 8px rgba(0, 163, 178, 0.2);
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .logo-animated-img {
        animation: none;
        opacity: 1;
        transform: scale(1);
    }
    
    .animate-on-scroll {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CRÉDITOS DEL DESARROLLADOR ===== */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.copyright {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
}

.developer-credit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.7rem; /* 1 punto más pequeña que el copyright */
}

.credit-label {
    color: #64748b;
    font-weight: 400;
}

.developer-name {
    color: #cbd5e1;
    font-weight: 600;
    transition: var(--transition);
}

.developer-name:hover {
    color: var(--white);
}

.credit-separator {
    color: #475569;
    margin: 0 4px;
    font-size: 0.7rem;
}

.credit-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    text-decoration: none;
    transition: var(--transition);
    padding: 2px 6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.credit-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.credit-link i {
    font-size: 0.65rem;
    color: var(--primary-light);
}

.credit-link span {
    font-size: 0.7rem;
}

/* Modo oscuro */
body.dark-mode .developer-name:hover {
    color: var(--secondary);
}

body.dark-mode .credit-link:hover {
    color: var(--secondary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .developer-credit {
        /* En móvil se permite wrap a 2 líneas máximo */
        line-height: 1.6;
    }
    
    .credit-separator {
        margin: 0 3px;
    }
    
    .credit-link {
        padding: 2px 4px;
    }
}

@media (max-width: 480px) {
    .developer-credit {
        font-size: 0.65rem;
    }
    
    .credit-link span {
        font-size: 0.75rem;
    }
}

