/*
 Theme Name:   Astra Child
 Theme URI:    https://pauquintana.es
 Description:  Shared design system and site chrome for pauquintana.es
 Author:       Pau Quintana
 Template:     astra
 Version:      2.4.1
*/

:root {
	--pq-dark: #0F172A;
	--pq-body: #334155;
	--pq-slate: #64748B;
	--pq-silver: #E2E8F0;
	--pq-bg: #F8FAFC;
	--pq-white: #FFFFFF;
	--pq-blue: #4A58E8;
	--pq-blue-soft: #EEF2FF;
	--pq-lavender: #87A9F5;
	--pq-lime: #84CC16;
	--pq-lime-hover: #65A30D;
	--pq-grad: linear-gradient(95deg, #4A58E8 0%, #87A9F5 100%);
	--pq-font-heading: 'Barlow', sans-serif;
	--pq-font-body: 'Inter', sans-serif;
	--pq-font-accent: 'Fraunces', serif;
	--pq-radius-m: 16px;
	--pq-radius-l: 26px;
	--pq-shadow-card: 0 10px 30px -10px rgba(15, 23, 42, .12);
	--pq-ease: cubic-bezier(.22, 1, .36, 1);
	--pq-header-height: 84px;
	/* Compatibility aliases for existing page-builder content. */
	--dark: var(--pq-dark);
	--dark-2: #131C33;
	--blue: var(--pq-blue);
	--lavender: var(--pq-lavender);
	--lime: var(--pq-lime);
	--lime-d: var(--pq-lime-hover);
	--silver: var(--pq-silver);
	--bg: var(--pq-bg);
	--white: var(--pq-white);
	--f-head: var(--pq-font-heading);
	--f-body: var(--pq-font-body);
}

.pq-site-shell {
	font-family: var(--pq-font-body);
	color: var(--pq-body);
	background: var(--pq-bg);
	-webkit-font-smoothing: antialiased;
}

.pq-site-shell .site-content,
.pq-site-shell .site-content > .ast-container,
.pq-site-shell .entry-content {
	max-width: none;
	width: 100%;
	padding: 0;
}

.pq-site-shell .content-area,
.pq-site-shell .site-main {
	width: 100%;
	margin: 0;
}

.pq-site-shell .entry-header,
.pq-site-shell .page-header {
	display: none;
}

/* Migration guard for interior pages that still contain old Elementor chrome. */
.pq-site-shell .pq-hdr,
.pq-site-shell .pq-mob,
.pq-site-shell .pq-hero {
	display: none !important;
}

.pq-site-shell a:focus-visible,
.pq-site-shell button:focus-visible {
	outline: 3px solid var(--pq-lavender);
	outline-offset: 3px;
}

.pq-skip-link {
	position: fixed;
	top: 10px;
	left: 16px;
	z-index: 10020;
	padding: 10px 15px;
	border-radius: 10px;
	color: #fff;
	background: var(--pq-blue);
	transform: translateY(-160%);
	transition: transform .25s var(--pq-ease);
}

.pq-skip-link:focus { color: #fff; transform: translateY(0); }

.pq-site-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 10001;
	pointer-events: none;
}

.pq-site-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--pq-grad);
	transition: width .1s linear;
}

.pq-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	padding: 14px clamp(14px, 2.8vw, 34px);
	transition: padding .4s var(--pq-ease), transform .4s var(--pq-ease);
}

.pq-site-header.is-scrolled {
	padding-top: 8px;
	padding-bottom: 8px;
}

.pq-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	max-width: 1220px;
	height: 66px;
	margin: 0 auto;
	padding: 0 12px 0 20px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 21px;
	background: rgba(8, 14, 27, .42);
	box-shadow: 0 14px 42px rgba(2, 6, 23, .18);
	backdrop-filter: blur(18px) saturate(145%);
	-webkit-backdrop-filter: blur(18px) saturate(145%);
	transition: height .4s var(--pq-ease), background .4s, border-color .4s, box-shadow .4s;
}

.pq-site-header.is-scrolled .pq-site-header__inner {
	height: 60px;
	border-color: rgba(226, 232, 240, .92);
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 12px 36px rgba(15, 23, 42, .11);
}

.pq-site-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	color: #fff;
	text-decoration: none;
}

.pq-site-brand img {
	display: block;
	width: auto;
	height: 28px;
	max-width: 150px;
	object-fit: contain;
	transition: transform .35s var(--pq-ease), filter .35s var(--pq-ease);
}

