/* ==========================================================================
   SGM Pro — sistema de diseño
   Tinta (#0E1726) + Naranja SGM (#F76A0C) sobre crema cálida.
   ========================================================================== */

:root {
	--ink: #0e1726;
	--ink-2: #152238;
	--ink-3: #1e2d47;
	--orange: #f76a0c;
	--orange-600: #dd5a03;
	--orange-50: #fff3ea;
	--cream: #faf7f2;
	--sand: #f3eee6;
	--white: #fff;
	--text: #1b2434;
	--muted: #465062;
	--line: rgba(14, 23, 38, 0.1);
	--line-light: rgba(255, 255, 255, 0.12);
	--green: #2f8f5b;

	--font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--serif: "Instrument Serif", ui-serif, Georgia, serif;

	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgba(14, 23, 38, 0.06), 0 2px 8px rgba(14, 23, 38, 0.04);
	--shadow: 0 10px 30px -10px rgba(14, 23, 38, 0.18), 0 2px 6px rgba(14, 23, 38, 0.05);
	--shadow-lg: 0 30px 60px -20px rgba(14, 23, 38, 0.35);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 84px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }
.container--mid { max-width: calc(1040px + var(--gutter) * 2); }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.muted { color: var(--muted); }

/* ---------- Tipografía ---------- */
.accent {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--orange);
	padding-right: 0.04em;
}
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 18px;
	font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--orange);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow .dot { display: none; }
