
/* ==========================================
   KO VERTIZ
   CALCULADORA DE DRYWALL

   Estilos exclusivos de la herramienta
========================================== */


/* ==========================================
   1. BASE COMPARTIDA
========================================== */

.drywall-section,
.drywall-formula-section,
.drywall-structure-section,
.drywall-materials-section,
.drywall-ceiling-section,
.drywall-types-section,
.drywall-examples-section,
.drywall-faq-section {

    max-width: 1200px;
    width: calc(100% - 48px);
    margin: 100px auto;
    font-family: inherit;
    color: #fff;

}


.drywall-section *,
.drywall-formula-section *,
.drywall-structure-section *,
.drywall-materials-section *,
.drywall-ceiling-section *,
.drywall-types-section *,
.drywall-examples-section *,
.drywall-faq-section * {

    box-sizing: border-box;

}


.drywall-section p,
.drywall-formula-section p,
.drywall-structure-section p,
.drywall-materials-section p,
.drywall-ceiling-section p,
.drywall-types-section p,
.drywall-examples-section p,
.drywall-faq-section p {

    margin-bottom: 0;

}


.drywall-section h2,
.drywall-formula-section h2,
.drywall-structure-section h2,
.drywall-materials-section h2,
.drywall-ceiling-section h2,
.drywall-types-section h2,
.drywall-examples-section h2,
.drywall-faq-section h2 {

    color: #fff;
    font-size: clamp(29px, 3.4vw, 40px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -1.2px;
    margin: 0 0 18px;

}


.drywall-section h3,
.drywall-formula-section h3,
.drywall-structure-section h3,
.drywall-materials-section h3,
.drywall-ceiling-section h3,
.drywall-types-section h3,
.drywall-examples-section h3 {

    color: #fff;

}


.drywall-eyebrow {

    display: inline-block;
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 18px;

}


.drywall-section code,
.drywall-formula-section code,
.drywall-structure-section code,
.drywall-ceiling-section code,
.drywall-examples-section code {

    font-family: inherit;
    overflow-wrap: anywhere;

}



/* ==========================================
   2. CALCULADORA
   CONTENEDOR Y ENCABEZADO
========================================== */

.drywallcalc {

    --drywall-accent: #818cf8;
    --drywall-accent-light: #a5b4fc;
    --drywall-panel: #0d1425;
    --drywall-panel-light: #121b30;
    --drywall-border: rgba(255,255,255,.09);
    --drywall-muted: #94a3b8;

    display: block;
    width: min(1200px, calc(100% - 48px));
    margin: 55px auto 90px;
    color: #fff;
    font-family: inherit;

}


.drywallcalc *,
.drywallcalc *::before,
.drywallcalc *::after {

    box-sizing: border-box;

}


.drywallcalc [hidden] {

    display: none !important;

}


.drywallcalc h1,
.drywallcalc h2,
.drywallcalc h3,
.drywallcalc p {

    margin-top: 0;

}


.drywallcalc-heading {

    max-width: 950px;
    margin-bottom: 35px;

}


.drywallcalc-eyebrow {

    display: inline-block;
    margin-bottom: 17px;
    padding: 7px 12px;
    color: var(--drywall-accent-light);
    background: rgba(129,140,248,.09);
    border: 1px solid rgba(129,140,248,.19);
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;

}


.drywallcalc-heading h1 {

    max-width: 900px;
    margin-bottom: 16px;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #fff;

}


.drywallcalc-heading > p {

    max-width: 840px;
    margin-bottom: 20px;
    color: var(--drywall-muted);
    font-size: 14px;
    line-height: 1.9;

}


.drywallcalc-tags {

    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;

}


.drywallcalc-tags span {

    padding: 6px 11px;
    border-radius: 7px;
    color: #cbd5e1;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--drywall-border);
    font-size: 10px;
    font-weight: 600;

}



/* ==========================================
   3. DISTRIBUCIÓN PRINCIPAL
========================================== */

.drywallcalc-layout {

    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    gap: 22px;
    align-items: start;

}


.drywallcalc-form-card {

    min-width: 0;
    padding: 29px;
    border: 1px solid var(--drywall-border);
    border-radius: 19px;
    background: linear-gradient(
        145deg,
        #111a2c,
        #0c1322
    );
    box-shadow: 0 20px 55px rgba(0,0,0,.16);

}



/* ==========================================
   4. ENCABEZADOS Y PASOS
========================================== */

.drywallcalc-form-heading {

    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;

}


.drywallcalc-step-label {

    flex: 0 0 auto;
    padding: 7px 9px;
    border-radius: 7px;
    color: var(--drywall-accent-light);
    background: rgba(129,140,248,.12);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;

}


.drywallcalc-form-heading h2 {

    margin-bottom: 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;

}


.drywallcalc-form-heading p {

    margin-bottom: 0;
    color: var(--drywall-muted);
    font-size: 11px;

}


.drywallcalc-section-heading {

    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 19px;

}


.drywallcalc-section-heading > div {

    flex: 1;
    min-width: 0;

}


.drywallcalc-section-heading h3 {

    margin-bottom: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;

}


.drywallcalc-section-heading p {

    margin-bottom: 0;
    color: var(--drywall-muted);
    font-size: 10px;
    line-height: 1.6;

}


.drywallcalc-divider {

    height: 1px;
    margin: 25px 0;
    border: 0;
    background: rgba(255,255,255,.085);

}



/* ==========================================
   5. CAMPOS GENERALES
========================================== */

.drywallcalc-field {

    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 8px;

}


.drywallcalc-field-full {

    grid-column: 1 / -1;

}


.drywallcalc-field label {

    display: block;
    margin: 0;
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;

}


.drywallcalc-field input,
.drywallcalc-field select {

    width: 100%;
    min-width: 0;
    min-height: 45px;
    padding: 10px 12px;
    margin: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 9px;
    outline: none;
    background: rgba(3,6,16,.6);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;

}


.drywallcalc-field input::placeholder {

    color: #64748b;
    opacity: 1;

}


.drywallcalc-field input:hover,
.drywallcalc-field select:hover {

    border-color: rgba(129,140,248,.35);

}


.drywallcalc-field input:focus,
.drywallcalc-field select:focus {

    border-color: var(--drywall-accent);
    background: rgba(3,6,16,.85);
    box-shadow: 0 0 0 3px rgba(129,140,248,.13);

}


.drywallcalc-field input:focus-visible,
.drywallcalc-field select:focus-visible {

    outline: none;

}


.drywallcalc-field select {

    cursor: pointer;

}


.drywallcalc-field select option {

    color: #fff;
    background: #111827;

}


.drywallcalc-field small {

    color: #8190a6;
    font-size: 10px;
    line-height: 1.6;

}


.drywallcalc-grid-2 {

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 15px;

}


.drywallcalc-grid-3 {

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;

}



/* ==========================================
   6. INFORMACIÓN DE SUPERFICIES
========================================== */

.drywallcalc-surface-intro {

    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    margin-bottom: 17px;
    border: 1px solid rgba(129,140,248,.14);
    border-radius: 10px;
    background: rgba(129,140,248,.055);

}


.drywallcalc-surface-intro-icon {

    flex: 0 0 27px;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    background: rgba(129,140,248,.17);
    color: #c7d2fe;
    font-size: 17px;
    font-weight: 700;

}


.drywallcalc-surface-intro p {

    color: #aeb8cb;
    font-size: 10px;
    line-height: 1.7;

}



/* ==========================================
   7. TARJETAS DINÁMICAS DE SUPERFICIES
========================================== */

.drywallcalc-surface-list {

    display: flex;
    flex-direction: column;
    gap: 14px;

}


.drywallcalc-surface-card {

    min-width: 0;
    padding: 19px;
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 13px;
    background: rgba(255,255,255,.025);
    animation: drywallSurfaceIn .22s ease both;

}


@keyframes drywallSurfaceIn {

    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.drywallcalc-surface-card-heading {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);

}


.drywallcalc-surface-card-title {

    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;

}


.drywallcalc-surface-number {

    flex: 0 0 35px;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 9px;
    background: rgba(129,140,248,.13);
    border: 1px solid rgba(129,140,248,.15);
    color: #c7d2fe;
    font-size: 11px;
    font-weight: 800;

}


.drywallcalc-surface-card-title strong {

    display: block;
    color: #fff;
    font-size: 12px;
    margin-bottom: 4px;

}


.drywallcalc-surface-card-title small {

    display: block;
    color: #8492a8;
    font-size: 10px;

}


.drywallcalc-remove-surface {

    flex: 0 0 32px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.04);
    color: #aeb8cb;
    font-family: inherit;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;

}


