/*
=========================================================
ARCHIVO: components.css
UBICACIÓN: static/css/
FUNCIÓN: componentes reutilizables para templates públicos
USO: T1, T2 y T3
=========================================================
*/

/* =========================================================
   TOPBAR COMPARTIDA
========================================================= */
.t1-topbar,
.t2-topbar,
.t3-topbar {
    color: #ffffff;
    font-size: 13px;
    padding: 10px 18px;
}

.t1-topbar {
    background: var(--brand-primary);
}

.t2-topbar,
.t3-topbar {
    background: var(--brand-dark);
}

.t1-topbar-inner,
.t2-topbar-inner,
.t3-topbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.t1-topbar-left,
.t1-topbar-right,
.t2-topbar-left,
.t2-topbar-right,
.t3-topbar-left,
.t3-topbar-right {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.t1-topbar a,
.t2-topbar a,
.t3-topbar a {
    color: #ffffff;
    opacity: 0.96;
}

/* =========================================================
   HEADER COMPARTIDO
========================================================= */
.t1-header,
.t2-header,
.t3-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--brand-border);
}

.t1-header-inner,
.t2-header-inner,
.t3-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.t1-brand,
.t2-brand,
.t3-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.t1-brand-logo,
.t2-brand-logo,
.t3-brand-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 14px;
    background: #ffffff;
    padding: 4px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--brand-border);
}

.t3-brand-logo {
    width: 62px;
    height: 62px;
}

.t1-brand-text h1,
.t2-brand-text h1,
.t3-brand-text h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
}

.t1-brand-text p,
.t2-brand-text p,
.t3-brand-text p {
    margin: 4px 0 0;
    color: var(--brand-muted);
    font-size: 14px;
    line-height: 1.5;
}

.t1-nav,
.t2-nav,
.t3-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.t1-nav a,
.t2-nav a,
.t3-nav a {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-text);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.t1-nav a:hover,
.t2-nav a:hover,
.t3-nav a:hover {
    background: var(--brand-soft);
    transform: translateY(-1px);
}

/* =========================================================
   SECCIONES REUTILIZABLES
========================================================= */
.t1-section,
.t2-section,
.t3-section {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 34px;
}

.t1-section-title,
.t2-section-title,
.t3-section-title {
    margin: 0 0 12px;
    color: var(--brand-primary);
}

.t1-section-title,
.t2-section-title {
    font-size: 36px;
}

.t3-section-title {
    font-size: 38px;
}

.t1-section-text,
.t2-section-text,
.t3-section-text {
    margin: 0 0 22px;
    color: var(--brand-muted);
    font-size: 17px;
    line-height: 1.8;
}

/* =========================================================
   BADGES
========================================================= */
.t1-badges,
.t2-badges,
.t3-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.t1-badge,
.t2-badge,
.t3-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--brand-primary);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

/* =========================================================
   BOTONES REUTILIZABLES
========================================================= */
.btn-t1,
.btn-t2,
.btn-t3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--shadow-soft);
}

.btn-t1:hover,
.btn-t2:hover,
.btn-t3:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--brand-primary);
    color: #ffffff !important;
}

.btn-secondary {
    background: var(--brand-secondary);
    color: #111111 !important;
}

.btn-light {
    background: #ffffff;
    color: var(--brand-primary) !important;
    border-color: var(--brand-border);
}

/* Variantes según estilo de botón */
body[data-button-style="rounded"] .btn-t1,
body[data-button-style="rounded"] .btn-t2,
body[data-button-style="rounded"] .btn-t3 {
    border-radius: 14px;
}

body[data-button-style="square"] .btn-t1,
body[data-button-style="square"] .btn-t2,
body[data-button-style="square"] .btn-t3 {
    border-radius: 6px;
}

body[data-button-style="pill"] .btn-t1,
body[data-button-style="pill"] .btn-t2,
body[data-button-style="pill"] .btn-t3 {
    border-radius: 999px;
}

body[data-button-style="soft"] .btn-t1,
body[data-button-style="soft"] .btn-t2,
body[data-button-style="soft"] .btn-t3 {
    border-radius: 14px;
    box-shadow: none;
}

/* Ajustes según modo visual */
body[data-style-mode="corporate"] .btn-t1,
body[data-style-mode="corporate"] .btn-t2,
body[data-style-mode="corporate"] .btn-t3 {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.05em;
}

body[data-style-mode="minimal"] .btn-t1,
body[data-style-mode="minimal"] .btn-t2,
body[data-style-mode="minimal"] .btn-t3 {
    box-shadow: none;
}

body[data-style-mode="elegant"] .btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), #1f2937);
}

body[data-style-mode="modern"] .btn-secondary {
    box-shadow: 0 14px 26px rgba(245, 158, 11, 0.22);
}

/* =========================================================
   HERO COMPARTIDO
========================================================= */
.t1-hero,
.t2-hero,
.t3-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
    align-items: center;
}

.t1-hero-title,
.t2-hero-title,
.t3-hero-title {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--brand-primary);
}

.t1-hero-text,
.t2-hero-text,
.t3-hero-text {
    margin: 0 0 20px;
    color: var(--brand-muted);
    font-size: 18px;
    line-height: 1.8;
    max-width: 760px;
}

.t1-hero-actions,
.t2-hero-actions,
.t3-hero-actions,
.t1-cta-actions,
.t2-cta-actions,
.t3-cta-actions,
.t1-card-actions,
.t2-card-actions,
.t3-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.t1-hero-points,
.t2-hero-points {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
}

.t1-hero-point,
.t2-hero-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--brand-text);
    font-size: 16px;
    line-height: 1.65;
}

.t1-hero-check,
.t2-hero-check,
.t1-list-check,
.t2-list-check {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(21, 128, 61, 0.12);
    color: var(--brand-success);
    font-size: 14px;
    font-weight: 900;
}

.t1-hero-proof,
.t2-hero-proof,
.t3-hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

/* =========================================================
   TARJETAS Y PLACEHOLDERS
========================================================= */
.t1-card,
.t2-card,
.t3-card,
.t1-proof-card,
.t2-proof-card,
.t3-proof-card,
.t2-testimonial,
.t3-testimonial,
.t2-contact-box,
.t2-contact-actions,
.t3-contact-box,
.t3-contact-actions,
.t2-step {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.t1-card,
.t2-card,
.t3-card,
.t2-testimonial,
.t3-testimonial,
.t2-contact-box,
.t2-contact-actions,
.t3-contact-box,
.t3-contact-actions,
.t2-step {
    padding: 24px;
}

.t1-proof-card,
.t2-proof-card,
.t3-proof-card {
    padding: 20px;
}

.t1-proof-number,
.t2-proof-number,
.t3-proof-number {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    color: var(--brand-primary);
}

.t1-proof-text,
.t2-proof-text,
.t3-proof-text,
.t1-card-text,
.t2-card-text,
.t3-card-text,
.t2-testimonial-author,
.t3-testimonial-author {
    color: var(--brand-muted);
    line-height: 1.7;
}

.t1-card-title,
.t2-card-title,
.t3-card-title,
.t2-step-title {
    margin: 0 0 10px;
    font-size: 22px;
    color: var(--brand-primary);
}

.t1-card-body,
.t2-card-body,
.t3-card-body {
    display: grid;
    gap: 14px;
}

.t1-card-media,
.t2-card-media,
.t3-card-media,
.t1-split-media,
.t2-about-media,
.t3-split-media,
.t1-hero-media,
.t2-hero-media,
.t3-hero-media {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.t1-card-media img,
.t2-card-media img,
.t3-card-media img,
.t1-split-media img,
.t2-about-media img,
.t3-split-media img,
.t1-hero-media img,
.t2-hero-media img,
.t3-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t1-placeholder,
.t2-placeholder,
.t3-placeholder {
    min-height: 260px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(17, 24, 39, 0.18);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.92), rgba(248,250,252,0.94));
    color: var(--brand-muted);
    line-height: 1.7;
}

