/*
Theme Name: Impreza
Description: Multi-Purpose WordPress Theme.
Version: 8.30
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
License: Themeforest Split Licence
License URI: -
Text Domain: us
Domain Path: /common/languages
*/
#homePhones *, #homePhones *::before, #homePhones *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#homePhones {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #f0f4f8;
    padding: 2.5rem 1.5rem;
    color: #1e293b;
}

#homePhones > .l-section-h:first-of-type {
    margin: 0 auto;
}

#homePhonesContainer {
    margin: 0 auto;
}

#homePhones h2, #homePhones h3 {
    text-align: center;
}

#homePhones .page-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

#homePhones .page-title span {
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    color: #64748b;
    margin-top: 0.35rem;
    letter-spacing: 0;
}

/* ── Sección ── */
#homePhones .section {
    max-width: 1100px;
    margin: 0 auto 3rem;
}

#homePhones .section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

#homePhones .section-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

#homePhones .section-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

#homePhones .section-line {
    flex: 1;
    height: 2px;
    border-radius: 2px;
}

/* Llamadas – azul */
#homePhones .section--calls {
    margin-top: 50px;
}
#homePhones .section--calls .section-icon { background: #d6edf7; color: #56a7d0; }
#homePhones .section--calls .section-header h2 { color: #56a7d0; }
#homePhones .section--calls .section-line { background: #a8d4ea; }

/* WhatsApp – verde */
#homePhones .section--whatsapp .section-icon { background: #dcfce7; color: #15803d; }
#homePhones .section--whatsapp .section-header h2 { color: #15803d; }
#homePhones .section--whatsapp .section-line { background: #bbf7d0; }

/* ── Grid ── */
#homePhones .contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

/* ── Tarjeta ── */
#homePhones .card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.4rem 1.2rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 12px rgba(0,0,0,.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

#homePhones .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

#homePhones .card-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

#homePhones .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
}

.card-phones {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: auto;
}

#homePhones .card-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.97rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    padding: 0.4rem 0.65rem;
    transition: background 0.15s;
}

#homePhones .card-phone svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* colores de teléfono por sección */
#homePhones .section--calls .card-phone {
    color: #56a7d0;
    background: #eaf5fb;
}
#homePhones .section--calls .card-phone:hover { background: #d6edf7; }

#homePhones .section--whatsapp .card-phone {
    color: #15803d;
    background: #f0fdf4;
}
#homePhones .section--whatsapp .card-phone:hover { background: #dcfce7; }

/* ── Responsivo ── */
@media (max-width: 900px) {
    #homePhones .contacts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    #homePhones .contacts-grid { grid-template-columns: 1fr; }
    #homePhones .page-title { font-size: 1.4rem; }
}