/* Personalizaciones locales. Los estilos originales están en assets/. */
html { scroll-behavior: smooth; }
.local-form-status { color: #fff; font-size: 13px; line-height: 1.5; margin-top: 12px; }
.local-form-status:empty { display: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Mantener el fondo fuera del flujo también en pantallas pequeñas. */
#contacto { position: relative; }
#contacto > .vidbg-container { position: absolute !important; inset: 0; overflow: hidden; z-index: 0; }
#contacto > .vidbg-container video { width: 100%; height: 100%; object-fit: cover; }
#contacto > .full_section_inner { position: relative; z-index: 1; }
.local-event-video { display: block !important; position: relative !important; min-height: 380px; background: #000; overflow: hidden; }
.local-event-video > .vc_column-inner { visibility: hidden; }
.local-event-video > iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; pointer-events: auto !important; z-index: 2; }
.local-video-external { position: absolute; right: 10px; top: 10px; z-index: 3; padding: 4px 10px; color: #fff !important; background: rgba(0,0,0,.75); border-radius: 4px; font: 12px/1.5 sans-serif; }
.local-video-notice { position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 99999; padding: 14px 20px; background: #fff; color: #222; box-shadow: 0 3px 20px #0005; border-left: 4px solid #b47916; font: 14px/1.5 sans-serif; }
.local-video-notice a { color: #885600; text-decoration: underline; }
@media (max-width: 767px) {
  .local-event-video { width: 100% !important; min-height: 0 !important; height: auto !important; aspect-ratio: 16 / 9; }
  .local-event-video > .vc_column-inner { display: none !important; }
}
/* Todas las marcas originales, en dos filas con movimiento opuesto. */
.trust-carousel { margin: 10px 0 36px; text-align: center; }
.trust-rows { overflow: hidden; padding: 12px 0; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.trust-row { overflow: hidden; margin: 12px 0; }
.trust-track { display: flex; width: max-content; animation: trust-scroll 215s linear infinite; will-change: transform; }
.trust-row-2 .trust-track { animation-direction: reverse; }
.trust-group { display: flex; align-items: center; gap: 36px; padding: 0 36px 0 0 !important; margin: 0 !important; list-style: none; flex: none; }
.trust-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 168px; width: 168px; height: 94px; margin: 0 !important; list-style: none; }
.trust-logo > svg { display: block; width: 152px; height: 78px; overflow: hidden; }
.trust-carousel:hover .trust-track, .trust-carousel.is-paused .trust-track { animation-play-state: paused; }
.trust-toggle { display: inline-flex; align-items: center; gap: 12px; margin: 20px auto 0; padding: 8px 0; border: 0; border-bottom: 1px solid #d7d7d7; background: transparent; color: #666; cursor: pointer; font-family: inherit; font-size: 12px; line-height: 1.5; letter-spacing: .03em; }
.trust-toggle:hover { color: #b07713; }
.trust-toggle:focus-visible { outline: 2px solid #b07713; outline-offset: 6px; }
@keyframes trust-scroll { to { transform: translateX(-50%); } }
@media (max-width: 767px) {
  .trust-logo { flex-basis: 136px; width: 136px; height: 78px; }
  .trust-logo > svg { width: 126px; height: 68px; }
  .trust-group { gap: 22px; padding-right: 22px !important; }
  .trust-track { animation-duration: 175s; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-rows { mask-image: none; }
  .trust-row { overflow-x: auto; }
  .trust-track { animation: none; transform: none; }
  .trust-group[aria-hidden="true"] { display: none; }
  .trust-toggle { display: none; }
}
/* Reproductores en formato panorámico, sin franjas por proporción. */
.local-event-video { min-height: 0 !important; height: auto !important; aspect-ratio: 16 / 9; }
.local-event-video > .vc_column-inner { display: none !important; }
.local-event-video > iframe { inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; max-width: none !important; }
/* Portada del video institucional con fotografía real de nuestros encuentros. */
.intro-cover { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; color: #fff; background: #171717; text-align: left; cursor: pointer; z-index: 3; font-family: inherit; }
.intro-cover[hidden] { display: none !important; }
.intro-cover-photo { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s; }
.intro-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#0007,transparent 40%,#000d); }
.intro-cover-brand { position: absolute; left: 24px; top: 20px; width: 132px; height: auto; z-index: 1; }
.intro-play { position: absolute; left: 50%; top: 44%; transform: translate(-50%,-50%); z-index: 2; display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid #ffffff80; border-radius: 50%; background: #b57711; box-shadow: 0 0 0 10px #ffffff14; transition: background .2s, box-shadow .2s; }
.intro-play::before { content: ''; width: 0; height: 0; border-left: 19px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.intro-cover-copy { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; }
.intro-cover-copy strong { display: block; color: #fff; font-size: clamp(19px,2vw,27px); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.intro-cover-copy small { display: block; margin-top: 8px; color: #fff; font-size: 12px; line-height: 1.4; letter-spacing: .03em; }
.intro-cover:hover .intro-cover-photo { transform: scale(1.04); }
.intro-cover:hover .intro-play { background: #ce8b1c; box-shadow: 0 0 0 14px #ffffff20; }
.intro-cover:focus-visible { outline: 3px solid #e7b153; outline-offset: -5px; }
.wpb_video_wrapper iframe[data-intro-src]:not([src]) { visibility: hidden; }
.agency-band { width: 100vw; position: relative; left: 50%; margin-left: -50vw; margin-top: 20px; background: #f1f5fa; border-top: 1px solid #e3eaf2; padding: 48px 0; }
.agency-band-inner { width: min(1180px, calc(100% - 64px)); margin: auto; display: grid; grid-template-columns: 245px 1fr auto; align-items: center; gap: 38px; text-align: left; }
.agency-brand img { width: 100%; height: auto; display: block; }
.agency-eyebrow { display: block; color: #3167b0; font-size: 10px; font-weight: 600; letter-spacing: .15em; line-height: 1.5; margin-bottom: 9px; }
.agency-copy h3 { color: #183049; font-size: 21px; line-height: 1.35; font-weight: 600; letter-spacing: -.02em; margin: 0 0 8px; text-transform: none; }
.agency-copy p { color: #526377; font-size: 14px; line-height: 1.65; margin: 0; }
.agency-cta { display: inline-flex; gap: 20px; align-items: center; color: #164b89 !important; border: 1px solid #164b8940; padding: 14px 18px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; transition: background .2s; }
.agency-cta:hover { background: #e2eaf5; }
@media (max-width: 1024px) { .agency-band-inner { grid-template-columns: 210px 1fr; gap: 28px; } .agency-cta { grid-column: 2; justify-self: start; } }
@media (max-width: 767px) {
 .agency-band { padding: 38px 0; }
 .agency-band-inner { width: calc(100% - 48px); grid-template-columns: 1fr; gap: 24px; }
 .agency-brand { max-width: 230px; }
 .agency-cta { grid-column: 1; }
 .intro-cover-brand { width: 100px; top: 15px; left: 16px; }
 .intro-play { width: 52px; height: 52px; }
 .intro-play::before { border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
 .intro-cover-copy { left: 16px; right: 16px; bottom: 14px; }
 .intro-cover-copy strong { font-size: 18px; }
 .intro-cover-copy small { font-size: 10px; margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) { .intro-cover-photo { transition: none; } }
/* Luz dorada que recorre el contorno de la tarjeta de contacto. */
@property --contact-light-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
#contacto .vc_custom_1677610987277 { position: relative; isolation: isolate; box-shadow: 0 18px 54px #0004; }
#contacto .vc_custom_1677610987277::before,
#contacto .vc_custom_1677610987277::after {
 content: ''; display: block; position: absolute; inset: -2px; border-radius: 17px; padding: 2px; pointer-events: none;
 background: conic-gradient(from var(--contact-light-angle), #b9821626 0deg, #b9821626 230deg, #b9821655 275deg, #dca54c 315deg, #fff2c5 345deg, #b9821626 360deg);
 -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
 -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude;
 animation: contact-chasing-light 5s linear infinite;
}
#contacto .vc_custom_1677610987277::before { z-index: 1; }
#contacto .vc_custom_1677610987277::after { inset: -3px; padding: 3px; filter: blur(6px); opacity: .7; z-index: -1; }
#contacto input.wpcf7-submit,
#contacto input.wpcf7-submit:not([disabled]) { display: block !important; width: 100% !important; max-width: none !important; box-sizing: border-box !important; height: 52px !important; line-height: 52px !important; margin: 0 !important; padding: 0 24px !important; border: 0 !important; border-radius: 3px; text-align: center; background: linear-gradient(110deg,#b3750f,#c8912c) !important; color: #fff !important; letter-spacing: .1em; font-weight: 600; transition: box-shadow .25s, filter .25s; }
#contacto input.wpcf7-submit:hover:not([disabled]) { box-shadow: 0 0 24px #d69b3555; filter: brightness(1.12); }
#contacto input.wpcf7-submit:focus-visible { outline: 2px solid #ffe4a7; outline-offset: 4px; }
#contacto input.wpcf7-submit[disabled] { cursor: wait; opacity: .65; }
@keyframes contact-chasing-light { to { --contact-light-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) { #contacto .vc_custom_1677610987277::before, #contacto .vc_custom_1677610987277::after { animation: none; --contact-light-angle: 315deg; } }

/* Botones con bordes curvos. */
.qbutton, #contacto input.wpcf7-submit, #contacto input.wpcf7-submit:not([disabled]), .agency-cta, .local-video-external { border-radius: 20px !important; }
/* Eventos equilibrados en pantallas grandes, incluidas las de 27 pulgadas. */
@media (min-width: 1025px) {
 .vc_row.event-band > .full_section_inner { max-width: none; width: 100%; margin-left: 0 !important; margin-right: 0 !important; display: flex; align-items: center; }
 .vc_row.event-band > .full_section_inner > .vc_col-sm-6 { width: 50%; flex: 0 0 50%; box-sizing: border-box; }
 .vc_row.event-band .local-event-video,
 .vc_row.event-band .intelcorp-event-image-media { aspect-ratio: 16 / 9; height: auto !important; min-height: 0 !important; background-size: cover; background-position: center; }
 .vc_row.event-band .intelcorp-event-image-media > .vc_column-inner { display: none !important; }
 .vc_row.event-band > .full_section_inner > .vc_col-sm-6:not(.vc_col-has-fill) { padding: 42px clamp(32px,4vw,72px); }
 .vc_row.event-band > .full_section_inner > .vc_col-sm-6:not(.vc_col-has-fill) .vc_empty_space { display: none; }
 .vc_row.event-band > .full_section_inner > .vc_col-sm-6:not(.vc_col-has-fill) .vc_col-sm-1 { display: none; }
 .vc_row.event-band > .full_section_inner > .vc_col-sm-6:not(.vc_col-has-fill) .vc_col-sm-7 { width: 100%; max-width: 480px; }
 .vc_row.event-band > .full_section_inner > .vc_col-sm-6:not(.vc_col-has-fill) .wpb_text_column { margin-bottom: 16px; }
 .vc_row.event-band > .full_section_inner > .vc_col-sm-6:not(.vc_col-has-fill) .qbutton { margin-top: 8px; }
}

/* Medios a sangre con altura contenida en escritorio. */
@media (min-width: 1025px) {
 .vc_row.event-band .local-event-video,
 .vc_row.event-band .intelcorp-event-image-media { aspect-ratio: auto; height: clamp(360px, 25vw, 480px) !important; overflow: hidden; }
 .vc_row.event-band .local-event-video > iframe { top: 50% !important; bottom: auto !important; height: auto !important; aspect-ratio: 16 / 9; min-height: 100%; transform: translateY(-50%); }
}

@media (min-width: 1025px) { .vc_row.event-band { margin-left: 0 !important; margin-right: 0 !important; } }

/* Marca unificada en el pie de página. */
.footer-brand { display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 20px; }
.footer-brand-logo { display: block; width: 254px; max-width: 100%; height: auto; }
.footer-brand .footer-brand-tagline { margin: 9px 0 0; color: #fff; font-size: 15px; line-height: 1.5; letter-spacing: .15em; font-weight: 400; }

/* Contacto directo por WhatsApp, disponible durante toda la navegación. */
.whatsapp-float { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 10000; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff !important; box-shadow: 0 5px 22px #0003; transition: transform .2s, background .2s; }
.whatsapp-float svg { display: block; flex: none; }
.whatsapp-float:hover { background: #1bb658; transform: translateY(-3px); }
.whatsapp-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #14783a; }
.whatsapp-float-label { position: absolute; right: 74px; padding: 9px 14px; border-radius: 20px; background: #fff; color: #244332; box-shadow: 0 3px 16px #0002; white-space: nowrap; font-size: 13px; line-height: 1.4; opacity: 0; visibility: hidden; transform: translateX(5px); transition: opacity .2s, transform .2s, visibility .2s; }
.whatsapp-float:hover .whatsapp-float-label, .whatsapp-float:focus-visible .whatsapp-float-label { opacity: 1; visibility: visible; transform: translateX(0); }
@media (max-width: 767px) { .whatsapp-float { width: 56px; height: 56px; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float, .whatsapp-float-label { transition: none; } }

/* Invitación animada y ventana de contacto de WhatsApp. */
.contact-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; }
.whatsapp-float { border: 0; padding: 0; cursor: pointer; font-family: inherit; animation: whatsapp-pulse 4s ease-out infinite; }
.whatsapp-float .whatsapp-float-label { opacity: 1; visibility: visible; transform: none; animation: whatsapp-invite 8s ease-in-out infinite; }
@keyframes whatsapp-pulse { 0%, 65%, 100% { box-shadow: 0 5px 22px #0003, 0 0 0 0 #25d36650; } 85% { box-shadow: 0 5px 22px #0003, 0 0 0 13px #25d36600; } }
@keyframes whatsapp-invite { 0%, 8%, 80%, 100% { opacity: 1; transform: translateX(0); } 88%, 94% { opacity: 0; transform: translateX(8px); } }
.whatsapp-dialog { position: fixed; inset: 0; margin: auto; width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 38px; border: 1px solid #b9821633; border-radius: 20px; background: #fff; color: #25332b; box-shadow: 0 28px 90px #0005; box-sizing: border-box; overflow: auto; font-family: inherit; text-align: left; }
.whatsapp-dialog::backdrop { background: #101b16b8; backdrop-filter: blur(5px); }
.whatsapp-dialog-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f4f2; color: #46584d; font-size: 25px; line-height: 1; cursor: pointer; }
.whatsapp-eyebrow { display: block; margin: 0 20px 14px 0; color: #987020; font-size: 10px; letter-spacing: .12em; font-weight: 600; }
.whatsapp-dialog h2 { font-size: 32px; line-height: 1.2; text-transform: none; letter-spacing: -.04em; margin: 0 0 12px; color: #183b2a; }
.whatsapp-dialog > p { font-size: 14px; line-height: 1.6; margin: 0 0 24px; color: #657168; }
.whatsapp-dialog label { display: block; font-size: 12px; font-weight: 600; margin: 14px 0 6px; color: #334b3e; }
.whatsapp-dialog input { width: 100%; height: 46px; border: 1px solid #d7dfd9; border-radius: 12px; background: #f8faf8; padding: 10px 13px; box-sizing: border-box; font-family: inherit; font-size: 16px; color: #20382a; }
.whatsapp-dialog input:focus { outline: 2px solid #268e55; outline-offset: 2px; }
.whatsapp-dialog .whatsapp-privacy { font-size: 11px; line-height: 1.5; color: #768278; margin: 16px 0; }
.whatsapp-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 15px 12px; border: 0; border-radius: 20px; background: #168a48; color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.whatsapp-submit:hover { background: #106b37; }
.whatsapp-submit:disabled { opacity: .65; cursor: wait; }
.whatsapp-submit:focus-visible, .whatsapp-dialog-close:focus-visible { outline: 2px solid #168a48; outline-offset: 3px; }
.whatsapp-status { font-size: 12px; line-height: 1.5; color: #375944; margin-top: 14px; }
.whatsapp-status:empty { display: none; }
#contacto textarea.wpcf7-textarea { display: block; width: 100%; box-sizing: border-box; min-height: 88px; resize: vertical; padding: 12px 16px; background: #fff; color: #333; border: 0; border-radius: 3px; font-family: inherit; font-size: 14px; line-height: 1.5; margin: 0 0 12px; }
#contacto input[name="empresa"] { box-sizing: border-box; }
@media (max-width: 767px) { .whatsapp-dialog { padding: 32px 24px 26px; } .whatsapp-float .whatsapp-float-label { right: 66px; font-size: 11px; padding: 9px 11px; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float, .whatsapp-float .whatsapp-float-label { animation: none; } }

/* Descripción breve bajo el título principal. */
#contacto .hero-intro-copy { max-width: 640px; margin: 20px 0 6px; font-size: 18px; line-height: 1.65; font-weight: 400; color: #ffffffe0; }
@media (max-width: 767px) { #contacto .hero-intro-copy { font-size: 16px; line-height: 1.65; margin-top: 18px; } }

/* MercadoMin: portal a sangre y fondo con desplazamiento suave. */
.market-band { display: grid; grid-template-columns: 1fr 1fr; width: 100%; background: #f8f8f8; text-align: left; }
.market-visual { position: relative; height: clamp(360px,25vw,480px); overflow: hidden; background: #0739b0; }
.market-parallax-image { position: absolute; top: -40px; left: 0; width: 100%; max-width: none; height: calc(100% + 80px); object-fit: cover; object-position: center; will-change: transform; }
.market-copy { padding: 42px clamp(32px,4vw,72px); align-self: center; box-sizing: border-box; }
.market-copy h2 { color: #222; font-size: 28px; line-height: 1.2; font-weight: 600; margin: 0 0 9px; }
.market-copy .market-blink { color: #075bc6; font-size: 16px; line-height: 1.4; font-weight: 600; margin: 0 0 12px; animation: market-blink 3s ease-in-out infinite; }
.market-description { max-width: 480px; font-size: 16px; line-height: 1.6; color: #555; margin: 0 0 18px; }
.market-copy .market-cta { display: inline-flex; align-items: center; gap: 12px; background: #ab7105; border-color: #ab7105; border-radius: 20px; }
.market-copy .market-cta:hover { background: #8a5902; border-color: #8a5902; }
@keyframes market-blink { 0%, 35%, 100% { opacity: 1; } 65% { opacity: .38; } }
/* Cabecera de contraste unida a la franja de nuestra agencia. */
.agency-band { margin-top: 0; padding: 0 0 48px; border-top: 0; }
.agency-banner-title { padding: 19px 32px; margin: 0 0 40px; background: #113453; color: #fff; text-align: center; }
.agency-banner-title p { margin: 0; color: #fff; font-size: 20px; line-height: 1.5; }
.agency-banner-title strong { font-weight: 600; }
.agency-banner-title span { color: #f2bf62; }
.agency-copy h3 { font-size: 20px; }
@media (max-width: 1024px) { .market-description { font-size: 15px; } .market-copy { padding: 36px 32px; } }
@media (max-width: 767px) {
 .market-band { grid-template-columns: 1fr; }
 .market-visual { height: auto; aspect-ratio: 16 / 9; }
 .market-parallax-image { top: 0; height: 100%; will-change: auto; }
 .market-copy { padding: 34px 24px 40px; }
 .market-copy h2 { font-size: 25px; }
 .agency-banner-title { padding: 20px 24px; margin-bottom: 32px; }
 .agency-banner-title p { font-size: 18px; }
 .agency-band { padding-bottom: 38px; }
}
@media (prefers-reduced-motion: reduce) { .market-copy .market-blink { animation: none; } .market-parallax-image { will-change: auto; } }
/* Campos más compactos y actuales sobre la tarjeta de contacto. */
#contacto .wpcf7-form > p:not(.local-form-status) { display: grid; gap: 11px; margin: 0; }
#contacto .wpcf7-form > p > br { display: none; }
#contacto .wpcf7-form .wpcf7-form-control-wrap { display: block; margin: 0 !important; }
#contacto .wpcf7-form input.wpcf7-text,
#contacto .wpcf7-form textarea.wpcf7-textarea { display: block; width: 100%; box-sizing: border-box; margin: 0 !important; padding: 13px 15px !important; background: #ffffff0d !important; color: #fff !important; border: 1px solid #ffffff38 !important; border-radius: 12px !important; font-family: inherit; font-size: 15px !important; line-height: 1.5; box-shadow: inset 0 1px 0 #ffffff05; transition: border-color .2s, background .2s, box-shadow .2s; }
#contacto .wpcf7-form input.wpcf7-text { height: 48px; }
#contacto .wpcf7-form textarea.wpcf7-textarea { height: 94px; min-height: 94px; }
#contacto .wpcf7-form input.wpcf7-text::placeholder,
#contacto .wpcf7-form textarea.wpcf7-textarea::placeholder { color: #ffffffad; opacity: 1; }
#contacto .wpcf7-form input.wpcf7-text:hover,
#contacto .wpcf7-form textarea.wpcf7-textarea:hover { border-color: #ffffff65 !important; }
#contacto .wpcf7-form input.wpcf7-text:focus,
#contacto .wpcf7-form textarea.wpcf7-textarea:focus { outline: none; border-color: #d6a34a !important; background: #ffffff12 !important; box-shadow: 0 0 0 3px #d6a34a25; }
#contacto input.wpcf7-submit { margin-top: 3px !important; }
@media (max-width: 767px) { #contacto .wpcf7-form input.wpcf7-text, #contacto .wpcf7-form textarea.wpcf7-textarea { font-size: 16px !important; } }
@media (prefers-reduced-motion: reduce) { #contacto .wpcf7-form input.wpcf7-text, #contacto .wpcf7-form textarea.wpcf7-textarea { transition: none; } }

/* Pulso de invitación y flecha consistente en todos los botones Conoce. */
.cta-discover { --cta-halo: #b982162b; display: inline-flex !important; align-items: center; justify-content: center; gap: 14px; animation: cta-invite-blink 3s ease-in-out infinite; }
.agency-cta.cta-discover { --cta-halo: #3167b026; }
.cta-discover .cta-label { display: block; }
.cta-discover .cta-arrow { display: block; flex: 0 0 auto; width: 25px; height: 18px; overflow: visible; transition: transform .25s ease; }
.cta-discover:hover .cta-arrow, .cta-discover:focus-visible .cta-arrow { transform: translateX(4px); }
.cta-discover:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@keyframes cta-invite-blink { 0%, 100% { filter: brightness(1); box-shadow: 0 0 0 0 transparent; } 50% { filter: brightness(1.16); box-shadow: 0 0 0 5px var(--cta-halo); } }
@media (prefers-reduced-motion: reduce) { .cta-discover { animation: none; } .cta-discover .cta-arrow { transition: none; } }

/* Ritmo alternado para las ocho secciones de eventos y plataformas. */
.vc_row.event-band { background-color: #fff !important; }
.vc_row.event-band.event-band-alt, .market-band { background-color: #f8f8f8 !important; }

@media (max-width: 767px) {
 .market-copy { text-align: center; }
 .market-description { margin-left: auto; margin-right: auto; }
}

@media (max-width: 767px) {
 .agency-band-inner { text-align: center; justify-items: center; }
 .agency-brand, .agency-cta { justify-self: center; }
 .agency-copy { text-align: center; }
}

/* Equipo: retratos circulares con encuadre y fondo uniforme. */
section.intelcorp-team { clear: both; background: #fff; padding: 58px 28px 64px; scroll-margin-top: 100px; }
.intelcorp-team, .intelcorp-team * { box-sizing: border-box; }
.intelcorp-team-inner { max-width: 1200px; margin: 0 auto; }
.intelcorp-team-heading { text-align: center; margin: 0 0 38px; }
.intelcorp-team-eyebrow { display: block; color: #ab7105; font-size: 10px; line-height: 1.6; font-weight: 600; letter-spacing: .18em; margin-bottom: 10px; }
.intelcorp-team-heading h2 { color: #113453; font-size: 30px; line-height: 1.25; font-weight: 600; margin: 0; text-transform: none; letter-spacing: -.02em; }
.intelcorp-team-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0 !important; padding: 0 !important; }
.intelcorp-team-member { list-style: none; margin: 0 !important; padding: 0; text-align: center; min-width: 0; }
.intelcorp-team-portrait { width: min(100%, 150px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #e8edf2; margin: 0 auto 20px; border: 4px solid #fff; outline: 1px solid #dce2e8; transition: outline-color .2s, transform .25s; }
.intelcorp-team-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.intelcorp-team-member h3 { color: #173751; font-size: 16px; line-height: 1.35; font-weight: 600; letter-spacing: -.015em; text-transform: none; margin: 0 0 6px; }
.intelcorp-team-member p { color: #6a737c; font-size: 12px; line-height: 1.5; margin: 0; }
@media (hover: hover) { .intelcorp-team-member:hover .intelcorp-team-portrait { outline-color: #ab7105; transform: translateY(-3px); } }
@media (max-width: 1023px) { .intelcorp-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 599px) {
 section.intelcorp-team { padding: 40px 22px 46px; }
 .intelcorp-team-heading { margin-bottom: 30px; }
 .intelcorp-team-heading h2 { font-size: 27px; }
 .intelcorp-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
 .intelcorp-team-portrait { width: min(100%, 132px); margin-bottom: 16px; }
 .intelcorp-team-member h3 { font-size: 15px; }
 .intelcorp-team-member p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .intelcorp-team-portrait { transition: none; } }

/* Digital & Media: separación editorial y tres franjas con la misma escala. */
.digital-media-intro { clear: both; padding: 78px 28px 66px; background: #fff; text-align: center; scroll-margin-top: 90px; }
.digital-media-intro h2 { font-size: clamp(40px, 6vw, 85px); line-height: 1.1; font-weight: 700; letter-spacing: -.035em; color: #d4d4d4; margin: 0 0 36px; }
.digital-media-intro h2 span:last-child { color: #e5e5e5; }
.digital-media-intro p { max-width: 860px; margin: 0 auto; font-size: 18px; line-height: 1.65; color: #555; }
.market-band.digital-media-white { background: #fff !important; }
.digital-media-band .market-blink { color: #ab7105; }
.intelcorp-team-grid[aria-hidden="true"] { display: none; }
@media (min-width: 1024px) and (max-width: 1199px) { .intelcorp-team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 32px; } }
/* Pie editorial con navegación, contacto y redes en una sola estructura. */
#plataformas { scroll-margin-top: 90px; }
footer.intelcorp-footer { position: relative; clear: both; box-sizing: border-box; background: #102d43; color: #dce5ec; padding: 64px 40px 0; border-top: 3px solid #b98216; text-align: left; }
.intelcorp-footer *, .intelcorp-footer *::before, .intelcorp-footer *::after { box-sizing: border-box; }
.intelcorp-footer-main { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.35fr; gap: 48px; padding-bottom: 48px; }
.intelcorp-footer .footer-brand { align-items: flex-start; margin: 0 0 22px; }
.intelcorp-footer .footer-brand-logo { width: 210px; height: auto; }
.intelcorp-footer .footer-brand-tagline { font-size: 12px; color: #e6ba70; letter-spacing: .2em; margin-top: 10px; }
.intelcorp-footer-about p { max-width: 300px; color: #bacbd7; font-size: 14px; line-height: 1.8; margin: 0 0 24px; }
.intelcorp-footer h3 { color: #fff; font-size: 15px; line-height: 1.5; font-weight: 600; text-transform: none; margin: 5px 0 22px; letter-spacing: 0; }
.intelcorp-footer a { color: #c2d1dc; transition: color .2s; }
.intelcorp-footer a:hover { color: #efbb62; }
.intelcorp-footer a:focus-visible { outline: 2px solid #efbb62; outline-offset: 5px; }
.intelcorp-footer-links a, .intelcorp-footer-contact > a { display: block; font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.intelcorp-footer-contact .intelcorp-footer-phone { font-size: 21px; font-weight: 600; color: #fff; margin-bottom: 9px; white-space: nowrap; }
.intelcorp-footer-contact address { color: #bacbd7; font-size: 13px; line-height: 1.8; font-style: normal; margin: 18px 0; }
.intelcorp-footer-contact .intelcorp-footer-invite { display: inline-flex; gap: 16px; color: #efbb62; border-bottom: 1px solid #efbb6255; padding-bottom: 5px; font-weight: 600; }
.intelcorp-footer-social { display: flex; gap: 10px; }
.intelcorp-footer-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #ffffff29; border-radius: 50%; color: #fff; }
.intelcorp-footer-social svg { width: 20px; height: 20px; }
.intelcorp-footer-social a:hover { background: #ffffff0d; border-color: #efbb62; }
.intelcorp-footer-bottom { max-width: 1280px; margin: 0 auto; padding: 23px 0; border-top: 1px solid #ffffff24; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; line-height: 1.6; color: #96aebf; }
@media (max-width: 1100px) { .intelcorp-footer-main { grid-template-columns: 1.3fr 1fr; gap: 36px; } }
@media (max-width: 599px) {
 footer.intelcorp-footer { padding: 44px 26px 70px; }
 .intelcorp-footer-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-bottom: 26px; }
 .intelcorp-footer-about, .intelcorp-footer-contact { grid-column: 1 / -1; }
 .intelcorp-footer-about p { max-width: 360px; }
 .intelcorp-footer h3 { font-size: 14px; margin-bottom: 16px; }
 .intelcorp-footer-links a { font-size: 12px; }
 .intelcorp-footer-bottom { flex-direction: column; gap: 10px; padding-top: 22px; }
}

/* Firma de marca: descriptor discreto bajo el logotipo. */
header .q_logo { top: 0 !important; height: auto !important; }
header .q_logo a.intelcorp-header-brand { display: inline-flex !important; flex-direction: column; align-items: center; justify-content: center; position: relative; top: 0 !important; width: 210px !important; height: auto !important; line-height: 1; }
header .q_logo a.intelcorp-header-brand img.intelcorp-header-logo { display: block !important; position: relative !important; inset: auto !important; width: 210px !important; height: auto !important; max-height: none !important; opacity: 1 !important; }
header .intelcorp-header-tagline { display: block; width: 100%; margin-top: -3px; padding-left: 22%; text-align: center; font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .28em; color: #e4c48b; white-space: nowrap; }
header.sticky .q_logo a.intelcorp-header-brand, header.sticky .q_logo a.intelcorp-header-brand img.intelcorp-header-logo { width: 170px !important; }
header.sticky .intelcorp-header-tagline { display: none; }
.intelcorp-footer .footer-brand-tagline { font-size: 10px; letter-spacing: .28em; }
@media (max-width: 1000px) {
 header .q_logo a.intelcorp-header-brand, header .q_logo a.intelcorp-header-brand img.intelcorp-header-logo { width: 180px !important; }
 header .intelcorp-header-tagline { font-size: 8px; }
}

/* Carbón y dorado para el cierre de marca. */
footer.intelcorp-footer { background: #121416; color: #ddd; }
.intelcorp-footer-about p, .intelcorp-footer-contact address { color: #b4b5b7; }
.intelcorp-footer a { color: #c6c7c9; }
.intelcorp-footer-bottom { color: #8f9398; }

/* Nosotros: un fondo continuo desde Conectamos Personas hasta el equipo. */
section.intelcorp-team { background: #f8f8f8; border: 0; }
.vc_custom_1754420679992 { background: #f8f8f8 !important; }
.vc_custom_1754420679992 h2 span { color: #113453 !important; }

/* Transición más compacta desde el video institucional al equipo. */
.vc_custom_1750116701970 .vc_empty_space.chau { height: 16px !important; }
.vc_custom_1750116701970 .vc_empty_space.chau + .vc_empty_space { height: 8px !important; }
section.intelcorp-team { padding-top: 32px; padding-bottom: 40px; }
.intelcorp-team-heading { margin-bottom: 26px; }

/* Descriptor alineado solo con la palabra Intelcorp, sin abarcar el isotipo. */
.intelcorp-footer .footer-brand-logo { width: 240px; }
.intelcorp-footer .footer-brand-tagline { width: 100%; padding-left: 22%; text-align: center; }

/* Marcas aprobadas en lugar de los títulos tipográficos de cada sección. */
.brand-heading { margin: 0 0 16px !important; position: relative; }
.brand-heading-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-brand-logo { display: block; width: min(100%, 224px); height: 75.6px; overflow: hidden; }
.digital-media-band .section-brand-logo { max-width: 231px; }
.trust-row-4 .trust-track { animation-direction: reverse; }
.trust-row-added .trust-track { animation-duration: 215s; }
@media (max-width: 767px) {
 .section-brand-logo { margin: 0 auto; height: 63px; max-width: 203px; }
 .trust-row-added .trust-track { animation-duration: 175s; }
}
@media (prefers-reduced-motion: reduce) { .trust-row-added .trust-track { animation: none; } }

/* Cargos del equipo en dos líneas constantes. */
.intelcorp-team-member p { min-height: 3em; }
.intelcorp-team-member .team-role-line { display: block; white-space: nowrap; }

/* Descriptor ajustado al ancho real de Intelcorp y próximo al nombre. */
header .intelcorp-header-tagline,
.intelcorp-footer .footer-brand-tagline { display: flex; align-self: flex-start; justify-content: space-between; width: 74.8%; margin: -7% 0 0 23.62%; padding: 0; letter-spacing: 0; }
header .intelcorp-header-tagline > span,
.intelcorp-footer .footer-brand-tagline > span { display: block; flex: none; }
.intelcorp-header-tagline .brand-word-gap,
.footer-brand-tagline .brand-word-gap { width: .7em; }
header.sticky .intelcorp-header-tagline { display: none; }

.mina360-event { scroll-margin-top: 90px; }

/* Video del hero en todos los dispositivos, con imagen de respaldo. */
#contacto > .intelcorp-hero-media { background: #181714 url('assets/bg2-d7aa770b6e.jpg') center / cover; }
#contacto .intelcorp-hero-video { display: block !important; opacity: 1 !important; }
#contacto .vidbg-overlay { position: absolute; inset: 0; background: #0005; pointer-events: none; }
.hero-video-play { position: absolute; right: 20px; top: 12px; z-index: 2; padding: 9px 14px; border: 1px solid #ffffff70; border-radius: 20px; background: #1616169c; color: #fff; font-family: inherit; font-size: 12px; line-height: 1.4; cursor: pointer; }
.hero-video-play[hidden] { display: none; }
.trust-row:nth-child(even) .trust-track { animation-direction: reverse; }

@media (max-width: 767px) {
 /* Equipo completo: ocho retratos en dos filas, sin marquesina. */
 section.intelcorp-team { padding: 30px 14px 36px; }
 .intelcorp-team-heading { padding: 0; margin-bottom: 24px; }
 .intelcorp-team-window { overflow: visible; padding: 2px 0; }
 .intelcorp-team-track { display: block; width: 100%; animation: none; transform: none; will-change: auto; }
 .intelcorp-team-grid { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px 8px; padding: 0 !important; }
 .intelcorp-team-grid[aria-hidden="true"] { display: none; }
 .intelcorp-team-member { width: auto; min-width: 0; }
 .intelcorp-team-portrait { width: min(100%, 80px); border-width: 3px; margin-bottom: 10px; }
 .intelcorp-team-member h3 { font-size: clamp(10px,2.8vw,13px); line-height: 1.3; margin-bottom: 5px; }
 .team-name-line { display: block; }
 .intelcorp-team-member p { font-size: clamp(6.5px,2.05vw,10px); line-height: 1.5; color: #626b73; }

 /* Introducción de Nosotros con una jerarquía más clara y compacta. */
 .vc_custom_1754420679992 .vc_empty_space { display: none; }
 .vc_custom_1754420679992 { padding: 34px 20px 26px; box-sizing: border-box; }
 .vc_custom_1754420679992 h2 { font-size: clamp(28px,8vw,40px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
 .vc_custom_1754420679992 h2 .mobile-nosotros-accent { display: block; color: #ab7105 !important; }
 .vc_custom_1750116701970 p { font-size: 15px; line-height: 1.7; }
 .vc_custom_1750116701970 h2 { font-size: 25px; line-height: 1.25; }
 .vc_custom_1750116701970 .vc_col-sm-6 + .vc_col-sm-6 .vc_empty_space { height: 20px !important; }

 /* Mina360 centrado con el mismo tratamiento de las demás marcas. */
 #mina360 .wpb_text_column, #mina360 .wpb_text_column p,
 #mina360 .blink_me, #mina360 .vc_inner { text-align: center !important; }
 #mina360 > .full_section_inner > .vc_col-sm-6:not(.local-event-video) { padding: 14px 24px 22px; box-sizing: border-box; }
 #mina360 .vc_empty_space { height: 20px !important; }

 /* Misma franja dorada para el título de Digital & Media. */
 .digital-media-intro { padding: 0 0 32px; }
 .digital-media-intro h2 { background: #ab7105; color: #fff; padding: 32px 16px; margin: 0 0 28px; font-size: 27px; line-height: 1.25; letter-spacing: .01em; font-weight: 600; }
 .digital-media-intro h2 span:last-child { color: #fff; }
 .digital-media-intro p { padding: 0 26px; font-size: 15px; line-height: 1.7; }

 /* Recorrido leve de las fotografías al deslizar, sin fondo fijo en iOS. */
 .market-parallax-image { top: -24px; height: calc(100% + 48px); will-change: transform; }
 .intelcorp-event-image-media { position: relative; overflow: hidden; }
 .intelcorp-event-image-media::before { content: ''; position: absolute; inset: -24px 0; background-image: inherit; background-position: center; background-size: cover; transform: translate3d(0,var(--media-y,0px),0); will-change: transform; }

 /* Logos a sangre: el título conserva sus márgenes de lectura. */
 .trust-carousel { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
 .trust-rows { mask-image: none; }
 .trust-row { margin: 4px 0; }
 .trust-logo { height: 72px; }

 /* Todo el cierre centrado, incluidos enlaces, contacto y redes. */
 footer.intelcorp-footer { text-align: center; padding: 42px 24px 78px; }
 .intelcorp-footer-main { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
 .intelcorp-footer-about, .intelcorp-footer-contact { grid-column: 1 / -1; }
 .intelcorp-footer-about p { margin-left: auto; margin-right: auto; }
 .intelcorp-footer .footer-brand { margin-left: auto; margin-right: auto; }
 .intelcorp-footer-social { justify-content: center; }
 .intelcorp-footer-bottom { flex-direction: column; align-items: center; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
 .intelcorp-event-image-media::before, .market-parallax-image { will-change: auto; }
 .intelcorp-event-image-media::before { transform: none; }
}
@media (max-width: 767px) {
 #contacto h1 { font-size: clamp(32px,9vw,40px); line-height: 1.12; letter-spacing: -.025em; }
}
@media (max-width: 767px) {
 .digital-media-intro h2 { font-size: 24px; line-height: 1; }
 .vc_custom_1750116701970 > .full_section_inner > .vc_col-sm-12 > .vc_column-inner > .wpb_wrapper > .vc_empty_space:first-child,
 .vc_custom_1750116701970 > .full_section_inner > .vc_col-sm-12 > .vc_column-inner > .wpb_wrapper > .vc_empty_space:nth-child(2) { display: none; }
}
.intelcorp-nosotros-intro { clear: both; background: #f8f8f8; scroll-margin-top: 70px; }