.pq-site-brand__copy { display: flex; flex-direction: column; min-width: 96px; line-height: 1.05; }
.pq-site-brand__copy strong { color: inherit; font-family: var(--pq-font-heading); font-size: 14px; font-weight: 900; letter-spacing: -.01em; }
.pq-site-brand__copy small { margin-top: 4px; color: rgba(255,255,255,.58); font-size: 8.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pq-site-header.is-scrolled .pq-site-brand { color: var(--pq-dark); }
.pq-site-header.is-scrolled .pq-site-brand__copy small { color: var(--pq-slate); }

.pq-site-header:not(.is-scrolled) .pq-site-brand img {
	filter: brightness(0) invert(1);
}

.pq-site-brand:hover img {
	transform: scale(1.04);
}

.pq-site-nav {
	display: flex;
	align-items: center;
	gap: 2px;
	font-family: var(--pq-font-body);
}

.pq-site-header__nav-shell {
	padding: 4px;
	border: 1px solid rgba(255,255,255,.09);
	border-radius: 15px;
	background: rgba(255,255,255,.055);
	transition: background .35s, border-color .35s;
}

.pq-site-header.is-scrolled .pq-site-header__nav-shell {
	border-color: #E9EDF4;
	background: #F6F8FC;
}

.pq-site-nav a {
	position: relative;
	display: inline-flex;
	padding: 9px 13px 10px;
	border-radius: 10px;
	color: rgba(255, 255, 255, .76);
	font-size: 12.75px;
	font-weight: 600;
	letter-spacing: -.01em;
	line-height: 1.2;
	text-decoration: none;
	transition: color .25s, background .25s, transform .25s var(--pq-ease);
}

.pq-site-nav a::after {
	position: absolute;
	right: 13px;
	bottom: 4px;
	left: 13px;
	height: 2px;
	content: '';
	border-radius: 2px;
	background: linear-gradient(90deg, var(--pq-blue), var(--pq-lavender));
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .32s var(--pq-ease);
}

.pq-site-nav a:hover,
.pq-site-nav a:focus-visible {
	color: #fff;
	background: rgba(255,255,255,.08);
}

.pq-site-nav a:hover::after,
.pq-site-nav a:focus-visible::after,
.pq-site-nav a.is-active::after {
	transform: scaleX(1);
}

.pq-site-nav a.is-active { color: #fff; background: rgba(255,255,255,.09); }

.pq-site-header.is-scrolled .pq-site-nav a {
	color: var(--pq-slate);
}

.pq-site-header.is-scrolled .pq-site-nav a:hover,
.pq-site-header.is-scrolled .pq-site-nav a:focus-visible,
.pq-site-header.is-scrolled .pq-site-nav a.is-active {
	color: var(--pq-blue);
	background: #fff;
	box-shadow: 0 3px 10px rgba(15,23,42,.07);
}

.pq-site-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pq-site-header__cta,
.pq-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-family: var(--pq-font-heading);
	font-weight: 800;
	text-decoration: none;
	transition: transform .3s var(--pq-ease), box-shadow .3s var(--pq-ease), background .3s, border-color .3s;
}

.pq-site-header__cta {
	gap: 12px;
	padding: 6px 6px 6px 18px;
	border: 1px solid rgba(135,169,245,.58);
	color: #fff;
	font-family: var(--pq-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -.01em;
	background: var(--pq-blue);
	box-shadow: 0 8px 22px rgba(74,88,232,.28);
}

.pq-site-header__cta svg,
.pq-site-hero__actions .pq-button svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .3s var(--pq-ease);
}

.pq-site-header__cta svg {
	width: 34px;
	height: 34px;
	padding: 8px;
	border-radius: 50%;
	color: var(--pq-dark);
	background: var(--pq-lime);
}

.pq-site-header.is-scrolled .pq-site-header__cta {
	border-color: rgba(74,88,232,.18);
	color: #fff;
	background: var(--pq-blue);
	box-shadow: 0 8px 20px rgba(74,88,232,.2);
}

.pq-site-header__cta:hover {
	color: #fff;
	transform: translateY(-2px);
	border-color: var(--pq-lavender);
	background: #3E4BD2;
	box-shadow: 0 12px 28px rgba(74,88,232,.34);
}

.pq-site-header.is-scrolled .pq-site-header__cta:hover { color: #fff; background: #3E4BD2; box-shadow: 0 12px 28px rgba(74,88,232,.28); }

.pq-site-header__cta:hover svg { transform: translateX(3px); }

.pq-site-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 9px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.pq-site-menu-toggle span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform .3s, opacity .3s, background .3s;
}

.pq-site-menu-toggle span:nth-child(1),
.pq-site-menu-toggle span:nth-child(3) { width: 24px; }
.pq-site-menu-toggle span:nth-child(2) { width: 16px; }
.pq-site-header.is-scrolled .pq-site-menu-toggle span { background: #fff; }
.pq-site-menu-toggle.is-open span:nth-child(1) { transform: translate(0, 7px) rotate(45deg); }
.pq-site-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.pq-site-menu-toggle.is-open span:nth-child(3) { transform: translate(0, -7px) rotate(-45deg); }

.pq-site-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 26px;
	padding: 100px 24px 40px;
	background: rgba(8, 14, 27, .98);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s;
}

.pq-site-mobile-nav.is-open {
	opacity: 1;
	pointer-events: auto;
}

.pq-site-mobile-nav a:not(.pq-button):not(.pq-site-mobile-nav__cta) {
	color: #fff;
	font-family: var(--pq-font-heading);
	font-size: clamp(1.7rem, 7vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -.02em;
	text-decoration: none;
}

.pq-site-mobile-nav a:not(.pq-button):not(.pq-site-mobile-nav__cta):hover { color: var(--pq-lime); }
.pq-site-mobile-nav a.pq-site-mobile-nav__cta { margin-top: 8px; color: #fff; font-size: 13px; }
.pq-site-mobile-nav__label { margin-bottom: 4px; color: var(--pq-lavender); font-family: var(--pq-font-heading); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.pq-menu-open { overflow: hidden; }

.pq-button {
	gap: 8px;
	padding: 15px 24px;
	font-family: var(--pq-font-body);
	font-size: 16px;
	line-height: 1.1;
	text-transform: none;
}

.pq-site-shell .pq-button { text-transform: none; }

.pq-button span,
.pq-button small { display: block; }
.pq-button--lime { color: var(--pq-dark); background: var(--pq-lime); box-shadow: 0 12px 34px rgba(132, 204, 22, .32); }
.pq-button--lime:hover { color: #fff; background: var(--pq-lime-hover); transform: translateY(-3px); }
.pq-button--outline { color: #fff; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.pq-button--outline:hover { color: #fff; border-color: rgba(135,169,245,.7); background: rgba(255,255,255,.1); transform: translateY(-3px); }
.pq-button small { margin-top: 3px; font-size: 12px; font-weight: 500; opacity: .76; }

.pq-site-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 460px;
	overflow: hidden;
	color: #fff;
	background: var(--pq-dark);
}

.pq-site-hero--home { min-height: 100vh; min-height: 100svh; }
.pq-site-hero__background,
.pq-site-hero__overlay,
.pq-site-hero__spot { position: absolute; inset: 0; }
.pq-site-hero__background { background: url('https://pauquintana.es/wp-content/uploads/2025/06/imagen-fondo-pq.webp') center / cover no-repeat; }
.pq-site-hero--home .pq-site-hero__background { animation: pq-site-ken-burns 24s var(--pq-ease) both; }
.pq-site-hero__overlay { background: linear-gradient(135deg, rgba(6,10,32,.94) 0%, rgba(15,23,42,.88) 42%, rgba(74,88,232,.42) 100%); }
.pq-site-hero__spot { pointer-events: none; background: radial-gradient(620px circle at var(--pq-mx, 72%) var(--pq-my, 30%), rgba(135,169,245,.17), transparent 65%); }
.pq-site-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr); align-items: center; gap: clamp(38px, 5.5vw, 86px); width: min(1240px, 100%); margin: 0 auto; padding: 150px clamp(20px, 3.4vw, 40px) 88px; }
.pq-site-hero--interior .pq-site-hero__inner { grid-template-columns: 1fr; max-width: 1000px; padding-top: 170px; padding-bottom: 100px; }
.pq-site-hero__copy { width: 100%; min-width: 0; max-width: 650px; }
.pq-site-hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid rgba(135,169,245,.35); border-radius: 999px; color: #fff; font-family: var(--pq-font-heading); font-size: 11.5px; font-weight: 700; letter-spacing: .11em; background: rgba(74,88,232,.24); }
.pq-site-hero__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--pq-lime); box-shadow: 0 0 8px var(--pq-lime); }
.pq-site-hero__kicker { margin: 26px 0 14px; color: rgba(255,255,255,.58); font-family: var(--pq-font-heading); font-size: 13px; font-weight: 700; letter-spacing: .18em; line-height: 1.5; }
.pq-site-hero__title { margin: 16px 0 0; color: #fff !important; font-family: var(--pq-font-heading); font-size: clamp(42px, 6vw, 68px); font-weight: 900; letter-spacing: -.035em; line-height: 1.03; }
.pq-site-hero--interior .pq-site-hero__title { font-size: clamp(42px, 6vw, 64px); }
.pq-site-hero__subtitle { display: block; margin-top: 12px; color: var(--pq-lavender) !important; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.025em; }
.pq-site-hero__subtitle em { color: var(--pq-lavender) !important; font-family: var(--pq-font-accent); font-style: italic; font-weight: 600; }
.pq-site-hero__rotator { display: inline-grid; text-align: left; vertical-align: baseline; }
.pq-site-hero__rotator > span { grid-area: 1 / 1; color: var(--pq-lavender) !important; white-space: nowrap; opacity: 0; filter: blur(7px); transition: opacity .55s var(--pq-ease), filter .55s var(--pq-ease), transform .55s var(--pq-ease); transform: translateY(8px); }
.pq-site-hero__rotator > span.is-active { opacity: 1; filter: none; transform: translateY(0); }
.pq-site-hero__description { max-width: 620px; margin: 26px 0 34px; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.72; }
.pq-site-hero__description strong { color: #fff; font-weight: 700; }
.pq-site-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pq-site-hero__actions .pq-button { min-width: 0; padding: 15px 21px; border-radius: 14px; }
.pq-site-hero__actions .pq-button:hover svg { transform: translateX(3px); }
.pq-site-hero__actions .pq-button--outline:hover svg { transform: translateY(3px); }
.pq-site-hero__proof { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 34px; color: rgba(255,255,255,.72); font-size: 12.5px; }
.pq-site-hero__proof span { display: inline-flex; align-items: center; gap: 9px; }
.pq-site-hero__proof i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--pq-lime); }
.pq-site-hero__profile-stage { position: relative; width: min(400px, 100%); justify-self: center; perspective: 1000px; }
.pq-site-hero__profile { position: relative; width: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,.36); border-radius: 24px; color: var(--pq-dark); background: rgba(255,255,255,.97); box-shadow: 0 40px 90px rgba(2,6,23,.55); transform: rotate(1.2deg); transform-style: preserve-3d; transition: transform .45s var(--pq-ease), box-shadow .45s var(--pq-ease); }
.pq-site-hero__profile-stage:hover .pq-site-hero__profile { box-shadow: 0 48px 110px rgba(2,6,23,.62); }
.pq-site-hero__profile-photo { aspect-ratio: 4 / 3.4; overflow: hidden; background: #DCE3EF; }
.pq-site-hero__profile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.pq-site-hero__profile-body { padding: 18px 22px 22px; }
.pq-site-hero__profile-body strong { display: block; font-family: var(--pq-font-heading); font-size: 21px; font-weight: 900; }
.pq-site-hero__profile-body strong span { color: var(--pq-blue); }
.pq-site-hero__profile-body span,
.pq-site-hero__profile-body small { display: block; margin-top: 3px; color: var(--pq-slate); font-size: 13px; }
.pq-site-hero__verified { display: inline-grid !important; place-items: center; width: 19px; height: 19px; margin: 0 0 0 5px !important; border-radius: 50%; color: #fff !important; font-family: var(--pq-font-body); font-size: 12px !important; background: var(--pq-blue); vertical-align: 2px; }
.pq-site-hero__metric { position: absolute; z-index: 3; display: flex; flex-direction: column; min-width: 145px; padding: 11px 16px; border: 1px solid rgba(135,169,245,.33); border-radius: 15px; color: #fff; background: rgba(9,17,34,.88); box-shadow: 0 18px 44px rgba(2,6,23,.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: pq-site-metric-float 6s ease-in-out infinite; }
.pq-site-hero__metric b { color: #A3E635; font-family: var(--pq-font-heading); font-size: 21px; font-weight: 900; line-height: 1; }
.pq-site-hero__metric small { margin-top: 4px; color: rgba(255,255,255,.68); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.pq-site-hero__metric--traffic { top: 9%; left: -14%; }
.pq-site-hero__metric--speed { right: -13%; bottom: 26%; animation-delay: -2s; }
.pq-site-hero__metric--conversion { bottom: -5%; left: 6%; animation-delay: -4s; }
.pq-site-hero__metric--speed b { color: #67E8F9; }
.pq-site-hero__metric--conversion b { color: var(--pq-lavender); }

@keyframes pq-site-ken-burns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes pq-site-metric-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

@media (min-width: 783px) {
	.admin-bar .pq-site-header,
	.admin-bar .pq-site-progress { top: 32px; }
}

@media (max-width: 880px) {
	.pq-site-header__nav-shell,
	.pq-site-header__cta { display: none; }
	.pq-site-menu-toggle { display: flex; }
}

@media (max-width: 960px) {
	.pq-site-hero__inner,
	.pq-site-hero--interior .pq-site-hero__inner { grid-template-columns: 1fr; gap: 54px; padding-top: 130px; }
	.pq-site-hero__profile-stage { justify-self: start; }
}

@media (max-width: 560px) {
	.pq-site-hero__inner { padding: 116px 20px 74px; }
	.pq-site-hero__actions { flex-direction: column; }
	.pq-site-hero__actions .pq-button { width: 100%; }
	.pq-site-hero__proof { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
	.pq-site-hero__proof::-webkit-scrollbar { display: none; }
	.pq-site-hero__proof span { flex: 0 0 auto; white-space: nowrap; }
	.pq-site-header { padding: 9px 10px; }
	.pq-site-header__inner { height: 58px; padding: 0 10px 0 15px; border-radius: 17px; }
	.pq-site-header.is-scrolled .pq-site-header__inner { height: 56px; }
	.pq-site-brand__copy small { display: none; }
	.pq-site-brand__copy { min-width: 0; }
	.pq-site-brand__copy strong { font-size: 13px; }
	.pq-site-hero__profile-stage { width: 100%; max-width: 360px; }
	.pq-site-hero__metric { min-width: 122px; padding: 9px 12px; border-radius: 12px; }
	.pq-site-hero__metric b { font-size: 17px; }
	.pq-site-hero__metric small { font-size: 8px; }
	.pq-site-hero__metric--traffic { top: 5%; left: -2%; }
	.pq-site-hero__metric--speed { right: -2%; bottom: 25%; }
	.pq-site-hero__metric--conversion { bottom: -4%; left: 5%; }
}

@media (prefers-reduced-motion: reduce) {
	.pq-site-shell *,
	.pq-site-shell *::before,
	.pq-site-shell *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.pq-site-hero__rotator > span { opacity: 0; filter: none; }
	.pq-site-hero__rotator > span:first-child { opacity: 1; }
	.pq-site-hero__metric { animation: none; }
}

/* Elementor can inject a pixel line-height into the shared chrome. */
.pq-site-shell .pq-site-header a,
.pq-site-shell .pq-site-header button,
.pq-site-shell .pq-site-hero__badge,
.pq-site-shell .pq-site-hero__kicker,
.pq-site-shell .pq-site-hero__title,
.pq-site-shell .pq-site-hero__subtitle,
.pq-site-shell .pq-site-hero__description,
.pq-site-shell .pq-site-hero__proof,
.pq-site-shell .pq-site-hero__profile-body {
	line-height: normal !important;
}

.pq-site-shell .pq-site-hero__title { color: #fff !important; line-height: 1.03 !important; }
.pq-site-shell .pq-site-hero__title .pq-site-hero__rotator > span,
.pq-site-shell .pq-site-hero__title .pq-site-hero__subtitle,
.pq-site-shell .pq-site-hero__title .pq-site-hero__subtitle em { color: var(--pq-lavender) !important; }
.pq-site-shell .pq-site-hero__subtitle { line-height: 1.2 !important; }
.pq-site-shell .pq-site-hero__description { line-height: 1.72 !important; }


/* Global override: Astra's empty fallback footer sits outside the PQ shell. */
#colophon.site-footer { display: none !important; height: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; }


/* Legal pages: no homepage chrome; keep the legal footer on one level. */
body:not(.home):not(.front-page) .pq-site-header:not(.pq-site-header--global),
body:not(.home):not(.front-page) .pq-site-hero { display:none !important; }
body .pq-footer-bottom > span:nth-child(2) { display:none !important; }


/* Legal pages: no homepage chrome; keep the legal footer on one level. */
body:not(.home):not(.front-page) .pq-site-header:not(.pq-site-header--global),
body:not(.home):not(.front-page) .pq-site-hero { display:none !important; }
body .pq-footer-bottom > span:nth-child(2) { display:none !important; }


/* Final UX pass: hierarchy, responsive clarity and state feedback. */
body .pq-site-nav a { font-size: 12px !important; padding: 8px 12px 9px !important; }
body .pq-site-header__cta,
body .pq-site-hero__actions .pq-button { font-family: var(--pq-font-body) !important; font-weight: 700 !important; letter-spacing: -.015em !important; }
body .pq-site-header:not(.is-scrolled) .pq-site-header__cta { color: var(--pq-dark) !important; background: var(--pq-lime) !important; border-color: rgba(132,204,22,.72) !important; box-shadow: 0 10px 24px rgba(132,204,22,.22) !important; }
body .pq-site-header:not(.is-scrolled) .pq-site-header__cta svg { color: var(--pq-dark) !important; background: rgba(255,255,255,.7) !important; }
body .pq-site-header.is-scrolled .pq-site-header__cta { color: #fff !important; background: var(--pq-blue) !important; border-color: rgba(135,169,245,.56) !important; box-shadow: 0 8px 20px rgba(74,88,232,.26) !important; }
body .pq-site-header.is-scrolled .pq-site-header__cta svg { color: var(--pq-dark) !important; background: var(--pq-lime) !important; }
body .pq-site-header:not(.is-scrolled) .pq-site-header__cta:hover { color: var(--pq-dark) !important; background: #A3E635 !important; }
body .pq-site-hero__actions .pq-button { border-width: 1px !important; }
body .pq-site-hero__actions .pq-button--lime { color: var(--pq-dark) !important; }
body .pq-form-head h3 { font-family: var(--pq-font-heading) !important; font-size: clamp(24px, 2.4vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.025em !important; line-height: 1.08 !important; }
body .pq-form-head p { margin-top: 8px !important; color: #B8C5DD !important; font-size: 14px !important; }
body .pq-form-consent { padding: 9px 10px !important; border: 1px solid transparent !important; border-radius: 10px !important; transition: border-color .25s, background .25s !important; }
body .pq-form-consent:focus-within { border-color: rgba(135,169,245,.58) !important; background: rgba(135,169,245,.08) !important; }
body .pq-form-consent input:checked + span { color: #fff !important; }
body .pq-form-consent input:checked + span::after { content: '  ✓'; color: #A3E635; font-weight: 800; }
body .pq-page .pq-logo-box { width: 142px !important; height: 54px !important; }
body .pq-page .pq-logo-box img { max-width: 136px !important; max-height: 44px !important; }
body .pq-hero-description-short { display: none; }
@media (max-width: 560px) {
	body .pq-site-hero__kicker { margin-top: 18px !important; margin-bottom: 10px !important; font-size: 11px !important; letter-spacing: .14em !important; }
	body .pq-site-hero__title { font-size: clamp(36px, 11vw, 48px) !important; }
	body .pq-site-hero__subtitle { font-size: clamp(23px, 7vw, 30px) !important; }
	body .pq-site-hero__description { margin: 18px 0 26px !important; font-size: 15px !important; line-height: 1.55 !important; }
	body .pq-hero-description-full { display: none; }
	body .pq-hero-description-short { display: inline; }
}

/* Mobile hero clarity */
@media (max-width: 560px) {
  body .pq-site-hero__description { font-size: 0 !important; }
  body .pq-site-hero__description::after {
    content: 'Ayudo a pymes de Girona a ganar visibilidad y convertir visitas en contactos reales.';
    display: block;
    font-size: 15px;
    line-height: 1.55;
  }
}

/* UX round 2: keep the header in its opening dark treatment throughout the page. */
body .pq-site-nav a { font-size: 13px !important; }
body .pq-site-header__cta { font-size: 12px !important; }
body .pq-site-header.is-scrolled .pq-site-header__inner { border-color: rgba(255,255,255,.14) !important; background: rgba(8,14,27,.42) !important; box-shadow: 0 14px 42px rgba(2,6,23,.18) !important; }
body .pq-site-header.is-scrolled .pq-site-brand { color: #fff !important; }
body .pq-site-header.is-scrolled .pq-site-brand__copy small { color: rgba(255,255,255,.58) !important; }
body .pq-site-header.is-scrolled .pq-site-nav a { color: rgba(255,255,255,.76) !important; }
body .pq-site-header.is-scrolled .pq-site-nav a:hover, body .pq-site-header.is-scrolled .pq-site-nav a:focus-visible, body .pq-site-header.is-scrolled .pq-site-nav a.is-active { color: #fff !important; background: rgba(255,255,255,.08) !important; box-shadow: none !important; }
body .pq-site-header.is-scrolled .pq-site-header__nav-shell { border-color: rgba(255,255,255,.09) !important; background: rgba(255,255,255,.055) !important; }
body .pq-site-header.is-scrolled .pq-site-header__cta { color: var(--pq-dark) !important; background: var(--pq-lime) !important; border-color: rgba(132,204,22,.72) !important; box-shadow: 0 10px 24px rgba(132,204,22,.22) !important; }
body .pq-site-header.is-scrolled .pq-site-header__cta svg { color: var(--pq-dark) !important; background: rgba(255,255,255,.7) !important; }
body .pq-site-header.is-scrolled .pq-site-header__cta:hover { color: var(--pq-dark) !important; background: #A3E635 !important; }
body .pq-form-head h3 { font-size: clamp(23px, 2.2vw, 28px) !important; }
body .pq-form-head p { font-size: 13px !important; color: #C4D0E5 !important; }
body .pq-form-consent { position: relative !important; align-items: center !important; min-height: 42px !important; margin: 14px 0 8px !important; padding: 8px 12px !important; border: 1px solid rgba(135,169,245,.28) !important; background: rgba(16,26,49,.42) !important; }
body .pq-form-consent:hover { border-color: rgba(135,169,245,.62) !important; }
body .pq-form-consent:focus-within { outline: 2px solid rgba(135,169,245,.42) !important; outline-offset: 2px !important; }
body .pq-form-consent input { width: 18px !important; height: 18px !important; margin: 0 !important; cursor: pointer !important; }
body .pq-form-consent input:checked { accent-color: var(--pq-lime) !important; }
body .pq-form-consent input:checked + span { color: #fff !important; }
body .pq-form-consent input:checked + span::after { content: '  ✓'; color: var(--pq-lime) !important; font-weight: 800 !important; }
body .pq-footer-bottom { font-size: 11.5px !important; }
body .pq-footer-bottom .pq-legal-links a { font-size: 11px !important; }
body .pq-footer-logo img { height: 54px !important; }


/* UX round 3: make the consent control explicit, tactile and easy to activate. */
body .pq-site-header.is-scrolled .pq-site-header__inner { background: rgba(8,14,27,.9) !important; }
body .pq-form-consent { display: flex !important; align-items: center !important; gap: 12px !important; cursor: pointer !important; transition: border-color .2s ease, background-color .2s ease, transform .12s ease !important; }
body .pq-form-consent:active { transform: translateY(1px) !important; background: rgba(22,36,68,.72) !important; }
body .pq-form-consent__label { flex: 1 1 auto !important; min-width: 0 !important; cursor: pointer !important; }
body .pq-form-consent__label a { position: relative !important; z-index: 1 !important; }
body .pq-form-consent input { flex: 0 0 22px !important; width: 22px !important; height: 22px !important; border-radius: 7px !important; cursor: pointer !important; }
body .pq-form-consent input:focus-visible { outline: 2px solid var(--pq-lime) !important; outline-offset: 3px !important; }
body .pq-footer-logo img { height: 54px !important; width: auto !important; max-height: none !important; }


/* The inline layout safeguards need a more specific final override. */
body.pq-site-shell .pq-form .pq-form-consent input { flex: 0 0 22px !important; width: 22px !important; height: 22px !important; margin: 0 !important; }
body.pq-site-shell .pq-footer .pq-footer-bottom .pq-legal-links a { font-size: 11px !important; }
body.pq-site-shell .pq-footer .pq-footer-logo img { height: 54px !important; width: auto !important; max-height: none !important; }


body.pq-site-shell .pq-form .pq-form-consent input { padding: 0 !important; appearance: auto !important; accent-color: var(--pq-lime) !important; }
body.pq-site-shell .pq-form .pq-form-consent input:checked { background: var(--pq-lime) !important; border-color: var(--pq-lime) !important; }
body.pq-site-shell .pq-form .pq-form-consent input:checked + .pq-form-consent__label { color: #fff !important; }
body.pq-site-shell .pq-form .pq-form-consent input:checked + .pq-form-consent__label::after { content: '  ✓'; color: var(--pq-lime) !important; font-weight: 800 !important; }
/* PQ homepage refinement */body.pq-site-shell .pq-logo-box{width:clamp(176px,17vw,208px)!important;height:clamp(72px,7vw,84px)!important;padding:10px 14px!important;border:1px solid #DFE5F0!important;border-radius:14px!important;background:#F7F9FC!important;box-sizing:border-box!important}body.pq-site-shell .pq-logo-box--dark{border-color:rgba(135,169,245,.34)!important;background:#17233D!important}body.pq-site-shell .pq-logo-box img{width:auto!important;max-width:100%!important;max-height:68px!important;filter:none!important;opacity:1!important;transform:none!important}body.pq-site-shell .pq-logo-box--dark img{max-height:62px!important}body.pq-site-shell .pq-faq-list{gap:10px!important}body.pq-site-shell .pq-faq-item summary{padding:16px 18px!important}body.pq-site-shell .pq-faq-a{margin:0!important;padding:0 48px 17px 18px!important}body.pq-site-shell .pq-form-consent__label,body.pq-site-shell .pq-form-consent__label a{font-family:var(--pq-font-heading)!important;font-size:13px!important;font-weight:700!important;line-height:1.45!important;letter-spacing:.01em!important}body.pq-site-shell .pq-form-consent__label a{color:#B6C1FF!important}@media(max-width:767px){body.pq-site-shell .pq-logo-box{width:158px!important;height:70px!important;padding:8px 10px!important}body.pq-site-shell .pq-logo-box img{max-height:54px!important}body.pq-site-shell .pq-logo-box--dark img{max-height:50px!important}body.pq-site-shell .pq-faq-a{padding-right:18px!important}}
/* Final homepage sizing override */body.pq-site-shell .pq-logos-track .pq-logo-box{flex:0 0 clamp(176px,17vw,208px)!important;width:clamp(176px,17vw,208px)!important}body.pq-site-shell .pq-faq-item .pq-faq-a{margin:0!important;padding:0 48px 17px 18px!important}@media(max-width:767px){body.pq-site-shell .pq-logos-track .pq-logo-box{flex-basis:158px!important;width:158px!important}body.pq-site-shell .pq-faq-item .pq-faq-a{padding-right:18px!important}}

/* Hero copy rhythm */body.pq-site-shell .pq-site-hero__description strong{display:block!important}


/* Final homepage polish: faster mobile logo rail, aligned case metrics and standard consent copy. */
@media (max-width: 767px) {
	body.pq-site-shell .pq-logos-track {
		animation-duration: 20s !important;
	}
}
body.pq-site-shell .pq-caso-metrics {
	align-items: stretch !important;
}
body.pq-site-shell .pq-caso-metric {
	min-height: 96px !important;
}
body.pq-site-shell .pq-caso-metric > span {
	min-height: 31px !important;
	display: flex !important;
	align-items: flex-start !important;
	justify-content: center !important;
}
body.pq-site-shell .pq-form-consent__label,
body.pq-site-shell .pq-form-consent__label a {
	font-family: var(--pq-font-body) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1.45 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
body.pq-site-shell .pq-form-consent__label a {
	font-weight: 600 !important;
}
@media (max-width: 520px) {
	body.pq-site-shell .pq-caso-metrics {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 8px !important;
	}
	body.pq-site-shell .pq-caso-metric {
		padding: 12px 5px !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 0 !important;
	}
	body.pq-site-shell .pq-caso-metric b {
		font-size: clamp(21px, 7vw, 30px) !important;
	}
	body.pq-site-shell .pq-caso-metric > span {
		font-size: 11px !important;
	}
}


/* Apply the consent typography to the form's actual live label class. */
body.pq-site-shell .pqPrivacyConsent-label,
body.pq-site-shell .pqPrivacyConsent-label a {
	font-family: var(--pq-font-body) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1.45 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
body.pq-site-shell .pqPrivacyConsent-label a {
	font-weight: 600 !important;
}
/* Final visible consent label normalization. */#pqPrivacyConsent-label,.pqPrivacyConsent-label {text-transform: none !important;letter-spacing: 0 !important;}#pqPrivacyConsent-label a,.pqPrivacyConsent-label a {text-transform: none !important;}
/* Permanent white logo and CAT/ESP language switch. */body .pq-site-brand img{filter:brightness(0) invert(1)!important;}body .pq-site-brand__copy{color:#fff!important;}.pq-lang-switch{display:flex;align-items:center;gap:6px;margin-right:10px;}.pq-lang-switch__link{display:inline-flex;opacity:.62;transition:opacity .2s ease;}
.pq-lang-switch__link:hover,.pq-lang-switch__link:focus,.pq-lang-switch__link.is-active{opacity:1;}.pq-lang-switch__flag{display:inline-flex;align-items:center;justify-content:center;width:34px;height:22px;border-radius:4px;font:700 9px/1 Inter,sans-serif;letter-spacing:.04em;box-shadow:0 0 0 1px rgba(255,255,255,.25);}.pq-lang-switch__flag--es{background:linear-gradient(to bottom,#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%);color:#fff;}.pq-lang-switch__flag--ca{background:repeating-linear-gradient(to bottom,#f7d117 0 3px,#ad1d25 3px 6px);color:#111827;}@media(max-width:767px){.pq-lang-switch{margin-right:6px;gap:4px}.pq-lang-switch__flag{width:31px;height:21px;font-size:8px}.pq-site-header__cta{display:none;}}
/* Header logo: keep the original white treatment in every scroll state. */body .pq-site-header .pq-site-brand img,body .pq-site-header.is-scrolled .pq-site-brand img,body .pq-site-header .pq-site-brand:hover img {filter: brightness(0) invert(1) !important;transform: none;}body .pq-site-header .pq-site-brand:hover img { transform: scale(1.04); }
/* Language selector: show only the destination flag, using WebP assets. */body .pq-lang-switch__link .pq-lang-switch__flag { display: none !important; }body .pq-lang-switch__link { width: 34px; height: 22px; border-radius: 4px; background-repeat: no-repeat; background-position: center; background-size: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.28); }body:not(.pq-lang-ca) .pq-lang-switch__link:first-child { display: none !important; }body:not(.pq-lang-ca) .pq-lang-switch__link:nth-child(2) { display: inline-flex !important; background-image: url('https://flagcdn.com/w40/es-ct.webp'); }body.pq-lang-ca .pq-lang-switch__link:nth-child(2) { display: none !important; }body.pq-lang-ca .pq-lang-switch__link:first-child { display: inline-flex !important; background-image: url('https://flagcdn.com/w40/es.webp'); }@media (max-width: 767px) { body .pq-lang-switch__link { width: 31px; height: 21px; } }

/* Global language switch: show only the destination flag and keep it visible on desktop/mobile. */
body .pq-site-header .pq-lang-switch { display:flex !important; align-items:center; gap:0; flex:0 0 auto; margin-right:10px; }
body .pq-site-header .pq-lang-switch__link { display:flex !important; align-items:center; justify-content:center; width:32px; height:21px; padding:0 !important; border:1px solid rgba(255,255,255,.3) !important; border-radius:4px; overflow:hidden; line-height:0; background:none !important; box-shadow:0 3px 10px rgba(0,0,0,.18); }
body .pq-site-header .pq-lang-switch__link.is-active { display:none !important; }
body .pq-site-header .pq-lang-switch__flag { display:flex !important; width:100%; height:100%; align-items:center; justify-content:center; line-height:0; }
body .pq-site-header .pq-lang-switch__flag svg { display:block; width:100%; height:100%; }
@media (max-width:767px) { body .pq-site-header .pq-lang-switch { margin-right:6px; } body .pq-site-header .pq-lang-switch__link { width:30px; height:20px; } }

/* The homepage content may contain a legacy embedded header; the theme header is the single global source. */
body.pq-site-shell .pq-site-header:not(.pq-site-header--global) { display:none !important; }

body .pq-site-header .pq-lang-switch__link:not(.is-active), body .pq-site-header .pq-lang-switch__flag svg { opacity:1 !important; filter:none !important; }

/* Bilingual homepage polish 2026-10-09. Local fonts, independent of Elementor optional loading. */
@font-face { font-family: "PQ Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/barlow-50e47d37.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PQ Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/barlow-acc3a2d8.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PQ Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/barlow-9afb00e9.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PQ Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/barlow-81281c6a.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PQ Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/barlow-5e03ee67.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PQ Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/barlow-4b3ff090.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PQ Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/barlow-713fe24b.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PQ Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/barlow-c68ac8cd.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PQ Barlow"; font-style: normal; font-weight: 800; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/barlow-c64144e6.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PQ Barlow"; font-style: normal; font-weight: 800; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/barlow-a7447386.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PQ Barlow"; font-style: normal; font-weight: 900; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/barlow-6eceb3c7.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PQ Barlow"; font-style: normal; font-weight: 900; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/barlow-02b721da.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PQ Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/inter-b6db4a06.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PQ Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/inter-6ab57b19.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PQ Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/inter-b6db4a06.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PQ Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/inter-6ab57b19.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PQ Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/inter-b6db4a06.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PQ Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/inter-6ab57b19.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PQ Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/inter-b6db4a06.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PQ Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/inter-6ab57b19.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PQ Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/inter-b6db4a06.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PQ Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/inter-6ab57b19.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PQ Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/inter-b6db4a06.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PQ Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("https://pauquintana.es/wp-content/uploads/elementor/google-fonts/fonts/inter-6ab57b19.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
body.pq-site-shell{--pq-font-heading:'PQ Barlow',Barlow,sans-serif;--pq-font-body:'PQ Inter',Inter,sans-serif;--f-head:var(--pq-font-heading);--f-body:var(--pq-font-body)}
body.pq-site-shell .pq-page{font-family:var(--pq-font-body)!important}
body.pq-site-shell .pq-page :is(h1,h2,h3,h4,h5,h6),body.pq-site-shell .pq-page :is(h1,h2,h3,h4,h5,h6) span,body.pq-site-shell .pq-site-hero__title,body.pq-site-shell .pq-site-hero__title span{font-family:var(--pq-font-heading)!important}
body.pq-site-shell .pq-site-hero__title{font-weight:900!important}
body.pq-site-shell .pq-page :is(p,li,input,textarea,label){font-family:var(--pq-font-body)!important}
body.pq-site-shell .pq-site-hero__proof>span:nth-child(2) i{background:#22D3EE!important}
body.pq-site-shell .pq-site-hero__proof>span:nth-child(3) i{background:#87A9F5!important}
body.pq-site-shell .pq-page .pq-logos{padding-bottom:clamp(48px,5vw,72px)!important}
body.pq-site-shell .pq-page .pq-caso-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
body.pq-site-shell .pq-page .pq-caso-metric{min-width:0!important;padding:14px 5px!important}
body.pq-site-shell .pq-page .pq-caso-metric b,body.pq-site-shell .pq-page .pq-caso-metric b span{font-family:var(--pq-font-heading)!important;font-size:clamp(26px,2.6vw,38px)!important;white-space:nowrap!important;letter-spacing:-.02em!important}
body.pq-site-shell .pq-page .pq-sobre p{text-align:justify!important;hyphens:auto;text-justify:inter-word}
body.pq-site-shell .pq-page .pq-form-consent{margin-top:20px!important;margin-bottom:24px!important}
body.pq-site-shell .pq-page .pq-form-head{position:relative;padding-right:82px!important;min-height:64px}
body.pq-site-shell .pq-page .pq-form-head .pq-form-brand{position:absolute;right:0;top:0;width:64px!important;height:64px!important;object-fit:contain;filter:brightness(0) invert(1)}
body.pq-site-shell .pq-page .pq-footer-logo img{height:72px!important;width:auto!important;max-height:none!important}
body.pq-site-shell .pq-footer a[href$="#sobre-mi"],body.pq-site-shell .pq-site-nav a[href$="#sobre-mi"]{text-transform:none!important}
@media(max-width:520px){body.pq-site-shell .pq-page .pq-caso-metric b,body.pq-site-shell .pq-page .pq-caso-metric b span{font-size:clamp(23px,7vw,32px)!important}body.pq-site-shell .pq-page .pq-form-head{padding-right:66px!important}body.pq-site-shell .pq-page .pq-form-head .pq-form-brand{width:52px!important;height:52px!important}}

/* Prevent the legacy 100vw shell and grid min-content from clipping translations. */
body.pq-site-shell .pq-page{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
body.pq-site-shell .pq-page .pq-hero-inner{width:100%!important;max-width:1240px!important;margin-inline:auto!important;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr)}
body.pq-site-shell .pq-page .pq-hero-copy{min-width:0!important;max-width:100%!important}
body.pq-site-shell .pq-page .pq-hero-badge{max-width:100%;box-sizing:border-box}
body.pq-site-shell .pq-page .pq-hero-certs{width:100%!important;max-width:100%!important;box-sizing:border-box}
body.pq-site-shell .pq-site-hero__subtitle{font-weight:800!important}
@media(max-width:960px){body.pq-site-shell .pq-page .pq-hero-inner{grid-template-columns:minmax(0,1fr)!important}}

/* One font system across legacy Elementor elements, including bold and labels. */
body.pq-site-shell .pq-page{--f-head:var(--pq-font-heading)!important;--f-body:var(--pq-font-body)!important}
body.pq-site-shell .pq-page :is(a,button,small,summary,span,div,strong,b){font-family:var(--pq-font-body)!important}
body.pq-site-shell .pq-page :is(h1,h2,h3,h4,h5,h6),body.pq-site-shell .pq-page :is(h1,h2,h3,h4,h5,h6) :is(span,strong,b),body.pq-site-shell .pq-page .pq-caso-metric b,body.pq-site-shell .pq-page .pq-caso-metric b span,body.pq-site-shell .pq-page .pq-fact b{font-family:var(--pq-font-heading)!important}
body.pq-site-shell .pq-page .pq-accent{font-family:Fraunces,Georgia,serif!important}
body.pq-site-shell .pq-page .pq-cta .pq-lead{text-align:justify!important;hyphens:auto;text-justify:inter-word}
body.pq-site-shell .pq-page .pq-facts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important;margin-top:30px!important}
body.pq-site-shell .pq-page .pq-fact{padding:20px 22px;border:1px solid #dce3ed;border-radius:14px;background:#f7f9fc;min-width:0;box-shadow:0 3px 12px rgba(17,24,39,.03)}
body.pq-site-shell .pq-page .pq-fact:last-child{grid-column:1/-1}
body.pq-site-shell .pq-page .pq-fact b{font-size:clamp(24px,2.3vw,30px)!important;line-height:1.2;font-weight:800!important;color:#26344c!important;margin-bottom:9px}
body.pq-site-shell .pq-page .pq-fact small{display:block;font-size:13px!important;line-height:1.55;color:#56657e!important}
@media(max-width:520px){body.pq-site-shell .pq-page .pq-fact{padding:17px 15px}body.pq-site-shell .pq-page .pq-fact b{font-size:24px!important}}

/* CTA formulario contacto (ES y CA) 2026-10-19: el kit de Elementor (0,1,1) anulaba .pq-btn--lime */
.pq-form button.pq-btn--lime[type=submit]{background:var(--lime,#84CC16);color:var(--dark,#0F172A);font-family:var(--f-head);font-weight:800;font-size:18px;letter-spacing:.01em;padding:18px 28px;min-height:58px;border-radius:100px;box-shadow:0 12px 32px -6px rgba(132,204,22,.5);gap:12px}
.pq-form button.pq-btn--lime[type=submit]::after{content:"\2192" / "";font-size:22px;line-height:1;transition:transform .35s ease}
.pq-form button.pq-btn--lime[type=submit]:hover,.pq-form button.pq-btn--lime[type=submit]:focus-visible{background:#8fd41f;color:var(--dark,#0F172A);transform:translateY(-2px);box-shadow:0 18px 40px -6px rgba(132,204,22,.6)}
.pq-form button.pq-btn--lime[type=submit]:hover::after{transform:translateX(4px)}
.pq-form button.pq-btn--lime[type=submit]:focus-visible{outline:3px solid #87A9F5;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.pq-form button.pq-btn--lime[type=submit],.pq-form button.pq-btn--lime[type=submit]::after{transition:none}.pq-form button.pq-btn--lime[type=submit]:hover{transform:none}}

/* Home: H1 semantico en la etiqueta; el titular grande pasa a p con el mismo aspecto (2026-10-21) */
.pq-site-hero--home h1.pq-site-hero__badge{clear:none;color:#fff;font-family:var(--pq-font-heading);font-size:11.5px;font-weight:700;letter-spacing:.11em;line-height:normal;margin:0}
.pq-site-hero--home p.pq-site-hero__title{margin:16px 0 0;font-size:64px;letter-spacing:-2px}
@media(max-width:767px){.pq-site-hero--home p.pq-site-hero__title{font-size:36px}}

/* 2026-10-21: badge +30% fuera del texto de la tarjeta de perfil; enlace web del caso Synaptix */
.pq-site-hero__metric--conversion{top:4%;right:-10%;bottom:auto;left:auto}
@media(max-width:560px){.pq-site-hero__metric--conversion{top:3%;right:-2%;bottom:auto;left:auto}}
@media(max-width:560px){.pq-site-hero__metric--speed{top:40%;right:-2%;bottom:auto}}
.pq-casos .pq-caso-link{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;min-height:40px;padding:8px 14px;margin:4px 0 var(--s2);border:1px solid rgba(135,169,245,.38);border-radius:12px;color:#d8e2f7;font-family:var(--f-head);font-size:12.5px;font-weight:700;text-decoration:none;background:rgba(135,169,245,.07);transition:border-color .3s,background .3s,color .3s}
.pq-casos .pq-caso-link:hover,.pq-casos .pq-caso-link:focus-visible{border-color:var(--lavender);background:rgba(135,169,245,.16);color:#fff}
.pq-casos .pq-caso-link:focus-visible{outline:3px solid #87A9F5;outline-offset:3px}
.pq-casos .pq-caso-link svg{width:14px;height:14px;flex:none}

/* Header direccional: se oculta al bajar, reaparece al subir */
body .pq-site-header.is-hidden{transform:translateY(calc(-100% - 40px));pointer-events:none}
body .pq-site-header.is-hidden:focus-within{transform:none;pointer-events:auto}
@media(prefers-reduced-motion:reduce){body .pq-site-header{transition:none}}

/* Sobre mí: cards de datos y foto de Girona */
body.pq-site-shell .pq-page .pq-facts .pq-fact{position:relative;overflow:hidden;padding:22px 22px 20px 26px;border:1px solid #dce3ed;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(17,24,39,.06);transition:transform .3s,box-shadow .3s,border-color .3s}
body.pq-site-shell .pq-page .pq-facts .pq-fact::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--pq-blue,#4A58E8),var(--pq-lavender,#87A9F5))}
body.pq-site-shell .pq-page .pq-facts .pq-fact:hover{transform:translateY(-2px);border-color:#c7d2e6;box-shadow:0 12px 28px rgba(17,24,39,.09)}
body.pq-site-shell .pq-page .pq-facts .pq-fact__label{display:block;margin-bottom:10px;color:var(--pq-blue,#4A58E8);font-family:var(--pq-font-heading);font-size:11px;font-weight:700;letter-spacing:.12em;line-height:1;text-transform:uppercase}
body.pq-site-shell .pq-page .pq-facts .pq-fact b{display:block;color:#1f2b42!important;letter-spacing:-.02em}
body.pq-site-shell .pq-page .pq-facts .pq-fact:last-child b{font-size:clamp(22px,2vw,26px)!important}
@media(max-width:480px){body.pq-site-shell .pq-page .pq-facts{grid-template-columns:1fr!important}body.pq-site-shell .pq-page .pq-facts .pq-fact{padding:18px 18px 16px 22px}}
.pq-girona{padding:clamp(28px,4.5vw,64px) 0;background:#fff}
.pq-girona__fig{margin:0;overflow:hidden;border-radius:clamp(16px,2vw,26px);box-shadow:0 18px 48px rgba(15,23,42,.14);background:#eaf0f8}
.pq-girona__fig img{display:block;width:100%;height:auto;aspect-ratio:1879/1057;object-fit:cover}
.pq-girona__fig figcaption{padding:12px 18px;color:#56657e;font-family:var(--pq-font-heading);font-size:12.5px;font-weight:600;letter-spacing:.02em;background:#fff}
@media(max-width:600px){.pq-girona__fig img{aspect-ratio:4/3;object-position:68% center}}
@media(prefers-reduced-motion:reduce){body.pq-site-shell .pq-page .pq-facts .pq-fact{transition:none}body.pq-site-shell .pq-page .pq-facts .pq-fact:hover{transform:none}}

/* Sobre mí: cards compactas al ancho del texto */
body.pq-site-shell .pq-page .pq-sobre-txt .pq-facts{width:100%;max-width:560px;gap:10px!important;margin-top:22px!important}
body.pq-site-shell .pq-page .pq-facts .pq-fact{padding:13px 14px 12px 19px;border-radius:13px;box-shadow:0 4px 14px rgba(17,24,39,.05)}
body.pq-site-shell .pq-page .pq-facts .pq-fact__label{margin-bottom:6px;font-size:10px}
body.pq-site-shell .pq-page .pq-facts .pq-fact b{font-size:clamp(19px,1.7vw,22px)!important;margin-bottom:4px!important;line-height:1.15}
body.pq-site-shell .pq-page .pq-facts .pq-fact:last-child b{font-size:clamp(18px,1.6vw,21px)!important}
body.pq-site-shell .pq-page .pq-facts .pq-fact small{font-size:12px!important;line-height:1.4}

/* Casos v6: fichas claras sobre fondo oscuro; orden texto, datos, vista previa */
body.pq-site-shell .pq-page .pq-casos-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso{display:flex!important;flex-direction:column;padding:0!important;overflow:hidden;border-radius:22px!important;background:#fff!important;border:0!important;border-top:4px solid #A3E635!important;color:#0F172A!important;box-shadow:0 18px 50px rgba(2,6,23,.45)!important;transition:transform .3s,box-shadow .3s}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso:hover{transform:translateY(-4px);box-shadow:0 26px 64px rgba(2,6,23,.55)!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-head{order:1;padding:22px 24px 0!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-tag{color:#0F172A!important;font-size:15px!important;font-weight:800!important;letter-spacing:.07em;text-transform:uppercase;margin:0!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-sector{color:#475569!important;font-size:13.5px!important;margin:3px 0 0!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-big{order:2;padding:12px 24px 0!important;margin:0!important;color:#0F172A!important;font-size:clamp(26px,2.1vw,30px)!important;font-weight:800!important;line-height:1.1!important;letter-spacing:-.01em}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metrics{order:3;display:flex!important;margin:18px 24px 0!important;padding:14px 4px!important;background:#0F172A!important;border:0!important;border-radius:14px!important;gap:0!important;overflow:hidden}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric{flex:1 1 0;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:2px 8px!important;text-align:center;background:none!important;border:0!important;border-radius:0!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric+.pq-caso-metric{border-left:1px solid rgba(255,255,255,.16)!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric b,body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric strong{color:#fff!important;font-size:24px!important;font-weight:800!important;line-height:1.1}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric span,body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric small,body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric em{color:#CBD5E1!important;font-size:12.5px!important;font-style:normal}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric--res b,body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric--res strong{color:#A3E635!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-txt{order:4;flex:1 1 auto;margin:0!important;padding:16px 24px 20px!important;color:#334155!important;font-size:15px!important;line-height:1.55!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview{order:5;display:block!important;margin:0 16px 16px!important;border:1px solid #CBD5E1!important;border-radius:14px!important;overflow:hidden;background:#0F172A;box-shadow:none!important;text-decoration:none}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview__media{position:relative;display:block;overflow:hidden;background:#E2E8F0;aspect-ratio:800/420;width:100%}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview__media img{display:block;width:100%;height:100%;max-width:none;margin:0;object-fit:cover;object-position:var(--pq-pos,50% 0);transition:transform .5s ease}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview__icon{display:none!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview__host{position:static!important;display:flex!important;align-items:center;justify-content:space-between;padding:11px 14px!important;background:#0F172A!important;color:#fff!important;border:0!important;border-radius:0!important;font-size:13px!important;font-weight:700;line-height:1.2;box-shadow:none!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview__host::after{content:"Visitar web \2197";color:#A3E635;font-weight:800;transition:transform .25s}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview:hover .pq-site-preview__media img{transform:scale(1.04)}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview:hover .pq-site-preview__host::after{transform:translateX(3px)}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview:focus-visible{outline:3px solid #0F172A;outline-offset:2px}
@media (prefers-reduced-motion:reduce){body.pq-site-shell .pq-page .pq-casos-grid .pq-caso,body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview__media img,body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview__host::after{transition:none}body.pq-site-shell .pq-page .pq-casos-grid .pq-caso:hover{transform:none}}
@media (min-width:961px){
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso:not(.pq-caso--wide){display:grid!important;grid-row:span 5;grid-template-rows:subgrid;row-gap:0}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso:not(.pq-caso--wide)>.pq-caso-head{grid-row:1}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso:not(.pq-caso--wide)>.pq-caso-big{grid-row:2}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso:not(.pq-caso--wide)>.pq-caso-metrics{grid-row:3}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso:not(.pq-caso--wide)>.pq-caso-txt{grid-row:4}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso:not(.pq-caso--wide)>.pq-site-preview{grid-row:5;align-self:end}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso--wide{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1.15fr;grid-template-areas:"h m" "b m" "t m";grid-template-rows:auto auto 1fr;align-items:start}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso--wide>.pq-caso-head{grid-area:h}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso--wide>.pq-caso-big{grid-area:b}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso--wide>.pq-caso-txt{grid-area:t;padding-bottom:24px!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso--wide>.pq-caso-metrics{grid-area:m;align-self:center;margin:24px!important;padding:24px 8px!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso--wide .pq-caso-metric b,body.pq-site-shell .pq-page .pq-casos-grid .pq-caso--wide .pq-caso-metric strong{font-size:clamp(38px,3.8vw,54px)!important}
}
@media (max-width:960px){
body.pq-site-shell .pq-page .pq-casos-grid{grid-template-columns:minmax(0,560px)!important;justify-content:center}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso--wide{grid-column:auto!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso--wide .pq-caso-metric b,body.pq-site-shell .pq-page .pq-casos-grid .pq-caso--wide .pq-caso-metric strong{font-size:30px!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso--wide>.pq-caso-metrics{margin:0 24px 24px!important}
}

/* Casos v6.1: contadores anidados heredan el estilo del valor */
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric b span{color:inherit!important;font-size:inherit!important;font-weight:inherit!important}

/* Casos v6.2: design system del sitio (dark-2, lavanda, lima solo en resultados) */
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso{background:linear-gradient(180deg,rgba(135,169,245,.06),rgba(135,169,245,0) 40%),#131C33!important;border:1px solid rgba(135,169,245,.22)!important;border-top:1px solid rgba(135,169,245,.22)!important;color:#fff!important;box-shadow:0 12px 32px rgba(2,6,23,.28)!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso:hover{border-color:rgba(135,169,245,.5)!important;box-shadow:0 18px 44px rgba(2,6,23,.4)!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-tag{color:#87A9F5!important;font-size:12.5px!important;letter-spacing:.12em}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-sector{color:#A9B7D2!important;font-size:13px!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-big{color:#fff!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metrics{background:#0F172A!important;border:1px solid rgba(135,169,245,.16)!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric+.pq-caso-metric{border-left:1px solid rgba(135,169,245,.18)!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric b,body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric strong{color:#E6ECFA!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric--res b,body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric--res strong{color:#A3E635!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric span,body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric small,body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-metric em{color:#A9B7D2!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-caso-txt{color:#C5CFE3!important;font-size:14.5px!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview{border:1px solid rgba(135,169,245,.25)!important;background:#0F172A}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview__host{background:#0F172A!important;color:#E6ECFA!important;border-top:1px solid rgba(135,169,245,.18)!important}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview__host::after{color:#87A9F5}
body.pq-site-shell .pq-page .pq-casos-grid .pq-site-preview:focus-visible{outline:3px solid #87A9F5}

/* ==========================================================================
   HOME ES (page-id-3006) y CA (page-id-3221): espaciado y responsive
   Ficha: 06_QA_Y_ENTREGAS/PUBLICACION/fichas/2026-11-01_home-espaciado-responsive.md (PAU Web, SEO y GEO, 2026-11-01).
   Motivo: el Kit de Elementor (.elementor-kit-2167 p) aplica margin-block-end:74px
   a cada p y gana en especificidad a las reglas de clase de la home (0,1,1 contra 0,1,0).
   Resultado en vivo: 74px bajo cada parrafo, sea cual sea su tamano.
   Ambito: solo la home ES y CA (el selector exige las dos clases de body). No toca otras paginas ni el Kit.
   Tokens: --s2 16px, --s3 26px, --s4 42px, --s5 68px (definidos en .pq-page); el segundo valor es respaldo.
   Bloque nuevo al final de style.css. No reescribe reglas ajenas.
   ========================================================================== */

/* 1. Anular el margen de parrafo del Kit solo en la home */
body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page p{margin-block-end:0}
/* 1b. Restituir los margenes que la home define a proposito (logos-label 20px; sobre-txt 16px) */
body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-logos-label{margin-bottom:20px}
body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-sobre-txt p{margin-bottom:var(--s2,16px)}

/* 2. Tableta y movil: relleno vertical de las 7 secciones listadas, 68px (--s5) en vez de 110px (--s6) */
@media (max-width:900px){
  body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page :is(.pq-problema,.pq-roadmap,.pq-casos,.pq-modelo,.pq-sobre,.pq-cta,.pq-faq){padding-top:var(--s5,68px);padding-bottom:var(--s5,68px)}
  body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-cta-grid{gap:var(--s4,42px)}
  body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-comp{margin-top:var(--s4,42px)}
}

/* 2b. Compromisos apilados (860px o menos): relleno 26px (--s3) en vez de 42px y 26px */
@media (max-width:860px){
  body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-comp-item{padding:var(--s3,26px)}
}

/* 2c. Como trabajo: la columna unica no puede ensancharse por el mockup (940px o menos) */
@media (max-width:940px){
  body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-mod-grid{grid-template-columns:minmax(0,1fr)}
}

/* 3. Movil estrecho (560px o menos): relleno 42px (--s4), compromisos y formulario mas compactos */
@media (max-width:560px){
  body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page :is(.pq-problema,.pq-roadmap,.pq-casos,.pq-modelo,.pq-sobre,.pq-cta,.pq-faq){padding-top:var(--s4,42px);padding-bottom:var(--s4,42px)}
  body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-comp-item{padding:var(--s3,26px) var(--s2,16px)}
  body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-form{padding:var(--s3,26px) var(--s2,16px)}
  body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-form textarea{min-height:150px}
}

/* 4. Como trabajo, mockup de carpeta: filas de archivo sin recorte en movil estrecho */
@media (max-width:560px){
  body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-doc{gap:8px;padding:13px 16px}
}
@media (max-width:360px){
  body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-doc{font-size:13px}
  body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-doc .shared{display:none}
}

/* 2026-11-01 correccion: titulo de logos solapado (el margen negativo compensaba los 74px del Kit) */
body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-logos-label{margin-bottom:var(--s2,16px)}
body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-logos-marquee{margin-top:0}
@media(min-width:701px){body.pq-site-shell:is(.page-id-3006,.page-id-3221) .pq-page .pq-logos-marquee{margin-bottom:-30px}}