.drywallcalc-remove-surface:hover {

    color: #fff;
    background: rgba(129,140,248,.14);
    border-color: rgba(129,140,248,.35);

}


.drywallcalc-surface-type {

    margin-top: 15px;

}


.drywallcalc-surface-card .drywallcalc-grid-2 {

    margin-top: 15px;

}


.drywallcalc-surface-card .drywallcalc-grid-3 {

    margin-top: 12px;

}



/* Aberturas */

.drywallcalc-openings {

    padding: 15px;
    margin-top: 19px;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 10px;
    background: rgba(0,0,0,.12);

}


.drywallcalc-openings-heading {

    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 17px;

}


.drywallcalc-openings-heading strong {

    color: #e2e8f0;
    font-size: 11px;

}


.drywallcalc-openings-heading small {

    color: #8492a8;
    font-size: 10px;
    line-height: 1.5;

}


.drywallcalc-opening-block + .drywallcalc-opening-block {

    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.075);

}


.drywallcalc-opening-label {

    display: block;
    margin-bottom: 10px;
    color: #a5b4fc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;

}


.drywallcalc-surface-footnote {

    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 16px;

}


.drywallcalc-surface-footnote > span {

    flex: 0 0 17px;
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: rgba(129,140,248,.15);
    color: #c7d2fe;
    font-size: 10px;
    font-weight: 800;

}


.drywallcalc-surface-footnote p {

    color: #8190a6;
    font-size: 10px;
    line-height: 1.7;

}



/* Agregar superficies */

.drywallcalc-add-surface {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    margin-top: 15px;
    padding: 10px 15px;
    border: 1px dashed rgba(129,140,248,.35);
    border-radius: 10px;
    background: rgba(129,140,248,.045);
    color: #c7d2fe;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;

}


.drywallcalc-add-surface:hover {

    border-color: rgba(129,140,248,.65);
    background: rgba(129,140,248,.1);
    transform: translateY(-2px);

}


.drywallcalc-add-surface span {

    font-size: 18px;
    line-height: 1;

}



/* ==========================================
   8. CONFIGURACIÓN DE MATERIALES
========================================== */

.drywallcalc-settings-card {

    padding: 20px;
    border-radius: 13px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.075);

}


.drywallcalc-settings-title {

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 22px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.075);

}


.drywallcalc-settings-title:first-child {

    margin-top: 0;

}


.drywallcalc-settings-title strong {

    color: #fff;
    font-size: 12px;
    font-weight: 800;

}


.drywallcalc-settings-title span {

    color: #8492a8;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: right;

}


.drywallcalc-settings-description {

    margin: 0 0 15px;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.8;

}


.drywallcalc-settings-checkbox {

    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(129,140,248,.17);
    border-radius: 9px;
    background: rgba(129,140,248,.055);

}


.drywallcalc-settings-checkbox input {

    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #818cf8;
    cursor: pointer;

}


.drywallcalc-settings-checkbox label {

    color: #cbd5e1;
    font-size: 10px;
    line-height: 1.7;
    cursor: pointer;

}



/* ==========================================
   9. ERRORES Y BOTONES
========================================== */

