body {
    background: var(--bg);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* Viewport-sized radials that fade all the way out (no flat cutoff), so the
       tint is a smooth wash across the whole screen instead of a hard band that
       lands between two sections. Fixed, so it doesn't move with scroll. */
    background: radial-gradient(1200px 600px at 65% -10%, rgba(47, 111, 237, .12), transparent 60%),
        radial-gradient(900px 500px at 8% 12%, rgba(139, 92, 246, .08), transparent 60%),
        radial-gradient(1000px 600px at 95% 55%, rgba(16, 185, 129, .06), transparent 60%),
        radial-gradient(900px 600px at 30% 95%, rgba(245, 158, 11, .06), transparent 60%),
        var(--bg);
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .75);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    align-items: center;
}

.hero-copy {
    padding: 26px 0;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(47, 111, 237, .18);
    background: rgba(255, 255, 255, .7);
    color: #1d4ed8;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 14px;
}

.hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 3.5vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.8px;
}

.hero h1 .accent {
    color: var(--primary);
}

.hero p {
    margin: 0 0 22px;
    color: var(--muted);
    max-width: 54ch;
    font-size: 15px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-media {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(246, 248, 251, .0) 55%, rgba(246, 248, 251, .08) 100%);
    pointer-events: none;
}

/* ==================== 
   FEATURES SECTION
==================== */

.features {
    padding: 16px 0 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid rgba(230, 234, 241, .9);
    border-radius: var(--r-md);
    padding: 28px 22px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Color de acento por tarjeta (paleta multicolor suave). */
.feature-card { --fc: var(--rgb-blue); }
.feature-card:nth-child(2) { --fc: var(--rgb-teal); }
.feature-card:nth-child(3) { --fc: var(--rgb-amber); }
.feature-card:nth-child(4) { --fc: var(--rgb-violet); }

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(var(--fc), .3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(var(--fc), .16), rgba(var(--fc), .08));
    border: 1px solid rgba(var(--fc), .18);
    display: grid;
    place-items: center;
    color: rgb(var(--fc));
    font-weight: 800;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(var(--fc), 1), rgba(var(--fc), .78));
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

.feature-icon .material-icons {
    font-size: 30px;
    line-height: 1;
    display: inline-block;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    letter-spacing: -.2px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.brands {
    padding: 26px 0 6px;
}

.brands-inner {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 16px;
}

.brand-logos {
    display: flex;
    gap: 26px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 8px;
}

.brand-logo {
    height: 32px;
    width: auto;
    filter: grayscale(1) brightness(1.2);
    opacity: .8;
    transition: filter .2s ease, opacity .2s ease;
}
.brand-logo.hp {
    height: 50px;
}

.brand-logo:hover {
    filter: none;
    opacity: 1;
}

.brand-pill {
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
    font-weight: 800;
    letter-spacing: .2px;
    color: #0b2a66;
    min-width: 120px;
}

.shop-section {
    padding: 40px 0;
}

.shop-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(230, 234, 241, .9);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
}

.shop-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.shop-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shop-content h2 {
    margin: 0 0 12px;
    font-size: 30px;
    letter-spacing: -0.6px;
    line-height: 1.15;
}

.shop-content h2 .accent {
    color: var(--primary);
}

.shop-content p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 62ch;
}

.shop-media {
    min-height: 340px;
    border-radius: 0 26px 26px 0;
    overflow: hidden;
}

.shop-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* El botón se estiraba a todo el ancho (shop-content es flex column). */
.shop-content .btn {
    align-self: flex-start;
}

/* ====================
   CHECK-LIST (lista de beneficios/certificaciones, sin fondo ni borde)
==================== */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 4px 0 22px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fg, #1b2431);
}

.check-list .material-icons {
    font-size: 18px;
    color: rgb(var(--fc, var(--rgb-blue)));
}

/* ====================
   SECTION HEAD (encabezado centrado reutilizable)
==================== */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
}

