/*
Theme Name: GeneratePress Child
Theme URI: https://webtest2.es
Description: Child theme de GeneratePress para webtest2.es. Rebuild sin Elementor (header/footer custom).
Author: JRC Web
Author URI: https://jrcweb.es
Template: generatepress
Version: 0.4.7
Text Domain: generatepress-child
*/

/* =========================================================
   1. RESET / TIPOGRAFÍA BASE
   ========================================================= */
.site-header,
.site-header * {
    box-sizing: border-box;
}

/* =========================================================
   2. HEADER PRINCIPAL
   Réplica 1:1 del header del Theme Builder Elementor (ID 28715)
   ========================================================= */
.gpc-header {
    background-color: #111111; /* globals/colors id=accent */
    width: 100%;
    padding: 0;
    margin: 0;
}

.gpc-header__inner {
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0;
}

.gpc-header__col {
    padding: 0 15px;
    box-sizing: border-box;
}

.gpc-header__col--logo {
    flex: 0 0 10%;
    max-width: 10%;
}

.gpc-header__col--nav {
    flex: 0 0 90%;
    max-width: 90%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

/* Logo */
.gpc-header__logo {
    display: block;
    width: 80%;
}

.gpc-header__logo a {
    display: inline-block;
    line-height: 0;
}

.gpc-header__logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   3. MENÚ DESKTOP
   ========================================================= */
.gpc-nav {
    display: flex;
    align-items: center;
}

.gpc-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.gpc-nav__list > li {
    position: relative;
    margin: 0 40px 0 0;
}

.gpc-nav__list > li:last-child {
    margin-right: 0;
}

.gpc-nav__list a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    transition: opacity .2s ease;
    display: inline-block;
    padding: 8px 0;
}

.gpc-nav__list a:hover,
.gpc-nav__list .current-menu-item > a {
    color: #FFFFFF;
    opacity: .8;
}

/* Submenús desktop */
.gpc-nav__list ul.sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #111111;
    border: 0;
    display: none;
    z-index: 100;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.gpc-nav__list > li:hover > ul.sub-menu,
.gpc-nav__list > li:focus-within > ul.sub-menu {
    display: block;
}

.gpc-nav__list ul.sub-menu li {
    margin: 0;
    padding: 0;
}

.gpc-nav__list ul.sub-menu a {
    display: block;
    padding: 13px 18px;
    font-weight: 400;
}

.gpc-nav__list ul.sub-menu a:hover {
    background: #2a2a2a;
    opacity: 1;
}

/* Indicador submenú */
.gpc-nav__list > li.menu-item-has-children > a::after {
    content: "\25BE";
    display: inline-block;
    margin-left: 6px;
    font-size: 15px;
    color: #FFFFFF;
    vertical-align: middle;
}

/* =========================================================
   4. BOTÓN TELÉFONO (pill 50px)
   ========================================================= */
.gpc-header__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 19px;
    color: #FFFFFF;
    background-color: #2575FC; /* globals/colors id=primary */
    border: 1px solid #FFFFFF;
    border-radius: 50px;
    padding: 9px 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
    box-shadow: 0 0 0 0 rgba(16, 6, 123, 0.2);
}

.gpc-header__btn:hover,
.gpc-header__btn:focus {
    background-color: #FFFFFF;
    color: #2575FC;
    border-color: #FFFFFF;
}

.gpc-header__btn .gpc-header__btn-icon {
    font-size: 16px;
    line-height: 1;
}

.gpc-header__btn:hover .gpc-header__btn-icon {
    color: #2575FC;
}

/* =========================================================
   5. HAMBURGUESA MÓVIL
   ========================================================= */
.gpc-burger {
    display: none;
    background: transparent;
    border: none;
    border-radius: 4px;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 22px;
    line-height: 1;
}

.gpc-burger:hover,
.gpc-burger:focus {
    background: transparent;
    color: #FFFFFF;
    outline: none;
}

