/* =====================================================
   BASE COMPARTIDA DE CONTENIDO
===================================================== */

.pct-section,
.pct-formula-section,
.pct-methods-section,
.pct-examples-section,
.pct-uses-section,
.pct-faq-section {
    max-width: 1200px;
    width: calc(100% - 48px);
    margin: 100px auto;
    color: #fff;
    font-family: inherit;
}

.pct-section *,
.pct-formula-section *,
.pct-methods-section *,
.pct-examples-section *,
.pct-uses-section *,
.pct-faq-section *,
.pctcalc *,
.pctcalc *::before,
.pctcalc *::after {
    box-sizing: border-box;
}

.pct-section p,
.pct-formula-section p,
.pct-methods-section p,
.pct-examples-section p,
.pct-uses-section p,
.pct-faq-section p {
    margin-bottom: 0;
}

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

.pct-section h2,
.pct-formula-section h2,
.pct-methods-section h2,
.pct-examples-section h2,
.pct-uses-section h2,
.pct-faq-section h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(29px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -1.2px;
}

.pct-section h3,
.pct-formula-section h3,
.pct-methods-section h3,
.pct-uses-section h3 {
    color: #fff;
}

.pct-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    width: min(1200px, calc(100% - 48px));
    margin: 24px auto 0;
    color: #8492a8;
    font-size: 11px;
    line-height: 1.6;
}

.pct-breadcrumb a {
    color: #aeb8cb;
    text-decoration: none;
    transition: color .2s ease;
}

.pct-breadcrumb a:hover {
    color: #c7d2fe;
}

.pct-breadcrumb [aria-current="page"] {
    color: #c7d2fe;
}

/* =====================================================
   CALCULADORA PRINCIPAL
===================================================== */

.pctcalc {
    --pct-accent: #818cf8;
    --pct-accent-light: #a5b4fc;
    --pct-muted: #94a3b8;
    --pct-border: rgba(255,255,255,.09);
    width: min(1200px, calc(100% - 48px));
    margin: 45px auto 85px;
    color: #fff;
    font-family: inherit;
}

.pctcalc [hidden] {
    display: none !important;
}

.pctcalc h1,
.pctcalc h2,
.pctcalc h3,
.pctcalc p {
    margin-top: 0;
}

.pctcalc-heading {
    max-width: 900px;
    margin-bottom: 35px;
}

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

.pctcalc-heading h1 {
    max-width: 850px;
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.pctcalc-heading > p {
    max-width: 800px;
    margin-bottom: 20px;
    color: var(--pct-muted);
    font-size: 14px;
    line-height: 1.9;
}

.pctcalc-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

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

.pctcalc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    align-items: start;
    gap: 22px;
}

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

.pctcalc-form-heading,
.pctcalc-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pctcalc-form-heading {
    margin-bottom: 23px;
}

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

.pctcalc-form-heading > div,
.pctcalc-section-heading > div {
    min-width: 0;
}

.pctcalc-form-heading h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.pctcalc-form-heading p,
.pctcalc-section-heading p {
    margin: 0;
    color: var(--pct-muted);
    font-size: 11px;
    line-height: 1.6;
}

.pctcalc-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 8px;
}

.pctcalc-mode-field {
    max-width: 100%;
}