.section-head h2 {
    margin: 0 0 10px;
    font-size: 30px;
    letter-spacing: -0.6px;
    line-height: 1.15;
}

.section-head h2 .accent {
    color: var(--primary);
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ====================
   NUESTROS SERVICIOS (tarjetas con link a cada página)
==================== */
.services-nav {
    padding: 44px 0 24px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Cada tarjeta usa el color de marca de la página a la que enlaza:
   1) Servicio Técnico → coral · 2) Costo por Copia → azul · 3) Consultar reparación → violeta. */
.service-card {
    --fc: var(--rgb-coral);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(230, 234, 241, .9);
    border-radius: var(--r-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:nth-child(2) { --fc: var(--rgb-cyan); }
.service-card:nth-child(3) { --fc: var(--rgb-violet); }

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(var(--fc), .3);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(var(--fc), .16), rgba(var(--fc), .08));
    border: 1px solid rgba(var(--fc), .18);
    color: rgb(var(--fc));
    font-size: 30px;
    margin-bottom: 16px;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, rgba(var(--fc), 1), rgba(var(--fc), .78));
    border-color: transparent;
    color: #fff;
}

.service-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: -.2px;
}

.service-card p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.service-card-link {
    color: rgb(var(--fc));
    font-weight: 700;
    font-size: 14px;
}

.service-card:hover .service-card-link {
    text-decoration: underline;
}

/* ====================
   SEGUIMIENTO DE REPARACIONES (CTA a la consulta online)
==================== */
.repair-cta {
    padding: 24px 0;
}

.repair-cta-card {
    --fc: var(--rgb-violet);
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    border-radius: var(--r-lg);
    background:
        linear-gradient(135deg, rgba(var(--fc), .10), rgba(var(--fc), .04));
    border: 1px solid rgba(var(--fc), .20);
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
}

.repair-cta-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.repair-cta-icon {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(var(--fc), 1), rgba(var(--fc), .78));
    color: #fff;
    font-size: 34px;
}

.repair-cta-content {
    flex: 1;
    min-width: 0;
}

.repair-cta-kicker {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(var(--fc), .14);
    color: rgb(var(--fc));
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .2px;
    margin-bottom: 8px;
}

.repair-cta-content h2 {
    margin: 0 0 6px;
    font-size: 24px;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.repair-cta-content h2 .accent {
    color: rgb(var(--fc));
}

.repair-cta-content p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 60ch;
}

.repair-cta-btn {
    flex: none;
}

@media (max-width: 780px) {
    .repair-cta-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
        padding: 24px;
    }

    .repair-cta-btn {
        align-self: stretch;
        text-align: center;
    }
}

/* ====================
   IMPRESIÓN ECOLÓGICA
==================== */
.eco-section {
    padding: 24px 0 40px;
}

.eco-card {
    --fc: var(--rgb-teal);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(230, 234, 241, .9);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
}

.eco-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.eco-media {
    height: 100%;
    min-height: 340px;
}

.eco-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eco-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eco-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--fc), .22);
    background: rgba(var(--fc), .1);
    color: rgb(var(--fc));
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 14px;
}

.eco-kicker .material-icons {
    font-size: 16px;
}

.eco-content h2 {
    margin: 0 0 12px;
    font-size: 30px;
    letter-spacing: -0.6px;
    line-height: 1.15;
}

.eco-content h2 .accent {
    color: rgb(var(--fc));
}

.eco-content > p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 62ch;
}

.eco-stats {
    display: flex;
    margin: 4px 0 24px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.eco-stat {
    flex: 1;
    text-align: center;
    padding: 0 12px;
}

.eco-stat:not(:last-child) {
    border-right: 1px solid var(--border);
}

.eco-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: rgb(var(--fc));
    letter-spacing: -0.6px;
    line-height: 1.1;
}

.eco-stat span {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.35;
    margin-top: 4px;
}

.eco-case {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 22px;
}

.eco-case strong {
    color: var(--fg, inherit);
}