.gpc-burger__icon {
    display: inline-block;
    width: 22px;
    height: 2px;
    background: currentColor;
    position: relative;
}

.gpc-burger__icon::before,
.gpc-burger__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: currentColor;
}

.gpc-burger__icon::before { top: -7px; }
.gpc-burger__icon::after  { top:  7px; }

/* Panel móvil */
.gpc-mobile-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1e1e1e;
    z-index: 9999;
    padding: 20px 15px;
    overflow-y: auto;
}

.gpc-mobile-panel.is-open {
    display: block;
}

.gpc-mobile-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.gpc-mobile-panel__logo img {
    width: 65px;
    height: auto;
    max-height: 110px;
    object-fit: contain;
}

.gpc-mobile-panel__close {
    background: transparent;
    border: 0;
    color: #FFFFFF;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 10px;
}

.gpc-mobile-panel__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gpc-mobile-panel__list li {
    margin: 0;
    padding: 0;
}

.gpc-mobile-panel__list a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    display: block;
    padding: 30px 0 0 20px;
}

.gpc-mobile-panel__list .current-menu-item > a {
    color: #FFFFFF;
}

.gpc-mobile-panel__list ul.sub-menu {
    list-style: none;
    margin: 0;
    padding: 10px 0 0 5px;
}

.gpc-mobile-panel__list ul.sub-menu a {
    color: #FFFFFF;
    padding: 12px 0 0 20px;
    font-size: 15px;
}

/* =========================================================
   6. RESPONSIVE
   Móvil: hamburguesa visible, botón teléfono oculto
   ========================================================= */
