/* ==========================================================
   Vertical Prime S.L. — estilos
   ========================================================== */

:root
{
	--ink: #14181d;
	--graphite: #1f262e;
	--graphite-2: #2a323c;
	--steel: #5b6573;
	--mist: #c9ced6;
	--line: #e4e2dd;
	--bg: #f6f4f0;
	--white: #ffffff;
	--orange: #f26a1b;
	--orange-dark: #c9500b;
	--orange-soft: #fdeee4;
	--whatsapp: #1fa855;

	--font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 10px;
	--shadow: 0 10px 30px rgba(20, 24, 29, 0.12);
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after
{
	box-sizing: border-box;
}

html
{
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
}

body
{
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img
{
	max-width: 100%;
	height: auto;
	display: block;
}

a
{
	color: inherit;
}

h1,
h2,
h3
{
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.005em;
	margin: 0 0 0.5em;
}

h1
{
	font-size: clamp(2.6rem, 6vw, 4.4rem);
	text-transform: uppercase;
}

h2
{
	font-size: clamp(2rem, 4vw, 3rem);
	text-transform: uppercase;
}

h3
{
	font-size: 1.5rem;
}

p
{
	margin: 0 0 1em;
}

.wrap
{
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.eyebrow
{
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--orange);
	margin-bottom: 0.8rem;
}

.lead
{
	font-size: 1.15rem;
	color: var(--steel);
	max-width: 62ch;
}

.section
{
	padding: clamp(64px, 9vw, 110px) 0;
}

.section-head
{
	max-width: 760px;
	margin-bottom: 44px;
}

.skip-link
{
	position: absolute;
	left: -9999px;
}

.skip-link:focus
{
	left: 16px;
	top: 16px;
	z-index: 100;
	background: var(--white);
	padding: 8px 14px;
}

/* ---------- botones ---------- */

.btn
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: 8px;
	border: 2px solid transparent;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s, border-color 0.2s;
	white-space: nowrap;
}

.btn:hover
{
	transform: translateY(-2px);
}

.btn svg
{
	width: 20px;
	height: 20px;
	flex: none;
}

.btn-primary
{
	background: var(--orange);
	color: var(--white);
}

.btn-primary:hover
{
	background: var(--orange-dark);
}

.btn-whatsapp
{
	background: var(--whatsapp);
	color: var(--white);
}

.btn-whatsapp:hover
{
	background: #178a45;
}

.btn-ghost
{
	border-color: rgba(255, 255, 255, 0.35);
	color: var(--white);
}

.btn-ghost:hover
{
	border-color: var(--white);
}

.btn-dark
{
	background: var(--ink);
	color: var(--white);
}

.btn-dark:hover
{
	background: var(--graphite-2);
}

/* ---------- cabecera ---------- */

.site-header
{
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(20, 24, 29, 0.96);
	backdrop-filter: blur(8px);
	color: var(--white);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner
{
	display: flex;
	align-items: center;
	gap: 24px;
	height: 72px;
}

.brand
{
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	margin-right: auto;
}

.brand-mark
{
	width: 46px;
	height: 46px;
	background: var(--white);
	border-radius: 10px;
	padding: 2px;
}

.brand-name
{
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.45rem;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}

.brand-name span
{
	color: var(--orange);
}

.brand-name small
{
	display: block;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.66rem;
	letter-spacing: 0.12em;
	color: var(--mist);
	margin-top: 3px;
}

.main-nav ul
{
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav a
{
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--mist);
	transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a[aria-current="page"]
{
	color: var(--white);
}

.header-phone
{
	font-weight: 700;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
}

.header-phone svg
{
	width: 18px;
	height: 18px;
	color: var(--orange);
}

.header-cta
{
	padding: 10px 18px;
}

@media (max-width: 1000px)
{
	.main-nav,
	.header-cta
	{
		display: none;
	}
}

@media (max-width: 520px)
{
	.header-phone span
	{
		display: none;
	}

	.brand-name
	{
		font-size: 1.2rem;
	}
}

/* ---------- portada ---------- */

.hero
{
	position: relative;
	background: var(--ink);
	color: var(--white);
	overflow: hidden;
}

.hero::before
{
	/* líneas verticales tipo cuerda */
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 120px);
	pointer-events: none;
}

.hero-inner
{
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	padding-top: clamp(48px, 7vw, 96px);
	padding-bottom: clamp(48px, 7vw, 96px);
}

.hero h1 em
{
	font-style: normal;
	color: var(--orange);
}

.hero .lead
{
	color: var(--mist);
}

.hero-actions
{
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 30px 0 34px;
}

.check-list
{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.check-list li
{
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.check-list li::before
{
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 3px;
	border-radius: 50%;
	background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.hero-photo
{
	position: relative;
	justify-self: end;
	width: 100%;
	max-width: 400px;
}

.hero-photo img,
.hero-photo video
{
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 30%;
	border-radius: var(--radius);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.hero-photo::before
{
	content: "";
	position: absolute;
	top: -18px;
	right: -18px;
	width: 60%;
	height: 60%;
	border: 3px solid var(--orange);
	border-radius: var(--radius);
	z-index: -1;
}

.hero-badge
{
	position: absolute;
	left: -28px;
	bottom: 28px;
	background: var(--white);
	color: var(--ink);
	border-radius: var(--radius);
	padding: 14px 18px;
	box-shadow: var(--shadow);
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 250px;
}

.hero-badge strong
{
	font-family: var(--font-head);
	font-size: 2.6rem;
	line-height: 1;
	color: var(--orange);
}

.hero-badge span
{
	font-size: 0.85rem;
	line-height: 1.3;
	font-weight: 600;
}

@media (max-width: 860px)
{
	.hero-inner
	{
		grid-template-columns: 1fr;
	}

	.hero-photo
	{
		justify-self: center;
		max-width: 380px;
	}

	.hero-badge
	{
		left: 12px;
	}
}

/* ---------- barra de confianza ---------- */

.trust-bar
{
	background: var(--orange);
	color: var(--white);
}

.trust-bar ul
{
	list-style: none;
	margin: 0;
	padding: 18px 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.trust-bar li
{
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.3;
}

.trust-bar svg
{
	width: 30px;
	height: 30px;
	flex: none;
}

@media (max-width: 860px)
{
	.trust-bar ul
	{
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- servicios ---------- */

.services-grid
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.service-card
{
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	border: 1px solid var(--line);
	transition: transform 0.25s, box-shadow 0.25s;
}

a.service-card:hover
{
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.service-card img
{
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.service-card .icon-tile
{
	aspect-ratio: 4 / 3;
	display: grid;
	place-items: center;
	background: var(--graphite);
	color: var(--orange);
}

.service-card .icon-tile svg
{
	width: 64px;
	height: 64px;
}

.service-body
{
	padding: 18px 20px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.service-body h3
{
	font-size: 1.45rem;
	margin-bottom: 6px;
}

.service-body p
{
	font-size: 0.93rem;
	color: var(--steel);
	margin-bottom: 14px;
}

.service-link
{
	margin-top: auto;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--orange-dark);
}

.service-card.featured
{
	grid-column: span 2;
	grid-row: span 2;
	background: var(--ink);
	color: var(--white);
	border: 0;
}

.service-card.featured img
{
	aspect-ratio: auto;
	flex: 1 1 0;
	min-height: 260px;
	object-position: center 30%;
}

.service-card.featured .service-body
{
	flex: none;
}

.service-card.featured .service-body p
{
	color: var(--mist);
}

.service-card.featured .service-link
{
	color: var(--orange);
}

.tag
{
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--orange);
	color: var(--white);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 4px;
}

@media (max-width: 1000px)
{
	.services-grid
	{
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px)
{
	.services-grid
	{
		grid-template-columns: 1fr;
	}

	.service-card.featured
	{
		grid-column: auto;
		grid-row: auto;
	}
}

/* ---------- galería en altura ---------- */

.gallery
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 420px;
	gap: 16px;
}

.gallery figure
{
	position: relative;
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--graphite);
}

.gallery figure.wide
{
	grid-column: span 2;
	grid-row: span 2;
}

.gallery img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery figcaption
{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 16px 12px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
	color: var(--white);
	font-weight: 600;
	font-size: 0.9rem;
}

@media (max-width: 760px)
{
	.gallery
	{
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 260px;
		gap: 10px;
	}
}

.prose-figure
{
	float: right;
	width: 260px;
	margin: 0 0 20px 28px;
}

.prose-figure img
{
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--radius);
}

.prose-figure figcaption
{
	font-size: 0.85rem;
	color: var(--steel);
	margin-top: 8px;
}

.prose h2
{
	clear: both;
}

@media (max-width: 600px)
{
	.prose-figure
	{
		float: none;
		width: 100%;
		margin: 0 0 20px;
	}
}

/* ---------- sin andamios ---------- */

.dark
{
	background: var(--graphite);
	color: var(--white);
}

.dark .lead
{
	color: var(--mist);
}

.split
{
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}

.split-photo img
{
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--radius);
}

.benefits
{
	display: grid;
	gap: 22px;
	margin-top: 30px;
}

.benefit
{
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 16px;
}

.benefit-icon
{
	width: 52px;
	height: 52px;
	border-radius: 10px;
	background: rgba(242, 106, 27, 0.15);
	color: var(--orange);
	display: grid;
	place-items: center;
}

.benefit-icon svg
{
	width: 28px;
	height: 28px;
}

.benefit h3
{
	font-size: 1.35rem;
	margin-bottom: 4px;
}

.benefit p
{
	color: var(--mist);
	margin: 0;
	font-size: 0.97rem;
}

@media (max-width: 860px)
{
	.split
	{
		grid-template-columns: 1fr;
	}

	.split-photo
	{
		max-width: 420px;
	}
}

/* ---------- pasos ---------- */

.steps
{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	counter-reset: paso;
}

.steps li
{
	position: relative;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 22px 24px;
	counter-increment: paso;
}

.steps li::before
{
	content: "0" counter(paso);
	display: block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 3rem;
	line-height: 1;
	color: var(--orange);
	margin-bottom: 12px;
}

.steps h3
{
	font-size: 1.35rem;
	margin-bottom: 6px;
}

.steps p
{
	font-size: 0.95rem;
	color: var(--steel);
	margin: 0;
}

@media (max-width: 1000px)
{
	.steps
	{
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px)
{
	.steps
	{
		grid-template-columns: 1fr;
	}
}

/* ---------- comunidades ---------- */

.band
{
	background: var(--white);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.two-col
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 6vw, 72px);
	align-items: start;
}

.panel
{
	background: var(--bg);
	border-left: 4px solid var(--orange);
	border-radius: 0 var(--radius) var(--radius) 0;
	padding: 26px 28px;
}

.panel .check-list li::before
{
	background-color: var(--ink);
}

@media (max-width: 860px)
{
	.two-col
	{
		grid-template-columns: 1fr;
	}
}

/* ---------- zonas ---------- */

.zones
{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.zones li
{
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 16px;
	font-weight: 500;
	font-size: 0.95rem;
}

.zones li.main
{
	background: var(--ink);
	color: var(--white);
	border-color: var(--ink);
}

/* ---------- preguntas frecuentes ---------- */

.faq
{
	max-width: 860px;
}

.faq details
{
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 12px;
}

.faq summary
{
	cursor: pointer;
	list-style: none;
	padding: 20px 56px 20px 22px;
	font-weight: 700;
	position: relative;
}

.faq summary::-webkit-details-marker
{
	display: none;
}

.faq summary::after
{
	content: "+";
	position: absolute;
	right: 22px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.6rem;
	font-weight: 400;
	color: var(--orange);
	transition: transform 0.2s;
}

.faq details[open] summary::after
{
	transform: translateY(-50%) rotate(45deg);
}

.faq details p
{
	padding: 0 22px 20px;
	margin: 0;
	color: var(--steel);
}

/* ---------- contacto ---------- */

.contact
{
	background: var(--ink);
	color: var(--white);
}

.contact-grid
{
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(32px, 6vw, 72px);
}

.contact .lead
{
	color: var(--mist);
}

.contact-ways
{
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.contact-ways a
{
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	overflow-wrap: anywhere;
}

.contact-ways .ic
{
	width: 48px;
	height: 48px;
	flex: none;
	border-radius: 10px;
	background: var(--graphite-2);
	display: grid;
	place-items: center;
	color: var(--orange);
}

.contact-ways .ic svg
{
	width: 24px;
	height: 24px;
}

.contact-ways small
{
	display: block;
	font-weight: 400;
	font-size: 0.85rem;
	color: var(--mist);
}

.quote-form
{
	background: var(--white);
	color: var(--ink);
	border-radius: var(--radius);
	padding: clamp(22px, 4vw, 36px);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.quote-form h3
{
	grid-column: 1 / -1;
	font-size: 1.8rem;
	margin: 0;
}

.field
{
	display: grid;
	gap: 6px;
}

.field.full
{
	grid-column: 1 / -1;
}

.field label
{
	font-weight: 600;
	font-size: 0.9rem;
}

.field input,
.field select,
.field textarea
{
	font: inherit;
	font-size: 1rem;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: 8px;
	background: var(--bg);
	color: var(--ink);
	width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus
{
	outline: none;
	border-color: var(--orange);
	background: var(--white);
}

.field textarea
{
	min-height: 110px;
	resize: vertical;
}

.form-note
{
	grid-column: 1 / -1;
	font-size: 0.85rem;
	color: var(--steel);
	margin: 0;
}

.quote-form .btn
{
	grid-column: 1 / -1;
}

@media (max-width: 860px)
{
	.contact-grid
	{
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px)
{
	.quote-form
	{
		grid-template-columns: 1fr;
	}
}

/* ---------- pie ---------- */

.site-footer
{
	background: #0d1014;
	color: var(--mist);
	font-size: 0.92rem;
	padding: 48px 0 110px;
}

.footer-grid
{
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 32px;
}

.site-footer h4
{
	color: var(--white);
	font-family: var(--font-head);
	font-size: 1.2rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 12px;
}

.site-footer ul
{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.site-footer a
{
	text-decoration: none;
}

.site-footer a:hover
{
	color: var(--white);
}

.footer-bottom
{
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	margin-top: 36px;
	padding-top: 20px;
	font-size: 0.82rem;
}

@media (min-width: 861px)
{
	.site-footer
	{
		padding-bottom: 48px;
	}
}

@media (max-width: 860px)
{
	.footer-grid
	{
		grid-template-columns: 1fr;
	}
}

/* ---------- barra fija móvil ---------- */

.mobile-bar
{
	display: none;
}

@media (max-width: 860px)
{
	.mobile-bar
	{
		display: grid;
		grid-template-columns: 1fr 1fr;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2);
	}

	.mobile-bar a
	{
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		padding: 16px 10px calc(16px + env(safe-area-inset-bottom));
		color: var(--white);
		font-weight: 700;
		text-decoration: none;
	}

	.mobile-bar svg
	{
		width: 22px;
		height: 22px;
	}

	.mobile-bar .call
	{
		background: var(--orange);
	}

	.mobile-bar .wa
	{
		background: var(--whatsapp);
	}
}

/* ---------- página de servicio ---------- */

.page-hero
{
	background: var(--ink);
	color: var(--white);
	padding: clamp(40px, 6vw, 72px) 0;
	position: relative;
	overflow: hidden;
}

.page-hero::before
{
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 120px);
}

.page-hero .wrap
{
	position: relative;
}

.page-hero h1
{
	font-size: clamp(2.4rem, 5.5vw, 4rem);
	max-width: 16ch;
}

.page-hero .lead
{
	color: var(--mist);
}

.breadcrumbs
{
	font-size: 0.85rem;
	color: var(--mist);
	margin-bottom: 18px;
}

.breadcrumbs ol
{
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.breadcrumbs li + li::before
{
	content: "›";
	margin-right: 8px;
	color: var(--orange);
}

.breadcrumbs a
{
	text-decoration: none;
}

.breadcrumbs a:hover
{
	color: var(--white);
}

.process-photos
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.process-photos figure
{
	margin: 0;
	position: relative;
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
}

.process-photos img
{
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.process-photos figcaption
{
	padding: 14px 18px 18px;
	font-size: 0.93rem;
	color: var(--steel);
}

.process-photos figcaption strong
{
	display: block;
	font-family: var(--font-head);
	font-size: 1.35rem;
	color: var(--ink);
	text-transform: uppercase;
}

.process-photos .tag.done
{
	background: var(--whatsapp);
}

.process-photos .tag.during
{
	background: var(--ink);
}

@media (max-width: 760px)
{
	.process-photos
	{
		grid-template-columns: 1fr;
		max-width: 440px;
	}
}

.content-grid
{
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

.prose h2
{
	font-size: clamp(1.8rem, 3.4vw, 2.4rem);
	margin-top: 1.6em;
}

.prose h2:first-child
{
	margin-top: 0;
}

.prose ul
{
	padding-left: 1.2em;
}

.prose li
{
	margin-bottom: 0.5em;
}

.prose li::marker
{
	color: var(--orange);
}

.note
{
	background: var(--orange-soft);
	border-left: 4px solid var(--orange);
	padding: 18px 22px;
	border-radius: 0 var(--radius) var(--radius) 0;
	font-size: 0.97rem;
}

.sidebar-card
{
	position: sticky;
	top: 96px;
	background: var(--ink);
	color: var(--white);
	border-radius: var(--radius);
	padding: 28px;
}

.sidebar-card h3
{
	font-size: 1.7rem;
	text-transform: uppercase;
}

.sidebar-card p
{
	color: var(--mist);
	font-size: 0.95rem;
}

.sidebar-card .btn
{
	width: 100%;
	margin-top: 10px;
}

.related
{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.related li
{
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 16px;
	font-weight: 500;
	font-size: 0.95rem;
}

@media (max-width: 960px)
{
	.content-grid
	{
		grid-template-columns: 1fr;
	}

	.sidebar-card
	{
		position: static;
	}
}

/* ---------- páginas legales ---------- */

.legal
{
	max-width: 780px;
}

.legal h2
{
	font-size: 1.7rem;
}

.form-note a,
.footer-bottom a
{
	text-decoration: underline;
}

/* ---------- antes / después y enlaces relacionados ---------- */

.before-after
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 24px 0 8px;
	clear: both;
}

.before-after figure
{
	position: relative;
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
}

.before-after img
{
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.before-after .tag.done
{
	background: var(--whatsapp);
}

.related a
{
	text-decoration: none;
	font-weight: 600;
}

.related li:hover
{
	border-color: var(--orange);
}

.prose ol
{
	padding-left: 1.4em;
}

.prose a:not(.btn)
{
	color: var(--orange-dark);
}

.service-card .service-link
{
	text-decoration: none;
}
