.ghd-assessment {
    --ghd-red: #e3001e;
    --ghd-black: #111;
    --ghd-muted: #6b7280;
    --ghd-border: #e5e7eb;
    --ghd-bg: #f7f7f8;
    --ghd-question-size-desktop: 36px;
    --ghd-question-size-mobile: 26px;
    width: 100%;
    color: var(--ghd-black);
    font-family: inherit;
    scroll-margin-top: 140px;
}

.ghd-assessment *,
.ghd-assessment *::before,
.ghd-assessment *::after {
    box-sizing: border-box;
}

.ghd-assessment [hidden] {
    display: none !important;
}

.ghd-assessment__shell {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ghd-border);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
}

.ghd-progress {
    margin: 0;
    padding: 20px clamp(24px, 5vw, 64px) 0;
}

.ghd-progress__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
    margin-bottom: 10px;
    padding: 0 2px;
    color: var(--ghd-muted);
    font-size: 13px;
    line-height: 1.35;
}

.ghd-progress__meta span {
    min-width: 0;
}

.ghd-progress__meta span:last-child {
    text-align: right;
}

.ghd-progress__track,
.ghd-result-bar__track {
    height: 7px;
    overflow: hidden;
    background: #eceef1;
    border-radius: 999px;
}

.ghd-progress__track span,
.ghd-result-bar__track span {
    display: block;
    height: 100%;
    background: var(--ghd-red);
    border-radius: inherit;
    transition: width 0.25s ease;
}

.ghd-form {
    display: flex;
    flex-direction: column;
    min-height: 640px;
    height: auto;
    padding: 20px clamp(24px, 5vw, 64px) 28px;
}

.ghd-steps {
    position: relative;
    flex: 1 1 auto;
    min-height: 490px;
    overflow: visible;
}

.ghd-step {
    display: none;
    animation: ghdFade 0.2s ease;
}

.ghd-step--active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 490px;
    padding: 14px 0 16px;
}

.ghd-step--contact.ghd-step--active {
    justify-content: flex-start;
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 20px;
}

.ghd-step h2 {
    max-width: 820px;
    margin: 8px 0 14px;
    font-size: var(--ghd-question-size-desktop);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.ghd-step p {
    color: #4b5563;
    font-size: 17px;
    line-height: 1.6;
}

.ghd-step--intro {
    padding-top: 18px;
    padding-bottom: 18px;
}

.ghd-step--intro [data-start] {
    align-self: center;
    width: auto;
    min-width: 240px;
    max-width: calc(100% - 32px);
}

.ghd-eyebrow,
.ghd-result-kicker {
    display: inline-block;
    color: var(--ghd-red);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ghd-intro-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0;
}

.ghd-intro-meta span {
    padding: 10px 14px;
    background: var(--ghd-bg);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.ghd-options {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

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

.ghd-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.ghd-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ghd-option span {
    display: block;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--ghd-border);
    border-radius: 15px;
    font-size: 15px;
    line-height: 1.45;
    transition: 0.18s ease;
}

.ghd-option:hover span {
    border-color: #aeb3bb;
    transform: translateY(-1px);
}

.ghd-option input:checked + span {
    background: #fff7f8;
    border-color: var(--ghd-red);
    box-shadow: 0 0 0 3px rgba(227, 0, 30, 0.1);
}

.ghd-fields {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.ghd-fields--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ghd-fields--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ghd-fields label {
    display: grid;
    gap: 8px;
    color: #252b33;
    font-size: 13px;
    font-weight: 750;
}

.ghd-fields .ghd-field--full {
    grid-column: 1 / -1;
    width: 100%;
}

.ghd-fields input,
.ghd-fields select,
.ghd-fields textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    color: #111;
    background-color: #fff;
    border: 1px solid var(--ghd-border);
    border-radius: 12px;
    outline: none;
    font: inherit;
}

.ghd-fields select {
    padding-right: 44px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 7.5L10 12L14.5 7.5' stroke='%236B7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px 18px;
    cursor: pointer;
}

.ghd-fields select::-ms-expand {
    display: none;
}

.ghd-select-wrap {
    display: block;
    width: 100%;
}

.ghd-fields textarea {
    min-height: 100px;
    resize: vertical;
}

.ghd-fields input:focus,
.ghd-fields select:focus,
.ghd-fields textarea:focus {
    border-color: var(--ghd-red);
    box-shadow: 0 0 0 3px rgba(227, 0, 30, 0.09);
}

.ghd-help {
    margin-top: 0;
    margin-bottom: 5px;
}

.ghd-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 18px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.55;
}

.ghd-check input {
    margin-top: 4px;
    accent-color: var(--ghd-red);
}

.ghd-navigation {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 22px;
    border-top: 1px solid var(--ghd-border);
}

.ghd-navigation [data-prev] {
    grid-column: 1;
    justify-self: start;
}

.ghd-navigation [data-next],
.ghd-navigation [data-submit] {
    grid-column: 2;
    justify-self: end;
}

.ghd-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: 0.18s ease;
}