@media (max-width: 1024px) {
    .gpc-header__inner {
        padding: 15px 0;
    }

    .gpc-header__col--logo {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .gpc-header__col--nav {
        flex: 0 0 50%;
        max-width: 50%;
        justify-content: flex-end;
    }

    .gpc-header__logo {
        width: 40%;
    }

    .gpc-nav,
    .gpc-header__btn {
        display: none !important;
    }

    .gpc-burger {
        display: inline-flex;
    }
}

@media (min-width: 1025px) {
    .gpc-burger,
    .gpc-mobile-panel {
        display: none !important;
    }
}

/* Ajuste con admin bar */
.admin-bar .gpc-mobile-panel {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .gpc-mobile-panel {
        top: 46px;
    }
}

/* === FIXES POST-DEPLOY === */
.gpc-header__inner { min-height: 80px; }
.gpc-header__col--logo { display: flex; align-items: center; }
.gpc-nav__list a, .gpc-nav__list a:link, .gpc-nav__list a:visited, .gpc-nav__list a:hover, .gpc-nav__list a:focus { color: #FFFFFF !important; }
.gpc-header__btn, .gpc-header__btn:link, .gpc-header__btn:visited, .gpc-header__btn * { color: #FFFFFF !important; }
.gpc-header__btn svg { fill: #FFFFFF !important; }
.gpc-header__btn:hover, .gpc-header__btn:hover * { color: #2575FC !important; }
.gpc-header__btn:hover svg { fill: #2575FC !important; }

/* === FIXES V2 === */
.gpc-header__inner { align-items: stretch; }
.gpc-header__col { display: flex; align-items: center; }
.gpc-header__col--nav { justify-content: flex-end; }
.gpc-nav { flex: 1; display: flex; justify-content: center; align-items: center; }
.gpc-header__btn { flex: 0 0 auto; }

/* === FIXES V3: logo con altura limitada para centrarse === */
.gpc-header__inner { min-height: 95px; }
.gpc-header__logo img, .gpc-header__logo .custom-logo { max-height: 55px; width: auto; max-width: 100%; }
.gpc-header__logo { width: auto; }

/* === FIXES V4: revertir tamaño logo, mantener solo aire en header === */
.gpc-header__logo { width: 80%; }
.gpc-header__logo img, .gpc-header__logo .custom-logo { max-height: none; width: auto; max-width: 100%; height: auto; }
.gpc-header__inner { min-height: 110px; }

/* === FIX V5: header con aire real para que el logo se centre === */
.gpc-header__inner { min-height: 150px; }

/* === FIX V6: forzar altura header y centrado del logo con !important === */
.gpc-header { padding: 18px 0 !important; }
.gpc-header__inner { min-height: 0 !important; padding: 0 !important; }
.gpc-header__logo .custom-logo-link { padding: 0 !important; margin: 0 !important; line-height: 0 !important; display: block !important; }

/* === FIX V7: limitar logo en mobile/tablet === */
@media (max-width: 1024px) {
  .gpc-header { padding: 12px 0 !important; }
  .gpc-header__logo { width: auto !important; max-width: 200px; }
  .gpc-header__logo img, .gpc-header__logo .custom-logo { max-height: 50px !important; width: auto !important; height: auto !important; }
}

/* === FIX V8: eliminar padding-top primer container Elementor === */
body.is-html-wrapped > .elementor, body.is-html-pure > .elementor { margin-top: 0 !important; padding-top: 0 !important; }
body.is-html-wrapped .elementor > .elementor-element:first-child, body.is-html-pure .elementor > .elementor-element:first-child { margin-top: 0 !important; padding-top: 0 !important; }
body.is-html-wrapped .elementor > .elementor-element:first-child > .e-con-inner, body.is-html-pure .elementor > .elementor-element:first-child > .e-con-inner { padding-top: 0 !important; }




/* =========================================================
   FOOTER — gpc-footer (5 columnas)
   ========================================================= */

.gpc-footer {
	background: #111111;
	color: #ffffff;
	padding: 60px 24px 0;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	line-height: 1.6;
}

.gpc-footer__inner {
	max-width: 1350px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 40px;
	padding-bottom: 50px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.gpc-footer__col {
	min-width: 0;
}

.gpc-footer__heading {
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 20px 0;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.gpc-footer__list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}

.gpc-footer__list li {
	margin: 0 0 10px 0;
}

.gpc-footer__list a {
	color: rgba(255,255,255,0.75);
	text-decoration: none;
	transition: color 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.gpc-footer__list a:hover {
	color: #ffffff;
}

.gpc-footer__icon {
	display: inline-block;
	min-width: 18px;
}

.gpc-footer__reviews img {
	max-width: 140px;
	height: auto;
	display: block;
	margin-top: 12px;
}

.gpc-footer__col--brand {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gpc-footer__logo img {
	max-width: 120px;
	height: auto;
}

.gpc-footer__brand-text {
	color: rgba(255,255,255,0.75);
	font-size: 13px;
	line-height: 1.6;
}

.gpc-footer__brand-text p {
	margin: 0 0 6px 0;
}

.gpc-footer__social {
	list-style: none;
	padding: 0;
	margin: 8px 0 0 0;
	display: flex;
	gap: 8px;
}

.gpc-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	color: #ffffff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.2s;
}

.gpc-footer__social a:hover {
	background: rgba(255,255,255,0.18);
}

.gpc-footer__bottom {
	max-width: 1350px;
	margin: 0 auto;
	padding: 24px 0;
	text-align: center;
	color: rgba(255,255,255,0.5);
	font-size: 12px;
}
.gpc-footer__bottom p { margin: 0; }

@media (max-width: 1024px) {
	.gpc-footer__inner {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
	}
}
@media (max-width: 600px) {
	.gpc-footer__inner {
		grid-template-columns: 1fr;
		gap: 28px;
		text-align: center;
	}
	.gpc-footer__list a { justify-content: center; }
	.gpc-footer__col--brand { align-items: center; }
}

.page-template-default .site-content,
.page-template-default .inside-article,
.page-template-default .entry-content,
.page-template-default .site-main,
.page-template-default #primary {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
}
.page-template-default .entry-header,
.page-template-default .page-header,
.page-template-default .entry-footer { display: none !important; }
.page-template-default .inside-article {
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
}

.gpc-footer { border-top: 2px solid #2575FC; }

.gpc-footer__logo img, .gpc-footer__logo .custom-logo { max-width: 60px !important; height: auto !important; width: auto !important; }

/* Alinear contenido columna marca a la misma altura que headings */
.gpc-footer__col--brand {
	padding-top: 70px;
	position: relative;
}
.gpc-footer__col--brand .gpc-footer__logo {
	position: absolute;
	top: 0;
	left: 0;
}

/* Headings columnas a 20px estilo Poppins */
.gpc-footer__heading {
	font-family: "Poppins", "Roboto", sans-serif !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	line-height: 24px !important;
	color: #ffffff !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	margin: 0 0 20px 0 !important;
}
.gpc-footer__col--brand {
	padding-top: 44px !important;
}

/* Texto columna marca igual que items de otras columnas */
.gpc-footer__brand-text {
	color: rgba(255,255,255,0.75) !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
}
.gpc-footer__brand-text p {
	color: rgba(255,255,255,0.75) !important;
	margin: 0 0 10px 0 !important;
}
.gpc-footer__brand-text p span {
	color: rgba(255,255,255,0.75) !important;
}

/* Todos los textos del footer en blanco al mismo tamaño */
.gpc-footer__list a,
.gpc-footer__brand-text,
.gpc-footer__brand-text p,
.gpc-footer__brand-text p span {
	color: #ffffff !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
}

/* Forzar tamaño y color JRC Web + dirección */
.gpc-footer__col--brand .gpc-footer__brand-text,
.gpc-footer__col--brand .gpc-footer__brand-text p,
.gpc-footer__col--brand .gpc-footer__brand-text span {
	font-size: 14px !important;
	color: #ffffff !important;
	font-weight: 400 !important;
	line-height: 1.6 !important;
}

/* Separar logo del texto */
.gpc-footer__col--brand .gpc-footer__logo {
	margin-bottom: 20px !important;
}

/* Más espacio entre logo (absolute) y texto debajo */
.gpc-footer__col--brand {
	padding-top: 90px !important;
}

/* Devolver texto alineado con headings y subir el logo */
.gpc-footer__col--brand {
	padding-top: 44px !important;
}
.gpc-footer__col--brand .gpc-footer__logo {
	top: -50px !important;
}

/* Forzar texto JRC Web mismo tamaño que items */
footer.gpc-footer .gpc-footer__col--brand .gpc-footer__brand-text p {
	font-size: 14px !important;
	line-height: 1.6 !important;
	color: #ffffff !important;
	font-family: 'Roboto', sans-serif !important;
	margin: 0 0 10px 0 !important;
}

/* Columna marca más ancha para que JRC Web quepa en una línea */
.gpc-footer__inner {
	grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr !important;
}

/* Redes sociales — círculo blanco + icono color marca + más grande */
.gpc-footer__social a {
	width: 40px !important;
	height: 40px !important;
	background: #ffffff !important;
	border: none !important;
	color: #2575FC !important;
	font-size: 18px !important;
	font-weight: 700 !important;
}
.gpc-footer__social a:hover {
	background: #2575FC !important;
	color: #ffffff !important;
}

/* Redes — cuadrado transparente con borde e icono blancos */
.gpc-footer__social a {
	width: 38px !important;
	height: 38px !important;
	border-radius: 6px !important;
	background: transparent !important;
	border: 1px solid rgba(255,255,255,0.5) !important;
	color: #ffffff !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.gpc-footer__social a:hover {
	background: #2575FC !important;
	border-color: #2575FC !important;
}
.gpc-footer__social svg {
	width: 18px !important;
	height: 18px !important;
	display: block !important;
}

/* Texto JRC Web | Agencia SEO a 16px como original */
.gpc-footer__col--brand .gpc-footer__brand-text,
.gpc-footer__col--brand .gpc-footer__brand-text p {
	font-size: 16px !important;
	line-height: 1.6 !important;
	color: #ffffff !important;
}

/* Texto marca peso 500 para igualar los enlaces */
.gpc-footer__col--brand .gpc-footer__brand-text p {
	font-weight: 500 !important;
}

/* Cuadrados sociales más pequeños */
.gpc-footer__social a {
	width: 30px !important;
	height: 30px !important;
}
.gpc-footer__social svg {
	width: 14px !important;
	height: 14px !important;
}

/* Iconos sociales más cerca del texto de arriba */
.gpc-footer__col--brand .gpc-footer__social {
	margin-top: -4px !important;
}

/* Subir iconos sociales un pelín más */
.gpc-footer__col--brand .gpc-footer__social {
	margin-top: -12px !important;
}

/* Bajar logo casi tocando el texto */
.gpc-footer__col--brand .gpc-footer__logo {
	top: -20px !important;
}

/* Separar un pelín los iconos sociales */
.gpc-footer__social {
	gap: 8px !important;
}

/* Logo: más a la izquierda y más pequeño */
.gpc-footer__col--brand .gpc-footer__logo {
	left: -8px !important;
}
.gpc-footer__logo img,
.gpc-footer__logo .custom-logo {
	max-width: 50px !important;
}

/* Logo un pelín a la derecha */
.gpc-footer__col--brand .gpc-footer__logo {
	left: 4px !important;
}

/* Logo un pelín a la izquierda */
.gpc-footer__col--brand .gpc-footer__logo {
	left: -2px !important;
}

/* Iconos sociales un pelín más abajo */
.gpc-footer__col--brand .gpc-footer__social {
	margin-top: -4px !important;
}

/* Iconos contacto azul y más grandes */
.gpc-footer__icon svg {
	width: 18px !important;
	height: 18px !important;
	color: #2575FC !important;
	vertical-align: middle;
}
.gpc-footer__icon {
	display: inline-flex !important;
	align-items: center;
	min-width: 22px !important;
	margin-right: 6px;
}

/* Iconos contacto un pelín más grandes */
.gpc-footer__icon svg {
	width: 22px !important;
	height: 22px !important;
}
.gpc-footer__icon {
	min-width: 26px !important;
}

/* Texto contacto más cerca del icono */
.gpc-footer__icon {
	min-width: auto !important;
	margin-right: 4px !important;
}
.gpc-footer__list a {
	gap: 4px !important;
}

/* Todas las letras del footer a 16px */
.gpc-footer__list a,
.gpc-footer__brand-text,
.gpc-footer__brand-text p {
	font-size: 16px !important;
}

/* Revertir: dejar enlaces a 14px y solo el texto marca a 16px */
.gpc-footer__list a {
	font-size: 14px !important;
}
.gpc-footer__brand-text p {
	font-size: 16px !important;
}

/* Franja azul para JRC WEB © 2026 */
footer.gpc-footer .gpc-footer__bottom {
	background: #2575FC !important;
	color: #ffffff !important;
	padding: 16px 24px !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
	text-align: center !important;
}
footer.gpc-footer .gpc-footer__bottom p {
	color: #ffffff !important;
	margin: 0 !important;
	font-weight: 500 !important;
}

/* Imagen Google reviews más pequeña */
.gpc-footer__reviews img {
	max-width: 100px !important;
}

/* Iconos sociales SVG más grandes dentro del cuadro */
.gpc-footer__social svg {
	width: 20px !important;
	height: 20px !important;
}

/* SVG sociales un pelín más pequeños */
.gpc-footer__social svg {
	width: 17px !important;
	height: 17px !important;
}

/* Caja blanca contenedora para imagen Google reviews */
.gpc-footer__reviews {
	display: inline-block !important;
	background: #ffffff !important;
	padding: 6px 10px !important;
	border-radius: 6px !important;
	margin-top: 12px !important;
}
.gpc-footer__reviews img {
	display: block !important;
}

/* Quitar cajita blanca de Google reviews */
.gpc-footer__reviews {
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

/* Fondo footer más oscuro (negro puro) */
.gpc-footer {
	background: #000000 !important;
}

/* Volver fondo footer al gris oscuro original */
.gpc-footer {
	background: #111111 !important;
}

/* Aplicar mix-blend-mode a la imagen Google reviews para fundir su fondo */
.gpc-footer__reviews img {
	mix-blend-mode: screen !important;
	filter: brightness(0.95) contrast(1.05);
}

/* RESPONSIVE TABLET */
@media (max-width: 1024px) {
	.gpc-footer__inner {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 40px 30px !important;
	}
	.gpc-footer__col--brand {
		grid-column: 1 / -1 !important;
		text-align: center;
		align-items: center;
		padding-top: 60px !important;
	}
	.gpc-footer__col--brand .gpc-footer__logo {
		left: 50% !important;
		transform: translateX(-50%);
		top: 0 !important;
	}
	.gpc-footer__col--brand .gpc-footer__social {
		justify-content: center;
	}
}

/* RESPONSIVE MÓVIL */
@media (max-width: 600px) {
	.gpc-footer {
		padding: 40px 20px 0;
	}
	.gpc-footer__inner {
		grid-template-columns: 1fr !important;
		gap: 32px !important;
		text-align: center;
		padding-bottom: 32px !important;
	}
	.gpc-footer__col {
		text-align: center;
	}
	.gpc-footer__heading {
		margin-bottom: 14px !important;
	}
	.gpc-footer__list a {
		justify-content: center;
	}
	.gpc-footer__col--brand {
		padding-top: 70px !important;
	}
}

/* Móvil: logo más grande y separar marca de siguiente columna */
@media (max-width: 600px) {
	.gpc-footer__logo img,
	.gpc-footer__logo .custom-logo {
		max-width: 90px !important;
	}
	.gpc-footer__col--brand {
		padding-top: 110px !important;
		padding-bottom: 24px !important;
		margin-bottom: 16px !important;
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
}

/* Móvil: textos más grandes */
@media (max-width: 600px) {
	.gpc-footer__list a {
		font-size: 16px !important;
	}
	.gpc-footer__brand-text p {
		font-size: 17px !important;
	}
	.gpc-footer__heading {
		font-size: 22px !important;
	}
}

/* Móvil pequeño <400px: textos a tamaño anterior */
@media (max-width: 400px) {
	.gpc-footer__list a {
		font-size: 14px !important;
	}
	.gpc-footer__brand-text p {
		font-size: 16px !important;
	}
	.gpc-footer__heading {
		font-size: 20px !important;
	}
}

/* Franja azul abajo ocupando todo el ancho en móvil */
footer.gpc-footer .gpc-footer__bottom {
	margin-left: -20px !important;
	margin-right: -20px !important;
	width: calc(100% + 40px) !important;
}
@media (min-width: 601px) {
	footer.gpc-footer .gpc-footer__bottom {
		margin-left: -24px !important;
		margin-right: -24px !important;
		width: calc(100% + 48px) !important;
	}
}

/* Logo móvil un pelín más pequeño */
@media (max-width: 600px) {
	.gpc-footer__logo img,
	.gpc-footer__logo .custom-logo {
		max-width: 70px !important;
	}
	.gpc-footer__col--brand {
		padding-top: 90px !important;
	}
}

/* Header más estrecho como original */
.gpc-header { padding: 8px 0 !important; }
.gpc-header__inner { padding: 0 24px !important; }
.gpc-header__logo img,
.gpc-header__logo .custom-logo {
	max-width: 65px !important;
	height: auto !important;
}

/* Logo header un poco más grande */
.gpc-header__logo img,
.gpc-header__logo .custom-logo {
	max-width: 80px !important;
}

/* Mantener header estrecho aunque el logo sea más grande */
.gpc-header__logo {
	line-height: 0 !important;
}
.gpc-header__logo img,
.gpc-header__logo .custom-logo {
	max-height: 50px !important;
	max-width: none !important;
	width: auto !important;
}

/* Logo casi tocando el padding */
.gpc-header__logo img,
.gpc-header__logo .custom-logo {
	max-height: 62px !important;
}

/* Logo header absoluto para no empujar la altura del header */
.gpc-header__inner { position: relative !important; }
.gpc-header__col--logo {
	position: absolute !important;
	left: 24px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 2 !important;
}
.gpc-header__logo img,
.gpc-header__logo .custom-logo {
	max-height: 70px !important;
	max-width: none !important;
	width: auto !important;
	display: block !important;
}
.gpc-header { padding: 6px 0 !important; }

/* Subir padding header un pelín */
.gpc-header { padding: 14px 0 !important; }

/* Header ancho 1350px y botón a la derecha del todo */
.gpc-header__inner {
	max-width: 1350px !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 0 24px !important;
	justify-content: space-between !important;
}
.gpc-header__col--nav {
	margin-left: auto !important;
}


/* Margin-bottom al header SOLO para Elementor real (no HTML envuelta ni HTML pura) */
body:not(.is-html-wrapped):not(.is-html-pure) .gpc-header {
	margin-bottom: 0;
}
@media (max-width: 768px) {
	body:not(.is-html-wrapped):not(.is-html-pure) .gpc-header {
		margin-bottom: 0;
	}
}

/* === FIX submenú anclado al borde inferior del header (sin línea azul asomando) === */
.gpc-header__col--nav { align-items: stretch; }
.gpc-nav { align-items: stretch; }
.gpc-nav__list { align-items: stretch; }
.gpc-nav__list > li { display: flex; align-items: center; }

/* === Ajuste MÓVIL: logo más grande y centrado + burger centrado (no afecta a PC) === */
@media (max-width: 1024px) {
  .gpc-header { padding: 8px 0 !important; }
  .gpc-header__inner { min-height: 64px !important; align-items: center !important; }
  .gpc-header__col--logo { top: 55% !important; transform: translateY(-50%) !important; left: 2px !important; }
  .gpc-header__logo img,
  .gpc-header__logo .custom-logo { max-height: 58px !important; }
  .gpc-header__col--nav { display: flex !important; align-items: center !important; }
  .gpc-burger { width: 40px; height: 40px; font-size: 20px; align-self: center !important; margin: 0 !important; }
}

/* === Cabecera del panel móvil alineada con el header (logo + X coinciden) === */
.gpc-mobile-panel { padding: 8px 24px 20px !important; }
.gpc-mobile-panel__head { min-height: 64px; align-items: center; margin-bottom: 10px; }
.gpc-mobile-panel__logo { margin-left: 0; }
.gpc-mobile-panel__logo img { width: auto !important; height: auto !important; max-height: 58px !important; max-width: none !important; }
.gpc-mobile-panel__close { width: 40px; height: 40px; padding: 0; font-size: 34px; line-height: 1; display: flex; align-items: center; justify-content: center; }

/* === Burger a la derecha real en TODOS los móviles (col nav al 100%) === */
@media (max-width: 1024px) {
  .gpc-header__col--nav { flex: 1 1 100% !important; max-width: 100% !important; justify-content: flex-end !important; align-items: center !important; }
}

/* === REDISEÑO PANEL MÓVIL === */
@media (max-width: 1024px) {
  .gpc-mobile-panel { padding: 8px 24px 24px !important; }
  .gpc-mobile-panel__head { min-height: 64px !important; align-items: center !important; margin-bottom: 18px !important; }
  .gpc-mobile-panel__logo { margin: 0 !important; display: flex !important; align-items: center !important; }
  .gpc-mobile-panel__logo img { max-height: 50px !important; width: auto !important; height: auto !important; }
  .gpc-mobile-panel__close { width: 44px !important; height: 44px !important; font-size: 34px !important; }
}
@media (max-width: 1024px) {
  .gpc-mobile-panel__list > li { margin: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .gpc-mobile-panel__list > li > a { color: #FFFFFF !important; font-size: 18px !important; font-weight: 400 !important; padding: 20px 0 !important; display: flex !important; align-items: center !important; justify-content: space-between !important; text-align: left !important; line-height: 1.2 !important; }
  .gpc-mobile-panel__list > li.menu-item-has-children > a::after { content: ""; display: inline-block; width: 9px; height: 9px; border-right: 2px solid #FFFFFF; border-bottom: 2px solid #FFFFFF; margin-left: 8px; margin-right: 6px; margin-top: -5px; transform: rotate(45deg); transition: transform .2s ease; }
  .gpc-mobile-panel__list > li.is-open > a::after { transform: rotate(225deg); }
}
@media (max-width: 1024px) {
  .gpc-mobile-panel__list ul.sub-menu { display: none !important; padding: 0 0 10px 0 !important; margin: 0 !important; }
  .gpc-mobile-panel__list li.is-open > ul.sub-menu { display: block !important; }
  .gpc-mobile-panel__list ul.sub-menu li { margin: 0 !important; }
  .gpc-mobile-panel__list ul.sub-menu a { color: #FFFFFF !important; font-size: 16px !important; font-weight: 400 !important; padding: 11px 0 !important; display: block !important; text-align: left !important; }
}

/* === Evitar desbordamiento lateral (scroll horizontal) en todo el sitio === */
html, body { overflow-x: hidden !important; max-width: 100% !important; }

/* === Burger un poco más a la derecha en móvil (menos padding lateral del inner) === */
@media (max-width: 1024px) {
  .gpc-header__inner { padding: 0 0 0 12px !important; }
}

/* === Ajuste fino logo del panel para que coincida con el del header === */
@media (max-width: 1024px) {
  .gpc-mobile-panel__logo { position: absolute !important; left: 14px !important; top: 14px !important; margin: 0 !important; z-index: 5 !important; }
  .gpc-mobile-panel__logo img { max-height: 58px !important; }
}

/* === MENÚ DRAWER LATERAL DERECHO (tipo latevaweb) === */
.gpc-mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9998; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.gpc-mobile-overlay.is-open { opacity: 1; visibility: visible; }
.gpc-mobile-panel { top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important; width: 290px !important; max-width: 85vw !important; display: block !important; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s ease; padding: 8px 22px 28px !important; }
.gpc-mobile-panel.is-open { transform: translateX(0); visibility: visible; }
.admin-bar .gpc-mobile-panel { top: 32px !important; }
@media (max-width: 782px) { .admin-bar .gpc-mobile-panel { top: 46px !important; } }
.gpc-mobile-panel__logo { display: none !important; }
.gpc-mobile-panel__head { min-height: 44px !important; justify-content: flex-end !important; margin-bottom: 28px !important; }
.gpc-mobile-panel__close { position: absolute !important; top: 16px !important; right: 12px !important; font-size: 42px !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; z-index: 6 !important; }

/* === Enlaces del footer a 16px === */
.gpc-footer__list a { font-size: 16px !important; }

/* === Texto de marca del footer a 16px === */
.gpc-footer__brand-text, .gpc-footer__brand-text p, .gpc-footer__brand-text p span,
.gpc-footer__col--brand .gpc-footer__brand-text, .gpc-footer__col--brand .gpc-footer__brand-text p, .gpc-footer__col--brand .gpc-footer__brand-text span { font-size: 16px !important; }