.drywallcalc-actions {

    display: flex;
    gap: 11px;
    margin-top: 25px;

}


.drywallcalc-actions button {

    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}


.drywallcalc-actions button:hover {

    transform: translateY(-2px);

}


.drywallcalc-actions button:focus-visible,
.drywallcalc-result-actions button:focus-visible,
.drywallcalc-add-surface:focus-visible,
.drywallcalc-remove-surface:focus-visible {

    outline: 2px solid #c7d2fe;
    outline-offset: 3px;

}


.drywallcalc-button-primary {

    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(120deg, #929af9, #737ee9);
    color: #ffffff;
    box-shadow: 0 5px 18px rgba(129,140,248,.2);

}


.drywallcalc-button-primary:hover {

    box-shadow: 0 8px 25px rgba(129,140,248,.35);

}


.drywallcalc-button-primary span {

    font-size: 17px;

}


.drywallcalc-button-reset {

    padding-left: 18px;
    padding-right: 18px;
    color: #cbd5e1;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1) !important;

}


.drywallcalc-button-reset:hover {

    background: rgba(255,255,255,.1);

}


.drywallcalc-error {

    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(248,113,113,.25);
    border-radius: 9px;
    background: rgba(248,113,113,.08);
    color: #fca5a5;
    font-size: 11px;
    line-height: 1.7;

}


.drywallcalc-form-disclaimer {

    margin: 14px 0 0;
    color: #8190a6;
    font-size: 10px;
    line-height: 1.7;
    text-align: center;

}



/* ==========================================
   10. PANEL DE RESULTADOS
========================================== */

.drywallcalc-result-card {

    position: sticky;
    top: 100px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(129,140,248,.23);
    border-radius: 19px;
    background: #0e1729;
    box-shadow: 0 20px 55px rgba(0,0,0,.2);

}



/* Cabecera */

.drywallcalc-result-heading {

    position: relative;
    overflow: hidden;
    padding: 31px 28px 27px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(165,180,252,.24),
            transparent 45%
        ),
        linear-gradient(140deg, #343c7e, #242b59);
    border-bottom: 1px solid rgba(255,255,255,.1);

}


.drywallcalc-result-eyebrow {

    display: block;
    margin-bottom: 13px;
    color: #c7d2fe;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;

}


.drywallcalc-result-heading h2 {

    margin-bottom: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;

}


.drywallcalc-total {

    color: #fff;
    font-size: clamp(35px, 4vw, 49px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.15;
    overflow-wrap: anywhere;

}


.drywallcalc-total span {

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    color: #dbeafe;

}


.drywallcalc-result-description {

    margin: 11px 0 0;
    color: #c7d2fe;
    font-size: 11px;
    line-height: 1.7;

}



/* Estado inicial */

.drywallcalc-placeholder {

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 46px 28px;
    text-align: center;

}


.drywallcalc-placeholder-icon {

    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 17px;
    background: rgba(129,140,248,.1);
    border: 1px solid rgba(129,140,248,.2);

}


.drywallcalc-placeholder-icon span {

    position: relative;
    width: 28px;
    height: 35px;
    display: block;
    border: 2px solid #a5b4fc;
    border-radius: 4px;
    transform: skewY(-4deg);

}


.drywallcalc-placeholder-icon span::before {

    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    right: 0;
    border-top: 2px solid #a5b4fc;

}


.drywallcalc-placeholder-icon span::after {

    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    border-top: 2px solid #a5b4fc;

}


.drywallcalc-placeholder > strong {

    color: #e2e8f0;
    font-size: 13px;
    margin-bottom: 8px;

}


.drywallcalc-placeholder > p {

    max-width: 280px;
    margin: 0;
    color: var(--drywall-muted);
    font-size: 11px;
    line-height: 1.8;

}



/* ==========================================
   11. RESULTADOS DETALLADOS
========================================== */

.drywallcalc-results {

    padding: 22px;

}


.drywallcalc-result-subheading {

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;

}


.drywallcalc-result-subheading h3 {

    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;

}


.drywallcalc-result-subheading > span {

    max-width: 45%;
    color: #94a3b8;
    font-size: 9px;
    text-align: right;
    overflow-wrap: anywhere;

}



/* Estadísticas */

.drywallcalc-stats {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

}


.drywallcalc-stat {

    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    padding: 14px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;

}


.drywallcalc-stat > span {

    color: #94a3b8;
    font-size: 10px;
    line-height: 1.5;

}


.drywallcalc-stat > strong {

    color: #fff;
    font-size: 17px;
    font-weight: 800;
    overflow-wrap: anywhere;

}



/* Tabla de materiales */

.drywallcalc-materials-heading {

    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 26px 0 13px;

}


.drywallcalc-materials-heading h3 {

    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;

}


.drywallcalc-materials-heading > span {

    color: #8190a6;
    font-size: 9px;

}


.drywallcalc-materials-table-wrap {

    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 10px;

}


.drywallcalc-materials-table {

    width: 100%;
    border-collapse: collapse;
    text-align: left;

}


.drywallcalc-materials-table th {

    padding: 12px 11px;
    color: #a5b4fc;
    background: rgba(129,140,248,.1);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;

}


.drywallcalc-materials-table th:last-child {

    text-align: right;

}


.drywallcalc-materials-table td {

    padding: 13px 11px;
    border-bottom: 1px solid rgba(255,255,255,.065);
    color: #cbd5e1;
    font-size: 10px;
    line-height: 1.6;
    vertical-align: top;

}


.drywallcalc-materials-table td:last-child {

    color: #e0e7ff;
    text-align: right;
    font-weight: 700;
    white-space: nowrap;

}


.drywallcalc-materials-table tbody tr:last-child td {

    border-bottom: 0;

}


.drywallcalc-materials-table .drywallcalc-table-group th {

    padding: 11px;
    color: #a5b4fc;
    background: rgba(129,140,248,.055);
    font-size: 9px;
    text-align: left;

}


.drywallcalc-materials-table td small {

    display: block;
    margin-top: 3px;
    color: #8190a6;
    font-size: 9px;
    font-weight: 400;
    white-space: normal;

}



/* Notas */

.drywallcalc-result-notes {

    margin-top: 18px;
    padding: 15px;
    border: 1px solid rgba(129,140,248,.16);
    border-radius: 10px;
    background: rgba(129,140,248,.045);

}


.drywallcalc-result-notes strong {

    display: block;
    margin-bottom: 9px;
    color: #c7d2fe;
    font-size: 11px;

}


.drywallcalc-result-notes ul {

    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-left: 16px;
    margin: 0;

}


.drywallcalc-result-notes li {

    color: #aab5c8;
    font-size: 10px;
    line-height: 1.7;

}



/* ==========================================
   12. ACCIONES DE RESULTADOS
========================================== */

.drywallcalc-result-actions {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;

}


.drywallcalc-result-actions button {

    min-height: 42px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;
    background: rgba(255,255,255,.055);
    color: #e2e8f0;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background .2s ease,
        transform .2s ease;

}


.drywallcalc-result-actions button:hover {

    background: rgba(129,140,248,.15);
    transform: translateY(-2px);

}


.drywallcalc-result-actions button:last-child {

    background: var(--drywall-accent);
    border-color: var(--drywall-accent);
    color: #ffffff;

}


.drywallcalc-result-actions button:last-child:hover {

    background: #a5adff;

}


.drywallcalc-copy-feedback {

    min-height: 15px;
    margin: 10px 0 0;
    color: #c7d2fe;
    font-size: 10px;
    text-align: center;

}



/* ==========================================
   13. INTRODUCCIÓN
   INSTRUCCIONES Y EJEMPLO
========================================== */

.drywall-intro {

    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 65px;

}


.drywall-intro-copy {

    display: flex;
    flex-direction: column;
    align-items: flex-start;

}


.drywall-intro-copy > p {

    color: #aeb8cb;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 14px;

}


.drywall-instructions {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px 22px;
    margin-top: 29px;
    width: 100%;

}


.drywall-instruction {

    display: flex;
    align-items: flex-start;
    gap: 13px;

}


.drywall-instruction-number {

    flex: 0 0 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #c7d2fe;
    background: rgba(129,140,248,.15);
    border: 1px solid rgba(129,140,248,.19);
    font-size: 11px;
    font-weight: 800;

}


.drywall-instruction > div {

    min-width: 0;

}


.drywall-instruction strong {

    display: block;
    font-size: 13px;
    color: #fff;
    margin: 2px 0 6px;

}


.drywall-instruction p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.75;

}


.drywall-privacy {

    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 17px;
    margin-top: 28px;
    border: 1px solid rgba(129,140,248,.16);
    background: rgba(129,140,248,.055);
    border-radius: 12px;

}


.drywall-privacy-icon {

    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    background: rgba(129,140,248,.2);
    color: #c7d2fe;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;

}


.drywall-privacy p {

    color: #aeb8cb;
    font-size: 11px;
    line-height: 1.8;

}



/* Tarjeta de ejemplo */

.drywall-example-card {

    position: relative;
    overflow: hidden;
    padding: 32px;
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(129,140,248,.2),
            transparent 44%
        ),
        linear-gradient(145deg, #151d34, #0d1322);
    border: 1px solid rgba(129,140,248,.25);
    box-shadow: 0 25px 65px rgba(0,0,0,.25);

}


.drywall-example-heading {

    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);

}


