/* Steel Goal — hoja única. Fusión en el orden de cascada original
   (normalize primero por diseño; el resto conserva su orden relativo).
   NO editar a mano los bloques fusionados: editar el origen y refundir. */


/* ===== FUSIONADO: normalize.css (primero: es su posición de diseño; además activa el :focus-visible del tema) ===== */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */*{-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}*:focus{outline: none;}button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}


/* ===== FUSIONADO: style.css (tema) ===== */
/*
==================================================================
Theme Name: Steel Goal
Version: 1.0
Author: Edu Quirante
Author URI: https://mrpedu.com
==================================================================
*/

:root {
    --primary: var(--wp--preset--color--primary);
    --secondary: var(--wp--preset--color--secondary);
    --grey: var(--wp--preset--color--grey);
    --black: var(--wp--preset--color--black);
    --white: var(--wp--preset--color--white);
    --font-head: var(--wp--preset--font-family--oswald);
    --font-text: var(--wp--preset--font-family--inter);
    /* Variables de Marca Steel Goal */
    --steel-brand: #1c5d44;
    --steel-brand-light: #2d8a66;
    --steel-dark: #0a0a0a;
    --steel-gray-card: #121212;
    --steel-border: #262626;
    --steel-text-main: #f3f4f6;
    --steel-text-muted: #a3a3a3;
    --steel-accent: #005F33;
    /* Texto sobre fondo oscuro: variantes que cumplen WCAG AA.
       --steel-brand (#1c5d44) y --steel-accent (#005f33) se quedan para
       fondos, bordes y botones solidos; para TEXTO se usa --steel-brand-text. */
    --steel-brand-text: #3fa87f;   /* 6.7:1 sobre #0a0a0a */
    --steel-text-muted-aa: #9ca3af; /* 7.8:1 sobre #0a0a0a */

}

::selection {
    background-color: var(--primary);
    text-shadow: none;
    color: white;
}

/* Foco visible global para navegación por teclado */
:focus-visible {
    outline: 2px solid var(--steel-brand-light);
    outline-offset: 3px;
}

::placeholder {
    color: white;
}

body,
p,
li,
span {
    font-family: var(--font-text);
    hyphens: auto !important;
    overflow-wrap: unset !important;
}

span i {
    background: var(--primary);
    padding: 10px;
    color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    hyphens: auto !important;
    overflow-wrap: unset !important;
}

h1 span {
    color: var(--steel-brand-text, #3fa87f);
    font-family: var(--font-head);
}

:root :where(.is-layout-flow)>h1,
:root :where(.is-layout-flow)>h2,
:root :where(.is-layout-flow)>h3,
:root :where(.is-layout-flow)>h4,
:root :where(.is-layout-flow)>h5,
:root :where(.is-layout-flow)>h6 {
    font-family: var(--font-head);
    margin-block-end: 3.5rem;
}

.wp-block-separator {
    border: none;
    border-top: 1px solid !important;
}


h1 {
    font-size: 55px;
    font-weight: 800;
}

h2 {
    font-size: 42px;
    font-weight: 600;
}

h3 {
    font-size: 25px;
    font-weight: 600;
}

p {
    font-size: 18px;
    font-weight: 400;
}

body {
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.3;
    background-color: white;
    color: var(--steel-dark);
}

img {
    max-width: 100%;
}

hr {
    box-sizing: content-box;
    height: 10px !important;
    width: 50% !important;
    margin: 0 !important;
}

.wp-site-blocks {
    width: 100%;
    overflow-x: hidden;
}

.wp-site-blocks,
.alignfull>* {
    padding-left: var(--wp--preset--spacing--20);
    padding-right: var(--wp--preset--spacing--20);
}

:root :where(.is-layout-constrained)>* {
    margin-block-start: 80px;
    margin-block-end: 0;
}

.wp-block-group,
.wp-block-columns {
    padding-top: 4vw;
    padding-bottom: 4vw;
    gap: 6vw;
}

.wp-block-post-content> :where(.wp-block-group):first-of-type,
.wp-block-post-content> :where(.wp-block-columns):first-of-type,
.wp-site-blocks> :where(.wp-block-group):first-of-type,
.wp-site-blocks> :where(.wp-block-columns):first-of-type {
    padding-top: 0;
}


.wp-site-blocks> :where(:not(.alignwide):not(.alignfull)) {
    width: 100% !important;
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}

.alignwide {
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto !important;
    margin-right: auto !important;
}

.alignfull {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    position: relative;
}

.block-editor-block-list__layout.is-root-container>.alignfull {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.wp-block-latest-posts__featured-image {
    margin-bottom: 1em;
}

/* Botones */

.wp-block-button__link,
.wpcf7 input[type="submit"] {
    text-decoration: none;
    display: inline-block;
    background: var(--primary);
    border: 2px solid transparent;
    border-radius: 0px;
    padding: 15px 45px;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: bold;
    color: var(--white);
}

.wp-block-button__link:hover {
    color: #4cbf94;
    background-color: transparent;
    border-color: var(--primary);
}

/* Enlaces */

a {
    color: currentColor;
    text-decoration: none;
    transition: all 250ms ease;
}

a:hover {
    text-decoration: none;
    color: #4cbf94;
}

p a:hover,
form a:hover {
    color: #4cbf94;
}

.overflow-hidden {
    overflow: hidden;
}

/*Header*/

#header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: background-color 300ms ease;
    background-color: transparent;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

#header.scrolled {
    background-color: var(--steel-dark);
}

#header #logo {
    max-width: 160px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

#header #logo img {
    width: 100%;
}

.menu {
    display: flex;
    list-style: none;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    align-items: end;
    margin-right: 55px;
}

.menuOpen {
    cursor: pointer;
    position: relative;
    z-index: 15;
}

.menuOpen>div {
    width: 40px;
    height: 5px;
    background-color: var(--primary);
    border-radius: 1px;
    margin: 6px 0;
    transition: 0.4s;
}

.menuOpen.active>div:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 6px);
}

.menuOpen.active>div:nth-child(2) {
    opacity: 0;
}

.menuOpen.active>div:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -8px);
}

.mobile-menu {
    width: 50%;
    height: 100vh;
    border-left: 2px solid var(--primary);
    opacity: 0;
    transform: translateX(50%);
    transition: all 500ms ease;
    pointer-events: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 15px;
    z-index: 11;
    border-radius: 0px;
    overflow: hidden;
}

.mobile-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--steel-dark);
    z-index: 1;
    pointer-events: none;
}

.mobile-menu>* {
    position: relative;
    z-index: 2;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;

}

.mobile-menu>div {
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 100px;
    top: 100px;
}

.menu li a {
    color: var(--white);
    font-size: 65px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 250ms ease;
    font-family: var(--font-head);
    position: relative;
    filter: contrast(100%);
}

.menu li a::after {
    content: url(/wp-content/uploads/2025/09/right-arrows-e1757950877978.png);
    position: absolute;
    right: -90px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    opacity: 0;
    transition: opacity 200ms ease, transform 250ms ease;
    color: var(--steel-brand-text, #3fa87f);

}

.menu li a:hover {
    color: #4cbf94;
}

.menu li a:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    /* La flecha se acerca un poco */
}


.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 30px;
}

/*HERO*/
.swing-in-right-bck {
    -webkit-animation: swing-in-right-bck 0.6s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
    animation: swing-in-right-bck 0.6s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
}

/**
 * ----------------------------------------
 * animation swing-in-right-bck
 * ----------------------------------------
 */
@-webkit-keyframes swing-in-right-bck {
    0% {
        -webkit-transform: rotateY(70deg);
        transform: rotateY(70deg);
        -webkit-transform-origin: right;
        transform-origin: right;
        opacity: 0;
    }

    100% {
        -webkit-transform: rotateY(0);
        transform: rotateY(0);
        -webkit-transform-origin: right;
        transform-origin: right;
        opacity: 1;
    }
}

@keyframes swing-in-right-bck {
    0% {
        -webkit-transform: rotateY(70deg);
        transform: rotateY(70deg);
        -webkit-transform-origin: right;
        transform-origin: right;
        opacity: 0;
    }

    100% {
        -webkit-transform: rotateY(0);
        transform: rotateY(0);
        -webkit-transform-origin: right;
        transform-origin: right;
        opacity: 1;
    }
}

.heartbeat {
    -webkit-animation: heartbeat 1.5s ease-in-out infinite both;
    animation: heartbeat 1.5s ease-in-out infinite both;
}

