:root {
    --btn-shadow: #ea7b7b50;
    --btn-highlight: #EA7B7B;
    --local-primary: #ec6b55;
    --rgb-coral: 236, 107, 85;
}

/* Cambiar colores de hero */
.liquid-bg {
    --hero-a: #ec6b55; 
    --hero-b: #e8a14b; 
}

.accent {
    color: var(--local-primary) !important;
}


.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

/* GLASS BUTTON */
.glass-btn:hover {
    transform: translateY(-2px);
    color: var(--btn-highlight);
    box-shadow: 0 8px 16px var(--btn-shadow);
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section.light {
    background: var(--bg);
}

.section h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.lead {
    color: var(--muted);
    max-width: 640px;
    margin-bottom: 48px;
}

/* FEATURES */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

/* Color de acento por tarjeta (misma lógica que la front-page; lidera el coral de la página). */
.feature-card { --fc: var(--rgb-coral); }
.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 {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .1);
}

.feature-card span {
    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;
}

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

/* PROCESS */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
}

.process-list span {
    color: var(--local-primary);
}

.process-image {
    height: 360px;
    border-radius: 28px;
    background: linear-gradient(135deg, #e3ebff, #f7f9ff);
    overflow: hidden;
}

/* La imagen llena el contenedor sin deformarse (antes usaba object-fit: fill). */
.process-image img.process-image {
    width: 100%;
    object-fit: cover;
}

/* POST WARRANTY */
.post-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.logo-marca {
    max-width: 150px;
    margin-bottom: 16px;
}

.brand-cards {
    display: grid; 
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.brand-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border);
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.brand-card h3 {
    margin-bottom: 8px;
}

.brand-card a {
    color: var(--local-primary);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* CONSULTAR REPARACIÓN (banda CTA) */
.repair-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 36px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
}

.repair-cta-text h2 {
    margin: 0 0 6px;
}

.repair-cta-text p {
    margin: 0;
    color: var(--muted);
}

.repair-cta .btn-primary {
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .repair-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .hero-grid,
    .process-grid,
    .post-grid {
        grid-template-columns: 1fr;
    }

    .brand-cards {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .glass-btn {
        font-size: 14px;
        padding: 12px 24px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .process-list li {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .process-list span {
        min-width: 24px;
    }

    .logo-marca {
        max-width: 120px;
    }

    .brand-card {
        padding: 16px;
    }

    .accordion-header {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .data-list li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
        padding-left: 1.5rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .lead {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-card span {
        font-size: 28px;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .process-list li {
        font-size: 13px;
        gap: 8px;
        margin-bottom: 10px;
    }

    .process-image {
        height: 240px;
        border-radius: 16px;
    }

    .logo-marca {
        max-width: 100px;
    }

    .brand-card {
        padding: 12px;
    }

    .brand-card p {
        font-size: 13px;
    }

    .accordion-header {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .chevron-icon {
        font-size: 1rem;
    }

    .data-list {
        padding: 0.75rem 0.5rem;
    }

    .data-list li {
        font-size: 0.8rem;
        padding-left: 1.25rem;
    }

    .form-container {
        padding: 24px 12px;
    }

    .form-title {
        font-size: 22px;
    }
}

.info-accordion {
    margin: 1.5rem 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.75rem;
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.chevron-icon {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.accordion-header[aria-expanded="true"] .chevron-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.data-list {
    list-style: none;
    padding: 1rem 0.75rem;
    margin: 0;
}

.data-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.9rem;
}

.data-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.btn-primary {
    margin-top: 6px;
}