/* ====================
   ¿POR QUÉ ELEGIRNOS? (diferenciales)
==================== */
.why-us {
    padding: 40px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.why-item {
    --fc: var(--rgb-blue);
    text-align: center;
    padding: 20px 16px;
}

.why-item:nth-child(2) { --fc: var(--rgb-teal); }
.why-item:nth-child(3) { --fc: var(--rgb-amber); }
.why-item:nth-child(4) { --fc: var(--rgb-violet); }

.why-item .material-icons {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    background: rgba(var(--fc), .12);
    color: rgb(var(--fc));
    font-size: 32px;
}

.why-item h3 {
    margin: 0 0 6px;
    font-size: 16px;
    letter-spacing: -.2px;
}

.why-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.55;
}

.panel h2 {
    margin: 0 0 12px;
    font-size: 30px;
    letter-spacing: -0.6px;
    line-height: 1.15;
}

.panel h2 .accent {
    color: var(--primary);
}

.panel p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 62ch;
}

.media {
    border-radius: var(--r-lg);
    overflow: hidden;
    min-height: 340px;
    box-shadow: var(--shadow);
    background:
        radial-gradient(700px 420px at 20% 30%, rgba(255, 255, 255, .40), transparent 60%),
        linear-gradient(135deg, rgba(47, 111, 237, .35), rgba(91, 139, 255, .20)),
        url("products.jpg") center/cover no-repeat;
}

.contact {
    padding: 18px 0 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.contact-card {
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(230, 234, 241, .9);
    border-radius: var(--r-lg);
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.contact-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: -0.2px;
}

.contact-card p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.contact-items {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(248, 250, 252, .9);
}

.dot {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #0b2a66;
}

.dot.whatsapp {
    background: rgba(34, 197, 94, .14);
    border: 1px solid rgba(34, 197, 94, .22);
}

.dot.phone {
    background: rgba(59, 130, 246, .14);
    border: 1px solid rgba(59, 130, 246, .22);
}

.dot.pin {
    background: rgba(47, 111, 237, .10);
    border: 1px solid rgba(47, 111, 237, .18);
}

.map {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(230, 234, 241, .9);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .06), rgba(15, 23, 42, .02)),
        url("map.jpg") center/cover no-repeat;
    min-height: 340px;
}



@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    /* En mobile la caja se ajusta a la imagen; el min-height dejaba un hueco
       en blanco debajo (la imagen es más baja que 340px). */
    .hero-media {
        min-height: 0;
    }

    .hero-media img {
        width: 100%;
        border-radius: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .split-grid {
        grid-template-columns: 1fr;
    }

    .shop-card {
        grid-template-columns: 1fr;
    }

    /* Apilada, la caja se ajusta a la imagen: el min-height 340px dejaba un
       hueco en blanco debajo (la imagen a lo ancho es más baja que 340px). */
    .shop-media {
        min-height: 0;
    }

    .eco-card {
        grid-template-columns: 1fr;
    }

    .eco-media {
        min-height: 0;
        max-height: 200px;
    }

    .eco-content {
        padding: 24px;
    }

    .eco-kicker {
        margin-bottom: 10px;
    }

    .eco-content h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .eco-content > p {
        margin-bottom: 16px;
    }

    .eco-stats {
        margin: 0 0 16px;
        padding: 14px 0;
    }

    .eco-stat strong {
        font-size: 22px;
    }

    .check-list {
        gap: 8px;
        margin: 0 0 16px;
    }

    .eco-case {
        margin-bottom: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .liquid-bg .blob {
        width: 900px;
        height: 900px;
        filter: blur(130px);
    }
}

@media (max-width: 520px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .eco-stat {
        padding: 0 6px;
    }

    .eco-stat strong {
        font-size: 18px;
    }

    .eco-stat span {
        font-size: 10px;
    }

    .panel {
        padding: 26px;
    }

    .contact-card {
        padding: 24px;
    }
}