.drywall-example-heading > span {

    color: #a5b4fc;
    font-size: 10px;
    letter-spacing: 1.8px;
    font-weight: 800;

}


.drywall-example-heading h3 {

    font-size: 21px;
    margin: 13px 0 8px;
    line-height: 1.3;

}


.drywall-example-heading p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.7;

}


.drywall-example-measures {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 23px 0;

}


.drywall-measure {

    padding: 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.055);

}


.drywall-measure span {

    display: block;
    color: #94a3b8;
    font-size: 10px;
    margin-bottom: 5px;

}


.drywall-measure strong {

    color: #fff;
    font-size: 22px;
    font-weight: 800;

}


.drywall-measure strong small {

    font-size: 12px;
    color: #a5b4fc;

}


.drywall-example-calculation {

    display: flex;
    flex-direction: column;

}


.drywall-calculation-line {

    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);

}


.drywall-calculation-line span {

    color: #94a3b8;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;

}


.drywall-calculation-line code {

    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;

}


.drywall-example-result {

    margin-top: 21px;
    padding: 20px;
    text-align: center;
    background: linear-gradient(110deg, #5556ad, #373b80);
    border-radius: 14px;

}


.drywall-example-result > span:first-child {

    display: block;
    color: #dbeafe;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;

}


.drywall-example-result strong {

    display: block;
    font-size: clamp(36px, 5vw, 47px);
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin: 7px 0 2px;

}


.drywall-example-result > span:last-child {

    display: block;
    color: #dbeafe;
    font-size: 12px;

}


.drywall-example-footnote {

    color: #94a3b8;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
    margin-top: 13px;

}



/* ==========================================
   14. CÁLCULO DE PLANCHAS
========================================== */

.drywall-formula-section {

    padding: 70px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);

}


.drywall-formula-heading {

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: end;
    margin-bottom: 38px;

}


.drywall-formula-heading h2 {

    max-width: 650px;
    margin-bottom: 0;

}


.drywall-formula-heading > p {

    color: #94a3b8;
    font-size: 14px;
    line-height: 1.9;
    padding-bottom: 4px;

}


.drywall-formula-grid {

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;

}


.drywall-formula-card {

    min-width: 0;
    padding: 25px;
    border-radius: 15px;
    background: #101727;
    border: 1px solid rgba(255,255,255,.08);
    transition:
        transform .25s ease,
        border-color .25s ease;

}


