/* ==========================================
   KO VERTIZ
   CALCULADORA DE TABLAROCA
   ESTILOS GENERALES
========================================== */


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

.tab-section,
.tab-formula-section,
.tab-depth-section,
.tab-materials-section,
.tab-ceiling-section,
.tab-uses-section,
.tab-capacity-section,
.tab-faq-section {

    max-width: 1200px;
    width: calc(100% - 48px);
    margin: 100px auto;

    font-family: inherit;
    color: #fff;

}


.tab-section *,
.tab-formula-section *,
.tab-depth-section *,
.tab-materials-section *,
.tab-ceiling-section *,
.tab-uses-section *,
.tab-capacity-section *,
.tab-faq-section * {

    box-sizing: border-box;

}


.tab-section p,
.tab-formula-section p,
.tab-depth-section p,
.tab-materials-section p,
.tab-ceiling-section p,
.tab-uses-section p,
.tab-capacity-section p,
.tab-faq-section p {

    margin-bottom: 0;

}


.tab-eyebrow {

    display: inline-block;

    color: #a5b4fc;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.8px;
    text-transform: uppercase;

    margin-bottom: 18px;

}


.tab-section h2,
.tab-formula-section h2,
.tab-depth-section h2,
.tab-materials-section h2,
.tab-ceiling-section h2,
.tab-uses-section h2,
.tab-capacity-section h2,
.tab-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;

}


.tab-section h3,
.tab-formula-section h3,
.tab-depth-section h3,
.tab-materials-section h3,
.tab-ceiling-section h3,
.tab-uses-section h3,
.tab-capacity-section h3,
.tab-faq-section h3 {

    color: #fff;

}


/* ==========================================
   2. CALCULADORA PRINCIPAL
========================================== */


.tabcalc {

    --tab-accent: #818cf8;
    --tab-accent-light: #a5b4fc;

    --tab-panel: #0d1425;
    --tab-panel-light: #121b30;

    --tab-border: rgba(255,255,255,.09);
    --tab-muted: #94a3b8;

    display: block;

    width: min(1200px, calc(100% - 48px));

    margin: 55px auto 90px;

    color: #fff;
    font-family: inherit;

}


.tabcalc *,
.tabcalc *::before,
.tabcalc *::after {

    box-sizing: border-box;

}


.tabcalc [hidden] {

    display: none !important;

}


.tabcalc h1,
.tabcalc h2,
.tabcalc h3,
.tabcalc h4,
.tabcalc p {

    margin-top: 0;

}


/* Encabezado */

.tabcalc-heading {

    max-width: 940px;

    margin-bottom: 35px;

}


.tabcalc-eyebrow {

    display: inline-block;

    margin-bottom: 17px;

    padding: 7px 12px;

    color: var(--tab-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;

}


.tabcalc-heading h1 {

    max-width: 900px;

    margin-bottom: 16px;

    color: #fff;

    font-size: clamp(30px, 4vw, 43px);

    font-weight: 800;
    line-height: 1.15;

    letter-spacing: -1.5px;

}


.tabcalc-heading > p {

    max-width: 820px;

    margin-bottom: 20px;

    color: var(--tab-muted);

    font-size: 14px;
    line-height: 1.9;

}


.tabcalc-tags {

    display: flex;
    align-items: center;

    gap: 9px;

    flex-wrap: wrap;

}


.tabcalc-tags span {

    padding: 6px 11px;

    border-radius: 7px;

    color: #cbd5e1;

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

    border: 1px solid var(--tab-border);

    font-size: 10px;
    font-weight: 600;

}


/* Distribución principal */

.tabcalc-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(340px, .92fr);

    gap: 22px;

    align-items: start;

}


/* ==========================================
   3. FORMULARIO
========================================== */


.tabcalc-form-card {

    min-width: 0;

    padding: 29px;

    border: 1px solid var(--tab-border);

    border-radius: 19px;

    background: linear-gradient(
        145deg,
        #111a2c,
        #0c1322
    );

    box-shadow: 0 20px 55px rgba(0,0,0,.16);

}


.tabcalc-form-heading {

    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 25px;

}


.tabcalc-step-label {

    flex: 0 0 auto;

    padding: 7px 9px;

    border-radius: 7px;

    color: var(--tab-accent-light);

    background: rgba(129,140,248,.12);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;

}


.tabcalc-form-heading h2 {

    margin-bottom: 4px;

    color: #fff;

    font-size: 18px;
    font-weight: 800;

}


.tabcalc-form-heading p {

    margin-bottom: 0;

    color: var(--tab-muted);

    font-size: 11px;

}


/* Campos */

.tabcalc-field {

    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 8px;

}


.tabcalc-field-full {

    grid-column: 1 / -1;

}


.tabcalc-field label {

    display: block;

    margin: 0;

    color: #e2e8f0;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.5;

}


.tabcalc-field input,
.tabcalc-field select {

    width: 100%;
    min-width: 0;

    min-height: 47px;

    padding: 11px 13px;
    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: 14px;
    line-height: 1.4;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;

}


.tabcalc-field input::placeholder {

    color: #64748b;
    opacity: 1;

}


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

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

}


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

    border-color: var(--tab-accent);

    background: rgba(3,6,16,.85);

    box-shadow: 0 0 0 3px rgba(129,140,248,.13);

}


.tabcalc-field select {

    cursor: pointer;

}


.tabcalc-field select option {

    color: #fff;
    background: #111827;

}


.tabcalc-field small {

    color: #8190a6;

    font-size: 10px;
    line-height: 1.5;

}


.tabcalc-label-optional {

    display: inline-block;

    margin-left: 5px;

    color: #a5b4fc;

    font-size: 8px;
    font-weight: 800;

}


/* Dimensiones */

.tabcalc-dimensions {

    display: grid;

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

    gap: 16px;

    margin-top: 17px;

}


.tabcalc-config-grid {

    display: grid;

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

    gap: 15px;

    margin-top: 17px;

}


.tabcalc-field-hint {

    margin: 12px 0 0;

    color: #8492a8;

    font-size: 10px;
    line-height: 1.8;

}


/* Separadores */

.tabcalc-divider {

    height: 1px;

    margin: 25px 0;

    border: 0;

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

}


/* Encabezados de subsecciones */

.tabcalc-section-heading {

    display: flex;
    align-items: center;

    gap: 13px;

    margin: 26px 0 19px;

}


.tabcalc-section-heading > div {

    flex: 1;

    min-width: 0;

}


.tabcalc-section-heading h3 {

    margin-bottom: 4px;

    color: #fff;

    font-size: 14px;
    font-weight: 800;

}


.tabcalc-section-heading p {

    margin-bottom: 0;

    color: var(--tab-muted);

    font-size: 10px;
    line-height: 1.5;

}


/* ==========================================
   4. ABERTURAS
========================================== */


