/* ==========================================================================
   GLOBAL VARIABLES & BRAND SYSTEM (BRANDING-EXECUTIVE-CLEANIING-SOLUTIONS.jpg)
   ========================================================================== */
:root {
    --bg-dark: #000000;         /* Pure Black */
    --card-bg: #0a0b0e;         /* Deep Onyx for premium contrast */
    --brand-red: #D61F29;       /* Executive Red */
    --brand-gold: #DCAC57;      /* Premium Gold Accent */
    --text-main: #FFFFFF;       /* Crisp White */
    --text-muted: #a0a5b5;      /* Slate Gray for high readability */
    --border-color: #1a1c23;    /* Subtle dark border */
    --accent-green: #34c759;    /* WhatsApp Green */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif; /* Primary & Secondary Brand Font */
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

/* Corporate Logo Typography Framework */
.logo-img {
    height: 90px; /* Controla la altura perfecta en el menú */
    width: auto;
    padding-left: 25px;
    object-fit: contain;
}

.logo-main span {
    color: var(--brand-red);
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--brand-red);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover { 
    color: var(--text-main); 
}

.cta-btn {
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.nav-cta { 
    background-color: var(--accent-green); 
}

.nav-cta:hover { 
    background-color: #2db34f; 
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 8%;
    background: radial-gradient(circle at top right, rgba(214, 31, 41, 0.08), transparent 60%);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-content h1 span { 
    color: var(--brand-red); 
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 2.5rem;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.btn-primary, .btn-whatsapp {
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-primary {
    background-color: var(--brand-red);
    color: var(--text-main);
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-primary:hover, .btn-whatsapp:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* ==========================================================================
   BENTO GRID SEGMENTATION
   ========================================================================== */
.segmentation-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-size: 1.1rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s, transform 0.3s;
}

.bento-card:hover {
    border-color: rgba(214, 31, 41, 0.4); /* Executive Red glow */
    transform: translateY(-2px);
}

.bento-card.large { 
    grid-column: span 2; 
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--brand-gold) !important;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--brand-gold) !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-icon {
    font-size: 2.2rem;
    color: var(--brand-red);
    margin-bottom: 1.2rem;
}

.bento-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.bento-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.ideal-for {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border-left: 3px solid var(--brand-gold); /* Premium Brand Gold Anchor */
}

.ideal-for strong { 
    color: var(--text-main); 
}

.card-link {
    color: var(--brand-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.card-link:hover { 
    gap: 0.8rem; 
}

/* ==========================================================================
   DETAILED SERVICES
   ========================================================================== */
.services-detail {
    padding: 5rem 5%;
    background-color: rgba(10, 11, 14, 0.6);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-box h4 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: var(--text-main);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.detail-box ul {
    list-style: none;
}

.detail-box li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.2rem;
}

.detail-box li::before {
    content: "•";
    color: var(--brand-red);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    top: -0.2rem;
}

/* ==========================================================================
   FAQ ACCORDION SYSTEM
   ========================================================================== */
.faq-section {
    padding: 6rem 5%;
    max-width: 850px;
    margin: 0 auto;
}

.faq-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--text-muted);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 1.5rem;
    background-color: rgba(0, 0, 0, 0.15);
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 1rem;
    padding-bottom: 1.5rem;
}

/* Active Accordion Classes triggered by Javascript */
.faq-item.active {
    border-color: var(--brand-red);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--brand-red);
}

/* ==========================================================================
   CONTACT FORM FRAMEWORK
   ========================================================================== */
.contact-section {
    padding: 6rem 5%;
    border-top: 1px solid var(--border-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 { 
    font-size: 2.8rem; 
    margin-bottom: 1.5rem; 
    letter-spacing: -0.8px;
}

.contact-info p { 
    color: var(--text-muted); 
    margin-bottom: 2.5rem; 
    font-size: 1.1rem; 
}

.info-item { 
    font-size: 1.1rem; 
    display: flex; 
    align-items: center; 
    gap: 1rem;
}

.info-item i { 
    color: var(--brand-red); 
}

.form-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 20px;
}

.form-group { 
    margin-bottom: 1.5rem; 
}

.form-group label { 
    display: block; 
    margin-bottom: 0.5rem; 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--brand-red);
}

.submit-btn {
    width: 100%;
    background-color: var(--brand-red);
    color: var(--text-main);
    border: none;
    padding: 1.1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.submit-btn:hover { 
    opacity: 0.9; 
}

/* ==========================================================================
   SEO LOCAL GATEWAYS LINKS
   ========================================================================== */
.locations-section {
    text-align: center;
    padding: 5rem 5%;
    background-color: rgba(10, 11, 14, 0.4);
    border-top: 1px solid var(--border-color);
}

.locations-section h2 { 
    margin-bottom: 0.8rem; 
    font-size: 2rem;
}

.locations-section p { 
    color: var(--text-muted); 
    margin-bottom: 2.5rem; 
}

.location-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
}

.location-links a {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.8rem;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s;
}

.location-links a:hover {
    border-color: var(--brand-gold);
    background-color: rgba(220, 172, 87, 0.05); /* Premium Gold translucent glow */
}

/* ==========================================================================
   FLOATING ACTION HOOKS
   ========================================================================== */
.whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    text-decoration: none;
    z-index: 1000;
    transition: transform 0.2s;
}

.whatsapp-floating:hover { 
    transform: scale(1.1); 
}

/* ==========================================================================
   NEW EXECUTIVE FOOTER STYLES
   ========================================================================== */
.main-footer {
    background-color: #050608; /* Un tono ligeramente arriba del negro puro para dar profundidad */
    border-top: 1px solid var(--border-color);
    padding: 5rem 5% 2rem 5%;
    color: var(--text-main);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr; /* Estructura balanceada de 3 columnas */
    gap: 4rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Línea sutil decorativa roja debajo de los títulos del footer */
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--brand-red);
}

/* Column 1: Brand details */
.footer-logo {
    height: 55px;
    width: auto;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.footer-brand-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 340px;
}

/* Estilo para el enlace de la agencia en el copyright */
.designer-link {
    color: var(--brand-gold); /* Usamos tu oro oficial para darle un toque sutil y elegante */
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.designer-link:hover {
    color: var(--brand-red); /* Cambia a rojo al pasar el cursor */
}
/* Rediseño de Redes Sociales (Premium Dark con hover Rojo) */
.footer-socials {
    display: flex;
    gap: 0.8rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    transform: translateY(-3px);
}

/* Column 2: Contact List */
.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact-list li i {
    color: var(--brand-red); /* Iconos de contacto en Rojo Oficial */
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

/* Column 3: Hours List */
.footer-hours-list {
    list-style: none;
}

.footer-hours-list li {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.footer-hours-list .day {
    font-weight: 700;
    color: var(--text-main);
}

.footer-hours-list .time {
    color: var(--text-muted);
}

/* Detalle premium para el Domingo en Oro basado en tu Brand Board */
.footer-hours-list .highlight-gold {
    color: var(--brand-gold);
    font-weight: 500;
}

/* Bottom Copyright Bar */
.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR FOOTER
   ========================================================================== */
@media (max-width: 968px) {
    .footer-container {
        grid-template-columns: 1fr 1fr; /* Pasa a 2 columnas en tablets */
        gap: 3rem;
    }
    .brand-col {
        grid-column: span 2; /* El logo y texto ocupan el ancho completo arriba */
    }
}

@media (max-width: 580px) {
    .footer-container {
        grid-template-columns: 1fr; /* 1 sola columna en móviles */
        gap: 2.5rem;
    }
    .brand-col {
        grid-column: span 1;
    }
    .main-footer {
        padding: 4rem 5% 2rem 5%;
    }
}
/* ==========================================================================
   RESPONSIVE LAYOUT SYSTEM
   ========================================================================== */
@media (max-width: 968px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.large { grid-column: span 1; }
    .services-detail-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; gap: 3rem; }
    .location-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .navbar { flex-direction: column; gap: 1rem; }
    .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: center;}
    .hero-content h1 { font-size: 2.6rem; }
    .location-links { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; gap: 0.8rem; }
}