/* ===============================
   TÍTULOS Y ENCABEZADOS DE SECCIÓN
================================ */

.section-head {
    margin-bottom: 40px;
}

.section-head h2 {
    margin-bottom: 10px;
}

.section-head p {
    max-width: 720px;
}


/* ===============================
   SEPARADORES / BLOQUES
================================ */

.divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 40px 0;
}


/* ===============================
   GRIDS
================================ */

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}


/* ===============================
   CARDS (GENÉRICAS)
================================ */

.card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    transition: all 0.22s ease;
}

.card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.card p {
    margin-bottom: 0;
}


/* ===============================
   ÍCONOS / BLOQUES DE BENEFICIOS
================================ */

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: #ffffff;
}

.feature-content h3 {
    margin-bottom: 6px;
}


/* ===============================
   CHIPS / BADGES
================================ */

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background-color: var(--color-light);
    color: var(--color-dark);
    font-size: 0.85rem;
    border: 1px solid #e5e7eb;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* ===============================
   PRODUCT CARD (CATÁLOGO / DESTACADOS)
================================ */

.product-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.22s ease;
}

.product-card:hover {
    border-top-color: var(--color-accent);
    border-color: #d1d5db;
    border-top-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.product-card__img {
    background-color: #ffffff;
    padding: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card__img img {
    max-height: 200px;
    width: auto;
}

.product-card__body {
    padding: 18px;
}

.product-card__title {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--color-primary);
    font-weight: 700;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-actions .btn-primary,
.product-actions .btn-secondary {
    padding: 10px 16px;
    border-radius: 6px;
}


/* ===============================
   FORMULARIOS (BASE)
================================ */

.form {
    display: grid;
    gap: 14px;
}

.input,
.select,
.textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: var(--color-dark);
    outline: none;
    transition: 0.2s ease;
}

.input::placeholder,
.textarea::placeholder {
    color: #9ca3af;
    opacity: 0.58;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11, 60, 93, 0.12);
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}


/* ===============================
   UTILIDADES
================================ */

.muted {
    color: var(--color-gray);
}

.center {
    text-align: center;
}

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }


/* ===============================
   RESPONSIVE COMPONENTS
================================ */

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

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

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