.drywall-formula-card:hover {

    transform: translateY(-5px);
    border-color: rgba(129,140,248,.4);

}


.drywall-formula-card:nth-child(2) {

    background: #121c2c;

}


.drywall-formula-card:nth-child(3) {

    background: #14172d;

}


.drywall-formula-top {

    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;

}


.drywall-formula-number {

    color: #a5b4fc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;

}


.drywall-formula-symbol {

    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    border: 1px solid rgba(165,180,252,.25);
    background: rgba(129,140,248,.13);
    color: #c7d2fe;
    font-size: 21px;

}


.drywall-formula-card h3 {

    font-size: 18px;
    margin: 0 0 10px;

}


.drywall-formula-card > p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;
    min-height: 66px;

}


.drywall-formula-equation,
.drywall-formula-example {

    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,.08);

}


.drywall-formula-equation span,
.drywall-formula-example span {

    display: block;
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;

}


.drywall-formula-equation code,
.drywall-formula-example code {

    display: block;
    background: rgba(0,0,0,.23);
    border-radius: 8px;
    padding: 12px;
    color: #e2e8f0;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;

}


.drywall-formula-footer {

    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    padding: 17px 20px;
    border-left: 3px solid #818cf8;
    background: rgba(129,140,248,.06);
    border-radius: 0 10px 10px 0;

}


.drywall-formula-footer strong {

    flex: 0 0 auto;
    color: #c7d2fe;
    font-size: 12px;

}


.drywall-formula-footer span {

    color: #aab5c8;
    font-size: 12px;
    line-height: 1.7;

}



/* Contenido editorial */

.drywall-content-columns {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    margin-top: 50px;

}


.drywall-content-columns h3 {

    margin: 27px 0 9px;
    font-size: 16px;
    line-height: 1.4;

}


.drywall-content-columns h3:first-child {

    margin-top: 0;

}


.drywall-content-columns p {

    color: #94a3b8;
    font-size: 13px;
    line-height: 1.9;

}



/* ==========================================
   15. ESTRUCTURA METÁLICA
========================================== */

.drywall-structure-section {

    padding: 15px 0;

}


.drywall-structure-heading {

    max-width: 820px;
    margin-bottom: 40px;

}


.drywall-structure-heading h2 {

    max-width: 720px;

}


.drywall-structure-heading > p {

    color: #aab5c8;
    font-size: 14px;
    line-height: 1.9;

}


.drywall-structure-layout {

    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: start;

}


.drywall-structure-list {

    display: flex;
    flex-direction: column;

}


.drywall-structure-item {

    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);

}


.drywall-structure-item:first-child {

    padding-top: 0;

}


.drywall-structure-index {

    flex: 0 0 34px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(129,140,248,.13);
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 800;

}


.drywall-structure-item > div {

    min-width: 0;

}


.drywall-structure-item h3 {

    margin: 2px 0 8px;
    font-size: 15px;
    line-height: 1.4;

}


.drywall-structure-item p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;

}


.drywall-structure-item code {

    display: inline-block;
    margin-top: 11px;
    padding: 9px 11px;
    border-radius: 7px;
    background: rgba(129,140,248,.08);
    color: #c7d2fe;
    font-size: 11px;
    line-height: 1.7;

}



/* Recuadro técnico */

.drywall-structure-note {

    padding: 28px;
    border-radius: 18px;
    border: 1px solid rgba(129,140,248,.2);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(129,140,248,.16),
            transparent 50%
        ),
        #111a2b;

}


.drywall-structure-note-icon {

    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    margin-bottom: 19px;
    border-radius: 11px;
    color: #c7d2fe;
    background: rgba(129,140,248,.16);
    font-size: 17px;
    font-weight: 800;

}


.drywall-structure-note h3 {

    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 12px;

}


.drywall-structure-note > p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.9;

}


.drywall-structure-note-detail {

    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);

}


.drywall-structure-note-detail > strong {

    display: block;
    color: #c7d2fe;
    font-size: 12px;
    margin-bottom: 13px;

}


.drywall-structure-note-detail ul {

    display: flex;
    flex-direction: column;
    gap: 11px;
    padding-left: 18px;
    margin: 0;

}


.drywall-structure-note-detail li {

    color: #aab5c8;
    font-size: 11px;
    line-height: 1.6;

}



/* ==========================================
   16. MATERIALES
========================================== */

.drywall-materials-section {

    padding: 45px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: #0e1524;

}


.drywall-materials-heading {

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 45px;
    align-items: end;
    margin-bottom: 35px;

}


.drywall-materials-heading h2 {

    margin-bottom: 0;
    max-width: 640px;

}


.drywall-materials-heading > p {

    color: #94a3b8;
    font-size: 13px;
    line-height: 1.9;
    padding-bottom: 3px;

}


.drywall-materials-grid {

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;

}


.drywall-material-card {

    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 245px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 14px;
    background: #111827;
    transition:
        transform .25s ease,
        border-color .25s ease;

}


.drywall-material-card:hover {

    transform: translateY(-4px);
    border-color: rgba(129,140,248,.35);

}


.drywall-material-card:nth-child(2),
.drywall-material-card:nth-child(5) {

    background: #121c2c;

}


.drywall-material-card:nth-child(3),
.drywall-material-card:nth-child(7) {

    background: #15172b;

}


.drywall-material-index {

    color: #a5b4fc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;

}


.drywall-material-symbol {

    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    margin: 19px 0 14px;
    border-radius: 10px;
    background: rgba(129,140,248,.13);
    color: #c7d2fe;
    font-size: 21px;

}


.drywall-material-card h3 {

    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.4;

}


.drywall-material-card p {

    color: #94a3b8;
    font-size: 11px;
    line-height: 1.8;

}


