/*
Theme Name: Cleaning Theme
Version: 2.1 - Pixel Perfect Fix
*/

/* =========================================
   1. RESET Y ESTILOS GLOBALES
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #5a607c;
    background-color: #f8f9fc;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* =========================================
   2. HEADER
   ========================================= */

.site-header {
    background-color: #1e3a8a;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 45px;
    width: auto;
}

.header-nav .header-menu {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.header-nav .header-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.header-nav .header-menu li a:hover {
    opacity: 0.8;
}

.header-actions {
    display: flex;
    gap: 14px;
}

/* Botones globales */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-login {
    background-color: transparent;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-login:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.btn-book {
    background: linear-gradient(135deg, #4cc9f0 0%, #3ab5dc 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(76, 201, 240, 0.3);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(76, 201, 240, 0.4);
}


/* =========================================
   HEADER DROPDOWN
   ========================================= */

/* Necesario para posicionar el submenu */
.header-nav .header-menu li {
    position: relative;
}

/* SUBMENU */
.header-nav .header-menu .sub-menu {
    position: absolute;
    top: 120%;
    left: 0;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;

    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999;
}

/* Items internos */
.header-nav .header-menu .sub-menu li {
    padding: 0;
}

.header-nav .header-menu .sub-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #1e3a8a;
    white-space: nowrap;
    transition: background 0.2s ease;
}

/* Hover item */
.header-nav .header-menu .sub-menu li a:hover {
    background: #f3f6fb;
}

/* Mostrar al hacer hover */
.header-nav .header-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-nav .menu-item-has-children > a::after {
    content: " ▾";
    font-size: 12px;
}

/* =========================================
   3. HERO SECTION - CORREGIDO
   ========================================= */

.home-hero {
    position: relative;
    /* Fondo azul más claro como en imagen objetivo */
    background: linear-gradient(135deg, #5fa8e8 0%, #4a9bcf 50%, #3a8fc7 100%);
    padding: 90px 0 50px; /* Más padding inferior */
    overflow: visible; /* Importante: permitir que cards sobresalgan */
}

/* Overlay de textura de casa */
.home-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/home-hero-main.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25; /* Más visible que antes */
    z-index: 0;
}

/* Elementos decorativos */
.deco-circle {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 50px;
    left: 6%;
    z-index: 1;
}

.deco-stars {
    position: absolute;
    top: 80px;
    right: 10%;
    color: rgba(255,255,255,0.7);
    font-size: 28px;
    z-index: 1;
    letter-spacing: 8px;
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

/* TÍTULO CORREGIDO - Como en imagen objetivo */
.home-hero__title {
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.home-hero__title {
    color: #ffffff; /* Primera línea blanca */
}

.home-hero__title span {
    color: #1e3a8a; /* Azul oscuro */
}

.home-hero__text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.92);
    margin-bottom: 0;
    max-width: 500px;
}

/* Imagen del hero - MÁS GRANDE */
.home-hero__image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
}

.hero-bucket-img {
    width: 100%;
    max-width: 520px; /* Más grande */
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.25));
    transform: translateY(-15px);
}

/* =========================================
   4. CARDS FLOTANTES - CORREGIDO
   ========================================= */

.home-overlap-cards {
    position: relative;
    margin-top: -83px; /* Más overlap */
    z-index: 10;
    padding-bottom: 90px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    justify-content: center; /* centra el grupo */
    gap: 12px;
}

/* CARDS CORREGIDAS - Fondo gris claro como objetivo */
.info-card {
    background: #f5f7fa; /* Gris claro, no blanco puro */
    padding: 20px 32px;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06); /* Sombra más suave */
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid rgba(255,255,255,0.6); /* Borde sutil */
    width: 300px;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.1);
    background: #ffffff; /* Blanco al hover */
}

.info-card__icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-card__content h3 {
    color: #1e3a8a;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.info-card__content p {
    font-size: 13px;
    color: #6e7592;
    line-height: 1.65;
}