.pctcalc-field label {
    display: block;
    margin: 0;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.pctcalc-field input,
.pctcalc-field select {
    width: 100%;
    min-width: 0;
    min-height: 47px;
    margin: 0;
    padding: 11px 13px;
    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;
}

.pctcalc-field input::placeholder {
    color: #64748b;
    opacity: 1;
}

.pctcalc-field input:hover,
.pctcalc-field select:hover {
    border-color: rgba(129,140,248,.35);
}

.pctcalc-field input:focus,
.pctcalc-field select:focus {
    border-color: var(--pct-accent);
    background: rgba(3,6,16,.85);
    box-shadow: 0 0 0 3px rgba(129,140,248,.13);
}

.pctcalc-field select {
    cursor: pointer;
}

.pctcalc-field select option {
    background: #111827;
    color: #fff;
}

.pctcalc-field small {
    color: #8190a6;
    font-size: 10px;
    line-height: 1.6;
}

.pctcalc-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.pctcalc-options-grid {
    grid-template-columns: minmax(0, 1fr);
}

.pctcalc-options-grid .pctcalc-field {
    max-width: 260px;
}

.pctcalc-divider {
    height: 1px;
    margin: 25px 0;
    border: 0;
    background: rgba(255,255,255,.085);
}

.pctcalc-section-heading {
    margin-bottom: 19px;
}

.pctcalc-section-heading h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.pctcalc-info-note {
    margin-top: 18px;
    padding: 12px 14px;
    border-left: 2px solid var(--pct-accent);
    border-radius: 0 8px 8px 0;
    background: rgba(129,140,248,.06);
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.75;
}

.pctcalc-info-note strong {
    color: #c7d2fe;
}

.pctcalc-actions {
    display: flex;
    gap: 11px;
    margin-top: 25px;
}

.pctcalc-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;
}

.pctcalc-actions button:hover {
    transform: translateY(-2px);
}

.pctcalc-actions button:focus-visible,
.pctcalc-result-actions button:focus-visible {
    outline: 2px solid #c7d2fe;
    outline-offset: 3px;
}

.pctcalc-button-primary {
    display: flex;
    flex: 1;
    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);
}

.pctcalc-button-primary:hover {
    box-shadow: 0 8px 25px rgba(129,140,248,.35);
}

.pctcalc-button-primary span {
    font-size: 17px;
}

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

.pctcalc-button-reset:hover {
    background: rgba(255,255,255,.1);
}

.pctcalc-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;
}

/* =====================================================
   PANEL DE RESULTADOS
===================================================== */

.pctcalc-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);
}

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

.pctcalc-result-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: #c7d2fe;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.pctcalc-result-heading h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

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

.pctcalc-total small {
    display: inline-block;
    margin-left: 6px;
    color: #dbeafe;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}

.pctcalc-result-description {
    margin: 11px 0 0;
    color: #c7d2fe;
    font-size: 11px;
    line-height: 1.7;
}

.pctcalc-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 46px 28px;
    text-align: center;
}

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

.pctcalc-placeholder-icon span {
    color: #a5b4fc;
    font-size: 31px;
    font-weight: 800;
}

.pctcalc-placeholder > strong {
    margin-bottom: 8px;
    color: #e2e8f0;
    font-size: 13px;
}

.pctcalc-placeholder > p {
    max-width: 280px;
    margin: 0;
    color: var(--pct-muted);
    font-size: 11px;
    line-height: 1.8;
}

.pctcalc-results {
    padding: 22px;
}

.pctcalc-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

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

.pctcalc-stat > span {
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.5;
}