.ghd-button--primary {
    color: #fff !important;
    background: var(--ghd-red);
}

.ghd-button--primary:hover {
    box-shadow: 0 12px 24px rgba(227, 0, 30, 0.2);
    transform: translateY(-1px);
}

.ghd-button--secondary {
    color: #111;
    background: #fff;
    border-color: var(--ghd-border);
}

.ghd-button:disabled {
    opacity: 0.55;
    cursor: wait;
}

.ghd-error {
    flex: 0 0 auto;
    margin-top: 12px;
    padding: 13px 15px;
    color: #9f1239;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 10px;
    font-size: 14px;
}

.ghd-field--invalid span,
.ghd-fields .ghd-field--invalid {
    border-color: #dc2626 !important;
}

.ghd-check.ghd-field--invalid {
    color: #b91c1c;
}

.ghd-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.ghd-result-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    padding: 24px;
    background: var(--ghd-bg);
    border-radius: 20px;
}

.ghd-score-circle {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 126px;
    height: 126px;
    border: 8px solid var(--ghd-red);
    border-radius: 50%;
}

.ghd-score-circle strong {
    font-size: 39px;
    line-height: 1;
}

.ghd-score-circle span {
    color: var(--ghd-muted);
    font-size: 13px;
}

.ghd-result-hero h3 {
    margin: 5px 0;
    font-size: 27px;
}

.ghd-result-hero p {
    margin: 0;
    font-size: 15px;
}

.ghd-result-bars {
    display: grid;
    gap: 16px;
    margin: 30px 0;
}

.ghd-result-bar > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
}

.ghd-result-plan {
    display: grid;
    gap: 13px;
}

.ghd-result-plan > div {
    padding: 17px;
    border: 1px solid var(--ghd-border);
    border-radius: 14px;
}