.drywall-materials-warning {

    display: grid;
    grid-template-columns: 210px 1fr;
    align-items: center;
    gap: 22px;
    margin-top: 25px;
    padding: 20px 22px;
    border-radius: 12px;
    background: rgba(129,140,248,.055);
    border: 1px solid rgba(129,140,248,.16);

}


.drywall-materials-warning strong {

    color: #c7d2fe;
    font-size: 12px;

}


.drywall-materials-warning p {

    color: #aab5c8;
    font-size: 12px;
    line-height: 1.8;

}



/* ==========================================
   17. CIELOS RASOS
========================================== */

.drywall-ceiling-section {

    padding: 15px 0;

}


.drywall-ceiling-heading {

    max-width: 800px;
    margin-bottom: 40px;

}


.drywall-ceiling-heading > p {

    color: #aab5c8;
    font-size: 14px;
    line-height: 1.9;

}


.drywall-ceiling-grid {

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;

}


.drywall-ceiling-card {

    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 15px;
    background: #101727;
    transition:
        transform .25s ease,
        border-color .25s ease;

}


.drywall-ceiling-card:hover {

    transform: translateY(-4px);
    border-color: rgba(129,140,248,.35);

}


.drywall-ceiling-card:nth-child(2),
.drywall-ceiling-card:nth-child(5) {

    background: #121c2c;

}


.drywall-ceiling-card:nth-child(3),
.drywall-ceiling-card:nth-child(6) {

    background: #15172b;

}


.drywall-ceiling-card-top {

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;

}


.drywall-ceiling-card-top > span {

    color: #a5b4fc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;

}


.drywall-ceiling-icon {

    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 10px;
    background: rgba(129,140,248,.13);
    color: #c7d2fe;
    font-size: 21px;

}


.drywall-ceiling-card h3 {

    min-height: 49px;
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;

}


.drywall-ceiling-card > p {

    min-height: 91px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;

}


.drywall-ceiling-card code {

    display: block;
    margin-top: 17px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(0,0,0,.2);
    color: #c7d2fe;
    font-size: 11px;
    line-height: 1.7;

}


.drywall-ceiling-note {

    margin-top: 25px;
    padding: 21px 23px;
    border-left: 3px solid #818cf8;
    border-radius: 0 11px 11px 0;
    background: rgba(129,140,248,.065);

}


.drywall-ceiling-note strong {

    display: block;
    margin-bottom: 7px;
    color: #c7d2fe;
    font-size: 12px;

}


.drywall-ceiling-note p {

    color: #aab5c8;
    font-size: 12px;
    line-height: 1.8;

}



/* ==========================================
   18. TIPOS DE INSTALACIÓN
========================================== */

.drywall-types-section {

    padding: 15px 0;

}


.drywall-types-heading {

    max-width: 760px;
    margin-bottom: 37px;

}


.drywall-types-heading > p {

    color: #94a3b8;
    font-size: 14px;
    line-height: 1.9;

}


.drywall-types-grid {

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;

}


.drywall-type-card {

    padding: 25px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 15px;
    background: #111827;
    transition:
        transform .25s ease,
        border-color .25s ease;

}


.drywall-type-card:hover {

    transform: translateY(-4px);
    border-color: rgba(129,140,248,.38);

}


.drywall-type-card:nth-child(2),
.drywall-type-card:nth-child(5) {

    background: #121c2c;

}


.drywall-type-card:nth-child(3),
.drywall-type-card:nth-child(6) {

    background: #15172b;

}


.drywall-type-number {

    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 20px;
    border-radius: 9px;
    background: rgba(129,140,248,.13);
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 800;

}


.drywall-type-card h3 {

    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;

}


.drywall-type-card p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;

}



/* ==========================================
   19. EJEMPLOS PRÁCTICOS
========================================== */

.drywall-examples-section {

    padding: 45px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(129,140,248,.12),
            transparent 43%
        ),
        #0e1524;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;

}


.drywall-examples-heading {

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: end;
    gap: 45px;
    margin-bottom: 35px;

}


.drywall-examples-heading h2 {

    margin-bottom: 0;

}


.drywall-examples-heading > p {

    color: #94a3b8;
    font-size: 13px;
    line-height: 1.9;

}


.drywall-examples-grid {

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;

}


.drywall-example-detail {

    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 14px;
    background: rgba(255,255,255,.025);

}


.drywall-example-index {

    display: inline-block;
    margin-bottom: 15px;
    color: #a5b4fc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;

}


.drywall-example-detail h3 {

    margin: 0 0 9px;
    font-size: 17px;
    line-height: 1.4;

}


.drywall-example-detail > p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;

}


.drywall-example-steps {

    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);

}


.drywall-example-steps > div {

    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.065);

}


.drywall-example-steps > div:last-child {

    border-bottom: 0;

}


.drywall-example-steps span {

    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;

}


.drywall-example-steps code {

    color: #c7d2fe;
    font-size: 12px;
    font-weight: 600;

}


.drywall-examples-note {

    margin-top: 25px;
    padding: 19px 21px;
    border: 1px solid rgba(129,140,248,.15);
    border-radius: 11px;
    background: rgba(129,140,248,.055);

}


.drywall-examples-note strong {

    display: block;
    color: #c7d2fe;
    font-size: 12px;
    margin-bottom: 7px;

}


.drywall-examples-note p {

    color: #aab5c8;
    font-size: 11px;
    line-height: 1.8;

}



/* ==========================================
   20. PREGUNTAS FRECUENTES
========================================== */

.drywall-faq-section {

    padding: 25px 0 65px;
    border-top: 1px solid rgba(255,255,255,.1);

}


.drywall-faq-heading {

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: end;
    gap: 50px;
    margin-bottom: 37px;

}


.drywall-faq-heading h2 {

    max-width: 670px;
    margin-bottom: 0;

}


.drywall-faq-heading > p {

    color: #94a3b8;
    font-size: 13px;
    line-height: 1.9;

}


.drywall-faq-list {

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 11px 15px;

}


