@media (max-width: 768px) {
    .gl-header-inner {
        align-items: flex-start;
        gap: 16px;
        flex-direction: column;
    }

    .gl-main-nav {
        flex-wrap: wrap;
        gap: 12px;
    }
}
@media (max-width: 1024px) {
    .gl-hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 60px;
    }

    .gl-hero-content {
        text-align: left;
    }

    .gl-hero-visual {
        min-height: auto;
    }

    .gl-hero-image-wrap {
        width: min(100%, 420px);
        margin: 0 auto;
    }

    .gl-hero-social {
        display: none;
    }
}

@media (max-width: 768px) {
    .gl-hero {
        padding: 130px 20px 70px;
    }

    .gl-hero-inner {
        min-height: auto;
    }

    .gl-hero-title {
        font-size: clamp(40px, 12vw, 58px);
    }

    .gl-hero-text {
        font-size: 16px;
    }

    .gl-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gl-btn {
        width: 100%;
    }

    .gl-hero-camera-shape {
        display: none;
    }
}
@media (max-width: 1100px) {
    .gl-what-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gl-section-inner {
        width: min(100% - 36px, 1180px);
    }

    .gl-what {
        padding: 90px 0 100px;
    }

    .gl-section-heading {
        margin-bottom: 36px;
    }

    .gl-section-heading h2 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .gl-section-heading p {
        font-size: 16px;
    }

    .gl-what-grid {
        grid-template-columns: 1fr;
    }

    .gl-what-card {
        min-height: 280px;
        padding: 26px;
    }

    .gl-card-link {
        left: 26px;
        bottom: 26px;
    }
}
@media (max-width: 640px) {
    .gl-card-link {
        left: auto;
        bottom: auto;
    }
}
/* ================================
   RESPONSIVE — PORTFOLIO
================================ */

@media (max-width: 1180px) {
    .gl-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .gl-portfolio {
        padding: 100px 0 120px;
    }

    .gl-portfolio-header {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 42px;
    }

    .gl-portfolio-action {
        padding-bottom: 0;
    }
}

@media (max-width: 640px) {
    .gl-portfolio-grid {
        display: flex;
        overflow-x: auto;
        gap: 18px;
        padding-bottom: 16px;
        scroll-snap-type: x mandatory;
    }

    .gl-portfolio-card {
        min-width: 82%;
        scroll-snap-align: start;
    }

    .gl-portfolio-link {
        min-height: 420px;
    }
}
/* ================================
   RESPONSIVE — FRASE DE AUTORIDAD
================================ */

@media (max-width: 768px) {
    .gl-authority {
        padding: 105px 0 115px;
    }

    .gl-authority-line {
        margin-bottom: 32px;
    }

    .gl-authority-title {
        font-size: clamp(38px, 12vw, 58px);
    }

    .gl-authority-text {
        margin-top: 28px;
        font-size: 17px;
    }
}
/* ================================
   RESPONSIVE — SERVICIOS
================================ */

@media (max-width: 1180px) {
    .gl-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .gl-services {
        padding: 105px 0 120px;
    }

    .gl-services-grid {
        margin-top: 42px;
    }
}

@media (max-width: 640px) {
    .gl-services-grid {
        grid-template-columns: 1fr;
    }

    .gl-service-card {
        min-height: 285px;
        padding: 26px;
    }

    .gl-service-number {
        margin-bottom: 42px;
    }

    .gl-services-grid:hover .gl-service-card:not(:hover) {
        opacity: 1;
    }
}
/* ================================
   RESPONSIVE — GL AGENCIA CREATIVA
================================ */