/* =========================================================
   LISTAS Y GRIDS
========================================================= */
.t1-grid-3,
.t2-grid-3,
.t3-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.t1-grid-4,
.t3-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.t3-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.t1-split,
.t2-split,
.t3-split,
.t2-about,
.t2-contact-grid,
.t3-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: center;
}

.t1-list,
.t2-list {
    display: grid;
    gap: 14px;
}

.t1-list-item,
.t2-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.7;
}

/* =========================================================
   CTA FINAL Y FOOTER
========================================================= */
.t1-cta-final,
.t2-cta-final,
.t3-cta-final {
    position: relative;
    overflow: hidden;
}

.t1-cta-final::before,
.t2-cta-final::before,
.t3-cta-final::before {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 68%);
    pointer-events: none;
}

.t1-footer,
.t2-footer,
.t3-footer {
    background: var(--brand-dark);
    color: #e5e7eb;
    padding: 40px 18px 18px;
}

.t1-footer-inner,
.t2-footer-inner,
.t3-footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1fr;
    gap: 28px;
}

.t1-footer-title,
.t2-footer-title,
.t3-footer-title {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 18px;
}

.t1-footer-text,
.t2-footer-text,
.t3-footer-text,
.t1-footer-list,
.t2-footer-list,
.t3-footer-list {
    display: grid;
    gap: 10px;
    color: #cbd5e1;
    line-height: 1.7;
}

.t1-footer-bottom,
.t2-footer-bottom,
.t3-footer-bottom {
    max-width: var(--max-width);
    margin: 24px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
}

/* =========================================================
   RESPONSIVE DE COMPONENTES
========================================================= */
@media (max-width: 1100px) {
    .t1-hero,
    .t2-hero,
    .t3-hero,
    .t1-split,
    .t2-split,
    .t3-split,
    .t2-about,
    .t2-contact-grid,
    .t3-contact-grid,
    .t1-grid-4,
    .t3-grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .t1-hero-proof,
    .t2-hero-proof,
    .t3-hero-proof,
    .t1-grid-3,
    .t2-grid-3,
    .t3-grid-3,
    .t3-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .t1-footer-inner,
    .t2-footer-inner,
    .t3-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .t1-topbar,
    .t2-topbar,
    .t3-topbar,
    .t1-footer,
    .t2-footer,
    .t3-footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .t1-header-inner,
    .t2-header-inner,
    .t3-header-inner {
        padding: 14px;
    }

    .t1-section,
    .t2-section,
    .t3-section {
        padding: 24px;
    }

    .t1-section-title,
    .t2-section-title,
    .t3-section-title {
        font-size: 29px;
    }

    .t1-hero,
    .t2-hero,
    .t3-hero,
    .t1-split,
    .t2-split,
    .t3-split,
    .t2-about,
    .t2-contact-grid,
    .t3-contact-grid,
    .t1-grid-3,
    .t2-grid-3,
    .t3-grid-3,
    .t1-grid-4,
    .t3-grid-4,
    .t3-grid-2,
    .t1-hero-proof,
    .t2-hero-proof,
    .t3-hero-proof,
    .t1-footer-inner,
    .t2-footer-inner,
    .t3-footer-inner {
        grid-template-columns: 1fr;
    }

    .t1-brand,
    .t2-brand,
    .t3-brand {
        width: 100%;
    }

    .t1-nav,
    .t2-nav,
    .t3-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .btn-t1,
    .btn-t2,
    .btn-t3 {
        width: 100%;
    }

    .t1-hero-title,
    .t2-hero-title,
    .t3-hero-title {
        font-size: clamp(28px, 10vw, 42px);
    }

    .t1-placeholder,
    .t2-placeholder,
    .t3-placeholder {
        min-height: 220px;
    }
}
/* =====================================================
   FASE 6.5 — PERSONALIZACIÓN COMERCIAL GLOBAL
   Pegar al final de: static/css/components.css
===================================================== */

/* ------------------------------
   Variables dinámicas base
------------------------------ */

:root {
    --radius-soft: 18px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    --shadow-medium: 0 22px 60px rgba(15, 23, 42, 0.14);
    --container-width: 1180px;
}

/* ------------------------------
   Contenedores y secciones
------------------------------ */

.container,
.gs-container {
    width: min(var(--container-width), calc(100% - 32px));
    margin-inline: auto;
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading.center {
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
}

.section-heading h2 {
    margin: 10px 0 12px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 0;
    color: rgba(17, 24, 39, 0.72);
    font-size: 17px;
    line-height: 1.7;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    color: var(--brand-primary);
    background: color-mix(in srgb, var(--brand-accent) 12%, transparent);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
}

/* ------------------------------
   Grids reutilizables
------------------------------ */

.grid {
    display: grid;
    gap: 24px;
}

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

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

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

/* ------------------------------
   Iconos globales
------------------------------ */

.social-icon,
.footer-social-icon,
.contact-icon,
.topbar-icon,
.header-icon,
.nav-icon,
.inline-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    max-width: 18px;
    min-height: 18px;
    max-height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    flex-shrink: 0;
    line-height: 1;
}

.social-icon svg,
.footer-social-icon svg,
.contact-icon svg,
.topbar-icon svg,
.header-icon svg,
.nav-icon svg,
.inline-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.social-links,
.footer-socials,
.topbar-contact,
.header-contact,
.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a,
.footer-socials a,
.topbar-contact a,
.header-contact a,
.contact-row a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

/* ------------------------------
   Topbar / Header / Footer
------------------------------ */

.site-topbar,
.t1-topbar,
.t2-topbar,
.t3-topbar {
    background: var(--brand-primary);
    color: #ffffff;
    font-size: 14px;
}

.site-topbar a,
.t1-topbar a,
.t2-topbar a,
.t3-topbar a {
    color: inherit;
    opacity: 0.94;
}

.site-topbar-inner,
.t1-topbar-inner,
.t2-topbar-inner,
.t3-topbar-inner {
    width: min(var(--container-width), calc(100% - 32px));
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 10px 0;
}

.site-header,
.t1-header,
.t2-header,
.t3-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 60;
}

.site-header-inner,
.t1-header-inner,
.t2-header-inner,
.t3-header-inner {
    width: min(var(--container-width), calc(100% - 32px));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}

.site-logo,
.t1-logo,
.t2-logo,
.t3-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--brand-text);
    font-weight: 800;
}

.site-logo img,
.t1-logo img,
.t2-logo img,
.t3-logo img {
    width: auto;
    max-width: 150px;
    max-height: 54px;
    object-fit: contain;
    display: block;
}

