/* ==========================================================
   Ester Rodríguez Acosta — estilos
   Ignacio Bauchwitz SISTEMAS
   ========================================================== */

@font-face { font-family: "Syne"; src: url(../fonts/syne-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Syne"; src: url(../fonts/syne-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/dm-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/dm-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/dm-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(../fonts/caveat-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(../fonts/caveat-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--er-magenta: #ff0a54;
	--er-amarillo: #ffbe0b;
	--er-cian: #00bbf9;
	--er-violeta: #8338ec;
	--er-verde: #06d6a0;
	--er-naranja: #fb5607;
	--er-tinta: #1a1033;
	--er-tinta-2: #4a4060;
	--er-papel: #fff8ec;
	--er-blanco: #ffffff;
	--er-wa: #25d366;
	--er-titulo: "Syne", "Arial Black", system-ui, sans-serif;
	--er-texto: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--er-mano: "Caveat", "Segoe Print", cursive;
	--er-radio: 22px;
	--er-sombra: 6px 6px 0 var(--er-tinta);
	--er-ancho: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
	margin: 0; background: var(--er-papel); color: var(--er-tinta);
	font: 400 18px/1.65 var(--er-texto); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--er-titulo); font-weight: 800; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--er-violeta); outline-offset: 3px; border-radius: 6px; }