/* =========================================
   5. COMPLETE HOUSE SOLUTIONS - MANO GRANDE SALIENDO
   ========================================= */

.home-solutions {
    padding: 60px 0 0; /* SIN padding bottom - la mano lo crea */
    background-color: #f5f7fa;
    position: relative;
    margin-bottom: 0; /* Pegado a siguiente sección */
}

.home-solutions__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 40px; /* Espacio interno mínimo */
}

.home-solutions__content {
    padding-right: 40px;
}

.home-solutions__content h2 {
    font-size: clamp(28px, 3.2vw, 38px);
    color: #1e3a8a;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 18px;
}

.home-solutions__content h2 span {
    color: #4cc9f0;
    display: block;
}

.home-solutions__content p {
    font-size: 14px;
    color: #5a607c;
    line-height: 1.7;
    max-width: 480px;
}

.home-solutions__image {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    min-height: 380px; /* Altura mínima para la imagen */
}

.home-solutions__image img {
    width: 100%;
    max-width: 500px; /* MÁS GRANDE */
    filter: drop-shadow(0 20px 35px rgba(0,0,0,0.15));
    position: relative;
    z-index: 5;
    /* La imagen debe extenderse hacia abajo */
    margin-bottom: -120px; /* SALE hacia la sección azul de abajo */
}

/* =========================================
   6. WHY CHOOSE US SECTION - RECIBE LA MANO DE ARRIBA
   ========================================= */

.home-why {
    padding: 140px 0 90px; /* MÁS padding top para la mano */
    background-color: #1e3a8a;
    color: #ffffff;
    position: relative;
    z-index: 1; /* Debajo de la mano */
}

.home-why__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.home-why__visuals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.why-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-media {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.why-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tall-media {
    height: 300px;
}

.why-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.luxury-card {
    background: linear-gradient(135deg, #4cc9f0 0%, #3ab5dc 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.luxury-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
}

.luxury-card h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.luxury-card h4 span {
    font-weight: 400;
}

.icon-only-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f8f9fc;
}

.icon-only-card img {
    width: 80px;
    height: 80px;
}

.home-why__content h2 {
    font-size: clamp(38px, 4.2vw, 52px);
    font-weight: 700;
    margin-bottom: 24px;
}

.home-why__content h2 span {
    color: #4cc9f0;
}

.why-intro {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.why-list {
    list-style: none;
    margin-bottom: 34px;
}

.why-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.why-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4cc9f0;
    font-weight: bold;
    font-size: 18px;
}

.why-footer-text {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 34px;
    opacity: 0.92;
}

.btn-primary {
    background: linear-gradient(135deg, #4cc9f0 0%, #3ab5dc 100%);
    color: #fff;
    padding: 13px 34px;
    font-size: 15px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(76, 201, 240, 0.4);
}

/* =========================================
   7. BLUE BANNER (Luxury Experience)
   ========================================= */

.pd {
    padding: 90px 0;
}

.blue-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 28px;
    padding: 65px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 45px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.25);
}

.banner-content h2 {
    font-size: clamp(34px, 3.8vw, 46px);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 22px;
}

.banner-content .light-blue {
    color: #4cc9f0;
}

.banner-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.92);
    line-height: 1.75;
    margin-bottom: 30px;
}

.banner-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.basket-img {
    width: 100%;
    max-width: 360px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

/* =========================================
   8. LUXURY SERVICES SECTION - DISEÑO VERTICAL CON BORDE AZUL
   ========================================= */

.luxury-services-section {
    padding: 80px 0 90px;
    background-color: #f5f7fa;
    position: relative;
    overflow: visible; /* Permitir iconos fuera del contenedor */
}

/* Burbujas decorativas - opcional */
.luxury-services-section::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 50%;
    top: 80px;
    left: 40px;
    z-index: 0;
}

.luxury-services-section::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(76, 201, 240, 0.08);
    border-radius: 50%;
    top: 200px;
    left: 20px;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 85px; /* Más espacio para los iconos flotantes */
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: clamp(32px, 3.8vw, 44px);
    color: #1e3a8a;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 22px;
}

