@charset "UTF-8";
/*
 * TAP-LINKS · STYLE.CSS
 * V4.3 (prototipo local) — Ajustes de Signature (2), Executive (5) y Creative (6).
 *
 * Índice de secciones (orden real del archivo):
 *  01 Base global y tokens
 *  02 Formularios generales (plantilla heredada)
 *  03 Listas y grupos
 *  04 Alertas
 *  05 Tarjetas generales (base compartida)
 *  06 Tablas
 *  07 Tooltips
 *  08 Modales
 *  09 Paginación
 *  10 Insignias
 *  11 Botones
 *  12 Componentes multimedia
 *  13 Rejillas y espaciados
 *  14 Barras de progreso
 *  15 Jumbotron
 *  16 Carrusel
 *  17 Variables heredadas y utilidades
 *  18 Secciones
 *  19 Layout compartido y pie de página (V3.4)
 *  20 Animaciones e iconos SVG
 *  21 Perfil Tap-Links: tarjeta y datos
 *  22 Perfil Tap-Links: ajustes y acciones
 *  23 Temas visuales del perfil (theme_2 a theme_6)
 *  24 Compartir perfil: QR, enlace y redes
 *  25 Formularios de contacto del perfil
 *
 * IMPORTANTE: El orden de reglas participa en la cascada CSS.
 * V4.3: refinamiento CSS-only de 2, 5 y 6. Temas existentes 1, 3 y 4 intactos.
 * Prototipo sin cambios en PHP, HTML, datos ni tokens.
 */

/* ===== 01 · Base global y tokens ===== */
:root {
    --card-font: 'Arial', sans-serif;
}



.iconsvg {
    fill: var(--card-gb);
}

.no-photo-svg {
    fill: var(--theme-gb);
}

.inactive {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 81%);
    z-index: 9999;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}


body {
    background-color: var(--theme-gb)!important;
    background-image: none!important;
    font-family: var(--card-font);
    color: var(--card-font-color);
}

.form-control, .input-group-text, .custom-select, .custom-file-label {
    background-color: transparent;
}