.tabcalc-opening-grid {

    display: grid;

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

    gap: 12px;

}


.tabcalc-opening-card {

    min-width: 0;

    padding: 15px;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 11px;

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

}


.tabcalc-opening-title {

    display: flex;
    flex-direction: column;

    gap: 4px;

    margin-bottom: 15px;

}


.tabcalc-opening-title strong {

    color: #fff;

    font-size: 12px;

}


.tabcalc-opening-title span {

    color: #8190a6;

    font-size: 10px;

}


.tabcalc-opening-card > .tabcalc-field {

    margin-bottom: 12px;

}


.tabcalc-opening-card .tabcalc-dimensions {

    gap: 9px;

    margin-top: 0;

}


.tabcalc-opening-card .tabcalc-field input {

    min-height: 43px;

    padding: 9px;

    font-size: 12px;

}


/* ==========================================
   5. CONFIGURACIÓN AVANZADA
========================================== */


.tabcalc-settings {

    border: 1px solid rgba(129,140,248,.16);

    border-radius: 12px;

    background: rgba(129,140,248,.035);

    overflow: hidden;

}


.tabcalc-settings summary {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 17px;

    cursor: pointer;

    list-style: none;

}


.tabcalc-settings summary::-webkit-details-marker {

    display: none;

}


.tabcalc-settings summary::marker {

    content: "";

}


.tabcalc-settings-summary {

    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 0;

}


.tabcalc-settings-icon {

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color: #c7d2fe;

    background: rgba(129,140,248,.15);

    border-radius: 9px;

    font-size: 16px;

}


.tabcalc-settings-summary strong {

    display: block;

    color: #fff;

    font-size: 12px;

}


.tabcalc-settings-summary small {

    display: block;

    margin-top: 4px;

    color: #94a3b8;

    font-size: 10px;
    line-height: 1.5;

}


.tabcalc-settings-arrow {

    flex: 0 0 10px;

    width: 10px;
    height: 10px;

    border-right: 1.5px solid #a5b4fc;
    border-bottom: 1.5px solid #a5b4fc;

    transform: rotate(45deg);

    transition: transform .2s ease;

}


.tabcalc-settings[open] .tabcalc-settings-arrow {

    transform: rotate(225deg);

}


.tabcalc-settings-content {

    padding: 0 17px 18px;

}


.tabcalc-settings-group {

    padding: 19px 0;

    border-top: 1px solid rgba(255,255,255,.07);

}


.tabcalc-settings-group h3 {

    margin: 0 0 14px;

    color: #c7d2fe;

    font-size: 12px;

    font-weight: 800;

}


.tabcalc-settings-group + .tabcalc-settings-group {

    margin-top: 2px;

}


.tabcalc-settings-group .tabcalc-config-grid {

    gap: 13px;

}


.tabcalc-settings-group .tabcalc-field {

    margin-bottom: 13px;

}


.tabcalc-settings-group .tabcalc-field:last-child {

    margin-bottom: 0;

}


.tabcalc-settings-group .tabcalc-field input,
.tabcalc-settings-group .tabcalc-field select {

    min-height: 43px;

    padding: 9px 11px;

    font-size: 12px;

}


.tabcalc-checkbox-field {

    justify-content: center;

}


.tabcalc-checkbox-field label {

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 11px;

    border-radius: 9px;

    border: 1px solid rgba(255,255,255,.09);

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

    font-size: 11px;

    cursor: pointer;

}


.tabcalc-checkbox-field input {

    flex: 0 0 16px;

    width: 16px;
    height: 16px;

    min-height: auto;

    margin: 0;

    accent-color: #818cf8;

}


.tabcalc-settings-note {

    margin: 15px 0 0;

    padding: 13px;

    border-radius: 9px;

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

    color: #aab5c8;

    font-size: 10px;
    line-height: 1.8;

}


/* ==========================================
   6. BOTONES
========================================== */


.tabcalc-actions {

    display: flex;

    gap: 10px;

    margin-top: 22px;

}


.tabcalc-actions button,
.tabcalc-project-actions button {

    min-height: 46px;

    padding: 11px 17px;

    border: 0;

    border-radius: 9px;

    font-family: inherit;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;

}


.tabcalc-actions button:hover,
.tabcalc-project-actions button:hover {

    transform: translateY(-2px);

}


.tabcalc-button-add {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    background: rgba(129,140,248,.13);

    border: 1px solid rgba(129,140,248,.3) !important;

    color: #c7d2fe;

}


.tabcalc-button-add:hover {

    background: rgba(129,140,248,.21);

}


.tabcalc-button-add span {

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

}


.tabcalc-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);

}


.tabcalc-button-primary:hover {

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

}


.tabcalc-button-primary span {

    font-size: 17px;

}


.tabcalc-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;

}


.tabcalc-button-reset:hover {

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

}


.tabcalc-actions button:focus-visible,
.tabcalc-project-actions button:focus-visible,
.tabcalc-result-actions button:focus-visible,
.tabcalc-remove:focus-visible {

    outline: 2px solid #c7d2fe;

    outline-offset: 3px;

}


/* Error */

.tabcalc-error {

    margin-top: 15px;

    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;

}


/* ==========================================
   7. PROYECTO Y SUPERFICIES
========================================== */


.tabcalc-project {

    margin-top: 28px;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,.085);

}


.tabcalc-project-heading {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 17px;

}


.tabcalc-project-heading > div {

    display: flex;
    flex-direction: column;

    gap: 9px;

}


.tabcalc-project-heading h3 {

    margin: 0;

    color: #fff;

    font-size: 15px;

    font-weight: 800;

}


.tabcalc-project-count {

    flex: 0 0 auto;

    padding: 6px 9px;

    border-radius: 7px;

    background: rgba(129,140,248,.1);

    color: #c7d2fe;

    font-size: 9px;
    font-weight: 800;

}


.tabcalc-empty-project {

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

    padding: 30px 18px;

    text-align: center;

    border: 1px dashed rgba(255,255,255,.12);

    border-radius: 11px;

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

}


.tabcalc-empty-icon {

    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    margin-bottom: 13px;

    color: #a5b4fc;

    background: rgba(129,140,248,.11);

    border-radius: 12px;

    font-size: 22px;

}


.tabcalc-empty-project strong {

    display: block;

    margin-bottom: 6px;

    color: #e2e8f0;

    font-size: 12px;

}


.tabcalc-empty-project p {

    max-width: 270px;

    color: #94a3b8;

    font-size: 10px;

    line-height: 1.8;

}


.tabcalc-surface-list {

    display: flex;
    flex-direction: column;

    gap: 9px;

    padding: 0;
    margin: 0;

    list-style: none;

}


.tabcalc-surface-item {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 13px;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 10px;

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

}


.tabcalc-surface-info {

    min-width: 0;

}


.tabcalc-surface-info strong {

    display: block;

    margin-bottom: 5px;

    color: #fff;

    font-size: 11px;

    overflow-wrap: anywhere;

}


