/*
Theme Name: Gente Business
Theme URI: https://mnweb.com.co
Author: MNWeb
Author URI: https://mnweb.com.co
Description: Tema de bloques limpio y rápido para Gente Business. Todo se edita en el Editor del sitio de WordPress con bloques y patrones arrastrables: slider automático, portadas, tarjetas, pasos y contacto. Incluye datos estructurados para Google, migas de pan y estilos para Contact Form 7 con etiquetas flotantes. Diseñado y desarrollado por MNWeb.
Version: 1.0.4
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gente
Tags: block-patterns, full-site-editing, one-column, wide-blocks, custom-colors, custom-logo, editor-style, translation-ready
*/

/* Paleta: azul marino #10243A, naranja Gente #ED3813, acento #FF5700.
   Tipografía: Archivo (títulos) + Inter (texto), alojadas en el tema. */

/* ---------- Base ---------- */
html { scroll-padding-top: 80px; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
:where(h1, h2, h3) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }
img { height: auto; max-width: 100%; }
:focus-visible { outline: 2px solid var(--wp--preset--color--flame); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* ---------- Bandas a todo el ancho ---------- */
body .wp-site-blocks > * { margin-block-start: 0; }
.wp-block-post-content > .alignfull { margin-block-start: 0 !important; margin-block-end: 0 !important; }

/* ---------- Cabecera ---------- */
.gb-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--wp--preset--color--sky); }
.admin-bar .gb-header { top: 32px; }
.gb-header .gb-logo img { width: 150px !important; display: block; transition: width .3s ease; }
.wp-block-template-part:has(> .gb-header) { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-block-template-part:has(> .gb-header) { top: 32px; }
.gb-header { transition: padding .3s ease, box-shadow .3s ease; }
.gb-scrolled .gb-header { padding-top: .2rem !important; padding-bottom: .2rem !important; box-shadow: 0 4px 18px rgba(10,24,40,.08); }
.gb-scrolled .gb-header .gb-logo img { width: 96px !important; }
.gb-header .wp-block-navigation { font-size: .88rem; }
.gb-header .wp-block-navigation a { text-decoration: none; padding: .35rem 0; }
.gb-header .wp-block-navigation a:hover, .gb-header .wp-block-navigation .current-menu-item > a { color: var(--wp--preset--color--brand); }

/* ---------- Etiquetas ---------- */
.gb-label { color: var(--wp--preset--color--brand); font-family: var(--wp--preset--font-family--heading); font-weight: 500; font-size: 1rem; margin-bottom: .5rem !important; }
h1.gb-h1-label { font-size: 1rem !important; line-height: 1.4; letter-spacing: 0; }
.gb-kicker { font-family: var(--wp--preset--font-family--heading); font-weight: 500; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: #FF8A5C; }

/* ---------- Portadas (slider y páginas) ---------- */
.wp-block-cover.gb-hero, .wp-block-cover.gb-slide { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.wp-block-cover.gb-hero h1, .wp-block-cover.gb-slide h2 { color: #fff; }
.wp-block-cover .gb-hero-text, .wp-block-cover .gb-slide-text { width: 100%; }
.wp-block-cover .gb-hero-text > *, .wp-block-cover .gb-slide-text > * { max-width: 640px; }
.wp-block-cover.gb-hero p, .wp-block-cover.gb-slide p { color: rgba(255,255,255,.9); }
.wp-block-cover.gb-hero { border-bottom: 5px solid var(--wp--preset--color--brand); }

/* ---------- Slider ---------- */
.gb-slider { position: relative; }
.gb-slider.is-ready { display: grid; }
.gb-slider.is-ready > .wp-block-cover { grid-area: 1 / 1; margin: 0 !important; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.gb-slider.is-ready > .wp-block-cover.is-active { opacity: 1; visibility: visible; z-index: 1; }
.gb-slider.is-ready > .wp-block-cover { transition: opacity 1.2s ease, visibility 1.2s; }
.gb-slider.is-ready > .wp-block-cover .gb-slide-text > * { opacity: 0; transform: translateX(-90px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.gb-slider.is-ready > .wp-block-cover:nth-child(even) .gb-slide-text > * { transform: translateX(90px); }
.gb-slider.is-ready > .wp-block-cover.is-active .gb-slide-text > * { opacity: 1; transform: none; }
.gb-slider.is-ready > .wp-block-cover.is-active .gb-slide-text > *:nth-child(1) { transition-delay: .45s; }
.gb-slider.is-ready > .wp-block-cover.is-active .gb-slide-text > *:nth-child(2) { transition-delay: .6s; }
.gb-slider.is-ready > .wp-block-cover.is-active .gb-slide-text > *:nth-child(3) { transition-delay: .75s; }
.gb-slider.is-ready > .wp-block-cover.is-active .gb-slide-text > *:nth-child(4) { transition-delay: .9s; }
.gb-slider-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; pointer-events: none; }
.gb-slider-nav > * { pointer-events: auto; }
.gb-slider-dots { display: flex; gap: .5rem; }
.gb-slider-dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.gb-slider-dot[aria-current="true"] { background: var(--wp--preset--color--brand); border-color: var(--wp--preset--color--brand); }
.gb-slider-arrow { width: 44px; height: 44px; border-radius: 6px; border: 1px solid rgba(255,255,255,.5); background: rgba(10,24,40,.35); color: #fff; display: grid; place-items: center; cursor: pointer; }
.gb-slider-arrow:hover { background: var(--wp--preset--color--brand); border-color: var(--wp--preset--color--brand); }
@media (min-width: 1100px) { .gb-slider-nav { justify-content: flex-start; padding-left: max(calc((100% - var(--wp--style--global--wide-size, 1240px)) / 2), var(--wp--style--root--padding-left)); } }

/* ---------- Botones ---------- */
.wp-block-button__link { transition: background-color .2s, color .2s; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; border: 2px solid currentColor; color: var(--wp--preset--color--navy); padding: calc(.85rem - 2px) calc(1.6rem - 2px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--navy); color: #fff; border-color: var(--wp--preset--color--navy); }
.wp-block-button.is-style-light > .wp-block-button__link { background: transparent; border: 2px solid rgba(255,255,255,.75); color: #fff; padding: calc(.85rem - 2px) calc(1.6rem - 2px); }
.wp-block-button.is-style-light > .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--navy); }
.gb-textlink { padding-top: .35rem; }
.gb-textlink a { font-family: var(--wp--preset--font-family--heading); font-weight: 500; text-decoration: none; color: var(--wp--preset--color--brand); }
.gb-band .gb-textlink a, .has-navy-background-color .gb-textlink a { color: #FF8A5C; }
.gb-textlink + .gb-textlink { margin-top: .25rem !important; padding-top: 0; }

/* ---------- Tarjetas ---------- */
.is-style-card { background: #fff; border: 1px solid var(--wp--preset--color--sky); border-radius: 12px; box-shadow: var(--wp--preset--shadow--card); overflow: hidden; }
.is-style-card > .gb-card-img { margin: 0 !important; }
.is-style-card > .gb-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.is-style-card > .gb-card-body { margin-top: 0 !important; }
.gb-card-grid > .wp-block-column { display: flex; }
.gb-card-grid > .wp-block-column > .wp-block-group { flex: 1; display: flex; flex-direction: column; }
.gb-card-grid .gb-card-body { flex: 1; display: flex; flex-direction: column; }
.gb-card-grid .gb-card-body > .gb-textlink:last-child { margin-top: auto !important; }
.gb-card-body h3 { font-size: 1.3rem; font-weight: 500; }
.gb-icon img { width: 48px; height: 48px; }
.gb-band { border-radius: 12px; }
.gb-band.has-navy-background-color p { color: rgba(255,255,255,.86); }
.has-peach-background-color .gb-icon img { border-radius: 14px; box-shadow: 0 0 0 1.5px rgba(237,56,19,.35); }
.gb-rounded img { border-radius: 12px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gb-partner-logo img { max-width: 280px; margin-inline: auto; }

/* ---------- Pasos ---------- */
.gb-steps { counter-reset: gbstep; }
.gb-step { counter-increment: gbstep; position: relative; padding-top: 4.25rem !important; }
.gb-step::before { content: counter(gbstep); position: absolute; top: 0; left: 0; width: 3rem; height: 3rem; border-radius: 8px; display: grid; place-items: center; background: var(--wp--preset--color--brand); color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.25rem; }
.gb-step h3 { margin-top: 0; font-size: 1.3rem; font-weight: 500; }

/* ---------- Migas de pan ---------- */
.gb-breadcrumbs { font-size: .9375rem; margin-bottom: .75rem; }
.gb-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.gb-breadcrumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.gb-breadcrumbs a { text-decoration: none; color: rgba(255,255,255,.78); }
.gb-breadcrumbs [aria-current] { color: #fff; }

/* ---------- Formularios (Contact Form 7) con etiquetas flotantes ---------- */
.gb-form-card { background: #fff; border-radius: 12px; box-shadow: var(--wp--preset--shadow--card); }
.gb-form, .wpcf7-form { display: grid; gap: 1.1rem; }
.gb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.gb-form-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gb-form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gb-form-grid > .gb-field--full { grid-column: 1 / -1; }
@media (max-width: 900px) { .gb-form-grid--4, .gb-form-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gb-form-grid, .gb-form-grid--4, .gb-form-grid--3 { grid-template-columns: 1fr; } }
.gb-field { position: relative; }
.gb-field .wpcf7-form-control-wrap { display: block; }
.gb-field input, .gb-field textarea, .gb-field select { width: 100%; margin: 0; padding: 1.45rem .95rem .5rem; font: inherit; font-size: 16px; line-height: 1.4; color: var(--wp--preset--color--navy); background: #fff; border: 1.5px solid #C9D6E2; border-radius: 6px; min-height: 56px; transition: border-color .15s, box-shadow .15s; }
.gb-field textarea { min-height: 130px; resize: vertical; }
.gb-field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310243A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 18px no-repeat; padding-right: 2.5rem; }
.gb-field label { position: absolute; left: 1rem; top: 1.05rem; color: var(--wp--preset--color--slate); font-size: 1rem; line-height: 1.2; pointer-events: none; transform-origin: left top; transition: transform .15s ease, color .15s ease; max-width: calc(100% - 2rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-field.is-focus label, .gb-field.is-filled label, .gb-field--select label { transform: translateY(-.62rem) scale(.78); }
.gb-field.is-focus label { color: var(--wp--preset--color--brand); }
.gb-field.is-focus input, .gb-field.is-focus textarea, .gb-field.is-focus select { border-color: var(--wp--preset--color--brand); box-shadow: 0 0 0 3px rgba(237,56,19,.14); outline: none; }
.gb-field .wpcf7-not-valid { border-color: #C62828; }
.wpcf7-not-valid-tip { font-size: .85rem; margin-top: .3rem; }
.gb-consent { font-size: .85rem; color: var(--wp--preset--color--slate); line-height: 1.5; }
.gb-consent .wpcf7-list-item { margin: 0; }
.gb-consent label { display: flex; gap: .65rem; align-items: flex-start; }
.gb-consent input[type=checkbox] { width: 18px; height: 18px; margin-top: .2rem; flex: none; accent-color: var(--wp--preset--color--brand); }
.gb-consent small { font-size: inherit; }
.gb-consent small p { margin: .5rem 0 0; }
.wpcf7-form input[type=submit], .gb-form button[type=submit] { justify-self: start; background: var(--wp--preset--color--brand); color: #fff; border: 0; border-radius: 6px; padding: .9rem 2rem; font-family: var(--wp--preset--font-family--heading); font-weight: 500; font-size: 1rem; cursor: pointer; min-height: 48px; transition: background-color .2s; }
.wpcf7-form input[type=submit]:hover, .gb-form button[type=submit]:hover { background: var(--wp--preset--color--flame); }
.wpcf7 .wpcf7-response-output { margin: 0; border-radius: 6px; }

/* ---------- Pie de página (fondo claro) ---------- */
.gb-footer { border-top: 1px solid var(--wp--preset--color--sky); font-size: .95rem; padding-top: var(--wp--preset--spacing--50) !important; padding-bottom: 1rem !important; }
.gb-footer a { color: var(--wp--preset--color--navy); text-decoration: none; }
.gb-footer h2 { font-size: 1.35rem !important; font-weight: 400; color: var(--wp--preset--color--flame); margin-bottom: 1rem; letter-spacing: 0; }
.gb-footer-logos { gap: 2.75rem !important; align-items: center; }
.gb-footer-logos .wp-block-image { margin: 0; }
.gb-flogo--gente img { height: 54px; width: auto; }
.gb-flogo--m4c img { height: 42px; width: auto; }
.gb-flogo--amigo img { height: 60px; width: auto; }
.gb-flogo a { display: block; transition: opacity .2s, transform .2s; background: none !important; }
.gb-flogo a:hover { opacity: .8; transform: translateY(-2px); }
.gb-footer-tagline { color: var(--wp--preset--color--slate); margin-top: 1.5rem !important; }
.gb-social { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.gb-social-label { color: var(--wp--preset--color--slate); margin-right: .25rem; font-size: .9rem; }
.gb-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background-image: none !important; transition: transform .2s, box-shadow .2s; }
.gb-social a:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(16,36,58,.15); }
.gb-social svg { width: 20px; height: 20px; }
.gb-social-instagram { border: 1.5px solid var(--wp--preset--color--flame); color: var(--wp--preset--color--flame) !important; }
.gb-social-linkedin { background-color: #0A66C2; color: #fff !important; }
.gb-social-facebook { background-color: #1877F2; color: #fff !important; }
.gb-social-google { border: 1px solid var(--wp--preset--color--sky); background-color: #fff; }
.gb-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.gb-contact-list li { display: flex; gap: .55rem; align-items: flex-start; }
.gb-contact-list .gb-ic { width: 1rem; height: 1rem; flex: none; margin-top: .3rem; stroke: var(--wp--preset--color--flame); }
.gb-footer-legal { margin-top: 1.25rem !important; font-size: .9rem; color: var(--wp--preset--color--flame); }
.gb-footer-legal a { color: var(--wp--preset--color--flame); }
.gb-footer-bottom { border-top: 1px solid var(--wp--preset--color--sky); margin-top: var(--wp--preset--spacing--40) !important; padding-top: 1rem !important; }
.gb-copy { font-size: .8rem; color: var(--wp--preset--color--slate); margin: 0; }
.gb-credit { display: inline-flex !important; align-items: center; gap: .5rem; color: var(--wp--preset--color--slate) !important; font-size: .8rem; text-decoration: none !important; background-image: none !important; }
.gb-credit img { height: 30px; width: auto; display: block; }
.gb-credit-wrap { margin: 0; }

/* ---------- Contacto ---------- */
.gb-contact .gb-label { margin-top: .5rem; color: #FF8A5C; }
.gb-contact h2 { color: #fff; }
.gb-contact p { color: rgba(255,255,255,.82); }
.gb-contact .gb-form-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); box-shadow: none; }
.gb-contact .gb-field input, .gb-contact .gb-field textarea, .gb-contact .gb-field select { background-color: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.gb-contact .gb-field label { color: rgba(255,255,255,.7); }
.gb-contact .gb-field.is-focus label { color: #FF8A5C; }
.gb-contact .gb-consent, .gb-contact .gb-consent p { color: rgba(255,255,255,.72); }
.gb-contact .gb-consent a { color: #FF8A5C; }

/* ---------- Enlaces: subrayado que se dibuja al pasar el cursor ---------- */
.wp-block-post-content p a:not(.wp-block-button__link), .gb-footer a, .gb-consent a, .gb-cookies a, .wp-block-list li a {
	text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s ease, color .2s ease; padding-bottom: 1px; }
.wp-block-post-content p a:not(.wp-block-button__link):hover, .gb-footer a:hover, .gb-consent a:hover, .gb-cookies a:hover, .wp-block-list li a:hover { background-size: 100% 1px; color: var(--wp--preset--color--flame); }
.gb-textlink a { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s ease, color .2s ease; padding-bottom: 2px; }
.gb-textlink a:hover { background-size: 100% 1px; }
.gb-header .wp-block-navigation a { position: relative; }
.gb-header .wp-block-navigation a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px; background: var(--wp--preset--color--brand); border-radius: 2px; transition: left .3s ease, right .3s ease; }
.gb-header .wp-block-navigation a:hover::after, .gb-header .wp-block-navigation .current-menu-item > a::after, .gb-header .wp-block-navigation a[aria-current]::after { left: 0; right: 0; }

/* ---------- Botones flotantes ---------- */
.gb-float { position: fixed; bottom: 14px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 18px rgba(10,24,40,.25); transition: transform .25s ease, opacity .3s ease, visibility .3s, bottom .3s ease; text-decoration: none; }
.gb-float svg { width: 22px; height: 22px; }
.gb-float:hover { transform: translateY(-3px); color: #fff; }
.gb-float-wa { left: 10px; background: #25D366; }
.gb-float-wa svg { width: 26px; height: 26px; }
.gb-float-top { right: 10px; width: 42px; height: 42px; background: var(--wp--preset--color--flame); opacity: 0; visibility: hidden; }
.gb-float-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Aviso de cookies ---------- */
.gb-cookies { position: fixed; z-index: 70; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(760px, calc(100% - 150px)); background: #fff; color: var(--wp--preset--color--navy); border: 1px solid var(--wp--preset--color--sky); border-radius: 10px; box-shadow: 0 12px 36px rgba(10,24,40,.2); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1.25rem; font-size: .9rem; line-height: 1.5; animation: gbUp .45s ease both; }
.gb-cookies[hidden] { display: none; }
.gb-cookies.is-closing { opacity: 0; transform: translate(-50%, 12px); transition: opacity .3s, transform .3s; }
.gb-cookies p { margin: 0; flex: 1; }
.gb-cookies a { color: var(--wp--preset--color--brand); }
.gb-cookies-actions { display: flex; gap: .5rem; flex: none; }
.gb-cookies button { font: inherit; font-weight: 500; border-radius: 6px; padding: .55rem 1.1rem; cursor: pointer; border: 1.5px solid var(--wp--preset--color--navy); background: transparent; color: var(--wp--preset--color--navy); transition: background-color .2s, color .2s; }
.gb-cookies .gb-cookies-yes { background: var(--wp--preset--color--brand); border-color: var(--wp--preset--color--brand); color: #fff; }
.gb-cookies .gb-cookies-yes:hover { background: var(--wp--preset--color--flame); border-color: var(--wp--preset--color--flame); }
.gb-cookies .gb-cookies-no:hover { background: var(--wp--preset--color--navy); color: #fff; }
@keyframes gbUp { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 700px) {
	.gb-cookies { width: calc(100% - 24px); bottom: 12px; flex-direction: column; align-items: stretch; gap: .75rem; }
	.gb-cookies-actions > * { flex: 1; }
	.gb-has-cookies .gb-float { opacity: 0; visibility: hidden; }
}

@media (max-width: 781px) {
	.gb-step { padding-top: 3.75rem !important; }
	.wp-block-cover.gb-slide { min-height: 520px !important; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.gb-form-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gb-form-grid--6 > .gb-col-2 { grid-column: span 2; }
.gb-form-grid--6 > .gb-col-3 { grid-column: span 3; }
.gb-form-grid--6 > .gb-col-6 { grid-column: 1 / -1; }
@media (max-width: 767px) { .gb-form-grid--6 > * { grid-column: 1 / -1 !important; } }
.gb-band.has-peach-background-color .gb-textlink a { color: var(--wp--preset--color--brand); }

/* ---------- Formularios: distribución ---------- */
.gb-form-grid--contact { grid-template-columns: 40fr 25fr 35fr; }
.gb-form-grid--survey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gb-form-grid > .gb-field--full { grid-column: 1 / -1; }
.gb-field textarea[rows="3"], .gb-form-grid--survey textarea { min-height: 110px; }
@media (max-width: 700px) {
	.gb-form-grid--contact, .gb-form-grid--survey { grid-template-columns: 1fr; }
	.gb-form-grid--survey .gb-field label { position: static; transform: none !important; white-space: normal; display: block; margin-bottom: .4rem; font-size: .95rem; color: var(--wp--preset--color--navy); max-width: none; }
	.gb-form-grid--survey .gb-field input, .gb-form-grid--survey .gb-field select, .gb-form-grid--survey .gb-field textarea { padding-top: .8rem; padding-bottom: .8rem; }
}
.gb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gb-field textarea { display: block; }
@media (max-width: 600px) { .gb-form-card { padding: 1.25rem !important; } .gb-form-grid--survey .gb-field input, .gb-form-grid--survey .gb-field select { min-height: 48px; } }

/* ---------- Campos obligatorios ---------- */
.gb-req { color: var(--wp--preset--color--brand); font-weight: 500; }
.gb-contact .gb-req { color: #FF8A5C; }

/* ---------- Pie: centrado en celular ---------- */
@media (max-width: 781px) {
	.gb-footer-bottom { flex-direction: column; justify-content: center !important; align-items: center !important; text-align: center; gap: .75rem !important; }
}

/* ---------- Slider y portadas a pantalla completa ---------- */
.wp-block-cover.gb-slide, .wp-block-cover.gb-hero { min-height: calc(100vh - var(--gb-header-h, 64px)) !important; min-height: calc(100svh - var(--gb-header-h, 64px)) !important; }
.admin-bar .wp-block-cover.gb-slide, .admin-bar .wp-block-cover.gb-hero { min-height: calc(100svh - var(--gb-header-h, 64px) - 32px) !important; }
.gb-scroll-down { position: absolute; z-index: 4; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); background: rgba(10,24,40,.25); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; animation: gbBounce 2.2s ease-in-out infinite; transition: background-color .2s, border-color .2s; }
.gb-scroll-down:hover { background: var(--wp--preset--color--brand); border-color: var(--wp--preset--color--brand); }
.gb-scroll-down svg { width: 22px; height: 22px; }
.wp-block-cover.gb-hero { position: relative; }
@keyframes gbBounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (max-width: 1099px) { .gb-slider-nav { bottom: 5rem; } }
@media (prefers-reduced-motion: reduce) { .gb-scroll-down { animation: none; } }
/* Separa el copyright y el crédito de los botones flotantes */
@media (max-width: 1359px) { .gb-footer-bottom { padding-left: 3.75rem !important; padding-right: 3.75rem !important; } }
@media (max-width: 781px) { .gb-footer-bottom { padding-left: 0 !important; padding-right: 0 !important; padding-bottom: 3.75rem !important; } }

/* ---------- Ajustes para el HTML real de Contact Form 7 ---------- */
.gb-form-card, .gb-form-card *, .wpcf7, .wpcf7 *, .gb-cookies, .gb-cookies *, .gb-float { box-sizing: border-box; }
.gb-form-grid > *, .gb-field { min-width: 0; }
.gb-field .wpcf7-form-control-wrap { display: block; position: relative; width: 100%; }
.gb-field label { z-index: 2; }
.gb-field input, .gb-field textarea, .gb-field select { display: block; max-width: 100%; height: auto; }
.gb-field input, .gb-field select { height: 56px; }
.wpcf7-form > p, .wpcf7-form .gb-field + br { margin: 0; }
.wpcf7-form input[type=submit] { width: auto; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 1rem; vertical-align: middle; }
.wpcf7-form .gb-submit-row, .wpcf7-form .wpcf7-submit { display: inline-block; }
@media (max-width: 781px) { .gb-header .gb-logo img { width: 120px !important; } .gb-scrolled .gb-header .gb-logo img { width: 90px !important; } }
.wpcf7-form > .wpcf7-spinner { display: none; }
.wpcf7-form.submitting .wpcf7-submit { opacity: .6; cursor: wait; }

/* ---------- Menú: rayitas por debajo de 1200 px y panel a pantalla completa ---------- */
@media (max-width: 1199px) {
	.gb-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.gb-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.gb-header .wp-block-navigation__responsive-container.is-menu-open { position: fixed; inset: 0; z-index: 100000; padding: 1.25rem clamp(1rem, 5vw, 2.5rem) 2rem; background: #fff; overflow-y: auto; }
.admin-bar .gb-header .wp-block-navigation__responsive-container.is-menu-open { top: var(--wp-admin--admin-bar--height, 32px); }
.gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; align-items: flex-start; }
.gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; align-items: stretch !important; }
.gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--sky); }
.gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a { display: block; padding: .95rem 0; font-size: 1.15rem; }
.gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a::after { display: none; }
.gb-header .wp-block-navigation__responsive-container-open, .gb-header .wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--navy); }
.gb-header .wp-block-navigation__responsive-container-open svg, .gb-header .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
.gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content, .gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container, .gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start !important; justify-content: flex-start !important; text-align: left; }
html.has-modal-open .gb-float, html.has-modal-open .gb-cookies { display: none !important; }