.contact-details .icon-circle i {
    font-size: 21px !important;
    background: var(--card-gb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn:focus,
.btn:active,
.btn:active:focus,
.custom-select:focus,
.form-control:focus {
    box-shadow: none !important;
    outline: none;
}

a {
    color: var(--theme-color);
    font-weight: 500;
    transition: all .1s;
    -webkit-transition: all .1s;
    -o-transition: all .1s;
}

a:not(.btn-social-icon):not(.btn-social):not(.page-link) .ion,
a:not(.btn-social-icon):not(.btn-social):not(.page-link) .fas,
a:not(.btn-social-icon):not(.btn-social):not(.page-link) .far,
a:not(.btn-social-icon):not(.btn-social):not(.page-link) .fal,
a:not(.btn-social-icon):not(.btn-social):not(.page-link) .fab {
    margin-left: 4px;
}


/* ===== 02 · Formularios generales (plantilla heredada) ===== */
.form-control,
.input-group-text,
.custom-select,
.custom-file-label {
    background-color: #fdfdff;
    border-color: #e4e6fc;
}

.form-control:focus,
.input-group-text:focus,
.custom-select:focus,
.custom-file-label:focus {
    background-color: #fefeff;
    border-color: #95a0f4;
}

.input-group-text,
select.form-control:not([size]):not([multiple]),
.form-control:not(.form-control-sm):not(.form-control-lg) {
    font-size: 14px;
    padding: 10px 15px;
    height: 42px;
}

textarea.form-control {
    height: 64px;
}

.custom-control {
    line-height: 1.6rem;
}

.custom-file,
.custom-file-label,
.custom-select,
.custom-file-label:after,
.form-control[type="color"],
select.form-control:not([size]):not([multiple]) {
    height: calc(2.25rem + 6px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group .control-label,
.form-group>label {
    font-weight: 600;
    color: #34395e;
    font-size: 12px;
    letter-spacing: .5px;
}

.form-group.floating-addon {
    position: relative;
}

.form-group.floating-addon .input-group-prepend {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 5;
}

.form-group.floating-addon:not(.floating-addon-not-append) .input-group-append {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    left: initial;
    right: 0;
}

.form-group.floating-addon .input-group-prepend .input-group-text,
.form-group.floating-addon .input-group-append .input-group-text {
    border-color: transparent;
    background-color: transparent;
    font-size: 20px;
}

.form-group.floating-addon .form-control {
    border-radius: 3px;
    padding-left: 40px;
}

.form-group.floating-addon .form-control+.form-control {
    border-radius: 0 3px 3px 0;
    padding-left: 15px;
}

.input-group-append [class*="btn-outline-"] {
    background-color: #fdfdff;
}

.form-text {
    font-size: 12px;
    line-height: 22px;
}

.custom-radio .custom-control-input:checked~.custom-control-label::before,
.custom-control-input:checked~.custom-control-label::before {
    background-color: var(--theme-color) !important;
}

.custom-file-label {
    line-height: 2.2;
}

.custom-file-label:after {
    height: calc(2.25rem + 4px);
    line-height: 2.2;
    border-color: transparent;
}

.custom-file-label:focus,
.custom-file-label:active {
    box-shadow: none;
    outline: none;
}

.custom-file-input:focus+.custom-file-label {
    box-shadow: none;
    border-color: var(--theme-color);
}

.custom-file-input:focus+.custom-file-label:after {
    border-color: transparent;
}
/* ===== 03 · Listas y grupos ===== */
.list-unstyled-border li {
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.list-unstyled-border li .custom-checkbox {
    margin-right: 15px;
}

.list-unstyled-border li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.list-unstyled-noborder li:last-child {
    border-bottom: none;
}

.list-group-item.active {
    background-color: var(--theme-color);
}

.list-group-item.disabled {
    color: #c9d7e0;
}

.list-group-item-primary {
    background-color: var(--theme-color);
    color: #fff;
}

.list-group-item-secondary {
    background-color: #cdd3d8;
    color: #fff;
}

.list-group-item-success {
    background-color: #63ed7a;
    color: #fff;
}

.list-group-item-danger {
    background-color: #fc544b;
    color: #fff;
}

.list-group-item-warning {
    background-color: #ffa426;
    color: #fff;
}

.list-group-item-info {
    background-color: #3abaf4;
    color: #fff;
}

.list-group-item-light {
    background-color: #e3eaef;
    color: #191d21;
}

.list-group-item-dark {
    background-color: #191d21;
    color: #fff;
}

/* ===== 04 · Alertas ===== */
.alert {
    color: #fff;
    border: none;
    padding: 15px 20px;
}

.alert .alert-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.alert code {
    background-color: #fff;
    border-radius: 3px;
    padding: 1px 4px;
}

.alert p {
    margin-bottom: 0;
}

.alert.alert-has-icon {
    display: flex;
}

.alert.alert-has-icon .alert-icon {
    margin-top: 4px;
    width: 30px;
}

.alert.alert-has-icon .alert-icon .ion,
.alert.alert-has-icon .alert-icon .fas,
.alert.alert-has-icon .alert-icon .far,
.alert.alert-has-icon .alert-icon .fab,
.alert.alert-has-icon .alert-icon .fal {
    font-size: 20px;
}

.alert.alert-has-icon .alert-body {
    flex: 1;
}

.alert:not(.alert-light) a {
    color: #fff;
}

.alert.alert-primary {
    background-color: var(--theme-color);
}

.alert.alert-secondary {
    background-color: #cdd3d8;
}

.alert.alert-success {
    background-color: #63ed7a;
}

.alert.alert-info {
    background-color: #3abaf4;
}

.alert.alert-warning {
    background-color: #ffa426;
}

.alert.alert-danger {
    background-color: #fc544b;
}

.alert.alert-light {
    background-color: #e3eaef;
    color: #191d21;
}

.alert.alert-dark {
    background-color: #191d21;
}

/* ===== 05 · Tarjetas generales (base compartida) ===== */
/* V4.0C: reglas generales reunidas desde la base global. */
.article {
    background: transparent;
}

.article .article-details {
    background: transparent;
}

.article .article-header .article-title h2 a {
    color: var(--card-font-color);
}

.article.article-style-b .article-details p {
    color: var(--card-font-color);
}

.article .article-header .article-badge .article-badge-item{
    background: var(--card-gb);
    color: var(--card-font-color);
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
    background-color: #fff;
    border-radius: 3px;
    border: none;
    position: relative;
    margin-bottom: 30px;
}

.card .card-header,
.card .card-body,
.card .card-footer {
    background-color: transparent;
    padding: 20px 25px;
}

.card .card-body {
    padding-top: 20px;
    padding-bottom: 20px;
}

.card .card-body .section-title {
    margin: 30px 0 10px 0;
    font-size: 16px;
}

.card .card-body .section-title:before {
    margin-top: 8px;
}

.card .card-body .section-title+.section-lead {
    margin-top: -5px;
}

.card .card-body p {
    font-weight: 500;
}

.card .card-footer {
    background-color: transparent;
    border: none;
}

.card.card-mt {
    margin-top: 30px;
}

.card.card-progress:after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 99;
}

.card.card-progress .card-progress-dismiss {
    position: absolute;
    top: 66%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 999;
    color: #fff !important;
    padding: 5px 13px;
}

.card.card-progress.remove-spinner .card-progress-dismiss {
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.card.card-progress:not(.remove-spinner):after {
    background-image: url("../img/spinner.svg");
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center;
}

.card.card-primary {
    border-top: 2px solid var(--theme-color);
}

.card.card-secondary {
    border-top: 2px solid #34395e;
}

.card.card-success {
    border-top: 2px solid #63ed7a;
}

.card.card-danger {
    border-top: 2px solid #fc544b;
}

.card.card-warning {
    border-top: 2px solid #ffa426;
}

.card.card-info {
    border-top: 2px solid #3abaf4;
}

.card.card-dark {
    border-top: 2px solid #191d21;
}

.card .inc-footer-section-title {
    margin-top:2rem;
    text-align:center;
    background-color:var(--card-gb-hover);
    color: var(--card-gb);
    padding: 1rem 0;
    font-weight:bold; 
    border-radius:5px;
}


@media (max-width: 575.98px) {
    .card.card-large-icons {
        display: inline-block;
    }

    .card.card-large-icons .card-icon {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .card .card-header {
        height: auto;
        flex-wrap: wrap;
    }

    .card .card-header h4+.card-header-action,
    .card .card-header h4+.card-header-form {
        flex-grow: 0;
        width: 100%;
        margin-top: 10px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .card .card-stats .card-stats-items {
        height: 49px;
    }

    .card .card-stats .card-stats-items .card-stats-item {
        padding: 5px 7px;
    }

    .card .card-stats .card-stats-items .card-stats-item .card-stats-item-count {
        font-size: 16px;
    }

    .card.card-sm-6 .card-chart canvas {
        height: 85px !important;
    }

    .card.card-hero .card-header {
        padding: 25px;
    }
}

/* ===== 06 · Tablas ===== */
.table td,
.table:not(.table-bordered) th {
    border-top: none;
}

.table:not(.table-sm):not(.table-md):not(.dataTable) td,
.table:not(.table-sm):not(.table-md):not(.dataTable) th {
    padding: 0 25px;
    height: 60px;
    vertical-align: middle;
}

.table:not(.table-sm) thead th {
    border-bottom: none;
    background-color: rgba(0, 0, 0, 0.04);
    color: #666;
    padding-top: 15px;
    padding-bottom: 15px;
}

.table.table-md th,
.table.table-md td {
    padding: 10px 15px;
}

.table.table-bordered td,
.table.table-bordered th {
    border-color: #f6f6f6;
}

.table-links {
    color: #34395e;
    font-size: 12px;
    margin-top: 5px;
    opacity: 0;
    transition: all .3s;
}

.table-links a {
    color: #666;
}

table tr:hover .table-links {
    opacity: 1;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

@media (max-width: 575.98px) {
    .table-responsive table {
        min-width: 800px;
    }
}

/* ===== 07 · Tooltips ===== */
.tooltip {
    font-size: 12px;
}

.tooltip-inner {
    padding: 7px 13px;
}

/* ===== 08 · Modales ===== */
/* V4.0C: reglas generales reunidas desde la base global. */
.modal-content {
    background: var(--card-gb);
}

.modal-header,
.modal-body,
.modal-footer {
    padding: 25px;
}

.modal-body {
    padding-top: 15px;
}

.modal-footer {
    padding-top: 15px;
    padding-bottom: 15px;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 5px;
}

.modal-header h5 {
    font-size: 18px;
}

.modal-footer {
    border-top: none;
    border-radius: 0 0 3px 3px;
}

.modal-content {
    max-width: 100%;
    border: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.modal.show .modal-content {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-progress .modal-content {
    position: relative;
}

.modal-progress .modal-content:after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 999;
    background-image: url("../img/spinner.svg");
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 3px;
}

.modal-part {
    display: none;
}

/* ===== 09 · Paginación ===== */
.page-item .page-link {
    color: var(--theme-color);
    border-radius: 3px;
    margin: 0 3px;
}

.page-item.active .page-link {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.page-item.disabled .page-link {
    border-color: transparent;
    background-color: #f9fafe;
    color: var(--theme-color);
    opacity: .6;
}

.page-link {
    border-color: transparent;
    background-color: #f9fafe;
    font-weight: 600;
}

.page-link:hover {
    background-color: var(--theme-color);
    color: #fff;
    border-color: transparent;
}

.page-link:focus {
    box-shadow: none;
}

/* ===== 10 · Insignias ===== */
.badges .badge {
    margin: 0 8px 10px 0;
}

.badge {
    vertical-align: middle;
    padding: 7px 12px;
    font-weight: 600;
    letter-spacing: .3px;
    border-radius: 30px;
    font-size: 12px;
}

.badge.badge-warning {
    color: #fff;
}

.badge.badge-primary {
    background-color: var(--theme-color);
}

.badge.badge-secondary {
    background-color: #34395e;
}

.badge.badge-success {
    background-color: #63ed7a;
}

.badge.badge-info {
    background-color: #3abaf4;
}

.badge.badge-danger {
    background-color: #fc544b;
}

.badge.badge-light {
    background-color: #e3eaef;
    color: #191d21;
}

.badge.badge-white {
    background-color: #ffffff;
    color: #191d21;
}

.badge.badge-dark {
    background-color: #191d21;
}

h1 .badge {
    font-size: 24px;
    padding: 16px 21px;
}

h2 .badge {
    font-size: 22px;
    padding: 14px 19px;
}

h3 .badge {
    font-size: 18px;
    padding: 11px 16px;
}

h4 .badge {
    font-size: 16px;
    padding: 8px 13px;
}

h5 .badge {
    font-size: 14px;
    padding: 5px 10px;
}

h6 .badge {
    font-size: 11px;
    padding: 3px 8px;
}

.btn .badge {
    margin-left: 5px;
    padding: 4px 7px;
}

.btn .badge.badge-transparent {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ===== 11 · Botones ===== */
/* V4.0C: reglas generales reunidas desde la base global. */
.btn-outline-dark {
    color: var(--card-font-color);
    background-color: transparent;
    background-image: none;
    border-color: var(--card-font-color);
}

.buttons .btn {
    margin: 0 8px 10px 0;
}

.btn:focus {
    box-shadow: none !important;
    outline: none;
}

.btn:active {
    box-shadow: none !important;
    outline: none;
}

.btn:active:focus {
    box-shadow: none !important;
    outline: none;
}

.btn.btn-icon-split i {
    text-align: center;
    width: 15px;
    font-size: 15px;
    float: left;
    margin-right: 10px;
}

.btn {
    font-weight: 600;
    font-size: 12px;
    line-height: 24px;
    padding: .3rem .8rem;
    letter-spacing: .5px;
}

.btn.btn-icon-split {
    position: relative;
}

.btn.btn-icon-split i {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 45px;
    border-radius: 3px 0 0 3px;
    line-height: 32px;
}

.btn.btn-icon-split div {
    margin-left: 40px;
}

.btn.btn-icon-noflo-splitat {
    display: table;
    text-align: right;
}

.btn.btn-icon-noflo-splitat i {
    float: none;
    margin: 0;
    display: table-cell;
    vertical-align: middle;
    width: 30%;
}

.btn.btn-icon-noflo-splitat div {
    display: table-cell;
    vertical-align: middle;
    width: 70%;
    text-align: left;
    padding-left: 10px;
}

.btn:not(.btn-social):not(.btn-social-icon):active,
.btn:not(.btn-social):not(.btn-social-icon):focus,
.btn:not(.btn-social):not(.btn-social-icon):hover {
    border-color: var(--card-font-color) !important;
    color: var(--card-font-color) !important;
    background: var(--card-gb) !important;
}

.btn>i {
    margin-left: 0 !important;
}

.btn.btn-lg {
    padding: .55rem 1.5rem;
    font-size: 12px;
}

.btn.btn-lg.btn-icon-split i {
    line-height: 42px;
}

.btn.btn-lg.btn-icon-split div {
    margin-left: 25px;
}

.btn.btn-sm {
    padding: .10rem .4rem;
    font-size: 12px;
}

.btn.btn-icon .ion,
.btn.btn-icon .fas,
.btn.btn-icon .far,
.btn.btn-icon .fab,
.btn.btn-icon .fal {
    margin-left: 0 !important;
    font-size: 12px;
}

.btn.btn-icon.icon-left .ion,
.btn.btn-icon.icon-left .fas,
.btn.btn-icon.icon-left .far,
.btn.btn-icon.icon-left .fab,
.btn.btn-icon.icon-left .fal {
    margin-right: 3px;
}

.btn.btn-icon.icon-right .ion,
.btn.btn-icon.icon-right .fas,
.btn.btn-icon.icon-right .far,
.btn.btn-icon.icon-right .fab,
.btn.btn-icon.icon-right .fal {
    margin-left: 3px !important;
}

.btn-action {
    color: #fff !important;
    line-height: 25px;
    font-size: 12px;
    min-width: 35px;
    min-height: 35px;
}

.btn-secondary,
.btn-secondary.disabled {
    box-shadow: 0 2px 6px #e1e5e8;
    background-color: #cdd3d8;
    border-color: #cdd3d8;
    color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.disabled:hover,
.btn-secondary.disabled:focus,
.btn-secondary.disabled:active {
    background-color: #bfc6cd !important;
    color: #fff !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.disabled:hover,
.btn-outline-secondary.disabled:focus,
.btn-outline-secondary.disabled:active {
    background-color: #cdd3d8 !important;
    color: #fff !important;
}

.btn-success,
.btn-success.disabled {
    box-shadow: 0 2px 6px #a8f5b4;
    background-color: #63ed7a;
    border-color: #63ed7a;
    color: #fff;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.disabled:hover,
.btn-success.disabled:focus,
.btn-success.disabled:active {
    background-color: #4cea67 !important;
    color: #fff !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active,
.btn-outline-success.disabled:hover,
.btn-outline-success.disabled:focus,
.btn-outline-success.disabled:active {
    background-color: #63ed7a !important;
    color: #fff !important;
}

.btn-danger,
.btn-danger.disabled {
    box-shadow: 0 2px 6px #fd9b96;
    background-color: #fc544b;
    border-color: #fc544b;
    color: #fff;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.disabled:hover,
.btn-danger.disabled:focus,
.btn-danger.disabled:active {
    background-color: #fb160a !important;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active,
.btn-outline-danger.disabled:hover,
.btn-outline-danger.disabled:focus,
.btn-outline-danger.disabled:active {
    background-color: #fb160a !important;
    color: #fff !important;
}

.btn-dark,
.btn-dark.disabled {
    box-shadow: 0 2px 6px #728394;
    background-color: #191d21;
    border-color: #191d21;
    color: #fff;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active,
.btn-dark.disabled:hover,
.btn-dark.disabled:focus,
.btn-dark.disabled:active {
    background-color: black !important;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active,
.btn-outline-dark.disabled:hover,
.btn-outline-dark.disabled:focus,
.btn-outline-dark.disabled:active {
    background-color: black !important;
    color: #fff !important;
}

.btn-light,
.btn-light.disabled {
    box-shadow: 0 2px 6px #e6ecf1;
    background-color: #e3eaef;
    border-color: #e3eaef;
    color: #191d21;
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active,
.btn-light.disabled:hover,
.btn-light.disabled:focus,
.btn-light.disabled:active {
    background-color: #c3d2dc !important;
}

.btn-outline-light,
.btn-outline-light.disabled {
    border-color: #e3eaef;
    color: #e3eaef;
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active,
.btn-outline-light.disabled:hover,
.btn-outline-light.disabled:focus,
.btn-outline-light.disabled:active {
    background-color: #e3eaef !important;
    /*color: #fff !important;*/
}

.btn-warning,
.btn-warning.disabled {
    box-shadow: 0 2px 6px #ffc473;
    background-color: #ffa426;
    border-color: #ffa426;
    color: #fff;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.disabled:hover,
.btn-warning.disabled:focus,
.btn-warning.disabled:active {
    background-color: #ff990d !important;
    color: #fff !important;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning:active,
.btn-outline-warning.disabled:hover,
.btn-outline-warning.disabled:focus,
.btn-outline-warning.disabled:active {
    background-color: #ffa426 !important;
    color: #fff !important;
}

.btn-info,
.btn-info.disabled {
    box-shadow: 0 2px 6px #82d3f8;
    background-color: #3abaf4;
    border-color: #3abaf4;
    color: #fff;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.disabled:hover,
.btn-info.disabled:focus,
.btn-info.disabled:active {
    background-color: #0da8ee !important;
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active,
.btn-outline-info.disabled:hover,
.btn-outline-info.disabled:focus,
.btn-outline-info.disabled:active {
    background-color: #0da8ee !important;
    color: #fff !important;
}

.btn-primary,
.btn-primary.disabled {
    box-shadow: 0 2px 6px #acb5f6;
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.btn-primary:focus,
.btn-primary.disabled:focus {
    background-color: #ad00ad !important;
}

.btn-primary:focus:active,
.btn-primary.disabled:focus:active {
    background-color: #ad00ad !important;
}

.btn-primary:active,
.btn-primary:hover,
.btn-primary.disabled:active,
.btn-primary.disabled:hover {
    background-color: #ad00ad !important;
}

.btn-outline-primary,
.btn-outline-primary.disabled {
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.disabled:hover,
.btn-outline-primary.disabled:focus,
.btn-outline-primary.disabled:active {
    background-color: var(--theme-color) !important;
    color: #fff;
}

.btn-outline-white,
.btn-outline-white.disabled {
    border-color: #fff;
    color: #fff;
}

.btn-outline-white:hover,
.btn-outline-white:focus,
.btn-outline-white:active,
.btn-outline-white.disabled:hover,
.btn-outline-white.disabled:focus,
.btn-outline-white.disabled:active {
    background-color: #fff;
    color: var(--theme-color);
}

.btn-round {
    border-radius: 30px;
    padding-left: 34px;
    padding-right: 34px;
}

.btn-social-icon,
.btn-social {
    border: none;
    border-radius: 3px;
}

.btn-social-icon {
    color: #fff !important;
    padding-left: 18px;
    padding-right: 18px;
}

.btn-social-icon> :first-child {
    font-size: 16px;
}

.btn-social {
    padding: 12px 12px 12px 50px;
    color: #fff !important;
    font-weight: 500;
}

.btn-social> :first-child {
    width: 55px;
    line-height: 50px;
    border-right: none;
}

.btn-reddit {
    color: #000 !important;
}

.btn-group .btn.active {
    background-color: var(--theme-color);
    color: #fff;
}

.btn-progress {
    position: relative;
    background-image: url("../img/spinner-white.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
    color: transparent !important;
    pointer-events: none;
}

/* ===== 12 · Componentes multimedia ===== */
/* V4.0C: reglas generales reunidas desde la base global. */
.product-item .product-name {
    color: var(--card-font-color);
}

.gallery.gallery-md .gallery-item{
    float: none;
    width: 129px;
    height: 129px;
    margin: 1px;
}

.media .media-right {
    float: right;
    color: var(--theme-color);
    font-weight: 600;
    font-size: 16px;
}

.media .media-icon {
    font-size: 20px;
    margin-right: 15px;
    line-height: 1;
}

.media .media-title {
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 15px;
    color: #34395e;
}

.media .media-title a {
    font-weight: inherit;
    color: #000;
}

.media .media-description {
    line-height: 24px;
    color: #34395e;
}

.media .media-links {
    margin-top: 10px;
}

.media .media-links a {
    font-size: 12px;
    color: #999;
}

.media .media-progressbar {
    flex: 1;
}

.media .media-progressbar .progress-text {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #34395e;
}

.media .media-cta {
    margin-left: 40px;
}

.media .media-cta .btn {
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
}

.media .media-items {
    display: flex;
}

.media .media-items .media-item {
    flex: 1;
    text-align: center;
    padding: 0 15px;
}

.media .media-items .media-item .media-label {
    font-weight: 600;
    font-size: 12px;
    color: #34395e;
    letter-spacing: .5px;
}

.media .media-items .media-item .media-value {
    font-weight: 700;
    font-size: 18px;
}

/* ===== 13 · Rejillas y espaciados ===== */
.sm-gutters {
    margin-left: -5px;
    margin-right: -5px;
}

.sm-gutters>.col,
.sm-gutters>[class*=col-] {
    padding-left: 5px;
    padding-right: 5px;
}

/* Utilidad compartida: mantener hasta verificar sus usos. */
.remove-caret:after {
    display: none;
}

/* ===== 14 · Barras de progreso ===== */
.progress-bar {
    background-color: var(--theme-color);
}

/* ===== 15 · Jumbotron ===== */
.jumbotron {
    background-color: #e3eaef;
}

/* ===== 16 · Carrusel ===== */
.carousel .carousel-caption p {
    font-size: 13px;
    line-height: 24px;
}

/* ===== 17 · Variables heredadas y utilidades ===== */
:root {
    /* Colors */
    --primary: color(primary);
    --secondary: color(fontdark);
    --success: color(success);
    --info: color(info);
    --warning: color(warning);
    --danger: color(danger);
    --light: color(light);
    --dark: color(dark);
}

a.bb {
    text-decoration: none;
    border-bottom: 1px solid var(--theme-color);
    padding-bottom: 1px;
}

.form-divider {
    display: inline-block;
    width: 100%;
    margin: 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.ui-sortable-handle,
.sort-handler {
    cursor: move;
}

.text-job {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #34395e;
}

.text-time {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin-bottom: 10px;
}

.bullet,
.slash {
    display: inline;
    margin: 0 4px;
}

.bullet:after {
    content: '\2022';
}

.slash:after {
    content: '/';
}

.login-brand {
    margin: 20px 0;
    margin-bottom: 40px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #666;
    text-align: center;
}

.font-weight-600 {
    font-weight: 600 !important;
}

.budget-price {
    display: inline-block;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.budget-price .budget-price-square {
    width: 15px;
    height: 3px;
    background-color: #f9f9f9;
}

.budget-price .budget-price-label {
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}

.gradient-bottom {
    position: relative;
}

.gradient-bottom:after {
    content: ' ';
    position: absolute;
    bottom: 41px;
    left: 0;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.8));
    height: 60px;
}

.text-small {
    font-size: 12px;
    line-height: 20px;
}

.text-title {
    font-size: 14px;
    color: #34395e;
    font-weight: 600;
}

.img-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
}

.colors {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.colors .color {
    border-radius: 3px;
    width: calc((100% / 4) - 10px);
    padding: 10px;
    height: 60px;
    line-height: 40px;
    text-align: center;
    margin: 5px;
}

blockquote {
    padding: 20px;
    padding-left: 40px;
    font-style: oblique;
    background-color: #f9f9f9;
    border-radius: 3px;
    position: relative;
    font-family: 'Time new Romans';
    font-size: 16px;
    letter-spacing: .3px;
}

blockquote:before {
    content: '"';
    font-size: 30px;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: .2;
}

blockquote .blockquote-footer {
    margin-top: 10px;
}

.bg-whitesmoke {
    background-color: #f7f9f9 !important;
}

.ion {
    font-size: 15px;
}

.fas,
.far,
.fab,
.fal {
    font-size: 13px;
}

#visitorMap {
    height: 210px;
}

pre {
    border-radius: 3px;
}

.circle-step {
    display: flex;
    margin-bottom: 10px;
}

.circle-step .circle-content {
    margin-top: 3px;
    margin-left: 13px;
}

.circle-step .circle {
    border-width: 2px;
    border-style: solid;
    border-radius: 50%;
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 30px;
    font-size: 11px;
    text-align: center;
}

.circle-step .circle.circle-primary {
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.pe-none {
    pointer-events: none;
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

#visitorMap2,
#visitorMap3 {
    height: 350px;
}

.shadow-primary {
    box-shadow: 0 2px 6px #acb5f6;
}

.shadow-secondary {
    box-shadow: 0 2px 6px #e1e5e8;
}

.shadow-success {
    box-shadow: 0 2px 6px #a8f5b4;
}

.shadow-warning {
    box-shadow: 0 2px 6px #ffc473;
}

.shadow-danger {
    box-shadow: 0 2px 6px #fd9b96;
}

.shadow-info {
    box-shadow: 0 2px 6px #82d3f8;
}

.shadow-light {
    box-shadow: 0 2px 6px #e6ecf1;
}

.shadow-dark {
    box-shadow: 0 2px 6px #728394;
}

.is-online {
    width: 10px;
    height: 10px;
    background-color: #63ed7a;
    border-radius: 50%;
    display: inline-block;
}

.gutters-xs {
    margin-right: -0.25rem;
    margin-left: -0.25rem;
}

.gutters-xs>.col,
.gutters-xs>[class*="col-"] {
    padding-right: 0.25rem;
    padding-left: 0.25rem;
}

.beep {
    position: relative;
}

.beep:after {
    content: '';
    position: absolute;
    top: 2px;
    right: 8px;
    width: 7px;
    height: 7px;
    background-color: #ffa426;
    border-radius: 50%;
    animation: pulsate 1s ease-out;
    animation-iteration-count: infinite;
    opacity: 1;
}

@media (max-width: 575.98px) {
    .fc-overflow {
        width: 100%;
        overflow: auto;
    }

    .fc-overflow #myEvent {
        width: 800px;
    }

    .ionicons li {
        width: calc(100% / 4);
    }

    .icon-wrap {
        width: 100%;
    }
}

/* ===== 18 · Secciones ===== */
.section {
    position: relative;
    z-index: 1;
}

.section>*:first-child {
    margin-top: -7px;
}

.section .section-title {
    font-size: 18px;
    color: #191d21;
    font-weight: 600;
    position: relative;
    margin: 30px 0 25px 0;
}

.section .section-title:before {
    content: ' ';
    border-radius: 5px;
    height: 8px;
    width: 30px;
    background-color: var(--theme-color);
    display: inline-block;
    float: left;
    margin-top: 6px;
    margin-right: 15px;
}

.section .section-title+.section-lead {
    margin-top: -20px;
}

.section .section-lead {
    margin-left: 45px;
}

@media (max-width: 575.98px) {
    .section .section-title {
        font-size: 14px;
    }
}

/* ===== 19 · Layout compartido y pie de página (V3.4) ===== */
.simple-footer {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

footer p {
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
}


/* ===== 20 · Animaciones e iconos SVG ===== */
.pulsate {
    animation: pulsate 1s ease-out;
    animation-iteration-count: infinite;
    opacity: 1;
}

@-webkit-keyframes pulsate {
    0% {
        -webkit-transform: scale(0.1, 0.1);
        opacity: 0.0;
    }

    50% {
        opacity: 1.0;
    }

    100% {
        -webkit-transform: scale(1.2, 1.2);
        opacity: 0.0;
    }
}

.svg-icons-sprite {
    display: none;
    position: absolute;
}


/* ===== 21 · Perfil Tap-Links: tarjeta y datos ===== */


.card ul, 
.card ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.card {
    position: relative;
    overflow: hidden;
    text-align: left;
    line-height: 1.4em;
    border-radius: 19px;
    background-color: #141414;
    color: var(--card-font-color);
}

.card * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
}

.card .card-bg {
    max-width: 100%;
    width: 100%;
    vertical-align: top;
    /*opacity: 0.85;*/

}

.card .card-bg.nophoto {
    border-radius: 50%;
    z-index: 1;
    width: 90%;
    margin: 5%;
    opacity: 1;
    box-shadow: 0 0 15px rgb(0 0 0 / 30%);
    border: 2px solid var(--card-font-color);

}

.card figcaption {
    width: 100%;
    padding: 100px 25px 25px 25px;
    position: relative;
    background-color: var(--card-gb);
}



.card figcaption a:hover .icon-circle,
.card figcaption a:hover .btn-icon {
    background-color: var(--theme-font-color);
    transform: translate(10px, 0);
    /*border: 2px solid var(--card-gb);*/
    /*color: var(--card-font-color);*/
    /*opacity: 0.5;*/
        
}


/* CTA global · Guardar contacto — todos los themes.
   Fondo y texto forman un par con contraste calculado por el sistema. */
.card figcaption a.add-contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    min-height: 64px;
    margin: 0 auto;
    padding: 25px 38px 25px 14px;
    border: 0;
    border-radius: 16px;
    background: var(--card-gb-hover);
    color: var(--tap-hover-text-color);
    text-decoration: none;
    box-shadow: 0 7px 20px rgb(0 0 0 / 16%);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.card figcaption a.add-contact h6,
.card figcaption a.add-contact h6.text-left {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
    width: 100%;
    height: auto;
    min-height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    background-image: none !important;
    color: inherit;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center !important;
    white-space: normal;
}

/* El icono se muestra en una pequeña pieza elevada, no en una pastilla antigua. */
.card figcaption a.add-contact h6 .tap-icon,
.card figcaption a.add-contact h6 .iconsvg {
    display: block;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 9px;
    border-radius: 11px;
    background: rgb(255 255 255 / 17%);
    fill: currentColor;
    color: inherit;
}

/* Indicador de acción discreto y separado de la etiqueta. */
.card figcaption a.add-contact::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    opacity: .75;
}

.card figcaption a.add-contact:is(:hover, :focus-visible) {
    color: var(--tap-hover-text-color);
    filter: brightness(1.045);
    transform: translateY(-2px);
    box-shadow: 0 11px 24px rgb(0 0 0 / 20%);
}

.card figcaption a.add-contact:active {
    transform: translateY(0);
    filter: brightness(.97);
}

.card figcaption a.add-contact:focus-visible {
    outline: 3px solid var(--card-font-color);
    outline-offset: 3px;
}


.card figcaption:before {
    position: absolute;
    content: '';
    /*bottom: 100%;*/
    top: -70px;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: linear-gradient(var(--card-font-color), var(--card-gb));
    /*border-style: solid;
          border-width: 55px 0 0 400px;
          border-color: transparent transparent transparent var(--card-gb);*/
}

.card figcaption.nophoto {
    padding: 25px;
}

.card figcaption.nophoto:before {
    display: none;
}

.card .profile {
    border-radius: 50%;
    position: absolute;
    top: -85px;
    left: 25px;
    z-index: 1;
    width: 164px;
    height: 164px;
    opacity: 1;
    box-shadow: 0 0 15px rgb(0 0 0 / 30%);
    border: 2px solid var(--card-gb);
}

.card h2 {
    margin: 0 0 5px;
    font-weight: 700;
}

.card h3 {
    display: block;
    font-size: 1.5em;
    color: var(--card-font-color);
    font-weight: 500;
}

.card h4 {
    display: block;
    font-size: 1.1em;
    color: var(--card-font-color);
    font-weight: 400;
}

.card p.notes {
    font-size: 0.9em;
    margin-top: 1rem;
    line-height: 1.3;
}

.card p.notes .bigger {
    font-size: 1em;
    line-height: 1.5;
}

.card p.notes .strong,
.card p.notes .big .strong {
    color: var(--card-gb-hover);
}

.card .social-buttons .btn {
    font-size: 14px;
}

.card .social-buttons .btn .btn-outline-dark {
    color: #ffffff;
    background-color: transparent;
    background-image: none;
    border-color: #ffffff;
}

.card .contact-details {
    padding: 8px 0;
    list-style-type: none;
    font-size: 1rem;
    line-height: 1.75rem;
    text-decoration: inherit;
    text-transform: inherit;
    margin: 0;
    font-weight: 400;
    letter-spacing: .009375em;
}

.card .contact-details a {
    text-decoration: none;
}

.card .contact-details-item {
    display: -webkit-flex;
    display: -moz-box;
    padding: 0.4rem 0rem;
    display: flex;
    overflow: hidden;
    height: auto;
    justify-content: flex-start;
    cursor: pointer;
    position: relative;
    -webkit-align-items: center;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: start;
    text-decoration: none;
}

.card .contact-details-item .photo-equipe-card {
    width: 42px;
    height: 42px;
    margin-right: 15px;
    border-radius: 50%;
    border: 1px solid var(--card-gb);
}
.card .contact-details-item .photo-equipesb {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-right: 10px;
    border: 1px solid var(--card-gb);
}
.card .contact-details-item h6 {
    font-size: 1rem;
    font-weight: normal;
}

.card .contact-details-item h6 span.icon-circle {
    font-weight: 900;
}

.card .contact-details-item h6 span.display-arroba {
    margin-left: -3px;
    margin-right: -3px;
}

/* ===== 22 · Perfil Tap-Links: ajustes y acciones ===== */
.card {
    background-color: var(--card-gb);
    background-image: none;
    background-repeat: no-repeat;
    background-size: cover;
}

.card-header{
    border-bottom: 0;
}


.img_header_avo {
    width: 100%;
}

.hide_avo {
    display: none;
}

.ads_decoupeart {   
    background:#fec84b; 
    color:#000000; 
    padding:5px 0;
    margin: 10px auto;
    border-radius:4px;
    width: 330px;
    display: block;
    text-align: center;
    font-weight: bold;   
}

/* Guardar contacto flotante · mismo lenguaje visual en todos los themes. */
.add_contact_fixed {
    position: fixed;
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    right: max(12px, calc(50% - 228px));
    z-index: 20;
}

.add_contact_fixed a.contact-details-item.add-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 17px;
    text-decoration: none;
}

.add_contact_fixed a.contact-details-item.add-contact .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    margin: 5px !important; /* neutraliza la clase .mr-3 del HTML */
    padding: 0;
    border: 2px solid var(--card-font-color);
    border-radius: 17px;
    background: var(--card-gb-hover);
    color: var(--tap-hover-text-color);
    font-size: 27px;
    box-shadow: 0 5px 16px rgb(0 0 0 / 23%);
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.add_contact_fixed a.add-contact .btn-icon .tap-icon,
.add_contact_fixed a.add-contact .btn-icon .iconsvg {
    display: block;
    width: 25px;
    height: 25px;
    fill: currentColor;
    color: inherit;
}

.add_contact_fixed a.add-contact:is(:hover, :focus-visible) .btn-icon {
    background: var(--card-gb-hover);
    color: var(--tap-hover-text-color);
    filter: brightness(1.05);
    transform: translateY(-3px);
    box-shadow: 0 9px 22px rgb(0 0 0 / 26%);
}

.add_contact_fixed a.add-contact:focus-visible {
    outline: 3px solid var(--card-font-color);
    outline-offset: 4px;
}


.card .icon-circle {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: var(--card-font-color);
    font-size: 21px;
    height: 42px;
    width: 42px;
    border-radius: 100%;
    padding: 0 10px;
}

.card .icon-circle .iconsvg {
    fill: var(--card-gb);
}

        
.card .icon-circle i {
    font-size: 21px !important;
    background: #141414;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card .btn-icon {
    width: 42px;
    height:42px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: var(--card-font-color);
    color: var(--card-gb);
    font-size: 21px;
    flex: 0 0 42px;
}

.card .icon-circle .icon-new {
    position: relative;
}

.card .icon-circle .icon-new img {
    position: absolute;
    width: 30px;
    height: 30px;
    top: -27px;
}


/* ===== 23 · Temas visuales del perfil (theme_3 y theme_4) ===== */


.theme_3 .card figcaption:before {
    /* background-image: linear-gradient(var(--tap-card-transparent), var(--card-gb)); */
    background-image: linear-gradient(var(--tap-card-transparent), var(--card-font-color), var(--card-gb));
    height: 140px;
    
}


.theme_4 .card figcaption:before {
    /* background-image: linear-gradient(var(--tap-card-transparent), var(--card-gb)); */
    background-image: none;
    background: var(--card-gb);
    border-radius: 50px 50px 0 0;
    border-top: 4px solid var(--card-font-color);
    height: 60px;
    top: -44px;
}

.theme_4 .card .profile {
    border: 4px solid var(--card-font-color);
}


.theme_4 .card .card-bg.nophoto {
    border-radius: 0;
    width: 100%;
    margin: 0;
    opacity: 1;
    box-shadow: none;
    border: none;
}

.theme_4 .card figcaption.nophoto {
    width: 100%;
    padding: 25px;
    position: relative;
    background-color: var(--card-gb);
}

.theme_4 .card figcaption.nophoto:before {
    display: block;
}


/* ===== V4.3 · Colección experimental CSS-only: Signature / Executive / Creative ===== */
/* Reglas limitadas al figure.custom-card; no afectan QR, modal ni otros temas. */
/* Las cuatro variables de color provienen de cada perfil existente. */

/* 02 · Signature — logo íntegro, retrato circular, identidad centrada. */
.theme_2 .card .custom-card > div:first-child {
    /*padding: 12px 14px 0;
    background: var(--card-gb);*/
}
.theme_2 .card .custom-card .card-bg {
    display: block;
    width: 100%;
    height: auto;
    /*max-height: 330px;*/
    object-fit: contain;
    border-radius: 12px;
}
.theme_2 .card .custom-card figcaption {
    padding: 92px 24px 28px;
    text-align: center;
    background: var(--card-gb);
}
.theme_2 .card .custom-card figcaption::before {
    top: -17px;
    height: 35px;
    background: var(--card-gb);
    border-top: 1px solid var(--card-gb-hover);
    border-radius: 32px 32px 0 0;
}
.theme_2 .card .custom-card .profile {
    top: -75px;
    left: 50%;
    width: 146px;
    height: 146px;
    transform: translateX(-50%);
    object-fit: cover;
    border: 3px solid var(--card-gb-hover);
    border-radius: 50%;
}
.theme_2 .card .custom-card h2 {
    font-size: clamp(1.7rem, 5.3vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.theme_2 .card .custom-card h3,
.theme_2 .card .custom-card h4 { text-align: center; }
.theme_2 .card .custom-card .contact-details > li { margin-bottom: 8px; }
.theme_2 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) {
    min-height: 52px;
    padding: 7px 11px;
    border: 1px solid var(--card-gb-hover);
    border-radius: 14px;
    text-align: left;
    background: transparent;
}
.theme_2 .card .custom-card figcaption.nophoto { padding-top: 26px; }
.theme_2 .card .custom-card figcaption.nophoto::before { display: block; }
.theme_2 .card .custom-card .card-bg.nophoto {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
}

/* 05 · Executive — dos imágenes visibles, cabecera compacta y lectura rápida. */
.theme_5 .card .custom-card > div:first-child {
    /*height: 168px;
    padding: 10px 18px;
    background: var(--card-gb);*/
}
.theme_5 .card .custom-card .card-bg {
    display: block;
    /*width: 158px;
    max-width: 48%;
    height: 148px;*/
    object-fit: contain;
    object-position: left center;
    border-radius: 8px;
}
.theme_5 .card .custom-card figcaption {
    padding: 70px 24px 28px;
    border-top: 2px solid var(--card-gb-hover);
    background: var(--card-gb);
    text-align: left;
}
.theme_5 .card .custom-card figcaption::before { 
    /* background-image: linear-gradient(var(--tap-card-transparent), var(--card-gb)); */
    background-image: linear-gradient(var(--tap-card-transparent), var(--card-gb), var(--card-gb));
    height: 140px;
 }
.theme_5 .card .custom-card .profile {
    top: -70px;
    left: auto;
    right: 22px;
    width: 124px;
    height: 124px;
    border: 3px solid var(--card-gb-hover);
    border-radius: 13px;
    object-fit: cover;
    transform: none;
}
.theme_5 .card .custom-card h2 {
    font-size: clamp(1.55rem, 5vw, 2rem);
    line-height: 1.15;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}
.theme_5 .card .custom-card h3 {
    font-weight: 700;
    font-size: 1.08rem;
}
.theme_5 .card .custom-card h4 { line-height: 1.35; }
.theme_5 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) {
    min-height: 50px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--card-gb-hover);
    border-radius: 0;
    background: transparent;
}
.theme_5 .card .custom-card .contact-details > li:last-child > a.add-contact {
    border-bottom: 0;
}
.theme_5 .card .custom-card figcaption.nophoto { padding-top: 24px; }
.theme_5 .card .custom-card .card-bg.nophoto {
    width: 158px;
    max-width: 100%;
    margin: 0;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
}

/* 06 · Creative — portada expresiva, retrato desplazado, datos editoriales. */
.theme_6 .card .custom-card > div:first-child {
    /*height: 238px;
    padding: 12px 17px 0;
    background: var(--card-gb);*/
}
.theme_6 .card .custom-card .card-bg {
    display: block;
    width: 100%;
    /*height: 214px;*/
    object-fit: contain;
    object-position: left center;
    border-radius: 8px;
}
.theme_6 .card .custom-card figcaption {
    padding: 78px 23px 28px;
    border-top: 2px solid var(--card-gb-hover);
    background: var(--card-gb);
    text-align: left;
}
.theme_6 .card .custom-card figcaption::before { display: none; }
.theme_6 .card .custom-card .profile {
    top: -61px;
    left: auto;
    right: 24px;
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--card-gb-hover);
    transform: rotate(3deg);
}
.theme_6 .card .custom-card h2 {
    font-size: clamp(1.85rem, 6.8vw, 2.55rem);
    line-height: 1.07;
    font-weight: 800;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
}
.theme_6 .card .custom-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.theme_6 .card .custom-card h4 { font-size: 1rem; line-height: 1.35; }
.theme_6 .card .custom-card .contact-details > li { margin-bottom: 10px; }
.theme_6 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) {
    min-height: 51px;
    padding: 14px 15px;
    border-left: 3px solid var(--card-gb-hover);
    border-bottom: 1px solid var(--card-gb-hover);
    border-radius: 9px;
    background-color: var(--card-gb);
    background-image: none;
    color: var(--card-font-color);
}
.theme_6 .card .custom-card figcaption.nophoto { padding-top: 24px; }
.theme_6 .card .custom-card .card-bg.nophoto {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
}

/* Video vertical incrustado en la lista: únicamente los nuevos temas. */
.theme_2 .card .custom-card .contact-details > div > video[style*="9 / 16"],
.theme_5 .card .custom-card .contact-details > div > video[style*="9 / 16"],
.theme_6 .card .custom-card .contact-details > div > video[style*="9 / 16"] {
    display: block;
    width: min(52%, 185px) !important;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 12px 0 18px;
}
.theme_2 .card .custom-card .contact-details > div > video[style*="9 / 16"] {
    margin-left: auto;
    margin-right: auto;
}
.theme_6 .card .custom-card .contact-details > div > video[style*="9 / 16"] {
    width: min(58%, 205px) !important;
}

/* Pantallas muy pequeñas: reserva real para logos y retratos cuadrados. */
@media (max-width: 380px) {
    .theme_2 .card .custom-card figcaption,
    .theme_5 .card .custom-card figcaption,
    .theme_6 .card .custom-card figcaption {
        padding-right: 17px;
        padding-left: 17px;
    }
    .theme_5 .card .custom-card > div:first-child { padding-right: 12px; padding-left: 12px; }
    .theme_5 .card .custom-card .card-bg { width: 145px; }
    .theme_5 .card .custom-card .profile { width: 108px; height: 108px; right: 14px; top: -118px; }
    .theme_6 .card .custom-card .profile { right: 17px; }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    
    .container {
        max-width: 960px;
    }
    /*.card .profile,
    .card .profile svg {
        width: 120px;
        height: 120px;
    }

    .theme_3 .card figcaption:before {
        height: 100px;
    }*/
}


/* ===== 24 · Compartir perfil: QR, enlace y redes ===== */
/* V4.4.2 · Contactos: hover suave, sin bloques de color saturado.
   Compatible con enlaces estáticos, enlaces inyectados dentro de span y
   acciones personalizadas (por ejemplo toggleForm). Excluye .add-contact.
   El color de hover del cliente se utiliza como acento; el texto conserva
   su color normal. Los iconos usan el par contrastado calculado en PHP. */
.card .custom-card .contact-details a.contact-details-item:not(.add-contact) {
    transition: background-color .2s ease, border-color .2s ease,
                box-shadow .2s ease, color .2s ease;
}

.card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active) {
    background-color: var(--card-gb);
    background-color: color-mix(in srgb, var(--card-gb) 90%, var(--card-gb-hover) 10%);
    background-image: none;
    color: var(--card-font-color);
    box-shadow: none;
    text-shadow: none;
    border-radius: 25px;
    padding-left: 10px;
}

/* La etiqueta h6 no debe recuperar colores antiguos del enlace. */
.card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active) h6 {
    color: inherit;
    text-shadow: none;
}

.card .custom-card .contact-details a.contact-details-item:not(.add-contact):focus-visible {
    outline: 2px solid var(--card-gb-hover);
    outline-offset: 2px;
}

/* Círculo y pictograma: colores opuestos con contraste calculado en PHP. */
.card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active) :is(.btn-icon, .icon-circle) {
    background-color: var(--card-gb-hover);
    color: var(--tap-hover-text-color);
    transform: none;
}
.card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active) .iconsvg {
    color: var(--tap-hover-text-color);
    fill: var(--tap-hover-text-color);
}

/* Temas clásicos: destacar el enlace sin convertirlo en un bloque cuadrado.
   Se limita el cambio al estado interactivo para preservar el diseño normal. */
.theme_1 .card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active),
.theme_3 .card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active) {
    border-radius: 10px;
}

/* Transiciones de color e iconos, sin desplazamiento ni cambio de tamaño. */
.card .custom-card .contact-details a.contact-details-item:not(.add-contact) :is(.btn-icon, .icon-circle) {
    transition: background-color .2s ease, color .2s ease;
}
.card .custom-card .contact-details a.contact-details-item:not(.add-contact) .iconsvg {
    transition: fill .2s ease, color .2s ease;
}

/* Identidad visual por tema: mantenemos sus formas, no un hover único. */
.theme_2 .card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active) {
    background-color: color-mix(in srgb, var(--card-gb) 92%, var(--card-gb-hover) 8%);
    border-color: var(--card-gb-hover);
    border-radius: 14px;
}
.theme_5 .card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active) {
    background-color: color-mix(in srgb, var(--card-gb) 90%, var(--card-gb-hover) 10%);
    border-left: 3px solid var(--card-gb-hover);
    border-radius: 9px;
}
.theme_6 .card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active) {
    background-color: color-mix(in srgb, var(--card-gb) 88%, var(--card-gb-hover) 12%);
    border-top: 1px solid var(--card-gb-hover);
    border-bottom: 1px solid var(--card-gb-hover);
    border-right: 3px solid var(--card-gb-hover);
    border-radius: 9px;
}

@media (prefers-reduced-motion: reduce) {
    .card .custom-card .contact-details a.contact-details-item:not(.add-contact),
    .card .custom-card .contact-details a.contact-details-item:not(.add-contact) :is(.btn-icon, .icon-circle, .iconsvg) {
        transition: none;
    }
}

.card.tap-share-card {
    margin: 1rem 0;
    border: 2px solid var(--card-gb);
    border-radius: 20px;
    background-color: var(--card-gb)!important;
    background-image: none!important;
    color: var(--card-font-color);
    overflow: hidden;
    box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
}

.tap-share-card .tap-share-card__header {
    padding: 0.8rem 1rem;
    background: var(--card-font-color);
    border-bottom: 3px solid var(--card-gb);
}

.tap-share-card .tap-share-card__header h3 {
    margin: 0;
    color: var(--card-gb);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.tap-share-card .tap-share-card__body,
.tap-share-card .tap-share-card__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.tap-share-card .tap-share-card__body {
    padding: 1.25rem;
}

.tap-share-card .tap-share-card__qr-frame {
    display: inline-flex;
    max-width: 100%;
    padding: 6px;
    border-radius: 18px;
    background: var(--card-gb);
    box-shadow: 0 5px 16px rgb(0 0 0 / 18%);
}

.tap-share-card .tap-share-card__qr-frame img {
    display: block;
    width: clamp(210px, 60vw, 230px);
    max-width: 100%;
    height: auto;
    border-radius: 13px;
}

.tap-share-card .tap-share-card__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.85rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    background-color: var(--card-gb-hover);
    background-image: none;
    color: var(--tap-hover-text-color);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.tap-share-card .tap-share-card__download:hover,
.tap-share-card .tap-share-card__download:focus-visible,
.tap-share-card .tap-share-card__download:active {
    color: var(--tap-hover-text-color);
    filter: brightness(1.08);
}

.tap-share-card .tap-share-card__notice {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: var(--card-font-color);
    color: var(--card-gb);
    font-size: 0.9rem;
    font-weight: 600;
}

.tap-share-card .tap-share-card__url {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    margin-top: 1.25rem;
    border: 2px solid var(--card-font-color);
    border-radius: 999px;
    background: var(--card-font-color);
    overflow: hidden;
}

.tap-share-card .tap-share-card__url-display {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.7rem 0.8rem;
    color: var(--card-gb);
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.tap-share-card .tap-share-card__url-display::-webkit-scrollbar {
    display: none;
}

.tap-share-card .tap-share-card__url-display:focus-visible {
    outline: 0;
    box-shadow: inset 0 0 0 2px var(--theme-gb);
}

.tap-share-card .tap-share-card__domain {
    color: var(--card-gb);
    font-weight: 400;
    opacity: 0.72;
}

.tap-share-card .tap-share-card__slug {
    color: var(--card-gb);
    font-weight: 800;
}

.tap-share-card .tap-share-card__url #copyButton {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.9rem;
    border: 0;
    border-left: 2px solid var(--card-font-color);
    border-radius: 999px;
    background: var(--card-gb);
    color: var(--card-font-color);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    min-height: 44px;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tap-share-card .tap-share-card__url #copyButton:hover,
.tap-share-card .tap-share-card__url #copyButton:focus-visible,
.tap-share-card .tap-share-card__url #copyButton:active {
    background: var(--tap-copy-hover-background);
    background-image: none;
    color: var(--tap-hover-text-color);
}

.tap-share-card .tap-share-card__socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 1.25rem;
}

.tap-share-card .tap-share-card__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--card-font-color);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.25rem;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.tap-share-card .tap-share-card__socials a:hover,
.tap-share-card .tap-share-card__socials a:focus-visible {
    color: #ffffff;
    filter: brightness(1.12);
}

.tap-share-card .tap-share-card__socials .tap-icon {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    color: inherit;
}

.tap-share-card .icon-whatsapp { background: #25D366; }
.tap-share-card .icon-facebook { background: #1877F2; }
.tap-share-card .icon-twitter { background: #1DA1F2; }
.tap-share-card .icon-linkedin { background: #0077B5; }
.tap-share-card .icon-email { background: #6c757d; }

.tap-share-card #alert-message {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    z-index: 1000;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: var(--card-font-color);
    color: var(--card-gb);
    box-shadow: 0 5px 18px rgb(0 0 0 / 25%);
    font-size: 0.95rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 1rem);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.tap-share-card #alert-message.alert-message-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 360px) {
    .tap-share-card .tap-share-card__body {
        padding: 1rem 0.75rem;
    }

    .tap-share-card .tap-share-card__url-display {
        padding-right: 0.6rem;
        padding-left: 0.6rem;
        font-size: 0.82rem;
    }

    .tap-share-card .tap-share-card__url #copyButton {
        padding-right: 0.7rem;
        padding-left: 0.7rem;
        font-size: 0.85rem;
    }
}



/* ===== 25 · Formularios de contacto del perfil ===== */
.formulario-compartir {
    text-align: center;
    position: relative;
    margin-top: 5px;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.formulario-compartir fieldset {
    box-sizing: border-box;
    position: relative;
    border: none;
    padding: 0;
    margin: 0;
}

/* ===== INPUTS Y TEXTAREA - ESTILO MODERNO ===== */
.formulario-compartir input, 
.formulario-compartir textarea {
    padding: 16px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
    background-color: #f8f9fa;
    color: #2c3e50;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Placeholders elegantes */
.formulario-compartir input::placeholder,
.formulario-compartir textarea::placeholder {
    color: #6c757d;
    font-weight: 400;
}

/* Estados de focus mejorados */
.formulario-compartir input:focus,
.formulario-compartir textarea:focus {
    border: 2px solid #484a4bff;
    background-color: #ffffff;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto hover sutil */
.formulario-compartir input:hover,
.formulario-compartir textarea:hover {
    border: 2px solid #bdc3c7;
    background-color: #ffffff;
}

/* Textarea específico */
.formulario-compartir textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ===== BOTÓN PRINCIPAL MEJORADO ===== */
.formulario-compartir .action-button {
    width: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    font-weight: 600;
    color: #ffffff;
    border: 0 none;
    border-radius: 12px;
    cursor: pointer;
    padding: 16px 24px;
    margin: 20px 0 10px 0;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Efecto hover del botón */
.formulario-compartir .action-button:hover,
.formulario-compartir .action-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.3);
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

/* Efecto activo del botón */
.formulario-compartir .action-button:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

/* ===== ESTADOS DE VALIDACIÓN ===== */
.formulario-compartir input:valid,
.formulario-compartir textarea:valid {
    border-left: 3px solid #27ae60;
}

.formulario-compartir input:invalid:not(:placeholder-shown),
.formulario-compartir textarea:invalid:not(:placeholder-shown) {
    border-left: 3px solid #e74c3c;
}

/* ===== ETIQUETAS VISUALES (OPCIONAL) ===== */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: 500;
    /* color: #2c3e50; */
    font-size: 14px;
}

/* ===== ANIMACIONES Y MICRO-INTERACCIONES ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.formulario-compartir fieldset {
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto de onda en el botón */
.formulario-compartir .action-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.formulario-compartir .action-button:focus::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* ===== MENSAJES DE ESTADO ===== */
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .formulario-compartir {
        padding: 20px;
        margin: 20px 10px;
        border-radius: 16px;
    }
    
    .formulario-compartir input, 
    .formulario-compartir textarea {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .formulario-compartir .action-button {
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .formulario-compartir {
        padding: 15px;
        border-radius: 12px;
    }
}

/* ===== ESTADOS DE DESHABILITADO ===== */
.formulario-compartir input:disabled,
.formulario-compartir textarea:disabled,
.formulario-compartir .action-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    background: #e9ecef;
    color: #6c757d;
}

.formulario-compartir .action-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ===== MEJORAS DE ACCESIBILIDAD ===== */
.formulario-compartir input:focus-visible,
.formulario-compartir textarea:focus-visible,
.formulario-compartir .action-button:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Alto contraste para mejor legibilidad */
@media (prefers-contrast: high) {
    .formulario-compartir input, 
    .formulario-compartir textarea {
        border: 2px solid #000000;
        background-color: #ffffff;
    }
    
    .formulario-compartir .action-button {
        background: #000000;
        color: #ffffff;
    }
}

/* Reduce motion para usuarios sensibles */
@media (prefers-reduced-motion: reduce) {
    .formulario-compartir input,
    .formulario-compartir textarea,
    .formulario-compartir .action-button {
        transition: none;
    }
    
    .formulario-compartir fieldset {
        animation: none;
    }
}

/* ===== LOADING STATE ===== */
.formulario-compartir.loading .action-button {
    position: relative;
    color: transparent;
}

.formulario-compartir.loading .action-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form_hidden,
.form_hidden_jobs {
    display: none;
}

form#form_jobs {
    border-radius: 50px !important;
    background: #ffffff50 !important;
    padding: 20px;
}

/*# sourceMappingURL=style.css.map */

@media (prefers-reduced-motion: reduce) {
    .card figcaption a.add-contact,
    .add_contact_fixed a.add-contact .btn-icon {
        transition: none;
    }
}

/* ===== 26 · Theme 7 — Action Tiles V3.4 (CSS-only, contraste adaptable) =====
   Solo figure.custom-card en theme_7. No modifica la estructura HTML/PHP
   ni la paleta del cliente; reutiliza las cuatro variables cromáticas.
   Mantiene el logo a todo el ancho, el retrato flotante y la cuadrícula.
*/

/* 26.1 · Cabecera: logo sin rellenos laterales */
.theme_7 .card .custom-card > div:first-child {
    padding: 0;
    background: var(--card-gb);
}

.theme_7 .card .custom-card .card-bg {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

/* 26.2 · Transición y retrato flotante */
.theme_7 .card .custom-card figcaption {
    position: relative;
    padding: 86px 22px 28px;
    background: var(--card-gb);
}

.theme_7 .card .custom-card figcaption::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--card-gb-hover);
    background-image: none; /* Neutraliza el degradado heredado. */
    opacity: .85;
    border: 0;
    border-radius: 0;
}


.theme_7 .card .custom-card .profile {
    position: absolute;
    top: -52px;
    left: 22px;
    z-index: 3;
    width: 114px;
    height: 114px;
    object-fit: cover;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    box-shadow:
        0 0 0 5px var(--card-gb),
        0 0 0 6px rgb(0 0 0 / 6%),
        0 14px 28px rgb(0 0 0 / 20%);
}

.theme_7 .card .custom-card h2 {
    margin-top: 0;
}

/* 26.3 · Cuadrícula: respeta el contenedor existente y los bloques no-enlace */
.theme_7 .card .custom-card .contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    padding: 10px 0 22px;
}

.theme_7 .card .custom-card .contact-details > :has(a.contact-details-item:not(.add-contact)) {
    min-width: 0;
    margin: 0;
}

.theme_7 .card .custom-card .contact-details > :not(:has(a.contact-details-item:not(.add-contact))),
.theme_7 .card .custom-card .contact-details > :has(a.add-contact) {
    grid-column: 1 / -1;
    min-width: 0;
}

/* 26.4 · Action tiles: inversión de colores del propio perfil.
   No supone fondo claro/oscuro, ni utiliza mezclas con blanco.
   El par card-gb/card-font-color debe tener buen contraste (WCAG). */
.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 128px;
    height: 100%;
    margin: 0;
    padding: 80px 9px 14px;
    border: 4px solid var(--card-gb-hover);
    border-radius: 15px;
    background-color: var(--card-font-color);
    background-image: none;
    color: var(--card-gb);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgb(0 0 0 / 12%);
    overflow: hidden;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

/* El pictograma se centra con respecto al enlace, no al contenido del h6. */
.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) :is(.btn-icon, .icon-circle) {
    position: absolute;
    top: 13px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    min-width: 40px;
    flex: 0 0 40px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background-color: var(--card-gb);
    color: var(--card-font-color);
    box-shadow: 0 2px 6px rgb(0 0 0 / 10%);
    transform: translateX(-50%);
}

.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) .iconsvg {
    fill: var(--card-font-color);
    color: var(--card-font-color);
    width: 1.5em;
    height: 1.5em;
}

/* El selector incluye h6.text-left (Bootstrap usa !important). */
.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) h6 {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: .82rem;
    line-height: 1.35;
    font-weight: 500;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) h6.text-left {
    text-align: center !important;
}

/* Conserva en línea las piezas del correo (usuario, @ y dominio). */
.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) h6 span:not(.icon-circle):not(.btn-icon) {
    display: inline;
}

.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) .display-arroba {
    margin-left: 0;
    margin-right: 0;
}

.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) img {
    max-width: 100%;
}

/* 26.5 · Interacción: fondo consistente, borde/acento visible. */
.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active) {
    background-color: var(--card-font-color);
    background-image: none;
    border-color: var(--card-gb-hover);
    border-radius: 15px;
    color: var(--card-gb);
    box-shadow: 0 6px 16px rgb(0 0 0 / 18%);
}

.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active) h6 {
    color: inherit;
}

.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active) :is(.btn-icon, .icon-circle) {
    background-color: var(--card-gb-hover);
    color: var(--tap-hover-text-color);
    transform: translateX(-50%); /* Cancela el desplazamiento de las reglas globales. */
}

.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact):is(:hover, :focus-visible, :active) .iconsvg {
    fill: var(--tap-hover-text-color);
    color: var(--tap-hover-text-color);
}

.theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact):focus-visible {
    outline: 2px solid var(--card-gb-hover);
    outline-offset: 3px;
}

/* 26.6 · Los CTA de guardar contacto son globales (secciones 21–22). */

/* 26.7 · Responsive y preferencias de accesibilidad */
@media (max-width: 380px) {
    .theme_7 .card .custom-card figcaption {
        padding: 80px 18px 24px;
    }

    .theme_7 .card .custom-card .profile {
        top: -48px;
        left: 18px;
        width: 96px;
        height: 96px;
    }
}

@media (max-width: 350px) {
    .theme_7 .card .custom-card .contact-details {
        gap: 8px;
    }

    .theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) {
        padding-left: 7px;
        padding-right: 7px;
    }

    .theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) h6 {
        font-size: .78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .theme_7 .card .custom-card .contact-details a.contact-details-item:not(.add-contact) {
        transition: none;
    }
}
