/* =========================================================
   Home Pulpería Argentina 2026
   Basada en el "Brochure Pulpero 2026".
   Todo está acotado a .pa-home para no afectar el resto del sitio.
   ========================================================= */

.pa-home {
	--pa-blue: #12a0dc;
	--pa-blue-dark: #0b6fa0;
	--pa-yellow: #f6c344;
	--pa-ink: #1d1d1b;
	--pa-muted: #4a4a46;
	--pa-paper: #faf6ee;
	--pa-white: #ffffff;
	--pa-serif: "Gelasio", Georgia, "Times New Roman", serif;
	--pa-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--pa-wrap: 1180px;

	font-family: var(--pa-sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--pa-ink);
	background: var(--pa-white);
	overflow-x: clip;
}

.pa-home *,
.pa-home *::before,
.pa-home *::after { box-sizing: border-box; }

.pa-home img { max-width: 100%; height: auto; display: block; }
.pa-home p { margin: 0 0 1em; }
.pa-home a { color: var(--pa-blue-dark); }
.pa-home b, .pa-home strong { font-weight: 600; }

.pa-home h1,
.pa-home h2,
.pa-home h3 {
	font-family: var(--pa-serif);
	color: var(--pa-ink);
	letter-spacing: 0;
	text-transform: none;
}

.pa-wrap {
	width: 100%;
	max-width: var(--pa-wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.pa-sec { padding: clamp(56px, 8vw, 110px) 0; }
.pa-center { text-align: center; }
.pa-blue { color: var(--pa-blue) !important; }

.pa-h2 {
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.15;
	font-weight: 700;
	margin: 0 0 .6em;
}

.pa-sub {
	font-family: var(--pa-serif);
	font-size: clamp(18px, 1.8vw, 22px);
	margin-bottom: 1.6em;
}

.pa-strong { font-weight: 600; }

.pa-eyebrow {
	font-family: var(--pa-serif);
	font-size: 20px;
	font-weight: 700;
	color: var(--pa-ink);
	margin-bottom: .3em !important;
}

.pa-note {
	font-size: 15px;
	color: var(--pa-muted);
	border-left: 3px solid var(--pa-yellow);
	padding-left: 14px;
}

/* ---------- Botones ---------- */
.pa-btn,
.pa-home a.pa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 26px;
	border-radius: 999px;
	background: var(--pa-blue);
	color: var(--pa-white);
	font-family: var(--pa-sans);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid var(--pa-blue);
	transition: background .2s, color .2s, transform .2s;
}
.pa-home a.pa-btn:hover { background: var(--pa-blue-dark); border-color: var(--pa-blue-dark); color: #fff; transform: translateY(-1px); }
.pa-home a.pa-btn:focus-visible { outline: 3px solid var(--pa-yellow); outline-offset: 3px; }

.pa-home a.pa-btn--light { background: #fff; color: var(--pa-blue-dark); border-color: #fff; }
.pa-home a.pa-btn--light:hover { background: var(--pa-yellow); border-color: var(--pa-yellow); color: var(--pa-ink); }

.pa-home a.pa-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.pa-home a.pa-btn--ghost:hover { background: #fff; color: var(--pa-blue-dark); border-color: #fff; }

.pa-home a.pa-btn--outline { background: transparent; color: var(--pa-blue-dark); border-color: var(--pa-blue); }
.pa-home a.pa-btn--outline:hover { background: var(--pa-blue); color: #fff; }

/* ---------- Hero ---------- */
.pa-hero {
	position: relative;
	min-height: min(88vh, 860px);
	display: flex;
	align-items: flex-end;
	padding: 0 0 clamp(28px, 5vw, 64px);
	isolation: isolate;
}
.pa-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center 35%;
	z-index: -1;
}
.pa-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.25) 100%);
	z-index: -1;
}
.pa-hero__brush {
	position: relative;
	width: min(820px, 94%);
	padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 64px) clamp(32px, 4vw, 52px) clamp(24px, 6vw, 88px);
	background: var(--pa-blue);
	color: #fff;
	/* borde "pincelada" como en el brochure */
	clip-path: polygon(0 6%, 4% 3%, 11% 7%, 19% 2%, 28% 5%, 37% 0, 47% 4%, 58% 1%, 67% 5%, 77% 2%, 86% 6%, 93% 3%, 97% 12%, 100% 26%, 96% 40%, 99% 55%, 95% 70%, 98% 84%, 92% 96%, 82% 93%, 71% 99%, 60% 95%, 49% 100%, 37% 96%, 26% 99%, 15% 94%, 6% 98%, 0 92%);
}
.pa-hero__kicker {
	font-size: 14px;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 600;
	opacity: .9;
	margin-bottom: .6em !important;
}
.pa-home .pa-hero__title {
	font-size: clamp(40px, 7vw, 84px);
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 .25em;
}
.pa-hero__lead {
	font-family: var(--pa-serif);
	font-size: clamp(19px, 2.2vw, 26px);
	line-height: 1.35;
	max-width: 30ch;
	margin-bottom: 1.2em !important;
}
.pa-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Splits (texto + foto) ---------- */
.pa-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
}
.pa-split--rev .pa-split__text { order: 0; }
.pa-split__media { position: relative; }
.pa-split__media > img:first-child {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 18px 40px -22px rgba(0,0,0,.45);
}
.pa-split__media--tall > img:first-child { aspect-ratio: 4 / 5; }