.section-header .highlight {
    color: #4cc9f0;
}

.section-header p {
    font-size: 14px;
    color: #5a607c;
    line-height: 1.75;
    max-width: 900px;
    margin: 0 auto;
}

/* GRID DE 4 COLUMNAS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* CARDS VERTICALES CON BORDE AZUL E ICONOS FLOTANTES */
.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 4px solid #3a9dd0; /* BORDE AZUL IZQUIERDO */
    overflow: visible; /* Importante para iconos flotantes */
    position: relative;
    margin-top: 40px; /* Espacio para el icono flotante */
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    border-left-color: #4cc9f0;
}

/* Contenido de la card */
.card-content {
    padding: 50px 24px 24px; /* Más padding top para el icono */
    display: flex;
    flex-direction: column;
}

/* ICON BOX FLOTANTE - LA CLAVE */
.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4cc9f0 0%, #3ab5dc 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    
    /* Flotante arriba de la card */
    position: absolute;
    top: -35px; /* Sale 35px arriba de la card */
    left: 65%; /* Alineado con el padding del contenido */
    
    /* Sombra para efecto flotante */
    box-shadow: 0 8px 20px rgba(58, 157, 208, 0.35);
    

    
    z-index: 2;
}

.icon-box img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1); /* Icono blanco */
}

/* Título */
.card-content h3 {
    font-size: 18px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-content .text-blue {
    color: #4cc9f0;
    display: block;
}

/* Texto descriptivo */
.card-content p {
    font-size: 13px;
    color: #6e7592;
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Imagen abajo */
.card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-top: auto;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* Sin border-radius en la imagen */
}

/* =========================================
   10. OUR SERVICES AREAS SECTION
   ========================================= */

.service-areas-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.service-areas__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Columna izquierda - Título y ciudades */
.service-areas__content h2 {
    font-size: clamp(32px, 3.5vw, 42px);
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 35px;
}

.service-areas__content h2 span {
    color: #4cc9f0;
}

/* Grid de ciudades en 2 columnas */
.cities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 30px;
    margin-bottom: 35px;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #5a607c;
}

.city-item::before {
    content: "✓";
    width: 24px;
    height: 24px;
    background: #4cc9f0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

/* Botón de Service Areas */
.btn-service-areas {
    display: inline-flex;
    padding: 13px 32px;
    background-color: #1e3a8a;
    color: #ffffff;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-service-areas:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.3);
}

/* Columna derecha - Mapa */
.service-areas__map {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-areas__map img {
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* =========================================
   11. FOOTER
   ========================================= */

.site-footer {
    background-color: #1e3a8a;
    color: #ffffff;
}

/* Footer superior con columnas */
.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-top__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1.3fr;
    gap: 40px;
}

/* Logo y descripción */
.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

/* Columnas de enlaces */
.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4cc9f0;
}

/* Columna de suscripción */
.footer-subscribe h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-subscribe p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Formulario de newsletter */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: #4cc9f0;
    background: rgba(255,255,255,0.15);
}

.btn-subscribe {
    padding: 12px 24px;
    background: #4cc9f0;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: #3ab5dc;
    transform: translateY(-2px);
}

/* Disclaimer del newsletter */
.newsletter-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #4cc9f0;
    transform: translateY(-3px);
}

/* Footer inferior - Copyright */
.footer-bottom {
    padding: 25px 0;
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.footer-legal {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #4cc9f0;
}

/* =========================================
   12. RESPONSIVE - SERVICE AREAS Y FOOTER
   ========================================= */

@media (max-width: 1024px) {
    .service-areas__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-areas__map {
        order: -1; /* Mapa arriba en tablet */
    }
    
    .footer-top__inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .footer-subscribe {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top__inner {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-subscribe {
        grid-column: span 1;
    }
    
    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .service-areas-section {
        padding: 60px 0;
    }
    
    .footer-top {
        padding: 50px 0 30px;
    }
}