.tabcalc-surface-info span {

    display: block;

    color: #94a3b8;

    font-size: 10px;

    line-height: 1.7;

}


.tabcalc-remove {

    flex: 0 0 auto;

    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(248,113,113,.15);

    border-radius: 8px;

    background: rgba(248,113,113,.06);

    color: #fca5a5;

    font-size: 17px;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;

}


.tabcalc-remove:hover {

    background: rgba(248,113,113,.14);

    transform: scale(1.05);

}


.tabcalc-project-actions {

    display: flex;

    gap: 10px;

    margin-top: 17px;

}


/* ==========================================
   8. PANEL DE RESULTADOS
========================================== */


.tabcalc-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 */

.tabcalc-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);

}


.tabcalc-result-eyebrow {

    display: block;

    margin-bottom: 13px;

    color: #c7d2fe;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.8px;

}


.tabcalc-result-heading h2 {

    margin-bottom: 12px;

    color: #fff;

    font-size: 17px;
    font-weight: 700;

}


.tabcalc-total {

    color: #fff;

    font-size: clamp(45px, 5vw, 59px);

    font-weight: 800;

    letter-spacing: -2px;
    line-height: 1.1;

    overflow-wrap: anywhere;

}


.tabcalc-total-label {

    display: block;

    margin-top: 5px;

    color: #dbeafe;

    font-size: 11px;
    font-weight: 700;

}


.tabcalc-result-description {

    margin: 12px 0 0;

    color: #c7d2fe;

    font-size: 11px;
    line-height: 1.7;

}


/* Estado inicial */

.tabcalc-placeholder {

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

    padding: 46px 28px;

    text-align: center;

}


.tabcalc-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);

}


.tabcalc-placeholder-icon span {

    position: relative;

    width: 27px;
    height: 20px;

    display: block;

    border: 2px solid #a5b4fc;

    border-radius: 3px;

}


.tabcalc-placeholder-icon span::after {

    content: "";

    position: absolute;

    top: 5px;
    left: 0;
    right: 0;

    border-top: 2px solid #a5b4fc;

}


.tabcalc-placeholder > strong {

    color: #e2e8f0;

    font-size: 13px;

    margin-bottom: 8px;

}


.tabcalc-placeholder > p {

    max-width: 280px;

    margin: 0;

    color: var(--tab-muted);

    font-size: 11px;
    line-height: 1.8;

}


/* Resultados */

.tabcalc-results {

    padding: 22px;

}


.tabcalc-stats {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

}


.tabcalc-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;

}


.tabcalc-stat > span {

    color: #94a3b8;

    font-size: 10px;
    line-height: 1.5;

}


.tabcalc-stat > strong {

    color: #fff;

    font-size: 17px;
    font-weight: 800;

    overflow-wrap: anywhere;

}


/* Encabezado de lista */

.tabcalc-material-heading {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin: 27px 0 15px;

}


.tabcalc-material-heading h3 {

    margin: 0;

    color: #fff;

    font-size: 15px;
    font-weight: 800;

}


.tabcalc-material-icon {

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color: #c7d2fe;

    border-radius: 9px;

    background: rgba(129,140,248,.13);

    font-size: 17px;

}


/* Grupos de materiales */

.tabcalc-material-groups {

    display: flex;
    flex-direction: column;

    gap: 15px;

}


.tabcalc-material-group {

    padding: 15px;

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

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 11px;

}


.tabcalc-material-group h4 {

    margin: 0 0 12px;

    padding-bottom: 10px;

    color: #a5b4fc;

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

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;

}


.tabcalc-material-group dl {

    display: flex;
    flex-direction: column;

    gap: 11px;

    padding: 0;
    margin: 0;

}


.tabcalc-material-row {

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;

}


.tabcalc-material-row dt {

    min-width: 0;

    color: #aab5c8;

    font-size: 10px;
    line-height: 1.6;

}


.tabcalc-material-row dd {

    flex: 0 0 auto;

    max-width: 56%;

    margin: 0;

    color: #fff;

    font-size: 10px;
    font-weight: 800;

    line-height: 1.6;

    text-align: right;

    overflow-wrap: anywhere;

}


/* Advertencia */

.tabcalc-result-warning {

    margin-top: 18px;

    padding: 15px;

    border: 1px solid rgba(255,209,102,.15);

    border-radius: 10px;

    background: rgba(255,209,102,.04);

}


.tabcalc-result-warning > strong {

    display: block;

    margin-bottom: 8px;

    color: #fcd98c;

    font-size: 11px;

}


.tabcalc-result-warning ul {

    padding-left: 16px;
    margin: 0;

}


.tabcalc-result-warning li {

    margin: 6px 0;

    color: #aab5c8;

    font-size: 10px;
    line-height: 1.8;

}


/* Acciones de resultados */

.tabcalc-result-actions {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 18px;

}


.tabcalc-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;

}


.tabcalc-result-actions button:hover {

    background: rgba(129,140,248,.15);

    transform: translateY(-2px);

}


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

    background: var(--tab-accent);

    border-color: var(--tab-accent);

    color: #ffffff;

}


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

    background: #a5adff;

}


/* ==========================================
   9. INTRODUCCIÓN
   INSTRUCCIONES + EJEMPLO
========================================== */


.tab-intro {

    display: grid;

    grid-template-columns: 1.08fr .92fr;

    align-items: center;

    gap: 65px;

}


.tab-intro-copy {

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

}


.tab-intro-copy > p {

    color: #aeb8cb;

    font-size: 14px;
    line-height: 1.9;

    margin-bottom: 14px;

}


/* Instrucciones */

.tab-instructions {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 23px 22px;

    margin-top: 29px;

    width: 100%;

}


.tab-instruction {

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

    gap: 13px;

}


.tab-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;

}


.tab-instruction > div {

    min-width: 0;

}


.tab-instruction strong {

    display: block;

    font-size: 13px;

    color: #fff;

    margin: 2px 0 6px;

}


.tab-instruction p {

    color: #94a3b8;

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

}


/* Privacidad */

.tab-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;

}


.tab-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;

}


.tab-privacy p {

    color: #aeb8cb;

    font-size: 11px;
    line-height: 1.8;

}


/* Tarjeta de ejemplo */

.tab-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);

}


.tab-example-heading {

    padding-bottom: 24px;

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

}


.tab-example-heading > span {

    color: #a5b4fc;

    font-size: 10px;

    letter-spacing: 1.8px;

    font-weight: 800;

}


.tab-example-heading h3 {

    font-size: 21px;

    margin: 13px 0 8px;

    line-height: 1.3;

}


.tab-example-heading p {

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.7;

}


/* Medidas */

.tab-example-measures {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    padding: 23px 0;

}


.tab-measure {

    padding: 12px;

    border-radius: 10px;

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

    border: 1px solid rgba(255,255,255,.055);

}