.pa-tilt > img { transform: rotate(-1.5deg); }

/* ---------- Una casa ---------- */
.pa-poem {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--pa-serif);
	font-size: clamp(22px, 2.6vw, 32px);
	line-height: 1.3;
}
.pa-poem li {
	padding: .45em 0;
	border-bottom: 1px dashed rgba(18,160,220,.45);
}
.pa-poem li:last-child { border-bottom: 0; color: var(--pa-blue); font-weight: 700; }

/* ---------- Títulos con trazo a mano ---------- */
.pa-ringed {
	position: relative;
	display: inline-block;
	padding: .55em 1.1em .6em;
	margin-left: -.8em;
	max-width: calc(100% + .8em);
}
.pa-ringed .pa-ring {
	position: absolute;
	inset: -4px -8px;
	width: calc(100% + 16px);
	height: calc(100% + 8px);
	color: var(--pa-blue);
	opacity: .9;
	pointer-events: none;
}
.pa-ringed span { position: relative; }

/* ---------- Conocés ---------- */
.pa-conoces { background: var(--pa-paper); }
.pa-quote {
	font-family: var(--pa-serif);
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.35;
	font-weight: 600;
	color: var(--pa-blue);
	text-align: center;
	margin: 18px auto 0 !important;
	max-width: 24ch;
}
.pa-filete { width: 240px; margin: 0 auto 18px; }
.pa-filete--sm { width: 160px; margin: 22px auto 0; }
.pa-split__text .pa-filete--sm { margin: 0 0 18px; }

.pa-facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: clamp(40px, 6vw, 72px) 0 0;
	padding: 28px 0 0;
	border-top: 2px solid var(--pa-ink);
}
.pa-facts dt {
	font-family: var(--pa-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--pa-blue);
	margin-bottom: 4px;
}
.pa-facts dd { margin: 0; color: var(--pa-muted); }