.eyebrow--light { color: #ffb27f; }
.eyebrow--green { color: #7ad3a0; }
.eyebrow--green::before { display: none; }
.eyebrow .icon { width: 16px; height: 16px; }

.section-title, .h2 { font-size: clamp(32px, 4.2vw, 52px); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }
.section-lead { font-size: 19px; color: var(--muted); max-width: 640px; }

.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.section-head .section-title { margin-bottom: 0.4em; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

.split-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.split-head .section-head { margin-bottom: 0; }
.split-head__aside p { color: var(--muted); font-size: 17px; }

/* ---------- Botones ---------- */
.btn {
	--bg: var(--orange); --fg: #fff; --bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 22px;
	border-radius: 999px;
	border: 1.5px solid var(--bd);
	background: var(--bg); color: var(--fg);
	font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -0.005em;
	cursor: pointer; white-space: nowrap;
	transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s, border-color 0.25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { box-shadow: 0 8px 24px -8px rgba(247, 106, 12, 0.6); }
.btn--primary:hover { --bg: var(--orange-600); transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(247, 106, 12, 0.7); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: rgba(14, 23, 38, 0.2); }
.btn--ghost:hover { --bd: var(--ink); --bg: var(--ink); --fg: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: var(--orange); --fg: #fff; }
.btn--glass { --bg: rgba(255, 255, 255, 0.08); --fg: #fff; --bd: rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); }
.btn--glass:hover { --bg: rgba(255, 255, 255, 0.16); --bd: rgba(255, 255, 255, 0.4); }
.btn--link { --bg: transparent; --fg: var(--ink); padding: 6px 0; border-radius: 0; border: 0; border-bottom: 2px solid var(--orange); }
.btn--link:hover { --fg: var(--orange); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); }
.link-arrow .icon { width: 18px; height: 18px; color: var(--orange); transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 12px; border-radius: 999px;
	font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
	background: var(--orange-50); color: var(--orange-600);
}
.chip--light { background: rgba(255, 255, 255, 0.14); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.2); }
.chip--orange { background: var(--orange); color: #fff; }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.ticks .icon { width: 18px; height: 18px; color: var(--orange); margin-top: 3px; stroke-width: 2.5; }
.ticks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }

/* ---------- Cabecera ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	color: #fff;
	transition: background 0.35s, box-shadow 0.35s, height 0.35s var(--ease), color 0.35s;
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; position: relative; flex-shrink: 0; }
.brand__logo { height: 46px; width: auto; transition: opacity 0.3s; }
.site-header .brand__logo--dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-scrolled { background: rgba(250, 247, 242, 0.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); height: 72px; }
.site-header.is-scrolled .brand__logo--light { opacity: 0; }
.site-header.is-scrolled .brand__logo--dark { opacity: 1; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list a {
	display: block; padding: 10px 14px; border-radius: 999px;
	font-size: 15px; font-weight: 600; opacity: 0.88;
	transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current-menu-parent > a, .nav__list .current_page_item > a { opacity: 1; background: rgba(255, 255, 255, 0.1); }
.is-scrolled .nav__list a:hover, .is-scrolled .nav__list .current-menu-item > a, .is-scrolled .nav__list .current_page_item > a, .is-scrolled .nav__list .current-menu-parent > a { background: rgba(14, 23, 38, 0.06); }
.nav__list .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; margin-bottom: 3px;
	border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: rotate(45deg);
}
.nav__list .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
	background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.25s var(--ease);
}
.nav__list .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { border-radius: 10px; padding: 10px 14px; opacity: 1; }
.nav__list .sub-menu a:hover { background: var(--sand); color: var(--orange-600); }
.nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; opacity: 0.9; }
.header-phone .icon { width: 18px; height: 18px; color: var(--orange); }
.header-phone:hover { opacity: 1; }
.site-header .btn { padding: 11px 20px; font-size: 14px; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; border-color: rgba(255, 255, 255, 0.3); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.is-scrolled .nav-toggle { border-color: var(--line); }
.nav-toggle__bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle__bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle__bars i:nth-child(3) { width: 65%; }
.nav-open .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars i:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, 0.86); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-lead { color: rgba(255, 255, 255, 0.8); }
.section--dark .eyebrow { color: #ffb27f; }
.section--dark .btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, 0.3); }

/* ---------- Héroe portada ---------- */
.hero {
	position: relative; overflow: hidden;
	background: radial-gradient(1200px 600px at 85% -10%, #24375a 0%, transparent 60%), var(--ink);
	color: rgba(255, 255, 255, 0.86);
	padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(72px, 9vw, 120px);
}
.hero__glow { position: absolute; width: 720px; height: 720px; left: -260px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 106, 12, 0.35), transparent 65%); filter: blur(10px); pointer-events: none; }
.hero__grid-bg {
	position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
	background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero__title { font-size: clamp(40px, 5.6vw, 76px); color: #fff; line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero__title .accent { color: var(--orange); font-size: 1.06em; }
.hero__text { font-size: clamp(17px, 1.5vw, 20px); max-width: 560px; margin-bottom: 36px; color: rgba(255, 255, 255, 0.86); }
.hero__stats { display: flex; gap: clamp(24px, 4vw, 48px); margin: 52px 0 0; padding-top: 32px; border-top: 1px solid var(--line-light); }
.hero__stats div { margin: 0; }
.hero__stats dt { font-size: clamp(30px, 3vw, 40px); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.hero__stats dd { margin: 8px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.8); }

.hero__visual { position: relative; }
.hero__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(14, 23, 38, 0.55)); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.float-card {
	position: absolute; z-index: 2;
	display: flex; align-items: center; gap: 14px;
	padding: 14px 18px 14px 14px; border-radius: 18px;
	background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: var(--shadow-lg);
	font-size: 14px; line-height: 1.3;
	animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 15px; }
.float-card small { color: var(--muted); font-size: 13px; }
.float-card--top { top: 32px; left: -36px; }
.float-card--bottom { bottom: 36px; right: -24px; animation-delay: -3s; }
.float-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); color: #fff; }
.float-card__img { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; }
.float-card__img img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Clientes ---------- */
.clients { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0; }
.clients__inner { display: flex; align-items: center; gap: 40px; }
.clients__label { margin: 0; flex-shrink: 0; max-width: 170px; font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.clients__marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.clients__track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.clients__track img { height: 48px; width: auto; filter: grayscale(1); opacity: 0.6; mix-blend-mode: multiply; transition: opacity 0.3s, filter 0.3s; }
.clients__track img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- Servicios ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
	position: relative; padding: 36px 32px; border-radius: var(--radius);
	background: #fff; border: 1px solid var(--line);
	transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
	overflow: hidden;
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.service-card__icon, .icon-card__icon, .feature-row__icon {
	width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
	background: var(--orange-50); color: var(--orange);
}
.service-card__icon .icon, .icon-card__icon .icon, .feature-row__icon .icon { width: 26px; height: 26px; }
.service-card__num { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: rgba(14, 23, 38, 0.15); }
.service-card__title { font-size: 22px; }
.service-card p { color: var(--muted); font-size: 16px; }

/* ---------- Por qué ---------- */
.why__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.why__media { position: relative; }
.why__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.why__badge {
	position: absolute; right: -24px; bottom: 40px;
	padding: 24px 28px; max-width: 220px; border-radius: var(--radius);
	background: var(--orange); color: #fff; box-shadow: var(--shadow-lg);
}
.why__badge strong { display: block; font-size: 56px; line-height: 1; letter-spacing: -0.04em; }
.why__badge span { font-size: 14px; font-weight: 600; line-height: 1.35; display: block; margin-top: 6px; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.reason { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line-light); }
.reason:last-child { border-bottom: 1px solid var(--line-light); }
.reason__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(247, 106, 12, 0.14); color: var(--orange); }
.reason h3 { font-size: 19px; margin-bottom: 4px; }
.reason p { margin: 0; font-size: 15.5px; color: rgba(255, 255, 255, 0.8); }

/* ---------- Método / pasos ---------- */
.method__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 60px); }
.method__head .section-head { margin-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; padding: 28px 26px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section--dark .step { background: var(--ink-2); border-color: var(--line-light); }
.section--dark .step p { color: rgba(255, 255, 255, 0.8); }
.step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.step__num { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--orange); }
.step__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--ink); }
.section--dark .step__icon { border-color: var(--line-light); color: #fff; }
.step__title { font-size: 19px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }
.steps::before { content: ""; position: absolute; top: 50px; left: 26px; right: 26px; height: 1px; background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 12px); opacity: 0.4; z-index: -1; }