.tab-measure span {

    display: block;

    color: #94a3b8;

    font-size: 10px;

    margin-bottom: 5px;

}


.tab-measure strong {

    color: #fff;

    font-size: 22px;

    font-weight: 800;

}


.tab-measure strong small {

    font-size: 12px;

    color: #a5b4fc;

}


/* Operaciones */

.tab-example-calculation {

    display: flex;
    flex-direction: column;

    gap: 0;

}


.tab-calculation-line {

    display: flex;
    flex-direction: column;

    gap: 7px;

    padding: 13px 0;

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

}


.tab-calculation-line span {

    color: #94a3b8;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    font-weight: 800;

}


.tab-calculation-line code {

    color: #e2e8f0;

    font-family: inherit;

    font-size: 13px;
    font-weight: 600;

}


.tab-example-result {

    margin-top: 21px;

    padding: 20px;

    text-align: center;

    background: linear-gradient(
        110deg,
        #5556ad,
        #373b80
    );

    border-radius: 14px;

}


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

    display: block;

    color: #dbeafe;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

}


.tab-example-result strong {

    display: block;

    font-size: clamp(36px, 5vw, 47px);

    line-height: 1.2;

    letter-spacing: -1.5px;

    margin: 7px 0 2px;

}


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

    display: block;

    color: #dbeafe;

    font-size: 12px;

}


.tab-example-footnote {

    color: #94a3b8;

    font-size: 10px;

    line-height: 1.6;

    text-align: center;

    margin-top: 13px;

}


/* ==========================================
   10. FÓRMULAS DE PANELES
========================================== */


.tab-formula-section {

    padding: 70px 0;

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

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

}


.tab-formula-heading {

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 50px;

    align-items: end;

    margin-bottom: 38px;

}


.tab-formula-heading h2 {

    max-width: 650px;

    margin-bottom: 0;

}


.tab-formula-heading > p {

    color: #94a3b8;

    font-size: 14px;

    line-height: 1.9;

    padding-bottom: 4px;

}


.tab-formula-grid {

    display: grid;

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

    gap: 16px;

}


.tab-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;

}


.tab-formula-card:hover {

    transform: translateY(-5px);

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

}


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

    background: #121c2c;

}


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

    background: #14172d;

}


.tab-formula-top {

    height: 75px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-bottom: 20px;

}


.tab-formula-number {

    color: #a5b4fc;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;

}


/* Representaciones de paneles */

.tab-formula-symbol {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 50px;

    border-radius: 9px;

    background: rgba(129,140,248,.09);

    border: 1px solid rgba(129,140,248,.16);

}


.tab-wall-one {

    width: 28px;
    height: 36px;

    border: 2px solid #a5b4fc;

    border-radius: 3px;

    background: rgba(129,140,248,.15);

}


.tab-wall-double {

    position: relative;

    width: 28px;
    height: 36px;

    border: 2px solid #a5b4fc;

    border-radius: 3px;

    background: rgba(129,140,248,.15);

    box-shadow:
        5px 0 0 -2px #101727,
        7px 0 0 0 #a5b4fc;

}


.tab-wall-layers {

    position: relative;

    width: 28px;
    height: 36px;

    border: 2px solid #a5b4fc;

    border-radius: 3px;

    background: rgba(129,140,248,.18);

    box-shadow:
        5px 0 0 -2px #14172d,
        7px 0 0 0 #a5b4fc,
        11px 0 0 -2px #14172d,
        13px 0 0 0 #a5b4fc;

}


.tab-formula-card h3 {

    font-size: 18px;

    margin: 0 0 10px;

}


.tab-formula-card > p {

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.8;

    min-height: 66px;

}


.tab-formula-equation {

    padding-top: 15px;

    margin-top: 15px;

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

}


.tab-formula-equation span {

    display: block;

    color: #a5b4fc;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 8px;

}


.tab-formula-equation code {

    display: block;

    background: rgba(0,0,0,.23);

    border-radius: 8px;

    padding: 12px;

    color: #e2e8f0;

    font-family: inherit;

    font-size: 12px;

    line-height: 1.6;

    overflow-wrap: anywhere;

}


.tab-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;

}


.tab-formula-footer strong {

    flex: 0 0 auto;

    color: #c7d2fe;

    font-size: 12px;

}


.tab-formula-footer span {

    color: #aab5c8;

    font-size: 12px;

    line-height: 1.7;

}


.tab-sheet-explanation {

    margin-top: 26px;

    padding: 21px;

    background: #101727;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 12px;

}


.tab-sheet-explanation h3 {

    margin: 0 0 10px;

    color: #fff;

    font-size: 15px;

}


.tab-sheet-explanation p {

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.8;

    margin-top: 9px;

}


/* ==========================================
   11. ESTRUCTURA DE MUROS
========================================== */


.tab-depth-section {

    padding: 15px 0;

}


.tab-depth-heading {

    max-width: 790px;

    margin-bottom: 40px;

}


.tab-depth-heading h2 {

    max-width: 720px;

}


.tab-depth-heading > p {

    color: #aab5c8;

    font-size: 14px;

    line-height: 1.9;

}


.tab-depth-layout {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 55px;

    align-items: center;

}


/* Diagrama */

.tab-depth-illustration {

    padding: 24px;

    background: #101828;

    border-radius: 20px;

    border: 1px solid rgba(255,255,255,.09);

}


.tab-diagram-label {

    color: #94a3b8;

    font-size: 10px;

    letter-spacing: 1.5px;

    font-weight: 800;

    margin-bottom: 24px;

}


.tab-wall-diagram {

    height: 280px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    padding: 18px;

    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            #172339,
            #111b2d
        );

}


.tab-wall-frame {

    position: relative;

    display: flex;
    justify-content: space-around;
    align-items: stretch;

    width: 88%;
    height: 82%;

    border: 1px solid rgba(165,180,252,.25);

}


.tab-wall-track {

    position: absolute;

    left: 0;
    right: 0;

    height: 10px;

    background: #818cf8;

    border: 1px solid #c7d2fe;

}


.tab-wall-track.top-track {

    top: 0;

}


.tab-wall-track.bottom-track {

    bottom: 0;

}


.tab-wall-stud {

    flex: 0 0 5px;

    height: 100%;

    background: linear-gradient(
        90deg,
        #6476bc,
        #a5b4fc
    );

    border-radius: 2px;

}


.tab-wall-opening {

    position: absolute;

    left: 37%;
    bottom: 0;

    width: 25%;
    height: 62%;

    border: 3px solid #c7d2fe;
    border-bottom: 0;

    background: rgba(3,6,16,.3);

}


.tab-wall-opening-top {

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 5px;

    background: #a5b4fc;

}


.tab-wall-opening-side {

    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 5px;

    background: #818cf8;

}


