/*
==================================================================
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-main: #f3f4f6;
    --steel-text-muted: #a3a3a3;
    --steel-accent: #005F33;

}

::selection {
    background-color: var(--primary);
    text-shadow: none;
    color: white;
}

::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(--primary);
    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: var(--primary);
    background-color: transparent;
    border-color: var(--primary);
}

/* Enlaces */

a {
    color: currentColor;
    text-decoration: none;
    transition: all 250ms ease;
}

a:hover {
    text-decoration: none;
    color: var(--primary);
}

p a:hover,
form a:hover {
    color: var(--primary);
}

.overflow-hidden {
    overflow: hidden;
}

/*Header*/

#header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 560ms ease, 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.nav-up {
    width: 90px !important;
}

#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;
    position: fixed;
}

.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-principal {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-direction: column;
    font-size: 60px;
    margin: 0;
    padding: 0;
    justify-content: end;
    align-items: end;
}

.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: -100px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 200ms ease, right 250ms ease;
    color: var(--primary);

}

.menu li a:hover {
    color: var(--primary);
}

.menu li a:hover::after {
    opacity: 1;
    right: -90px;
    /* La flecha se acerca un poco */
}


.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 30px;
}

.header-sidebar {
    position: fixed;
    top: 71px;
    background: #000000b1;
    left: 0;
    padding: 10px 30px;
    height: 100%;
}

/*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(--primary);
}

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

#responsive-form {
    margin: 0 auto;
    width: 100%;
}

.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: var(--steel-brand);
}

/* Redes Sociales (Reutilizando estilo similar a tu perfil) */
.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);
    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: var(--steel-brand);
    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);
    /* 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);
    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-accent);
    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-accent);
    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);
}

.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: var(--primary, #1c5d44);
}

.steel-modal-body {
    padding: 20px;
}

.steel-modal-intro {
    color: var(--grey);
    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(--primary);
}


/* 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(--primary);
    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);
    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);
    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.25rem 0.75rem;
    font-family: var(--font-text);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.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;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    margin-bottom: 2rem;
}

.single-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.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: #6b7280;
    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%;
}



.wp-block-list {
    color: var(--steel-text-main);
    font-family: var(--font-text);
}

/* 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: #6b7280;
    font-family: var(--font-text);
}

/* TABLE OF CONTENTS */
.sidebar-widget--toc {
    position: sticky;
    top: 100px;
    z-index: 10;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.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;
    color: #555;
}

.toc-item--sub:hover .toc-link,
.toc-item--sub.active .toc-link {
    color: var(--steel-text-muted);
}

/* 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: var(--steel-brand);
}

/* ===========================
   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;
    z-index: 10;
    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);
    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: 640px;
    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;
    border-bottom: 1px solid var(--steel-border);
    position: sticky;
    top: 75px;
    background-color: var(--steel-dark);
    z-index: 0;
    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: var(--steel-brand);
    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: #6b7280;
}

.blog-card__read-more {
    color: var(--steel-brand);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card__read-more:hover {
    color: #2d8a66;
}

/* ----- BLOG PAGINATION ----- */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.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: #4b5563;
    cursor: default;
}

/* ----- 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: #6b7280;
}

/* ----- 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);
    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);
}

.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: #4b5563;
}

.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: #4b5563;
    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);
    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;
    margin-bottom: 1rem;
}

.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);
    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);
    font-family: var(--font-text);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.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: #4b5563;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    background: transparent;
    padding: 0;
}

.escribe-card:hover .escribe-card__icon {
    color: var(--steel-brand);
}

.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: #6b7280;
    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: 36rem;
    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: #2d8a66;
}

.escribe-cta__note {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #4b5563;
    font-family: var(--font-text);
}

.text-primary {
    color: var(--steel-brand) !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-light);
}

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

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

@keyframes calcFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rm-calc-animate {
    animation: calcFadeIn 0.5s ease-out forwards;
}

/* ==============================
   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-light);
    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;
}