.pctcalc-stat > strong {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.pctcalc-procedure {
    margin-top: 23px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.pctcalc-procedure h3 {
    margin: 0 0 11px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.pctcalc-formula {
    margin-bottom: 19px;
    padding: 13px 14px;
    border: 1px solid rgba(129,140,248,.17);
    border-radius: 9px;
    background: rgba(129,140,248,.07);
    color: #c7d2fe;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.pctcalc-procedure ol {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 20px;
    color: #aab5c8;
    font-size: 10px;
    line-height: 1.75;
}

.pctcalc-procedure li {
    padding-left: 3px;
}

.pctcalc-procedure li::marker {
    color: #a5b4fc;
    font-weight: 800;
}

.pctcalc-result-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
}

.pctcalc-result-actions button {
    min-height: 43px;
    padding: 10px;
    border: 1px solid var(--pct-accent);
    border-radius: 9px;
    background: var(--pct-accent);
    color: #ffffff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.pctcalc-result-actions button:hover {
    transform: translateY(-2px);
    background: #a5adff;
}

.pctcalc-action-status {
    min-height: 15px;
    margin: 9px 0 0 !important;
    color: #a5b4fc;
    font-size: 10px;
    line-height: 1.5;
}

/* =====================================================
   1. INTRODUCCIÓN Y EJEMPLO
===================================================== */

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

.pct-intro-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pct-intro-copy > p {
    margin-bottom: 14px;
    color: #aeb8cb;
    font-size: 14px;
    line-height: 1.9;
}

.pct-instructions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 23px 22px;
    margin-top: 29px;
}

.pct-instruction {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

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

.pct-instruction > div {
    min-width: 0;
}

.pct-instruction strong {
    display: block;
    margin: 2px 0 6px;
    color: #fff;
    font-size: 13px;
}

.pct-instruction p {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.75;
}

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

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

.pct-privacy p {
    color: #aeb8cb;
    font-size: 11px;
    line-height: 1.8;
}

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

.pct-example-heading {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.pct-example-heading > span {
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.pct-example-heading h3 {
    margin: 13px 0 8px;
    color: #fff;
    font-size: 21px;
    line-height: 1.3;
}

.pct-example-heading p {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.7;
}

.pct-example-measures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 23px 0;
}

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

.pct-measure span {
    display: block;
    margin-bottom: 5px;
    color: #94a3b8;
    font-size: 10px;
}

.pct-measure strong {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.pct-measure strong small {
    color: #a5b4fc;
    font-size: 12px;
}

.pct-example-calculation {
    display: flex;
    flex-direction: column;
}

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

.pct-calculation-line span {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pct-calculation-line code {
    color: #e2e8f0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
}

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

.pct-example-result > span:first-child {
    display: block;
    color: #dbeafe;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.pct-example-result strong {
    display: block;
    margin: 7px 0 2px;
    color: #fff;
    font-size: clamp(36px, 5vw, 47px);
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.pct-example-result > span:last-child {
    display: block;
    color: #dbeafe;
    font-size: 12px;
}

.pct-example-footnote {
    margin-top: 13px;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
}

/* =====================================================
   2. FÓRMULAS
===================================================== */

.pct-formula-section {
    padding: 70px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.pct-formula-heading,
.pct-examples-heading,
.pct-faq-heading {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: end;
    gap: 50px;
    margin-bottom: 38px;
}

.pct-formula-heading h2,
.pct-examples-heading h2,
.pct-faq-heading h2 {
    max-width: 660px;
    margin-bottom: 0;
}

.pct-formula-heading > p,
.pct-examples-heading > p,
.pct-faq-heading > p {
    padding-bottom: 4px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.9;
}

.pct-formula-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 25px 27px;
    border: 1px solid rgba(129,140,248,.23);
    border-radius: 15px;
    background: radial-gradient(circle at 100% 0%, rgba(129,140,248,.15), transparent 48%), #111a2c;
}

.pct-formula-main > span {
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.pct-formula-main code {
    display: block;
    max-width: 100%;
    color: #fff;
    font-family: inherit;
    font-size: clamp(15px, 2vw, 21px);
    font-weight: 800;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.pct-formula-main > p {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.7;
}

.pct-formula-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

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

.pct-formula-card:hover {
    transform: translateY(-5px);
    border-color: rgba(129,140,248,.4);
}

.pct-formula-card:nth-child(2) {
    background: #121c2c;
}

.pct-formula-card:nth-child(3) {
    background: #14172d;
}

.pct-formula-top {
    display: flex;
    height: 75px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pct-formula-number {
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pct-formula-symbol {
    display: grid;
    width: 46px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(165,180,252,.5);
    border-radius: 12px;
    background: rgba(129,140,248,.13);
    color: #a5b4fc;
    font-size: 24px;
    font-weight: 800;
}

.pct-formula-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.4;
}

.pct-formula-card > p {
    min-height: 94px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;
}

.pct-formula-equation {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.pct-formula-equation span {
    display: block;
    margin-bottom: 8px;
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pct-formula-equation code {
    display: block;
    padding: 12px;
    border-radius: 8px;
    background: rgba(0,0,0,.23);
    color: #e2e8f0;
    font-family: inherit;
    font-size: 11px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

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

.pct-formula-footer strong {
    flex: 0 0 auto;
    color: #c7d2fe;
    font-size: 12px;
}

.pct-formula-footer span {
    color: #aab5c8;
    font-size: 12px;
    line-height: 1.7;
}

/* =====================================================
   3. OPERACIONES Y APLICACIONES
===================================================== */

.pct-methods-section,
.pct-uses-section {
    padding: 15px 0;
}

.pct-methods-heading,
.pct-uses-heading {
    max-width: 790px;
    margin-bottom: 38px;
}

.pct-methods-heading h2,
.pct-uses-heading h2 {
    max-width: 760px;
}

.pct-methods-heading > p,
.pct-uses-heading > p {
    color: #aab5c8;
    font-size: 14px;
    line-height: 1.9;
}

.pct-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pct-method-card {
    min-width: 0;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: #111827;
    transition: transform .25s ease, border-color .25s ease;
}

.pct-method-card:hover {
    transform: translateY(-4px);
    border-color: rgba(129,140,248,.35);
}

.pct-method-card:nth-child(2) {
    background: #121c2c;
}

.pct-method-card:nth-child(3) {
    background: #14172d;
}

.pct-method-card:nth-child(4) {
    background: #111b29;
}

.pct-method-index,
.pct-use-index {
    color: #a5b4fc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.pct-method-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin: 20px 0 15px;
    border-radius: 12px;
    background: rgba(129,140,248,.13);
    color: #c7d2fe;
    font-size: 22px;
    font-weight: 800;
}

.pct-method-card h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
}

.pct-method-card p {
    min-height: 88px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;
}

.pct-method-card code {
    display: block;
    margin-top: 17px;
    padding: 12px;
    border: 1px solid rgba(129,140,248,.13);
    border-radius: 8px;
    background: rgba(0,0,0,.2);
    color: #c7d2fe;
    font-family: inherit;
    font-size: 11px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* =====================================================
   4. EJEMPLOS Y TABLA
===================================================== */

.pct-examples-section {
    padding: 45px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;
    background: #0e1524;
}

.pct-examples-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.pct-examples-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pct-examples-table th {
    padding: 16px 18px;
    background: rgba(129,140,248,.1);
    color: #a5b4fc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pct-examples-table th:first-child {
    border-radius: 9px 0 0 9px;
}

.pct-examples-table th:last-child {
    border-radius: 0 9px 9px 0;
}

.pct-examples-table td {
    padding: 18px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: #cbd5e1;
    font-size: 12px;
    white-space: nowrap;
}

.pct-examples-table tbody tr {
    transition: background .2s ease;
}

.pct-examples-table tbody tr:hover {
    background: rgba(129,140,248,.055);
}

.pct-examples-table tbody tr:last-child td {
    border-bottom: 0;
}

.pct-examples-table td:first-child {
    color: #fff;
    font-weight: 700;
}

.pct-examples-table td:last-child strong {
    color: #c7d2fe;
    font-size: 14px;
}

.pct-example-note {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 27px;
    padding: 20px;
    border: 1px solid rgba(129,140,248,.13);
    border-radius: 12px;
    background: rgba(129,140,248,.07);
}

.pct-example-note-number {
    flex: 0 0 auto;
    color: #c7d2fe;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.pct-example-note strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 12px;
}

.pct-example-note p {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.7;
}

/* =====================================================
   5. USOS - BENTO GRID
===================================================== */

.pct-uses-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(225px, auto);
    gap: 15px;
}

.pct-use-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: #111827;
    transition: transform .25s ease, border-color .25s ease;
}

.pct-use-card:hover {
    transform: translateY(-5px);
    border-color: rgba(129,140,248,.4);
}

.pct-use-card:nth-child(2) { background: #121c2c; }
.pct-use-card:nth-child(3) { background: #16172c; }
.pct-use-card:nth-child(4) { background: #111b29; }
.pct-use-card:nth-child(5) { background: #15182b; }
.pct-use-card:nth-child(6) { background: #111827; }

.pct-use-featured {
    grid-column: span 2;
    background: radial-gradient(circle at 100% 100%, rgba(129,140,248,.18), transparent 50%), #151d35;
}

.pct-use-symbol {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin: 22px 0 16px;
    border-radius: 12px;
    background: rgba(129,140,248,.13);
    color: #c7d2fe;
    font-size: 22px;
    font-weight: 800;
}

.pct-use-card h3 {
    margin: 0 0 9px;
    font-size: 16px;
    line-height: 1.35;
}

.pct-use-card p {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;
}

/* =====================================================
   6. PREGUNTAS FRECUENTES
===================================================== */

.pct-faq-section {
    padding: 25px 0 65px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.pct-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 11px 15px;
}

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

.pct-faq-item:hover {
    border-color: rgba(129,140,248,.3);
}

.pct-faq-item[open] {
    border-color: rgba(129,140,248,.35);
    background: #131d31;
}

.pct-faq-item summary {
    display: grid;
    grid-template-columns: 31px 1fr 25px;
    align-items: center;
    gap: 12px;
    padding: 17px;
    cursor: pointer;
    list-style: none;
}

.pct-faq-item summary::-webkit-details-marker {
    display: none;
}

.pct-faq-item summary::marker {
    content: "";
}

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

.pct-faq-question {
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
}

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

.pct-faq-toggle::before,
.pct-faq-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 1.5px;
    background: #a5b4fc;
    content: "";
    transform: translate(-50%, -50%);
}

.pct-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .2s ease;
}

.pct-faq-item[open] .pct-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0);
}

.pct-faq-answer {
    padding: 0 17px 19px 60px;
}

.pct-faq-answer p {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.9;
}

/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 950px) {
    .pctcalc-layout {
        grid-template-columns: 1fr;
    }

    .pctcalc-result-card {
        position: relative;
        top: 0;
    }

    .pctcalc-result-heading {
        padding: 27px;
    }

    .pctcalc-total {
        font-size: 45px;
    }

    .pct-intro {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .pct-example-card {
        width: 100%;
        max-width: 650px;
    }
}

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

@media (max-width: 720px) {
    .pct-formula-heading,
    .pct-examples-heading,
    .pct-faq-heading {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pct-formula-grid {
        grid-template-columns: 1fr;
    }

    .pct-formula-card > p,
    .pct-method-card p {
        min-height: 0;
    }

    .pct-methods-grid {
        grid-template-columns: 1fr;
    }

    .pct-uses-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pct-use-featured {
        grid-column: span 2;
    }

    .pct-faq-list {
        grid-template-columns: 1fr;
    }
}

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

@media (max-width: 520px) {
    .pct-section,
    .pct-formula-section,
    .pct-methods-section,
    .pct-examples-section,
    .pct-uses-section,
    .pct-faq-section {
        width: calc(100% - 32px);
        margin-top: 55px;
        margin-bottom: 55px;
    }

    .pct-breadcrumb {
        width: calc(100% - 32px);
        margin-top: 18px;
        font-size: 10px;
    }

    .pct-eyebrow {
        margin-bottom: 13px;
        font-size: 9px;
    }

    .pct-section h2,
    .pct-formula-section h2,
    .pct-methods-section h2,
    .pct-examples-section h2,
    .pct-uses-section h2,
    .pct-faq-section h2 {
        font-size: 28px;
        letter-spacing: -.8px;
    }

    .pct-instructions {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .pct-intro {
        gap: 28px;
    }

    .pct-example-card {
        padding: 22px;
        border-radius: 17px;
    }

    .pct-example-heading h3 {
        font-size: 19px;
    }

    .pct-measure strong {
        font-size: 20px;
    }

    .pct-calculation-line code {
        font-size: 11px;
    }

    .pct-example-result strong {
        font-size: 40px;
    }

    .pct-formula-section {
        padding: 45px 0;
    }

    .pct-formula-main {
        padding: 20px;
    }

    .pct-formula-main code {
        font-size: 15px;
    }

    .pct-formula-card,
    .pct-method-card {
        padding: 22px;
    }

    .pct-formula-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .pct-methods-grid {
        grid-template-columns: 1fr;
    }

    .pct-method-card p {
        min-height: 0;
    }

    .pct-examples-section {
        padding: 26px 17px;
        border-radius: 16px;
    }

    .pct-examples-table {
        min-width: 650px;
    }

    .pct-examples-table th,
    .pct-examples-table td {
        padding: 13px 12px;
    }

    .pct-example-note {
        align-items: flex-start;
        gap: 13px;
        padding: 16px;
    }

    .pct-example-note-number {
        font-size: 19px;
    }

    .pct-uses-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .pct-use-featured {
        grid-column: auto;
    }

    .pct-use-card {
        min-height: 0;
        padding: 22px;
    }

    .pct-use-symbol {
        margin: 17px 0 12px;
    }

    .pct-faq-section {
        padding-top: 35px;
    }

    .pct-faq-item summary {
        grid-template-columns: 29px 1fr 22px;
        gap: 9px;
        padding: 14px 11px;
    }

    .pct-faq-question {
        font-size: 11px;
    }

    .pct-faq-answer {
        padding: 0 13px 16px 49px;
    }

    .pct-faq-answer p {
        font-size: 11px;
    }

    /* Calculadora */
    .pctcalc {
        width: calc(100% - 28px);
        margin: 32px auto 60px;
    }

    .pctcalc-heading {
        margin-bottom: 25px;
    }

    .pctcalc-heading h1 {
        font-size: 30px;
        letter-spacing: -.8px;
    }

    .pctcalc-heading > p {
        font-size: 12px;
        line-height: 1.85;
    }

    .pctcalc-tags {
        gap: 6px;
    }

    .pctcalc-tags span {
        font-size: 9px;
    }

    .pctcalc-layout {
        gap: 17px;
    }

    .pctcalc-form-card {
        padding: 20px 16px;
        border-radius: 15px;
    }

    .pctcalc-form-heading h2 {
        font-size: 16px;
    }

    .pctcalc-fields-grid {
        gap: 13px;
    }

    .pctcalc-field input,
    .pctcalc-field select {
        min-height: 45px;
        padding: 10px;
        font-size: 13px;
    }

    .pctcalc-section-heading {
        gap: 9px;
    }

    .pctcalc-section-heading .pctcalc-step-label {
        padding: 6px 7px;
        font-size: 8px;
    }

    .pctcalc-section-heading h3 {
        font-size: 13px;
    }

    .pctcalc-section-heading p {
        font-size: 9px;
    }

    .pctcalc-actions {
        flex-direction: column;
    }

    .pctcalc-actions button {
        width: 100%;
        min-height: 46px;
    }

    .pctcalc-result-card {
        border-radius: 15px;
    }

    .pctcalc-result-heading {
        padding: 24px 20px;
    }

    .pctcalc-total {
        font-size: 39px;
    }

    .pctcalc-results {
        padding: 17px;
    }

    .pctcalc-stat {
        padding: 12px;
    }

    .pctcalc-stat > strong {
        font-size: 15px;
    }
}

/* =====================================================
   ACCESIBILIDAD
===================================================== */

@media (prefers-reduced-motion: reduce) {
    .pctcalc *,
    .pctcalc *::before,
    .pctcalc *::after,
    .pct-section *,
    .pct-formula-section *,
    .pct-methods-section *,
    .pct-examples-section *,
    .pct-uses-section *,
    .pct-faq-section * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