.tab-wall-opening-side.second-side {

    left: auto;
    right: 0;

}


.tab-diagram-labels {

    display: flex;
    flex-wrap: wrap;

    gap: 14px 22px;

    margin-top: 21px;

}


.tab-diagram-labels > div {

    display: flex;
    align-items: center;

    gap: 8px;

    color: #aab5c8;

    font-size: 10px;

}


.tab-diagram-dot {

    width: 8px;
    height: 8px;

    display: block;

    border-radius: 50%;

}


.tab-diagram-dot.post-dot {

    background: #a5b4fc;

}


.tab-diagram-dot.track-dot {

    background: #818cf8;

}


.tab-diagram-dot.opening-dot {

    background: #38bdf8;

}


.tab-diagram-note {

    margin-top: 18px;

    padding-top: 15px;

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

    color: #94a3b8;

    font-size: 10px;

    line-height: 1.8;

}


/* Explicación */

.tab-depth-explanation h3 {

    font-size: 22px;

    margin-bottom: 10px;

}


.tab-depth-explanation > p {

    color: #94a3b8;

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 24px;

}


.tab-depth-step {

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 15px 0;

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

}


.tab-depth-step > span {

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(129,140,248,.12);

    color: #a5b4fc;

    font-size: 11px;
    font-weight: 800;

}


.tab-depth-step strong {

    display: block;

    color: #fff;

    font-size: 12px;

    margin-bottom: 5px;

}


.tab-depth-step code {

    color: #a5b4fc;

    font-size: 12px;

    font-family: inherit;

    line-height: 1.6;

}


.tab-depth-final {

    margin-top: 20px;

    padding: 19px 22px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    border-radius: 12px;

    background: linear-gradient(
        100deg,
        #454c9e,
        #30366d
    );

}


.tab-depth-final span {

    color: #dbeafe;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.3px;

}


.tab-depth-final strong {

    color: #fff;

    font-size: 23px;

}


.tab-depth-note {

    margin-top: 18px;

    padding: 16px;

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

    border-radius: 10px;

    border: 1px solid rgba(255,255,255,.07);

}


.tab-depth-note strong {

    color: #fff;

    font-size: 12px;

}


.tab-depth-note p {

    color: #94a3b8;

    font-size: 11px;

    line-height: 1.8;

    margin-top: 7px;

}


/* ==========================================
   12. MATERIALES
========================================== */


.tab-materials-section {

    padding: 15px 0;

}


.tab-materials-heading {

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    align-items: end;

    gap: 45px;

    margin-bottom: 38px;

}


.tab-materials-heading h2 {

    max-width: 650px;

    margin-bottom: 0;

}


.tab-materials-heading > p {

    color: #94a3b8;

    font-size: 13px;

    line-height: 1.9;

}


.tab-materials-grid {

    display: grid;

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

    gap: 15px;

}


.tab-material-card {

    position: relative;

    overflow: hidden;

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

    min-width: 0;

    padding: 24px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 15px;

    background: #111827;

    transition:
        transform .25s ease,
        border-color .25s ease;

}


.tab-material-card:hover {

    transform: translateY(-5px);

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

}


.tab-material-card:nth-child(3n+2) {

    background: #121c2c;

}


.tab-material-card:nth-child(3n) {

    background: #15182c;

}


.tab-material-featured {

    background:
        radial-gradient(
            circle at 100% 100%,
            rgba(129,140,248,.18),
            transparent 55%
        ),
        #151d35;

}


.tab-material-index {

    color: #a5b4fc;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.tab-material-symbol {

    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    margin: 19px 0 15px;

    border-radius: 11px;

    background: rgba(129,140,248,.13);

    color: #c7d2fe;

    font-size: 21px;

}


.tab-material-card h3 {

    margin: 0 0 9px;

    font-size: 16px;

    line-height: 1.4;

}


.tab-material-card p {

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.8;

}


.tab-material-card ul {

    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 7px;

    padding-left: 16px;

    margin: 13px 0 0;

}


.tab-material-card li {

    color: #aab5c8;

    font-size: 11px;

    line-height: 1.7;

}


.tab-materials-warning {

    display: grid;

    grid-template-columns: 180px 1fr;

    align-items: center;

    gap: 22px;

    margin-top: 25px;

    padding: 21px 23px;

    border-radius: 12px;

    background: rgba(129,140,248,.045);

    border: 1px solid rgba(129,140,248,.15);

}


.tab-materials-warning strong {

    color: #c7d2fe;

    font-size: 12px;

}


.tab-materials-warning p {

    color: #aab5c8;

    font-size: 12px;

    line-height: 1.8;

}


/* ==========================================
   13. PLAFONES
========================================== */


.tab-ceiling-section {

    padding: 42px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(129,140,248,.14),
            transparent 44%
        ),
        #101626;

    border: 1px solid rgba(129,140,248,.19);

    border-radius: 22px;

}


.tab-ceiling-heading {

    max-width: 780px;

    margin-bottom: 35px;

}


.tab-ceiling-heading h2 {

    max-width: 700px;

}


.tab-ceiling-heading > p {

    color: #aab5c8;

    font-size: 14px;

    line-height: 1.9;

}


.tab-ceiling-layout {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 38px;

}


/* Diagrama de plafón */

.tab-ceiling-diagram-card {

    padding: 23px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 16px;

    background: #0e1729;

}


.tab-ceiling-diagram {

    position: relative;

    height: 260px;

    overflow: hidden;

    border-radius: 10px;

    background: #172339;

}


.tab-ceiling-slab {

    position: absolute;

    top: 16%;
    left: 8%;
    right: 8%;

    height: 12px;

    border-radius: 3px;

    background: #64748b;

    border-bottom: 2px solid #94a3b8;

}


.tab-ceiling-hanger {

    position: absolute;

    top: 22%;

    width: 3px;
    height: 40%;

    background: #a5b4fc;

}


.tab-ceiling-hanger::before {

    content: "";

    position: absolute;

    top: -7px;
    left: -4px;

    width: 11px;
    height: 4px;

    border-radius: 2px;

    background: #cbd5e1;

}


.hanger-one {

    left: 21%;

}


.hanger-two {

    left: 50%;

}


.hanger-three {

    left: 79%;

}


.tab-ceiling-carrier {

    position: absolute;

    left: 10%;
    right: 10%;

    height: 8px;

    border-radius: 3px;

    background: #818cf8;

    border: 1px solid #c7d2fe;

}


.carrier-one {

    top: 58%;

}


.carrier-two {

    top: 70%;

    background: #6476bc;

}


.tab-ceiling-furring {

    position: absolute;

    top: 38%;

    width: 6px;
    height: 42%;

    background: #a5b4fc;

    border-radius: 2px;

}


.furring-one {

    left: 24%;

}


.furring-two {

    left: 40%;

}


.furring-three {

    left: 56%;

}


.furring-four {

    left: 72%;

}


