/* XERF · Diseño adaptado a Ayestarán Medicina. Sin Tailwind ni Font Awesome. */
.xerf-redesign {
    --xerf-gold: #ad965d;
    --xerf-gold-dark: #8f7b49;
    --xerf-navy: #273150;
    --xerf-text: #4b4b4b;
    --xerf-cream: #f3f1ee;
    --xerf-warm: #ece8e3;
    --xerf-border: #ded9cf;
    font-family: "Open Sans",sans-serif;
    color: var(--xerf-text);
    font-size: 16px;
    line-height: 1.7;
}
.xerf-redesign,.xerf-redesign * {
    box-sizing: border-box;
}
.xerf-redesign .xerf-section {
    padding: 78px 0;
    background: #fff;
}
.xerf-redesign .xerf-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}
.xerf-redesign .xerf-narrow {
    max-width: 960px;
}
.xerf-redesign .xerf-centered {
    text-align: center;
}
.xerf-redesign h2,.xerf-redesign h3,.xerf-redesign h4 {
    font-family: inherit;
    color: var(--xerf-navy);
    line-height: 1.3;
    margin: 0;
}
.xerf-redesign h2 {
    font-size: 25px;
    font-weight: 300;
}
.xerf-redesign h3 {
    font-size: 21px;
    font-weight: 700;
}
.xerf-redesign h4 {
    font-size: 19px;
    font-weight: 700;
}
.xerf-redesign p {
    margin: 0 0 16px;
    line-height: 1.5;
}
.xerf-redesign strong {
    font-weight: 500;
}
.xerf-redesign .xerf-heading {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 52px;
}
.xerf-redesign .xerf-heading>span:first-child,.xerf-redesign .xerf-container>span:first-child {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--xerf-gold);
    margin-bottom: 8px;
}
.xerf-redesign .xerf-heading h2 {
    margin-bottom: 14px;
}
.xerf-redesign .xerf-heading h2 span {
    font-weight: 700;
}
.xerf-redesign .xerf-heading>div:last-child {
    width: 65px;
    height: 2px;
    background: var(--xerf-gold);
    margin: 10px auto 0;
}
.xerf-redesign .xerf-grid {
    display: grid;
    gap: 24px;
}
.xerf-redesign .xerf-grid-4 {
    grid-template-columns: repeat(4,minmax(0,1fr));
}
.xerf-redesign .xerf-grid-3 {
    grid-template-columns: repeat(3,minmax(0,1fr));
}
.xerf-redesign .xerf-card {
    border: 1px solid var(--xerf-border);
    padding: 28px;
    background: var(--xerf-cream);
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow .2s;
}
.xerf-redesign .xerf-card:hover {
    box-shadow: 0 8px 24px #27315015;
}
.xerf-redesign .xerf-feature h3 {
    font-size: 20px;
    //text-transform: uppercase;
    letter-spacing: .7px;
    margin: 0 0 14px;
    color:#4b4b4b;
    font-weight: 500;
}
.xerf-redesign .xerf-feature p {
    font-size: 18px;
    margin: 0;
}
.xerf-redesign .xerf-number {
    font-size: 34px;
    font-weight: 300;
    color: var(--xerf-gold);
    margin-bottom: 12px;
}
.xerf-redesign .xerf-card-footer {
    border-top: 1px solid var(--xerf-border);
    margin-top: 26px;
    padding-top: 16px;
    color: var(--xerf-gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.xerf-redesign .xerf-treatment-applications {
    background: var(--xerf-warm);
    border-top: 1px solid var(--xerf-border);
}
.xerf-redesign .xerf-zone {
    background: #fff;
    padding: 30px;
}
.xerf-redesign .xerf-zone-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--xerf-cream);
    border: 1px solid var(--xerf-border);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--xerf-gold);
    font-size: 21px;
}
.xerf-redesign .xerf-zone h3 {
    margin-bottom: 18px;
}
.xerf-redesign .xerf-zone ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.xerf-redesign .xerf-zone li {
    position: relative;
    padding-left: 20px;
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.6;
}
.xerf-redesign .xerf-zone li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--xerf-gold);
    font-weight: 700;
}
.xerf-redesign .xerf-zone p {
    font-size: 18px;
}
.xerf-redesign .xerf-note {
    padding: 15px;
    background: var(--xerf-cream);
    border: 1px solid var(--xerf-border);
    font-size: 16px;
    line-height: 1.6;
    margin-top: 20px;
}
.xerf-redesign .xerf-zone-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}
.xerf-redesign .xerf-zone-tags span {
    padding: 5px 10px;
    background: var(--xerf-warm);
    border: 1px solid var(--xerf-border);
    font-size: 12px;
    color: var(--xerf-navy);
}
.xerf-redesign .xerf-sessions-protocol h2 {
    margin: 6px 0;
}
.xerf-redesign .xerf-sessions-protocol>.xerf-container>p {
    color: var(--xerf-gold);
    font-style: italic;
    margin-bottom: 32px;
}
.xerf-redesign .xerf-session-panel {
    background: var(--xerf-cream);
    border: 1px solid var(--xerf-border);
    padding: 48px;
    position: relative;
}
.xerf-redesign .xerf-session-panel>div:first-child {
    display: inline-block;
    background: var(--xerf-gold);
    color: white;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 16px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--xerf-gold);
    font-size: 21px;
}
.xerf-redesign .xerf-session-panel p {
    max-width: 730px;
    margin: 0 auto 20px;
}
.xerf-redesign .xerf-button {
    display: inline-block;
    background: var(--xerf-gold);
    color: #fff !important;
    text-decoration: none !important;
    padding: 14px 30px;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background .2s;
}
.xerf-redesign .xerf-button:hover {
    background: var(--xerf-gold-dark);
}
.xerf-redesign .xerf-technology-comparison,.xerf-redesign .xerf-frequently-asked-questions {
    background: var(--xerf-cream);
    border-top: 1px solid var(--xerf-border);
}
.xerf-redesign .xerf-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--xerf-border);
}
.xerf-redesign table {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.5;
}
.xerf-redesign th,.xerf-redesign td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--xerf-border);
    vertical-align: top;
}
.xerf-redesign th {
    background: var(--xerf-warm);
    color: var(--xerf-navy);
    font-size: 12px;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-weight: 700;
}
.xerf-redesign td:first-child {
    font-weight: 700;
    color: var(--xerf-navy);
}
.xerf-redesign .xerf-highlight-col {
    background: #ad965d12;
    color: var(--xerf-navy);
    font-weight: 600;
}
.xerf-redesign .xerf-verdict {
    text-align: center;
    max-width: 800px;
    margin: 30px auto 0;
    padding: 28px;
    background: white;
    border: 1px solid var(--xerf-border);
}
.xerf-redesign .xerf-verdict h4 {
    margin-bottom: 10px;
}
.xerf-redesign .xerf-verdict a {
    color: var(--xerf-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
}
.xerf-redesign .xerf-pricing {
    text-align: center;
    background: linear-gradient(var(--xerf-cream),var(--xerf-warm));
    border: 2px solid #ad965d66;
    padding: 54px 35px;
}
.xerf-redesign .xerf-pricing>span:first-child {
    color: var(--xerf-gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.xerf-redesign .xerf-pricing h3 {
    font-size: 29px;
    font-weight: 300;
    margin: 8px 0 18px;
    text-transform: uppercase;
}
.xerf-redesign .xerf-pricing>div {
    margin-bottom: 20px;
}
.xerf-redesign .xerf-pricing>div span {
    display: block;
    color: #76767e;
    font-size: 14px;
}
.xerf-redesign .xerf-pricing>div div {
    font-size: 50px;
    font-weight: 700;
    color: var(--xerf-gold);
    line-height: 1.3;
}
.xerf-redesign .xerf-pricing p {
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: 14px;
}
.xerf-redesign .xerf-faq-item {
    background: #fff;
    border: 1px solid var(--xerf-border);
    margin-bottom: 12px;
}
.xerf-redesign .xerf-faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    padding: 20px 22px;
    list-style: none;
    color: var(--xerf-navy);
    font-weight: 700;
    font-size: 16px;
}
.xerf-redesign .xerf-faq-item summary::-webkit-details-marker {
    display: none;
}
.xerf-redesign .xerf-faq-item summary .xerf-faq-icon {
    color: var(--xerf-gold);
    font-size: 18px;
    font-weight: 400;
    transition: transform .3s;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.xerf-redesign .xerf-faq-item[open] summary .xerf-faq-icon {
    transform: rotate(45deg);
}
.xerf-redesign .xerf-faq-item>div {
    padding: 20px 22px;
    border-top: 1px solid var(--xerf-border);
    font-size: 14px;
}
.xerf-redesign .xerf-faq-item>div p:last-child {
    margin-bottom: 0;
}
.xerf-redesign .xerf-clinic-manifesto {
    background: var(--xerf-navy);
    text-align: center;
    color: #ded9cf;
}
.xerf-redesign .xerf-clinic-manifesto h2 {
    color: #fff;
    margin: 12px 0 24px;
}
.xerf-redesign .xerf-clinic-manifesto p {
    max-width: 750px;
    margin: 0 auto 25px;
    color: #fff;
}
.xerf-redesign .xerf-clinic-manifesto>.xerf-container>div {
    margin: 0 0 16px;
    color: var(--xerf-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}
@media (max-width:1050px) {
    .xerf-redesign .xerf-grid-4 {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media (max-width:760px) {
    .xerf-redesign .xerf-section {
        padding: 55px 0;
    }
    .xerf-redesign .xerf-grid-3 {
        grid-template-columns: 1fr;
    }
    .xerf-redesign .xerf-heading {
        margin-bottom: 34px;
    }
    .xerf-redesign .xerf-session-panel {
        padding: 35px 22px;
    }
    .xerf-redesign .xerf-pricing {
        padding: 40px 22px;
    }
}
@media (max-width:520px) {
    .xerf-redesign .xerf-grid-4 {
        grid-template-columns: 1fr;
    }
    .xerf-redesign .xerf-card {
        padding: 23px;
    }
    .xerf-redesign .xerf-faq-item summary {
        font-size: 14px;
    }
    .xerf-redesign .xerf-pricing>div div {
        font-size: 42px;
    }
}
/* FAQ e iconos según el HTML de referencia */
.xerf-redesign .xerf-faq-item summary {
    background: #fff;
    transition: background .2s;
}
.xerf-redesign .xerf-faq-item summary:hover {
    background: #faf9f7;
}
.xerf-redesign .xerf-faq-item summary:focus-visible {
    outline: 2px solid #ad965d;
    outline-offset: -3px;
}
.xerf-redesign .xerf-faq-item summary::marker {
    content: "";
}
.xerf-redesign .xerf-zone-icon i {
    color: #ad965d;
}


@media (max-width: 770px) {
    .xerf-redesign .xerf-treatment-applications .xerf-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* BLOQUE DE REVISIÓN MÉDICA */

.xerf-revision-medica {
    width: 100%;
    background-color: #f3f1ee;
    padding: 16px 0;
    border-top: 1px solid #ded9cf;
    border-bottom: 1px solid #ded9cf;
    margin-bottom: 50px;
}

.xerf-revision-medica .xerf-revision-contenido {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.xerf-revision-medica .xerf-revision-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    color: #ad965d;
}

.xerf-revision-medica .xerf-revision-icono svg {
    display: block;
    width: 100%;
    height: 100%;
}

.xerf-revision-medica p {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0.025em;
    color: #76767e;
}

.xerf-revision-medica a {
    color: #ad965d;
    font-weight: 600;
    text-decoration: none;
}

.xerf-revision-medica a:hover {
    color: #8f7b49;
    text-decoration: underline;
}

/* ADAPTACIÓN RESPONSIVE */

@media (max-width: 600px) {

    .xerf-revision-medica .xerf-revision-contenido {
        flex-direction: column;
        gap: 8px;
    }

    .xerf-revision-medica p {
        line-height: 19px;
    }

}

/* Módulo XERF: distribución 50/50. Añadir después de xerf-estilos.css */
.xerf-redesign .xerf-zones-asymmetric {
    background-color: #ece8e3;
    border-top: 1px solid #ded9cf;
    padding: 78px 0;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-heading {
    text-align: center;
    margin: 0 auto 48px;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-heading h2 {
    color: #273150;
    font-family: "Open Sans", sans-serif;
    font-size: clamp(26px, 2.5vw, 38px);
    font-weight: 300;
    line-height: 1.3;
    margin: 0 0 14px;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-heading h2 span {
    font-weight: 700;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-heading > div {
    width: 65px;
    height: 2px;
    background-color: #ad965d;
    margin: 20px auto 0;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zones-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 24px;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zones-side {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 24px;
    min-width: 0;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    background-color: #ffffff;
    border: 1px solid #ded9cf;
    border-radius: 2px;
    padding: 30px;
    transition: box-shadow 0.2s ease;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone:hover {
    box-shadow: 0 8px 24px rgba(39, 49, 80, 0.09);
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone-featured {
    border-top: 3px solid #ad965d;
    padding: 34px;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone-title-row .xerf-zone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 50%;
    background-color: #f3f1ee;
    border: 1px solid #ded9cf;
    color: #ad965d;
    font-size: 22px;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone-title-row .xerf-zone-icon i {
    color: #ad965d;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone h3 {
    color: #273150;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone-featured ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone-featured li {
    position: relative;
    padding-left: 21px;
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #4b4b4b;
    font-weight: 100;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone-featured li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #ad965d;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone p {
    margin: 0;
    color: #4b4b4b;
    font-size: 18px;
    line-height: 1.5;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone-featured .xerf-note {
    margin-top: 30px;
    padding: 15px 18px;
    background-color: #f3f1ee;
    border: 1px solid #ded9cf;
    border-left: 2px solid #ad965d;
    font-size: 16px;
    line-height: 1.5;
    color: #4b4b4b;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone-compact {
    padding: 28px 30px;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone-compact .xerf-zone-title-row {
    margin-bottom: 14px;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
}

.xerf-redesign .xerf-zones-asymmetric .xerf-zone-tags span {
    padding: 5px 10px;
    border: 1px solid #ded9cf;
    background-color: #ece8e3;
    color: #273150;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .xerf-redesign .xerf-zones-asymmetric .xerf-zones-layout {
        grid-template-columns: 1fr;
    }

    .xerf-redesign .xerf-zones-asymmetric .xerf-zones-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }
}

@media (max-width: 770px) {
    .xerf-redesign .xerf-zones-asymmetric {
        padding: 54px 0;
    }

    .xerf-redesign .xerf-zones-asymmetric .xerf-zones-side {
        grid-template-columns: 1fr;
    }

    .xerf-redesign .xerf-zones-asymmetric .xerf-zone-featured ul {
        grid-template-columns: 1fr;
    }

    .xerf-redesign .xerf-zones-asymmetric .xerf-zone,
    .xerf-redesign .xerf-zones-asymmetric .xerf-zone-featured {
        padding: 24px;
    }
}