.site-footer,
.t1-footer,
.t2-footer,
.t3-footer {
    background: #0f172a;
    color: #ffffff;
    padding: 58px 0 28px;
}

.site-footer a,
.t1-footer a,
.t2-footer a,
.t3-footer a {
    color: inherit;
    text-decoration: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
}

.footer-title {
    font-weight: 800;
    margin-bottom: 14px;
}

.footer-list {
    display: grid;
    gap: 10px;
}

/* ------------------------------
   Botones
------------------------------ */

.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.admin-public-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 800;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.22s ease;
}

.btn-primary,
.admin-public-btn {
    background: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--brand-primary) 25%, transparent);
}

.btn-primary:hover,
.admin-public-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px color-mix(in srgb, var(--brand-primary) 34%, transparent);
}

.btn-secondary {
    background: var(--brand-accent);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: var(--brand-primary);
    border-color: color-mix(in srgb, var(--brand-primary) 24%, transparent);
}

/* Variantes por data attribute */

body[data-button-style="square"] .btn,
body[data-button-style="square"] .btn-primary,
body[data-button-style="square"] .btn-secondary,
body[data-button-style="square"] .btn-outline {
    border-radius: 6px;
}

body[data-button-style="rounded"] .btn,
body[data-button-style="rounded"] .btn-primary,
body[data-button-style="rounded"] .btn-secondary,
body[data-button-style="rounded"] .btn-outline {
    border-radius: 14px;
}

body[data-button-style="soft"] .btn,
body[data-button-style="soft"] .btn-primary,
body[data-button-style="soft"] .btn-secondary,
body[data-button-style="soft"] .btn-outline {
    border-radius: 18px;
}

/* ------------------------------
   Cards comerciales
------------------------------ */

.dynamic-card,
.t1-dynamic-card,
.t2-dynamic-card,
.t3-dynamic-card,
.commercial-card,
.featured-card {
    background: var(--brand-surface);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: 0.24s ease;
}

.dynamic-card:hover,
.t1-dynamic-card:hover,
.t2-dynamic-card:hover,
.t3-dynamic-card:hover,
.commercial-card:hover,
.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.card-content p {
    margin: 0 0 18px;
    color: rgba(17, 24, 39, 0.72);
    line-height: 1.65;
}

.price-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 8px 0 18px;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--brand-accent) 14%, transparent);
    color: var(--brand-primary);
    font-weight: 900;
}

/* Card style variants */

body[data-card-style="bordered"] .dynamic-card,
body[data-card-style="bordered"] .t1-dynamic-card,
body[data-card-style="bordered"] .t2-dynamic-card,
body[data-card-style="bordered"] .t3-dynamic-card {
    box-shadow: none;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, transparent);
}

body[data-card-style="flat"] .dynamic-card,
body[data-card-style="flat"] .t1-dynamic-card,
body[data-card-style="flat"] .t2-dynamic-card,
body[data-card-style="flat"] .t3-dynamic-card {
    box-shadow: none;
    background: color-mix(in srgb, var(--brand-surface) 82%, #ffffff);
}

body[data-card-style="premium"] .dynamic-card,
body[data-card-style="premium"] .t1-dynamic-card,
body[data-card-style="premium"] .t2-dynamic-card,
body[data-card-style="premium"] .t3-dynamic-card {
    border: 1px solid color-mix(in srgb, var(--brand-accent) 32%, transparent);
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.16);
}

/* ------------------------------
   Imágenes y video
------------------------------ */

.dynamic-image,
.t1-featured-image,
.t2-featured-image,
.t3-featured-image,
.commercial-image,
.featured-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: #e5e7eb;
}

.hero-media img,
.section-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.video-wrapper,
.t1-video-wrapper,
.t2-video-wrapper,
.t3-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    background: #0f172a;
    box-shadow: var(--shadow-soft);
}

.video-wrapper iframe,
.t1-video-wrapper iframe,
.t2-video-wrapper iframe,
.t3-video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* ------------------------------
   Layout visual por densidad
------------------------------ */

body[data-visual-density="compact"] .t1-section-spacing,
body[data-visual-density="compact"] .t2-section-spacing,
body[data-visual-density="compact"] .t3-section-spacing {
    padding: 56px 0;
}

body[data-visual-density="normal"] .t1-section-spacing,
body[data-visual-density="normal"] .t2-section-spacing,
body[data-visual-density="normal"] .t3-section-spacing {
    padding: 78px 0;
}

body[data-visual-density="spacious"] .t1-section-spacing,
body[data-visual-density="spacious"] .t2-section-spacing,
body[data-visual-density="spacious"] .t3-section-spacing {
    padding: 110px 0;
}

/* ------------------------------
   Responsivo
------------------------------ */

@media (max-width: 1024px) {
    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    .site-topbar-inner,
    .t1-topbar-inner,
    .t2-topbar-inner,
    .t3-topbar-inner,
    .site-header-inner,
    .t1-header-inner,
    .t2-header-inner,
    .t3-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-heading.center {
        text-align: left;
    }

    .card-content {
        padding: 20px;
    }

    .site-logo img,
    .t1-logo img,
    .t2-logo img,
    .t3-logo img {
        max-width: 132px;
    }
}

/* =========================================================
   FASE 6.5 — AJUSTE CONSERVADOR V3
   Objetivo: estabilizar T1/T2/T3 sin reestructurar HTML.
   Este bloque corrige header, topbar, iconos, grids, textos,
   multimedia y espaciado con cambios moderados.
========================================================= */

/* ---------- Contenedor global compatible ---------- */
.container,
.gs-container {
    width: min(var(--max-width, 1280px), calc(100% - 40px));
    margin-inline: auto;
}

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

img,
svg,
video,
iframe {
    max-width: 100%;
}

/* ---------- Iconos uniformes T1/T2/T3 ---------- */
.topbar-icon,
.header-icon,
.footer-social-icon,
.social-icon,
.contact-icon,
.inline-icon,
.nav-icon,
.t1-topbar svg,
.t2-topbar svg,
.t3-topbar svg,
.t1-footer svg,
.t2-footer svg,
.t3-footer svg,
.gs-header svg,
.gs-footer svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
    display: inline-block;
    object-fit: contain;
    vertical-align: middle;
}

.footer-socials a,
.social-links a,
.t1-footer a,
.t2-footer a,
.t3-footer a,
.t1-topbar a,
.t2-topbar a,
.t3-topbar a {
    align-items: center;
}

/* ---------- Header nuevo con clases gs-* ---------- */
.gs-header,
.t1-header,
.t2-header,
.t3-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 60 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.gs-header-inner,
.t1-header-inner,
.t2-header-inner,
.t3-header-inner {
    width: min(var(--max-width, 1280px), calc(100% - 40px)) !important;
    max-width: var(--max-width, 1280px) !important;
    margin-inline: auto !important;
    min-height: 86px !important;
    padding: 14px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    flex-wrap: nowrap !important;
}

.gs-brand,
.t1-brand,
.t2-brand,
.t3-brand {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 240px;
    max-width: 430px;
    color: var(--brand-text, #111827);
    text-decoration: none;
}

.gs-brand-logo,
.t1-brand-logo,
.t2-brand-logo,
.t3-brand-logo {
    width: 58px !important;
    height: 58px !important;
    flex: 0 0 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
}

.gs-brand-logo img,
.t1-brand-logo img,
.t2-brand-logo img,
.t3-brand-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    padding: 4px !important;
}