@media (max-width: 1180px) {
    .gl-agency-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gl-agency-header {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .gl-agency-text {
        max-width: 640px;
    }
}

@media (max-width: 768px) {
    .gl-agency {
        padding: 105px 0 120px;
    }

    .gl-agency-header {
        margin-bottom: 42px;
    }
}

@media (max-width: 640px) {
    .gl-agency-grid {
        grid-template-columns: 1fr;
    }

    .gl-agency-card {
        min-height: 335px;
        padding: 26px;
    }

    .gl-agency-content span {
        margin-bottom: 44px;
    }

    .gl-agency-text {
        padding: 26px;
    }
}
/* ================================
   RESPONSIVE — PROYECTOS PROPIOS
================================ */

@media (max-width: 900px) {
    .gl-project-link {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: 220px;
    }

    .gl-project-tag {
        width: fit-content;
    }

    .gl-project-arrow {
        position: absolute;
        right: 26px;
        bottom: 26px;
    }
}

@media (max-width: 768px) {
    .gl-projects {
        padding: 105px 0 120px;
    }

    .gl-projects-header {
        margin-bottom: 42px;
    }

    .gl-project-link {
        padding: 26px;
    }

    .gl-project-main h3 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .gl-project-main p {
        font-size: 15px;
    }
}
/* ================================
   RESPONSIVE — CONFIANZA / CLIENTES
================================ */

@media (max-width: 1180px) {
    .gl-trust-header {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .gl-trust-note {
        max-width: 680px;
    }

    .gl-trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .gl-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .gl-trust {
        padding: 105px 0 120px;
    }

    .gl-trust-header {
        margin-bottom: 42px;
    }

    .gl-trust-note {
        padding: 26px;
    }

    .gl-trust-note p {
        font-size: 16px;
    }
}

@media (max-width: 560px) {
    .gl-trust-grid {
        grid-template-columns: 1fr;
    }

    .gl-trust-item {
        min-height: 135px;
        padding: 22px;
    }

    .gl-trust-item h3 {
        font-size: 22px;
    }
}
/* ================================
   RESPONSIVE — CTA FINAL
================================ */

@media (max-width: 768px) {
    .gl-final-cta {
        padding: 95px 0;
    }

    .gl-final-cta h2 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .gl-final-cta p {
        font-size: 17px;
    }

    .gl-final-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gl-final-btn {
        width: 100%;
    }
}
/* ================================
   RESPONSIVE — FOOTER
================================ */

@media (max-width: 1024px) {
    .gl-footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gl-footer-brand {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .gl-footer-inner {
        width: min(100% - 36px, 1180px);
        padding: 58px 0 30px;
    }

    .gl-footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-bottom: 42px;
    }

    .gl-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .gl-footer-bottom p {
        text-align: left;
    }
}
@media (max-width: 768px) {

  /* SECCIÓN PROCESO DE TRABAJO */
  .gl-process,
  .gl-proceso,
  .gl-work-process {
    padding: 72px 20px;
  }

  .gl-process-layout,
  .gl-proceso-layout,
  .gl-work-process-layout,
  .gl-process-grid,
  .gl-proceso-grid,
  .gl-work-process-grid {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .gl-process-line,
  .gl-proceso-line,
  .gl-work-process-line,
  .gl-process-timeline-line {
    display: none;
  }

  .gl-process-card,
  .gl-proceso-card,
  .gl-work-process-card {
    width: 100%;
    min-width: 0;
    padding: 26px 22px;
    border-radius: 28px;
    margin: 0;
  }

  /* MUY IMPORTANTE:
     si la tarjeta por dentro tiene dos columnas, en móvil debe pasar a una sola */
  .gl-process-card-inner,
  .gl-proceso-card-inner,
  .gl-work-process-card-inner,
  .gl-process-card-content,
  .gl-proceso-card-content,
  .gl-work-process-card-content {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 14px;
    min-width: 0;
  }

  .gl-process-step,
  .gl-proceso-step,
  .gl-work-process-step,
  .gl-process-number,
  .gl-proceso-number,
  .gl-work-process-number {
    font-size: 52px;
    line-height: 1;
    opacity: 0.22;
    margin-bottom: 8px;
  }

  .gl-process-card h3,
  .gl-proceso-card h3,
  .gl-work-process-card h3 {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 0.95;
    margin: 0 0 10px;
  }

  .gl-process-card p,
  .gl-proceso-card p,
  .gl-work-process-card p {
    font-size: 18px;
    line-height: 1.55;
    margin: 0;
  }

  .gl-process-card *,
  .gl-proceso-card *,
  .gl-work-process-card * {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
  }
}
/* ==================================================
   FIX DEFINITIVO MÓVIL — PROCESO DE TRABAJO
================================================== */

@media (max-width: 768px) {

    .gl-process {
        padding: 90px 0 105px !important;
        overflow: hidden !important;
    }

    .gl-process .gl-section-inner {
        width: min(100% - 36px, 1180px) !important;
        margin: 0 auto !important;
    }

    .gl-process-header {
        margin-bottom: 38px !important;
    }

    .gl-process-timeline {
        display: block !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }

    .gl-process-line {
        display: none !important;
    }

    .gl-process-step {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 18px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: auto !important;
        padding: 26px !important;
        margin: 0 0 18px !important;
        border-radius: 26px !important;
        overflow: hidden !important;
    }

    .gl-process-number {
        width: 100% !important;
        display: block !important;
        font-size: 58px !important;
        line-height: 0.9 !important;
        margin: 0 0 8px !important;
        letter-spacing: -0.06em !important;
    }

    .gl-process-content {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .gl-process-content h3 {
        font-size: clamp(30px, 10vw, 42px) !important;
        line-height: 1 !important;
        margin: 0 !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }

    .gl-process-content p {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 16px !important;
        font-size: 16px !important;
        line-height: 1.6 !important;
        overflow-wrap: break-word !important;
    }

    .gl-process-content span {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
        margin-top: 14px !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
        color: rgba(255, 255, 255, 0.72) !important;
    }

}
/* ==================================================
   OPTIMIZACIÓN MÓVIL / TABLET
================================================== */

@media (max-width: 768px) {

    .gl-site-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(5, 5, 5, 0.94) !important;
    }

    .gl-hero-light {
        filter: blur(38px) !important;
        opacity: 0.28 !important;
    }

    .gl-portfolio-card,
    .gl-what-card,
    .gl-service-card,
    .gl-agency-card,
    .gl-process-step,
    .gl-trust-item {
        box-shadow: 0 16px 45px rgba(0, 0, 0, 0.24) !important;
    }

    .gl-portfolio-card:hover,
    .gl-what-card:hover,
    .gl-service-card:hover,
    .gl-agency-card:hover,
    .gl-process-step:hover,
    .gl-trust-item:hover {
        transform: none;
    }
}
/* ================================
   RESPONSIVE — PÁGINA CONTACTO
================================ */

@media (max-width: 1180px) {
    .gl-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gl-contact-info-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gl-contact-hero {
        min-height: auto;
        padding: 140px 0 90px;
    }

    .gl-contact-hero h1 {
        font-size: clamp(48px, 14vw, 72px);
    }

    .gl-contact-hero-content > p {
        font-size: 17px;
    }

    .gl-contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gl-contact-options,
    .gl-contact-info,
    .gl-contact-final {
        padding: 95px 0;
    }

    .gl-contact-grid {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .gl-contact-card {
        min-height: 250px;
        padding: 26px;
    }

    .gl-contact-info-box {
        padding: 28px;
        border-radius: 28px;
        gap: 34px;
    }

    .gl-contact-info-box h2 {
        font-size: clamp(34px, 11vw, 52px);
    }

    .gl-contact-final h2 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .gl-contact-final p {
        font-size: 17px;
    }
}
/* ================================
   RESPONSIVE — PÁGINA SERVICIOS
================================ */

@media (max-width: 1180px) {
    .gl-services-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .gl-services-page-hero {
        min-height: auto;
        padding: 140px 0 90px;
    }

    .gl-services-page-hero h1 {
        font-size: clamp(46px, 13vw, 72px);
    }

    .gl-services-page-hero-content > p {
        font-size: 17px;
    }

    .gl-services-page-list,
    .gl-services-page-cta {
        padding: 95px 0;
    }

    .gl-services-page-grid {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .gl-services-page-card {
        min-height: auto;
        padding: 26px;
    }

    .gl-services-page-card span {
        margin-bottom: 38px;
    }

    .gl-services-page-card h3 {
        font-size: 30px;
    }

    .gl-services-page-cta h2 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .gl-services-page-cta p {
        font-size: 17px;
    }
}
/* ================================
   RESPONSIVE — PÁGINA GL AGENCIA
================================ */

@media (max-width: 1180px) {
    .gl-agency-page-grid,
    .gl-agency-page-audience {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gl-agency-page-intro-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gl-agency-page-hero {
        min-height: auto;
        padding: 140px 0 90px;
    }

    .gl-agency-page-hero h1 {
        font-size: clamp(46px, 13vw, 72px);
    }

    .gl-agency-page-hero-content > p {
        font-size: 17px;
    }

    .gl-agency-page-intro,
    .gl-agency-page-services,
    .gl-agency-page-process,
    .gl-agency-page-cta {
        padding: 95px 0;
    }

    .gl-agency-page-intro-box {
        padding: 28px;
        border-radius: 28px;
    }

    .gl-agency-page-grid,
    .gl-agency-page-audience {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .gl-agency-page-card,
    .gl-agency-page-audience-item {
        min-height: auto;
        padding: 26px;
    }

    .gl-agency-page-card span {
        margin-bottom: 38px;
    }

    .gl-agency-page-card h3,
    .gl-agency-page-audience-item h3 {
        font-size: 30px;
    }

    .gl-agency-page-cta h2 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .gl-agency-page-cta p {
        font-size: 17px;
    }
}
/* ================================
   RESPONSIVE — PÁGINA PORTFOLIO
================================ */

@media (max-width: 1180px) {
    .gl-portfolio-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gl-portfolio-page-categories-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gl-portfolio-page-hero {
        min-height: auto;
        padding: 140px 0 90px;
    }

    .gl-portfolio-page-hero h1 {
        font-size: clamp(46px, 13vw, 72px);
    }

    .gl-portfolio-page-hero-content > p {
        font-size: 17px;
    }

    .gl-portfolio-page-featured,
    .gl-portfolio-page-categories,
    .gl-portfolio-page-cta {
        padding: 95px 0;
    }

    .gl-portfolio-page-grid {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .gl-portfolio-page-card {
        min-height: 440px;
        border-radius: 28px;
    }

    .gl-portfolio-page-content {
        padding: 26px;
    }

    .gl-portfolio-page-content h3 {
        font-size: 30px;
    }

    .gl-portfolio-page-categories-box {
        padding: 28px;
        border-radius: 28px;
    }

    .gl-portfolio-page-cta h2 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .gl-portfolio-page-cta p {
        font-size: 17px;
    }
}
/* ================================
   RESPONSIVE — PÁGINA PROYECTOS PROPIOS
================================ */

@media (max-width: 1024px) {
    .gl-projects-page-item {
        grid-template-columns: 1fr;
    }

    .gl-projects-page-media {
        min-height: 360px;
    }

    .gl-projects-page-philosophy-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gl-projects-page-hero {
        min-height: auto;
        padding: 140px 0 90px;
    }

    .gl-projects-page-hero h1 {
        font-size: clamp(46px, 13vw, 72px);
    }

    .gl-projects-page-hero-content > p {
        font-size: 17px;
    }

    .gl-projects-page-featured,
    .gl-projects-page-philosophy,
    .gl-projects-page-cta {
        padding: 95px 0;
    }

    .gl-projects-page-list {
        margin-top: 42px;
    }

    .gl-projects-page-item {
        min-height: auto;
        border-radius: 28px;
    }

    .gl-projects-page-media {
        min-height: 300px;
    }

    .gl-projects-page-content {
        padding: 28px;
    }

    .gl-projects-page-content h3 {
        font-size: clamp(36px, 11vw, 54px);
    }

    .gl-projects-page-content p {
        font-size: 16px;
    }

    .gl-projects-page-philosophy-box {
        padding: 28px;
        border-radius: 28px;
    }

    .gl-projects-page-cta h2 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .gl-projects-page-cta p {
        font-size: 17px;
    }
}
/* ================================
   RESPONSIVE — PÁGINAS LEGALES
================================ */

@media (max-width: 768px) {
    .gl-legal-hero {
        padding: 135px 0 70px;
    }

    .gl-legal-hero h1 {
        font-size: clamp(46px, 14vw, 72px);
    }

    .gl-legal-hero p {
        font-size: 17px;
    }

    .gl-legal-content-section {
        padding: 70px 0 95px;
    }

    .gl-legal-content {
        padding: 28px;
        border-radius: 28px;
    }

    .gl-legal-content p,
    .gl-legal-content li {
        font-size: 15px;
    }
}
/* ================================
   RESPONSIVE — LOGOS HOME
================================ */

@media (max-width: 768px) {
    .gl-logo-strip {
        padding: 85px 0 90px;
    }

    .gl-logo-strip-header {
        margin-bottom: 34px;
    }

    .gl-logo-strip-header h2 {
        font-size: clamp(34px, 11vw, 54px);
    }

    .gl-logo-strip-header p:not(.gl-section-kicker) {
        font-size: 16px;
    }

    .gl-logo-track {
        gap: 12px;
        animation-duration: 26s;
    }

    .gl-logo-item {
        width: 170px;
        height: 88px;
        padding: 18px;
        border-radius: 20px;
    }

    .gl-logo-item img {
    max-height: 56px;
}

.gl-logo-group-media .gl-logo-item {
    width: 210px;
    height: 92px;
}

.gl-logo-group-media .gl-logo-item img {
    max-height: 58px;
}
/* ================================
   RESPONSIVE — AUTORIDAD PROFESIONAL
================================ */

@media (max-width: 900px) {
    .gl-authority-pro-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gl-authority-pro {
        padding: 90px 0;
    }

    .gl-authority-pro-box {
        padding: 28px;
        border-radius: 28px;
        gap: 36px;
    }

    .gl-authority-pro-content h2 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .gl-authority-pro-content p {
        font-size: 16px;
    }

    .gl-authority-pro-point {
        padding: 24px;
        border-radius: 24px;
    }

    .gl-authority-pro-point strong {
        font-size: 20px;
    }
}/* ================================
   RESPONSIVE — ECOSISTEMA PROFESIONAL
================================ */

@media (max-width: 1100px) {
    .gl-ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .gl-ecosystem-card,
    .gl-ecosystem-content {
        min-height: 430px;
    }
}

@media (max-width: 768px) {
    .gl-ecosystem-grid {
        gap: 18px;
        margin-top: 42px;
    }

    .gl-ecosystem-card {
        border-radius: 28px;
    }

    .gl-ecosystem-content {
        min-height: 430px;
        padding: 28px;
    }

    .gl-ecosystem-number {
        top: 26px;
        left: 28px;
    }

    .gl-ecosystem-content h3 {
        font-size: clamp(30px, 10vw, 44px);
    }

    .gl-ecosystem-content li {
        font-size: 14px;
    }
}
/* ================================
   RESPONSIVE — PAGE PORTFOLIO
================================ */

@media (max-width: 1180px) {
    .gl-portfolio-work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .gl-portfolio-page-hero {
        padding: 130px 0 70px;
    }

    .gl-portfolio-page-hero h1 {
        font-size: clamp(42px, 13vw, 68px);
    }

    .gl-portfolio-page-hero p:not(.gl-section-kicker) {
        font-size: 16px;
    }

    .gl-portfolio-page-nav {
        gap: 10px;
    }

    .gl-portfolio-page-nav a {
        min-height: 40px;
        padding: 0 14px;
        font-size: 12px;
    }

    .gl-portfolio-category {
        padding: 80px 0;
    }

    .gl-portfolio-category-header {
        margin-bottom: 34px;
    }

    .gl-portfolio-category-header h2 {
        font-size: clamp(36px, 12vw, 58px);
    }

    .gl-portfolio-work-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gl-portfolio-work-media {
        min-height: 260px;
    }

    .gl-portfolio-work-content {
        padding: 24px;
    }

    .gl-portfolio-slider {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
        padding-bottom: 18px;
    }

    .gl-portfolio-slider-track {
        animation: none;
        width: max-content;
        padding-right: 24px;
    }

    .gl-portfolio-slider-track img {
        width: 260px;
        height: 340px;
        border-radius: 24px;
    }

    .gl-portfolio-page-cta {
        padding: 85px 0 100px;
    }
}

@media (max-width: 480px) {
    .gl-portfolio-slider-track img {
        width: 235px;
        height: 315px;
    }
}
/* =========================================================
   FIX — CTA FINAL PORTFOLIO EN FRANJA AMARILLA
   Este bloque debe ir al final de responsive.css
========================================================= */

.gl-portfolio-page .gl-portfolio-page-cta {
    position: relative !important;
    padding: 120px 0 130px !important;
    background:
        radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(135deg, #ffd400 0%, #f0c400 52%, #cfa900 100%) !important;
    color: #050505 !important;
    overflow: hidden !important;
}

.gl-portfolio-page .gl-portfolio-page-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(5,5,5,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(5,5,5,0.045) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.55;
    pointer-events: none;
}

.gl-portfolio-page .gl-portfolio-page-cta .gl-section-inner {
    position: relative !important;
    z-index: 2 !important;
}

.gl-portfolio-page .gl-portfolio-page-cta .gl-services-page-cta-box {
    max-width: 980px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.gl-portfolio-page .gl-portfolio-page-cta h2 {
    color: #050505 !important;
    -webkit-text-fill-color: #050505 !important;
    opacity: 1 !important;
    max-width: 920px !important;
    margin: 0 !important;
    font-size: clamp(46px, 6.4vw, 96px) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.065em !important;
    text-shadow: none !important;
}

.gl-portfolio-page .gl-portfolio-page-cta p {
    color: rgba(5, 5, 5, 0.78) !important;
    -webkit-text-fill-color: rgba(5, 5, 5, 0.78) !important;
    opacity: 1 !important;
    max-width: 760px !important;
    margin: 28px 0 0 !important;
    font-size: clamp(17px, 1.6vw, 22px) !important;
    line-height: 1.65 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.gl-portfolio-page .gl-portfolio-page-cta .gl-final-btn {
    margin-top: 38px !important;
    background: #050505 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid rgba(5, 5, 5, 0.18) !important;
    box-shadow: 0 18px 45px rgba(5, 5, 5, 0.22) !important;
}

.gl-portfolio-page .gl-portfolio-page-cta .gl-final-btn:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 24px 60px rgba(5, 5, 5, 0.30) !important;
}
/* =========================================================
   PORTFOLIO — VIDEOS GRID 4 CARDS
========================================================= */

@media (min-width: 1181px) {
    .gl-portfolio-video-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .gl-portfolio-video-grid .gl-portfolio-work-media {
        min-height: 260px !important;
    }

    .gl-portfolio-video-grid .gl-portfolio-work-content h3 {
        font-size: clamp(24px, 2vw, 32px) !important;
    }
}
/* =========================
   RESPONSIVE — FRASE DE AUTORIDAD
========================= */

@media (max-width: 1024px) {
    .gl-authority.gl-authority-photo {
        padding: 120px 0;
        min-height: 500px;
    }

    .gl-authority-photo h2 {
        font-size: clamp(48px, 9vw, 78px);
    }
}

@media (max-width: 768px) {
    .gl-authority.gl-authority-photo {
        padding: 90px 0;
        min-height: auto;
    }

    .gl-authority-photo .gl-authority-bg {
        opacity: 0.06;
        background-position: center center;
    }

    .gl-authority-photo h2 {
        font-size: clamp(38px, 12vw, 58px);
        line-height: 0.98;
        letter-spacing: -0.055em;
    }

    .gl-authority-photo p:last-child {
        font-size: 17px;
        line-height: 1.55;
    }
}
/* ================================
   RESPONSIVE — GL AGENCIA FOOTER
================================ */

@media (max-width: 768px) {
    .gl-agency-footer {
        margin-top: 36px;
        padding: 26px;
        border-radius: 26px;
        flex-direction: column;
        align-items: flex-start;
    }

    .gl-agency-footer p {
        font-size: 15px;
    }

    .gl-agency-footer .gl-btn {
        width: 100%;
    }
}
/* ================================
   RESPONSIVE — CONFIANZA / PROYECTOS REALES
================================ */

@media (max-width: 1180px) {
    .gl-trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .gl-trust {
        padding: 85px 0;
    }

    .gl-trust-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gl-trust-card,
    .gl-trust-card a {
        min-height: 300px;
    }

    .gl-trust-card-content {
        padding: 22px;
    }

    .gl-trust-card-content h3 {
        font-size: clamp(22px, 8vw, 34px);
    }
}
/* =========================================================
   AJUSTE FINAL — PORTFOLIO / TRABAJOS REALES
   Cards más compactas y proporcionadas
========================================================= */

.gl-portfolio-page .gl-trust {
    padding: 95px 0 !important;
}

.gl-portfolio-page .gl-trust .gl-section-inner {
    max-width: 1320px !important;
}

.gl-portfolio-page .gl-trust-header {
    max-width: 900px !important;
    margin-bottom: 42px !important;
}

.gl-portfolio-page .gl-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
}

.gl-portfolio-page .gl-trust-card {
    min-height: 255px !important;
    border-radius: 22px !important;
}

.gl-portfolio-page .gl-trust-card a {
    min-height: 255px !important;
}

.gl-portfolio-page .gl-trust-card-content {
    padding: 20px !important;
}

.gl-portfolio-page .gl-trust-card-content span {
    font-size: 10px !important;
    letter-spacing: 0.11em !important;
}

.gl-portfolio-page .gl-trust-card-content h3 {
    font-size: clamp(21px, 1.6vw, 28px) !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
}

.gl-portfolio-page .gl-trust-card-content p {
    margin-top: 12px !important;
    font-size: 13px !important;
}

/* Tablet */
@media (max-width: 1180px) {
    .gl-portfolio-page .gl-trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .gl-portfolio-page .gl-trust-card,
    .gl-portfolio-page .gl-trust-card a {
        min-height: 245px !important;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .gl-portfolio-page .gl-trust {
        padding: 80px 0 !important;
    }

    .gl-portfolio-page .gl-trust-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .gl-portfolio-page .gl-trust-card,
    .gl-portfolio-page .gl-trust-card a {
        min-height: 260px !important;
    }

    .gl-portfolio-page .gl-trust-card-content h3 {
        font-size: clamp(24px, 8vw, 34px) !important;
    }
}
/* =========================================================
   AJUSTE PREMIUM — PORTFOLIO / TRABAJOS REALES
   Galería más centrada, elegante y proporcionada
========================================================= */

.gl-portfolio-page .gl-trust {
    padding: 100px 0 !important;
}

.gl-portfolio-page .gl-trust .gl-section-inner {
    max-width: 1180px !important;
    width: calc(100% - 48px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.gl-portfolio-page .gl-trust-header {
    max-width: 860px !important;
    margin-bottom: 46px !important;
}

.gl-portfolio-page .gl-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
}

.gl-portfolio-page .gl-trust-card {
    min-height: 260px !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 24px !important;
    background-size: cover !important;
    background-position: center center !important;
}

.gl-portfolio-page .gl-trust-card a {
    min-height: 260px !important;
}

.gl-portfolio-page .gl-trust-card-content {
    padding: 22px !important;
}

.gl-portfolio-page .gl-trust-card-content span {
    font-size: 10px !important;
    letter-spacing: 0.11em !important;
}

.gl-portfolio-page .gl-trust-card-content h3 {
    font-size: clamp(23px, 1.8vw, 31px) !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
}

.gl-portfolio-page .gl-trust-card-content p {
    margin-top: 12px !important;
    font-size: 13px !important;
}

/* Tablet */
@media (max-width: 1180px) {
    .gl-portfolio-page .gl-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .gl-portfolio-page .gl-trust-card,
    .gl-portfolio-page .gl-trust-card a {
        min-height: 250px !important;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .gl-portfolio-page .gl-trust {
        padding: 80px 0 !important;
    }

    .gl-portfolio-page .gl-trust .gl-section-inner {
        width: calc(100% - 32px) !important;
    }

    .gl-portfolio-page .gl-trust-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .gl-portfolio-page .gl-trust-card,
    .gl-portfolio-page .gl-trust-card a {
        min-height: 245px !important;
    }

    .gl-portfolio-page .gl-trust-card-content h3 {
        font-size: clamp(24px, 8vw, 34px) !important;
    }
}
/* ================================
   FOOTER — LOGO GERMÁN LOZANO
================================ */

.gl-footer-logo-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
}

.gl-footer-logo {
    display: block;
    width: 240px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .gl-footer-logo {
        width: 210px;
    }
}
/* =========================================================
   SOCIAL ICONS — HERO + FOOTER
========================================================= */

.gl-social-icons {
    display: flex;
    gap: 10px;
}

.gl-hero-social.gl-social-icons {
    flex-direction: column;
}

.gl-social-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.gl-social-icon svg {
    width: 19px;
    height: 19px;
    display: block;
}

.gl-social-icon:hover {
    color: #050505;
    background: #ffd400;
    border-color: #ffd400;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(255, 212, 0, 0.18);
}

/* Móvil */
@media (max-width: 768px) {
    .gl-social-icon {
        width: 38px;
        height: 38px;
    }

    .gl-social-icon svg {
        width: 17px;
        height: 17px;
    }
}
/* =========================================================
   FIX — REDES SOCIALES SOLO DENTRO DEL HERO
========================================================= */

.gl-hero {
    position: relative !important;
    overflow: hidden !important;
}

/* Evita que las redes se queden fijas por toda la web */
.gl-hero-social.gl-social-icons {
    position: absolute !important;
    top: 50% !important;
    right: clamp(22px, 3vw, 54px) !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 12 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;

    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    pointer-events: auto !important;
}

.gl-hero-social.gl-social-icons .gl-social-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: rgba(255, 255, 255, 0.82) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    text-decoration: none !important;
    backdrop-filter: blur(10px) !important;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

.gl-hero-social.gl-social-icons .gl-social-icon svg {
    width: 19px !important;
    height: 19px !important;
    display: block !important;
}

.gl-hero-social.gl-social-icons .gl-social-icon:hover {
    color: #050505 !important;
    background: #ffd400 !important;
    border-color: #ffd400 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(255, 212, 0, 0.18) !important;
}

/* En móvil los ocultamos para que no molesten */
@media (max-width: 768px) {
    .gl-hero-social.gl-social-icons {
        display: none !important;
    }
}/* =========================================================
   FOOTER — BOTONES SOCIALES
========================================================= */

.gl-footer-social {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 22px !important;
}

.gl-footer-social .gl-social-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: rgba(255, 255, 255, 0.78) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    text-decoration: none !important;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

.gl-footer-social .gl-social-icon svg {
    width: 17px !important;
    height: 17px !important;
}

.gl-footer-social .gl-social-icon:hover {
    color: #050505 !important;
    background: #ffd400 !important;
    border-color: #ffd400 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(255, 212, 0, 0.16) !important;
}
/* =========================================================
   HOME — LOGOS CONFIANZA Y VISIBILIDAD / MARQUEE DESKTOP
========================================================= */

.gl-logo-strip {
    position: relative;
    overflow: hidden;
}

.gl-logo-marquee {
    position: relative;
    overflow: hidden !important;
    width: 100% !important;
    padding: 4px 0;
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
}

.gl-logo-track {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    width: max-content !important;
    min-width: max-content !important;
    animation: glLogoMarqueeLeft 34s linear infinite !important;
    will-change: transform;
}

.gl-logo-marquee-reverse .gl-logo-track {
    animation: glLogoMarqueeRight 38s linear infinite !important;
}

.gl-logo-marquee:hover .gl-logo-track {
    animation-play-state: paused !important;
}

.gl-logo-item {
    flex: 0 0 190px !important;
    width: 190px !important;
    height: 96px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.gl-logo-item img {
    display: block !important;
    max-width: 132px !important;
    max-height: 58px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    opacity: 0.72;
    filter: grayscale(100%);
    transition:
        opacity 0.25s ease,
        filter 0.25s ease,
        transform 0.25s ease;
}

.gl-logo-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.06);
}

@keyframes glLogoMarqueeLeft {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-33.333%, 0, 0);
    }
}

@keyframes glLogoMarqueeRight {
    from {
        transform: translate3d(-33.333%, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

/* Accesibilidad: si el usuario tiene reducido el movimiento, no animamos */
@media (prefers-reduced-motion: reduce) {
    .gl-logo-track,
    .gl-logo-marquee-reverse .gl-logo-track {
        animation: none !important;
        transform: none !important;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .gl-logo-track {
        gap: 18px !important;
        animation-duration: 30s !important;
    }

    .gl-logo-marquee-reverse .gl-logo-track {
        animation-duration: 34s !important;
    }

    .gl-logo-item {
        flex-basis: 170px !important;
        width: 170px !important;
        height: 88px !important;
    }

    .gl-logo-item img {
        max-width: 118px !important;
        max-height: 52px !important;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .gl-logo-marquee {
        mask-image: linear-gradient(
            90deg,
            transparent 0%,
            #000 10%,
            #000 90%,
            transparent 100%
        );
        -webkit-mask-image: linear-gradient(
            90deg,
            transparent 0%,
            #000 10%,
            #000 90%,
            transparent 100%
        );
    }

    .gl-logo-track {
        gap: 14px !important;
        animation-duration: 26s !important;
    }

    .gl-logo-marquee-reverse .gl-logo-track {
        animation-duration: 30s !important;
    }

    .gl-logo-item {
        flex-basis: 145px !important;
        width: 145px !important;
        height: 78px !important;
    }

    .gl-logo-item img {
        max-width: 104px !important;
        max-height: 46px !important;
    }
}
/* =========================================================
   REDES SOCIALES AISLADAS — HERO Y FOOTER
========================================================= */

/* HERO: solo dentro del hero */
.gl-hero,
section.gl-hero {
    position: relative !important;
    overflow: hidden !important;
}

.gl-hero-social-local {
    position: absolute !important;
    top: 50% !important;
    right: clamp(22px, 3vw, 54px) !important;
    transform: translateY(-50%) !important;
    z-index: 12 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;

    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

.gl-hero-social-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: rgba(255,255,255,0.82) !important;
    background: rgba(255,255,255,0.055) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    text-decoration: none !important;
    backdrop-filter: blur(10px) !important;

    transition: all 0.25s ease !important;
}

.gl-hero-social-btn svg {
    width: 19px !important;
    height: 19px !important;
    display: block !important;
    flex: 0 0 auto !important;
}

.gl-hero-social-btn:hover {
    color: #050505 !important;
    background: #ffd400 !important;
    border-color: #ffd400 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(255,212,0,0.18) !important;
}

/* FOOTER: iconos pequeños controlados */
.gl-footer-social-mini {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 22px !important;
    max-width: 230px !important;
}

.gl-footer-social-mini-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;

    border-radius: 999px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: rgba(255,255,255,0.78) !important;
    background: rgba(255,255,255,0.045) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    text-decoration: none !important;

    overflow: hidden !important;
    padding: 0 !important;

    transition: all 0.25s ease !important;
}

.gl-footer-social-mini-btn svg {
    width: 17px !important;
    height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
    display: block !important;
    flex: 0 0 auto !important;
}

.gl-footer-social-mini-btn:hover {
    color: #050505 !important;
    background: #ffd400 !important;
    border-color: #ffd400 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(255,212,0,0.16) !important;
}

/* Móvil */
@media (max-width: 768px) {
    .gl-hero-social-local {
        display: none !important;
    }

    .gl-footer-social-mini {
        max-width: 100% !important;
    }
}
/* =========================================================
   RESET URGENTE — REDES SOCIALES ROTAS
   Oculta bloques anteriores con SVG para que no rompan la web
========================================================= */

.gl-hero-social,
.gl-hero-social-local,
.gl-social-icons,
.gl-footer-social,
.gl-footer-social-mini {
    display: none !important;
}

.gl-hero-social svg,
.gl-hero-social-local svg,
.gl-social-icons svg,
.gl-footer-social svg,
.gl-footer-social-mini svg {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
}

/* =========================================================
   REDES HERO — VERSIÓN SEGURA SIN SVG
========================================================= */

.gl-hero,
section.gl-hero {
    position: relative !important;
    overflow: hidden !important;
}

.gl-hero-social-safe {
    position: absolute !important;
    top: 50% !important;
    right: clamp(22px, 3vw, 54px) !important;
    transform: translateY(-50%) !important;
    z-index: 12 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;

    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

.gl-hero-social-safe a {
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: rgba(255,255,255,0.82) !important;
    background: rgba(255,255,255,0.055) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;

    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;

    backdrop-filter: blur(10px) !important;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

.gl-hero-social-safe a:hover {
    color: #050505 !important;
    background: #ffd400 !important;
    border-color: #ffd400 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(255,212,0,0.18) !important;
}

/* =========================================================
   REDES FOOTER — VERSIÓN SEGURA SIN SVG
========================================================= */

.gl-footer-social-safe {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 22px !important;
    max-width: 240px !important;
}

.gl-footer-social-safe a {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;

    border-radius: 999px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: rgba(255,255,255,0.78) !important;
    background: rgba(255,255,255,0.045) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;

    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;

    overflow: hidden !important;
    padding: 0 !important;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

.gl-footer-social-safe a:hover {
    color: #050505 !important;
    background: #ffd400 !important;
    border-color: #ffd400 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(255,212,0,0.16) !important;
}

/* Móvil */
@media (max-width: 768px) {
    .gl-hero-social-safe {
        display: none !important;
    }

    .gl-footer-social-safe {
        max-width: 100% !important;
    }
}
/* =========================================================
   RESET FINAL — REDES SOCIALES ROTAS
   Elimina cualquier bloque SVG anterior que esté rompiendo la web
========================================================= */

.gl-hero-social-local,
.gl-social-icons,
.gl-footer-social,
.gl-footer-social-mini,
.gl-footer-social-mini-btn,
.gl-social-icon {
    display: none !important;
}

.gl-hero-social-local svg,
.gl-social-icons svg,
.gl-footer-social svg,
.gl-footer-social-mini svg,
.gl-footer-social-mini-btn svg,
.gl-social-icon svg {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
}

/* =========================================================
   HERO — REDES SEGURAS COMO ANTES, SOLO DENTRO DEL HERO
========================================================= */

.gl-hero,
section.gl-hero {
    position: relative !important;
    overflow: hidden !important;
}

.gl-hero-social {
    position: absolute !important;
    top: 50% !important;
    right: clamp(22px, 3vw, 54px) !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 12 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;

    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

.gl-hero-social a {
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: rgba(255,255,255,0.82) !important;
    background: rgba(255,255,255,0.055) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;

    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;

    backdrop-filter: blur(10px) !important;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

.gl-hero-social a:hover {
    color: #050505 !important;
    background: #ffd400 !important;
    border-color: #ffd400 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(255,212,0,0.18) !important;
}

/* =========================================================
   FOOTER — REDES PEQUEÑAS Y CONTROLADAS
========================================================= */

.gl-footer-social-text {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 22px !important;
    max-width: 240px !important;
}

.gl-footer-social-text a {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;

    border-radius: 999px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: rgba(255,255,255,0.78) !important;
    background: rgba(255,255,255,0.045) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;

    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;

    overflow: hidden !important;
    padding: 0 !important;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

.gl-footer-social-text a:hover {
    color: #050505 !important;
    background: #ffd400 !important;
    border-color: #ffd400 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(255,212,0,0.16) !important;
}

/* =========================================================
   LOGOS — CONFIANZA Y VISIBILIDAD EN MOVIMIENTO
========================================================= */

.gl-logo-marquee {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%) !important;
}

.gl-logo-track {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    width: max-content !important;
    min-width: max-content !important;
    animation: glLogoMoveLeftFinal 34s linear infinite !important;
    will-change: transform !important;
}

.gl-logo-marquee-reverse .gl-logo-track {
    animation: glLogoMoveRightFinal 38s linear infinite !important;
}

.gl-logo-item {
    flex: 0 0 190px !important;
    width: 190px !important;
    height: 96px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.gl-logo-item img {
    display: block !important;
    max-width: 132px !important;
    max-height: 58px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

@keyframes glLogoMoveLeftFinal {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-33.333%, 0, 0);
    }
}

@keyframes glLogoMoveRightFinal {
    0% {
        transform: translate3d(-25%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 768px) {
    .gl-hero-social {
        display: none !important;
    }

    .gl-footer-social-text {
        max-width: 100% !important;
    }

    .gl-logo-track {
        gap: 14px !important;
        animation-duration: 26s !important;
    }

    .gl-logo-marquee-reverse .gl-logo-track {
        animation-duration: 30s !important;
    }

    .gl-logo-item {
        flex-basis: 145px !important;
        width: 145px !important;
        height: 78px !important;
    }

    .gl-logo-item img {
        max-width: 104px !important;
        max-height: 46px !important;
    }
}
/* =========================================================
   FIX FINAL — FOOTER SOCIAL + SECCIONES FULL WIDTH
========================================================= */

/* 1) Evita desbordes laterales raros */
html,
body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* 2) Las secciones principales vuelven a ocupar todo el ancho */
.gl-hero,
.gl-ecosystem,
.gl-what,
.gl-portfolio,
.gl-services,
.gl-agency,
.gl-process,
.gl-logo-strip,
.gl-final-cta,
.gl-site-footer {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* 3) El contenido interno sigue centrado y responsive */
.gl-section-inner,
.gl-footer-inner {
    width: min(100% - 48px, 1220px) !important;
    max-width: 1220px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .gl-section-inner,
    .gl-footer-inner {
        width: min(100% - 32px, 1220px) !important;
    }
}

/* 4) Footer: redes como botones, no como texto */
.gl-site-footer .gl-footer-social-text {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 22px !important;
    max-width: 260px !important;
}

.gl-site-footer .gl-footer-social-text a {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;
    padding: 0 !important;
    margin: 0 !important;

    color: rgba(255, 255, 255, 0.78) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;

    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;

    overflow: hidden !important;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

.gl-site-footer .gl-footer-social-text a:hover {
    color: #050505 !important;
    background: #ffd400 !important;
    border-color: #ffd400 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(255, 212, 0, 0.16) !important;
}

/* 5) Asegura que la columna Contacto no convierta los botones en enlaces verticales */
.gl-site-footer .gl-footer-column .gl-footer-social-text a {
    display: inline-flex !important;
}

/* 6) Footer responsive limpio */
@media (max-width: 768px) {
    .gl-site-footer .gl-footer-social-text {
        max-width: 100% !important;
    }

    .gl-site-footer .gl-footer-social-text a {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }
}
/* =========================================================
   PARCHE DE ESTABILIZACIÓN FINAL
   Restaura ancho full width, degradados entre secciones
   y arregla redes del footer sin tocar HTML
========================================================= */

/* 1) Evita que la web genere scroll horizontal raro */
html,
body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2) El main y las secciones vuelven a pantalla completa */
#main-content,
main,
.gl-home,
.gl-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* 3) Secciones principales full bleed, pegadas al borde real */
#main-content > section,
main > section,
.gl-hero,
.gl-ecosystem,
.gl-what,
.gl-portfolio,
.gl-services,
.gl-agency,
.gl-process,
.gl-logo-strip,
.gl-final-cta {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* 4) El contenido interno queda centrado, pero el fondo ocupa todo */
.gl-section-inner {
    width: min(100% - 48px, 1220px) !important;
    max-width: 1220px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* 5) Recupera transición suave entre bloques oscuros */
.gl-ecosystem::before,
.gl-what::before,
.gl-portfolio::before,
.gl-services::before,
.gl-agency::before,
.gl-process::before,
.gl-logo-strip::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    height: 130px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.62) 38%,
        rgba(0, 0, 0, 0) 100%
    ) !important;
}

.gl-ecosystem::after,
.gl-what::after,
.gl-portfolio::after,
.gl-services::after,
.gl-agency::after,
.gl-process::after,
.gl-logo-strip::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 130px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.52) 42%,
        rgba(0, 0, 0, 0) 100%
    ) !important;
}

/* 6) El contenido siempre por encima de los degradados */
.gl-section-inner,
.gl-hero-inner,
.gl-ecosystem .gl-section-inner,
.gl-what .gl-section-inner,
.gl-portfolio .gl-section-inner,
.gl-services .gl-section-inner,
.gl-agency .gl-section-inner,
.gl-process .gl-section-inner,
.gl-logo-strip .gl-section-inner {
    position: relative !important;
    z-index: 3 !important;
}

/* 7) Footer full width real */
.gl-site-footer {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.gl-footer-inner {
    width: min(100% - 48px, 1220px) !important;
    max-width: 1220px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* 8) Arreglo agresivo del footer: convierte redes en botones aunque el HTML venga raro */
.gl-site-footer .gl-footer-social-text {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 22px !important;
    max-width: 260px !important;
    line-height: 1 !important;
}

/* Si los enlaces están dentro del bloque correcto */
.gl-site-footer .gl-footer-social-text a,
.gl-site-footer a[href*="instagram.com"],
.gl-site-footer a[href*="youtube.com"],
.gl-site-footer a[href*="facebook.com"],
.gl-site-footer a[href*="linkedin.com"],
.gl-site-footer a[href*="tiktok.com"] {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;
    padding: 0 !important;
    margin: 0 8px 8px 0 !important;

    color: rgba(255, 255, 255, 0.78) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;

    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;

    overflow: hidden !important;
    box-sizing: border-box !important;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

.gl-site-footer .gl-footer-social-text a:hover,
.gl-site-footer a[href*="instagram.com"]:hover,
.gl-site-footer a[href*="youtube.com"]:hover,
.gl-site-footer a[href*="facebook.com"]:hover,
.gl-site-footer a[href*="linkedin.com"]:hover,
.gl-site-footer a[href*="tiktok.com"]:hover {
    color: #050505 !important;
    background: #ffd400 !important;
    border-color: #ffd400 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(255, 212, 0, 0.16) !important;
}

/* 9) Hero social se queda como está ahora, pero limitado al hero */
.gl-hero {
    position: relative !important;
    overflow: hidden !important;
}

.gl-hero-social {
    position: absolute !important;
    top: 50% !important;
    right: clamp(22px, 3vw, 54px) !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 12 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;

    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

.gl-hero-social a {
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: rgba(255, 255, 255, 0.82) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;

    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;

    backdrop-filter: blur(10px) !important;
}

/* 10) Móvil */
@media (max-width: 768px) {
    .gl-section-inner,
    .gl-footer-inner {
        width: min(100% - 32px, 1220px) !important;
    }

    .gl-hero-social {
        display: none !important;
    }

    .gl-site-footer .gl-footer-social-text {
        max-width: 100% !important;
    }

    .gl-site-footer .gl-footer-social-text a,
    .gl-site-footer a[href*="instagram.com"],
    .gl-site-footer a[href*="youtube.com"],
    .gl-site-footer a[href*="facebook.com"],
    .gl-site-footer a[href*="linkedin.com"],
    .gl-site-footer a[href*="tiktok.com"] {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }
}