.tab-ceiling-board {

    position: absolute;

    left: 8%;
    right: 8%;

    bottom: 13%;

    height: 12px;

    border-radius: 2px;

    background: linear-gradient(
        90deg,
        #94a3b8,
        #e2e8f0
    );

    border: 1px solid #cbd5e1;

}


.tab-ceiling-legend {

    display: flex;

    flex-wrap: wrap;

    gap: 12px 16px;

    margin-top: 20px;

}


.tab-ceiling-legend > div {

    display: flex;
    align-items: center;

    gap: 7px;

    color: #aab5c8;

    font-size: 10px;

}


.tab-ceiling-dot {

    display: inline-block;

    width: 8px;
    height: 8px;

    border-radius: 2px;

}


.slab-dot {

    background: #64748b;

}


.carrier-dot {

    background: #818cf8;

}


.furring-dot {

    background: #a5b4fc;

}


.board-dot {

    background: #e2e8f0;

}


.hanger-dot {

    background: #c7d2fe;

}


/* Componentes */

.tab-ceiling-components {

    display: flex;
    flex-direction: column;

    gap: 0;

}


.tab-ceiling-component {

    display: flex;

    gap: 15px;

    padding: 15px 0;

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

}


.tab-ceiling-component:first-child {

    padding-top: 0;

}


.tab-ceiling-component > span {

    flex: 0 0 32px;

    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: rgba(129,140,248,.13);

    color: #a5b4fc;

    font-size: 10px;
    font-weight: 800;

}


.tab-ceiling-component > div {

    min-width: 0;

}


.tab-ceiling-component strong {

    display: block;

    color: #fff;

    font-size: 12px;

    margin-bottom: 5px;

}


.tab-ceiling-component p {

    color: #94a3b8;

    font-size: 11px;

    line-height: 1.8;

}


/* Fórmulas */

.tab-ceiling-formula {

    display: grid;

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

    gap: 12px;

    margin-top: 32px;

    padding-top: 25px;

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

}


.tab-ceiling-formula > div {

    padding: 15px;

    border: 1px solid rgba(129,140,248,.14);

    border-radius: 10px;

    background: rgba(129,140,248,.055);

}


.tab-ceiling-formula span {

    display: block;

    margin-bottom: 9px;

    color: #a5b4fc;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

}


.tab-ceiling-formula code {

    display: block;

    color: #e2e8f0;

    font-family: inherit;

    font-size: 12px;

    line-height: 1.6;

}


.tab-ceiling-note {

    margin-top: 21px;

    padding: 17px 19px;

    border: 1px solid rgba(129,140,248,.17);

    border-radius: 11px;

    background: rgba(129,140,248,.055);

}


.tab-ceiling-note strong {

    display: block;

    margin-bottom: 6px;

    color: #c7d2fe;

    font-size: 12px;

}


.tab-ceiling-note p {

    color: #aab5c8;

    font-size: 11px;

    line-height: 1.8;

}


/* ==========================================
   14. TIPOS DE INSTALACIONES
========================================== */


.tab-uses-section {

    padding: 15px 0;

}


.tab-uses-heading {

    max-width: 730px;

    margin-bottom: 38px;

}


.tab-uses-heading h2 {

    max-width: 680px;

}


.tab-uses-heading > p {

    color: #94a3b8;

    font-size: 14px;

    line-height: 1.9;

}


.tab-uses-grid {

    display: grid;

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

    grid-auto-rows: minmax(225px, auto);

    gap: 15px;

}


.tab-use-card {

    position: relative;

    overflow: hidden;

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

    padding: 25px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 16px;

    background: #111827;

    transition:
        transform .25s ease,
        border-color .25s ease;

}


.tab-use-card:hover {

    transform: translateY(-5px);

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

}


.tab-use-card:nth-child(2) {

    background: #121c2c;

}


.tab-use-card:nth-child(3) {

    background: #16172c;

}


.tab-use-card:nth-child(4) {

    background: #111b29;

}


.tab-use-card:nth-child(5) {

    background: #15182b;

}


.tab-use-card:nth-child(6) {

    background: #111827;

}


.tab-use-featured {

    grid-column: span 2;

    background:
        radial-gradient(
            circle at 100% 100%,
            rgba(129,140,248,.18),
            transparent 50%
        ),
        #151d35;

}


.tab-use-index {

    color: #a5b4fc;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.6px;

}


.tab-use-symbol {

    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    margin: 22px 0 16px;

    border-radius: 12px;

    background: rgba(129,140,248,.13);

    color: #c7d2fe;

    font-size: 22px;

}


.tab-use-card h3 {

    font-size: 16px;

    line-height: 1.35;

    margin: 0 0 9px;

}


.tab-use-card p {

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.8;

}


.tab-uses-warning {

    display: grid;

    grid-template-columns: 180px 1fr;

    align-items: center;

    gap: 22px;

    margin-top: 25px;

    padding: 21px 23px;

    border-radius: 12px;

    background: rgba(255,209,102,.045);

    border: 1px solid rgba(255,209,102,.15);

}


.tab-uses-warning strong {

    color: #ffd166;

    font-size: 12px;

}


.tab-uses-warning p {

    color: #aab5c8;

    font-size: 12px;

    line-height: 1.8;

}


/* ==========================================
   15. TABLA DE EJEMPLOS
========================================== */


.tab-capacity-section {

    padding: 45px;

    background: #0e1524;

    border: 1px solid rgba(255,255,255,.09);

    border-radius: 22px;

}


.tab-capacity-heading {

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 45px;

    align-items: end;

    margin-bottom: 32px;

}


.tab-capacity-heading h2 {

    margin-bottom: 0;

}


.tab-capacity-heading > p {

    color: #94a3b8;

    font-size: 13px;

    line-height: 1.9;

    padding-bottom: 3px;

}


/* Tabla */

.tab-capacity-table-wrap {

    width: 100%;

    overflow-x: auto;

}


.tab-capacity-table {

    width: 100%;

    border-collapse: collapse;

    text-align: left;

}


.tab-capacity-table th {

    padding: 16px 18px;

    color: #a5b4fc;

    background: rgba(129,140,248,.1);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1.3px;

    font-weight: 800;

    white-space: nowrap;

}


.tab-capacity-table th:first-child {

    border-radius: 9px 0 0 9px;

}


.tab-capacity-table th:last-child {

    border-radius: 0 9px 9px 0;

}


.tab-capacity-table td {

    padding: 19px 18px;

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

    color: #cbd5e1;

    font-size: 12px;

    white-space: nowrap;

}


.tab-capacity-table tbody tr {

    transition: background .2s ease;

}


.tab-capacity-table tbody tr:hover {

    background: rgba(129,140,248,.055);

}


.tab-capacity-table tbody tr:last-child td {

    border-bottom: 0;

}


.tab-capacity-table td:first-child {

    color: white;

    font-weight: 700;

}