/* ---------- Categorías ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-card__link { display: flex; flex-direction: column; height: 100%; }
.cat-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__icon { position: absolute; left: 18px; bottom: -22px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: #fff; box-shadow: 0 8px 20px -6px rgba(247, 106, 12, 0.6); z-index: 2; }
.cat-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 0; }
.cat-card__body { padding: 36px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.cat-card__title { font-size: 20px; margin-bottom: 8px; }
.cat-card__body p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.cat-card__body .ticks { margin: 0 0 20px; gap: 8px; }
.cat-card__body .ticks li { font-size: 14px; }
.cat-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.cat-card__more .icon { width: 17px; height: 17px; color: var(--orange); transition: transform 0.3s var(--ease); }
.cat-card:hover .cat-card__more .icon { transform: translate(3px, -3px); }
.cat-card__media .cat-card__icon { bottom: 16px; }

/* ---------- Catálogos (portada) ---------- */
.catalog-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.catalog-feature { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; isolation: isolate; }
.catalog-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -1; }
.catalog-feature:hover img { transform: scale(1.05); }
.catalog-feature__overlay {
	height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
	padding: clamp(24px, 3.5vw, 44px);
	background: linear-gradient(180deg, rgba(14, 23, 38, 0) 25%, rgba(14, 23, 38, 0.92));
	color: rgba(255, 255, 255, 0.8);
}
.catalog-feature h3 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 14px 0 8px; }
.catalog-feature p { max-width: 440px; font-size: 16px; margin-bottom: 22px; }

/* ---------- Sostenibilidad ---------- */
.eco-banner {
	display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
	padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg);
	background: radial-gradient(600px 300px at 0% 100%, rgba(122, 211, 160, 0.18), transparent 70%), #12352a;
	color: rgba(255, 255, 255, 0.86); overflow: hidden;
}
.eco-banner h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); }
.eco-banner .accent { color: #9be3b8; }
.eco-banner p { max-width: 480px; margin-bottom: 28px; }
.eco-banner__materials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; transform: rotate(-4deg); max-width: 400px; width: 100%; justify-self: center; margin: 10px 0 36px; }
.eco-banner__materials img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-lg); }
.eco-banner__materials img:nth-child(2n) { transform: translateY(26px); }