.drywall-faq-item {

    min-width: 0;
    background: #101727;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 12px;
    overflow: hidden;
    transition:
        border-color .2s ease,
        background .2s ease;

}


.drywall-faq-item:hover {

    border-color: rgba(129,140,248,.3);

}


.drywall-faq-item[open] {

    background: #131d31;
    border-color: rgba(129,140,248,.35);

}


.drywall-faq-item summary {

    display: grid;
    grid-template-columns: 31px 1fr 25px;
    align-items: center;
    gap: 12px;
    padding: 17px;
    cursor: pointer;
    list-style: none;

}


.drywall-faq-item summary::-webkit-details-marker {

    display: none;

}


.drywall-faq-item summary::marker {

    content: "";

}


.drywall-faq-number {

    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    background: rgba(129,140,248,.12);
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 800;

}


.drywall-faq-question {

    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;

}


.drywall-faq-toggle {

    position: relative;
    width: 23px;
    height: 23px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;

}


.drywall-faq-toggle::before,
.drywall-faq-toggle::after {

    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 1.5px;
    background: #a5b4fc;
    transform: translate(-50%, -50%);

}


.drywall-faq-toggle::after {

    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .2s ease;

}


.drywall-faq-item[open] .drywall-faq-toggle::after {

    transform: translate(-50%, -50%) rotate(0);

}


.drywall-faq-answer {

    padding: 0 17px 19px 60px;

}


.drywall-faq-answer p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.9;

}



/* ==========================================
   21. RESPONSIVE - TABLET
========================================== */

@media (max-width: 950px) {

    .drywallcalc-layout {

        grid-template-columns: 1fr;

    }


    .drywallcalc-result-card {

        position: relative;
        top: 0;

    }


    .drywallcalc-result-heading {

        padding: 27px;

    }


    .drywallcalc-total {

        font-size: 45px;

    }


    .drywall-intro {

        grid-template-columns: 1fr;
        gap: 35px;

    }


    .drywall-example-card {

        max-width: 650px;
        width: 100%;

    }


    .drywall-structure-layout {

        grid-template-columns: 1fr;
        gap: 30px;

    }


    .drywall-structure-note {

        max-width: 700px;
        width: 100%;

    }


    .drywall-faq-heading {

        grid-template-columns: 1fr;
        gap: 15px;

    }

}



/* ==========================================
   22. RESPONSIVE - TABLET PEQUEÑA
========================================== */

@media (max-width: 800px) {

    .drywall-materials-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }


    .drywall-materials-heading,
    .drywall-examples-heading {

        grid-template-columns: 1fr;
        gap: 15px;

    }


    .drywall-ceiling-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }


    .drywall-ceiling-card h3,
    .drywall-ceiling-card > p {

        min-height: 0;

    }


    .drywall-types-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }


    .drywall-faq-list {

        grid-template-columns: 1fr;

    }

}



/* ==========================================
   23. RESPONSIVE - MÓVIL
========================================== */

@media (max-width: 600px) {

    .drywallcalc {

        width: calc(100% - 28px);
        margin: 35px auto 60px;

    }


    .drywallcalc-heading {

        margin-bottom: 25px;

    }


    .drywallcalc-heading h1 {

        font-size: 29px;
        letter-spacing: -.8px;

    }


    .drywallcalc-heading > p {

        font-size: 12px;
        line-height: 1.85;

    }


    .drywallcalc-tags {

        gap: 6px;

    }


    .drywallcalc-tags span {

        font-size: 9px;

    }


    .drywallcalc-layout {

        gap: 17px;

    }


    .drywallcalc-form-card {

        padding: 20px 16px;
        border-radius: 15px;

    }


    .drywallcalc-form-heading h2 {

        font-size: 16px;

    }


    .drywallcalc-surface-card {

        padding: 15px;

    }


    .drywallcalc-grid-2 {

        gap: 12px;

    }


    .drywallcalc-grid-3 {

        gap: 7px;

    }


    .drywallcalc-field input,
    .drywallcalc-field select {

        min-height: 44px;
        padding: 9px;
        font-size: 12px;

    }


    .drywallcalc-field label {

        font-size: 10px;

    }


    .drywallcalc-openings {

        padding: 12px;

    }


    .drywallcalc-settings-card {

        padding: 15px;

    }


    .drywallcalc-settings-title {

        align-items: flex-start;

    }


    .drywallcalc-settings-title span {

        max-width: 42%;
        line-height: 1.5;

    }


    .drywallcalc-actions {

        flex-direction: column;

    }


    .drywallcalc-actions button {

        width: 100%;
        min-height: 46px;

    }


    .drywallcalc-result-card {

        border-radius: 15px;

    }


    .drywallcalc-result-heading {

        padding: 24px 20px;

    }


    .drywallcalc-total {

        font-size: 39px;

    }


    .drywallcalc-results {

        padding: 17px;

    }


    .drywallcalc-stat {

        padding: 12px;

    }


    .drywallcalc-stat > strong {

        font-size: 15px;

    }


    .drywallcalc-result-actions {

        grid-template-columns: 1fr;

    }


    /* Secciones */

    .drywall-section,
    .drywall-formula-section,
    .drywall-structure-section,
    .drywall-materials-section,
    .drywall-ceiling-section,
    .drywall-types-section,
    .drywall-examples-section,
    .drywall-faq-section {

        width: calc(100% - 32px);
        margin-top: 55px;
        margin-bottom: 55px;

    }


    .drywall-eyebrow {

        font-size: 9px;
        margin-bottom: 13px;

    }


    .drywall-section h2,
    .drywall-formula-section h2,
    .drywall-structure-section h2,
    .drywall-materials-section h2,
    .drywall-ceiling-section h2,
    .drywall-types-section h2,
    .drywall-examples-section h2,
    .drywall-faq-section h2 {

        font-size: 28px;
        letter-spacing: -.8px;

    }


    /* Introducción */

    .drywall-instructions {

        grid-template-columns: 1fr;
        gap: 19px;

    }


    .drywall-intro {

        gap: 28px;

    }


    .drywall-example-card {

        padding: 22px;
        border-radius: 17px;

    }


    .drywall-example-heading h3 {

        font-size: 19px;

    }


    .drywall-measure strong {

        font-size: 20px;

    }


    .drywall-calculation-line code {

        font-size: 11px;

    }


    .drywall-example-result strong {

        font-size: 40px;

    }


    /* Planchas */

    .drywall-formula-section {

        padding: 45px 0;

    }


    .drywall-formula-heading {

        grid-template-columns: 1fr;
        gap: 15px;

    }


    .drywall-formula-grid {

        grid-template-columns: 1fr;

    }


    .drywall-formula-card {

        padding: 22px;

    }


    .drywall-formula-card > p {

        min-height: 0;

    }


    .drywall-formula-footer {

        align-items: flex-start;
        flex-direction: column;
        gap: 7px;

    }


    .drywall-content-columns {

        grid-template-columns: 1fr;
        gap: 27px;
        margin-top: 35px;

    }


    /* Estructura */

    .drywall-structure-section {

        padding: 5px 0;

    }


    .drywall-structure-item h3 {

        font-size: 14px;

    }


    .drywall-structure-note {

        padding: 21px;

    }


    /* Materiales */

    .drywall-materials-section {

        padding: 26px 17px;
        border-radius: 16px;

    }


    .drywall-materials-grid {

        grid-template-columns: 1fr;

    }


    .drywall-material-card {

        min-height: 0;
        padding: 21px;

    }


    .drywall-material-symbol {

        margin: 16px 0 12px;

    }


    .drywall-materials-warning {

        grid-template-columns: 1fr;
        gap: 8px;
        padding: 17px;

    }


    /* Cielos rasos */

    .drywall-ceiling-grid {

        grid-template-columns: 1fr;

    }


    .drywall-ceiling-card {

        padding: 21px;

    }


    /* Tipos */

    .drywall-types-grid {

        grid-template-columns: 1fr;

    }


    .drywall-type-card {

        padding: 22px;

    }


    /* Ejemplos */

    .drywall-examples-section {

        padding: 26px 17px;
        border-radius: 16px;

    }


    .drywall-examples-grid {

        grid-template-columns: 1fr;

    }


    .drywall-example-detail {

        padding: 20px;

    }


    /* FAQ */

    .drywall-faq-section {

        padding-top: 35px;

    }


    .drywall-faq-item summary {

        grid-template-columns: 29px 1fr 22px;
        gap: 9px;
        padding: 14px 11px;

    }


    .drywall-faq-question {

        font-size: 11px;

    }


    .drywall-faq-answer {

        padding: 0 13px 16px 49px;

    }


    .drywall-faq-answer p {

        font-size: 11px;

    }

}