.tab-capacity-table td:last-child strong {

    color: #c7d2fe;

    font-size: 14px;

}


/* Nota de tablas */

.tab-capacity-foot {

    display: flex;
    align-items: center;

    gap: 18px;

    margin-top: 27px;

    padding: 20px;

    background: rgba(129,140,248,.07);

    border: 1px solid rgba(129,140,248,.13);

    border-radius: 12px;

}


.tab-capacity-foot-number {

    flex: 0 0 auto;

    color: #c7d2fe;

    font-size: 22px;

    font-weight: 800;

    letter-spacing: -1px;

}


.tab-capacity-foot strong {

    display: block;

    color: white;

    font-size: 12px;

    margin-bottom: 4px;

}


.tab-capacity-foot p {

    color: #94a3b8;

    font-size: 11px;

    line-height: 1.7;

}


.tab-capacity-disclaimer {

    margin-top: 22px !important;

    color: #8490a5;

    font-size: 11px;

    line-height: 1.9;

}


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


.tab-practical-example {

    margin-top: 30px;

    padding: 24px;

    background: #111a2c;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 15px;

}


.tab-practical-example h3 {

    margin: 0 0 9px;

    font-size: 17px;

}


.tab-practical-example > p {

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.8;

}


.tab-practical-grid {

    display: grid;

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

    gap: 10px;

    margin-top: 20px;

}


.tab-practical-grid > div {

    display: flex;
    flex-direction: column;

    gap: 8px;

    padding: 14px;

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

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 9px;

}


.tab-practical-grid span {

    color: #94a3b8;

    font-size: 10px;

    line-height: 1.6;

}


.tab-practical-grid strong {

    color: #c7d2fe;

    font-size: 17px;

    font-weight: 800;

}


.tab-practical-materials {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 16px;

}


.tab-practical-materials > div {

    display: flex;
    flex-direction: column;

    gap: 6px;

    padding: 14px;

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

}


.tab-practical-materials strong {

    color: #fff;

    font-size: 11px;

}


.tab-practical-materials span {

    color: #94a3b8;

    font-size: 10px;

    line-height: 1.8;

}


/* ==========================================
   17. PREGUNTAS FRECUENTES
========================================== */


.tab-faq-section {

    padding: 25px 0 65px;

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

}


.tab-faq-heading {

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    align-items: end;

    gap: 50px;

    margin-bottom: 37px;

}


.tab-faq-heading h2 {

    max-width: 660px;

    margin-bottom: 0;

}


.tab-faq-heading > p {

    color: #94a3b8;

    font-size: 13px;

    line-height: 1.9;

}


.tab-faq-list {

    display: grid;

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

    align-items: start;

    gap: 11px 15px;

}


.tab-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;

}


.tab-faq-item:hover {

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

}


.tab-faq-item[open] {

    background: #131d31;

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

}


.tab-faq-item summary {

    display: grid;

    grid-template-columns: 31px 1fr 25px;

    align-items: center;

    gap: 12px;

    padding: 17px;

    cursor: pointer;

    list-style: none;

}


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

    display: none;

}


.tab-faq-item summary::marker {

    content: "";

}


.tab-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;

}


.tab-faq-question {

    color: #e2e8f0;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.55;

}


.tab-faq-toggle {

    position: relative;

    width: 23px;
    height: 23px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;

}


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

    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 9px;
    height: 1.5px;

    background: #a5b4fc;

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

}


.tab-faq-toggle::after {

    transform: translate(-50%, -50%) rotate(90deg);

    transition: transform .2s ease;

}


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

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

}


.tab-faq-answer {

    padding: 0 17px 19px 60px;

}


.tab-faq-answer p {

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.9;

    margin-top: 8px;

}


/* ==========================================
   18. RESPONSIVE - TABLET GRANDE
========================================== */