/* ---------- Testimonios ---------- */
.testimonials__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); }
.testimonials__head .section-head { margin: 0; }
.slider-nav { display: flex; gap: 10px; }
.slider-nav__btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: all 0.25s; }
.slider-nav__btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.testimonials__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 20px; margin: -6px -2px 0;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.tcard { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.tcard__stars { display: flex; gap: 3px; color: var(--orange); margin-bottom: 18px; }
.tcard__stars .icon { width: 17px; height: 17px; }
.tcard__quote { margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: var(--text); flex: 1; }
.tcard__quote p { margin: 0; }
.tcard__author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.tcard__author strong { display: block; font-size: 15.5px; color: var(--ink); }
.tcard__author small { font-size: 13.5px; color: var(--muted); }
.tcard__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.post-card__title { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
.post-card__title a:hover { color: var(--orange-600); }
.post-card__excerpt { font-size: 15px; color: var(--muted); }
.post-card .link-arrow { margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 clamp(72px, 10vw, 120px); }
.section--sand + .cta-band, .section--dark + .cta-band, .clients + .cta-band, .stats-band + .cta-band { padding-top: clamp(72px, 10vw, 120px); }
.cta-band__card {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center;
	padding: clamp(36px, 5.5vw, 72px); border-radius: var(--radius-lg);
	background: var(--orange); color: rgba(255, 255, 255, 0.92);
}
.cta-band__pattern {
	position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
	background: radial-gradient(500px 300px at 100% 0%, rgba(255, 255, 255, 0.25), transparent 60%), radial-gradient(400px 260px at 0% 100%, rgba(14, 23, 38, 0.25), transparent 60%);
}
.cta-band__content, .cta-band__actions { position: relative; }
.cta-band__title { color: #fff; font-size: clamp(30px, 3.8vw, 48px); }
.cta-band__title .accent { color: var(--ink); }
.cta-band__content p { font-size: 18px; max-width: 560px; }
.cta-band__ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: 15px; }
.cta-band__ticks li { display: flex; align-items: center; gap: 8px; }
.cta-band__ticks .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; justify-self: end; }
.cta-band .btn--primary { --bg: var(--ink); box-shadow: 0 14px 30px -12px rgba(14, 23, 38, 0.6); }
.cta-band .btn--primary:hover { --bg: #000; }
.cta-band__phone { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 800; font-size: 20px; }
.cta-band__phone small { display: block; font-size: 13px; font-weight: 600; opacity: 0.8; }
.cta-band__phone-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.2); }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.8); padding: clamp(64px, 8vw, 96px) 0 32px; font-size: 15px; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.site-footer__brand .brand__logo { height: 56px; margin-bottom: 22px; }
.site-footer__brand p { max-width: 320px; }
.site-footer__title { color: #fff; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-menu, .legal-menu, .contact-list, .socials { list-style: none; margin: 0; padding: 0; }
.footer-menu { display: grid; gap: 10px; }
.footer-menu a:hover, .legal-menu a:hover, .contact-list a:hover { color: var(--orange); }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { width: 18px; height: 18px; color: var(--orange); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-light); color: #fff; transition: all 0.25s; }
.socials a:hover { background: var(--orange); border-color: var(--orange); }
.socials .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- WhatsApp y cookies ---------- */
.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 90;
	width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
	background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.65);
	transition: transform 0.3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }

.cookie {
	position: fixed; left: 22px; bottom: 22px; z-index: 95; max-width: 420px;
	display: grid; grid-template-columns: auto 1fr; gap: 14px 16px;
	padding: 20px 22px; border-radius: var(--radius);
	background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
	font-size: 14px; line-height: 1.5;
	animation: slideUp 0.5s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; color: var(--muted); }
.cookie a { color: var(--orange-600); font-weight: 600; text-decoration: underline; }
.cookie__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); }
.cookie__actions { grid-column: 1 / -1; display: flex; gap: 10px; justify-content: flex-end; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } }

/* ---------- Héroe interior ---------- */
.page-hero {
	position: relative; overflow: hidden;
	background: var(--ink); color: rgba(255, 255, 255, 0.86);
	padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(56px, 7vw, 96px);
}
.page-hero__glow { position: absolute; width: 640px; height: 640px; right: -200px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 106, 12, 0.28), transparent 65%); pointer-events: none; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 23, 38, 0.97) 0%, rgba(14, 23, 38, 0.86) 45%, rgba(14, 23, 38, 0.45) 100%); }
.page-hero__inner { position: relative; }
.page-hero__title { font-size: clamp(36px, 5vw, 64px); color: #fff; max-width: 880px; letter-spacing: -0.035em; line-height: 1.05; }
.page-hero__title--post { font-size: clamp(32px, 4.4vw, 54px); }
.page-hero__text { font-size: clamp(17px, 1.5vw, 20px); max-width: 640px; margin-bottom: 32px; }
.page-hero .btn-row { margin-top: 8px; }
.page-hero--404 { min-height: 80vh; display: flex; align-items: center; text-align: center; }
.page-hero--404 .page-hero__title, .page-hero--404 .page-hero__text { margin-left: auto; margin-right: auto; }
.page-hero--404 .btn-row { justify-content: center; }
.big-404 { font-family: var(--serif); font-style: italic; font-size: clamp(120px, 20vw, 240px); line-height: 0.9; color: var(--orange); margin: 0 0 12px; }

.breadcrumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: rgba(255, 255, 255, 0.85); }

