/* ============================================
   TECNO HOGAR EXPRESS - ESTILOS CELESTE SUAVE
   Diseño fresco, profesional y amigable
   ============================================ */

/* Reset y Estilos Base */
:root {
    --primary: #7ab3c8;
    --primary-dark: #5a8fa8;
    --secondary: #b8e1fc;
    --secondary-dark: #9ac9e8;
    --accent: #88c9a6;
    --accent-dark: #6bb088;
    --dark-blue: #4a6fa5;
    --text-dark: #2c3e50;
    --text-light: #5a6e7e;
    --gray-light: #f5f7fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #7ab3c8 0%, #4a6fa5 100%);
    --gradient-light: linear-gradient(135deg, #b8e1fc 0%, #e6f3ff 100%);
    --gradient-accent: linear-gradient(135deg, #88c9a6 0%, #6bb088 100%);
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Rubik', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7fc 100%);
    overflow-x: hidden;
}

/* Tipografía Destacada */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.2px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.6rem; position: relative; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

/* Sección Título con decoración elegante */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
    animation: gentlePulse 2s infinite;
}

@keyframes gentlePulse {
    0%, 100% { width: 70px; opacity: 0.8; }
    50% { width: 90px; opacity: 1; }
}

/* Barra Superior */
.top-bar {
    background: var(--gradient);
    padding: 8px 0;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% { left: 100%; }
}

.top-bar a, .top-bar span {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.top-bar a:hover {
    transform: translateX(5px);
    text-decoration: none;
}

/* Navegación Mejorada */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(122, 179, 200, 0.2);
}

.navbar-brand h1 {
    font-size: 1.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.navbar-brand h1 span {
    -webkit-text-fill-color: var(--primary);
    background: none;
}

.nav-link {
    position: relative;
    margin: 0 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--text-dark) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.nav-link:hover {
    color: var(--primary) !important;
    transform: translateY(-2px);
}

/* Dropdown Animado */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin-top: 10px;
    animation: fadeInUp 0.3s ease;
    border: 1px solid rgba(122, 179, 200, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: var(--text-dark) !important;
    padding: 10px 24px;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin: 4px;
}

.dropdown-item:hover {
    background: var(--gradient-light) !important;
    color: var(--primary-dark) !important;
    transform: translateX(8px);
}

/* Carrusel Hero */
.carousel-item {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.carousel-item.active img {
    transform: scale(1);
}

.carousel-caption {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(184,225,252,0.9));
    border-radius: 24px;
    padding: 2rem 3rem !important;
    bottom: 20% !important;
    backdrop-filter: blur(5px);
    animation: slideInUp 0.8s ease;
    box-shadow: var(--shadow-lg);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-caption h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.carousel-caption p {
    color: var(--text-dark);
    font-size: 1.2rem;
}

/* Tarjetas de Servicios */
.service-card {
    background: var(--white);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid rgba(122, 179, 200, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.03);
}

.service-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card ul li {
    padding: 8px 0;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.service-card ul li:hover {
    transform: translateX(6px);
    color: var(--primary);
}

.service-card ul li i {
    color: var(--accent);
}

/* Botones con efectos */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::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;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 179, 200, 0.4);
}

.btn-success {
    background: var(--gradient-accent);
    border: none;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(136, 201, 166, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    transform: scale(1.02);
    background: white;
    color: var(--primary);
}

/* Banner de Oferta */
.banner-oferta {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.banner-oferta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1%, transparent 1%);
    background-size: 40px 40px;
    animation: gentleMove 30s linear infinite;
}

@keyframes gentleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.banner-oferta h2, 
.banner-oferta p {
    color: white !important;
}

.banner-oferta h2 {
    background: none;
    -webkit-text-fill-color: white;
}

/* Sección Nosotros */
#nosotros {
    background: var(--gray-light);
    position: relative;
}

#nosotros img {
    transition: all 0.5s ease;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

#nosotros img:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-lg);
}

/* Testimonios */
#testimonios {
    background: var(--gradient-light);
    position: relative;
}

.testimonial-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: var(--shadow);
}

/* Formulario de Contacto */
.form-control {
    border-radius: 16px;
    border: 2px solid #e8ecf0;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(122, 179, 200, 0.2);
    transform: translateY(-2px);
}

/* Botones Flotantes */
.float, .float2 {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}

.float {
    bottom: 40px;
    right: 40px;
    background: var(--gradient-accent);
}

.float2 {
    bottom: 120px;
    right: 40px;
    background: var(--gradient);
}