@-webkit-keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    10% {
        -webkit-transform: scale(0.91);
        transform: scale(0.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    17% {
        -webkit-transform: scale(0.98);
        transform: scale(0.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    33% {
        -webkit-transform: scale(0.87);
        transform: scale(0.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}

@keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    10% {
        -webkit-transform: scale(0.91);
        transform: scale(0.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    17% {
        -webkit-transform: scale(0.98);
        transform: scale(0.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    33% {
        -webkit-transform: scale(0.87);
        transform: scale(0.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}

.slide-in-left {
    -webkit-animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}


/*Formulario de Contacto*/

.wpcf7 {
    max-width: 100%;
    width: 100%;
    position: relative;
}

.wpcf7 form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.wpcf7 form .wpcf7-form-control-wrap {
    width: 100% !important;
    display: block !important;
    /* Ensure wrappers behave */
}

.wpcf7 form>p {
    margin: 0 !important;
    width: 100% !important;
}

/* Target direct paragraphs containing textarea or submit, OR if they have classes */
.wpcf7 form>p:has(textarea),
.wpcf7 form>p:has(input[type="submit"]),
.wpcf7 form>.wpcf7-response-output,
.wpcf7 form>div.wpcf7-response-output,
/* Just in case */
.full-width-field {
    /* Fallback class if needed */
    grid-column: 1 / -1 !important;
}

.wpcf7 input:not(.wpcf7-submit),
.wpcf7 textarea,
.wpcf7 select {
    background-color: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    color: var(--white);
    padding: 12px 15px;
    border-radius: 0;
    font-family: var(--font-text);
    transition: border-color 0.3s ease;
}

.wpcf7 input:focus:not(.wpcf7-submit),
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: var(--steel-accent);
    outline: none;
}

/* Removed .form-dark overrides as default is now dark/compatible */

.wpcf7 .last {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.wpcf7 textarea {
    max-height: 150px;
    max-width: 100%;
}

.wpcf7 .last>p {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.wpcf7 .wpcf7-form-control-wrap {
    width: 100%;
}

.wpcf7 .wpcf7-acceptance>span {
    margin-left: 0;
}

.wpcf7 .wpcf7-acceptance>span label {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

[type="checkbox"],
[type="radio"],
legend {
    padding: 0;
    margin-top: 15px;
}

.wpcf7 .wpcf7-acceptance>span,
.wpcf7 .wpcf7-acceptance>span label a {
    font-weight: 400;
    color: var(--secondary);
}

.wpcf7 .form-dark .wpcf7-acceptance>span,
.wpcf7 .form-dark .wpcf7-acceptance>span label a {
    color: var(--steel-brand-text, #3fa87f);
}

.wpcf7 input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
}

.wpcf7 input[type="submit"]:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.wpcf7 .submitting>p {
    opacity: 0.2;
}

.wpcf7 .wpcf7-spinner {
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    margin: 0;
}

.wpcf7 .wpcf7-response-output {
    background-color: white;
    color: white;
    margin: 25px 0 0 0;
    border: none;
    padding: 15px 20px;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
}

.wpcf7 .sent .wpcf7-response-output {
    background-color: green;
    border-color: green !important;
    margin: 0;
    padding: 5px;
    border-radius: 5px;
}

.wpcf7 .invalid .wpcf7-response-output {
    background-color: #d34c4c;
    border-color: #d34c4c !important;
    margin: 0;
    padding: 15px;
    border-radius: 5px;
}

.wpcf7 .wpcf7-not-valid {
    border-color: #d34c4c !important;
}

.wpcf7 .wpcf7-not-valid-tip {
    display: none !important;
}

.wpcf7-select {
    /* Styles are now handled by the general rule above, but keeping class for specificity if needed */
    background-color: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    border-radius: 0;
    color: var(--white);
}

.form-dark .wpcf7-select {
    border: 1px solid var(--primary);
    color: var(--steel-brand-text, #3fa87f);
}

.contact-form-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.contact-form-column {
    flex: 1;
    min-width: 200px;
    max-height: 45px;

}

/*FOOTER*/
.site-footer {
    background-color: var(--steel-dark);
    color: var(--steel-text-muted);
    border-top: 4px solid var(--steel-brand);
    /* Borde superior de marca */
    font-size: 16px;
    padding-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 50px;
}

/* Columnas */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* T�tulos de columnas */
.footer-col h4 {
    font-family: var(--font-head);
    color: var(--white);
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    position: relative;
}

/* Peque�a l�nea decorativa bajo t�tulos */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--steel-brand);
}

/* Logo y descripci�n */
.footer-brand p {
    line-height: 1.6;
    margin-top: 15px;
    font-size: 15px;
}

.footer-logo-img {
    max-width: 150px;
    filter: grayscale(100%) brightness(200%);
    /* Hace el logo blanco si es de color */
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    filter: none;
}

/* Enlaces */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    text-decoration: none;
    color: var(--steel-text-muted);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Efecto Hover en enlaces */
.footer-menu a:hover {
    color: var(--white);
    transform: translateX(5px);
    /* Peque�o desplazamiento a la derecha */
}

.footer-menu a:hover i {
    color: #4cbf94;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    border: 1px solid var(--steel-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--steel-text-muted);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--steel-gray-card);
}

.footer-social-link:hover {
    color: var(--white);
    border-color: var(--steel-brand);
    background-color: var(--steel-brand);
    transform: translateY(-3px);
}

/* Informaci�n de Contacto */
.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.4;
}

.contact-item i {
    color: var(--steel-brand-text, #3fa87f);
    margin-top: 4px;
}

/* Copyright Bar */
.footer-bottom {
    background-color: #050505;
    /* Un poco m�s oscuro que el fondo base */
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid var(--steel-border);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}



.copyright-text {
    font-size: 14px;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.legal-links a {
    color: var(--steel-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #4cbf94;
    text-decoration: underline;
}



/* PERFIL CLIENTE  */

/* Contenedor Principal */
.cliente-section {
    background: var(--black);
    padding-top: 95px;
    padding-bottom: 95px;
}

.cliente-profile {
    background-color: var(--steel-dark);
    color: var(--steel-text-main);
    font-family: 'Inter', sans-serif;
    max-width: 1200px;
    margin: 0px auto;
    padding: 20px 0px;
}

/* Header del Perfil */
.profile-header {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    padding: 10px 0 40px;
    border-bottom: 1px solid var(--steel-border);
    background-image: linear-gradient(rgba(28, 93, 68, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 93, 68, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.profile-image {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 3/4;
    object-fit: cover;
    border: 2px solid var(--steel-border);
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.4s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.profile-header:hover .profile-image {
    filter: grayscale(0%) contrast(1);
    border-color: var(--steel-brand);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.profile-title {
    display: inline-block;
    background-color: var(--steel-brand);
    color: white;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    padding: 5px 15px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    /* Espacio entre los elementos */
    margin-top: 10px;
    font-family: var(--font-text);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Espacio entre icono y texto */
    color: var(--steel-text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.meta-item i {
    color: var(--steel-brand-text, #3fa87f);
    /* Icono verde */
    font-size: 1.1rem;
}

/* Cuerpo del Contenido */
.profile-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 50px;
}

.profile-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--steel-text-muted);
}

.profile-description h2,
.profile-description h3 {
    color: white;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Sidebar de Contacto */
.profile-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: var(--steel-gray-card);
    padding: 30px;
    border: 1px solid var(--steel-border);
    height: fit-content;
}

.contact-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.contact-link:nth-child(1) {
    /* Email */
    background-color: var(--steel-brand);
    color: white;
}

.contact-link:nth-child(1):hover {
    background-color: var(--steel-brand-light);
}

.contact-link:nth-child(2) {
    /* Tel�fono */
    border: 1px solid var(--steel-border);
    color: white;
}

.contact-link:nth-child(2):hover {
    background-color: white;
    color: black;
}

/* Redes Sociales */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--steel-border);
}

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid var(--steel-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--steel-text-muted);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: white;
    border-color: var(--steel-brand);
    background-color: var(--steel-brand);
    transform: translateY(-3px);
}

/* Resultados del Cliente */
.cliente-results {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--steel-border);
}

.cliente-results__title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cliente-results__title i {
    color: var(--steel-brand-text, #3fa87f);
    font-size: 1.2rem;
}

.cliente-results__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cliente-results__item {
    border: 2px solid var(--steel-border);
    overflow: hidden;
    position: relative;
}

.cliente-results__item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.4s ease;
}

.cliente-results__item:hover img {
    filter: grayscale(0%) contrast(1);
}

.cliente-results__item:hover {
    border-color: var(--steel-brand);
}

/* Coach Showcase Block */
.coach-showcase-block {
    background-color: var(--steel-gray-card);
    /* Dark background */
    padding: 2rem 0;
}

.coach-grid-container-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 0px;
}

.coach-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 0px;
}

/* Coach Card */
.coach-card {
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    border: 1px solid #333;
    /* Subtle border */
    transition: transform 0.3s ease;
}

.coach-card:hover {
    transform: translateY(-5px);
}

.coach-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Square aspect ratio 1:1 */
    overflow: hidden;
}

.coach-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    /* B&W effect per design */
    transition: filter 0.3s ease;
}

.coach-card:hover .coach-image-wrapper img {
    filter: grayscale(0%);
}

.coach-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--steel-accent);
    /* Green accent color */
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.coach-content {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coach-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    /* Assuming Oswald is used */
}

.coach-location {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.coach-excerpt {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.4;
    border-left: 2px solid #333;
    padding-left: 10px;
    text-align: left;
    width: 100%;
}

.coach-link-btn {
    margin-top: auto;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.coach-link-btn:hover {
    background-color: #fff;
    color: #000;
}

/* CTA Card */
.coach-cta-card {
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: #fff;
    border: 1px solid #333;
}

.cta-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--steel-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cta-plus-icon {
    font-size: 2rem;
    color: var(--steel-brand-text, #3fa87f);
    line-height: 1;
    cursor: pointer;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.cta-text {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-link-btn {
    color: var(--steel-brand-text, #3fa87f);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid var(--steel-accent);
    padding-bottom: 2px;
    transition: color 0.3s;
}

.cta-link-btn:hover {
    color: #008f4c;
    border-bottom-color: #008f4c;
}

/* ENCUENTRA TU GU�A PAGE */
.encuentra-page-wrapper {
    background-color: #0a0a0a;
    min-height: 100vh;
}

.encuentra-header {
    background-color: #050505;
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid #222;
}

.encuentra-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.text-primary {
    color: var(--steel-brand-text, #3fa87f);
}

.encuentra-subtitle {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1rem;
}

/* Search Form */
.encuentra-search-form {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 5px;
    align-items: center;
}

.search-icon {
    color: #555;
    padding: 0 15px;
    font-size: 1.2rem;
}

.search-input-wrapper input {
    background: transparent;
    border: none;
    color: white;
    padding: 15px 10px;
    flex-grow: 1;
    font-size: 1rem;
    outline: none;
}

.search-btn {
    background-color: #2d5a42;
    /* A bit lighter green */
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    transition: background 0.3s;
}

.search-btn:hover {
    background-color: var(--steel-brand);
}

.encuentra-trends {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.trend-tag {
    color: #888;
    border: 1px solid #333;
    padding: 2px 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.trend-tag:hover {
    border-color: var(--steel-brand);
    color: white;
}

/* Tabs */
.encuentra-content {
    padding: 40px 0;
}

.encuentra-tabs {
    display: flex;
    justify-content: start;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.tab-link {
    background-color: #111;
    color: #888;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-family: 'Oswald', sans-serif;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.tab-link:hover,
.tab-link.active {
    background-color: #1a1a1a;
    color: white;
    /* Green text for active */
    border-color: #333;
}

.tab-link.active {
    background-color: var(--steel-brand);
    color: white;
    border-color: var(--steel-brand);
}

.tabs-separator {
    border: 0;
    border-top: 1px solid #222;
    margin: 20px 0 40px;
    width: 100%;
}

/* Grid & Cards */
.encuentra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.client-card-large {
    background-color: #0f0f0f;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
}

.client-card-large:hover {
    border-color: var(--steel-brand);
    transform: translateY(-5px);
}

.card-image-box {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    overflow: hidden;
    background-color: #000;
}

.card-image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.client-card-large:hover .card-image-box img {
    filter: grayscale(0%);
}

.badge-verified {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    color: black;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 2px;
    z-index: 2;
    text-transform: uppercase;
}

.card-type-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    /* Green text */
    padding: 5px 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    width: 100%;
    border-top: 1px solid #222;
}

.card-large-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-large-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.card-name {
    font-size: 1.4rem;
    color: white;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    line-height: 1.2;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #444;
    /* Dark star */
    font-size: 0.9rem;
}

.card-location {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
}

.pill-tag {
    font-size: 0.7rem;
    border: 1px solid #333;
    padding: 2px 8px;
    color: #aaa;
    text-transform: uppercase;
}

.btn-card-action {
    margin-top: auto;
    width: 100%;
    display: block;
    text-align: center;
    padding: 10px;
    border: 1px solid #333;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-card-action:hover {
    background-color: var(--steel-brand);
    border-color: var(--steel-brand);
    color: white;
}

/* Pagination */
.encuentra-pagination {
    margin-top: 50px;
    text-align: center;
}

.encuentra-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #333;
    color: #888;
    margin: 0 2px;
    text-decoration: none;
}

.encuentra-pagination .page-numbers.current,
.encuentra-pagination .page-numbers:hover {
    background-color: var(--steel-brand);
    color: white;
    border-color: var(--steel-brand);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. EL MODAL (Overlay) */
.steel-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    /* Fondo oscuro muy opaco */
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Centrado vertical */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.steel-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 2. CONTENIDO DEL MODAL */
.steel-modal-content {
    background-color: var(--black, #0a0a0a);
    border: 1px solid var(--grey, #404040);
    width: 100%;
    max-width: 800px;
    /* Ancho m�ximo */
    max-height: 90vh;
    /* Altura m�xima */
    overflow-y: auto;
    /* Scroll interno si es muy alto */
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    /* Scrollbar personalizada para el modal */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--black);
}

.steel-modal-overlay.active .steel-modal-content {
    transform: translateY(0);
}

/* Header del Modal */
.steel-modal-header {
    background-color: var(--secondary, #171717);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary, #1c5d44);
    position: sticky;
    top: 0;
    z-index: 10;
}

.steel-modal-title {
    font-family: var(--font-head, 'Oswald', sans-serif);
    color: var(--white, #fff);
    margin: 0 !important;
    font-size: 28px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.steel-modal-close {
    background: transparent;
    border: none;
    color: var(--grey, #a3a3a3);
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
}

.steel-modal-close:hover {
    color: #4cbf94;
}

.steel-modal-body {
    padding: 20px;
}

.steel-modal-intro {
    color: var(--steel-text-muted-aa, #9ca3af);
    margin-bottom: 30px;
    font-size: 16px;
    border-left: 3px solid var(--primary);
    padding-left: 15px;
}

/* 3. ESTILOS DEL FORMULARIO (CF7) */

.steel-form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.steel-section-title i {
    background: transparent;
    padding: 0;
    color: var(--steel-brand-text, #3fa87f);
}


/* Input Styles - Overriding Theme Defaults to ensure consistency */
.steel-form-container input[type="text"],
.steel-form-container input[type="email"],
.steel-form-container input[type="tel"],
.steel-form-container input[type="url"],
.steel-form-container textarea,
.steel-form-container select {
    background-color: var(--black, #000) !important;
    border: 1px solid var(--grey, #404040) !important;
    color: var(--white, #fff) !important;
    padding: 12px 15px !important;
    border-radius: 0 !important;
    /* RECTO */
    width: 100%;
    font-family: var(--font-text, 'Inter', sans-serif);
    transition: all 0.3s ease;
}

.steel-form-container input:focus,
.steel-form-container textarea:focus,
.steel-form-container select:focus {
    border-color: var(--primary, #1c5d44) !important;
    outline: none;
    box-shadow: 0 0 10px rgba(28, 93, 68, 0.2);
}

/* Icon Inputs (Social Media) */
.steel-input-group.icon-input {
    position: relative;
}

.steel-input-group.icon-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    /* Center vertically if no label, adjust if label exists */
    transform: translateY(-50%);
    color: var(--grey);
    z-index: 2;
    background: transparent;
    padding: 0;
}

/* Ajuste espec�fico porque CF7 envuelve en span */
.steel-input-group.icon-input .wpcf7-form-control-wrap {
    display: block;
}

.steel-input-group.icon-input input {
    padding-left: 45px !important;
    /* Espacio para el icono */
}

.steel-sub-label {
    font-family: var(--font-head);
    color: var(--steel-brand-text, #3fa87f);
    font-size: 14px;
    margin-top: 10px;
    text-transform: uppercase;
}

/* File Upload */
.steel-file-upload {
    border: 1px dashed var(--grey);
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 10px;
    transition: border-color 0.3s;
    color: var(--white);
}

.steel-file-upload label {
    color: var(--white);
    margin-bottom: 10px;
    display: block;
    font-weight: 700;
    font-family: var(--font-head);
    text-transform: uppercase;
}

.steel-file-upload:hover {
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.steel-file-upload input[type="file"] {
    color: var(--white);
    font-family: var(--font-text);
    font-size: 14px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    cursor: pointer;
}

/* Submit Button */
.steel-submit-area {
    margin-top: 30px;
    text-align: center;
}

.steel-form-container input[type="submit"] {
    background-color: var(--primary, #1c5d44) !important;
    color: var(--white) !important;
    font-family: var(--font-head) !important;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    padding: 15px 40px !important;
    border: none !important;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.steel-form-container input[type="submit"]:hover {
    background-color: var(--white) !important;
    color: var(--black) !important;
}

/* Scrollbar del modal */
.steel-modal-content::-webkit-scrollbar {
    width: 8px;
}

.steel-modal-content::-webkit-scrollbar-track {
    background: var(--black);
}

.steel-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
}

.steel-modal-content::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

/* --- MULTI STEP FORM --- */

/* Contenedor Principal */
/* Contenedor Principal */
.steel-multi-step-form {
    width: 100%;
    /* Fill parent container */
    max-width: none;
    /* Remove generic restriction */
    margin: 0;
    background-color: transparent;
    /* Blend with modal */
    padding: 0;
    /* Let modal body handle padding */
    border: none;
    /* Remove double border */
    font-family: var(--font-text);
}

/* Barra de Progreso */
.steel-progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.step-indicator {
    width: 35px;
    height: 35px;
    border: 2px solid var(--steel-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    color: #555;
    background-color: var(--steel-dark);
    transition: all 0.3s ease;
}

.step-indicator.active {
    border-color: var(--steel-brand);
    color: var(--white);
    background-color: var(--steel-brand);
    box-shadow: 0 0 15px rgba(28, 93, 68, 0.3);
}

.step-indicator.completed {
    border-color: var(--steel-brand);
    color: var(--white);
    background-color: var(--steel-brand);
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: var(--steel-border);
    margin: 0 10px;
}

/* Pasos */
.steel-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.steel-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reusing .steel-section-title if exists, or defining specific */
.steel-section-title {
    font-family: var(--font-head);
    font-size: 24px !important;
    /* Force override */
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 25px;
    border-left: 4px solid var(--steel-brand);
    padding-left: 15px;
    border-bottom: none;
    /* Reset potential conflict */
}

/* Grillas e Inputs */
.steel-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.steel-input-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.steel-multi-step-form input[type="text"],
.steel-multi-step-form input[type="email"],
.steel-multi-step-form input[type="tel"],
.steel-multi-step-form input[type="url"],
.steel-multi-step-form select,
.steel-multi-step-form textarea {
    width: 100%;
    background-color: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    padding: 12px;
    color: var(--white);
    transition: border-color 0.3s;
    font-family: var(--font-text);
}

.steel-multi-step-form input:focus,
.steel-multi-step-form textarea:focus,
.steel-multi-step-form select:focus {
    border-color: var(--steel-brand);
    outline: none;
}

/* Botones */
.steel-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--steel-border);
    width: 100%;
}

/* Fix for WP Autop (p tags wrapping buttons) */
.steel-nav-buttons p {
    display: contents;
    margin: 0;
}

.steel-nav-buttons br {
    display: none;
}

.steel-nav-buttons.right {
    justify-content: flex-end;
}

/* --- CALCULATOR GRID --- */
.steel-card {
    background-color: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s, border-color 0.3s;
}

.steel-card:hover {
    transform: translateY(-5px);
    border-color: var(--steel-brand);
}

.calc-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--steel-dark);
    border: 1px solid var(--steel-border);
    border-radius: 8px;
    margin-bottom: 10px;
}

.calc-icon-wrapper svg {
    color: var(--steel-brand-text, #3fa87f);
    width: 30px;
    height: 30px;
}

.calc-excerpt {
    font-size: 16px !important;
    color: var(--steel-text-muted);
    line-height: 1.5;
    flex-grow: 1;
}

.steel-btn-small {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 14px;
    text-transform: uppercase;
    color: var(--steel-brand-text, #3fa87f);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
    margin-top: auto;
}

.steel-btn-small:hover {
    color: var(--white);
}

.calc-title {
    font-size: 24px !important;
    margin: 0 !important;
    text-transform: uppercase;
    color: var(--white);
}

.steel-btn-next,
.steel-btn-prev {
    padding: 12px 25px;
    font-family: var(--font-head);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    background-color: var(--steel-border);
    color: var(--white);
}

.steel-btn-next:hover,
.steel-btn-prev:hover {
    background-color: var(--steel-brand);
    color: white;
}

/* --- ROLE SELECTOR (Radio Buttons) --- */
.steel-input-group.role-selector .wpcf7-list-item {
    margin: 0;
    margin-right: 15px;
    display: inline-block;
}

.steel-input-group.role-selector input[type="radio"] {
    display: none;
    /* Hide default radio */
}

.steel-input-group.role-selector .wpcf7-list-item-label {
    display: inline-block;
    padding: 15px 25px;
    background-color: var(--steel-dark);
    border: 1px solid var(--steel-border);
    color: var(--steel-text-muted);
    font-family: var(--font-head);
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.steel-input-group.role-selector input[type="radio"]:checked+.wpcf7-list-item-label {
    background-color: var(--steel-brand);
    color: var(--white);
    border-color: var(--steel-brand);
    box-shadow: 0 0 15px rgba(28, 93, 68, 0.4);
}

.steel-input-group.role-selector .wpcf7-list-item-label:hover {
    border-color: var(--steel-brand);
    color: var(--white);
}

/* Conditional Fields Animation */
#trainer-fields,
#creator-fields {
    animation: fadeIn 0.5s ease;
}

.steel-btn-next {
    background-color: var(--steel-brand);
    color: var(--white);
}

.steel-btn-prev {
    background-color: var(--steel-border);
    color: var(--white);
}

.steel-btn-next:hover {
    background-color: var(--steel-brand-light);
}

.steel-btn-prev:hover {
    background-color: #333;
}

/* SINGLE POST */
.single-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #262626;
    padding-top: 95px;
    z-index: 0;
}

.single-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.single-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0a0a0a 0%, rgba(10, 10, 10, 0.8) 50%, rgba(24, 24, 24, 0.6) 100%);
    z-index: 10;
}

.single-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.25);
}

.single-hero__content {
    position: relative;
    z-index: 20;
    padding-top: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 25px;
    width: 100%;
}

.single-hero__inner {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.single-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.single-meta__category {
    background-color: var(--steel-brand);
    color: white;
    padding: 0.4rem 0.8rem;
    font-family: var(--font-text);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.single-meta__category a:hover {
    color: white;
}

.single-meta__reading-time {
    color: #9ca3af;
    font-size: 0.75rem;
    font-family: var(--font-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.single-meta__reading-time i {
    background: transparent;
    padding: 0;
    color: inherit;
}

.single-title {
    font-family: var(--font-head);
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    margin-bottom: 2rem;
}

.single-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.single-author img {
    display: none;

}

.single-author__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border: 2px solid var(--steel-brand);
    filter: grayscale(100%);
}

.single-author__name {
    color: white;
    font-family: var(--font-head);
    font-size: 1.125rem;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0px;
}

.single-author__date {
    color: #9ca3af;
    font-size: 0.75rem;
    font-family: var(--font-text);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.single-body {
    padding: 4rem 1.5rem;
    background: var(--black);
}

.single-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}



.single-content {
    width: 100%;
}



.single-content .wp-block-list,
.single-content ul,
.single-content ol {
    color: var(--steel-text-main);
    font-family: var(--font-text);
}

.single-content li {
    color: var(--steel-text-main);
    /* Igualar al cuerpo: sin esto heredan la var --small (18px desktop / 14px móvil)
       y el interlineado normal, quedando enanas y apelotonadas */
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 0.5em;
}

.single-content li:last-child {
    margin-bottom: 0;
}

/* Color espec�fico para el editor de Gutenberg (negro) */
.editor-styles-wrapper .wp-block-list {
    color: #000000;
}

.single-excerpt {
    font-size: 1.25rem;
    color: white;
    font-family: var(--font-text);
    font-weight: 300;
    line-height: 1.625;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #262626;
    padding-bottom: 2.5rem;
}

.single-content p {
    margin-bottom: 1.5em;
    font-size: 1.125rem;
    color: #d1d5db;
    line-height: 1.75;
}

.single-content h2 {
    font-size: 2.25rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

.single-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: white;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

.single-sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}



/* Sidebar Widgets */
.sidebar-widget {
    background-color: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    padding: 1.5rem;
}

.sidebar-widget__title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--steel-brand);
}

.sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-post-card {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    padding: 0.75rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-post-card:hover {
    border-color: var(--steel-border);
    background-color: rgba(255, 255, 255, 0.03);
}

.sidebar-post-card__image {
    width: 5rem;
    height: 5rem;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #1a1a1a;
}

.sidebar-post-card__placeholder {
    width: 100%;
    height: 100%;
    background-color: #262626;
}

.sidebar-post-card__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.sidebar-post-card__title {
    font-family: var(--font-head);
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.sidebar-post-card__date {
    font-size: 0.75rem;
    color: #9ca3af;
    font-family: var(--font-text);
}

/* TABLE OF CONTENTS */
.sidebar-widget--toc {
    position: sticky;
    top: 100px;
    z-index: 9;
    max-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-widget--toc .sidebar-widget__title {
    flex-shrink: 0;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0 0.25rem 0.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--steel-border) transparent;
    /* Sin esto el item flex no encoge y la lista desborda sin scroll */
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    /* El tope va en la lista (altura propia), no solo en el widget:
       con height:auto el flex no re-encoge y el scroll no se activa */
    max-height: calc(100vh - 260px);
}

.toc-list::-webkit-scrollbar {
    width: 6px;
}

.toc-list::-webkit-scrollbar-thumb {
    background: var(--steel-border);
}

.toc-list::-webkit-scrollbar-track {
    background: transparent;
}

.toc-item {
    border-left: 2px solid var(--steel-border);
    transition: border-color 0.3s ease;
}

.toc-item:hover,
.toc-item.active {
    border-left-color: var(--steel-brand);
}

.toc-link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-family: var(--font-text);
    font-size: 0.8rem;
    color: var(--steel-text-muted);
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    line-height: 1.4;
}

.toc-link:hover,
.toc-item.active .toc-link {
    color: white;
    background-color: rgba(255, 255, 255, 0.03);
}

.toc-item--sub .toc-link {
    padding-left: 1.5rem;
    font-size: 0.75rem;
    /* #555 no pasa contraste sobre fondo oscuro: se sube a ~5.4:1 */
    color: #8e8e8e;
}

.toc-item--sub:hover .toc-link,
.toc-item--sub.active .toc-link {
    color: var(--steel-text-muted);
}

/* Índice plegable: botón para mostrar los puntos extra */
.toc-toggle {
    margin-top: 0.75rem;
    width: 100%;
    background: transparent;
    border: 1px solid var(--steel-border);
    color: var(--steel-text-muted);
    font-family: var(--font-text);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.55rem 0.75rem;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.toc-toggle:hover {
    border-color: var(--steel-brand);
    color: #fff;
}

/* Cabecera compacta de páginas de calculadoras (con H1) */
.rm-calc-page-header {
    margin: 0 0 2rem;
}

.rm-calc-page-header__label {
    display: block;
    color: var(--steel-brand-text, #3fa87f);
    font-family: var(--font-text);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}

.rm-calc-page-header__title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 1rem + 4vw, 3rem);
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 0.75rem;
}

.rm-calc-page-header__desc {
    color: var(--steel-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    max-width: 60ch;
}

/* Tests / Quiz (serie tests de hábitos) */
.sg-quiz-progress {
    height: 6px;
    background: var(--steel-border);
    margin-bottom: 2rem;
}

.sg-quiz-progress__bar {
    height: 100%;
    width: 0;
    background: var(--steel-brand);
    transition: width 0.3s ease;
}

.sg-quiz-q {
    margin-bottom: 1.75rem;
}

.sg-quiz-q__title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.sg-quiz-q__title .n {
    color: var(--steel-brand-text, #3fa87f);
    margin-right: 0.5rem;
}

.sg-quiz-opt {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--steel-border);
    background: var(--steel-dark);
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    font-size: 0.92rem;
    color: var(--steel-text-main);
    line-height: 1.45;
}

.sg-quiz-opt:hover {
    border-color: var(--steel-brand);
}

.sg-quiz-opt input {
    accent-color: var(--steel-brand);
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    margin: 0;
}

.sg-quiz-opt--checked {
    border-color: var(--steel-brand);
    background: rgba(28, 93, 68, 0.12);
}

.sg-quiz-opt--error {
    border-color: #b91c1c;
}

.sg-quiz-actions {
    margin-top: 1.5rem;
}

.sg-quiz-btn {
    width: 100%;
    background-color: var(--primary);
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sg-quiz-btn:hover {
    background-color: #14532d;
}

/* Newsletter en contenido (shortcode sg_newsletter_form) */
.sg-newsletter-form {
    background: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    border-left: 4px solid var(--steel-brand);
    padding: 1.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
    margin: 2.5rem 0;
}

.sg-newsletter-form > label:not(.sgnl-privacy) {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--steel-text-muted);
}

.sg-newsletter-form input[type="text"],
.sg-newsletter-form input[type="email"] {
    background: #0a0a0a;
    border: 1px solid var(--steel-border);
    color: #fff;
    font-family: var(--font-text);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
}

.sg-newsletter-form input[type="text"]:focus,
.sg-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--steel-brand);
}

/* Aviso de privacidad: texto en flujo en línea (nada de flex, para que el
   checkbox y el enlace no se conviertan en items apilados). */
.sg-newsletter-form .sgnl-privacy {
    grid-column: 1 / -1;
    display: block;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--steel-text-muted);
    cursor: pointer;
}

@media (min-width: 601px) {
    .sg-newsletter-form .sgnl-privacy {
        white-space: nowrap;
    }
    /* El popup es estrecho (440px): ahí debe poder envolver. */
    .sg-popup .sg-newsletter-form .sgnl-privacy {
        white-space: normal;
    }
}

.sg-newsletter-form .sgnl-privacy input {
    display: inline-block;
    vertical-align: -0.2em;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0 0.45rem 0 0;
    accent-color: var(--steel-brand);
}

.sg-newsletter-form .sgnl-privacy a {
    display: inline;
    color: var(--steel-brand-text, #3fa87f);
    white-space: inherit;
}

.sg-newsletter-form button[type="submit"] {
    grid-column: 1 / -1;
    justify-self: start;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.9rem 2.5rem;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sg-newsletter-form button[type="submit"]:hover {
    background: transparent;
    color: #4cbf94;
    border-color: var(--primary);
}

.sg-newsletter-form .sgnl-msg {
    grid-column: 1 / -1;
    margin: 0;
    min-height: 1.5em;
    font-size: 0.9rem;
    color: var(--steel-brand-text, #3fa87f);
}

@media (max-width: 600px) {
    .sg-newsletter-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sg-newsletter-form {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }

    .sg-newsletter-form button[type="submit"] {
        justify-self: stretch;
        text-align: center;
    }
}

/* Recursos: secciones por objetivo + buscador */
.recursos-search {
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

.recursos-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.recursos-search__box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    padding: 0.9rem 1.25rem;
}

.recursos-search__box:focus-within {
    border-color: var(--steel-brand);
}

.recursos-search__box i {
    color: var(--steel-brand-text, #3fa87f);
    flex-shrink: 0;
}

.recursos-search__box input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-text);
    font-size: 1rem;
}

.recursos-search__box input::placeholder {
    color: #9ca3af;
}

.recursos-count {
    color: var(--steel-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.75rem;
    text-align: center;
}

.recursos-section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 200px;
}

.recursos-section:last-of-type {
    margin-bottom: 1rem;
}

.recursos-section__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--steel-brand);
    padding-bottom: 0.75rem;
    margin-bottom: 1.75rem;
}

.recursos-section__title {
    font-family: var(--font-head);
    font-size: clamp(1.15rem, 1rem + 1vw, 1.5rem);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.recursos-section__title i {
    color: var(--steel-brand-text, #3fa87f);
    font-size: 1.1rem;
}

.recursos-section__count {
    margin-left: auto;
    font-family: var(--font-text);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--steel-text-muted);
    border: 1px solid var(--steel-border);
    padding: 0.3rem 0.7rem;
    white-space: nowrap;
}

.recursos-empty {
    border: 1px dashed var(--steel-border);
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--steel-text-muted);
    margin-bottom: 3rem;
}

.recursos-empty strong {
    color: #fff;
}

/* Chips de Recursos: en desktop se ven enteros en varias filas (sin recortes);
   en móvil, scroll horizontal con fundido que lo señala */
.blog-filters.recursos-filters {
    flex-wrap: wrap;
    overflow: visible;
    padding-right: 0;
}

@media only screen and (max-width: 768px) {
    .blog-filters.recursos-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-right: 1.5rem;
        -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 100%);
        mask-image: linear-gradient(to right, #000 82%, transparent 100%);
    }
}

/* Scroll offset for anchored headings (fixed header) */
.single-content h2[id],
.single-content h3[id] {
    scroll-margin-top: 110px;
}

/* ===========================
   SHARED COMPONENTS & UTILITIES
   =========================== */

/* Shared Image Styles (Grayscale to Color) */
.blog-hero__image,
.blog-card__img,
.sidebar-post-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.5s ease;
}

.blog-hero:hover .blog-hero__image,
.blog-card:hover .blog-card__img,
.sidebar-post-card:hover .sidebar-post-card__img {
    filter: grayscale(0%) contrast(1);
}

/* Shared Title Hover Effects */
.blog-hero:hover .blog-hero__title,
.blog-card:hover .blog-card__title,
.sidebar-post-card:hover .sidebar-post-card__title {
    color: #4cbf94;
}

/* ===========================
   BLOG PAGE
   =========================== */

/* ----- SHARED PAGE HEADER ----- */
.page-header {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 6rem;
    text-align: center;
    background-color: var(--steel-dark);
    overflow: hidden;
    border-bottom: 1px solid var(--steel-border);
    z-index: 0;
}

.page-header__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    pointer-events: none;
}

.page-header__container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-header__label {
    display: block;
    color: var(--steel-brand-text, #3fa87f);
    font-family: var(--font-text);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.page-header__title {
    font-family: var(--font-head);
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1;
    margin-top: 0.5rem;
}

.page-header__title-accent {
    background: linear-gradient(to right, #2d8a66, #144a35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header__subtitle {
    font-family: var(--font-text);
    color: #9ca3af;
    font-size: 1.125rem;
    max-width: 655px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ----- BLOG HEADER ----- */



/* ----- HERO POST ----- */
.blog-hero-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--steel-border);
    background: var(--secondary);
}

.blog-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-hero {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
}

.blog-hero__bg {
    position: absolute;
    inset: 0;
    background-color: #171717;
}

.blog-hero__image {
    /* Layout specific */
    opacity: 0.5;
}

.blog-hero:hover .blog-hero__image {
    opacity: 0.4;
    /* Filter handled in shared block */
}

.blog-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0a0a0a, rgba(10, 10, 10, 0.6) 50%, transparent);
}

.blog-hero__content {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    max-width: 900px;
}

.blog-hero__category {
    display: inline-block;
    background-color: var(--steel-brand);
    color: white;
    padding: 0.25rem 0.75rem;
    font-family: var(--font-text);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.blog-hero__title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    line-height: 1.05;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.blog-hero__excerpt {
    font-family: var(--font-text);
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.blog-hero__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--font-text);
    font-size: 0.875rem;
    color: #9ca3af;
}

.blog-hero__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-hero__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #4b5563;
    filter: grayscale(100%);
}

.blog-hero__author-name {
    color: white;
    text-transform: uppercase;
    font-weight: 700;
}

.blog-hero__reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ----- BLOG FILTERS ----- */
.blog-feed {
    padding: 4rem 0;
    background-color: #0a0a0a;
}

.blog-feed__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    padding-right: 1.5rem;
    border-bottom: 1px solid var(--steel-border);
    position: sticky;
    top: 110px;
    background-color: var(--steel-dark);
    z-index: 2;
    padding-top: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.blog-filters::-webkit-scrollbar {
    display: none;
}

.blog-filter-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 1px solid var(--steel-border);
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-filter-btn:hover {
    color: #4cbf94;
    border-color: var(--steel-brand);
}

.blog-filter-btn--active {
    background-color: white;
    color: black;
    border-color: white;
}

.blog-filter-btn--active:hover {
    background-color: #e5e7eb;
    color: black;
    border-color: #e5e7eb;
}

/* ----- BLOG GRID ----- */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #171717;
    border: 1px solid var(--steel-border);
    transition: border-color 0.3s ease;
}

.blog-card:hover {
    border-color: var(--steel-brand);
}

.blog-card__image-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}



.blog-card:hover .blog-card__img {
    transform: scale(1.05);
    /* Filter handled in shared block */
}

.blog-card__img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #262626;
}

.blog-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(23, 23, 23, 0.9);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-text);
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--steel-border);
}

.blog-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__content {
    margin-bottom: 1rem;
}

.blog-card__title {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}



.blog-card__excerpt {
    font-family: var(--font-text);
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.5;
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--steel-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-family: var(--font-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.blog-card__date {
    color: #9ca3af;
}

.blog-card__read-more {
    color: var(--steel-brand-text, #3fa87f);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card__read-more:hover {
    color: #3fa87f;
}

/* ----- BLOG PAGINATION ----- */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.blog-pagination ul.page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    width: auto;
    height: auto;
    border: none;
}

.blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--steel-border);
    color: #9ca3af;
    font-family: var(--font-head);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers:hover {
    background-color: #171717;
    color: white;
}

.blog-pagination .page-numbers.current {
    background-color: var(--steel-brand);
    border-color: var(--steel-brand);
    color: white;
    font-weight: 700;
}

.blog-pagination .page-numbers.dots {
    border: none;
    color: #9ca3af;
    cursor: default;
}

@media (max-width: 600px) {
    .blog-pagination {
        margin-top: 2.5rem;
    }

    .blog-pagination ul.page-numbers {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
        max-width: 100%;
    }

    .blog-pagination .page-numbers {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .encuentra-pagination .page-numbers {
        padding: 8px 10px;
        margin: 0 1px;
    }
}

/* ----- BLOG NO RESULTS ----- */
.blog-no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.blog-no-results h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: white;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.blog-no-results p {
    font-family: var(--font-text);
    color: #9ca3af;
}

/* ----- BLOG NEWSLETTER ----- */
.blog-newsletter {
    padding: 6rem 0;
    border-top: 1px solid var(--steel-border);
    position: relative;
    overflow: hidden;
}

.blog-newsletter__bg {
    position: absolute;
    inset: 0;
    background-color: #171717;
}

.blog-newsletter__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-newsletter__icon {
    color: var(--steel-brand-text, #3fa87f);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.blog-newsletter__title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1rem;
}

.blog-newsletter__accent {
    color: var(--steel-brand-text, #3fa87f);
}

.blog-newsletter__desc {
    font-family: var(--font-text);
    color: #9ca3af;
    font-size: 1.125rem;
    line-height: 1.6;
}

.blog-newsletter__form-wrap {
    width: 100%;
}

.blog-newsletter__form {
    display: flex;
    flex-direction: column;
}

.blog-newsletter__input {
    width: 100%;
    background-color: #0a0a0a;
    border: 1px solid var(--steel-border);
    color: white;
    padding: 1rem 1.5rem;
    font-family: var(--font-text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.blog-newsletter__input::placeholder {
    color: #9ca3af;
}

.blog-newsletter__input:focus {
    border-color: var(--steel-brand);
}

.blog-newsletter__btn {
    background-color: var(--steel-brand);
    color: white;
    padding: 1rem 2rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.blog-newsletter__btn:hover {
    background-color: #2d8a66;
}

.blog-newsletter__legal {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 1rem;
    font-family: var(--font-text);
}

/* ===========================
   ESCRIBE CON NOSOTROS PAGE
   =========================== */



.escribe-hero__cta {
    border: 2px solid var(--steel-brand);
    color: var(--steel-brand-text, #3fa87f);
    padding: 1rem 2.5rem;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.escribe-hero__cta:hover {
    background-color: var(--steel-brand);
    color: white;
}

/* --- BENEFITS SECTION --- */
.escribe-benefits {
    padding: 6rem 0;
    background-color: #171717;
    border-bottom: 1px solid var(--steel-border);
}

.escribe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.escribe-benefits__header {
    text-align: center;
    margin-bottom: 4rem;
}

.escribe-title {
    font-family: var(--font-head);
    font-size: 2.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.escribe-title h2 {
    margin: 0 !important;
}

.escribe-divider {
    width: 4rem;
    height: 0.25rem;
    background-color: var(--steel-brand);
    margin: 0 auto;
}

.escribe-benefits__grid {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--steel-border);
}

@media (min-width: 768px) {
    .escribe-benefits__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.escribe-benefits__col {
    padding: 3rem;
}

.escribe-benefits__col--give {
    background-color: rgba(10, 10, 10, 0.5);
    border-bottom: 1px solid var(--steel-border);
}

@media (min-width: 768px) {
    .escribe-benefits__col--give {
        border-bottom: none;
        border-right: 1px solid var(--steel-border);
    }
}

.escribe-benefits__col--receive {
    background-color: #171717;
    position: relative;
    overflow: hidden;
}

.escribe-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 20rem;
    height: 20rem;
    background-color: rgba(28, 93, 68, 0.05);
    border-radius: 50%;
    filter: blur(3rem);
    transform: translate(50%, -50%);
    pointer-events: none;
}

.rel-z2 {
    position: relative;
    z-index: 2;
}

.escribe-benefits__col-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.escribe-number {
    width: 3rem;
    height: 3rem;
    background-color: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 1px solid #404040;
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 1.25rem;
}

.escribe-number--accent {
    background-color: var(--steel-brand);
    border-color: var(--steel-brand);
}

.escribe-subtitle {
    font-family: var(--font-head);
    font-size: 1.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    margin: 0;
}

.escribe-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.escribe-list__item {
    display: flex;
    gap: 1rem;
    font-family: var(--font-text);
    color: #9ca3af;
    line-height: 1.5;
}

.escribe-list__item i {
    color: var(--steel-brand-text, #3fa87f);
    margin-top: 0.25rem;
    background: transparent;
    padding: 0;
}

/* --- CONTENT TYPES SECTION --- */
.escribe-content-types {
    padding: 6rem 0;
    background-color: #0a0a0a;
}

.escribe-content-header {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .escribe-content-header {
        flex-direction: row;
        align-items: center;
    }
}

.escribe-label {
    color: var(--steel-brand-text, #3fa87f);
    font-family: var(--font-text);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
}

.escribe-text {
    font-family: var(--font-text);
    color: #9ca3af;
    font-size: 1.125rem;
    line-height: 1.6;
}

.escribe-content-header__right {
    border-left: 2px solid var(--steel-border);
    padding-left: 2rem;
}

@media (min-width: 768px) {
    .escribe-content-header__left {
        width: 33.333%;
    }

    .escribe-content-header__right {
        width: 66.666%;
    }
}

.escribe-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .escribe-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .escribe-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.escribe-card {
    background-color: #171717;
    border: 1px solid var(--steel-border);
    padding: 1.5rem;
    transition: border-color 0.3s ease;
}

.escribe-card:hover {
    border-color: var(--steel-brand);
}

.escribe-card__icon {
    font-size: 1.875rem;
    color: #9ca3af;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    background: transparent;
    padding: 0;
}

.escribe-card:hover .escribe-card__icon {
    color: #4cbf94;
}

.escribe-card__title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: white;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.escribe-card__desc {
    font-size: 0.875rem;
    color: #9ca3af;
    font-family: var(--font-text);
}

/* --- CTA SECTION --- */
.escribe-cta {
    padding: 6rem 0;
    background-color: #171717;
    border-top: 1px solid var(--steel-border);
    position: relative;
    text-align: center;
    z-index: 0;
}

.escribe-cta__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.escribe-cta__title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.escribe-cta__desc {
    font-family: var(--font-text);
    color: #9ca3af;
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.escribe-btn {
    background-color: var(--steel-brand);
    color: white;
    padding: 1rem 2.5rem;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.escribe-btn:hover {
    background-color: #14532d;
}

.escribe-cta__note {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-family: var(--font-text);
}

.text-primary {
    color: var(--steel-brand-text, #3fa87f) !important;
}

/* ==============================
   RM CALCULATOR PAGE
   ============================== */

.rm-calculator-wrapper {
    width: 100%;
    min-height: 100vh;
    padding: 12rem 1.5rem 4rem;
    /* Top padding to clear fixed header */
    background-color: var(--steel-dark);
    color: var(--steel-text-main);
    font-family: var(--font-text);
    box-sizing: border-box;
}

.rm-calculator-wrapper * {
    box-sizing: border-box;
}

.rm-calc-container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

.rm-calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.rm-calc-unit-toggle {
    background-color: var(--steel-gray-card);
    padding: 0.25rem;
    border-radius: 4px;
    border: 1px solid var(--steel-border);
    display: flex;
    gap: 2px;
}

.rm-calc-unit-toggle button {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--steel-text-muted);
    border: none;
}

.rm-calc-unit-toggle button.active {
    background-color: var(--steel-brand);
    color: #fff;
}

.rm-calc-unit-toggle button:hover:not(.active) {
    color: #fff;
}

.rm-calc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .rm-calc-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .rm-calc-col-left {
        grid-column: span 5;
    }

    .rm-calc-col-right {
        grid-column: span 7;
    }
}

.rm-calc-panel {
    background-color: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    padding: 2rem;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.rm-calc-panel__title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--steel-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.rm-calc-panel__title svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--steel-brand-text, #3fa87f);
}

.rm-calc-input-group {
    margin-bottom: 1.5rem;
}

.rm-calc-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--steel-text-muted);
    margin-bottom: 0.5rem;
}

.rm-calc-input-wrapper {
    position: relative;
}

.rm-calc-input {
    width: 100%;
    background-color: var(--steel-dark);
    border: 1px solid var(--steel-border);
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.8rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s;
}

.rm-calc-input:focus {
    outline: none;
    border-color: var(--steel-brand-light);
}

.rm-calc-unit-indicator {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--steel-text-muted);
    pointer-events: none;
}

.rm-calc-stepper {
    display: flex;
    align-items: center;
    background-color: var(--steel-dark);
    border: 1px solid var(--steel-border);
}

.rm-calc-stepper button {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--steel-border);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.rm-calc-stepper button:hover {
    background-color: var(--steel-brand);
}

.rm-calc-stepper input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.8rem;
    text-align: center;
    padding: 0.5rem;
    min-width: 0;
}

.rm-calc-select {
    width: 100%;
    background-color: var(--steel-dark);
    border: 1px solid var(--steel-border);
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
}

.rm-calc-result-summary {
    background-color: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    border-left: 4px solid var(--steel-brand);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.rm-calc-result-summary h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--steel-text-muted);
    letter-spacing: 0.1em;
    margin: 0 0 0.25rem 0;
}

.rm-calc-result-val {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.rm-calc-result-val .value {
    font-size: 3.5rem;
    font-family: var(--font-head);
    color: #fff;
    line-height: 1;
}

.rm-calc-result-val .unit {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--steel-brand-text, #3fa87f);
}

.rm-calc-result-note {
    font-size: 0.7rem;
    color: var(--steel-text-muted);
    margin: 0.5rem 0 0 0;
}

.rm-calc-table-wrap {
    overflow-x: auto;
    background-color: var(--steel-dark);
}

.rm-calc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.rm-calc-table th {
    background-color: var(--steel-gray-card);
    padding: 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--steel-text-muted);
    text-align: center;
    border-bottom: 1px solid var(--steel-border);
}

.rm-calc-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--steel-border);
    font-size: 0.9rem;
}

.rm-calc-table tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.rm-calc-table .percent-badge {
    background-color: var(--steel-border);
    color: var(--steel-text-muted);
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 3px;
}

.rm-calc-table .weight-cell {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: #fff;
}

.rm-calc-table .reps-cell {
    color: var(--steel-text-muted);
    text-align: right;
    padding-right: 2rem;
}

.rm-calc-table tr.highlight {
    background-color: rgba(28, 93, 68, 0.1);
}

.rm-calc-table tr.highlight .percent-badge {
    background-color: var(--steel-brand);
    color: #fff;
}

.rm-calc-table tr.highlight .weight-cell {
    color: var(--steel-brand-text, #3fa87f);
}

@keyframes calcFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rm-calc-animate {
    animation: calcFadeIn 0.5s ease-out forwards;
}

/* ==============================
   GUTENBERG TABLES - SteelGoal Style
   ============================== */

/* Wrapper figure */
.wp-block-table {
    overflow-x: visible;
    margin: 2rem 0;
    background-color: var(--steel-dark);
    border: none;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-text);
    font-size: 0.9rem;
    color: var(--steel-text-main);
}

/* Header */
.wp-block-table thead th {
    background-color: var(--steel-gray-card);
    padding: 1rem 1.25rem;
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--steel-text-muted);
    text-align: left;
    border-bottom: 2px solid var(--steel-brand);
    white-space: nowrap;
}

/* Body cells */
.wp-block-table tbody td {
    padding: 1rem 1.25rem;
    border-bottom: none;
    vertical-align: top;
    line-height: 1.5;
    color: var(--steel-text-main);
}

/* No extra border cleanup needed */

/* Hover effect */
.wp-block-table tbody tr {
    transition: background-color 0.2s ease;
}

.wp-block-table tbody tr:hover {
    background-color: rgba(28, 93, 68, 0.05);
}

/* Striped variant */
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Highlighted rows */
.wp-block-table tbody tr:has(td strong) {
    background-color: rgba(28, 93, 68, 0.08);
}

/* Links inside tables */
.wp-block-table a {
    color: var(--steel-brand-text, #3fa87f);
    text-decoration: none;
    transition: color 0.3s ease;
}

.wp-block-table a:hover {
    color: #4cbf94;
    text-decoration: underline;
}

/* Bold text in tables */
.wp-block-table td strong,
.wp-block-table th strong {
    color: var(--white);
    font-weight: 700;
}

/* Fixed layout tables */
.wp-block-table .has-fixed-layout {
    table-layout: auto;
    width: 100%;
}

.wp-block-table thead {
    border-bottom: none;
}

/* Caption */
.wp-block-table figcaption {
    font-size: 0.75rem;
    color: var(--steel-text-muted);
    text-align: center;
    padding: 0.75rem 1rem;
    font-style: italic;
    border-top: 1px solid var(--steel-border);
    background-color: var(--steel-gray-card);
}

/* Specific styling for cells with emoji/status */
.wp-block-table tbody td:last-child {
    font-weight: 600;
    white-space: nowrap;
}

/* Mobile responsive: tablas con scroll horizontal + primera columna fija.
   (El antiguo modo "tarjetas" ocultaba el thead y usaba data-labels que
   Gutenberg no genera, dejando las tablas ilegibles en móvil.)
   Rev 2026-09: sombra lateral como pista de scroll, celdas que envuelven
   texto para no recortar palabras y primera columna fija más marcada. */
@media (max-width: 768px) {
    .wp-block-table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.78rem;
        border: 1px solid var(--steel-border);
        border-radius: 8px;
        background-color: var(--steel-dark);
        scrollbar-width: thin;
        scrollbar-color: var(--steel-brand) var(--steel-gray-card);
        /* Pista visual de scroll: sombra fija a la derecha (no se desplaza con el contenido) */
        box-shadow: inset -18px 0 16px -14px rgba(0, 0, 0, 0.75);
    }
    .wp-block-table::-webkit-scrollbar {
        height: 6px;
    }
    .wp-block-table::-webkit-scrollbar-thumb {
        background: var(--steel-brand);
        border-radius: 3px;
    }
    .wp-block-table::-webkit-scrollbar-track {
        background: var(--steel-gray-card);
    }
    .wp-block-table table {
        min-width: 480px;
        margin: 0;
    }
    .wp-block-table thead {
        display: table-header-group;
    }
    .wp-block-table thead th {
        padding: 0.6rem 0.65rem;
        font-size: 0.62rem;
        /* Solo la primera columna no envuelve; el resto puede partir líneas para no recortar */
        white-space: normal;
        overflow-wrap: break-word;
    }
    .wp-block-table thead th:first-child {
        white-space: nowrap;
    }
    .wp-block-table tbody tr {
        display: table-row;
        border-bottom: 1px solid var(--steel-border);
        padding: 0;
    }
    .wp-block-table tbody td {
        display: table-cell;
        padding: 0.6rem 0.65rem;
        vertical-align: middle;
        white-space: normal;
        overflow-wrap: break-word;
    }
    /* La última columna (premios, estados) mantiene su valor en una línea */
    .wp-block-table tbody td:last-child {
        white-space: nowrap;
    }
    .wp-block-table tbody td::before {
        content: none;
    }
    /* Primera columna fija para no perder la referencia al desplazar */
    .wp-block-table thead th:first-child,
    .wp-block-table tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        box-shadow: 2px 0 0 var(--steel-border);
    }
    .wp-block-table thead th:first-child {
        background-color: var(--steel-gray-card);
    }
    .wp-block-table tbody td:first-child {
        background-color: var(--steel-dark);
    }
    .wp-block-table figcaption {
        position: sticky;
        left: 0;
    }
}

/* ==============================
   SINGLE CLIENT - RESULTS
   ============================== */

/* ==============================
   SINGLE CLIENT - RESULTS
   ============================== */

.cliente-results {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--steel-border);
}

.cliente-results__title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cliente-results__title i {
    color: var(--steel-brand-text, #3fa87f);
    font-size: 1.1rem;
}

.cliente-results__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.cliente-results__item {
    background-color: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cliente-results__item:hover {
    border-color: var(--steel-brand);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.cliente-results__item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==============================
   LANDING PAGES AISLADAS (�nete, Gracias)
   ============================== */

/* Ocultar header y footer global */
body.page-template-page-gracias #header,
body.page-template-page-gracias .site-footer,
body.page-template-page-unete #header,
body.page-template-page-unete .site-footer {
    display: none !important;
}

/* Base landing compartida */
.landing-unete,
.landing-gracias {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background-color: var(--steel-dark);
    background-image: radial-gradient(circle at top, #1c5d4420 0%, #0a0a0a 40%);
    min-height: 100vh;
}

.landing-gracias {
    justify-content: center;
    text-align: center;
    margin-top: -80px;
    /* Compensar padding del main si lo hay */
}

.landing-unete .logo-container,
.landing-gracias .logo-container {
    margin-bottom: 50px;
}

.landing-unete .container,
.landing-gracias .gracias-container {
    max-width: 800px;
    width: 100%;
}

.landing-main-title {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 20px;
    line-height: 1.1;
    color: white;
}

.landing-subtitle {
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto;
    color: var(--steel-text-muted);
}

.landing-section-title {
    font-size: 28px;
    margin-top: 50px;
    margin-bottom: 10px;
    font-family: var(--font-head);
    color: white;
    text-transform: uppercase;
}

.landing-divider {
    width: 4rem;
    height: 0.25rem;
    background-color: var(--primary);
    margin: 0 auto 10px;
}

.landing-subsection-title {
    font-family: var(--font-head);
    font-size: 22px;
    color: white;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 10px;
}

.landing-subtitle-small {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--steel-text-muted);
}

.steel-logo-img {
    width: 220px;
}

.landing-back-link-wrapper {
    margin-top: 50px;
    text-align: center;
}

.landing-back-link {
    color: var(--steel-text-muted);
    font-size: 14px;
    text-decoration: underline;
    transition: color 0.3s;
    padding: 10px;
}

.landing-back-link:hover {
    color: #4cbf94;
}

.landing-info-box {
    background-color: rgba(28, 93, 68, 0.1);
    border: 1px solid var(--primary);
    padding: 25px;
    border-radius: 4px;
    margin-top: 40px;
    text-align: left;
}

.landing-info-text {
    margin: 0;
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
}

.landing-info-icon {
    margin-right: 10px;
}

/* Page �nete Espec�ficos */
.unete-step {
    background-color: var(--steel-gray-card);
    padding: 35px;
    margin-bottom: 30px;
    border: 1px solid var(--steel-border);
    border-top: 3px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.unete-step h3 {
    color: var(--steel-brand-text, #3fa87f);
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.unete-step h3 i {
    background: transparent;
    padding: 0;
    color: var(--steel-brand-text, #3fa87f);
    font-size: 1em;
}

.unete-step .form-group {
    margin-bottom: 25px;
}

.unete-step label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--steel-text-main);
    font-size: 15px;
}

.unete-step input[type="text"],
.unete-step input[type="email"],
.unete-step select,
.unete-step textarea {
    width: 100%;
    background-color: #0a0a0a;
    border: 1px solid var(--steel-border);
    color: var(--white);
    padding: 15px;
    font-family: var(--font-text);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.unete-step input:focus,
.unete-step select:focus,
.unete-step textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.unete-step input[type="file"] {
    width: 100%;
    color: var(--steel-text-muted);
    padding: 10px 0;
}

.unete-step select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

.unete-submit-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.unete-submit-btn {
    background-color: var(--primary);
    color: white;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: bold;
    padding: 20px;
    width: 100%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.unete-submit-btn:hover {
    background-color: transparent;
    color: #4cbf94;
    border-color: var(--primary);
}

.unete-submit-disclaimer {
    margin-top: 15px;
    font-size: 15px;
    color: var(--steel-text-muted);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.unete-file-helper {
    color: var(--steel-text-muted);
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.unete-textarea-group {
    margin-top: 10px;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/* Page Gracias Espec�ficos */
.gracias-check-icon {
    width: 90px;
    height: 90px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px;
    animation: checkPulse 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(28, 93, 68, 0.25);
}

.gracias-check-icon i {
    font-size: 40px;
    color: var(--steel-brand-text, #3fa87f);
    background: transparent;
    padding: 0;
}

@keyframes checkPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(28, 93, 68, 0.2);
    }

    50% {
        box-shadow: 0 0 35px rgba(28, 93, 68, 0.45);
    }
}

.gracias-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
    text-align: left;
}

@media (min-width: 640px) {
    .gracias-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.gracias-card {
    background-color: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    padding: 30px;
    border-top: 3px solid var(--primary);
    transition: border-color 0.3s ease;
}

.gracias-card:hover {
    border-color: var(--primary);
}

.gracias-card h4 {
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--steel-brand-text, #3fa87f);
    text-transform: uppercase;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gracias-card h4 i {
    background: transparent;
    padding: 0;
    color: var(--steel-brand-text, #3fa87f);
    font-size: 1em;
}

.gracias-card p {
    font-size: 15px;
    color: var(--steel-text-muted);
    line-height: 1.7;
    margin: 0;
}

.gracias-card p span {
    color: var(--white);
    font-weight: 600;
}

.gracias-ctas {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.gracias-cta-btn {
    padding: 16px 35px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-block;
}

.gracias-cta-btn--primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.gracias-cta-btn--primary:hover {
    background-color: transparent;
    color: #4cbf94;
}

.gracias-cta-btn--outline {
    background-color: transparent;
    color: white;
    border: 2px solid var(--steel-border);
}

.gracias-cta-btn--outline:hover {
    border-color: var(--primary);
    color: #4cbf94;
}

/* ==============================
   PAGE MARCAS & �NETE B2B
   ============================== */

/* 1. Internal CF7 Form Elements */
.marcas-b2b-form-row {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin-bottom: 25px !important;
}

.marcas-b2b-form-col {
    flex: 1 !important;
    min-width: 250px !important;
}

.marcas-b2b-label {
    display: block !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
    color: var(--steel-text-main) !important;
    font-size: 15px !important;
}

.marcas-b2b-input,
.marcas-b2b-select,
.marcas-b2b-textarea {
    width: 100% !important;
    background-color: #0a0a0a !important;
    border: 1px solid var(--steel-border) !important;
    color: var(--white) !important;
    padding: 15px !important;
    font-family: var(--font-text) !important;
    font-size: 16px !important;
    transition: border-color 0.3s ease !important;
}

.marcas-b2b-input:focus,
.marcas-b2b-select:focus,
.marcas-b2b-textarea:focus {
    border-color: var(--primary) !important;
    outline: none !important;
}

.marcas-b2b-select {
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1em !important;
    cursor: pointer !important;
}

.marcas-b2b-submit {
    background-color: var(--primary) !important;
    color: white !important;
    font-family: var(--font-head) !important;
    font-size: 22px !important;
    font-weight: bold !important;
    padding: 20px !important;
    width: 100% !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
}

.marcas-b2b-submit:hover {
    background-color: transparent !important;
    color: #4cbf94 !important;
    border-color: var(--primary) !important;
}

/* 2. Marcas Page Layout Classes */
.marcas-header-title {
    font-size: clamp(32px, 5vw, 55px) !important;
    line-height: 1.1 !important;
}

.marcas-mt-2rem {
    margin-top: 2rem !important;
}

.marcas-header-wrapper {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
    display: flex !important;
}

.marcas-header-left {
    width: 100% !important;
    border: none !important;
    padding-right: 0 !important;
}

.marcas-header-right {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    border-left: none !important;
}

.marcas-fs-20 {
    font-size: 20px !important;
}

.marcas-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 50px !important;
    display: grid !important;
}

.marcas-mt-10 {
    margin-top: 10px !important;
}

.marcas-benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    display: grid !important;
}

.marcas-h-100 {
    height: 100% !important;
}

.marcas-card-body-base {
    padding: 2.5rem !important;
    border-top: 1px solid var(--steel-border) !important;
}

.marcas-text-muted {
    color: var(--steel-text-muted) !important;
}

.marcas-card-body-accent {
    padding: 2.5rem !important;
    border-top: 1px solid var(--steel-accent) !important;
}

.marcas-col-primary {
    border-color: var(--primary) !important;
}

.marcas-num-primary {
    color: var(--steel-brand-text, #3fa87f) !important;
    -webkit-text-stroke: 1px var(--primary) !important;
}

.marcas-card-body-primary {
    padding: 2.5rem !important;
    border-top: 1px solid var(--primary) !important;
}

.marcas-section-border-top {
    border-top: 1px solid var(--steel-border) !important;
}

.marcas-text-center-mb-60 {
    text-align: center !important;
    margin-bottom: 60px !important;
}

.marcas-form-title-h3 {
    font-size: clamp(28px, 4vw, 42px) !important;
    line-height: 1.15 !important;
}

.marcas-form-subtitle-p {
    max-width: 700px !important;
    margin: 20px auto 0 !important;
}

.marcas-form-container-div {
    max-width: 750px !important;
    margin: 0 auto !important;
}

.marcas-form-card-bg {
    background-color: var(--steel-gray-card) !important;
    border: 1px solid var(--steel-border) !important;
    border-top: 3px solid var(--primary) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    padding: 40px;
}

.marcas-form-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 30px !important;
}

.marcas-form-card-icon {
    color: var(--steel-brand-text, #3fa87f) !important;
    font-size: 1.5rem !important;
    background: transparent !important;
    padding: 0 !important;
}

.marcas-form-card-title {
    font-family: var(--font-head) !important;
    font-size: 24px !important;
    color: white !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

.marcas-microcopy-text {
    text-align: center !important;
    margin-top: 20px !important;
    font-size: 14px !important;
    color: var(--steel-text-muted) !important;
    line-height: 1.5 !important;
}

.marcas-microcopy-icon {
    margin-right: 6px !important;
    background: transparent !important;
    padding: 0 !important;
    color: var(--steel-text-muted) !important;
    font-size: 13px !important;
}

.marcas-btn-inline {
    text-decoration: none !important;
    display: inline-block !important;
}

.marcas-cf7-container {
    width: 100% !important;
}


/* 3. �nete Page Layout Classes */
.unete-logo-wrap {
    text-align: center !important;
    margin-top: 40px !important;
    margin-bottom: 30px !important;
}

.unete-logo-img {
    max-width: 250px !important;
    height: auto !important;
}

.unete-cont-wrap {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.unete-header-cont {
    text-align: center !important;
    margin-bottom: 40px !important;
    padding: 0 !important;
    position: relative !important;
}

.unete-title-h1 {
    font-size: clamp(28px, 4vw, 42px) !important;
    line-height: 1.15 !important;
    margin-bottom: 15px !important;
}

.unete-subtitle-p {
    font-size: 18px !important;
    color: var(--steel-text-muted) !important;
    max-width: 700px !important;
    margin: 0 auto !important;
}

.unete-info-box {
    background-color: var(--steel-gray-card) !important;
    border: 1px solid var(--primary) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-top: 30px !important;
    display: inline-block !important;
    text-align: left !important;
}

.unete-info-p {
    margin: 0 !important;
    font-size: 15px !important;
    color: var(--white) !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
}

.unete-info-icon {
    font-size: 1.5rem !important;
    margin-top: 4px !important;
    background: transparent !important;
    padding: 0 !important;
}

.unete-cf7-container {
    width: 100% !important;
    margin-top: 30px !important;
}


/* ============================================================
   Mi Cuenta Redactor � Sistema de pesta�as
   ============================================================ */

/* Wrapper general de la p�gina */
.mi-cuenta-redactor {
    background-color: var(--steel-dark, #0a0a0a);
    color: var(--white, #ffffff);
    min-height: 70vh;
    padding: 4rem 0;
}

/* Heredar color blanco en todos los textos internos */
.mi-cuenta-redactor p,
.mi-cuenta-redactor h1,
.mi-cuenta-redactor h2,
.mi-cuenta-redactor h3,
.mi-cuenta-redactor h4,
.mi-cuenta-redactor h5,
.mi-cuenta-redactor h6,
.mi-cuenta-redactor li,
.mi-cuenta-redactor span,
.mi-cuenta-redactor label,
.mi-cuenta-redactor td,
.mi-cuenta-redactor th {
    color: var(--white, #ffffff);
}

/* T�tulo de la p�gina */
.mi-cuenta-redactor .entry-title {
    font-family: var(--font-head, 'Oswald', sans-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white, #fff);
    margin: 2.5rem;
    letter-spacing: -0.01em;
}


/* --- Nav de pesta�as --- */
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none !important;
    padding: 0;
    margin: 0 0 0 0;
    border-bottom: 2px solid var(--steel-border, #262626);
}

/* --- Cada pesta�a --- */
.tab-link {
    padding: 12px 28px;
    margin-bottom: -2px;
    /* pisa la l�nea base cuando est� activa */
    background-color: transparent;
    border: 1px solid transparent;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    font-family: var(--font-head, 'Oswald', sans-serif);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--steel-text-muted, #a3a3a3);
    transition: color 0.2s ease, border-color 0.2s ease;
    user-select: none;
}

/* --- Hover --- */
.tab-link:hover {
    color: var(--white, #fff);
}

/* --- Pesta�a activa --- */
.tab-link.active {
    color: var(--steel-brand-text, #3fa87f);
    border-bottom: 2px solid var(--steel-brand, #1c5d44);
    background-color: transparent;
}

/* --- Boton cerrar sesion --- */
.tabs-nav .tab-logout {
    margin-left: auto;
    list-style: none;
}

.tabs-nav .tabs-logout-btn {
    font-size: 0.8rem;
    padding: 8px 16px;
    background: transparent;
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
}

.tabs-nav .tabs-logout-btn:hover {
    background: rgba(255, 77, 77, 0.08);
    color: #ff6b6b;
}

/* --- Contenido de pesta�as: oculto por defecto ---
   Usamos clip-path en vez de display:none/visibility:hidden
   para que ACF y otros plugins puedan inicializar sus campos JS */
.tab-content {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    pointer-events: none;
}

/* --- Mostrar solo el contenido activo --- */
.tab-content.active {
    position: relative;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    pointer-events: auto;
    animation: fadeInTab 0.3s ease;
    padding-top: 2rem;
}

/* --- Animaci�n de entrada --- */
@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Contenedor del �rea de contenido --- */
.mi-cuenta-redactor .entry-content {
    /* max-width: 1000px; */
    margin: 2.5rem;
}

/* --- Responsive: pesta�as en columna en m�vil --- */
/* --- Responsive: pestanas en columna en movil --- */
@media (max-width: 600px) {
    .tabs-nav {
        flex-direction: column;
        align-items: stretch;
        border-bottom: none;
        gap: 8px;
    }

    .tab-link {
        width: 100%;
        border: 1px solid var(--steel-border, #262626);
        border-left: 3px solid transparent;
        padding: 14px 20px;
        margin-bottom: 0;
        text-align: left;
    }

    .tab-link.active {
        border-color: var(--steel-border, #262626);
        border-left: 3px solid var(--steel-brand, #1c5d44);
        border-bottom-color: var(--steel-border, #262626);
        background-color: var(--steel-gray-card, #121212);
        color: var(--steel-brand-text, #3fa87f);
    }

    .tabs-nav .tab-logout {
        margin-left: 0;
        margin-top: 4px;
    }

    .tabs-nav .tabs-logout-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 12px 16px;
    }

    .tab-content.active {
        padding-top: 1.5rem;
    }
}

/* ============================================================
   WP User Frontend (WPUF) � Adaptaci�n al Tema Steel Goal
   ============================================================ */

/* 1. Limpiar estructura base del plugin */
.wpuf-form-add ul.wpuf-form,
.wpuf-form-add ul.wpuf-form li {
    list-style: none !important;
    margin: 0 !important;
    padding: 25px 0 !important;
    background: transparent !important;

}

/* Espaciado entre las filas del formulario */
.wpuf-form-add ul.wpuf-form li.wpuf-el {
    margin-bottom: 25px !important;
    padding: 0 !important;
}

/* 2. Estilo de las Etiquetas (Labels) */
.wpuf-form-add .wpuf-label {
    margin-bottom: 10px !important;
}

.wpuf-form-add .wpuf-label label {
    display: block !important;
    font-family: var(--font-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--steel-text-main, #f3f4f6) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Marca de campo obligatorio (*) */
.wpuf-form-add .wpuf-label label .required {
    color: var(--steel-brand-text, #3fa87f) !important;
    font-weight: bold !important;
}

/* 3. Inputs, Textareas y Selects */
.wpuf-form-add .wpuf-fields input[type="text"],
.wpuf-form-add .wpuf-fields input[type="email"],
.wpuf-form-add .wpuf-fields input[type="password"],
.wpuf-form-add .wpuf-fields input[type="url"],
.wpuf-form-add .wpuf-fields input[type="number"],
.wpuf-form-add .wpuf-fields textarea,
.wpuf-form-add .wpuf-fields select {
    width: 100% !important;
    background-color: var(--black, #000) !important;
    border: 1px solid var(--steel-border, #262626) !important;
    color: var(--white, #fff) !important;
    padding: 15px !important;
    border-radius: 0 !important;
    /* Estilo recto y agresivo */
    font-family: var(--font-text, 'Inter', sans-serif) !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

/* Focus: Borde verde de tu marca */
.wpuf-form-add .wpuf-fields input:focus,
.wpuf-form-add .wpuf-fields textarea:focus,
.wpuf-form-add .wpuf-fields select:focus {
    border-color: var(--primary, #1c5d44) !important;
    outline: none !important;
    box-shadow: 0 0 10px rgba(28, 93, 68, 0.2) !important;
}

/* Textos de ayuda debajo de los inputs */
.wpuf-form-add .wpuf-help {
    display: block !important;
    margin-top: 8px !important;
    font-family: var(--font-text) !important;
    font-size: 13px !important;
    color: var(--steel-text-muted, #a3a3a3) !important;
}

/* 4. Subida de im�genes (Featured Image / Avatar) */
.wpuf-form-add .wpuf-attachment-upload-filelist {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px dashed var(--steel-border) !important;
    padding: 20px !important;
    text-align: center !important;
    margin-bottom: 10px !important;
}

.wpuf-form-add a.wpuf-button.button {
    background-color: var(--steel-gray-card) !important;
    color: var(--white) !important;
    border: 1px solid var(--steel-border) !important;
    padding: 8px 15px !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    font-family: var(--font-head) !important;
}

.wpuf-form-add a.wpuf-button.button:hover {
    border-color: var(--primary) !important;
    color: #4cbf94 !important;
}

.wpuf-form-add .wpuf-submit {
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--steel-border) !important;
}

.wpuf-form-add .wpuf-submit input[type="submit"] {
    background-color: var(--primary, #1c5d44) !important;
    color: var(--white, #ffffff) !important;
    font-family: var(--font-head, 'Oswald', sans-serif) !important;
    font-size: 20px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 15px 40px !important;
    border: 2px solid transparent !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    /* Bot�n ancho como en tu CF7 */
}

.wpuf-form-add .wpuf-submit input[type="submit"]:hover {
    background-color: transparent !important;
    color: #4cbf94 !important;
    border-color: var(--primary, #1c5d44) !important;
}

.wpuf-form-add a.wpuf-button.wpuf-insert-image {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: var(--steel-gray-card, #121212) !important;
    color: var(--white, #fff) !important;
    border: 1px solid var(--steel-border, #262626) !important;
    padding: 10px 20px !important;
    border-radius: 0 !important;
    font-family: var(--font-head, 'Oswald', sans-serif) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    margin-bottom: 10px !important;
}

.wpuf-form-add a.wpuf-button.wpuf-insert-image:hover {
    background-color: transparent !important;
    color: #4cbf94 !important;
    border-color: var(--primary, #1c5d44) !important;
}

.wpuf-form-add a.wpuf-button.wpuf-insert-image .wpuf-media-icon {
    display: none !important;
}

/* ============================================================
   ACF Form � Estilos Seguros (Steel Goal Dark)
   ============================================================ */

/* 1. Etiquetas e Inputs Generales */
.sg-links-edit-form .acf-label label {
    font-family: var(--font-text, 'Inter', sans-serif) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--steel-text-main, #f3f4f6) !important;
    margin-bottom: 8px !important;
}

.sg-links-edit-form .acf-input input[type="text"],
.sg-links-edit-form .acf-input input[type="url"],
.sg-links-edit-form .acf-input input[type="email"],
.sg-links-edit-form .acf-input input[type="number"],
.sg-links-edit-form .acf-input textarea,
.sg-links-edit-form .acf-input select {
    background-color: #1a1a1a !important;
    border: 1px solid #333333 !important;
    color: var(--white, #fff) !important;
    padding: 10px 25px !important;
    font-family: var(--font-text, 'Inter', sans-serif) !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    border-radius: 4px !important;
}

.sg-links-edit-form .acf-url i {
    position: absolute;
    top: 12px !important;
    left: 5px;
    opacity: .5;
    color: #7e8993;
    margin-right: 5px;
}

.sg-links-edit-form .acf-input input:focus,
.sg-links-edit-form .acf-input textarea:focus {
    border-color: var(--primary, #1c5d44) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(28, 93, 68, 0.2) !important;
}

/* 2. Tabla Repeater (S�lo colores y bordes, sin romper estructura) */
.sg-links-edit-form .acf-table {
    border: 1px solid var(--steel-border, #262626) !important;
    background-color: var(--steel-dark, #0a0a0a) !important;
}

.sg-links-edit-form .acf-table thead th.acf-th {
    background-color: var(--steel-gray-card, #121212) !important;
    color: var(--white, #fff) !important;
    font-family: var(--font-head, 'Oswald', sans-serif) !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid var(--steel-brand, #1c5d44) !important;
}

.sg-links-edit-form .acf-table tbody tr.acf-row {
    background-color: var(--steel-dark, #0a0a0a) !important;
}

.sg-links-edit-form .acf-table tbody tr.acf-row:hover {
    background-color: rgba(28, 93, 68, 0.05) !important;
}

.sg-links-edit-form .acf-table tbody td.acf-field,
.sg-links-edit-form .acf-table tbody td.acf-row-handle {
    border-top: 1px solid var(--steel-border, #262626) !important;
    border-bottom: none !important;
}

.sg-links-edit-form .acf-table .acf-row-handle.order {
    background-color: var(--steel-gray-card, #121212) !important;
    color: var(--steel-text-muted, #a3a3a3) !important;
}

.sg-links-edit-form .acf-switch {
    border: 1px solid #444 !important;
    background: #333 !important;
}

.sg-links-edit-form .acf-switch.-on {
    background: var(--primary, #1c5d44) !important;
    border-color: var(--primary, #1c5d44) !important;
}

.sg-links-edit-form .acf-switch .acf-switch-on {
    color: #fff !important;
}

.sg-links-edit-form .acf-switch .acf-switch-off {
    color: #aaa !important;
}

/* 4. Botones de Acci�n (+ / - / Agregar fila) */
.sg-links-edit-form .acf-icon {
    background-color: var(--steel-gray-card, #121212) !important;
    border: 1px solid var(--steel-border, #262626) !important;
    color: var(--steel-text-muted, #a3a3a3) !important;
}

.sg-links-edit-form .acf-icon.-plus:hover {
    background-color: var(--primary, #1c5d44) !important;
    color: #fff !important;
    border-color: var(--primary, #1c5d44) !important;
}

.sg-links-edit-form .acf-icon.-minus:hover {
    background-color: #dc2626 !important;
    color: #fff !important;
    border-color: #dc2626 !important;
}

.sg-links-edit-form .acf-button {
    background-color: transparent !important;
    color: var(--steel-brand-text, #3fa87f) !important;
    border: 1px solid var(--primary, #1c5d44) !important;
    padding: 8px 16px !important;
    font-family: var(--font-head, 'Oswald', sans-serif) !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.sg-links-edit-form .acf-button:hover {
    background-color: var(--primary, #1c5d44) !important;
    color: #fff !important;
}

/* 5. Bot�n de Enviar (Guardar Perfil) */
.sg-links-edit-form .acf-form-submit {
    margin-top: 30px !important;
    border-top: 1px solid var(--steel-border, #262626) !important;
    padding-top: 30px !important;
}

.sg-links-edit-form .acf-form-submit input[type="submit"] {
    background-color: var(--primary, #1c5d44) !important;
    color: var(--white, #ffffff) !important;
    font-family: var(--font-head, 'Oswald', sans-serif) !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
    padding: 12px 30px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.sg-links-edit-form .acf-form-submit input[type="submit"]:hover {
    background-color: var(--steel-brand-light, #2d8a66) !important;
}

.acf-input-prepend,
.acf-input-append.acf-input-prepend,
.acf-input-append {
    font-size: 14px !important;
    line-height: 1.4 !important;
    background: #1a1a1a !important;
    border: #7e8993 solid 1px !important;
    min-height: 30px !important;
    padding: 10px 18px !important;
}

.acf-field[data-width]+.acf-field[data-width] {
    border-left: 0px solid #eee !important;
}

.acf-fields>.acf-field {
    position: relative;
    margin: 0;
    padding: 16px;
    border-top-width: 0px !important;
    border-top-style: solid !important;
    border-top-color: #eaecf0 !important;
}

body ul.wpuf-form.form-label-above li.field-size-medium .wpuf-fields {
    display: block;
    float: none;
    width: 100% !important;
}

/* ============================================================
   Bloque Acorde�n (WordPress Native) - Steel Goal Style
   ============================================================ */
:root .wp-block-accordion.is-layout-flow > * {
    margin-block-start: 0 !important;
}

:root .wp-block-accordion-item.is-layout-flow > * {
    margin-block-start: 0 !important;
}

:root .wp-block-accordion-panel.is-layout-flow > * {
    margin-block-start: 0 !important;
}

h3.wp-block-accordion-heading {
    margin: 0 !important;
    padding: 0 !important;
    font-size: unset !important;
    font-weight: unset !important;
    border: none !important;
}

.wp-block-accordion-item > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.wp-block-accordion-item {
    background-color: var(--steel-gray-card, #121212);
    border: 1px solid var(--steel-border, #262626);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 15px; 
}

.wp-block-accordion-heading__toggle:hover,
.wp-block-accordion-heading__toggle:focus {
    background-color: transparent !important;
    outline: none !important;
}

.wp-block-accordion-item:hover .wp-block-accordion-heading__toggle,
.wp-block-accordion-item:hover .wp-block-accordion-heading__toggle-icon {
    color: #4cbf94 !important;
}


.wp-block-accordion-heading__toggle[aria-expanded="true"] {
    color: var(--steel-brand-text, #3fa87f) !important;
}

.wp-block-accordion-item:hover .wp-block-accordion-heading__toggle[aria-expanded="true"] .wp-block-accordion-heading__toggle-icon {
    color: var(--white, #ffffff) !important;
}
.wp-block-accordion-item:hover {
    border-color: var(--steel-border, #262626);
    border-left-color: var(--primary, #1c5d44);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wp-block-accordion-heading__toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 25px;
    color: var(--white, #ffffff);
    font-family: var(--font-head, 'Oswald', sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wp-block-accordion-heading__toggle:hover {
    color: #4cbf94;
}

.wp-block-accordion-heading__toggle-icon {
    color: var(--steel-brand-text, #3fa87f);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.wp-block-accordion-heading__toggle[aria-expanded="true"] {
    color: var(--steel-brand-text, #3fa87f);
    border-bottom: 1px solid var(--steel-border, #262626);
}

.wp-block-accordion-heading__toggle[aria-expanded="true"] .wp-block-accordion-heading__toggle-icon {
    transform: rotate(45deg);
    color: var(--white, #ffffff);
}

.wp-block-accordion-panel {
    padding: 25px !important;
    background-color: var(--steel-dark, #0a0a0a);
    color: var(--steel-text-muted, #a3a3a3);
    font-family: var(--font-text, 'Inter', sans-serif);
    font-size: 1rem;
    line-height: 1.7;
    margin-block-start: 0 !important;
}

.wp-block-accordion-panel .wp-block-paragraph:first-child,
.wp-block-accordion-panel > p:first-child {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

.wp-block-accordion-panel .wp-block-paragraph {
    margin: 0 0 15px 0;
    color: inherit;
    font-size: 17px;
}

.wp-block-accordion-panel .wp-block-paragraph:last-child {
    margin-bottom: 0;
}
.wp-block-accordion-panel[inert] {
    display: none;
}
/* ==========================================
   BREADCRUMBS
   ========================================== */
.single-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-text);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.single-breadcrumb a {
    color: var(--steel-text-muted);
    text-decoration: none;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--steel-border);
    background: transparent;
    transition: all 0.3s ease;
}

.single-breadcrumb a:hover {
    color: #4cbf94;
    border-color: var(--steel-brand);
}

.breadcrumb-sep {
    color: var(--steel-border);
    font-size: 0.55rem;
    user-select: none;
}

.breadcrumb-current {
    color: var(--steel-brand-text, #3fa87f);
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--steel-brand);
    background: rgba(28, 93, 68, 0.1);
    font-weight: 600;
}



/* ===== Seccion Articulos relacionados ===== */
.single-content h2.related-articles {
    border-left: none;
    padding-left: 0;
    margin-top: 3.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #262626;
    font-size: 1.9rem;
    letter-spacing: 0.01em;
}
.related-list {
    list-style: none;
    margin: 1.5rem 0 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}
.related-list .related-item {
    position: relative;
    background: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    padding: 1.1rem 1.1rem 1.1rem 1.6rem;
    margin: 0;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.related-list .related-item::before {
    content: "\203A";
    position: absolute;
    left: 0.7rem;
    top: 0.85rem;
    color: var(--steel-brand-text, #3fa87f);
    font-size: 1.5rem;
    line-height: 1;
}
.related-list .related-item:hover {
    border-color: var(--primary);
    background: #1a1a1a;
    transform: translateY(-2px);
}
.related-list .related-item a {
    color: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.3;
    text-decoration: none;
    display: block;
}
.related-list .related-item a:hover {
    color: #4cbf94;
}
.related-list .related-desc {
    display: block;
    margin-top: 0.35rem;
    color: var(--steel-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .related-list {
        grid-template-columns: 1fr;
    }
}

/* SG: menú móvil — bloqueo de scroll, página activa y limpieza */
body.sg-menu-open { overflow: hidden; }
.mobile-menu { bottom: auto; }
#menu-menu-principal .current-menu-item > a,
.menu .current-menu-item > a { color: var(--primary); }
/* SG: submenu movil con toggle */
.mobile-menu .sg-sub-toggle{display:block;position:relative;z-index:5;margin:12px 0 0 auto;background:transparent;border:1px solid var(--steel-border);color:var(--primary);font-family:var(--font-head);font-size:26px;line-height:1;width:54px;height:54px;cursor:pointer;transition:all 250ms ease}
.mobile-menu .sg-sub-toggle:hover{border-color:var(--primary)}
.mobile-menu li.sg-open > .sg-sub-toggle{background:var(--primary);color:#000;border-color:var(--primary)}
.mobile-menu .sub-menu{display:none;list-style:none;margin:14px 0 6px;padding:0;text-align:right}
.mobile-menu li.sg-open > .sub-menu{display:block}
.mobile-menu .sub-menu a{font-size:30px;text-transform:uppercase;font-family:var(--font-head);color:#d1d5db}
.mobile-menu .sub-menu a:hover{color:var(--primary)}
/* SG: submenu en línea + sin hovers pegados en táctil */
.mobile-menu .sg-sub-row{display:flex;align-items:center;justify-content:flex-end;gap:14px}
.mobile-menu .sg-sub-toggle{display:inline-flex;align-items:center;justify-content:center;margin:0}
.mobile-menu .sub-menu{padding-right:12px;border-right:2px solid var(--primary)}
@media (hover:none){
  .menu li a:hover{color:var(--white)}
  .menu li a::after{display:none}
  .mobile-menu .sg-sub-toggle:hover{border-color:var(--steel-border)}
}
.menu li a:active{color:var(--primary)}
/* SG: CTA Unete profesional */
.mobile-menu .unete-submit-btn{background:var(--primary);margin:20px 0 0;padding:0;align-self:stretch;transition:background 250ms ease}
.mobile-menu .unete-submit-btn > a{display:flex;align-items:center;justify-content:center;gap:14px;color:#fff;font-size:36px;padding:20px}
.mobile-menu .unete-submit-btn > a::after{content:"→";position:static;opacity:1;transform:none;display:inline-block;transition:transform 250ms ease}
.mobile-menu .unete-submit-btn:hover{background:#14532d}
.mobile-menu .unete-submit-btn:hover > a::after{transform:translateX(6px)}

/* SG FIX 2026-09-10: menu con scroll + boton Unete siempre visible */
/* SG FIX 2026-09-11: contenido centrado verticalmente para que encaje sin huecos */
.mobile-menu {
  overflow-y: auto;
  overflow-x: hidden;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu > div {
  position: relative;
  right: auto;
  top: auto;
  width: 100%;
  max-width: 520px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: 0;
  padding: 100px 48px 60px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}
#menu-menu-principal,
#menu-principal,
.mobile-menu .menu {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 2.8vh, 30px);
  list-style: none;
}
.mobile-menu .menu {
  margin-right: 0;
}
.menu li a {
  font-size: clamp(30px, 5vh, 60px);
  line-height: 1.1;
  white-space: nowrap;
}
/* Boton Unete: CTA a ancho completo, limpio, sin flechas heredadas */
.mobile-menu .unete-submit-btn {
  background: var(--primary);
  margin: clamp(24px, 4vh, 44px) 0 0;
  padding: 0;
  width: 100%;
  align-self: stretch;
  list-style: none;
  border-radius: 0;
  overflow: hidden;
  transition: background 250ms ease, transform 250ms ease;
}
.mobile-menu .unete-submit-btn > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  color: #fff;
  font-size: clamp(20px, 2.8vh, 30px);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 20px;
  text-decoration: none;
}
.mobile-menu .unete-submit-btn > a::after {
  content: none;
  display: none;
}
.mobile-menu .unete-submit-btn:hover {
  background: #14532d;
}
.mobile-menu .unete-submit-btn:hover > a,
.mobile-menu .unete-submit-btn > a:hover,
.mobile-menu .unete-submit-btn.current-menu-item > a,
#menu-menu-principal .unete-submit-btn.current-menu-item > a,
.menu .unete-submit-btn.current-menu-item > a {
  color: #fff;
}
.mobile-menu .unete-submit-btn > a:active {
  color: #fff;
}
@media only screen and (max-width: 1100px) {
  .mobile-menu {
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    transform: translateY(-12px);
    padding-top: 95px;
    box-sizing: border-box;
  }
  .mobile-menu.active {
    transform: translateY(0);
  }
  .mobile-menu > div {
    max-width: none;
    margin-top: auto;
    margin-bottom: auto;
    padding: 24px 24px 48px;
    align-items: stretch;
  }
  #menu-menu-principal,
  .mobile-menu .menu {
    align-items: flex-end;
  }
  .menu li a {
    font-size: clamp(28px, 6vw, 46px);
  }
  .mobile-menu .unete-submit-btn > a {
    font-size: clamp(19px, 5vw, 26px);
    padding: 16px;
  }
}

/* SG FIX 2026-09-11: CTA final pagina Recursos */
.recursos-cta{background:#171717;text-align:center;padding:64px 20px;border-top:1px solid var(--steel-border)}
.recursos-cta__inner{max-width:760px;margin:0 auto}
.recursos-cta__title{color:#f3f4f6;font-family:var(--font-head);font-size:clamp(26px,4vw,38px);line-height:1.2;margin:0 0 12px;text-transform:none}
.recursos-cta__text{color:#d1d5db;font-size:18px;line-height:1.6;margin:0 0 28px}
.recursos-cta__btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.recursos-cta__btn{display:inline-block;font-family:var(--font-head);font-size:18px;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;padding:14px 32px;border-radius:0;transition:background 250ms ease}
.recursos-cta__btn--primary{background:var(--primary);color:#fff}
.recursos-cta__btn--primary:hover{background:#14532d;color:#fff}
.recursos-cta__btn--secondary{background:transparent;color:#fff;border:1px solid var(--primary)}
.recursos-cta__btn--secondary:hover{background:var(--primary);color:#fff}
@media(max-width:480px){.recursos-cta__btns{flex-direction:column;align-items:stretch}.recursos-cta__btn{text-align:center}}

/* SG 2026-09-11: botones cuadrados en todo el sitio */
button,
input[type="submit"],
input[type="button"],
.button,
.wp-block-button__link,
.wp-element-button,
[class*="btn"],
[class*="button"],
[class*="submit"] {
  border-radius: 0 !important;
}

/* SG 2026-09-11: hover del menu sin flecha-imagen, subrayado limpio */
.menu li a::after {
  content: "";
  position: absolute;
  right: 0;
  top: auto;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}
.menu li a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* SG 2026-09-11: sin guionado automatico (rompia titulares en ES) */
body, p, li, span, h1, h2, h3, h4, h5, h6 {
  hyphens: manual !important;
  overflow-wrap: break-word !important;
}
h1, h2, h3, h4, h5, h6 {
  hyphens: none !important;
}
/* SG 2026-09-11: boton secundario del hero visible sobre fondo oscuro */
.hero-mv .wp-block-button__link.has-black-background-color {
  background-color: transparent !important;
  border: 1px solid rgba(243, 244, 246, 0.45) !important;
  color: #f3f4f6 !important;
}
.hero-mv .wp-block-button__link.has-black-background-color:hover {
  border-color: var(--primary) !important;
  color: #4cbf94 !important;
}
/* SG: toda la personalización vive en inc/css/sg-custom.css — no añadir bloques sueltos aquí */

/* ==============================
   COMPLIANZ + STEEL GOAL (2026-09-28)
   Solo visual: banner compacto con colores del tema.
   No oculta ni desactiva ningún control de consentimiento.
   ============================== */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
    background-color: #121212 !important;
    border: 1px solid #262626 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6) !important;
    color: #f3f4f6 !important;
    font-family: var(--font-text) !important;
    max-height: min(78vh, 620px);
    overflow: hidden;
}
/* El layout flex SOLO cuando el banner debe verse: si no, Complianz lo
   oculta quitando .cmplz-show y ningún display nuestro debe impedirlo */
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-show {
    display: flex;
    flex-direction: column;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner:not(.cmplz-show) {
    display: none !important;
}
#cmplz-cookiebanner-container .cmplz-header .cmplz-title {
    font-family: var(--font-head) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem !important;
    color: #f3f4f6 !important;
}
#cmplz-cookiebanner-container .cmplz-close {
    color: #a3a3a3 !important;
}
#cmplz-cookiebanner-container .cmplz-close:hover {
    color: #fff !important;
}
#cmplz-cookiebanner-container .cmplz-divider {
    border-color: #262626 !important;
}
#cmplz-cookiebanner-container .cmplz-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Imprescindible en flex: permite encoger y hacer scroll interno
       para que los botones nunca queden recortados en pantallas bajas */
    min-height: 0;
    flex: 1 1 auto;
}
#cmplz-cookiebanner-container .cmplz-header,
#cmplz-cookiebanner-container .cmplz-buttons {
    flex-shrink: 0;
}
#cmplz-cookiebanner-container .cmplz-message,
#cmplz-cookiebanner-container .cmplz-message p {
    color: #a3a3a3 !important;
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner a {
    color: #3fa87f !important;
}
#cmplz-cookiebanner-container .cmplz-category-title {
    color: #f3f4f6 !important;
}
#cmplz-cookiebanner-container .cmplz-description,
#cmplz-cookiebanner-container .cmplz-always-active {
    color: #a3a3a3 !important;
}
#cmplz-cookiebanner-container input[type="checkbox"] {
    accent-color: #1c5d44 !important;
}
/* Botones: aceptar en verde marca, resto en fantasma */
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn {
    border-radius: 8px !important;
    font-family: var(--font-head) !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    touch-action: manipulation;
    cursor: pointer;
}
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-accept {
    background-color: #1c5d44 !important;
    border: 1px solid #1c5d44 !important;
    color: #fff !important;
}
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-accept:hover {
    background-color: #2d8a66 !important;
    border-color: #2d8a66 !important;
}
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-deny,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-view-preferences,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-save-preferences {
    background-color: transparent !important;
    border: 1px solid #262626 !important;
    color: #f3f4f6 !important;
}
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-deny:hover,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-view-preferences:hover,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-save-preferences:hover {
    border-color: #2d8a66 !important;
    color: #fff !important;
}
/* Móvil: bottom-sheet compacto que nunca tapa toda la pantalla */
@media (max-width: 768px) {
    #cmplz-cookiebanner-container {
        padding: 12px !important;
    }
    #cmplz-cookiebanner-container .cmplz-cookiebanner {
        max-height: 72vh;
        max-height: 72dvh;
        margin: 0 !important;
    }
    #cmplz-cookiebanner-container .cmplz-message,
    #cmplz-cookiebanner-container .cmplz-message p {
        font-size: 0.82rem !important;
    }
    #cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn {
        width: 100%;
        margin: 4px 0 !important;
        padding: 12px 10px !important;
    }
}


/* ===== FUSIONADO: responsive.css (media queries, después de la base) ===== */
/* Optimized responsive.css */

/* Tablet & Small Desktop (Max 1100px) */
@media only screen and (max-width: 1100px) {
	.alignfull {
		border-radius: 0 !important;
	}

	.wp-block-columns.tres-columnas-home,
	.calls-mv {
		grid-template-columns: 1fr !important;
		display: grid !important;
		width: 100%;
	}

	/* Typography: tamaños fluidos en lugar de saltos fijos */
	h1 {
		font-size: 40px !important;
		font-size: clamp(1.875rem, 1rem + 4vw, 2.5rem) !important;
	}

	h2 {
		font-size: 35px !important;
		font-size: clamp(1.5625rem, 1rem + 3vw, 2.1875rem) !important;
	}

	p {
		font-size: 18px !important;
	}

	/* Header */
	#header {
		width: 100%;
		top: 0;
	}

	.logo-menu {
		display: flex;
		flex-direction: unset;
		gap: 0;
		padding: 0;
		align-items: start;
	}

	.mobile-menu {
		width: 100%;
		height: 90vh;
		opacity: 0;
		transform: translateY(-50px);
		transition: all 500ms ease;
		pointer-events: none;
		position: fixed;
		top: 95px;
		left: 0;
		right: 0;
		bottom: 15px;
		z-index: 9;
	}

	.menu li a {
		font-size: 50px;
	}

	#menu-principal {
		display: flex;
		flex-direction: column;
		gap: 45px;
		font-size: 18px;
		margin: 0;
		padding: 0;
		justify-content: end;
		align-items: end;
		list-style: none;
	}

	.mobile-menu>div {
		justify-content: center;
		align-items: end;
		position: absolute;
		right: 20px;
		top: 20px;
	}

	.wp-container-core-group-is-layout-5c4e9ce4 {
		gap: 5px;
		flex-direction: column;
		align-items: flex-start !important;
		justify-content: flex-start;
	}

	.hero-mv {
		min-height: 95vh !important;
		aspect-ratio: unset;
		gap: 5px;
	}

}

/* Mobile (Max 768px) */
@media only screen and (max-width: 768px) {
	:root {
		--wp--preset--font-size--small: 14px;
		--wp--preset--font-size--medium: 16px;
	}

	:root :where(.is-layout-flow)>h1,
	:root :where(.is-layout-flow)>h2,
	:root :where(.is-layout-flow)>h3,
	:root :where(.is-layout-flow)>h4,
	:root :where(.is-layout-flow)>h5,
	:root :where(.is-layout-flow)>h6 {
		margin-block-end: 2rem;
	}

	img {
		max-width: 100%;
	}

	.wp-site-blocks {
		width: 100%;
		overflow-x: hidden;
		padding-top: 100px;
	}

	#header #logo {
		padding-left: 0;
		margin-top: 0;
		width: 350px;
	}

	.wpcf7 {
		max-width: 100% !important;
		position: relative;
	}

	.hero-section {
		flex-direction: column;
		padding: 20px;
		height: 50vh;
		overflow: auto;
	}

	.hero-column {
		width: 100%;
		height: auto;
		margin-bottom: 20px;
	}

	.hero-column:hover {
		width: 100%;
	}

	.hero-section:hover .hero-column:not(:hover),
	.hero-section:hover .hero-column:not(:hover) .hero-title,
	.hero-section:hover .hero-column:not(:hover) .hero-content {
		width: 100%;
		opacity: 1;
		visibility: visible;
		transition: none;
	}

	/* Footer */
	#footer div.wp-block-columns {
		gap: 2vh !important;
	}

	.footer,
	.footer .wp-block-column,
	.footer .wp-block-heading,
	.footer p,
	.footer .wp-block-group,
	.footer .wp-block-navigation,
	.footer .wp-block-navigation__container,
	.footer .wp-block-navigation-item,
	.footer .wp-block-navigation-link,
	.footer .wp-block-navigation-item__content {
		text-align: left !important;
		justify-content: flex-start !important;
		align-items: flex-start !important;
	}

	.footer-container {
		grid-template-columns: repeat(1, minmax(150px, 1fr));
		padding: 0 20px;
	}

	.coach-grid-container-home {
		grid-template-columns: repeat(1, 1fr);
		padding: 25px;
	}

	.coach-grid-container {
		grid-template-columns: repeat(1, 1fr);
		padding: 25px 20px;
	}

	.steel-grid-2 {
		grid-template-columns: 1fr;
	}

	/* 1RM Calculator Mobile Fixes */
	.rm-calculator-wrapper {
		padding-top: 100px;
		padding-left: 15px;
		padding-right: 15px;
		width: 100%;
		max-width: 100vw;
		overflow-x: hidden;
		box-sizing: border-box;
	}

	.rm-calculator-wrapper * {
		box-sizing: border-box;
	}

	.rm-calc-grid {
		display: flex;
		flex-direction: column;
		width: 100% !important;
		max-width: 100%;
		gap: 20px;
	}

	.rm-calc-col-left,
	.rm-calc-col-right {
		display: block;
		width: 100% !important;
		max-width: 100%;
		margin: 0;
	}

	.rm-calc-panel {
		padding: 1rem;
		position: relative;
		box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
	}

	.rm-calc-input,
	.rm-calc-stepper,
	.rm-calc-select {
		width: 100% !important;
		max-width: 100%;
	}

	.escribe-container,
	.container {
		padding: 0 20px;
		width: 100%;
	}

	.escribe-benefits__grid {
		grid-template-columns: 1fr;
		display: grid;
		gap: 20px;
	}

	.has-text-align-right {
		text-align: left !important;
	}

	.is-content-justification-right,
	.items-justified-right {
		justify-content: flex-start !important;
	}

	.titulo-boton {
		padding-left: 25px;
	}

	.alturamovil {
		min-height: 25vh;
	}

	.titulo-dos {
		margin-top: 0px;
		margin-bottom: 0px;
		padding-top: 9px;
		padding-right: 5px;
		padding-bottom: 5px;
		padding-left: 5px;
	}

	.profile-header {
		align-items: center;
		flex-direction: column;

	}

	.profile-contact {
		display: flex;
		flex-direction: column;
		gap: 15px;
		background-color: var(--steel-gray-card);
		padding: 30px;
		border: 1px solid var(--steel-border);
		height: fit-content;
		width: 95% !important;
		margin: 20px auto 0 !important;
	}

	.cliente-results__grid {
		grid-template-columns: 1fr !important;
	}

	.profile-content {
		display: grid;
		grid-template-columns: 1fr;
		gap: 50px;
		padding: 20px;
	}

	/* Marcas Page Responsive */
	.marcas-header-title {
		font-size: 32px !important;
	}

	.marcas-header-wrapper {
		padding: 0 10px !important;
	}

	.marcas-fs-20 {
		font-size: 18px !important;
	}

	.marcas-form-card-bg {
		padding: 25px 20px !important;
	}

	.marcas-b2b-form-col {
		min-width: 100% !important;
	}

	.marcas-b2b-submit {
		font-size: 18px !important;
		padding: 15px !important;
	}

	.marcas-cards-grid,
	.marcas-benefits-grid {
		grid-template-columns: 1fr !important;
		gap: 0px;
	}

	.blog-filters {
		top: 90px !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
		margin-left: -20px !important;
		margin-right: -20px !important;
	}

	/* Únete Page Responsive */
	.unete-title-h1 {
		font-size: 28px !important;
	}

	.unete-info-box {
		padding: 15px !important;
	}

	.unete-info-p {
		font-size: 14px !important;
		gap: 10px !important;
	}

	.unete-submit-btn {
		font-size: 18px !important;
		padding: 15px !important;
	}

}

/* Small Mobile (Max 480px) */
@media only screen and (max-width: 480px) {
	#header #logo {
		width: 250px;
		padding-left: 0;
		margin-top: 0;
		margin-left: 20px;
	}

	.main-navigation {
		width: 90%;
		left: 30px;
	}

	.close-bars {
		position: initial;
	}

	.wp-site-blocks {
		padding-top: 0;
	}

	h1 {
		font-size: 30px !important;
	}

	h2 {
		font-size: 25px !important;
	}

	p {
		font-size: 18px !important;
	}

	.alturamovil {
		min-height: 300px !important;
	}

	.carousel-dos .swiper-button-next,
	.carousel-dos .swiper-button-prev {
		position: absolute;
		top: calc(100%);
		width: 50px;
		height: 50px;
		background-color: var(--white);
		margin: 0 25px;
		z-index: 0;
		display: flex;
		justify-content: center;
	}

	.bottom-bar {
		padding: 30px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-direction: column;
		gap: 20px;
		margin: 0 5%;
	}

	.cta {
		gap: 25px;
		flex-direction: column;
	}

	.columna-boton {
		margin-left: 0 !important;
	}

	.contacto {
		flex-direction: column;
		align-items: start;
	}

	.metodo {
		display: flex;
		gap: 15px;
		margin: 0;
		padding: 15px;
		border-right: 0;
	}

	.metodo img {
		width: 25px;
	}

	.social .icon-social {
		width: 30px;
	}

	.icon-info {
		display: flex;
		gap: 10px;
		align-items: center;
		margin-top: 20px;
	}

	.services figure {
		width: 300px !important;
		height: 250px !important;
	}

	/* Marcas & Únete Mobile XS */
	.marcas-header-title,
	.unete-title-h1 {
		font-size: 26px !important;
	}

	.marcas-form-card-title,
	.unete-step h3 {
		font-size: 20px !important;
	}
}

/* =========================================
   Moved from style.css (Mobile First Queries)
   ========================================= */

@media (min-width: 768px) {
	.footer-bottom-container {
		flex-direction: row;
	}

	/* Blog Page & Shared Header */
	.blog-header__title,
	.page-header__title {
		font-size: 6rem;
	}

	.blog-hero__title {
		font-size: 3.5rem;
	}

	.blog-hero__content {
		padding: 4rem;
	}

	.blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.blog-newsletter__form {
		flex-direction: row;
	}
}

@media (min-width: 1024px) {

	/* Single Post Layout */
	.single-layout {
		flex-direction: row;
		align-items: flex-start;
	}

	.single-content {
		width: 66.666667%;
	}

	/* La columna entera queda fija con su propio scroll: índice y
	   Recientes van en flujo normal y ya no pueden pisarse entre sí */
	.single-sidebar {
		width: 33.333333%;
		position: sticky;
		top: 100px;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		scrollbar-width: thin;
		scrollbar-color: var(--steel-border) transparent;
	}

	.single-sidebar::-webkit-scrollbar {
		width: 6px;
	}

	.single-sidebar::-webkit-scrollbar-thumb {
		background: var(--steel-border);
	}

	.single-sidebar::-webkit-scrollbar-track {
		background: transparent;
	}

	/* Los widgets no deben encogerse: la columna hace scroll */
	.single-sidebar > * {
		flex-shrink: 0;
	}

	.sidebar-widget--toc {
		position: static;
		z-index: auto;
		max-height: none;
	}

	.sidebar-widget--toc .toc-list {
		max-height: none;
		overflow: visible;
	}

	/* Blog Page & Shared Header */
	.blog-header__title,
	.page-header__title {
		font-size: 5rem;
	}

	.blog-hero__title {
		font-size: 4rem;
	}

	.blog-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.blog-newsletter__container {
		flex-direction: row;
		align-items: center;
	}

	.blog-newsletter__text {
		width: 50%;
	}

	.blog-newsletter__form-wrap {
		width: 50%;
	}

	.blog-newsletter__title {
		font-size: 3rem;
	}

	/* Escribe Page */
	.escribe-benefits__grid {
		grid-template-columns: 1fr 1fr;
	}

	.escribe-benefits__col--give {
		border-bottom: none;
		border-right: 1px solid var(--steel-border);
	}

	.escribe-content-header {
		flex-direction: row;
		align-items: center;
	}

	.escribe-content-header__left {
		width: 33.333%;
	}

	.escribe-content-header__right {
		width: 66.666%;
	}

	.escribe-grid-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Mobile Adjustments for Escribe Page */
@media only screen and (max-width: 768px) {
	.escribe-hero__title {
		font-size: 2.5rem;
	}

	.escribe-hero__container {
		padding-top: 2rem;
	}

	.escribe-benefits__col {
		padding: 2rem 1.5rem;
	}

	.escribe-content-header {
		gap: 1.5rem;
	}

	.escribe-content-header__right {
		border-left: none;
		padding-left: 0;
		border-top: 2px solid var(--steel-border);
		padding-top: 1.5rem;
	}

	.escribe-cta__title {
		font-size: 2rem;
	}
}

/* Single Post Sidebar: en móvil/tablet el layout es columna y el
   sidebar va debajo del contenido — el TOC no debe ser sticky ni
   ocupar toda la pantalla cuando el índice es largo */
@media only screen and (max-width: 1023px) {
	.sidebar-widget--toc {
		position: static;
		max-height: none;
	}
	.sidebar-widget--toc .toc-list {
		max-height: 240px;
	}
}

/* Single Post Breadcrumbs: en móvil se oculta el tramo de la página actual
   (redundante con el H1 que va justo debajo) y se compactan Inicio /
   Categoría en una sola línea sin wrap roto */
@media only screen and (max-width: 768px) {
	.single-breadcrumb {
		flex-wrap: nowrap;
		gap: .35rem;
		font-size: .65rem;
		overflow: hidden;
	}
	.single-breadcrumb a {
		padding: .45rem .7rem;
		white-space: nowrap;
		flex-shrink: 0;
	}
	.single-breadcrumb a:last-of-type {
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 60vw;
	}
	.single-breadcrumb .breadcrumb-sep {
		flex-shrink: 0;
	}
	.single-breadcrumb .breadcrumb-current {
		display: none;
	}
	.single-breadcrumb .breadcrumb-sep:has(+ .breadcrumb-current) {
		display: none;
	}
}

/* Banner de cookies compacto en móvil: hoja inferior densa con scroll */
@media only screen and (max-width: 768px) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner {
		margin: 0 12px 12px !important;
		max-height: 68vh;
		overflow-y: auto;
	}

	#cmplz-cookiebanner-container .cmplz-header {
		padding: 12px 16px !important;
	}

	#cmplz-cookiebanner-container .cmplz-title {
		font-size: 1rem !important;
	}

	#cmplz-cookiebanner-container .cmplz-message {
		font-size: 0.85rem !important;
		line-height: 1.5 !important;
	}

	#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn {
		padding-top: 0.7rem !important;
		padding-bottom: 0.7rem !important;
	}
}


/* ===== FUSIONADO: sg-custom.css (dependía de main-style: va después) ===== */
/* ==================================================================
   Steel Goal — hoja personalizada ÚNICA (sg-custom.css)
   Toda la personalización del tema vive aquí. Nada de estilos
   inline en plantillas ni en contenidos. Paleta: verdes/grises.
   Verde primario #1C5D44 · oscuro #143f2f · acento #2d8a66
   Negro #0A0A0A / #171717 · gris texto #404040 · claro #d4d4d4
   ================================================================== */

/* ---------- §1 Sistema de animación (reveal on scroll) ----------
   Seguro SEO/CWV: solo transform y opacity (compositor, CLS 0).
   Las clases .animate las añade sg-reveal.js; sin JS todo visible. */
:root{
  --anime-distancia: 80px;
  --anime-velocidad-rapida: 860ms;
  --anime-velocidad-media: 4s;
  --anime-velocidad-lenta: 8s;
}

@media only screen and (max-width: 1200px) {
  :root{
    --anime-distancia: 50px;
    --anime-velocidad-rapida: 630ms;
    --anime-velocidad-media: 3s;
    --anime-velocidad-lenta: 6s;
  }
}

@media only screen and (max-width: 768px) {
  :root{
    --anime-distancia: 30px;
    --anime-velocidad-rapida: 430ms;
    --anime-velocidad-media: 2s;
    --anime-velocidad-lenta: 4s;
  }
}

.animate{
  opacity: 0;
  transition: opacity var(--anime-velocidad-rapida) ease, transform var(--anime-velocidad-rapida) ease;
  will-change: opacity, transform;
}

.animate.active{
  opacity: 1;
  will-change: auto;
}

.animate-scale{ transform: scale(0.92); }
.animate-scale.active{ transform: scale(1); }
.animate-invert.active{ filter: invert(100%); }
.animate-start{ transform: translateX(calc(-1 * var(--anime-distancia))); }
.animate-end{ transform: translateX(var(--anime-distancia)); }
.animate-top{ transform: translateY(calc(-1 * var(--anime-distancia))); }
.animate-bottom{ transform: translateY(var(--anime-distancia)); }
.animate-start.active,
.animate-end.active{ transform: translateX(0); }
.animate-top.active,
.animate-bottom.active{ transform: translateY(0); }
.animate-rotate{ animation: rotar var(--anime-velocidad-lenta) linear infinite; }
.animate-downup{ animation: floatUpDown var(--anime-velocidad-media) ease-in-out infinite; }
.animate-updown{ animation: floatDownUp var(--anime-velocidad-media) ease-in-out infinite; }
.animate-leftright{ animation: floatLeftRight var(--anime-velocidad-media) ease-in-out infinite; }
.animate-saltos{ display: inline-block; animation: saltos calc(var(--anime-velocidad-media) / 2) infinite ease-in-out; }

@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(calc(-1 * var(--anime-distancia))); }
  100% { transform: translateY(0); }
}

@keyframes floatDownUp {
  0% { transform: translateY(0); }
  50% { transform: translateY(var(--anime-distancia)); }
  100% { transform: translateY(0); }
}

@keyframes floatLeftRight {
  0% { transform: translateX(0); }
  50% { transform: translateX(calc(-1 * var(--anime-distancia))); }
  100% { transform: translateX(0); }
}

@keyframes rotar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes saltos {
  0%, 90% { transform: translateY(0); }
  92% { transform: translateY(-15px); }
  94% { transform: translateY(0); }
  96% { transform: translateY(-10px); }
  98% { transform: translateY(0); }
  100% { transform: translateY(0); }
}

/* ---------- §2 Micro-interacciones (solo transform/sombra) ---------- */
.steel-card,
.blog-card,
.coach-card,
.escribe-card{ transition: transform .25s ease, box-shadow .25s ease; }
.steel-card:hover,
.blog-card:hover,
.coach-card:hover,
.escribe-card:hover{ transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23,23,23,.14); }
.steel-btn-small,
.recursos-cta__btn,
.blog-newsletter__btn{ transition: transform .2s ease, background-color .2s ease; }
.steel-btn-small:hover,
.recursos-cta__btn:hover,
.blog-newsletter__btn:hover{ transform: translateY(-2px); }

/* ---------- §3 Página 404 (tema oscuro) ---------- */
.sg-404{background-color:#0A0A0A;background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:40px 40px;padding:64px 20px 72px;text-align:center}
.sg-404-inner{max-width:860px;margin:0 auto;background:#171717;border:1px solid #262626;padding:48px 32px;box-shadow:0 12px 40px rgba(0,0,0,.5)}
.sg-404-badge{display:inline-block;background:#1C5D44;color:#fff;font-family:'Oswald',sans-serif;font-size:14px;letter-spacing:2px;text-transform:uppercase;padding:8px 16px;margin-bottom:20px}
.sg-404 h1{font-family:'Oswald',sans-serif;font-size:clamp(72px,12vw,128px);line-height:1;margin:0 0 8px;color:#fff}
.sg-404 h1 span{color:#1C5D44}
.sg-404 h2{font-family:'Oswald',sans-serif;font-size:clamp(24px,4vw,36px);margin:0 0 12px;color:#fff}
.sg-404 p{font-family:'Inter',sans-serif;font-size:18px;line-height:1.6;color:#d4d4d4;max-width:640px;margin:0 auto 28px}
.sg-404-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-bottom:28px}
.sg-404-links a{font-family:'Oswald',sans-serif;font-size:16px;letter-spacing:.5px;text-decoration:none;padding:12px 22px;border:2px solid #1C5D44;transition:transform .15s ease,background .15s ease,color .15s ease}
.sg-404-links a.primary{background:#1C5D44;color:#fff}
.sg-404-links a.primary:hover{background:#143f2f;border-color:#143f2f}
.sg-404-links a.secondary{background:transparent;color:#fff}
.sg-404-links a.secondary:hover{background:#1C5D44;color:#fff}
.sg-404-search{max-width:520px;margin:0 auto 8px}
.sg-404-search form{display:flex;gap:8px}
.sg-404-search input[type="search"],.sg-404-search input[type="text"]{flex:1;min-width:0;box-sizing:border-box;padding:12px 16px;border:2px solid #404040;font-size:16px;font-family:'Inter',sans-serif;background:#0A0A0A;color:#fff}
.sg-404-search input[type="search"]::placeholder,.sg-404-search input[type="text"]::placeholder{color:#737373}
.sg-404-search input[type="search"]:focus,.sg-404-search input[type="text"]:focus{outline:none;border-color:#1C5D44}
.sg-404-search button,.sg-404-search input[type="submit"]{flex-shrink:0;padding:12px 20px;border:0;background:#1C5D44;color:#fff;font-family:'Oswald',sans-serif;font-size:16px;cursor:pointer}
.sg-404-search button:hover,.sg-404-search input[type="submit"]:hover{background:#143f2f}
.sg-404-recent{margin-top:32px;text-align:left}
.sg-404-recent h3{font-family:'Oswald',sans-serif;font-size:20px;color:#fff;margin:0 0 12px;text-align:center}
.sg-404-recent ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.sg-404-recent li a{display:block;padding:14px 16px;border:1px solid #262626;text-decoration:none;color:#e5e5e5;font-family:'Inter',sans-serif;font-size:16px;background:#0A0A0A}
.sg-404-recent li a:hover{border-color:#1C5D44;color:#fff}
@media(max-width:600px){.sg-404{padding:32px 12px 40px}.sg-404-inner{padding:32px 20px}.sg-404-search form{flex-direction:column}.sg-404-search button,.sg-404-search input[type="submit"]{width:100%}}

/* ---------- §4 Páginas newsletter (confirmada / baja, tema oscuro) ---------- */
.sg-nl{background:#0A0A0A;padding:64px 20px 72px;text-align:center}
.sg-nl-inner{max-width:720px;margin:0 auto;background:#171717;border:1px solid #262626;padding:48px 32px;box-shadow:0 12px 40px rgba(0,0,0,.5)}
.sg-nl-badge{display:inline-block;background:#1C5D44;color:#fff;font-family:'Oswald',sans-serif;font-size:14px;letter-spacing:2px;text-transform:uppercase;padding:8px 16px;margin-bottom:20px}
.sg-nl-badge--dark{background:#404040}
.sg-nl h1{font-family:'Oswald',sans-serif;font-size:clamp(28px,5vw,44px);line-height:1.15;margin:0 0 12px;color:#fff}
.sg-nl p{font-family:'Inter',sans-serif;font-size:18px;line-height:1.6;color:#d4d4d4;max-width:560px;margin:0 auto 16px}
.sg-nl-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:28px}
.sg-nl-links a{font-family:'Oswald',sans-serif;font-size:16px;letter-spacing:.5px;text-decoration:none;padding:12px 22px;border:2px solid #1C5D44;transition:background .15s ease,color .15s ease}
.sg-nl-links a.primary{background:#1C5D44;color:#fff}
.sg-nl-links a.primary:hover{background:#143f2f;border-color:#143f2f}
.sg-nl-links a.secondary{background:transparent;color:#fff}
.sg-nl-links a.secondary:hover{background:#1C5D44;color:#fff}
.sg-nl .sg-newsletter-form{max-width:440px;margin:20px auto 0;text-align:left;font-family:'Inter',sans-serif}
.sg-nl .sg-newsletter-form label{display:block;margin-bottom:12px;color:#d4d4d4;font-size:15px}
.sg-nl .sg-newsletter-form input[type="text"],.sg-nl .sg-newsletter-form input[type="email"]{width:100%;box-sizing:border-box;padding:12px 16px;border:2px solid #404040;font-size:16px;font-family:'Inter',sans-serif;margin-top:6px;background:#0A0A0A;color:#fff}
.sg-nl .sg-newsletter-form input:focus{outline:none;border-color:#1C5D44}
.sg-nl .sg-newsletter-form button{width:100%;padding:12px 20px;border:0;background:#1C5D44;color:#fff;font-family:'Oswald',sans-serif;font-size:16px;cursor:pointer}
.sg-nl .sg-newsletter-form button:hover{background:#143f2f}
@media(max-width:600px){.sg-nl{padding:32px 12px 40px}.sg-nl-inner{padding:32px 20px}}

/* ---------- §5 FAQ acordeón (bloques Details, sin blancos) ---------- */
.wp-block-details{background:#171717;border:1px solid #404040;margin:0 0 12px}
.wp-block-details summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;font-family:'Oswald',sans-serif;font-size:18px;color:#fff}
.wp-block-details summary::-webkit-details-marker{display:none}
.wp-block-details summary::after{content:'+';font-size:24px;line-height:1;color:#1C5D44;flex-shrink:0;transition:transform .2s ease}
.wp-block-details[open] summary::after{transform:rotate(45deg)}
.wp-block-details summary:hover{color:#fff}
.wp-block-details summary:hover::after,
.wp-block-details[open] summary::after{color:#1C5D44}
.wp-block-details .wp-block-paragraph,
.wp-block-details p{padding:0 18px 18px;margin:0;font-size:16px;color:#d4d4d4}
.wp-block-details p a,
.wp-block-details .wp-block-paragraph a{color:#2d8a66}
.wp-block-details p a:hover{color:#fff}
.wp-block-details[open]{border-color:#1C5D44}
.sg-faq{background-color:#0A0A0A}
.sg-faq h2{color:#fff;margin-top:0;margin-bottom:30px}
.sg-faq .wp-block-details{margin-top:0;margin-bottom:14px}
.sg-faq .wp-block-details:last-child{margin-bottom:0}

/* ---------- §6 Accesibilidad ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible{outline:2px solid #1C5D44;outline-offset:2px}
@media (prefers-reduced-motion: reduce){
  .animate{opacity:1 !important;transform:none !important;transition:none !important}
  .animate-rotate,
  .animate-downup,
  .animate-updown,
  .animate-leftright,
  .animate-saltos{animation:none !important}
  .steel-card:hover,
  .blog-card:hover,
  .coach-card:hover,
  .escribe-card:hover,
  .steel-btn-small:hover,
  .recursos-cta__btn:hover,
  .blog-newsletter__btn:hover{transform:none !important}
}


/* ===== FUSIONADO: wiki.css (solo se usaba en páginas wiki, al final) ===== */
/* ===========================
   WIKI - STEEL GOAL
   =========================== */

.wiki-page-wrapper {
    background: var(--black);
}

/* --- Hub: grid de tarjetas --- */
.wiki-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.wiki-card {
    background-color: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.wiki-card:hover {
    transform: translateY(-5px);
    border-color: var(--steel-brand);
}

.wiki-card__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--steel-dark);
    border: 1px solid var(--steel-border);
    border-radius: 8px;
    color: var(--steel-brand-text, #3fa87f);
    font-size: 20px;
}

.wiki-card__title {
    font-size: 22px;
    margin: 0;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.wiki-card:hover .wiki-card__title {
    color: #4cbf94;
}

.wiki-card__excerpt {
    font-size: 15px;
    color: var(--steel-text-muted);
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}

.wiki-empty {
    text-align: center;
    color: var(--steel-text-muted);
    padding: 60px 0;
}

/* --- Sección ayuda (CTA inferior) --- */
.wiki-help {
    padding: 3rem 1.5rem 5rem;
    border-top: 1px solid var(--steel-border);
}

.wiki-help__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.wiki-help__title {
    font-size: 1.75rem;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 8px;
}

.wiki-help__text {
    color: var(--steel-text-muted);
    margin: 0;
}

/* --- Header tutorial --- */
.wiki-tutorial-header .page-header__title {
    font-size: 2.75rem;
    max-width: 900px;
}

@media (max-width: 640px) {
    .wiki-tutorial-header .page-header__title {
        font-size: 2rem;
    }
}

.wiki-breadcrumb-link {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--steel-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.wiki-breadcrumb-link:hover {
    color: #4cbf94;
}

/* --- Cuerpo del artículo --- */
.wiki-tutorial-body {
    padding: 4rem 1.5rem;
    background: var(--black);
}

.wiki-article {
    max-width: 820px;
    margin: 0 auto;
}

.wiki-article p {
    margin-bottom: 1.5em;
    font-size: 1.125rem;
    color: #d1d5db;
    line-height: 1.75;
}

.wiki-article h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

.wiki-article h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

.wiki-article ul,
.wiki-article ol {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.wiki-article li {
    margin-bottom: 0.6rem;
}

.wiki-article ol li::marker {
    color: var(--steel-brand-text, #3fa87f);
    font-family: var(--font-head);
    font-weight: 700;
}

.wiki-article a {
    color: var(--steel-brand-text, #3fa87f);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wiki-article a:hover {
    color: #4cbf94;
}

.wiki-article strong {
    color: var(--white);
}

.wiki-article code {
    font-family: monospace;
    font-size: 0.9em;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--steel-border);
    padding: 2px 6px;
    color: var(--steel-brand-text, #3fa87f);
    border-radius: 4px;
}

.wiki-article img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.5s ease;
}

.wiki-article img:hover {
    filter: grayscale(0%) contrast(1);
}

.wiki-article h2[id],
.wiki-article h3[id] {
    scroll-margin-top: 110px;
}

/* --- Botones dentro del artículo --- */
.wiki-article .wp-block-buttons {
    margin: 2rem 0;
}

.wiki-article .wp-block-button__link {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: var(--steel-brand);
    color: var(--white);
    padding: 14px 30px;
    border: 2px solid transparent;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.wiki-article .wp-block-button__link:hover {
    background-color: transparent;
    color: #4cbf94;
    border-color: var(--steel-brand);
}

/* --- Caja URL personalizada --- */
.wiki-url-box {
    background-color: var(--steel-gray-card);
    border: 1px solid var(--steel-brand);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 1.5rem 0;
}

.wiki-url-box__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--steel-text-muted);
    margin-bottom: 6px;
}

.wiki-url-box__value {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--steel-brand-text, #3fa87f);
    word-break: break-all;
}

.wiki-url-box__value a {
    color: var(--steel-brand-text, #3fa87f);
    text-decoration: none;
}

/* --- Callouts (tip / warning / info) --- */
.wiki-callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background-color: rgba(28, 93, 68, 0.12);
    border: 1px solid rgba(45, 138, 102, 0.4);
    border-left: 4px solid var(--steel-brand);
    border-radius: 6px;
    padding: 18px 22px;
    margin: 1.5rem 0;
}

.wiki-callout p {
    margin: 0;
    color: #c7d8cf;
}

.wiki-callout strong {
    color: var(--white);
}

.wiki-callout .wiki-callout__icon {
    color: var(--steel-brand-text, #3fa87f);
    font-size: 1.1rem;
    line-height: 1.75;
}

.wiki-callout--warn {
    background-color: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.35);
    border-left-color: #f59e0b;
}

.wiki-callout--warn p {
    color: #e9e2cf;
}

.wiki-callout--warn strong {
    color: #fbbf24;
}

.wiki-callout--warn .wiki-callout__icon {
    color: #f59e0b;
}

/* --- Tablas --- */
.wiki-article .wp-block-table {
    margin: 2rem 0;
}

.wiki-article .wp-block-table figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--steel-text-muted);
    padding: 0.6rem 0 0;
    margin: 0;
}

.wiki-article table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid var(--steel-border);
    font-size: 0.95rem;
    line-height: 1.55;
}

.wiki-article thead th {
    background-color: var(--steel-brand);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 14px 16px;
    text-align: left;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.wiki-article thead th:last-child {
    border-right: none;
}

.wiki-article tbody td {
    padding: 14px 16px;
    color: #d1d5db;
    vertical-align: top;
    border-bottom: 1px solid var(--steel-border);
    border-right: 1px solid var(--steel-border);
    overflow-wrap: anywhere;
}

.wp-block-table tbody td:last-child {
    font-weight: 600;
    white-space: pre-wrap;
}

.wiki-article tbody tr:last-child td {
    border-bottom: none;
}

.wiki-article tbody tr > td:first-child {
    color: var(--white);
    font-weight: 600;
}

.wiki-article tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.035);
}

.wiki-article tbody tr:hover {
    background-color: rgba(45, 138, 102, 0.08);
}

/* --- Footer del tutorial --- */
.wiki-tutorial-footer {
    max-width: 820px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--steel-border);
}

/* --- Anterior / siguiente entre tutoriales --- */
.wiki-prevnext {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    padding: 0 0 0.5rem;
}

.wiki-prevnext__link {
    flex: 1;
    border: 1px solid var(--steel-border);
    background: var(--steel-gray-card);
    padding: 1rem 1.25rem;
    text-decoration: none;
    transition: border-color 0.3s ease;
    min-width: 0;
}

.wiki-prevnext__link:hover {
    border-color: var(--steel-brand);
}

.wiki-prevnext__dir {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--steel-text-muted);
    margin-bottom: 0.35rem;
}

.wiki-prevnext__title {
    display: block;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.4;
}

.wiki-prevnext__link--next {
    text-align: right;
}

@media (max-width: 640px) {
    .wiki-prevnext {
        flex-direction: column;
    }

    .wiki-prevnext__link--next {
        text-align: left;
    }
}

.wiki-back-link {
    color: var(--steel-brand-text, #3fa87f);
    text-decoration: none;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.wiki-back-link:hover {
    color: var(--white);
}

/* Newsletter flotante (pestaña izquierda, solo posts) */
.sg-nl-float {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8000;
    display: flex;
    align-items: stretch;
    font-family: var(--font-text);
}

.sg-nl-float[hidden] {
    display: none;
}

body.sg-menu-open .sg-nl-float {
    display: none;
}

.sg-nl-tab {
    writing-mode: vertical-rl;
    background: var(--steel-brand);
    color: #fff;
    border: none;
    border-radius: 0;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 1.1rem 0.55rem;
    cursor: pointer;
}

.sg-nl-tab:hover {
    background: var(--steel-brand-light);
}

.sg-nl-panel {
    position: relative;
    width: 320px;
    max-width: calc(100vw - 70px);
    max-height: 82vh;
    overflow-y: auto;
    background: var(--steel-gray-card);
    border: 1px solid var(--steel-border);
    border-left: 4px solid var(--steel-brand);
    padding: 1.5rem 1.5rem 1.25rem;
}

.sg-nl-panel[hidden] {
    display: none;
}

.sg-nl-close {
    position: absolute;
    top: 0.4rem;
    right: 0.6rem;
    background: transparent;
    border: none;
    color: var(--steel-text-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
}

.sg-nl-close:hover {
    color: #fff;
}

.sg-nl-title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 1rem;
    padding-right: 1.5rem;
}

.sg-nl-panel .sg-newsletter-form {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.sg-nl-hide {
    background: transparent;
    border: none;
    color: var(--steel-text-muted);
    font-size: 0.75rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    padding: 0.5rem 0 0;
}

.sg-nl-hide:hover {
    color: #fff;
}

@media (max-width: 640px) {
    .sg-nl-tab {
        font-size: 0.7rem;
        padding: 0.9rem 0.45rem;
    }

    .sg-nl-panel {
        padding: 1.25rem 1.1rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-nl-float,
    .sg-nl-panel {
        transition: none;
    }
}

/* SG 2026-10-02: caja "Cítanos" en calculadoras (linkbuilding) — NO fusionar a mano */
.sg-cite{background:#0A0A0A;padding:40px 20px}
.sg-cite-inner{max-width:720px;margin:0 auto;background:#171717;border:1px solid #262626;padding:32px 28px;text-align:center}
.sg-cite-title{font-family:'Oswald',sans-serif;font-size:22px;color:#fff;margin:0 0 8px}
.sg-cite-text{font-family:'Inter',sans-serif;color:#d4d4d4;font-size:16px;margin:0 0 16px}
.sg-cite-row{display:flex;gap:8px}
.sg-cite-row input{flex:1;min-width:0;box-sizing:border-box;background:#0A0A0A;border:2px solid #404040;color:#fff;padding:12px 14px;font-size:14px;font-family:'Inter',sans-serif}
.sg-cite-row input:focus{outline:none;border-color:#1C5D44}
.sg-cite-row button{flex-shrink:0;background:#1C5D44;color:#fff;border:0;padding:12px 20px;font-family:'Oswald',sans-serif;font-size:16px;cursor:pointer}
.sg-cite-row button:hover{background:#143f2f}
.sg-cite-msg{color:#2d8a66;font-size:14px;min-height:1.2em;margin:10px 0 0;font-family:'Inter',sans-serif}
@media(max-width:600px){.sg-cite-row{flex-direction:column}.sg-cite-row button{width:100%}}

/* Footer en tablet (769–1100px): 2 columnas para que quepan los emails */
@media (min-width: 769px) and (max-width: 1100px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Los emails largos nunca deben desbordar la columna */
.contact-item {
    min-width: 0;
}

.contact-item span {
    overflow-wrap: anywhere;
}

/* ============================================================
   STEEL GOAL CLEAN — capa única autoritativa (2026-10-03)
   Sustituye TODAS las definiciones contradictorias heredadas
   (header, mobile-menu, ritmo, titulares, grids, sticky, dvh).
   Va la última en cascada: lo que hay aquí manda.
   ============================================================ */

:root {
  --header-h: 76px;
  --header-h-mobile: 64px;
  --z-header: 100;
  --z-menu: 90;
  --z-modal: 9999;
  --content-max: 1285px;
}

html {
  scrollbar-gutter: stable;
}

body {
  overflow-x: clip;
}

.wp-site-blocks {
  overflow-x: clip;
}

/* ---------- HEADER: definición única ---------- */
#header {
  width: 100%;
  max-width: none;
  position: fixed;
  inset: 0 0 auto 0;
  top: 0;
  left: 0;
  right: 0;
  transform: none;
  transition: background-color 300ms ease, border-color 300ms ease;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  z-index: var(--z-header);
  display: flex;
  justify-content: center;
  align-items: stretch;
  color: var(--white);
  height: var(--header-h);
}

#header.scrolled {
  background-color: rgba(10, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--steel-border);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--content-max);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

.header-logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

#header #logo {
  max-width: 150px;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
}

#header #logo img {
  width: 100%;
  max-width: 150px;
  max-height: calc(var(--header-h) - 16px);
  height: auto;
  display: block;
  object-fit: contain;
}

/* Botón hamburguesa (header.php ahora usa <button>) */
.menuOpen {
  cursor: pointer;
  position: relative;
  z-index: 2;
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 48px;
}

.menuOpen > div,
.menuOpen > span {
  width: 36px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 1px;
  margin: 0;
  transition: transform 0.35s ease, opacity 0.25s ease;
  display: block;
}

.menuOpen.active > div:nth-child(1),
.menuOpen.active > span:nth-child(1) {
  transform: rotate(-45deg) translate(-7px, 7px);
}

.menuOpen.active > div:nth-child(2),
.menuOpen.active > span:nth-child(2) {
  opacity: 0;
}

.menuOpen.active > div:nth-child(3),
.menuOpen.active > span:nth-child(3) {
  transform: rotate(45deg) translate(-7px, -7px);
}

/* ---------- MENÚ MÓVIL: definición única ---------- */
.mobile-menu {
  width: min(520px, 100%);
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  border-left: 2px solid var(--primary);
  border-radius: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 450ms ease, opacity 350ms ease;
  pointer-events: none;
  position: fixed;
  top: var(--header-h);
  right: 0;
  left: auto;
  bottom: 0;
  z-index: var(--z-menu);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--steel-dark);
  z-index: 0;
  pointer-events: none;
}

.mobile-menu > * {
  position: relative;
  z-index: 1;
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-menu > div {
  position: relative;
  right: auto;
  top: auto;
  left: auto;
  bottom: auto;
  width: 100%;
  max-width: 520px;
  margin: 0 0 0 auto;
  padding: 32px clamp(20px, 5vw, 48px) 48px clamp(20px, 5vw, 32px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 100%;
}

#menu-menu-principal,
#menu-principal,
#menu-menu-principal-1,
.mobile-menu .menu {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(12px, 2.4vh, 26px);
  list-style: none;
}

.mobile-menu .menu {
  margin-right: 0;
}

.menu {
  list-style: none;
}

.menu li {
  width: 100%;
  text-align: right;
}

.menu li a {
  color: var(--white);
  font-size: clamp(28px, 4.6vh, 52px);
  line-height: 1.12;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 250ms ease;
  font-family: var(--font-head);
  position: relative;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: break-word;
  display: inline-block;
  max-width: 100%;
}

/* Subrayado limpio: mata la flecha-imagen heredada sin descargas inútiles */
.menu li a::after {
  content: "";
  position: absolute;
  right: 0;
  top: auto;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}

.menu li a:hover::after,
.menu li a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu li a:hover {
  color: #4cbf94;
}

#menu-menu-principal .current-menu-item > a,
.menu .current-menu-item > a {
  color: var(--steel-brand-text, #3fa87f);
}

.menu li a:active {
  color: var(--steel-brand-text, #3fa87f);
}

/* Submenú con altura animada (sin display brusco) */
.mobile-menu .sg-sub-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  width: 100%;
}

.mobile-menu .sg-sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin: 0;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--steel-border);
  color: var(--steel-brand-text, #3fa87f);
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1;
  width: 46px;
  height: 46px;
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.mobile-menu .sg-sub-toggle:hover {
  border-color: var(--primary);
}

.mobile-menu li.sg-open > .sg-sub-toggle {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.mobile-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 12px 0 0;
  text-align: right;
  border-right: 2px solid var(--primary);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 300ms ease;
}

.mobile-menu li.sg-open > .sub-menu {
  display: block;
  max-height: 600px;
  opacity: 1;
  margin: 12px 0 6px;
}

.mobile-menu .sub-menu a {
  font-size: clamp(17px, 2.4vh, 24px);
  text-transform: uppercase;
  font-family: var(--font-head);
  color: #d1d5db;
  line-height: 1.3;
  padding: 6px 0;
}

.mobile-menu .sub-menu a:hover {
  color: #4cbf94;
}

/* Dropdown también con hover en pantallas grandes con puntero fino */
@media (hover: hover) and (min-width: 1101px) {
  .mobile-menu li.menu-item-has-children:hover > .sub-menu,
  .mobile-menu li.menu-item-has-children:focus-within > .sub-menu {
    max-height: 600px;
    opacity: 1;
    margin: 12px 0 6px;
  }
}

@media (hover: none) {
  .menu li a:hover {
    color: var(--white);
  }
  .menu li a::after {
    display: none;
  }
  .mobile-menu .sg-sub-toggle:hover {
    border-color: var(--steel-border);
  }
}

/* CTA Únete: definición única */
.mobile-menu .unete-submit-btn {
  background: var(--primary);
  margin: clamp(20px, 3.5vh, 36px) 0 0;
  padding: 0;
  width: 100%;
  align-self: stretch;
  list-style: none;
  border-radius: 0;
  overflow: hidden;
  transition: background-color 250ms ease;
}

.mobile-menu .unete-submit-btn > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  color: #fff;
  font-size: clamp(19px, 2.6vh, 26px);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 20px;
  text-decoration: none;
}

.mobile-menu .unete-submit-btn > a::after {
  content: none;
  display: none;
}

.mobile-menu .unete-submit-btn:hover {
  background: #14532d;
}

.mobile-menu .unete-submit-btn:hover > a,
.mobile-menu .unete-submit-btn > a:hover,
.mobile-menu .unete-submit-btn.current-menu-item > a,
#menu-menu-principal .unete-submit-btn.current-menu-item > a,
.menu .unete-submit-btn.current-menu-item > a,
.mobile-menu .unete-submit-btn > a:active {
  color: #fff;
}

/* Scroll-lock sin salto de layout (scrollbar-gutter lo compensa) */
body.sg-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

/* ---------- RITMO GLOBAL: definición única ---------- */
:root :where(.is-layout-constrained) > * {
  margin-block-start: clamp(24px, 4vw, 48px);
  margin-block-end: 0;
}

:root :where(.is-layout-flow) > h1,
:root :where(.is-layout-flow) > h2,
:root :where(.is-layout-flow) > h3,
:root :where(.is-layout-flow) > h4,
:root :where(.is-layout-flow) > h5,
:root :where(.is-layout-flow) > h6 {
  margin-block-end: clamp(1.25rem, 3vw, 2.5rem);
}

.wp-block-group,
.wp-block-columns {
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(24px, 4vw, 56px);
  gap: clamp(20px, 3vw, 48px);
}

h1 {
  font-size: clamp(2.25rem, 1.2rem + 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.6rem, 1.1rem + 2.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.2rem, 1rem + 1.2vw, 1.6rem);
}

img {
  max-width: 100%;
  height: auto;
}

.wp-block-button__link,
.wpcf7 input[type="submit"] {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  padding: clamp(12px, 2vw, 15px) clamp(24px, 4vw, 45px);
  font-size: clamp(1rem, 0.9rem + 0.8vw, 1.375rem);
}

/* Full-bleed sin scroll horizontal: scrollbar estable + clip (sticky sigue vivo) */
.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ---------- CABECERAS: compensación única del header fijo ---------- */
.page-header {
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(48px, 6vw, 96px);
}

.page-header__title {
  font-size: clamp(2.25rem, 1.3rem + 4.5vw, 4rem);
}

.single-hero {
  padding-top: var(--header-h);
  min-height: 60vh;
  min-height: 60dvh;
}

.rm-calculator-wrapper {
  padding-top: calc(var(--header-h) + 48px);
}

.hero-mv {
  min-height: 100vh;
  min-height: 100dvh;
}

.single-content h2[id],
.single-content h3[id],
.recursos-section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- FILTROS STICKY + TOC ---------- */
.blog-filters {
  top: var(--header-h);
}

.sidebar-widget--toc {
  top: calc(var(--header-h) + 20px);
}

/* ---------- FOOTER + GRIDS: responsive real ---------- */
.site-footer {
  padding-top: clamp(48px, 6vw, 80px);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 50px);
}

.footer-bottom {
  margin-top: clamp(32px, 5vw, 60px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.coach-grid-container-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px clamp(16px, 3vw, 24px);
}

.coach-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px clamp(16px, 3vw, 24px);
}

@media (min-width: 769px) and (max-width: 1100px) {
  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

/* ---------- MÓVIL: 768px ---------- */
@media only screen and (max-width: 768px) {
  :root {
    --wp--preset--font-size--small: 16px;
    --wp--preset--font-size--medium: 18px;
  }

  #header,
  .header-top {
    height: var(--header-h-mobile);
  }

  #header {
    height: var(--header-h-mobile);
  }

  #header #logo {
    max-width: 132px;
  }

  #header #logo img {
    max-width: 132px;
    max-height: calc(var(--header-h-mobile) - 16px);
  }

  .mobile-menu {
    top: var(--header-h-mobile);
    height: calc(100vh - var(--header-h-mobile));
    height: calc(100dvh - var(--header-h-mobile));
    width: 100%;
    border-left: none;
  }

  .mobile-menu > div {
    max-width: none;
    padding: 24px 24px calc(40px + env(safe-area-inset-bottom, 0px));
  }

  .menu li a {
    font-size: clamp(26px, 7vw, 40px);
  }

  /* Solo interior: la home lleva el hero bajo el header transparente */
  body:not(.home) .wp-site-blocks {
    padding-top: var(--header-h-mobile);
  }

  .single-hero {
    padding-top: var(--header-h-mobile);
  }

  .page-header {
    padding-top: calc(var(--header-h-mobile) + 40px);
  }

  .footer-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .wp-block-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .wp-block-buttons .wp-block-button,
  .wp-block-buttons .wp-block-button__link {
    width: 100%;
  }

  .wp-block-buttons .wp-block-button__link {
    text-align: center;
  }

  /* iOS: evita el zoom automático en formularios */
  input,
  select,
  textarea {
    font-size: 16px;
  }

  .blog-filters {
    top: var(--header-h-mobile);
  }
}

/* ---------- MÓVIL PEQUEÑO: 480px (iPhone SE / Android compactos) ---------- */
@media only screen and (max-width: 480px) {
  #header #logo {
    max-width: 120px;
  }

  .menuOpen {
    min-width: 52px;
    min-height: 46px;
  }

  .menuOpen > div,
  .menuOpen > span {
    width: 32px;
  }

  .menu li a {
    font-size: clamp(24px, 8vw, 32px);
  }

  .mobile-menu .sub-menu a {
    font-size: 17px;
  }

  .encuentra-header {
    padding: calc(var(--header-h-mobile) + 32px) 20px 40px;
  }

  .encuentra-title {
    font-size: clamp(1.75rem, 1.2rem + 5vw, 2.5rem);
  }

  .single-title {
    font-size: clamp(1.75rem, 1.2rem + 5vw, 2.5rem);
  }

  .blog-hero__content {
    padding: 2.5rem 1.25rem;
    min-height: 52vh;
    min-height: 52dvh;
  }

  .blog-hero__title {
    font-size: clamp(1.5rem, 1.1rem + 4vw, 2rem);
  }
}

/* Complianz: el contenedor vacío no debe ocupar 24px en flujo */
#cmplz-cookiebanner-container:not(:has(.cmplz-cookiebanner.cmplz-show)) {
  display: none !important;
}

/* Sin border-radius: popup diario + banner de cookies (incluido botón "Gestionar consentimiento") */
.sg-popup__card {
  border-radius: 0 !important;
}
#cmplz-cookiebanner-container *,
#cmplz-cookiebanner-container *::before,
#cmplz-cookiebanner-container *::after,
#cmplz-manage-consent-container *,
#cmplz-manage-consent-container *::before,
#cmplz-manage-consent-container *::after {
  border-radius: 0 !important;
}

/* ---------- TÁCTIL: sin hovers pegados ni resaltados ---------- */
@media (hover: none) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  .coach-card:hover,
  .blog-card:hover .blog-card__img,
  .client-card-large:hover {
    transform: none;
  }
}

/* ---------- MOVIMIENTO REDUCIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  #header,
  .mobile-menu,
  .mobile-menu .sub-menu,
  .menu li a::after {
    transition: none;
  }
}

/* ---------- BIO /bio checker: sin desbordamiento en móvil ---------- */
.sg-bio-checker,
.bio-hero__checker {
  max-width: 100%;
  box-sizing: border-box;
}

.sg-bio-checker__row {
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.sg-bio-checker__prefix {
  flex-shrink: 0;
  min-width: 0;
}

.sg-bio-checker__input {
  min-width: 0;
  max-width: 100%;
}

.sg-bio-checker__btn {
  flex-shrink: 0;
  min-width: 0;
}

@media only screen and (max-width: 480px) {
  .sg-bio-checker__row {
    flex-wrap: wrap;
  }

  .sg-bio-checker__prefix {
    flex: 0 0 auto;
    font-size: 13px;
    padding: 12px 8px 12px 12px;
  }

  .sg-bio-checker__input {
    flex: 1 1 120px;
    width: auto;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .sg-bio-checker__btn {
    flex: 1 1 100%;
    width: 100%;
    padding: 14px 16px;
  }
}

/* SG 2026-10-10: páginas legales (aviso 100, privacidad 75, cookies 73).
   Plantilla por defecto sin héroe: se acota el ancho, se jerarquizan
   titulares y se visten listas y tablas con la marca. */
body.page-id-73 .alignfull,
body.page-id-75 .alignfull,
body.page-id-100 .alignfull {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
body.page-id-73 .alignfull > *,
body.page-id-75 .alignfull > *,
body.page-id-100 .alignfull > * {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
body.page-id-73 .alignfull > h1:first-child,
body.page-id-75 .alignfull > h1:first-child,
body.page-id-100 .alignfull > h1:first-child {
  font-family: var(--font-head, 'Oswald', sans-serif);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  text-align: center;
  color: #fff;
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--primary, #1c5d44);
}
body.page-id-73 .alignfull h2,
body.page-id-75 .alignfull h2,
body.page-id-100 .alignfull h2 {
  font-family: var(--font-head, 'Oswald', sans-serif);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 20px;
  color: #fff;
  margin-top: 34px;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 4px solid var(--primary, #1c5d44);
}
body.page-id-73 .alignfull h3,
body.page-id-75 .alignfull h3,
body.page-id-100 .alignfull h3 {
  font-size: 17px;
  color: #fff;
  margin-top: 22px;
  margin-bottom: 8px;
}
body.page-id-73 .alignfull p,
body.page-id-75 .alignfull p,
body.page-id-100 .alignfull p {
  color: #d4d4d4;
  line-height: 1.75;
  margin-bottom: 14px;
}
body.page-id-73 .alignfull strong,
body.page-id-75 .alignfull strong,
body.page-id-100 .alignfull strong {
  color: #fff;
}
body.page-id-73 .alignfull ul,
body.page-id-75 .alignfull ul,
body.page-id-100 .alignfull ul {
  margin: 12px 0 18px 4px;
  padding-left: 22px;
  color: #d4d4d4;
  line-height: 1.7;
}
body.page-id-73 .alignfull ul li,
body.page-id-75 .alignfull ul li,
body.page-id-100 .alignfull ul li {
  margin-bottom: 8px;
}
body.page-id-73 .alignfull ul li::marker,
body.page-id-75 .alignfull ul li::marker,
body.page-id-100 .alignfull ul li::marker {
  color: var(--steel-brand-text, #3fa87f);
}
body.page-id-73 .wp-block-table,
body.page-id-75 .wp-block-table,
body.page-id-100 .wp-block-table {
  overflow-x: auto;
  margin: 16px 0 22px;
}
body.page-id-73 .wp-block-table table,
body.page-id-75 .wp-block-table table,
body.page-id-100 .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
body.page-id-73 .wp-block-table th,
body.page-id-75 .wp-block-table th,
body.page-id-100 .wp-block-table th {
  background: var(--primary, #1c5d44);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--steel-border, #262626);
}
body.page-id-73 .wp-block-table td,
body.page-id-75 .wp-block-table td,
body.page-id-100 .wp-block-table td {
  padding: 12px 14px;
  border: 1px solid var(--steel-border, #262626);
  color: #d4d4d4;
  background: #121212;
}

/* ---------- DIARIO (page-id-1549): diseño landing ----------
   Solo diseño (contenido intacto): héroe con formulario protagonista y
   tramo central con ritmo de marca. Todo acotado a esta página. */
body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child .wp-block-columns {
  align-items: flex-start;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child {
  color: #f3f4f6;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child h1,
body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child strong {
  color: #fff;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child p,
body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child li {
  color: #d4d4d4;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child figure img {
  max-height: 600px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child .sg-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--steel-brand-text, #3fa87f);
  margin-bottom: 14px;
}
body.page-id-1549 .sg-trust {
  font-size: 0.85rem;
  color: var(--steel-text-muted, #a3a3a3);
}
/* Acordeón de preguntas frecuentes legible en oscuro */
body.page-id-1549 .wp-block-accordion-item {
  border-color: #262626;
}
body.page-id-1549 .wp-block-accordion-heading__toggle {
  color: #fff;
}
body.page-id-1549 .wp-block-accordion-panel {
  color: #d4d4d4;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child ul {
  padding-left: 1.2rem;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child ul li::marker {
  color: var(--steel-brand-text, #3fa87f);
  font-weight: 700;
}
/* Formulario protagonista */
body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child .sg-newsletter-form {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  border-color: var(--steel-brand, #1c5d44);
}
body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child .sg-newsletter-form button[type="submit"] {
  justify-self: stretch;
  text-align: center;
  padding: 1.1rem 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
}
/* Tramo central: titulares con acento de marca */
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) h2 {
  border-left: 4px solid var(--steel-brand, #1c5d44);
  padding-left: 14px;
}
/* Mockup enmarcado */
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) figure img {
  border: 1px solid #e5e5e5;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  display: block;
}
/* "Qué incluye" como tarjetas oscuras */
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) ul li {
  background: #121212;
  border: 1px solid #262626;
  border-left: 4px solid var(--steel-brand, #1c5d44);
  padding: 12px 16px;
  color: #d4d4d4;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) ul li strong {
  color: #fff;
}
/* "Cómo lo recibes" como pasos numerados */
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) ol {
  list-style: none;
  counter-reset: sgstep;
  padding: 0;
  display: grid;
  gap: 10px;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) ol li {
  counter-increment: sgstep;
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #333;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) ol li::before {
  content: counter(sgstep);
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--steel-brand, #1c5d44);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* "Dudas rápidas" como tarjetas oscuras (párrafos que abren con pregunta en negrita) */
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) p:has(> strong) {
  background: #121212;
  border: 1px solid #262626;
  padding: 16px 18px;
  color: #d4d4d4;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) p:has(> strong) > strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}
/* En móvil, el bloque de texto+formulario va primero (protagonista) */
@media only screen and (max-width: 768px) {
  body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child .wp-block-columns > .wp-block-column:first-child {
    order: 2;
  }
  body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child .wp-block-columns > .wp-block-column:last-child {
    order: 1;
  }
  body.page-id-1549 .wp-site-blocks > .wp-block-group.alignfull:first-child figure img {
    max-height: 420px;
  }
}

/* ---------- DIARIO (page-id-1549): fondo oscuro de marca (gana por cascada) ----------
   El body del tema es blanco por defecto y dejaba el tramo central en blanco.
   Va al final para imponerse a las reglas claras del diseño. */
body.page-id-1549 {
  background-color: #0a0a0a;
  color: #f3f4f6;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) {
  color: #d4d4d4;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) h2 {
  color: #fff;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) p {
  color: #d4d4d4;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) ol li {
  background: #121212;
  border-color: #262626;
  color: #d4d4d4;
}
body.page-id-1549 .wp-site-blocks > .wp-block-group:not(.alignfull) figure img {
  border-color: #262626;
}

/* ---------- DIARIO (page-id-1549): héroe a sangre en móvil ----------
   En móvil el contenido arrancaba bajo la cabecera fija transparente y se
   veía un hueco blanco. Se pega el héroe arriba como en escritorio (ya trae
   padding-top:95px en línea para librar la cabecera). */
@media only screen and (max-width: 768px) {
  body.page-id-1549 .wp-site-blocks {
    padding-top: 0;
  }
  body.page-id-1549 .wp-site-blocks > .wp-block-group:first-child,
  body.page-id-1549 .wp-site-blocks > .wp-block-columns:first-child {
    margin-top: 0;
  }
}

/* ---------- DIARIO DESCARGA (page-id-1550): gracias pro + arsenal en tarjetas ----------
   La página de gracias del imán trae el fondo #0a0a0a en línea pero el texto
   heredaba el color oscuro del tema (pensado para fondo blanco) → invisible.
   Se completa con el lenguaje visual de la web: héroe centrado con insignia de
   confirmación, CTA de marca y arsenal en tarjetas oscuras (patrón 1549).
   Todo acotado a esta página. */
body.page-id-1550 {
  background-color: #0a0a0a;
  color: #f3f4f6;
}

/* --- Héroe centrado --- */
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child {
  color: #f3f4f6;
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child h1 {
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.1;
}
/* Insignia de confirmación sobre el titular */
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child h1::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free", sans-serif;
  font-weight: 900;
  display: block;
  margin: 0 auto 14px;
  font-size: 38px;
  line-height: 1;
  color: var(--steel-brand-text, #3fa87f);
  filter: drop-shadow(0 0 18px rgba(74, 222, 128, 0.35));
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child h1 + p {
  color: #d4d4d4;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child .wp-block-buttons {
  justify-content: center;
  margin-top: 10px;
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child .wp-block-button__link {
  background-color: var(--steel-brand, #1c5d44);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: clamp(14px, 2vw, 18px) clamp(28px, 4vw, 48px);
  border: 1px solid #2d8a66;
  box-shadow: 0 14px 34px rgba(28, 93, 68, 0.4);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child .wp-block-button__link:hover {
  background-color: #2d8a66;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(28, 93, 68, 0.5);
}

/* --- Arsenal: tarjetas oscuras de marca --- */
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child h2 {
  color: #fff;
  border-left: 4px solid var(--steel-brand, #1c5d44);
  padding-left: 14px;
  margin-top: clamp(44px, 6vw, 68px);
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child h2 + p {
  color: #d4d4d4;
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child ul li {
  position: relative;
  background: #121212;
  border: 1px solid #262626;
  border-left: 4px solid var(--steel-brand, #1c5d44);
  padding: 16px 18px;
  color: #a3a3a3;
  font-size: 0.9rem;
  line-height: 1.55;
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child ul li a {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin-bottom: 6px;
  padding-right: 26px;
  transition: color 0.2s ease;
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child ul li a:hover {
  color: #4cbf94;
}
/* Icono decorativo de cada tarjeta (FA6: báscula, mancuerna, pulso) */
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child ul li::before {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: "Font Awesome 6 Free", sans-serif;
  font-weight: 900;
  font-size: 15px;
  color: rgba(74, 222, 128, 0.55);
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child ul li:nth-child(1)::before {
  content: "\f496";
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child ul li:nth-child(2)::before {
  content: "\f44b";
}
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child ul li:nth-child(3)::before {
  content: "\f21e";
}

/* --- Cierre del bloque --- */
body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child > p:last-child {
  text-align: center;
  color: #a3a3a3;
  font-size: 0.9rem;
  border-top: 1px solid #262626;
  padding-top: 22px;
  margin-top: clamp(34px, 5vw, 54px);
}

/* --- Móvil --- */
@media only screen and (max-width: 900px) {
  body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child ul {
    grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 600px) {
  body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child h1::before {
    font-size: 32px;
  }
  body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child .wp-block-buttons,
  body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child .wp-block-button {
    width: 100%;
  }
  body.page-id-1550 .wp-site-blocks > .wp-block-group.alignfull:first-child .wp-block-button__link {
    display: block;
    text-align: center;
  }
}

/* ---------- BASES SORTEOS (page-id-1565): fondo oscuro + estilo legal ----------
   Página fija de bases + anexo por sorteo. El body del tema es blanco por
   defecto: se fuerza al oscuro de marca y se replica la jerarquía de las
   legales (aviso 100, privacidad 75, cookies 73). Todo acotado a esta página. */
body.page-id-1565 {
  background-color: #0a0a0a;
  color: #f3f4f6;
}
body.page-id-1565 .alignfull {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
body.page-id-1565 .alignfull > * {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
body.page-id-1565 .alignfull > h1:first-child {
  font-family: var(--font-head, 'Oswald', sans-serif);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  text-align: center;
  color: #fff;
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--primary, #1c5d44);
}
body.page-id-1565 .alignfull h2 {
  font-family: var(--font-head, 'Oswald', sans-serif);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 20px;
  color: #fff;
  margin-top: 34px;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 4px solid var(--primary, #1c5d44);
}
body.page-id-1565 .alignfull h3 {
  font-size: 17px;
  color: #fff;
  margin-top: 22px;
  margin-bottom: 8px;
}
body.page-id-1565 .alignfull p {
  color: #d4d4d4;
  line-height: 1.75;
  margin-bottom: 14px;
}
body.page-id-1565 .alignfull strong {
  color: #fff;
}
body.page-id-1565 .alignfull ul {
  margin: 12px 0 18px 4px;
  padding-left: 22px;
  color: #d4d4d4;
  line-height: 1.7;
}
body.page-id-1565 .alignfull ul li {
  margin-bottom: 8px;
}
body.page-id-1565 .alignfull ul li::marker {
  color: var(--steel-brand-text, #3fa87f);
}
body.page-id-1565 .alignfull em {
  color: #a3a3a3;
}

/* ---------- MARCAS COLABORADORAS (home + /marcas/) ----------
   Sección compartida "Tu marca puede ser la primera": en la página
   /marcas/ (144) y en la home (shortcode [sg_marcas_colaboradoras],
   página 5, entre el escaparate de talento y "¿Quieres escribir aquí?").
   Los logos se gestionan en Ajustes → Marcas colaboradoras. Mientras no
   haya marcas se muestra el mensaje de acuerdos en progreso. Fondo
   oscuro de marca y esquinas rectas, como el resto de la web.
   La home además se fuerza a fondo oscuro (el body del tema es blanco
   y asomaba en los huecos entre bloques). */
body.home,
body.page-id-5 {
  background-color: #0a0a0a;
}
.sg-mc {
  background: #0a0a0a;
  padding: clamp(60px, 8vw, 96px) 20px;
  /* Sangra a todo el ancho (los bloques del sitio llevan margen entre
     bloques de 24px que dejaba ver el body claro). */
  margin-block: 0 !important;
}
.sg-mc__container {
  max-width: 1200px;
  margin: 0 auto;
}
.sg-mc-inner {
  text-align: center;
}
.sg-mc__kicker {
  margin: 0 0 12px;
  color: var(--steel-brand-text, #3fa87f);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.sg-mc__title {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--font-head, 'Oswald', sans-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sg-mc__subtitle {
  margin: 0 auto 36px;
  max-width: 640px;
  color: #9ca3af;
  font-size: clamp(0.95rem, 1.6vw, 1.125rem);
}
/* Parrilla de logos (visible al publicar la primera marca) */
.sg-mc__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 52px);
  max-width: 1100px;
  margin: 0 auto;
}
.sg-mc__item {
  line-height: 0;
}
.sg-mc__logo {
  max-width: 180px;
  max-height: 80px;
  width: auto;
  height: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.sg-mc__link:hover .sg-mc__logo,
.sg-mc__link:focus-visible .sg-mc__logo {
  opacity: 1;
  filter: grayscale(0%);
}
/* Ficha destacada de marca (solo en /marcas/) */
.sg-mc__featured {
  max-width: 960px;
  margin: 44px auto 0;
  text-align: left;
}
.sg-mc__card {
  position: relative;
  background: var(--steel-gray-card, #121212);
  border: 1px solid var(--steel-border, #262626);
  border-left: 4px solid var(--steel-brand, #1c5d44);
  padding: clamp(24px, 3.4vw, 40px);
}
.sg-mc__card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.sg-mc__card-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 auto;
}
.sg-mc__card-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel-brand-text, #3fa87f);
}
.sg-mc__card-name {
  margin: 4px 0 0;
  font-family: var(--font-head, 'Oswald', sans-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}
.sg-mc__card-tagline {
  margin: 2px 0 0;
  color: #9ca3af;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.sg-mc__card-desc {
  margin: 0 0 22px;
  color: #a3a3a3;
  font-size: 1rem;
  line-height: 1.7;
}
.sg-mc__card-desc p {
  margin: 0 0 1em;
}
.sg-mc__card-desc p:last-child {
  margin-bottom: 0;
}
.sg-mc__card-desc strong {
  color: #fff;
}
.sg-mc__card-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 26px;
}
.sg-mc__card-gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  filter: grayscale(40%);
  transition: filter 0.35s ease;
}
.sg-mc__card-gallery img:hover {
  filter: grayscale(0%);
}
.sg-mc__card-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.sg-mc__card-cta {
  display: inline-block;
  padding: 13px 32px;
  background: var(--steel-brand, #1c5d44);
  border: 1px solid var(--steel-brand-light, #2d8a66);
  color: #fff;
  font-family: var(--font-head, 'Oswald', sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.sg-mc__card-cta:hover,
.sg-mc__card-cta:focus-visible {
  background: var(--steel-brand-light, #2d8a66);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(28, 93, 68, 0.4);
}
.sg-mc__card-link {
  color: #9ca3af;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sg-mc__card-link:hover,
.sg-mc__card-link:focus-visible {
  color: #fff;
}
/* Estado vacío: acuerdos en progreso */
.sg-mc__empty {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.14);
}
.sg-mc__empty i {
  display: block;
  margin-bottom: 14px;
  font-size: 30px;
  color: var(--steel-brand-text, #3fa87f);
  opacity: 0.85;
}
.sg-mc__empty h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-head, 'Oswald', sans-serif);
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sg-mc__empty p {
  margin: 0;
  color: #a3a3a3;
  font-size: 1rem;
}
.sg-mc__empty strong {
  color: #fff;
}
/* CTA (solo home) */
.sg-mc__actions {
  margin: 34px 0 0;
}
.sg-mc__cta {
  display: inline-block;
  padding: 15px 42px;
  background: var(--steel-brand, #1c5d44);
  border: 1px solid var(--steel-brand-light, #2d8a66);
  color: #fff;
  font-family: var(--font-head, 'Oswald', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.sg-mc__cta:hover,
.sg-mc__cta:focus-visible {
  background: var(--steel-brand-light, #2d8a66);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(28, 93, 68, 0.4);
}
/* Móvil */
@media only screen and (max-width: 700px) {
  .sg-mc__logo {
    max-width: 140px;
    max-height: 64px;
  }
  .sg-mc__grid {
    gap: 24px;
  }
  .sg-mc__empty {
    padding: 32px 20px;
  }
  .sg-mc__cta {
    display: block;
    text-align: center;
  }
  .sg-mc__card-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .sg-mc__card-gallery img {
    height: 130px;
  }
  .sg-mc__card-gallery img:last-child {
    display: none;
  }
  .sg-mc__card-cta {
    display: block;
    text-align: center;
  }
}

/* ---------- BLOQUES DE CONTENIDO DEL BLOG ----------
   Estilo de las citas (wp:quote) dentro de los artículos: el tema no
   tenía reglas y el bloque caía en el estilo por defecto, ilegible
   sobre el fondo oscuro. */
.single-content blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  background: var(--steel-gray-card, #121212);
  border-left: 4px solid var(--steel-brand-light, #2d8a66);
  color: #fff;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
}
.single-content blockquote p {
  margin: 0;
}
.single-content blockquote cite {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

/* =====================================================================
   2026-10-20 · Accesibilidad (auditoría SEO externa)
   - Utilidad solo-lectores
   - Enlace "saltar al contenido"
   - Foco visible (el normalize heredado pone *:focus{outline:none})
   ===================================================================== */

.sg-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sg-skip-link {
  position: absolute;
  top: 0;
  left: 12px;
  z-index: 100000;
  display: inline-block;
  padding: 12px 20px;
  background: #1c5d44;
  color: #fff;
  font-family: var(--font-head, 'Oswald', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transform: translateY(-120px);
  transition: transform 0.2s ease;
}

.sg-skip-link:focus,
.sg-skip-link:focus-visible {
  transform: translateY(12px);
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Restaura el foco visible en toda la web */
:focus-visible {
  outline: 3px solid #3fa87f;
  outline-offset: 2px;
}

/* El destino del skip link no necesita anillo de foco */
#main:focus,
#main:focus-visible {
  outline: none;
}

/* ==========================================================================
   CONTRASTE AA: color "primary" del editor usado como TEXTO
   WordPress pinta .has-primary-color con --wp--preset--color--primary
   (#1c5d44 = 2.5:1 sobre #0a0a0a). Sobre fondo oscuro usamos el token AA.
   Solo afecta a la propiedad color: fondos y bordes no se tocan.
   ========================================================================== */
body .has-primary-color,
body .has-text-color.has-primary-color,
body .has-link-color.has-primary-color {
    color: var(--steel-brand-text, #3fa87f) !important;
}

/* ==========================================================================
   FONDO DE MARCA EN EL BLOQUE NEWSLETTER
   El body del tema es blanco y .blog-newsletter no define fondo: en paginas
   internas el titulo blanco quedaba sobre blanco. Fondo de marca fijo.
   ========================================================================== */
.blog-newsletter {
    background-color: var(--steel-dark, #0a0a0a);
}

/* ==========================================================================
   ENLACES DEL BANNER DE COOKIES (Complianz sobre fondo oscuro)
   ========================================================================== */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links a,
#cmplz-cookiebanner-container .cmplz-cookiebanner a.cmplz-link {
    color: var(--steel-brand-text, #3fa87f) !important;
}

/* ==========================================================================
   TÍTULOS CTA DE /contacto/ (pasan de h3 a h2 por el orden de encabezados)
   El breakpoint <=1100px fuerza h2{font-size:35px!important}; se conserva el
   tamaño original de .cta-title (1.5rem) para no alterar el diseño.
   ========================================================================== */
.cta-title {
    font-size: 1.5rem !important;
}

/* ==========================================================================
   TARJETAS QUE PASAN A h2 POR ORDEN DE ENCABEZADOS
   Mismo motivo que .cta-title: el breakpoint <=1100px fuerza
   h2{font-size:35px!important} y aqui manda el tamaño de la tarjeta.
   ========================================================================== */
.coach-name {
    font-size: 1.5rem !important;
}

.wiki-card__title {
    font-size: 22px !important;
}

/* ==========================================================================
   ETIQUETA "¿CUÁL ES TU PERFIL?" DEL MODAL
   El formulario de CF7 la trae con style inline `color: var(--steel-brand)`
   (#1c5d44 = 2.4:1 sobre #121212). Se fuerza el token AA.
   ========================================================================== */
.steel-input-group.role-selector > span[style] {
    color: var(--steel-brand-text, #3fa87f) !important;
}