/* ==========================================
   24. MÓVILES MUY PEQUEÑOS
========================================== */

@media (max-width: 380px) {

    .drywallcalc-grid-3 {

        grid-template-columns: 1fr;

    }


    .drywallcalc-grid-2 {

        grid-template-columns: 1fr;

    }


    .drywall-example-measures {

        grid-template-columns: 1fr 1fr;

    }


    .drywallcalc-result-subheading {

        align-items: flex-start;
        flex-direction: column;

    }


    .drywallcalc-result-subheading > span {

        max-width: none;
        text-align: left;

    }

}



/* ==========================================
   25. IMPRESIÓN
   Solo imprime el panel de resultados
========================================== */

@media print {

    body * {

        visibility: hidden !important;

    }


    #calculadora-drywall .drywallcalc-result-card,
    #calculadora-drywall .drywallcalc-result-card * {

        visibility: visible !important;

    }


    #calculadora-drywall .drywallcalc-result-card {

        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: none !important;
        border: 1px solid #d1d5db !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
        color: #111827 !important;

    }


    #calculadora-drywall .drywallcalc-result-heading {

        background: #eef2ff !important;
        border-bottom: 1px solid #d1d5db !important;

    }


    #calculadora-drywall .drywallcalc-result-heading h2,
    #calculadora-drywall .drywallcalc-total {

        color: #111827 !important;

    }


    #calculadora-drywall .drywallcalc-result-eyebrow,
    #calculadora-drywall .drywallcalc-result-description {

        color: #373b80 !important;

    }


    #calculadora-drywall .drywallcalc-stat,
    #calculadora-drywall .drywallcalc-materials-table-wrap {

        background: #fff !important;
        border-color: #d1d5db !important;

    }


    #calculadora-drywall .drywallcalc-stat > span,
    #calculadora-drywall .drywallcalc-stat > strong,
    #calculadora-drywall .drywallcalc-materials-table td,
    #calculadora-drywall .drywallcalc-materials-heading h3 {

        color: #111827 !important;

    }


    #calculadora-drywall .drywallcalc-materials-table th {

        background: #eef2ff !important;
        color: #373b80 !important;

    }


    #calculadora-drywall .drywallcalc-result-notes {

        background: #f8fafc !important;
        border-color: #c7d2fe !important;

    }


    #calculadora-drywall .drywallcalc-result-notes strong,
    #calculadora-drywall .drywallcalc-result-notes li {

        color: #334155 !important;

    }


    #calculadora-drywall .drywallcalc-result-actions,
    #calculadora-drywall .drywallcalc-copy-feedback {

        display: none !important;

    }

}



/* ==========================================
   26. ACCESIBILIDAD
========================================== */

@media (prefers-reduced-motion: reduce) {

    .drywallcalc *,
    .drywallcalc *::before,
    .drywallcalc *::after,
    .drywall-section *,
    .drywall-formula-section *,
    .drywall-structure-section *,
    .drywall-materials-section *,
    .drywall-ceiling-section *,
    .drywall-types-section *,
    .drywall-examples-section *,
    .drywall-faq-section * {

        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

    }

}