@media (max-width: 950px) {


    /* Calculadora */

    .tabcalc-layout {

        grid-template-columns: 1fr;

    }


    .tabcalc-result-card {

        position: relative;

        top: 0;

    }


    .tabcalc-result-heading {

        padding: 27px;

    }


    .tabcalc-total {

        font-size: 45px;

    }


    /* Contenido */

    .tab-section,
    .tab-formula-section,
    .tab-depth-section,
    .tab-materials-section,
    .tab-ceiling-section,
    .tab-uses-section,
    .tab-capacity-section,
    .tab-faq-section {

        margin-top: 75px;
        margin-bottom: 75px;

    }


    .tab-intro {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .tab-example-card {

        max-width: 650px;

        width: 100%;

    }


    .tab-depth-layout {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .tab-depth-illustration {

        max-width: 700px;

        width: 100%;

    }


    .tab-ceiling-layout {

        gap: 25px;

    }


    .tab-faq-heading {

        grid-template-columns: 1fr;

        gap: 15px;

    }

}


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


@media (max-width: 720px) {


    .tab-formula-heading,
    .tab-materials-heading,
    .tab-capacity-heading {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .tab-formula-grid {

        grid-template-columns: 1fr;

    }


    .tab-formula-card > p {

        min-height: 0;

    }


    .tab-materials-grid {

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

    }


    .tab-ceiling-layout {

        grid-template-columns: 1fr;

    }


    .tab-ceiling-formula {

        grid-template-columns: 1fr;

    }


    .tab-uses-grid {

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

    }


    .tab-use-featured {

        grid-column: span 2;

    }


    .tab-materials-warning,
    .tab-uses-warning {

        grid-template-columns: 1fr;

        gap: 8px;

    }


    .tab-faq-list {

        grid-template-columns: 1fr;

    }


    .tab-practical-grid {

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

    }

}


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


@media (max-width: 520px) {


    /* Base */

    .tab-section,
    .tab-formula-section,
    .tab-depth-section,
    .tab-materials-section,
    .tab-ceiling-section,
    .tab-uses-section,
    .tab-capacity-section,
    .tab-faq-section {

        width: calc(100% - 32px);

        margin-top: 55px;
        margin-bottom: 55px;

    }


    .tab-eyebrow {

        font-size: 9px;

        margin-bottom: 13px;

    }


    .tab-section h2,
    .tab-formula-section h2,
    .tab-depth-section h2,
    .tab-materials-section h2,
    .tab-ceiling-section h2,
    .tab-uses-section h2,
    .tab-capacity-section h2,
    .tab-faq-section h2 {

        font-size: 28px;

        letter-spacing: -.8px;

    }


    /* Calculadora */

    .tabcalc {

        width: calc(100% - 28px);

        margin: 35px auto 60px;

    }


    .tabcalc-heading {

        margin-bottom: 25px;

    }


    .tabcalc-heading h1 {

        font-size: 29px;

        letter-spacing: -.8px;

    }


    .tabcalc-heading > p {

        font-size: 12px;

        line-height: 1.85;

    }


    .tabcalc-tags {

        gap: 6px;

    }


    .tabcalc-tags span {

        font-size: 9px;

    }


    .tabcalc-layout {

        gap: 17px;

    }


    .tabcalc-form-card {

        padding: 20px 16px;

        border-radius: 15px;

    }


    .tabcalc-form-heading h2 {

        font-size: 16px;

    }


    .tabcalc-dimensions {

        gap: 13px;

    }


    .tabcalc-config-grid {

        gap: 11px;

    }


    .tabcalc-field input,
    .tabcalc-field select {

        min-height: 45px;

        padding: 10px;

        font-size: 13px;

    }


    .tabcalc-opening-grid {

        grid-template-columns: 1fr;

    }


    .tabcalc-opening-card .tabcalc-dimensions {

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

    }


    .tabcalc-settings summary {

        padding: 14px;

    }


    .tabcalc-settings-content {

        padding: 0 13px 15px;

    }


    .tabcalc-settings-group .tabcalc-config-grid {

        gap: 10px;

    }


    .tabcalc-project-actions {

        flex-direction: column;

    }


    .tabcalc-project-actions button {

        width: 100%;

        min-height: 46px;

    }


    .tabcalc-surface-item {

        padding: 11px;

    }


    .tabcalc-result-card {

        border-radius: 15px;

    }


    .tabcalc-result-heading {

        padding: 24px 20px;

    }


    .tabcalc-total {

        font-size: 39px;

    }


    .tabcalc-results {

        padding: 17px;

    }


    .tabcalc-stat {

        padding: 12px;

    }


    .tabcalc-stat > strong {

        font-size: 15px;

    }


    .tabcalc-material-group {

        padding: 12px;

    }


    .tabcalc-result-actions {

        grid-template-columns: 1fr;

    }


    /* Introducción */

    .tab-instructions {

        grid-template-columns: 1fr;

        gap: 19px;

    }


    .tab-intro {

        gap: 28px;

    }


    .tab-example-card {

        padding: 22px;

        border-radius: 17px;

    }


    .tab-example-heading h3 {

        font-size: 19px;

    }


    .tab-measure strong {

        font-size: 20px;

    }


    .tab-calculation-line code {

        font-size: 11px;

    }


    .tab-example-result strong {

        font-size: 40px;

    }


    /* Fórmulas */

    .tab-formula-section {

        padding: 45px 0;

    }


    .tab-formula-card {

        padding: 22px;

    }


    .tab-formula-footer {

        align-items: flex-start;

        flex-direction: column;

        gap: 7px;

    }


    /* Estructura */

    .tab-depth-illustration {

        padding: 16px;

    }


    .tab-wall-diagram {

        height: 220px;

    }


    .tab-depth-final {

        flex-direction: column;

        align-items: flex-start;

        gap: 6px;

    }


    .tab-depth-final strong {

        font-size: 25px;

    }


    /* Materiales */

    .tab-materials-grid {

        grid-template-columns: 1fr;

    }


    .tab-material-card {

        padding: 22px;

    }


    /* Plafones */

    .tab-ceiling-section {

        padding: 24px 17px;

        border-radius: 17px;

    }


    .tab-ceiling-diagram-card {

        padding: 15px;

    }


    .tab-ceiling-diagram {

        height: 220px;

    }


    /* Aplicaciones */

    .tab-uses-grid {

        grid-template-columns: 1fr;

        grid-auto-rows: auto;

    }


    .tab-use-featured {

        grid-column: auto;

    }


    .tab-use-card {

        min-height: 0;

        padding: 22px;

    }


    .tab-use-symbol {

        margin: 17px 0 12px;

    }


    /* Tabla */

    .tab-capacity-section {

        padding: 26px 17px;

        border-radius: 16px;

    }


    .tab-capacity-table {

        min-width: 580px;

    }


    .tab-capacity-foot {

        align-items: flex-start;

        gap: 13px;

        padding: 16px;

    }


    .tab-capacity-foot-number {

        font-size: 18px;

    }


    /* Ejemplos */

    .tab-practical-example {

        padding: 17px;

    }


    .tab-practical-grid {

        grid-template-columns: 1fr 1fr;

        gap: 8px;

    }


    .tab-practical-grid > div {

        padding: 11px;

    }


    .tab-practical-grid strong {

        font-size: 15px;

    }


    .tab-practical-materials {

        grid-template-columns: 1fr;

    }


    /* FAQ */

    .tab-faq-section {

        padding-top: 35px;

    }


    .tab-faq-item summary {

        grid-template-columns: 29px 1fr 22px;

        gap: 9px;

        padding: 14px 11px;

    }


    .tab-faq-question {

        font-size: 11px;

    }


    .tab-faq-answer {

        padding: 0 13px 16px 49px;

    }


    .tab-faq-answer p {

        font-size: 11px;

    }

}


/* ==========================================
   21. IMPRESIÓN
========================================== */


@media print {


    body * {

        visibility: hidden !important;

    }


    #tabCalcResultCard,
    #tabCalcResultCard * {

        visibility: visible !important;

    }


    #tabCalcResultCard {

        position: absolute !important;

        top: 0 !important;
        left: 0 !important;

        width: 100% !important;

        border: 1px solid #ccc !important;

        border-radius: 0 !important;

        background: #fff !important;

        color: #111 !important;

        box-shadow: none !important;

    }


    #tabCalcResultCard .tabcalc-result-heading {

        background: #eef0ff !important;

        border-bottom: 1px solid #ccc !important;

    }


    #tabCalcResultCard h2,
    #tabCalcResultCard h3,
    #tabCalcResultCard h4,
    #tabCalcResultCard strong,
    #tabCalcResultCard dt,
    #tabCalcResultCard dd {

        color: #111 !important;

    }


    #tabCalcResultCard span,
    #tabCalcResultCard li {

        color: #333 !important;

    }


    #tabCalcResultCard .tabcalc-placeholder,
    #tabCalcResultCard .tabcalc-result-actions {

        display: none !important;

    }


    #tabCalcResultCard .tabcalc-stat,
    #tabCalcResultCard .tabcalc-material-group {

        background: #f7f8fc !important;

        border: 1px solid #ddd !important;

    }


    #tabCalcResultCard .tabcalc-result-warning {

        background: #fff9e9 !important;

        border-color: #e8d6a8 !important;

    }


    #tabCalcResultCard .tabcalc-material-group h4 {

        border-bottom: 1px solid #ddd !important;

    }


}


/* ==========================================
   22. ACCESIBILIDAD
========================================== */


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


    .tabcalc *,
    .tabcalc *::before,
    .tabcalc *::after,
    .tab-section *,
    .tab-formula-section *,
    .tab-depth-section *,
    .tab-materials-section *,
    .tab-ceiling-section *,
    .tab-uses-section *,
    .tab-capacity-section *,
    .tab-faq-section * {

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

    }

}