/* ---------- Prosa ---------- */
.prose { font-size: 17px; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 1.6em 0 0.6em; }
.prose h3 { font-size: 22px; margin: 1.5em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--orange); }
.prose a { color: var(--orange-600); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--orange); font-family: var(--serif); font-size: 26px; line-height: 1.35; color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--sand); }
.prose img { border-radius: var(--radius); }
.prose--center { text-align: center; max-width: 760px; margin: 48px auto 0; }
.prose--doc { background: #fff; padding: clamp(28px, 5vw, 64px); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.prose--doc > h2:first-child, .prose--doc > *:first-child { margin-top: 0; }
.prose--post { background: transparent; box-shadow: none; padding: 0; font-size: 18.5px; line-height: 1.75; }
.prose--post > p:first-child { font-size: 21px; color: var(--ink); }

/* ---------- Servicios (filas) ---------- */
.feature-rows { display: grid; gap: clamp(64px, 9vw, 120px); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feature-row__icon { margin-bottom: 26px; }
.feature-row .eyebrow { margin-bottom: 10px; }
.feature-row .prose { color: var(--muted); font-size: 18px; }

.icon-grid { display: grid; gap: 24px; }
.icon-grid--3 { grid-template-columns: repeat(3, 1fr); }
.icon-grid--4 { grid-template-columns: repeat(4, 1fr); }
.icon-card { padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon-card .icon-card__icon { margin-bottom: 26px; }
.icon-card h3 { font-size: 19px; }
.icon-card p { margin: 0; font-size: 15.5px; color: var(--muted); }
.icon-card--dark { background: var(--ink-2); border-color: var(--line-light); }
.icon-card--dark p { color: rgba(255, 255, 255, 0.8); }
.icon-card--dark .icon-card__icon { background: rgba(247, 106, 12, 0.14); }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.about__media { position: relative; padding: 0 0 70px 0; }
.about__img--main { width: 86%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--cream); box-shadow: var(--shadow-lg); }
.about__content .prose { color: var(--muted); }
.about__content .ticks { margin-top: 28px; }

.stats-band { background: var(--orange); color: #fff; padding: clamp(40px, 5vw, 64px) 0; }
.stats-band__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.stat > span { font-size: 15px; font-weight: 600; opacity: 0.9; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.25); }

.big-quote { margin: 0 auto; max-width: 980px; text-align: center; }
.big-quote__mark { width: 56px; height: 56px; color: var(--orange); margin: 0 auto 28px; }
.big-quote p { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.3; color: #fff; font-weight: 600; letter-spacing: -0.02em; }
.big-quote footer { color: rgba(255, 255, 255, 0.8); font-size: 15px; margin-top: 20px; }

/* ---------- Catálogos ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 48px; padding: 6px; background: #fff; border-radius: 999px; width: fit-content; max-width: 100%; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.filter__btn { padding: 10px 20px; border-radius: 999px; border: 0; background: transparent; font-weight: 700; font-size: 14.5px; color: var(--muted); cursor: pointer; transition: all 0.25s; }
.filter__btn:hover { color: var(--ink); }
.filter__btn.is-active { background: var(--ink); color: #fff; }
.is-filtered-out { display: none !important; }

/* Flex centrado: al filtrar, las tarjetas que quedan siguen centradas. */
.catalog-grid { --cols: 4; --gap: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.catalog-grid > .catalog-card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.catalog-card { border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.catalog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.catalog-card__link { display: flex; flex-direction: column; height: 100%; }
.catalog-card__cover { position: relative; aspect-ratio: 7 / 9; overflow: hidden; background: var(--sand); }
.catalog-card__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.8s var(--ease); }
.catalog-card:hover .catalog-card__cover img { transform: scale(1.04); }
.catalog-card__cover .chip { position: absolute; top: 14px; left: 14px; }
.catalog-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.catalog-card__group { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.catalog-card__title { font-size: 19px; margin-bottom: 8px; }
.catalog-card__body p { font-size: 14.5px; color: var(--muted); }
.catalog-card .link-arrow { margin-top: auto; }

.help-box { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.help-box h2 { font-size: 26px; margin-bottom: 6px; }
.help-box p { margin: 0; color: var(--muted); }
.help-box__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--orange); color: #fff; }
.help-box__icon .icon { width: 30px; height: 30px; }

.link-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.link-card { display: grid; grid-template-columns: 0.9fr 1fr; border-radius: var(--radius-lg); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.link-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.link-card__body { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.link-card__body .icon-card__icon { margin-bottom: 20px; }
.link-card h3 { font-size: 22px; }
.link-card p { color: var(--muted); font-size: 15.5px; }
.link-card .link-arrow { margin-top: auto; }

/* ---------- Contacto ---------- */
.contact { padding-top: clamp(48px, 6vw, 80px); }
.contact__inner { display: grid; grid-template-columns: 0.85fr 1.3fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__channels { display: grid; gap: 12px; margin-bottom: 20px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: all 0.3s var(--ease); }
.channel:hover { border-color: var(--orange); transform: translateX(4px); box-shadow: var(--shadow); }
.channel__icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); }
.channel__icon--whatsapp { background: #e7f9ee; color: #1fa855; }
.channel__text { flex: 1; min-width: 0; }
.channel__text small { display: block; font-size: 13px; color: var(--muted); }
.channel__text strong { display: block; font-size: 17px; color: var(--ink); overflow-wrap: anywhere; }
.channel__arrow { color: var(--muted); width: 20px; height: 20px; }
.info-card { padding: 26px 24px; border-radius: var(--radius); background: var(--ink); color: rgba(255, 255, 255, 0.86); margin-bottom: 20px; }
.info-card__title { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 16px; margin-bottom: 8px; }
.info-card__title .icon { color: var(--orange); width: 20px; height: 20px; }
.info-card p:last-child { margin: 0; }
.promise { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 600; font-size: 15px; }
.promise li { display: flex; align-items: center; gap: 10px; }
.promise .icon { color: var(--green); }
.contact__form { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }

.form { margin-top: 28px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field label span, .check > span > span { color: var(--orange); }
.field input, .field select, .field textarea {
	width: 100%; padding: 14px 16px; border-radius: 12px;
	border: 1.5px solid var(--line); background: var(--cream);
	font-size: 15.5px; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6779' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(247, 106, 12, 0.12); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #d63d3d; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.check a { color: var(--orange-600); text-decoration: underline; }
.check.is-invalid { color: #d63d3d; }
.form__footer { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px; }
.form__meta { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--muted); }
.form__meta .icon { width: 18px; height: 18px; color: var(--orange); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 24px; font-size: 15px; }
.form__notice--ok { background: #e9f7ef; color: #1c5e3a; }
.form__notice--ok .icon { color: var(--green); width: 24px; height: 24px; }
.form__notice--error { background: #fdecec; color: #8a2020; }
.form.is-sending button[type="submit"] { opacity: 0.7; pointer-events: none; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-list { display: grid; gap: 14px; }
.faq { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow 0.3s, border-color 0.3s; }
.faq[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; cursor: pointer; font-weight: 700; font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq__toggle { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--sand); transition: transform 0.35s var(--ease), background 0.3s, color 0.3s; }
.faq[open] .faq__toggle { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq__answer { padding: 0 26px 24px; color: var(--muted); font-size: 16px; }
.faq__answer ul { list-style: none; padding: 0; }
.faq__answer li { position: relative; padding-left: 28px; }
.faq__answer li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 16px; height: 9px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg) translate(2px, -3px); }
.sticky-card { position: sticky; top: 110px; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--ink); color: rgba(255, 255, 255, 0.86); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.sticky-card h2 { color: #fff; }
.sticky-card .icon-card__icon { background: rgba(247, 106, 12, 0.16); margin-bottom: 18px; }
.sticky-card .link-arrow { color: #fff; margin-top: 18px; }

/* ---------- Cómo trabajamos ---------- */
.timeline-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.fact { padding: 36px 30px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { display: block; font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.04em; color: var(--orange); line-height: 1; margin-bottom: 18px; }
.fact h3 { font-size: 18px; margin-bottom: 4px; }
.fact p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Marcajes y materiales ---------- */
.technique-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.technique { padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow 0.3s, transform 0.4s var(--ease); }
.technique:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.technique__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.technique__num { font-family: var(--serif); font-style: italic; font-size: 34px; color: rgba(14, 23, 38, 0.15); line-height: 1; }
.technique__title { font-size: 21px; }
.technique__ideal { font-size: 14px; color: var(--orange-600); background: var(--orange-50); padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.technique__text { font-size: 15px; color: var(--muted); }
.technique__text p:last-child { margin: 0; }
[data-clamp] { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
[data-clamp].is-open { display: block; -webkit-line-clamp: unset; }
.technique__more { margin-top: 14px; align-self: flex-start; padding: 0; border: 0; background: none; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; border-bottom: 2px solid var(--orange); }
.technique__more[hidden] { display: none; }

.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.material { border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.material__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.material__media img { width: 100%; height: 100%; object-fit: cover; }
.material__level { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); font-size: 12px; font-weight: 700; color: var(--ink); }
.material__level i { width: 6px; height: 13px; border-radius: 3px; background: var(--line); }
.material__level i.on { background: var(--orange); }
.material__level span { margin-left: 4px; }
.material__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.material__title { font-size: 21px; margin-bottom: 4px; }
.material__claim { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--green); margin-bottom: 10px; line-height: 1.3; }
.material__ideal { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.material__ideal .icon { width: 16px; height: 16px; color: var(--orange); }

.pillars { display: grid; gap: 14px; }
.pillar { display: flex; gap: 20px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pillar__num { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-family: var(--serif); font-style: italic; font-size: 26px; }
.pillar h3 { font-size: 18px; margin-bottom: 2px; }
.pillar p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Blog: listado y entrada ---------- */
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.cat-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.cat-pills a { display: block; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: all 0.2s; }
.cat-pills a:hover, .cat-pills a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-form { position: relative; display: flex; align-items: center; }
.search-form .icon { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--muted); }
.search-form input { width: 280px; max-width: 100%; padding: 11px 16px 11px 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; }
.search-form input:focus { outline: none; border-color: var(--orange); }
.pagination { margin-top: 48px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; }
.empty .icon-card__icon { margin-bottom: 20px; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14.5px; margin-bottom: 20px; }
.post-cover { margin-top: calc(-1 * clamp(80px, 11vw, 160px)); position: relative; z-index: 2; }
.post-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.page-hero--post { padding-bottom: clamp(120px, 14vw, 200px); }
.section--post { padding-top: clamp(48px, 6vw, 80px); }
.post-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; transition: all 0.2s; }
.share a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.share .icon { width: 17px; height: 17px; }
.post-nav { margin-top: 40px; }
.post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { display: block; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; }
.post-nav a:hover { border-color: var(--orange); }
.post-nav small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.post-nav span { font-weight: 700; color: var(--ink); }
.post-nav .nav-next { text-align: right; grid-column: 2; }
.comments { margin-top: 56px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; }

/* ---------- Animaciones de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.header-phone { display: none; }
	.nav__list a { padding: 10px 11px; font-size: 14.5px; }
	.catalog-grid { --cols: 3; }
	.steps--5 { grid-template-columns: repeat(3, 1fr); }
	.steps::before { display: none; }
}

@media (max-width: 1024px) {
	:root { --header-h: 76px; }
	.nav-toggle { display: inline-flex; }
	.site-header__actions { margin-left: auto; }
	.site-header [data-header-cta] { display: none; }
	.nav {
		position: fixed; inset: 0; z-index: -1;
		padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
		background: var(--ink); color: #fff;
		display: flex; flex-direction: column; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
	}
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
	.nav-open .site-header .brand__logo--light { opacity: 1; }
	.nav-open .site-header .brand__logo--dark { opacity: 0; }
	.nav-open .nav-toggle { border-color: rgba(255, 255, 255, 0.3); }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { border-bottom: 1px solid var(--line-light); }
	.nav__list a { font-size: 24px; font-weight: 700; padding: 16px 0; border-radius: 0; opacity: 1; }
	.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_item > a, .is-scrolled .nav__list a:hover, .is-scrolled .nav__list .current-menu-item > a, .is-scrolled .nav__list .current_page_item > a { background: none; color: var(--orange); }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; color: inherit; padding: 0 0 12px 16px; min-width: 0; }
	.nav__list .sub-menu a { font-size: 17px; padding: 8px 0; font-weight: 500; opacity: 0.88; }
	.nav__list .sub-menu a:hover { background: none; }
	.nav__list .menu-item-has-children > a::after { display: none; }
	.nav__mobile-extra { display: grid; gap: 14px; margin-top: 32px; }
	.nav__mobile-extra .btn { justify-self: start; }
	.nav__contact { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.86); font-weight: 600; }
	.nav__contact .icon { color: var(--orange); }

	.hero__inner, .why__inner, .about, .feature-row, .split-head, .eco-banner, .cta-band__card, .contact__inner, .faq-layout { grid-template-columns: 1fr; }
	.hero__visual { max-width: 620px; }
	.hero__photo { aspect-ratio: 16 / 11; }
	.float-card--top { left: 16px; top: 16px; }
	.float-card--bottom { right: 16px; bottom: 16px; }
	.split-head { align-items: start; }
	.feature-row--reverse .feature-row__media { order: 0; }
	.why__badge { right: 16px; }
	.why__media img { aspect-ratio: 16 / 11; }
	.cta-band__actions { justify-self: start; }
	.service-grid, .cat-grid, .post-grid, .technique-grid, .material-grid, .icon-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.icon-grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
	.testimonials__track { grid-auto-columns: calc((100% - 24px) / 2); }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
	.link-cards { grid-template-columns: 1fr; }
	.timeline-facts { grid-template-columns: repeat(2, 1fr); }
	.fact:nth-child(3) { border-left: 0; }
	.fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
	.faq-aside { order: -1; }
	.sticky-card { position: static; }
	.help-box { grid-template-columns: auto 1fr; }
	.help-box .btn-row { grid-column: 1 / -1; }
	.eco-banner__materials { max-width: 460px; }
	.method__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	.brand__logo { height: 38px; }
	.hero__stats { gap: 20px; justify-content: space-between; }
	.hero__stats dd { font-size: 12.5px; }
	.float-card { padding: 10px 14px 10px 10px; font-size: 13px; }
	.float-card--bottom { display: none; }
	.clients__inner { flex-direction: column; align-items: stretch; gap: 16px; }
	.clients__label { max-width: none; text-align: center; }
	.service-grid, .cat-grid, .post-grid, .technique-grid, .material-grid, .icon-grid--3, .icon-grid--4, .steps, .steps--5, .catalog-duo, .catalog-grid { grid-template-columns: 1fr; }
	.catalog-grid { --cols: 2; --gap: 14px; }
	.catalog-card__body { padding: 16px; }
	.catalog-card__body p { display: none; }
	.catalog-card__title { font-size: 16px; }
	.testimonials__track { grid-auto-columns: 88%; }
	.slider-nav { display: none; }
	.catalog-feature { aspect-ratio: 4 / 5; }
	.ticks--cols { grid-template-columns: 1fr; }
	.form__grid { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr; gap: 36px; }
	.stats-band__inner { grid-template-columns: 1fr 1fr; gap: 32px 0; }
	.stat:nth-child(3) { border-left: 0; }
	.timeline-facts { grid-template-columns: 1fr; }
	.fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
	.why__badge { position: static; max-width: none; margin-top: -40px; margin-left: 16px; margin-right: 16px; position: relative; }
	.about__media { padding-bottom: 50px; }
	.link-card { grid-template-columns: 1fr; }
	.link-card img { min-height: 0; aspect-ratio: 16 / 9; }
	.help-box { grid-template-columns: 1fr; }
	.cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
	.wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
	.filter { border-radius: 18px; }
	.filter__btn { padding: 8px 14px; font-size: 13.5px; }
	.post-nav .nav-links { grid-template-columns: 1fr; }
	.post-nav .nav-next { grid-column: auto; }
	.blog-toolbar .search-form, .blog-toolbar .search-form input { width: 100%; }
	.faq summary { font-size: 16px; padding: 18px 20px; }
	.faq__answer { padding: 0 20px 20px; }
}