.er-saltar { position: absolute; left: -999px; top: 8px; background: var(--er-tinta); color: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }
.er-saltar:focus { left: 8px; }
.er-oculto { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.er-wrap { width: min(100% - 32px, var(--er-ancho)); margin-inline: auto; position: relative; z-index: 1; }
.er-wrap--angosto { width: min(100% - 32px, 780px); }
.er-centro { text-align: center; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* Colores de la paleta: cada elemento toma uno */
.er-c0 { --c: var(--er-magenta); --c-txt: #fff; }
.er-c1 { --c: var(--er-amarillo); --c-txt: var(--er-tinta); }
.er-c2 { --c: var(--er-cian); --c-txt: var(--er-tinta); }
.er-c3 { --c: var(--er-violeta); --c-txt: #fff; }
.er-c4 { --c: var(--er-verde); --c-txt: var(--er-tinta); }
.er-c5 { --c: var(--er-naranja); --c-txt: #fff; }
.er-fondo0 { background: var(--er-magenta); color: #fff; }
.er-fondo1 { background: var(--er-amarillo); color: var(--er-tinta); }
.er-fondo2 { background: var(--er-cian); color: var(--er-tinta); }
.er-fondo3 { background: var(--er-violeta); color: #fff; }
.er-fondo4 { background: var(--er-verde); color: var(--er-tinta); }
.er-fondo5 { background: var(--er-naranja); color: #fff; }

/* Franja arcoíris */
.er-arcoiris { height: 8px; background: linear-gradient(90deg, var(--er-magenta) 0 16.6%, var(--er-naranja) 0 33.3%, var(--er-amarillo) 0 50%, var(--er-verde) 0 66.6%, var(--er-cian) 0 83.3%, var(--er-violeta) 0); }

/* ---------- Botones ---------- */
.er-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 26px; border-radius: 999px; border: 3px solid var(--er-tinta);
	font: 700 17px/1.1 var(--er-texto); text-decoration: none; cursor: pointer;
	box-shadow: 4px 4px 0 var(--er-tinta); transition: transform .15s, box-shadow .15s;
	background: #fff; color: var(--er-tinta);
}
.er-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--er-tinta); }
.er-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--er-tinta); }
.er-btn--chico { padding: 9px 16px; font-size: 15px; box-shadow: 3px 3px 0 var(--er-tinta); border-width: 2.5px; }
.er-btn--ancho { width: 100%; }
.er-btn--magenta { background: var(--er-magenta); color: #fff; }
.er-btn--amarillo { background: var(--er-amarillo); }
.er-btn--tinta { background: var(--er-tinta); color: #fff; }
.er-btn--blanco { background: #fff; color: var(--er-tinta); }
.er-btn--wa { background: var(--er-wa); color: var(--er-tinta); }
.er-latido { animation: er-latido 2.2s ease-in-out infinite; }
@keyframes er-latido {
	0%, 100% { box-shadow: 4px 4px 0 var(--er-tinta), 0 0 0 0 rgba(37, 211, 102, .55); }
	50% { box-shadow: 4px 4px 0 var(--er-tinta), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ---------- Encabezado ---------- */
.er-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 236, .92); backdrop-filter: blur(10px); border-bottom: 3px solid var(--er-tinta); }
.er-header__in { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.er-marca { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.er-marca__firma {
	font: 700 38px/1 var(--er-mano); color: #fff; background: var(--er-magenta);
	padding: 4px 14px 8px; border-radius: 14px 30px 14px 26px; transform: rotate(-4deg);
	border: 2.5px solid var(--er-tinta); box-shadow: 3px 3px 0 var(--er-tinta);
}
.er-marca__txt { display: flex; flex-direction: column; font: 800 17px/1.1 var(--er-titulo); }
.er-marca__txt small { font: 500 13px/1.3 var(--er-texto); color: var(--er-tinta-2); letter-spacing: .04em; text-transform: uppercase; }
.er-nav { margin-left: auto; }
.er-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.er-nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px; transition: background .2s, color .2s; }
.er-nav li:nth-child(6n+1) a:hover { background: var(--er-magenta); color: #fff; }
.er-nav li:nth-child(6n+2) a:hover { background: var(--er-amarillo); }
.er-nav li:nth-child(6n+3) a:hover { background: var(--er-cian); }
.er-nav li:nth-child(6n+4) a:hover { background: var(--er-violeta); color: #fff; }
.er-nav li:nth-child(6n+5) a:hover { background: var(--er-verde); }
.er-nav li:nth-child(6n+6) a:hover { background: var(--er-naranja); color: #fff; }
.er-header__acc { display: flex; align-items: center; gap: 10px; }
.er-burger { display: none; width: 46px; height: 46px; border: 2.5px solid var(--er-tinta); border-radius: 12px; background: var(--er-amarillo); padding: 10px; cursor: pointer; box-shadow: 3px 3px 0 var(--er-tinta); }
.er-burger span { display: block; height: 3px; background: var(--er-tinta); border-radius: 2px; margin: 4px 0; transition: transform .25s, opacity .25s; }
.er-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.er-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.er-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Manchas de pintura animadas ---------- */
.er-manchas { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.er-manchas i { position: absolute; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; filter: blur(2px); opacity: .9; animation: er-flotar 18s ease-in-out infinite alternate; }
.er-manchas i:nth-child(1) { width: 420px; height: 380px; background: var(--er-amarillo); top: -120px; left: -120px; }
.er-manchas i:nth-child(2) { width: 300px; height: 320px; background: var(--er-cian); bottom: -90px; left: 32%; animation-delay: -4s; opacity: .55; }
.er-manchas i:nth-child(3) { width: 260px; height: 240px; background: var(--er-magenta); top: 12%; right: -80px; animation-delay: -8s; opacity: .5; }
.er-manchas i:nth-child(4) { width: 140px; height: 150px; background: var(--er-verde); top: 55%; left: 8%; animation-delay: -2s; opacity: .7; }
.er-manchas i:nth-child(5) { width: 110px; height: 100px; background: var(--er-violeta); top: 8%; left: 46%; animation-delay: -11s; opacity: .55; }
.er-manchas--suave i { opacity: .28 !important; }
@keyframes er-flotar {
	0% { transform: translate(0, 0) rotate(0) scale(1); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
	50% { transform: translate(30px, -20px) rotate(25deg) scale(1.06); border-radius: 58% 42% 38% 62% / 55% 61% 39% 45%; }
	100% { transform: translate(-20px, 25px) rotate(-15deg) scale(.96); border-radius: 37% 63% 51% 49% / 63% 35% 65% 37%; }
}

/* ---------- Portada ---------- */
.er-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); }
.er-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.er-hero__hola { font: 700 clamp(30px, 3.4vw, 42px)/1 var(--er-mano); color: var(--er-violeta); margin: 0 0 6px; transform: rotate(-3deg); display: inline-block; }
.er-hero__nombre { font-size: clamp(40px, 5.8vw, 80px); line-height: .92; margin: 0 0 22px; letter-spacing: -.035em; }
.er-palabra { display: inline-block; white-space: nowrap; margin-right: .18em; }
.er-letra {
	display: inline-block; color: var(--c);
	-webkit-text-stroke: 2px var(--er-tinta); paint-order: stroke fill;
	text-shadow: 4px 4px 0 var(--er-tinta);
	animation: er-letra-entra .7s cubic-bezier(.2, 1.6, .4, 1) both;
	animation-delay: calc(var(--i) * 45ms + .1s);
}
.er-letra:hover { animation: er-salto .5s ease; }
@keyframes er-letra-entra { from { opacity: 0; transform: translateY(60px) rotate(-18deg) scale(.4); } to { opacity: 1; transform: none; } }
@keyframes er-salto { 50% { transform: translateY(-14px) rotate(-6deg); } }
.er-hero__oficio { font: 800 clamp(17px, 1.7vw, 21px)/1.3 var(--er-titulo); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.er-hero__oficio span { color: var(--er-magenta); display: block; }
.er-hero__bajada { font-size: clamp(18px, 1.6vw, 21px); max-width: 34em; color: var(--er-tinta-2); }
.er-hero__bts { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.er-hero__tel { font-weight: 700; }
.er-hero__tel a { color: var(--er-magenta); text-decoration-thickness: 3px; text-underline-offset: 4px; }

.er-hero__lienzo { position: relative; padding: 24px 24px 40px; }
.er-caballete {
	position: relative; border: 4px solid var(--er-tinta); border-radius: 10px; background: #fff; padding: 14px;
	box-shadow: 14px 14px 0 var(--er-violeta), 14px 14px 0 4px var(--er-tinta); transform: rotate(2.5deg);
	animation: er-cuadro 1s .3s cubic-bezier(.2, 1.4, .4, 1) both;
}
.er-caballete img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
@keyframes er-cuadro { from { opacity: 0; transform: rotate(14deg) translateY(60px); } to { opacity: 1; transform: rotate(2.5deg); } }
.er-sticker {
	position: absolute; font: 700 30px/1 var(--er-mano); padding: 8px 18px 10px; border: 2.5px solid var(--er-tinta);
	border-radius: 999px; box-shadow: 3px 3px 0 var(--er-tinta); z-index: 2; animation: er-flota-sticker 4s ease-in-out infinite alternate;
}
.er-sticker--a { top: 4%; left: -6%; background: var(--er-amarillo); transform: rotate(-8deg); }
.er-sticker--b { top: 44%; right: -4%; background: var(--er-cian); transform: rotate(7deg); animation-delay: -1.5s; }
.er-sticker--c { bottom: 6%; left: 2%; background: var(--er-verde); transform: rotate(-4deg); animation-delay: -3s; }
@keyframes er-flota-sticker { to { translate: 0 -10px; } }
.er-paleta { position: absolute; width: 120px; right: -10px; bottom: -6px; z-index: 3; transform: rotate(-14deg); filter: drop-shadow(3px 3px 0 var(--er-tinta)); }

/* Cinta de palabras */
.er-cinta { background: var(--er-tinta); color: #fff; overflow: hidden; border-block: 3px solid var(--er-tinta); transform: rotate(-1.2deg); margin: -10px -20px 0; position: relative; z-index: 2; }
.er-cinta__in { display: flex; gap: 26px; width: max-content; padding: 16px 0; animation: er-cinta 30s linear infinite; align-items: center; }
.er-cinta span { font: 800 clamp(22px, 2.6vw, 32px)/1 var(--er-titulo); text-transform: uppercase; color: var(--c); }
.er-cinta b { color: #fff; font-size: 24px; }
@keyframes er-cinta { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.er-sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.er-sec__cab { text-align: center; max-width: 760px; margin: 0 auto clamp(34px, 5vw, 56px); }
.er-sec__tit { font-size: clamp(36px, 5.2vw, 66px); }
.er-sec__bajada { font-size: 19px; color: var(--er-tinta-2); }
.er-ceja {
	display: inline-block; font: 700 26px/1 var(--er-mano); padding: 6px 18px 9px; border-radius: 999px;
	background: var(--c, var(--er-magenta)); color: var(--c-txt, #fff); border: 2.5px solid var(--er-tinta);
	transform: rotate(-3deg); margin-bottom: 16px; box-shadow: 3px 3px 0 var(--er-tinta);
}
.er-ceja--claro { background: #fff; color: var(--er-tinta); }
.er-ceja--tinta { background: var(--er-tinta); color: #fff; }
.er-subrayado { font-style: normal; position: relative; white-space: nowrap; z-index: 0; }
.er-subrayado::after {
	content: ""; position: absolute; left: -4%; right: -4%; bottom: .02em; height: .38em; z-index: -1;
	background: var(--er-amarillo); border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%; transform: rotate(-1.5deg);
}
.er-subrayado--cian::after { background: var(--er-cian); }

.er-pincelada { display: block; width: 100%; height: clamp(40px, 6vw, 90px); position: absolute; left: 0; bottom: -1px; z-index: 1; }
.er-pincelada--arriba { top: -1px; bottom: auto; transform: scaleY(-1); }
/* Pinceladas que salen de la sección hacia la vecina */
.er-pincelada--sale-arriba { top: auto; bottom: calc(100% - 1px); transform: none; }
.er-pincelada--sale-abajo { bottom: auto; top: calc(100% - 1px); transform: scaleY(-1); }
.er-sec--sobre, .er-sec--presupuesto { z-index: 2; }
.er-sec--sobre .er-sec__tit { font-size: clamp(32px, 3.8vw, 50px); }

/* ---------- Galería de obras ---------- */
.er-filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.er-filtro {
	font: 700 16px/1 var(--er-texto); padding: 11px 20px; border-radius: 999px; cursor: pointer;
	border: 2.5px solid var(--er-tinta); background: #fff; color: var(--er-tinta); transition: all .2s;
}
.er-filtro:hover, .er-filtro.is-activo { background: var(--c); color: var(--c-txt); box-shadow: 3px 3px 0 var(--er-tinta); transform: translate(-1px, -1px); }
.er-obras { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(22px, 3vw, 36px); }
.er-obra { position: relative; transition: opacity .3s, transform .3s; }
.er-obra.is-oculta { display: none; }
.er-obra__marco {
	display: block; position: relative; background: var(--c); padding: 14px; border: 3px solid var(--er-tinta);
	border-radius: var(--er-radio); box-shadow: var(--er-sombra); transition: transform .25s, box-shadow .25s; overflow: hidden;
}
.er-obra:nth-child(3n+1) .er-obra__marco { transform: rotate(-1.4deg); }
.er-obra:nth-child(3n+2) .er-obra__marco { transform: rotate(1deg); }
.er-obra:nth-child(3n) .er-obra__marco { transform: rotate(-.6deg); }
.er-obra__marco:hover { transform: rotate(0) translate(-3px, -3px) !important; box-shadow: 10px 10px 0 var(--er-tinta); }
.er-obra__marco img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; border: 2px solid var(--er-tinta); transition: transform .5s; }
.er-obra__marco:hover img { transform: scale(1.04); }
.er-obra__muestra {
	position: absolute; left: 24px; bottom: 24px; font: 700 12px/1 var(--er-texto); letter-spacing: .05em; text-transform: uppercase;
	background: rgba(26, 16, 51, .82); color: #fff; padding: 7px 10px; border-radius: 999px;
}
.er-obra__info { padding: 18px 6px 0; }
.er-obra__tipo { display: inline-block; font: 700 22px/1 var(--er-mano); color: var(--er-tinta); background: var(--c); padding: 3px 12px 5px; border-radius: 8px; margin-bottom: 8px; }
.er-obra__tit { font-size: 24px; margin: 0 0 4px; }
.er-obra__tit a { text-decoration: none; }
.er-obra__tit a:hover { color: var(--er-magenta); }
.er-obra__meta { font-size: 15px; color: var(--er-tinta-2); margin: 0; }
.er-vacio { text-align: center; font: 700 28px/1.2 var(--er-mano); }

/* ---------- Sobre ella ---------- */
.er-sec--sobre { background: var(--er-cian); padding-block: clamp(70px, 9vw, 120px); }
.er-sobre { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.er-sobre__foto { position: relative; }
.er-sobre__foto img {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 4px solid var(--er-tinta);
	border-radius: 48% 52% 46% 54% / 38% 40% 60% 62%; box-shadow: 12px 12px 0 var(--er-amarillo), 12px 12px 0 4px var(--er-tinta);
}
.er-sobre__firma { position: absolute; right: -6px; bottom: 8%; font: 700 64px/1 var(--er-mano); color: var(--er-magenta); transform: rotate(-10deg); text-shadow: 3px 3px 0 #fff; }
.er-sobre__txt p { font-size: 19px; }
.er-datos { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.er-datos li { background: #fff; border: 2.5px solid var(--er-tinta); border-radius: 16px; padding: 12px 18px; box-shadow: 4px 4px 0 var(--er-tinta); display: flex; flex-direction: column; line-height: 1.2; }
.er-datos b { font: 800 26px/1.1 var(--er-titulo); color: var(--er-violeta); }
.er-datos li:nth-child(2) b { color: var(--er-magenta); }
.er-datos li:nth-child(3) b { color: var(--er-naranja); }
.er-datos span { font-size: 15px; }

/* ---------- Frase ---------- */
.er-cita { background: var(--er-violeta); color: #fff; padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.er-cita::before, .er-cita::after { content: ""; position: absolute; border-radius: 50%; }
.er-cita::before { width: 340px; height: 340px; background: var(--er-magenta); left: -120px; top: -140px; opacity: .65; }
.er-cita::after { width: 220px; height: 220px; background: var(--er-amarillo); right: -60px; bottom: -90px; opacity: .8; }
.er-cita blockquote { margin: 0 auto; max-width: 940px; text-align: center; position: relative; z-index: 1; }
.er-cita blockquote::before { content: "“"; display: block; font: 800 160px/.6 var(--er-titulo); color: var(--er-amarillo); margin-bottom: 10px; }
.er-cita p { font: 800 clamp(28px, 4vw, 50px)/1.15 var(--er-titulo); }
.er-cita cite { font: 700 30px/1.1 var(--er-mano); font-style: normal; color: var(--er-amarillo); }

/* ---------- Historia ---------- */
.er-linea { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; position: relative; }
.er-linea::before {
	content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 8px; margin-left: -4px; border-radius: 8px;
	background: linear-gradient(var(--er-magenta), var(--er-naranja), var(--er-amarillo), var(--er-verde), var(--er-cian), var(--er-violeta));
}
.er-linea__item { position: relative; width: 50%; padding: 0 46px 40px 0; }
.er-linea__item:nth-child(even) { margin-left: 50%; padding: 0 0 40px 46px; }
.er-linea__item::after {
	content: ""; position: absolute; top: 18px; right: -15px; width: 30px; height: 30px; border-radius: 50%;
	background: var(--c); border: 4px solid var(--er-tinta); z-index: 1;
}
.er-linea__item:nth-child(even)::after { right: auto; left: -15px; }
.er-linea__anio {
	display: inline-block; font: 800 22px/1 var(--er-titulo); background: var(--c); color: var(--c-txt);
	padding: 9px 16px; border-radius: 12px; border: 2.5px solid var(--er-tinta); margin-bottom: -6px; position: relative; z-index: 1;
	transform: rotate(-2deg);
}
.er-linea__caja { background: #fff; border: 3px solid var(--er-tinta); border-radius: var(--er-radio); padding: 24px 24px 14px; box-shadow: 6px 6px 0 var(--c); }
.er-linea__caja h3 { font-size: 24px; }
.er-linea__caja p { font-size: 17px; color: var(--er-tinta-2); }
.er-linea__item.er-revelar { opacity: 0; transform: translateY(40px); transition: opacity .6s, transform .6s; }
.er-linea__item.er-revelar.is-visible { opacity: 1; transform: none; }

/* ---------- Encargos ---------- */
.er-sec--servicios { background: #fff; border-block: 3px solid var(--er-tinta); }
.er-servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.er-servicio {
	border: 3px solid var(--er-tinta); border-radius: var(--er-radio); padding: 28px 24px; box-shadow: var(--er-sombra);
	display: flex; flex-direction: column; transition: transform .25s;
}
.er-servicio:nth-child(odd) { transform: rotate(-1deg); }
.er-servicio:nth-child(even) { transform: rotate(1deg); }
.er-servicio:hover { transform: rotate(0) translateY(-6px); }
.er-servicio svg { width: 52px; height: 52px; margin-bottom: 14px; }
.er-servicio h3 { font-size: 23px; overflow-wrap: break-word; hyphens: auto; }
.er-servicio p { font-size: 16px; flex: 1; }
.er-servicio--otra { background: var(--er-tinta); color: #fff; box-shadow: 6px 6px 0 var(--er-magenta); }
.er-servicio__mano { font: 700 32px/1 var(--er-mano); color: var(--er-amarillo); margin-bottom: 10px; flex: 0 !important; }
.er-servicio--otra a { display: inline-flex; gap: 8px; align-items: center; color: var(--er-wa); }
.er-servicio a { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Presupuesto ---------- */
.er-sec--presupuesto { background: var(--er-amarillo); padding-block: clamp(70px, 9vw, 120px); }
.er-pres { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.er-pres__txt p { font-size: 20px; }
.er-pres__tel {
	display: inline-flex; align-items: center; gap: 16px; margin-top: 12px; padding: 16px 26px 16px 20px; background: var(--er-tinta); color: #fff;
	border-radius: 24px; text-decoration: none; box-shadow: 6px 6px 0 var(--er-magenta); transition: transform .2s;
}
.er-pres__tel:hover { transform: translate(-2px, -2px) rotate(-1deg); }
.er-pres__tel svg { color: var(--er-wa); flex-shrink: 0; }
.er-pres__tel span { font: 800 clamp(26px, 2.8vw, 36px)/1 var(--er-titulo); display: flex; flex-direction: column; white-space: nowrap; }
.er-pres__tel small { font: 500 14px/1.4 var(--er-texto); text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.er-form { background: #fff; border: 3px solid var(--er-tinta); border-radius: 28px; padding: clamp(22px, 3vw, 36px); box-shadow: 10px 10px 0 var(--er-tinta); }
.er-form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.er-form input, .er-form select, .er-form textarea {
	display: block; width: 100%; margin-top: 6px; font: 400 17px/1.4 var(--er-texto); color: var(--er-tinta);
	padding: 12px 14px; border: 2.5px solid var(--er-tinta); border-radius: 14px; background: var(--er-papel);
}
.er-form input:focus, .er-form select:focus, .er-form textarea:focus { outline: none; border-color: var(--er-violeta); box-shadow: 0 0 0 4px rgba(131, 56, 236, .2); background: #fff; }
.er-form__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.er-form__nota { font-size: 14px; color: var(--er-tinta-2); text-align: center; margin: 12px 0 0; }
.er-form__msj { margin: 10px 0 0; font-weight: 700; text-align: center; }
.er-form__msj.is-error { color: #c1121f; }
.er-form__msj.is-ok { color: #0a7d57; }

/* ---------- Prensa / novedades ---------- */
.er-notas { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.er-nota { background: #fff; border: 3px solid var(--er-tinta); border-radius: var(--er-radio); overflow: hidden; box-shadow: 6px 6px 0 var(--c); transition: transform .25s; display: flex; flex-direction: column; }
.er-nota:hover { transform: translateY(-5px); }
.er-nota__img { display: block; background: var(--c); border-bottom: 3px solid var(--er-tinta); }
.er-nota__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.er-nota__txt { padding: 20px 22px 8px; }
.er-nota time { display: inline-block; font: 700 22px/1 var(--er-mano); color: var(--er-tinta); background: var(--c); padding: 3px 10px 5px; border-radius: 8px; margin-bottom: 10px; }
.er-nota h2, .er-nota h3 { font-size: 23px; }
.er-nota h2 a, .er-nota h3 a { text-decoration: none; }
.er-nota h2 a:hover, .er-nota h3 a:hover { color: var(--er-magenta); }
.er-nota p { font-size: 16px; color: var(--er-tinta-2); }
.er-paginas { margin-top: 40px; text-align: center; }
.er-paginas .page-numbers { display: inline-block; padding: 8px 14px; border: 2.5px solid var(--er-tinta); border-radius: 10px; margin: 3px; text-decoration: none; font-weight: 700; background: #fff; }
.er-paginas .current { background: var(--er-magenta); color: #fff; }

/* ---------- Cabeceras internas ---------- */
.er-cabecera { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 100px) 0 clamp(90px, 10vw, 130px); text-align: center; }
.er-cabecera__tit { font-size: clamp(46px, 7vw, 92px); text-shadow: 4px 4px 0 var(--er-tinta); -webkit-text-stroke: 2px var(--er-tinta); paint-order: stroke fill; }
.er-cabecera.er-fondo1 .er-cabecera__tit, .er-cabecera.er-fondo2 .er-cabecera__tit, .er-cabecera.er-fondo4 .er-cabecera__tit { color: #fff; }
.er-cabecera__tit--nota { font-size: clamp(34px, 5vw, 58px); }
.er-cabecera p { font-size: 19px; }
.er-404 .er-cabecera__tit { -webkit-text-stroke: 0; text-shadow: none; font-size: clamp(80px, 16vw, 200px); }

/* ---------- Ficha de obra ---------- */
.er-ficha { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0; }
.er-ficha__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.er-ficha__img { margin: 0; position: sticky; top: 100px; }
.er-ficha__img a { display: block; background: var(--er-amarillo); padding: 16px; border: 4px solid var(--er-tinta); border-radius: var(--er-radio); box-shadow: 12px 12px 0 var(--er-magenta), 12px 12px 0 4px var(--er-tinta); }
.er-ficha__img img { width: 100%; border-radius: 10px; border: 2px solid var(--er-tinta); }
.er-ficha__img .er-obra__muestra { position: static; display: inline-block; margin-top: 22px; }
.er-volver { font-weight: 700; text-decoration: none; display: inline-block; margin-bottom: 14px; }
.er-volver:hover { color: var(--er-magenta); }
.er-ficha__tipos { display: flex; gap: 8px; flex-wrap: wrap; }
.er-chip { font: 700 22px/1 var(--er-mano); padding: 5px 14px 7px; border-radius: 999px; text-decoration: none; border: 2px solid var(--er-tinta); }
.er-ficha__tit { font-size: clamp(38px, 5vw, 64px); }
.er-ficha__datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 26px; }
.er-ficha__datos div { background: #fff; border: 2.5px solid var(--er-tinta); border-radius: 14px; padding: 10px 14px; }
.er-ficha__datos dt { font: 700 13px/1.2 var(--er-texto); text-transform: uppercase; letter-spacing: .06em; color: var(--er-violeta); }
.er-ficha__datos dd { margin: 4px 0 0; font-weight: 500; line-height: 1.35; }
.er-ficha__bts { margin: 26px 0; }
.er-ficha__nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 3px dashed var(--er-tinta); }
.er-ficha__nav a { font: 800 19px/1.2 var(--er-titulo); text-decoration: none; }
.er-ficha__nav a:hover { color: var(--er-magenta); }

/* Contenido de notas y obras */
.er-contenido { font-size: 19px; }
.er-contenido a { color: var(--er-violeta); font-weight: 700; text-decoration-thickness: 2px; }
.er-contenido blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 8px solid var(--er-magenta); background: #fff; border-radius: 0 16px 16px 0; font: 700 22px/1.4 var(--er-texto); }
.er-contenido img { border-radius: 14px; border: 3px solid var(--er-tinta); }
.er-articulo { padding-bottom: 70px; }
.er-articulo__img { margin: -50px 0 34px; position: relative; z-index: 2; }
.er-articulo__img img { width: 100%; border: 4px solid var(--er-tinta); border-radius: var(--er-radio); box-shadow: 10px 10px 0 var(--er-amarillo), 10px 10px 0 4px var(--er-tinta); }

/* Compartir */
.er-compartir { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 30px 0; padding: 16px 18px; background: #fff; border: 2.5px dashed var(--er-tinta); border-radius: 18px; }
.er-compartir__tit { font: 700 26px/1 var(--er-mano); margin-right: 6px; }
.er-comp { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; border: 2.5px solid var(--er-tinta); cursor: pointer; transition: transform .2s; box-shadow: 2px 2px 0 var(--er-tinta); }
.er-comp:hover { transform: translateY(-3px) rotate(-8deg); }
.er-comp--whatsapp { background: #25d366; }
.er-comp--facebook { background: #1877f2; }
.er-comp--x { background: #000; }
.er-comp--telegram { background: #229ed9; }
.er-comp--link { background: var(--er-amarillo); color: var(--er-tinta); }
.er-comp--link.is-copiado { background: var(--er-verde); }

/* ---------- Pie ---------- */
.er-footer { background: var(--er-tinta); color: #fff; }
.er-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
.er-footer p { margin: 0 0 6px; color: rgba(255, 255, 255, .82); }
.er-footer__firma { font: 700 64px/1 var(--er-mano) !important; color: var(--er-amarillo) !important; transform: rotate(-4deg); display: inline-block; }
.er-footer__nombre { font: 800 22px/1.2 var(--er-titulo); color: #fff !important; }
.er-footer__tit { font: 800 15px/1.3 var(--er-titulo); text-transform: uppercase; letter-spacing: .08em; color: var(--er-cian) !important; margin-bottom: 14px !important; }
.er-footer__tel { display: inline-flex; align-items: center; gap: 10px; font: 800 28px/1 var(--er-titulo); color: #fff; text-decoration: none; }
.er-footer__tel svg { color: var(--er-wa); }
.er-footer a { color: #fff; }
.er-redes { display: flex; flex-wrap: wrap; gap: 10px; }
.er-red { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; border: 2px solid #fff; }
.er-red--facebook { background: #1877f2; }
.er-red--instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.er-footer__legal { border-top: 1px solid rgba(255, 255, 255, .15); padding: 18px 0; font-size: 14px; color: rgba(255, 255, 255, .65); }
.er-footer__credito { padding: 0 0 22px; font-size: 14px; color: rgba(255, 255, 255, .65); }
.er-footer__credito a { color: var(--er-amarillo); text-decoration: none; }

/* WhatsApp flotante */
.er-wa-flotante {
	position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
	display: grid; place-items: center; background: var(--er-wa); color: #fff; border: 3px solid var(--er-tinta);
	box-shadow: 4px 4px 0 var(--er-tinta); animation: er-latido 2.4s infinite; transition: transform .2s;
}
.er-wa-flotante:hover { transform: scale(1.08) rotate(-8deg); }

/* Visor de obras */
.er-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(26, 16, 51, .94); display: flex; align-items: center; justify-content: center; padding: 20px 70px; }
.er-lightbox[hidden] { display: none; }
.er-lightbox figure { margin: 0; max-width: 1000px; width: 100%; text-align: center; animation: er-zoom .3s ease; }
.er-lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border: 6px solid #fff; border-radius: 10px; }
.er-lightbox figcaption { color: #fff; margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.er-lightbox figcaption strong { font: 800 26px/1.2 var(--er-titulo); }
.er-lightbox figcaption span { opacity: .8; }
.er-lightbox__cerrar, .er-lightbox__nav { position: absolute; background: var(--er-amarillo); border: 3px solid var(--er-tinta); color: var(--er-tinta); width: 52px; height: 52px; border-radius: 50%; font: 700 32px/1 var(--er-texto); cursor: pointer; display: grid; place-items: center; }
.er-lightbox__cerrar { top: 18px; right: 18px; background: var(--er-magenta); color: #fff; }
.er-lightbox__ant { left: 12px; top: 50%; translate: 0 -50%; }
.er-lightbox__sig { right: 12px; top: 50%; translate: 0 -50%; }
@keyframes er-zoom { from { opacity: 0; transform: scale(.92); } }

/* ---------- Celular y tablet ---------- */
@media (max-width: 960px) {
	.er-burger { display: block; }
	.er-nav {
		position: fixed; inset: 84px 0 auto 0; background: var(--er-papel); border-bottom: 3px solid var(--er-tinta);
		padding: 10px 16px 20px; transform: translateY(-120%); transition: transform .3s; z-index: 40; margin: 0;
	}
	.er-nav:not(.is-abierto) { visibility: hidden; transition: transform .3s, visibility 0s .3s; }
	.er-nav.is-abierto { transform: none; visibility: visible; transition: transform .3s; }
	.er-nav ul { flex-direction: column; }
	.er-nav a { font-size: 22px; padding: 12px 16px; }
	.er-hero__grid, .er-sobre, .er-pres, .er-ficha__grid { grid-template-columns: 1fr; }
	.er-hero__lienzo { max-width: 460px; margin: 10px auto 0; width: 100%; }
	.er-ficha__img { position: static; }
	.er-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.er-linea::before { left: 15px; }
	.er-linea__item, .er-linea__item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 32px 52px; }
	.er-linea__item::after, .er-linea__item:nth-child(even)::after { left: 0; right: auto; }
}
@media (max-width: 600px) {
	body { font-size: 17px; }
	.er-hero__nombre { font-size: 12vw; }
	.er-servicios { grid-template-columns: 1fr; }
	.er-header__in { min-height: 68px; gap: 10px; }
	.er-nav { inset-block-start: 76px; }
	.er-marca__txt { display: none; }
	.er-marca__firma { font-size: 32px; }
	.er-header__acc { margin-left: auto; }
	.er-letra { -webkit-text-stroke-width: 1.5px; text-shadow: 3px 3px 0 var(--er-tinta); }
	.er-hero__bts .er-btn { width: 100%; }
	.er-sticker { font-size: 24px; }
	.er-sticker--a { left: 0; }
	.er-sticker--b { right: 0; }
	.er-form__fila { grid-template-columns: 1fr; gap: 0; }
	.er-pres__tel { width: 100%; justify-content: center; }
	.er-obras { grid-template-columns: 1fr; }
	.er-lightbox { padding: 70px 12px 80px; }
	.er-lightbox__ant, .er-lightbox__sig { top: auto; bottom: 14px; translate: none; }
	.er-lightbox__ant { left: calc(50% - 64px); }
	.er-lightbox__sig { right: calc(50% - 64px); }
	.er-wa-flotante { width: 56px; height: 56px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* ==========================================================
   Portada con colores moderados, en la gama de su pintura
   (azules, malvas y rosas viejos)
   ========================================================== */
.er-hero {
	--h0: #b8607a; /* rosa viejo */
	--h1: #c99a4e; /* ocre suave */
	--h2: #4f7ca8; /* azul */
	--h3: #7d64a6; /* lavanda */
	--h4: #5f9aa6; /* azul verdoso */
	--h5: #9a6c9e; /* malva */
	background: linear-gradient(180deg, #faf6f4 0%, #f1ecf3 100%);
}
.er-hero .er-c0 { --c: var(--h0); }
.er-hero .er-c1 { --c: var(--h1); }
.er-hero .er-c2 { --c: var(--h2); }
.er-hero .er-c3 { --c: var(--h3); }
.er-hero .er-c4 { --c: var(--h4); }
.er-hero .er-c5 { --c: var(--h5); }
.er-hero .er-letra { -webkit-text-stroke: 0; text-shadow: 3px 3px 0 rgba(40, 30, 70, .16); }
.er-hero__hola { color: var(--h3); }
.er-hero__oficio span { color: var(--h0); }
.er-hero__tel a { color: var(--h0); }
.er-hero .er-btn--magenta { background: var(--h0); }
.er-hero .er-manchas i { filter: blur(40px); }
.er-hero .er-manchas i:nth-child(1) { background: #d9cfe8; opacity: .8; }
.er-hero .er-manchas i:nth-child(2) { background: #c4d6e6; opacity: .7; }
.er-hero .er-manchas i:nth-child(3) { background: #ecd0da; opacity: .7; }
.er-hero .er-manchas i:nth-child(4) { background: #cfe0e2; opacity: .7; }
.er-hero .er-manchas i:nth-child(5) { background: #e6d9ea; opacity: .7; }
.er-hero .er-caballete { box-shadow: 12px 12px 0 #d9cfe8, 12px 12px 0 3px var(--er-tinta); background: #fffdfb; padding: 12px; margin: 0; }
.er-hero .er-caballete a { display: block; }
.er-cartela { padding: 12px 6px 14px; display: flex; flex-direction: column; gap: 2px; }
.er-cartela strong { font: 800 17px/1.2 var(--er-titulo); }
.er-cartela span { font-size: 14px; color: var(--er-tinta-2); line-height: 1.35; }
.er-hero .er-sticker { font-size: 26px; box-shadow: 2px 2px 0 var(--er-tinta); border-width: 2px; }
.er-hero .er-sticker--a { background: #ecd0da; }
.er-hero .er-sticker--b { background: #c4d6e6; top: 30%; }
.er-hero .er-sticker--c { background: #d9cfe8; top: 56%; bottom: auto; left: -8%; }
.er-hero .er-paleta { filter: drop-shadow(2px 2px 0 rgba(26, 16, 51, .5)); }
/* Encabezado en la misma gama que la portada */
.er-marca__firma { background: #b8607a; }
.er-burger { background: #ecd0da; }

/* Momentos: fotos tipo polaroid */
.er-sec--momentos { background: #fff; border-top: 3px solid var(--er-tinta); }
.er-polaroids { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 4vw, 48px); }
.er-polaroid { margin: 0; background: #fff; padding: 14px 14px 0; border: 2px solid var(--er-tinta); box-shadow: 8px 8px 0 var(--er-tinta); width: min(100%, 460px); transition: transform .3s; }
.er-polaroid:nth-child(odd) { transform: rotate(-2deg); }
.er-polaroid:nth-child(even) { transform: rotate(2deg); }
.er-polaroid:hover { transform: rotate(0) scale(1.02); }
.er-polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 15%; }
.er-polaroid figcaption { font: 700 26px/1.2 var(--er-mano); text-align: center; padding: 12px 6px 16px; }
.er-credito { font-size: 13px; color: var(--er-tinta-2); margin-top: 18px; }
.er-contenido .er-tapa { max-width: 360px; margin: 24px 0; box-shadow: 8px 8px 0 var(--er-tinta); }