/* ---------- Qué podemos hacer juntos ---------- */
.pa-juntos {
	position: relative;
	background: var(--pa-blue);
	color: #fff;
	isolation: isolate;
}
.pa-juntos::before {
	/* mancha amarilla (como el mapa del brochure) */
	content: "";
	position: absolute;
	left: 50%;
	bottom: 6%;
	width: min(980px, 92%);
	height: 62%;
	transform: translateX(-50%) rotate(-2deg);
	background: var(--pa-yellow);
	border-radius: 46% 54% 38% 62% / 55% 40% 60% 45%;
	opacity: .95;
	z-index: -1;
}
.pa-home .pa-juntos .pa-h2 { color: #fff; }
.pa-juntos .pa-sub { color: #fff; }

.pa-carteles {
	list-style: none;
	margin: 0;
	padding: 12px 0 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 34px 20px;
}
.pa-carteles li {
	position: relative;
	transform: rotate(var(--r, 0deg));
	background: #2bb0e6;
	border: 3px solid #fff;
	outline: 2px solid var(--pa-blue-dark);
	outline-offset: -8px;
	border-radius: 8px;
	min-height: 108px;
	padding: 18px 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-shadow: 0 10px 20px -10px rgba(0,0,0,.45);
	transition: transform .25s;
}
.pa-carteles li::before {
	/* cordón del cartel colgante */
	content: "";
	position: absolute;
	top: -22px;
	left: 50%;
	width: 46%;
	height: 22px;
	transform: translateX(-50%);
	background:
		linear-gradient(to top right, transparent calc(50% - 1px), #fff 50%, transparent calc(50% + 1px)) left / 50% 100% no-repeat,
		linear-gradient(to top left, transparent calc(50% - 1px), #fff 50%, transparent calc(50% + 1px)) right / 50% 100% no-repeat;
}
.pa-carteles li:hover { transform: rotate(0deg) translateY(-3px); }
.pa-carteles span {
	font-family: var(--pa-serif);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.15);
}

/* ---------- Propuesta ---------- */
.pa-list {
	list-style: none;
	margin: 1.2em 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.pa-list li {
	position: relative;
	padding-left: 26px;
	font-weight: 500;
}
.pa-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .55em;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--pa-yellow);
	box-shadow: 0 0 0 3px rgba(18,160,220,.25);
}

/* ---------- Features ---------- */
.pa-feature--paper { background: var(--pa-paper); }
.pa-bq {
	margin: 1.2em 0 1.4em;
	padding: 18px 22px;
	border: 0;
	border-left: 4px solid var(--pa-blue);
	background: #fff;
	font-family: var(--pa-serif);
	font-style: italic;
	font-size: clamp(19px, 2vw, 23px);
	line-height: 1.4;
	color: var(--pa-ink);
}

/* ---------- Prensa ---------- */
.pa-prensa { background: var(--pa-blue); color: #fff; }
.pa-prensa__head {
	background: #fff;
	color: var(--pa-ink);
	max-width: 760px;
	margin: 0 auto clamp(32px, 5vw, 56px);
	padding: 28px 32px 8px;
	clip-path: polygon(0 8%, 6% 2%, 18% 6%, 31% 0, 45% 5%, 58% 1%, 72% 6%, 86% 1%, 100% 7%, 98% 50%, 100% 93%, 87% 99%, 72% 94%, 57% 100%, 42% 95%, 28% 100%, 14% 95%, 0 99%, 2% 50%);
}
.pa-prensa__head .pa-h2 { text-transform: uppercase; color: var(--pa-blue) !important; margin-bottom: .3em; }
.pa-prensa__head .pa-sub { margin-bottom: 1em; }

.pa-prensa__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.pa-nota {
	display: flex;
	flex-direction: column;
	background: #fff;
	color: var(--pa-ink);
	text-decoration: none !important;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 16px 34px -20px rgba(0,0,0,.5);
	transition: transform .2s;
}
a.pa-nota:hover { transform: translateY(-4px); }
.pa-nota > img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	object-position: top center;
	border-bottom: 1px solid #e7e7e7;
}
.pa-nota__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pa-nota__medio {
	font-family: var(--pa-serif);
	font-weight: 700;
	color: var(--pa-blue);
	text-transform: uppercase;
	font-size: 15px;
	margin-bottom: .4em !important;
}
.pa-home .pa-nota__titulo {
	font-size: 18px;
	line-height: 1.35;
	font-weight: 600;
	margin: 0 0 1em;
}
.pa-nota__fecha {
	margin: auto 0 0 !important;
	font-size: 14px;
	color: var(--pa-blue);
	font-weight: 600;
}

/* ---------- Galería ---------- */
.pa-galeria {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}
.pa-galeria img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* ---------- Contacto ---------- */
.pa-contacto .pa-h2 { margin-bottom: .2em; }
.pa-contacto__chismes {
	font-family: var(--pa-serif);
	font-weight: 700;
	color: var(--pa-blue);
	font-size: clamp(20px, 2.4vw, 28px);
	margin-bottom: .5em !important;
}
.pa-contacto__tel {
	font-family: var(--pa-serif);
	font-weight: 700;
	font-size: clamp(19px, 2vw, 24px);
}
.pa-home .pa-contacto__tel a { color: var(--pa-ink); text-decoration: none; border-bottom: 2px solid var(--pa-yellow); }
.pa-contacto__ctas { justify-content: center; margin: 28px 0 44px; }
.pa-logo { width: 220px; margin: 0 auto 22px; }
.pa-contacto__dir { font-size: 14px; color: var(--pa-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.pa-carteles { grid-template-columns: repeat(3, 1fr); }
	.pa-prensa__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
	.pa-home { font-size: 16px; }
	.pa-wrap { padding: 0 16px; }
	.pa-split { grid-template-columns: 1fr; }
	.pa-split--rev .pa-split__text { order: 1; }
	.pa-split--rev .pa-split__media { order: 0; }
	.pa-split__media--tall > img:first-child { aspect-ratio: 4 / 3; }
	.pa-hero { min-height: 78vh; align-items: flex-end; }
	.pa-hero__bg { object-position: 30% center; }
	.pa-hero__brush { width: 100%; clip-path: polygon(0 3%, 12% 0, 30% 3%, 50% 0, 70% 3%, 88% 0, 100% 3%, 100% 97%, 85% 100%, 65% 97%, 45% 100%, 25% 97%, 0 100%); }
	.pa-hero__ctas .pa-btn { flex: 1 1 100%; }
	.pa-ringed { margin-left: -.5em; padding: .5em .8em .55em; }
	.pa-facts { grid-template-columns: 1fr; gap: 18px; }
	.pa-carteles { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
	.pa-carteles li { min-height: 92px; }
	.pa-carteles span { font-size: 16px; }
	.pa-juntos::before { height: 70%; }
	.pa-prensa__grid { grid-template-columns: 1fr; }
	.pa-prensa__head { padding: 22px 18px 4px; }
	.pa-galeria { grid-template-columns: repeat(3, 1fr); }
	.pa-galeria img:nth-child(n+4) { display: none; }
	.pa-contacto__ctas .pa-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.pa-home * { transition: none !important; }
}
.pa-home .pa-contacto__tel a { white-space: nowrap; }

/* ---------- Fuentes: evitar que el theme/Elementor las pise ---------- */
body .pa-home,
body .pa-home p,
body .pa-home li,
body .pa-home dd,
body .pa-home a,
body .pa-home b,
body .pa-home span,
body .pa-home .pa-btn { font-family: var(--pa-sans) !important; }

body .pa-home h1,
body .pa-home h2,
body .pa-home h3,
body .pa-home h2 span,
body .pa-home dt,
body .pa-home blockquote,
body .pa-home .pa-sub,
body .pa-home .pa-eyebrow,
body .pa-home .pa-poem li,
body .pa-home .pa-hero__lead,
body .pa-home .pa-quote,
body .pa-home .pa-carteles span,
body .pa-home .pa-nota__medio,
body .pa-home .pa-contacto__chismes,
body .pa-home .pa-contacto__tel,
body .pa-home .pa-contacto__tel a { font-family: var(--pa-serif) !important; }
body .pa-home .pa-contacto__tel a { font-size: inherit; font-weight: inherit; padding: 0; }