.ghd-result-plan span {
    color: var(--ghd-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ghd-result-plan p {
    margin: 7px 0 0;
    font-size: 15px;
}

.ghd-result-cta {
    margin-top: 28px;
    padding: 28px;
    color: #fff;
    background: #111;
    border-radius: 18px;
}

.ghd-result-cta h3 {
    margin: 0 0 8px;
    font-size: 25px;
}

.ghd-result-cta p {
    color: #d1d5db;
    font-size: 14px;
}

.ghd-result-note {
    display: block;
    color: #d1d5db;
    font-size: 13px;
}

.ghd-result-cta .ghd-button {
    margin-top: 8px;
}

.ghd-assessment--result .ghd-form {
    height: auto;
    min-height: 0;
}

.ghd-assessment--result .ghd-steps {
    overflow: visible;
}

.ghd-assessment--result .ghd-step--active {
    min-height: 0;
    justify-content: flex-start;
}

@keyframes ghdFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 760px) {
    .ghd-assessment__shell {
        border-radius: 16px;
    }

    .ghd-progress {
        padding: 18px 18px 0;
    }

    .ghd-progress__meta {
        gap: 12px;
        font-size: 12px;
    }

    .ghd-form {
        height: auto;
        min-height: 520px;
        padding: 14px 18px 20px;
    }

    .ghd-steps {
        min-height: 390px;
        overflow: visible;
    }

    .ghd-step--active {
        min-height: 390px;
        justify-content: center;
        padding: 18px 0;
    }

    .ghd-step--contact.ghd-step--active {
        min-height: 0;
        justify-content: flex-start;
    }

    .ghd-options--grid,
    .ghd-fields--two,
    .ghd-fields--three {
        grid-template-columns: 1fr;
    }

    .ghd-step h2 {
        font-size: var(--ghd-question-size-mobile);
        line-height: 1.15;
    }

    .ghd-navigation {
        grid-template-columns: 1fr auto;
    }

    .ghd-navigation [data-prev] {
        grid-column: 1;
        justify-self: start;
    }

    .ghd-navigation [data-next],
    .ghd-navigation [data-submit] {
        grid-column: 2;
        justify-self: end;
    }

    .ghd-button {
        width: auto;
        padding-right: 16px;
        padding-left: 16px;
    }

    .ghd-step--intro [data-start] {
        width: auto;
        min-width: 220px;
    }

    .ghd-result-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .ghd-score-circle {
        width: 105px;
        height: 105px;
    }
}

@media (max-width: 460px) {
    .ghd-progress__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .ghd-progress__meta span:last-child {
        text-align: left;
    }

    .ghd-form {
        min-height: 500px;
    }

    .ghd-steps,
    .ghd-step--active {
        min-height: 370px;
    }
}

/* Ajustes v1.4.0 */
.ghd-step--intro.ghd-step--active {
    justify-content: flex-start;
    padding-bottom: 30px;
}

.ghd-step--intro [data-start] {
    margin-top: auto;
    margin-bottom: 0;
}

.ghd-step--contact .ghd-fields--two > .ghd-field--full {
    display: grid !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 100% !important;
}

.ghd-step--contact .ghd-field--full textarea {
    display: block;
    width: 100% !important;
    max-width: none !important;
}

.ghd-privacy-link {
    color: var(--ghd-red);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ghd-privacy-link:hover,
.ghd-privacy-link:focus {
    color: #b80018;
}

.ghd-result-plan > div p {
    margin: 9px 0 0;
}

.ghd-result-plan > div p + p {
    margin-top: 12px;
}

@media (max-width: 760px) {
    .ghd-step--intro.ghd-step--active {
        justify-content: flex-start;
        padding-bottom: 24px;
    }
}

/* Ajustes v1.5.0 */
.ghd-progress__meta {
    justify-content: flex-end;
    margin-bottom: 10px;
}

.ghd-progress__meta span {
    width: 100%;
    text-align: right;
    font-weight: 700;
}

.ghd-step--intro.ghd-step--active {
    align-items: center;
    justify-content: center;
    min-height: 490px;
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
}

.ghd-step--intro h2,
.ghd-step--intro p {
    margin-right: auto;
    margin-left: auto;
}

.ghd-step--intro p {
    max-width: 760px;
}

.ghd-step--intro .ghd-intro-meta {
    justify-content: center;
    margin: 26px 0 0;
}

.ghd-step--intro [data-start] {
    margin-top: 32px !important;
    margin-bottom: 0 !important;
}

.ghd-score-explainer {
    margin-top: 18px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--ghd-border);
    border-radius: 14px;
}

.ghd-score-explainer > strong {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
}

.ghd-score-explainer p {
    margin: 7px 0 0;
    font-size: 14px;
    line-height: 1.55;
}

.ghd-economic {
    margin: 32px 0;
    padding: 24px;
    background: #fafafb;
    border: 1px solid var(--ghd-border);
    border-radius: 18px;
}

.ghd-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.ghd-section-heading h3 {
    margin: 5px 0 0;
    font-size: 26px;
    line-height: 1.2;
}

.ghd-confidence {
    flex: 0 0 auto;
    padding: 8px 12px;
    color: #374151;
    background: #fff;
    border: 1px solid var(--ghd-border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.ghd-confidence--alta {
    color: #166534;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.ghd-confidence--media {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}

.ghd-confidence--baja {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.ghd-economic__intro,
.ghd-economic__confidence,
.ghd-economic__missing,
.ghd-economic__disclaimer {
    margin: 14px 0 0;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.ghd-economic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.ghd-economic-grid > div,
.ghd-potential-card {
    padding: 17px;
    background: #fff;
    border: 1px solid var(--ghd-border);
    border-radius: 13px;
}

.ghd-economic-grid span,
.ghd-potential-card > span {
    display: block;
    margin-bottom: 7px;
    color: var(--ghd-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ghd-economic-grid strong,
.ghd-potential-card strong {
    display: block;
    font-size: 20px;
    line-height: 1.25;
}

.ghd-economic-grid small {
    display: block;
    margin-top: 6px;
    color: var(--ghd-muted);
    font-size: 12px;
}

.ghd-economic-table {
    margin-top: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ghd-border);
    border-radius: 13px;
}

.ghd-economic-row {
    display: grid;
    grid-template-columns: 0.75fr 1.35fr 1.1fr;
    gap: 14px;
    align-items: center;
    padding: 13px 15px;
    border-top: 1px solid var(--ghd-border);
    font-size: 13px;
}

.ghd-economic-row:first-child {
    border-top: 0;
}

.ghd-economic-row--head {
    color: #4b5563;
    background: #f7f7f8;
    font-size: 12px;
}

.ghd-economic__disclaimer {
    padding-top: 13px;
    border-top: 1px solid var(--ghd-border);
    color: #6b7280 !important;
    font-size: 12px !important;
}

.ghd-potential-card {
    margin-top: 20px;
}

.ghd-potential-card p {
    margin: 8px 0 0;
    font-size: 14px;
}

@media (max-width: 760px) {
    .ghd-progress__meta {
        flex-direction: row;
        align-items: center;
    }

    .ghd-progress__meta span,
    .ghd-progress__meta span:last-child {
        text-align: right;
    }

    .ghd-step--intro.ghd-step--active {
        min-height: 390px;
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .ghd-step--intro [data-start] {
        margin-top: 26px !important;
    }

    .ghd-section-heading {
        flex-direction: column;
        gap: 12px;
    }

    .ghd-economic {
        padding: 18px;
    }

    .ghd-economic-grid {
        grid-template-columns: 1fr;
    }

    .ghd-economic-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .ghd-economic-row--head {
        display: none;
    }

    .ghd-economic-row span::before {
        display: block;
        margin-bottom: 2px;
        color: var(--ghd-muted);
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .ghd-economic-row span:nth-child(2)::before {
        content: 'Impacto acumulado';
    }

    .ghd-economic-row span:nth-child(3)::before {
        content: 'Retorno estimado';
    }
}