.float:hover, .float2:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.my-float {
    font-size: 28px;
    color: white;
}

/* Footer */
footer {
    background: var(--text-dark) !important;
    position: relative;
    overflow: hidden;
    color: rgba(255,255,255,0.9) !important;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
}

footer h3, footer h4 {
    color: white !important;
    background: none;
    -webkit-text-fill-color: white;
}

footer p, footer li {
    color: rgba(255,255,255,0.85) !important;
}

footer a {
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary) !important;
    transform: translateX(5px);
    display: inline-block;
    text-decoration: none;
}

/* Animaciones Generales */
.animate-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efecto de Partículas Suave */
.particle {
    position: fixed;
    pointer-events: none;
    background: radial-gradient(circle, var(--primary), transparent);
    border-radius: 50%;
    animation: gentleParticle 2s ease-out forwards;
    z-index: 9999;
}

@keyframes gentleParticle {
    0% {
        opacity: 0.5;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

/* ============================================
   ESTILOS ESPECÍFICOS PARA LA PÁGINA DE NEVERAS
   ============================================ */

.hero-nevera {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f2f9 100%);
    padding: 80px 0;
}

/* Iconos mejorados para servicios */
.service-icon-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon-circle {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #7ab3c8, #4a6fa5);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(74, 111, 165, 0.2);
}

.service-card:hover .service-icon-circle {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(74, 111, 165, 0.3);
}

.service-icon-circle i {
    font-size: 2.2rem;
    color: white;
}

.service-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #2c3e50;
}

.service-card ul {
    text-align: left;
    padding-left: 0.5rem;
}

.service-card ul li {
    margin-bottom: 0.7rem;
    color: #5a6e7e;
}

.service-card ul li i {
    color: #88c9a6;
    margin-right: 0.5rem;
}

/* Galería de trabajos */
.gallery-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.gallery-title {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 1.5rem 1rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: white;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Modal para ver imagen ampliada */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.image-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-modal .close-modal:hover {
    transform: scale(1.1);
    color: #7ab3c8;
}

/* Proceso de trabajo */
.process-step {
    display: flex;
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7ab3c8, #4a6fa5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-right: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.step-content p {
    color: #6c757d;
    margin-bottom: 0;
}

/* ============================================
   LLAMADOS A LA ACCIÓN PARA BOTONES FLOTANTES
   ============================================ */

/* Tooltip de llamada a la acción */
.action-tooltip {
    position: fixed;
    background: linear-gradient(135deg, #2c3e50, #1a2632);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1001;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    pointer-events: none;
    opacity: 0;
    transform: translateX(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.action-tooltip::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 8px 0;
    border-color: transparent #2c3e50 transparent transparent;
}

.action-tooltip i {
    font-size: 1.2rem;
}

.action-tooltip.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Animación de pulso para llamar la atención */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(136, 201, 166, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(136, 201, 166, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(136, 201, 166, 0);
    }
}

@keyframes pulse-ring-phone {
    0% {
        box-shadow: 0 0 0 0 rgba(122, 179, 200, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(122, 179, 200, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(122, 179, 200, 0);
    }
}

.float.pulse {
    animation: pulse-ring 1.5s infinite;
}

.float2.pulse {
    animation: pulse-ring-phone 1.5s infinite;
}

/* Badge de notificación */
.action-badge {
    position: fixed;
    bottom: 100px;
    right: 110px;
    background: #ff4757;
    color: white;
    border-radius: 50px;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 1002;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: bounce 1s ease infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-badge:hover {
    transform: scale(1.1);
    background: #e84118;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .carousel-item { height: 400px; }
    .carousel-caption { padding: 1.2rem !important; }
    .carousel-caption h2 { font-size: 1.8rem; }
    .carousel-caption p { font-size: 1rem; }
    .float, .float2 { width: 50px; height: 50px; }
    .float2 { bottom: 100px; }
    .my-float { font-size: 24px; }
    .hero-nevera { padding: 40px 0; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
    .action-tooltip { padding: 8px 15px; font-size: 0.8rem; white-space: nowrap; }
    .action-badge { bottom: 88px; right: 85px; padding: 3px 10px; font-size: 0.65rem; }
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
/* Control de imágenes en sección de proceso */
.process-image-box {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.process-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.process-image-box:hover img {
    transform: scale(1.03);
}

/* Para pantallas medianas */
@media (max-width: 992px) {
    .process-image-box {
        height: 300px;
    }
}

/* Para móviles */
@media (max-width: 768px) {
    .process-image-box {
        height: 220px;
    }
}