.gs-brand-placeholder,
.t1-brand-placeholder,
.t2-brand-placeholder,
.t3-brand-placeholder {
    font-weight: 900;
    font-size: 24px;
    line-height: 1;
    color: var(--brand-primary, #111827);
}

.gs-brand-copy,
.t1-brand-text,
.t2-brand-text,
.t3-brand-text {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.gs-brand-copy strong,
.t1-brand-text h1,
.t2-brand-text h1,
.t3-brand-text h1 {
    margin: 0 !important;
    color: var(--brand-primary, #111827) !important;
    font-size: clamp(20px, 1.8vw, 25px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
}

.gs-brand-copy small,
.t1-brand-text p,
.t2-brand-text p,
.t3-brand-text p {
    margin: 0 !important;
    max-width: 460px !important;
    color: var(--brand-muted, #667085) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.gs-nav,
.t1-nav,
.t2-nav,
.t3-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    min-width: 0;
}

.gs-nav a,
.t1-nav a,
.t2-nav a,
.t3-nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0 11px !important;
    border-radius: 11px !important;
    color: var(--brand-text, #344054) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.gs-header-cta {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-height: 46px !important;
    padding-inline: 22px !important;
}

/* ---------- Botones equilibrados ---------- */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-t1,
.btn-t2,
.btn-t3,
.admin-public-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-decoration: none !important;
}

.t1-hero-actions,
.t2-hero-actions,
.t3-hero-actions,
.t1-cta-actions,
.t2-cta-actions,
.t3-cta-actions,
.t1-card-actions,
.t2-card-actions,
.t3-card-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 22px !important;
}

/* ---------- Espaciado moderado ---------- */
.t1-main,
.t2-main,
.t3-main {
    padding-top: 28px !important;
}

.t1-stack,
.t2-stack,
.t3-stack {
    gap: 52px !important;
}

.t1-section,
.t2-section,
.t3-section,
.t1-hero-shell,
.t2-hero-shell,
.t3-hero-shell,
.t1-benefits-shell,
.t2-benefits-shell,
.t3-benefits-shell,
.t1-contact-shell,
.t2-contact-shell,
.t3-contact-shell,
.t1-cta-final,
.t2-cta-final,
.t3-cta-final {
    padding: 42px !important;
    border-radius: 26px !important;
}

.t1-section-head,
.t2-section-head,
.t3-section-head,
.section-heading {
    margin-bottom: 28px !important;
}

.section-heading.center {
    max-width: 820px !important;
    margin-inline: auto !important;
    text-align: center !important;
}

.t1-section-title,
.t2-section-title,
.t3-section-title,
.section-heading h2 {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
}

.t1-section-text,
.t2-section-text,
.t3-section-text,
.section-heading p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: 900px !important;
    line-height: 1.72 !important;
}

.t2-section-spacing,
.t1-section-spacing,
.t3-section-spacing {
    padding: 64px 0 !important;
}

/* ---------- T2: corrección fuerte pero conservadora ---------- */
.t2-page .gs-header-inner {
    display: grid !important;
    grid-template-columns: minmax(280px, 1fr) auto auto !important;
    align-items: center !important;
    column-gap: 24px !important;
    row-gap: 10px !important;
}

.t2-page .gs-brand {
    min-width: 0 !important;
    max-width: 460px !important;
}

.t2-page .gs-nav {
    justify-self: end !important;
}

.t2-page .gs-header-cta {
    justify-self: end !important;
}

.t2-hero {
    display: block !important;
}

.t2-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr) !important;
    gap: 34px !important;
    align-items: center !important;
}

.t2-hero-copy {
    min-width: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

.t2-hero-title {
    max-width: 720px !important;
    font-size: clamp(36px, 4.4vw, 64px) !important;
    line-height: 1.04 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
}

.t2-hero-text {
    max-width: 700px !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
    margin-bottom: 22px !important;
}

.t2-hero-media,
.t2-about-media,
.t2-card-media {
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 24px !important;
}

.t2-hero-media {
    min-height: 420px !important;
    max-height: 560px !important;
}

.t2-hero-media img,
.t2-about-media img,
.t2-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.t2-hero-media .t2-placeholder,
.t2-about-media .t2-placeholder,
.t2-card-media .t2-placeholder {
    min-height: inherit !important;
    height: 100% !important;
}

.t2-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
}

.t2-badge {
    max-width: 100% !important;
    min-height: 32px !important;
    padding: 0 13px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

.t2-grid-3,
.t2-grid-4,
.grid.grid-3,
.grid.grid-2 {
    align-items: stretch !important;
}

.t2-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px !important;
}

.t2-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.t2-card,
.t2-dynamic-card {
    min-width: 0 !important;
    height: 100% !important;
}

.t2-card-body,
.t2-card-content {
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.t2-card-content {
    padding: 24px !important;
}

.t2-card-media,
.t2-featured-image {
    aspect-ratio: 16 / 10 !important;
    min-height: 190px !important;
    max-height: 270px !important;
}

.t2-card-title,
.t2-card-content h3 {
    margin: 0 !important;
    font-size: clamp(23px, 2.2vw, 32px) !important;
    line-height: 1.12 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
}

.t2-card-text,
.t2-card-content p {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
    color: var(--brand-muted, #667085) !important;
}

.t2-card-actions,
.t2-card-content .btn,
.t2-card-content .btn-primary {
    margin-top: auto !important;
}

.t2-card-actions {
    justify-content: center !important;
    padding-top: 8px !important;
}

.t2-card-actions .btn-t2,
.t2-card-content .btn {
    align-self: center !important;
}

.t2-about {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr) !important;
    gap: 34px !important;
}

.t2-about-media {
    min-height: 360px !important;
    max-height: 500px !important;
}

.t2-list {
    gap: 13px !important;
    margin-top: 22px !important;
}

.t2-list-item {
    gap: 12px !important;
    line-height: 1.68 !important;
}

.t2-testimonials-editorial {
    padding: 0 !important;
    gap: 24px !important;
}

.t2-testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

.t2-contact-box {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 26px !important;
    align-items: center !important;
}

.t2-contact-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 22px !important;
}

/* ---------- T1: beneficios menos alargados y cierre más limpio ---------- */
.t1-page .grid.grid-3,
.t1-page .t1-grid-3 {
    max-width: 1180px !important;
    margin-inline: auto !important;
    gap: 24px !important;
}

.t1-page .t1-dynamic-card,
.t1-page .dynamic-card,
.t1-page .commercial-card,
.t1-card {
    min-width: 0 !important;
}

.t1-page .card-content,
.t1-page .t1-card-body {
    padding: 24px !important;
}

.t1-page .section-heading h2,
.t1-section-title,
.t1-hero-title {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
}

.t1-cta-final,
.t1-contact-shell {
    max-width: var(--max-width, 1280px) !important;
    margin-inline: auto !important;
}

/* ---------- Multimedia y placeholders ---------- */
.t1-placeholder,
.t2-placeholder,
.t3-placeholder {
    min-height: 240px !important;
    padding: 24px !important;
    border-radius: 22px !important;
    line-height: 1.55 !important;
}

