/* === VIGAS PVC — vigas-pvc.html === */

.intro-product-img { border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.intro-img-wrapper { position: relative; display: inline-block; width: 100%; }
.product-badge { position: absolute; top: 16px; left: 16px; background-color: #89d32a; color: #222f5a; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 14px; border-radius: 4px; z-index: 2; }

@media (max-width: 575px) {
    .feature-box-two { margin-bottom: 20px; }
    .features-col-fix { flex: 0 0 100%; max-width: 100%; }
}
.features-col-fix .feature-box-two .icon i { font-size: 28px !important; }

.specs-section { background-color: #f8f9fa; }
.specs-table-wrapper { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.07); }
.specs-table-wrapper table { width: 100%; margin-bottom: 0; border-collapse: collapse; }
.specs-table-wrapper table thead th { background-color: #222f5a; color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 12px 16px; border: none; }
.specs-table-wrapper table tbody tr { border-bottom: 1px solid #f0f0f0; transition: background 0.15s; }
.specs-table-wrapper table tbody tr:last-child { border-bottom: none; }
.specs-table-wrapper table tbody tr:hover { background-color: #f5faec; }
.specs-table-wrapper table tbody td { padding: 13px 16px; font-size: 14px; vertical-align: middle; border: none; }
.specs-table-wrapper table tbody td:first-child { color: #555; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.specs-table-wrapper table tbody td:first-child i { color: #89d32a; font-size: 15px; width: 18px; flex-shrink: 0; }
.specs-table-wrapper table tbody td:last-child { color: #222; font-weight: 600; text-align: right; }
@media (max-width: 480px) {
    .specs-table-wrapper table tbody td:first-child { width: 100%; }
    .specs-table-wrapper table, .specs-table-wrapper table tbody, .specs-table-wrapper table tbody tr, .specs-table-wrapper table tbody td { display: block; width: 100%; }
    .specs-table-wrapper table tbody tr { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
    .specs-table-wrapper table tbody td:first-child i { font-size: 20px !important; width: 24px; }
    .specs-table-wrapper table tbody td:last-child { text-align: left; padding-top: 4px; padding-left: 48px; font-size: 16px; font-weight: 700; color: #222f5a; }
    .specs-table-wrapper table thead { display: none; }
}

.modelos-seccion { background-color: #f8faf9; }
.modelos-grupo-titulo { font-size: 17px; font-weight: 700; color: #222f5a; border-left: 4px solid #89d32a; padding-left: 12px; margin-bottom: 24px; }
.modelos-grupo-titulo small { font-size: 13px; color: #888; font-weight: 400; margin-left: 8px; }
.modelos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
@media (max-width: 767px) { .modelos-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .modelos-grid { grid-template-columns: 1fr; } }
.modelo-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: box-shadow 0.2s, transform 0.2s; }
.modelo-card:hover { box-shadow: 0 6px 24px rgba(137,211,42,0.2); transform: translateY(-3px); }
.modelo-card .color-preview { width: 100%; height: 80px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.95); font-weight: 700; letter-spacing: 0.05em; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.color-cedro  { background: linear-gradient(135deg, #c8a46e 0%, #a07840 100%); }
.color-roble  { background: linear-gradient(135deg, #7a4a2a 0%, #5c3318 100%); }
.color-teka   { background: linear-gradient(135deg, #b87333 0%, #8b5a2b 100%); }
.modelo-card .modelo-info { padding: 14px 16px; }
.modelo-card .modelo-info .modelo-sku { font-size: 11px; color: #aaa; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.modelo-card .modelo-info h5 { font-size: 15px; font-weight: 700; color: #222; margin-bottom: 4px; }
.modelo-card .modelo-info .modelo-medida { font-size: 12px; color: #666; }

.step-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background-color: #89d32a; color: #222f5a; font-size: 16px; font-weight: 700; border-radius: 50%; margin: 0 auto 16px auto; }
.single-service .step-number { margin-bottom: 14px; }
@media (max-width: 767px) { .single-service { margin-bottom: 20px; } }

.ventajas-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 15px; line-height: 1.5; }
.ventajas-list li i { color: #89d32a; margin-top: 3px; flex-shrink: 0; font-size: 15px; }
@media (max-width: 575px) { .ventajas-list li { font-size: 14px; } }

.servicio-card { background: #fff; border: 1px solid #e8f0d4; border-radius: 10px; padding: 24px 20px; margin-bottom: 16px; transition: box-shadow 0.2s; display: flex; flex-direction: column; }
.servicio-card p { flex-grow: 1; }
.servicio-card:hover { box-shadow: 0 4px 20px rgba(137,211,42,0.15); }
.servicio-card .icon-circle { width: 52px; height: 52px; background-color: #f2fae3; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.servicio-card .icon-circle i { color: #89d32a; font-size: 20px; }
.servicio-card h5 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: #222; }
.servicio-card p { font-size: 13px; color: #666; margin-bottom: 0; line-height: 1.6; }
.soporte-texto h2 { font-size: 26px; line-height: 1.3; }
@media (max-width: 575px) { .soporte-texto h2 { font-size: 22px; } }

@media (max-width: 767px) {
    .pt-90  { padding-top: 50px !important; }
    .pb-90  { padding-bottom: 50px !important; }
    .pt-120 { padding-top: 70px !important; }
    .pb-120 { padding-bottom: 70px !important; }
    .pt-100 { padding-top: 60px !important; }
    .mb-80  { margin-bottom: 40px !important; }
    .mb-50  { margin-bottom: 30px !important; }
    .pl-50  { padding-left: 0 !important; }
    .pr-30  { padding-right: 0 !important; }
    .mt-40  { margin-top: 24px !important; }
    .feature-text { margin-top: 30px; }
}

/* =============================================
    SECCIÓN 2 — Imagen de producto 1:1
    ============================================= */
.product-single-img-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    background: #fff;
}
.product-single-img-wrapper img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}
.product-single-img-wrapper:hover img {
    transform: scale(1.03);
}
@media (max-width: 575px) {
    .product-single-img-wrapper {
        max-width: 100%;
        border-radius: 8px;
    }
}

/* =============================================
    SECCIÓN 7 — Imagen portarretrato
    ============================================= */
.product-portrait-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.11);
    background: #fff;
}
.product-portrait-wrapper img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.35s ease;
}
.product-portrait-wrapper:hover img {
    transform: scale(1.03);
}
/* En móvil cambia a proporción más horizontal para no ocupar toda la pantalla */
@media (max-width: 767px) {
    .product-portrait-wrapper {
        max-width: 100%;
        margin-bottom: 32px;
        border-radius: 10px;
    }
    .product-portrait-wrapper img {
        aspect-ratio: 4 / 3;
        object-position: center center;
    }
}
@media (max-width: 575px) {
    .product-portrait-wrapper img {
        aspect-ratio: 3 / 2;
    }
}


/* =============================================
SECCIÓN CONTACTO — Formulario HubSpot
============================================= */
.contact-hubspot-section {
    background-color: #f8faf9;
}

/* Lista de beneficios */
.contact-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
    font-weight: 500;
}
.contact-benefits-list li i {
    color: #89d32a;
    font-size: 16px;
    flex-shrink: 0;
}

/* Contenedor del formulario */
.hubspot-form-wrapper {
    background: #fff;
    border-radius: 14px;
    padding: 40px 36px;
    box-shadow: 0 8px 40px rgba(34, 47, 90, 0.10);
    border-top: 4px solid #89d32a;
}

/* Sobrescritura de estilos del form HubSpot */
.hubspot-form-wrapper .hs-form fieldset {
    max-width: 100% !important;
}
.hubspot-form-wrapper .hs-form .hs-input,
.hubspot-form-wrapper .hs-form input[type="text"],
.hubspot-form-wrapper .hs-form input[type="email"],
.hubspot-form-wrapper .hs-form input[type="tel"],
.hubspot-form-wrapper .hs-form select,
.hubspot-form-wrapper .hs-form textarea {
    width: 100% !important;
    border: 1px solid #dde4f0 !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fafafa !important;
    transition: border-color 0.2s !important;
}
.hubspot-form-wrapper .hs-form .hs-input:focus,
.hubspot-form-wrapper .hs-form input:focus,
.hubspot-form-wrapper .hs-form textarea:focus {
    border-color: #89d32a !important;
    outline: none !important;
    background: #fff !important;
}
.hubspot-form-wrapper .hs-form label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #222f5a !important;
    margin-bottom: 5px !important;
    display: block !important;
}
.hubspot-form-wrapper .hs-form .hs-submit input[type="submit"],
.hubspot-form-wrapper .hs-form .hs-button {
    background-color: #89d32a !important;
    color: #222f5a !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 13px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background-color 0.2s, transform 0.15s !important;
    text-transform: uppercase !important;
}
.hubspot-form-wrapper .hs-form .hs-submit input[type="submit"]:hover,
.hubspot-form-wrapper .hs-form .hs-button:hover {
    background-color: #7abf24 !important;
    transform: translateY(-1px) !important;
}
.hubspot-form-wrapper .hs-form .hs-error-msgs label {
    color: #e53935 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}
.hubspot-form-wrapper .hs-form .submitted-message {
    color: #222f5a;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 991px) {
    .hubspot-form-wrapper {
        padding: 30px 24px;
    }
}
@media (max-width: 575px) {
    .hubspot-form-wrapper {
        padding: 24px 16px;
        border-radius: 10px;
    }
    .contact-benefits-list li {
        font-size: 14px;
    }
}