.video-wrapper,
.t1-video-wrapper,
.t2-video-wrapper,
.t3-video-wrapper {
    aspect-ratio: 16 / 9 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
}

.video-wrapper iframe,
.t1-video-wrapper iframe,
.t2-video-wrapper iframe,
.t3-video-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
}

/* ---------- Desktop intermedio ---------- */
@media (max-width: 1180px) {
    .gs-header-inner,
    .t1-header-inner,
    .t2-header-inner,
    .t3-header-inner,
    .t2-page .gs-header-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        row-gap: 12px !important;
    }

    .gs-brand {
        max-width: calc(100% - 220px) !important;
    }

    .gs-nav,
    .t1-nav,
    .t2-nav,
    .t3-nav {
        order: 3 !important;
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .t2-hero-grid,
    .t2-about {
        grid-template-columns: 1fr !important;
    }

    .t2-hero-media,
    .t2-about-media {
        min-height: 340px !important;
        max-height: none !important;
    }

    .t2-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .t2-grid-3,
    .t2-testimonials-grid,
    .grid.grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .t1-footer-inner,
    .t2-footer-inner,
    .t3-footer-inner {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .container,
    .gs-container,
    .t1-topbar-inner,
    .t2-topbar-inner,
    .t3-topbar-inner,
    .gs-header-inner,
    .t1-header-inner,
    .t2-header-inner,
    .t3-header-inner,
    .t1-footer-inner,
    .t2-footer-inner,
    .t3-footer-inner,
    .t1-footer-bottom,
    .t2-footer-bottom,
    .t3-footer-bottom {
        width: min(100% - 28px, var(--max-width, 1280px)) !important;
    }

    .t1-topbar-inner,
    .t2-topbar-inner,
    .t3-topbar-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .t1-topbar-left,
    .t1-topbar-right,
    .t2-topbar-left,
    .t2-topbar-right,
    .t3-topbar-left,
    .t3-topbar-right {
        flex-wrap: wrap !important;
    }

    .gs-header-inner,
    .t1-header-inner,
    .t2-header-inner,
    .t3-header-inner,
    .t2-page .gs-header-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        min-height: auto !important;
        padding: 14px 0 !important;
    }

    .gs-brand,
    .t1-brand,
    .t2-brand,
    .t3-brand {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .gs-brand-logo,
    .t1-brand-logo,
    .t2-brand-logo,
    .t3-brand-logo {
        width: 52px !important;
        height: 52px !important;
        flex-basis: 52px !important;
    }

    .gs-brand-copy small,
    .t1-brand-text p,
    .t2-brand-text p,
    .t3-brand-text p {
        max-width: 100% !important;
    }

    .gs-nav,
    .t1-nav,
    .t2-nav,
    .t3-nav {
        order: initial !important;
        width: 100% !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        padding-bottom: 2px !important;
    }

    .gs-header-cta {
        width: 100% !important;
    }

    .t1-main,
    .t2-main,
    .t3-main {
        padding-top: 20px !important;
    }

    .t1-stack,
    .t2-stack,
    .t3-stack {
        gap: 34px !important;
    }

    .t1-section,
    .t2-section,
    .t3-section,
    .t1-hero-shell,
    .t2-hero-shell,
    .t3-hero-shell,
    .t1-benefits-shell,
    .t2-benefits-shell,
    .t3-benefits-shell,
    .t1-contact-shell,
    .t2-contact-shell,
    .t3-contact-shell,
    .t1-cta-final,
    .t2-cta-final,
    .t3-cta-final {
        padding: 26px 22px !important;
        border-radius: 22px !important;
    }

    .section-heading.center {
        text-align: left !important;
    }

    .t1-section-title,
    .t2-section-title,
    .t3-section-title,
    .section-heading h2 {
        font-size: clamp(28px, 8vw, 38px) !important;
        line-height: 1.12 !important;
    }

    .t1-hero-title,
    .t2-hero-title,
    .t3-hero-title {
        font-size: clamp(32px, 10vw, 44px) !important;
        line-height: 1.08 !important;
    }

    .t2-hero-grid,
    .t2-grid-3,
    .t2-grid-4,
    .t2-testimonials-grid,
    .t2-about,
    .t2-contact-box,
    .grid.grid-2,
    .grid.grid-3,
    .grid.grid-4 {
        grid-template-columns: 1fr !important;
    }

    .t2-hero-media,
    .t2-about-media {
        min-height: 260px !important;
    }

    .t2-card-media,
    .t2-featured-image {
        min-height: 180px !important;
    }

    .t2-contact-actions {
        padding: 18px !important;
    }

    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-t1,
    .btn-t2,
    .btn-t3 {
        width: 100% !important;
    }

    .t1-footer-inner,
    .t2-footer-inner,
    .t3-footer-inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* =========================================================
   FASE 6.5 — V4 AJUSTE FINO TOPBAR + FOOTER
   Corrección conservadora sobre V3:
   - Iconos visibles y uniformes en topbar/footer.
   - Footer con columnas centradas, contacto equilibrado y redes limpias.
   - Sin aumentar aire general ni alterar secciones principales.
========================================================= */

/* ---------- Footer legacy: estructura centrada y limpia ---------- */
.t1-footer,
.t2-footer,
.t3-footer,
.site-footer {
    background: var(--brand-dark, #111827) !important;
    color: #e5e7eb !important;
    padding: 46px 0 22px !important;
}

.t1-footer-inner,
.t2-footer-inner,
.t3-footer-inner {
    width: min(var(--max-width, 1280px), calc(100% - 40px)) !important;
    max-width: var(--max-width, 1280px) !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.7fr) minmax(240px, 0.9fr) !important;
    align-items: start !important;
    gap: 42px !important;
}

.t1-footer-inner > *,
.t2-footer-inner > *,
.t3-footer-inner > * {
    min-width: 0 !important;
}

.t1-footer-inner > *:nth-child(2),
.t2-footer-inner > *:nth-child(2),
.t3-footer-inner > *:nth-child(2),
.t1-footer-inner > *:nth-child(3),
.t2-footer-inner > *:nth-child(3),
.t3-footer-inner > *:nth-child(3) {
    text-align: center !important;
    justify-self: center !important;
}

.t1-footer-title,
.t2-footer-title,
.t3-footer-title,
.footer-title,
.t1-footer h2,
.t1-footer h3,
.t1-footer h4,
.t2-footer h2,
.t2-footer h3,
.t2-footer h4,
.t3-footer h2,
.t3-footer h3,
.t3-footer h4 {
    color: #ffffff !important;
    opacity: 1 !important;
    margin: 0 0 14px !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

.t1-footer p,
.t2-footer p,
.t3-footer p,
.t1-footer-text,
.t2-footer-text,
.t3-footer-text {
    color: #dbe4f0 !important;
    opacity: 1 !important;
    line-height: 1.72 !important;
    margin-top: 0 !important;
}

.t1-footer-list,
.t2-footer-list,
.t3-footer-list,
.t2-footer-links,
.footer-list {
    display: grid !important;
    gap: 8px !important;
    color: #dbe4f0 !important;
    line-height: 1.55 !important;
    justify-items: center !important;
}

.t1-footer a,
.t2-footer a,
.t3-footer a,
.site-footer a {
    color: #ffffff !important;
    opacity: 0.96 !important;
    text-decoration: none !important;
}

.t1-footer a:hover,
.t2-footer a:hover,
.t3-footer a:hover,
.site-footer a:hover {
    opacity: 1 !important;
    color: #ffffff !important;
}

/* Contacto/redes del footer: centrado y con botones circulares uniformes */
.footer-socials,
.t1-footer-socials,
.t2-footer-socials,
.t3-footer-socials,
.social-links,
.t1-footer .social-links,
.t2-footer .social-links,
.t3-footer .social-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 14px !important;
}

.footer-socials a,
.t1-footer-socials a,
.t2-footer-socials a,
.t3-footer-socials a,
.t1-footer .social-links a,
.t2-footer .social-links a,
.t3-footer .social-links a {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.footer-socials a:hover,
.t1-footer-socials a:hover,
.t2-footer-socials a:hover,
.t3-footer-socials a:hover,
.t1-footer .social-links a:hover,
.t2-footer .social-links a:hover,
.t3-footer .social-links a:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-1px) !important;
}

.t1-footer i,
.t2-footer i,
.t3-footer i,
.t1-footer svg,
.t2-footer svg,
.t3-footer svg,
.site-footer i,
.site-footer svg,
.footer-social-icon,
.social-icon {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: currentColor !important;
    opacity: 1 !important;
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;
    min-height: 17px !important;
    max-height: 17px !important;
    flex: 0 0 17px !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.t1-footer-bottom,
.t2-footer-bottom,
.t3-footer-bottom {
    width: min(var(--max-width, 1280px), calc(100% - 40px)) !important;
    max-width: var(--max-width, 1280px) !important;
    margin: 26px auto 0 !important;
    padding-top: 16px !important;
    text-align: center !important;
    color: #cbd5e1 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.t1-footer-bottom *,
.t2-footer-bottom *,
.t3-footer-bottom * {
    color: #cbd5e1 !important;
}

/* ---------- Contacto final: botones más limpios, sin aspecto pesado ---------- */
.t1-contact-actions,
.t2-contact-actions,
.t3-contact-actions {
    border-radius: 22px !important;
}

.t1-contact-actions .btn,
.t2-contact-actions .btn,
.t3-contact-actions .btn,
.t1-contact-actions .btn-primary,
.t2-contact-actions .btn-primary,
.t3-contact-actions .btn-primary,
.t1-contact-actions .btn-outline,
.t2-contact-actions .btn-outline,
.t3-contact-actions .btn-outline {
    min-height: 44px !important;
    padding-inline: 18px !important;
    border-radius: 14px !important;
}

/* ---------- Responsive conservador ---------- */
@media (max-width: 1180px) {
    .t1-topbar-inner,
    .t2-topbar-inner,
    .t3-topbar-inner {
        flex-wrap: wrap !important;
        row-gap: 8px !important;
    }

    .t1-topbar-right,
    .t2-topbar-right,
    .t3-topbar-right {
        margin-left: 0 !important;
    }

    .t1-footer-inner,
    .t2-footer-inner,
    .t3-footer-inner {
        grid-template-columns: 1fr 1fr !important;
    }

    .t1-footer-inner > *:first-child,
    .t2-footer-inner > *:first-child,
    .t3-footer-inner > *:first-child {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        max-width: 820px !important;
        justify-self: center !important;
    }
}

@media (max-width: 768px) {
    .t1-topbar-inner,
    .t2-topbar-inner,
    .t3-topbar-inner {
        align-items: center !important;
        text-align: center !important;
    }

    .t1-topbar-left,
    .t1-topbar-right,
    .t2-topbar-left,
    .t2-topbar-right,
    .t3-topbar-left,
    .t3-topbar-right {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px 12px !important;
    }

    .t1-footer,
    .t2-footer,
    .t3-footer {
        padding: 36px 0 20px !important;
    }

    .t1-footer-inner,
    .t2-footer-inner,
    .t3-footer-inner {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
        text-align: center !important;
    }

    .t1-footer-inner > *,
    .t2-footer-inner > *,
    .t3-footer-inner > * {
        justify-self: center !important;
        text-align: center !important;
    }

    .t1-footer-list,
    .t2-footer-list,
    .t3-footer-list,
    .t2-footer-links,
    .footer-list {
        justify-items: center !important;
    }
}

/* =========================================================
   FASE 6.5 - Topbar, logo/header y footer GS consolidados
   Corrige templates con clases reales gs-* y T1/T2/T3.
   No modifica estructura HTML.
========================================================= */

/* ---------- Topbar real: gs-topbar + T1/T2/T3 ---------- */
.gs-topbar,
.t1-topbar,
.t2-topbar,
.t3-topbar {
    background: var(--brand-dark, #111827) !important;
    color: #ffffff !important;
    padding: 9px 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

.gs-topbar .container,
.gs-topbar-inner,
.t1-topbar-inner,
.t2-topbar-inner,
.t3-topbar-inner {
    width: min(var(--max-width, 1280px), calc(100% - 40px)) !important;
    max-width: var(--max-width, 1280px) !important;
    margin-inline: auto !important;
    min-height: 30px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    flex-wrap: nowrap !important;
}

.gs-topbar *,
.t1-topbar *,
.t2-topbar *,
.t3-topbar * {
    color: #ffffff !important;
}

.gs-topbar-left,
.gs-topbar-right,
.t1-topbar-left,
.t1-topbar-right,
.t2-topbar-left,
.t2-topbar-right,
.t3-topbar-left,
.t3-topbar-right {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
}

.gs-topbar-left,
.t1-topbar-left,
.t2-topbar-left,
.t3-topbar-left {
    flex: 1 1 auto !important;
    overflow: hidden !important;
}

.gs-topbar-right,
.t1-topbar-right,
.t2-topbar-right,
.t3-topbar-right {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
}

.gs-topbar-item,
.gs-topbar-link,
.t1-topbar a,
.t2-topbar a,
.t3-topbar a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    opacity: 1 !important;
}

.t1-topbar-left > *,
.t1-topbar-right > *,
.t2-topbar-left > *,
.t2-topbar-right > *,
.t3-topbar-left > *,
.t3-topbar-right > * {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    white-space: nowrap !important;
}

.gs-topbar-message {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 520px !important;
}

.gs-topbar .gs-icon,
.gs-topbar svg,
.t1-topbar i,
.t2-topbar i,
.t3-topbar i,
.t1-topbar svg,
.t2-topbar svg,
.t3-topbar svg,
.t1-topbar .fa,
.t1-topbar .fas,
.t1-topbar .far,
.t1-topbar .fab,
.t2-topbar .fa,
.t2-topbar .fas,
.t2-topbar .far,
.t2-topbar .fab,
.t3-topbar .fa,
.t3-topbar .fas,
.t3-topbar .far,
.t3-topbar .fab {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    flex: 0 0 16px !important;
    display: inline-block !important;
    fill: currentColor !important;
    color: #ffffff !important;
    stroke: currentColor !important;
    opacity: 0.95 !important;
    vertical-align: middle !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

.t1-topbar i,
.t2-topbar i,
.t3-topbar i,
.t1-topbar .fa,
.t1-topbar .fas,
.t1-topbar .far,
.t1-topbar .fab,
.t2-topbar .fa,
.t2-topbar .fas,
.t2-topbar .far,
.t2-topbar .fab,
.t3-topbar .fa,
.t3-topbar .fas,
.t3-topbar .far,
.t3-topbar .fab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: -2px !important;
}

/* Evita que iconos heredados queden negros dentro de topbar */
.gs-topbar path,
.t1-topbar path,
.t2-topbar path,
.t3-topbar path {
    fill: currentColor !important;
}

/* ---------- Header: logo/placeholder visible ---------- */
.gs-brand-logo,
.t1-brand-logo,
.t2-brand-logo,
.t3-brand-logo {
    background: #ffffff !important;
    color: var(--brand-primary, #111827) !important;
}

.gs-brand-placeholder,
.t1-brand-placeholder,
.t2-brand-placeholder,
.t3-brand-placeholder,
.gs-brand-logo > span,
.t1-brand-logo > span,
.t2-brand-logo > span,
.t3-brand-logo > span {
    color: var(--brand-primary, #111827) !important;
    opacity: 1 !important;
}

.gs-brand-logo img,
.t1-brand-logo img,
.t2-brand-logo img,
.t3-brand-logo img {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ---------- Footer real: gs-footer ---------- */
.gs-footer,
.t1-footer,
.t2-footer,
.t3-footer {
    background: var(--brand-dark, #111827) !important;
    color: rgba(255, 255, 255, 0.88) !important;
    padding: 52px 0 26px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.gs-footer-grid,
.t1-footer-inner,
.t2-footer-inner,
.t3-footer-inner,
.footer-grid {
    width: min(var(--max-width, 1280px), calc(100% - 40px)) !important;
    max-width: var(--max-width, 1280px) !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: minmax(360px, 1.3fr) minmax(180px, 0.55fr) minmax(220px, 0.65fr) !important;
    gap: 56px !important;
    align-items: start !important;
    text-align: left !important;
}

.gs-footer h3,
.gs-footer h4,
.t1-footer-title,
.t2-footer-title,
.t3-footer-title,
.footer-title {
    color: #ffffff !important;
    opacity: 1 !important;
    margin: 0 0 18px !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

.gs-footer p,
.gs-footer span,
.gs-footer a,
.t1-footer p,
.t1-footer span,
.t1-footer a,
.t2-footer p,
.t2-footer span,
.t2-footer a,
.t3-footer p,
.t3-footer span,
.t3-footer a {
    color: rgba(255, 255, 255, 0.78) !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

.gs-footer-about p {
    max-width: 560px !important;
    margin: 0 0 22px !important;
    line-height: 1.75 !important;
}

.gs-footer-contact-list {
    display: grid !important;
    gap: 12px !important;
    margin-top: 18px !important;
}

.gs-footer-contact-list span,
.gs-footer-contact-list a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    width: fit-content !important;
}

.gs-footer-links,
.gs-footer-social {
    display: grid !important;
    gap: 12px !important;
    justify-items: start !important;
    text-align: left !important;
}

.gs-footer-links a {
    display: inline-flex !important;
    width: fit-content !important;
    line-height: 1.35 !important;
}

.gs-footer-links a:hover,
.gs-footer-social a:hover,
.gs-footer-contact-list a:hover {
    color: #ffffff !important;
}

.gs-social-icons,
.footer-socials {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-top: 4px !important;
}

.gs-social-icons a,
.footer-socials a {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.gs-footer .gs-icon,
.gs-footer svg,
.t1-footer svg,
.t2-footer svg,
.t3-footer svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;
    min-height: 17px !important;
    max-height: 17px !important;
    flex: 0 0 17px !important;
    fill: currentColor !important;
    color: currentColor !important;
    opacity: 1 !important;
}

.gs-footer path,
.t1-footer path,
.t2-footer path,
.t3-footer path {
    fill: currentColor !important;
}

.gs-social-icons a svg,
.footer-socials a svg {
    color: #ffffff !important;
    fill: currentColor !important;
}

.gs-footer-bottom,
.t1-footer-bottom,
.t2-footer-bottom,
.t3-footer-bottom {
    width: min(var(--max-width, 1280px), calc(100% - 40px)) !important;
    max-width: var(--max-width, 1280px) !important;
    margin: 34px auto 0 !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: center !important;
}

.gs-footer-bottom p,
.t1-footer-bottom p,
.t2-footer-bottom p,
.t3-footer-bottom p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 14px !important;
}

/* ---------- Responsive topbar/footer ---------- */
@media (max-width: 980px) {
    .gs-topbar-inner,
    .t1-topbar-inner,
    .t2-topbar-inner,
    .t3-topbar-inner {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px 14px !important;
        text-align: center !important;
    }

    .gs-topbar-left,
    .gs-topbar-right,
    .t1-topbar-left,
    .t1-topbar-right,
    .t2-topbar-left,
    .t2-topbar-right,
    .t3-topbar-left,
    .t3-topbar-right {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .gs-topbar-message {
        max-width: 100% !important;
        flex-basis: 100% !important;
        justify-content: center !important;
    }

    .gs-footer-grid,
    .t1-footer-inner,
    .t2-footer-inner,
    .t3-footer-inner,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
        justify-items: center !important;
    }

    .gs-footer-about p {
        max-width: 760px !important;
        text-align: center !important;
    }

    .gs-footer-contact-list,
    .gs-footer-links,
    .gs-footer-social {
        justify-items: center !important;
        text-align: center !important;
    }

    .gs-footer-contact-list span,
    .gs-footer-contact-list a,
    .gs-footer-links a {
        justify-content: center !important;
    }

    .gs-social-icons,
    .footer-socials {
        justify-content: center !important;
    }
}

@media (max-width: 640px) {
    .gs-topbar,
    .t1-topbar,
    .t2-topbar,
    .t3-topbar {
        font-size: 12px !important;
        padding: 8px 0 !important;
    }

    .gs-topbar-inner,
    .gs-footer-grid,
    .gs-footer-bottom {
        width: min(100% - 28px, var(--max-width, 1280px)) !important;
    }

    .gs-footer,
    .t1-footer,
    .t2-footer,
    .t3-footer {
        padding: 40px 0 22px !important;
    }
}

/* =========================================================
   V6 - Ajuste final mobile: topbar completa + copyright T3
   Mantiene la base V5 y corrige solo los dos problemas vistos
   en móvil real.
   ========================================================= */

@media (max-width: 768px) {
    .t1-topbar,
    .t2-topbar,
    .t3-topbar {
        padding: 10px 0 !important;
        overflow: visible !important;
    }

    .t1-topbar-inner,
    .t2-topbar-inner,
    .t3-topbar-inner {
        width: min(100% - 28px, var(--max-width, 1280px)) !important;
        margin-inline: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        overflow: visible !important;
        text-align: center !important;
    }

    .t1-topbar-left,
    .t1-topbar-right,
    .t2-topbar-left,
    .t2-topbar-right,
    .t3-topbar-left,
    .t3-topbar-right {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px 12px !important;
        flex-wrap: wrap !important;
        overflow: visible !important;
        text-align: center !important;
    }

    .t1-topbar-left > *,
    .t1-topbar-right > *,
    .t2-topbar-left > *,
    .t2-topbar-right > *,
    .t3-topbar-left > *,
    .t3-topbar-right > * {
        max-width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }

    .t1-topbar a,
    .t2-topbar a,
    .t3-topbar a,
    .t1-topbar span,
    .t2-topbar span,
    .t3-topbar span {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        line-height: 1.35 !important;
        color: #ffffff !important;
    }

    .t1-topbar svg,
    .t2-topbar svg,
    .t3-topbar svg,
    .t1-topbar i,
    .t2-topbar i,
    .t3-topbar i {
        flex: 0 0 auto !important;
        width: 16px !important;
        height: 16px !important;
        color: #ffffff !important;
        fill: currentColor !important;
        stroke: currentColor !important;
    }

    .t3-footer-bottom,
    .t3-footer-bottom p,
    .t3-footer-bottom span,
    .t3-footer-bottom small {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: auto !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 420px) {
    .t1-topbar,
    .t2-topbar,
    .t3-topbar {
        font-size: 12.5px !important;
    }

    .t1-topbar-inner,
    .t2-topbar-inner,
    .t3-topbar-inner {
        width: min(100% - 24px, var(--max-width, 1280px)) !important;
    }

    .t1-topbar-left,
    .t1-topbar-right,
    .t2-topbar-left,
    .t2-topbar-right,
    .t3-topbar-left,
    .t3-topbar-right {
        gap: 7px 10px !important;
    }
}
/* =========================================================
   FIX REAL T3 — COPYRIGHT CENTRADO DESKTOP + MOBILE
   HTML real: <footer class="t3-footer site-footer">
              <div class="container footer-bottom">
   ========================================================= */

.t3-footer.site-footer > .footer-bottom,
.t3-footer.site-footer > .container.footer-bottom {
    width: 100% !important;
    max-width: 100% !important;
    margin: 36px auto 0 !important;
    padding: 22px 20px 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    grid-column: 1 / -1 !important;
}

.t3-footer.site-footer > .footer-bottom p,
.t3-footer.site-footer > .container.footer-bottom p {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: block !important;
}

/* =========================================================
   Aliases y estabilizacion Fase 6.5
   Clases publicas presentes en templates T3.
========================================================= */

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.topbar-message {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 520px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: var(--brand-text, #111827);
    text-decoration: none;
}

.brand-logo-wrap {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    color: var(--brand-primary, #111827);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.brand-logo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 4px;
}

.brand-logo-placeholder {
    color: var(--brand-primary, #111827);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.brand-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.brand-copy strong {
    margin: 0;
    color: var(--brand-primary, #111827);
    font-size: clamp(20px, 1.8vw, 25px);
    line-height: 1.08;
}

.brand-copy small {
    margin: 0;
    max-width: 460px;
    color: var(--brand-muted, #667085);
    font-size: 14px;
    line-height: 1.45;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

.align-center {
    align-items: center;
}

.t1-hero-content {
    min-width: 0;
}

.t3-footer-grid {
    width: min(var(--max-width, 1280px), calc(100% - 40px));
    max-width: var(--max-width, 1280px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(360px, 1.3fr) minmax(180px, 0.55fr) minmax(220px, 0.65fr);
    gap: 56px;
    align-items: start;
    text-align: left;
}

.footer-brand-block,
.footer-contact-block,
.footer-links-block,
.footer-social-block {
    min-width: 0;
}

.footer-brand-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    padding: 4px;
}

.footer-small {
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
    .t3-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        justify-items: center;
    }

    .footer-brand-line {
        justify-content: center;
    }
}

/* =========================================================
   Componentes comerciales reutilizables multicliente
   Prefijo gs- para evitar conflictos con T1/T2/T3/admin.
========================================================= */

.gs-trust,
.gs-metric,
.gs-step,
.gs-highlight-grid,
.gs-contact-card-grid {
    display: grid;
    gap: 16px;
}

.gs-trust,
.gs-metric,
.gs-step {
    position: relative;
    z-index: 2;
}

.gs-trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gs-metric,
.gs-step,
.gs-highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gs-contact-card-grid {
    grid-template-columns: 1.15fr 1fr 1fr 0.9fr;
    align-items: stretch;
}

.gs-trust-item,
.gs-metric-item,
.gs-step-item,
.gs-highlight-item,
.gs-contact-card,
.gs-cta-band,
.gs-fallback {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.08), transparent 34%),
        rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
}

.gs-trust-item,
.gs-metric-item,
.gs-step-item,
.gs-highlight-item,
.gs-contact-card {
    padding: 22px;
    border-radius: 24px;
}

.gs-trust-marker,
.gs-step-marker,
.gs-contact-card-marker,
.gs-highlight-item span {
    display: inline-grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(99, 102, 241, 0.16);
}

.gs-trust-item strong,
.gs-metric-item strong,
.gs-step-item strong,
.gs-highlight-head strong,
.gs-highlight-item strong,
.gs-contact-card strong,
.gs-cta-band-copy strong,
.gs-fallback strong {
    display: block;
    color: var(--brand-primary);
    font-size: 20px;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.gs-trust-item p,
.gs-step-item p,
.gs-highlight-head p,
.gs-highlight-item p,
.gs-contact-card p,
.gs-cta-band-copy p,
.gs-fallback p {
    margin: 10px 0 0;
    color: #667085;
    line-height: 1.72;
}

.gs-metric-item {
    text-align: center;
}

.gs-metric-item strong {
    font-size: clamp(24px, 3vw, 36px);
}

.gs-metric-item span {
    display: block;
    margin-top: 8px;
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
}

.gs-highlight {
    display: grid;
    gap: 18px;
    margin: 28px 0;
}

.gs-highlight-head {
    display: grid;
    gap: 8px;
}

.gs-contact-card-main,
.gs-cta-band {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,248,252,0.98));
    border-color: rgba(99, 102, 241, 0.14);
}

.gs-contact-card a,
.gs-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 16px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.12);
    color: var(--brand-primary);
    font-weight: 800;
    text-decoration: none;
}

.gs-cta-band {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 28px;
    border-radius: 28px;
}

.gs-cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.gs-cta-link-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(99, 102, 241, 0.18);
}

.gs-cta-link-secondary {
    background: #ffffff;
}

.gs-fallback {
    display: grid;
    place-items: center;
    gap: 10px;
    width: 100%;
    min-height: 220px;
    padding: 28px;
    border-radius: 22px;
    text-align: center;
}

.gs-fallback-mark {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    opacity: 0.9;
}

.gs-trust-t1,
.gs-step-t2,
.gs-metric-t3 {
    margin-top: -28px;
}

@media (max-width: 1180px) {
    .gs-trust,
    .gs-metric,
    .gs-step,
    .gs-highlight-grid,
    .gs-contact-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gs-trust-t1,
    .gs-step-t2,
    .gs-metric-t3 {
        margin-top: 0;
    }

    .gs-cta-band {
        grid-template-columns: 1fr;
    }

    .gs-cta-band-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .gs-trust,
    .gs-metric,
    .gs-step,
    .gs-highlight-grid,
    .gs-contact-card-grid {
        grid-template-columns: 1fr;
    }

    .gs-trust-item,
    .gs-metric-item,
    .gs-step-item,
    .gs-highlight-item,
    .gs-contact-card,
    .gs-cta-band {
        padding: 20px;
        border-radius: 22px;
    }

    .gs-cta-band-actions,
    .gs-cta-link {
        width: 100%;
    }
}
