/* ==========================================================================
   FIDUCIA QHSE — estilos corporativos
   Azul marino dominante, naranja de marca como acento, serifa editorial
   (Newsreader, coherente con el logotipo) y sans sobria (Manrope).
   ========================================================================== */

:root {
	--navy: #0b1736;
	--navy-deep: #07102a;
	--navy-2: #13244d;
	--navy-3: #1d3264;
	--orange: #f0592a;
	--orange-btn: #d04b14;
	--orange-tint: rgba(240, 89, 42, 0.1);
	--sky: #5aa2e6;
	--white: #ffffff;
	--paper: #f5f6f9;
	--paper-2: #eceff5;
	--line: #dfe3eb;
	--ink: #0b1736;
	--ink-2: #414c66;
	--ink-3: #6c7690;
	--on-dark: rgba(255, 255, 255, 0.92);
	--on-dark-2: rgba(255, 255, 255, 0.68);
	--line-dark: rgba(255, 255, 255, 0.12);

	--serif: "Newsreader", Georgia, "Times New Roman", serif;
	--sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

	--pad: clamp(20px, 4vw, 48px);
	--section: clamp(84px, 9vw, 140px);
	--radius: 6px;
	--shadow: 0 24px 60px rgba(11, 23, 54, 0.14);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--topbar-h: 40px;
	--mainbar-h: 84px;
	--header-h: calc(var(--topbar-h) + var(--mainbar-h));
}

/* ----- Base ----------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, ul, ol, dl, dd, figure, h1, h2, h3, h4, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
abbr[title] { text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: var(--orange); color: var(--white); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
strong { font-weight: 700; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 300; padding: 12px 18px; background: var(--orange-btn); color: var(--white); transform: translateY(-200%); transition: transform 0.2s var(--ease); }
.skip:focus { transform: none; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }

.section { position: relative; padding: var(--section) 0; overflow-x: clip; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--on-dark); }

/* ----- Tipografía ----------------------------------------------------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	color: var(--orange-btn);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--orange); }

.section-title {
	font-family: var(--serif);
	font-size: clamp(34px, 3.9vw, 58px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: var(--ink);
	text-wrap: balance;
}
.section--navy .section-title, .cta .section-title { color: var(--white); }
.section-title .masked__line:nth-child(2) > span,
.hero__title .masked__line:nth-child(2) > span,
.page-hero__title .masked__line:nth-child(2) > span { font-style: italic; }

.lead { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.65; color: var(--ink-2); }
.section--navy .lead, .cta .lead, .hero .lead { color: var(--on-dark-2); }

.masked__line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.masked__line > span { display: inline-block; }

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 32px 72px;
	align-items: end;
	margin-bottom: clamp(44px, 5vw, 72px);
}
.section-head__aside { display: grid; gap: 18px; justify-items: start; color: var(--ink-2); }
.section--navy .section-head__aside { color: var(--on-dark-2); }

/* ----- Botones y enlaces --------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 13px 26px;
	border: 1px solid var(--orange-btn);
	border-radius: 3px;
	background: var(--orange-btn);
	color: var(--white);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-align: center;
	transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: var(--navy); border-color: var(--navy); box-shadow: 0 10px 24px rgba(11, 23, 54, 0.2); }
.btn:active { transform: translateY(1px); }
.btn--large { min-height: 56px; padding: 16px 30px; font-size: 15.5px; }
.btn--small { min-height: 44px; padding: 10px 20px; font-size: 14px; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.section--navy .btn:hover, .hero .btn:not(.btn--ghost):hover, .cta .btn:not(.btn--ghost):hover, .page-hero .btn:not(.btn--ghost):hover { background: var(--white); border-color: var(--white); color: var(--navy); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
	border-bottom: 1px solid var(--orange);
}
.link-arrow .arrow { width: 16px; height: 16px; color: var(--orange-btn); transition: transform 0.35s var(--ease); }
.link-arrow:hover .arrow { transform: translate(3px, -3px); }
.section--navy .link-arrow { color: var(--white); }

.checks { display: grid; gap: 14px; margin: 28px 0 32px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; color: var(--ink-2); line-height: 1.55; }
.checks li strong { color: var(--ink); }
.checks svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-btn); }
.checks--compact { gap: 10px; margin: 20px 0 26px; }
.checks--compact li { font-size: 15.5px; }

/* ----- Curvas de nivel (textura de marca) ---------------------------- */

.hero__contours, .section__contours, .site-footer__contours, .mega__contours, .slot__contours, .sectors__contours {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	color: var(--white);
	opacity: 0.07;
}
.hero__contours, .section__contours { width: 112%; left: -6%; animation: fq-drift 38s ease-in-out infinite alternate; }
@keyframes fq-drift { from { transform: translate3d(-2%, 0, 0); } to { transform: translate3d(2%, -1.5%, 0); } }
.section--navy > .container, .cta > .container, .hero > .container, .page-hero > .container, .site-footer > .container { position: relative; z-index: 1; }

/* ----- Cabecera ------------------------------------------------------- */

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--white); transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.topbar { height: var(--topbar-h); background: var(--navy-deep); color: var(--on-dark-2); font-size: 13px; overflow: hidden; transition: height 0.35s var(--ease); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.topbar__tagline { letter-spacing: 0.14em; text-transform: uppercase; font-size: 11.5px; font-weight: 600; }
.topbar__contact { display: flex; gap: 28px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s ease; }
.topbar__contact a:hover { color: var(--white); }
.topbar__contact svg { width: 15px; height: 15px; color: var(--orange); }
.topbar__lang { padding-left: 28px; border-left: 1px solid var(--line-dark); font-weight: 700; color: var(--white); }

.mainbar { position: relative; height: var(--mainbar-h); border-bottom: 1px solid var(--line-dark); transition: height 0.35s var(--ease), border-color 0.35s ease; }
.mainbar__inner { display: flex; align-items: center; gap: 40px; height: 100%; }

.site-header.is-scrolled { background: var(--white); color: var(--ink); box-shadow: 0 10px 30px rgba(11, 23, 54, 0.08); }
.site-header.is-scrolled .topbar { height: 0; }
.site-header.is-scrolled .mainbar { height: 74px; border-color: transparent; }

.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.brand__logo { height: 44px; width: auto; }
.brand__word { font-family: var(--serif); font-size: 29px; font-weight: 500; letter-spacing: 0.045em; line-height: 1; }
.brand__rule { width: 1px; height: 26px; background: currentColor; opacity: 0.35; }
.brand__sub { font-size: 12px; font-weight: 700; letter-spacing: 0.32em; color: var(--orange); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__item--drop { position: static; }
.nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 28px 14px;
	font-size: 15px;
	font-weight: 600;
	transition: color 0.2s ease;
}
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item--drop:hover .nav__link::after { transform: scaleX(1); }
.nav__caret { transition: transform 0.3s var(--ease); }
.nav__item--drop:hover .nav__caret { transform: rotate(180deg); }

.mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 32px 0 40px;
	background: var(--white);
	color: var(--ink);
	box-shadow: 0 30px 60px rgba(11, 23, 54, 0.14);
	border-top: 1px solid var(--line);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.nav__item--drop:hover .mega, .nav__item--drop:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
.mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
.mega__link { display: grid; gap: 2px; padding: 16px 18px; border-left: 2px solid transparent; transition: background-color 0.25s ease, border-color 0.25s ease; }
.mega__link:hover { background: var(--paper); border-color: var(--orange); }
.mega__name { font-family: var(--serif); font-size: 20px; line-height: 1.25; }
.mega__short { font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.mega__feature { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.mega__feature > span { position: relative; }
.mega__feature-label { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.mega__feature-title { font-family: var(--serif); font-size: 24px; line-height: 1.25; }
.mega__feature-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 700; font-size: 14.5px; }
.mega__feature-link .arrow { width: 16px; height: 16px; }

.mainbar__end { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.menu-toggle__bars { display: grid; gap: 7px; width: 26px; margin: 0 auto; }
.menu-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform 0.35s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100svh - 74px); overflow-y: auto; padding: 28px var(--pad) 40px; background: var(--navy); color: var(--white); }
.mobile-menu__list a { display: block; padding: 8px 0; font-family: var(--serif); font-size: 36px; line-height: 1.15; }
.mobile-menu__services { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.mobile-menu__services a { display: block; padding: 7px 0; font-size: 16px; color: var(--on-dark-2); }
.mobile-menu__foot { display: grid; gap: 16px; margin-top: 32px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--navy); color: var(--white); }

/* ----- Portada: cabecera --------------------------------------------- */

.hero {
	position: relative;
	padding: calc(var(--header-h) + clamp(48px, 7vh, 96px)) 0 clamp(56px, 7vh, 88px);
	background: var(--navy);
	color: var(--white);
	overflow: hidden;
	isolation: isolate;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 25%, rgba(90, 162, 230, 0.16), transparent 70%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__title {
	font-family: var(--serif);
	font-size: clamp(46px, 5.6vw, 88px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: var(--white);
}
.hero__sentence { max-width: 50ch; margin-top: 28px; font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.65; color: var(--on-dark-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__media { position: relative; padding: 0 0 36px 36px; }
.hero__media::before { content: ""; position: absolute; top: 36px; right: -18px; bottom: 0; left: 18px; border: 1px solid rgba(240, 89, 42, 0.55); border-radius: var(--radius); }
.hero__img { position: relative; aspect-ratio: 4 / 5 !important; border-radius: var(--radius); }
.hero__card {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 16px;
	width: min(360px, 88%);
	padding: 24px;
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	box-shadow: var(--shadow);
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hero__card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(7, 16, 42, 0.35); }
.hero__card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-btn); }
.hero__card-icon svg { width: 24px; height: 24px; }
.hero__card-body { display: grid; gap: 4px; }
.hero__card-title { font-family: var(--serif); font-size: 19px; line-height: 1.25; }
.hero__card-text { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.hero__card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--orange-btn); }
.hero__card-link .arrow { width: 14px; height: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vh, 88px); border-top: 1px solid var(--line-dark); }
.stats__item { display: grid; gap: 6px; padding: 32px 28px 0 0; }
.stats__item + .stats__item { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.stats__value { font-family: var(--serif); font-size: clamp(40px, 3.6vw, 56px); line-height: 1; color: var(--white); font-variant-numeric: lining-nums tabular-nums; }
.stats__label { max-width: 22ch; font-size: 14px; line-height: 1.45; color: var(--on-dark-2); }

/* ----- Imágenes ------------------------------------------------------ */

.slot { position: relative; overflow: hidden; background: var(--navy-2); }
.slot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.slot img[data-parallax] { height: 114%; margin-top: -7%; }
.slot--empty .slot__contours { opacity: 0.16; }
.slot__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--serif); font-size: clamp(18px, 2vw, 26px); letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.3); white-space: nowrap; }
.slot__mark span { font-family: var(--sans); font-size: 0.5em; font-weight: 700; letter-spacing: 0.3em; color: rgba(240, 89, 42, 0.7); margin-left: 6px; }
.slot__todo { position: absolute; inset: auto 12px 12px 12px; z-index: 2; padding: 10px 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.95); color: var(--navy); font-size: 12.5px; line-height: 1.4; }
.slot__todo code { font: inherit; font-weight: 700; }

/* ----- Clientes ------------------------------------------------------ */

.clients { padding: 36px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.clients__inner { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; align-items: center; }
.clients__label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; line-height: 1.5; text-transform: uppercase; color: var(--ink-3); }
.clients__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients__track { display: flex; width: max-content; gap: 56px; animation: fq-marquee 46s linear infinite; }
.clients__track li { display: inline-flex; align-items: center; gap: 56px; font-family: var(--serif); font-size: 22px; color: var(--ink-2); white-space: nowrap; }
.clients__track li::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--orange); opacity: 0.7; }
.clients:hover .clients__track { animation-play-state: paused; }
.clients--services .clients__track { animation-duration: 38s; }
.clients--services .clients__track a { transition: color 0.25s ease; }
.clients--services .clients__track a:hover { color: var(--orange-btn); }
.site-main + .clients { padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 0; }
@keyframes fq-marquee { to { transform: translateX(-50%); } }

/* ----- Quiénes somos ------------------------------------------------- */

.about-split__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.about-split__media { position: relative; padding-bottom: 48px; }
.about-split__img { aspect-ratio: 4 / 5 !important; border-radius: var(--radius); }
.about-split__quote {
	position: absolute;
	right: -24px;
	bottom: 0;
	width: min(380px, 80%);
	padding: 32px 34px;
	border-radius: var(--radius);
	background: var(--navy);
	color: var(--white);
	box-shadow: var(--shadow);
}
.about-split__quote p { font-family: var(--serif); font-size: 22px; font-style: italic; line-height: 1.4; }
.about-split__quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.about-split__copy .section-title { margin-bottom: 28px; }
.about-split__copy > p:not(.eyebrow) + p { margin-top: 18px; color: var(--ink-2); }

/* ----- Por qué es indispensable ------------------------------------- */

.compliance__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.need-card { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px); border-top: 3px solid var(--orange); border-radius: 0 0 var(--radius) var(--radius); background: var(--white); box-shadow: 0 18px 44px rgba(11, 23, 54, 0.08); }
.need-card__head { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; margin-bottom: 22px; }
.need-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--white); }
.need-card__icon svg { width: 26px; height: 26px; }
.need-card__title { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); font-weight: 400; line-height: 1.2; }
.need-card__law { margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--orange-btn); }
.need-card__text { color: var(--ink-2); }
.need-card__label { margin: 26px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.risks { display: grid; gap: 12px; }
.risks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.risks svg { width: 22px; height: 22px; margin-top: 1px; color: #c0392b; }
.risks--light li { color: var(--on-dark); }
.risks--light svg { color: var(--orange); }

.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.figures__item { display: grid; align-content: start; gap: 10px; padding: 32px 28px; }
.figures__item + .figures__item { border-left: 1px solid var(--line-dark); }
.figures__value { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 42px); line-height: 1; color: var(--orange); white-space: nowrap; }
.figures__label { font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }

.compliance__close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.compliance__close-title { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; }
.compliance__close-text { max-width: 60ch; margin-top: 8px; color: var(--ink-2); }
.compliance__close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.compliance__note { margin-top: 28px; font-size: 13px; line-height: 1.5; color: var(--ink-3); }

.need__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px clamp(48px, 7vw, 104px); align-items: center; }
.need__grid .section-title { margin-bottom: 22px; }
.need__risks { padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--navy-2); }
.need__risks .need-card__label { margin-top: 0; color: var(--on-dark-2); }
.need__risks .btn { margin-top: 28px; }

/* ----- Tarjetas de servicio ----------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { position: relative; }
.card__link {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.card__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.card__link:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__link:hover::after { transform: scaleX(1); }
.card__media { display: block; overflow: hidden; }
.card__media .slot { transition: transform 1s var(--ease); }
.card__link:hover .card__media .slot { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 28px 30px 30px; }
.card__num { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--orange-btn); }
.card__title { font-family: var(--serif); font-size: 25px; line-height: 1.2; color: var(--ink); }
.card__text { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.card__more .arrow { width: 14px; height: 14px; color: var(--orange-btn); transition: transform 0.35s var(--ease); }
.card__link:hover .card__more .arrow { transform: translate(3px, -3px); }

/* ----- Por qué FIDUCIA ---------------------------------------------- */

.why__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 104px); align-items: center; }
.why__copy .section-title { margin-bottom: 24px; }
.why__copy .lead { margin-bottom: 36px; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: var(--radius); background: var(--line-dark); }
.why__item { padding: clamp(28px, 3vw, 40px); background: var(--navy); transition: background-color 0.4s ease; }
.why__item:hover { background: var(--navy-2); }
.why__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border: 1px solid rgba(240, 89, 42, 0.5); border-radius: 50%; color: var(--orange); }
.why__icon svg { width: 24px; height: 24px; }
.why__title { margin-bottom: 10px; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.25; color: var(--white); }
.why__item p { font-size: 15.5px; line-height: 1.6; color: var(--on-dark-2); }

/* ----- Metodología -------------------------------------------------- */

.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.timeline__line { position: absolute; top: 28px; left: 28px; right: 28px; height: 1px; background: var(--line); }
.timeline__line span { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.timeline__step { position: relative; display: grid; align-content: start; gap: 10px; }
.timeline__dot { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-family: var(--serif); font-size: 19px; color: var(--ink); transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease; }
.timeline__step.is-active .timeline__dot { background: var(--navy); border-color: var(--navy); color: var(--white); }
.timeline__title { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; }
.timeline__text { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.timeline__tag { justify-self: start; margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); font-size: 12.5px; font-weight: 700; color: var(--ink-2); }

/* ----- Autodiagnóstico ---------------------------------------------- */

.diag__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px 56px; align-items: start; }
.diag__intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 24px 72px; align-items: end; margin-bottom: 8px; }
.diag__intro .eyebrow, .diag__intro .section-title { grid-column: 1; }
.diag__text { grid-column: 2; grid-row: 2; color: var(--ink-2); }
.diag__questions { display: grid; gap: 10px; }
.diag__q fieldset { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; margin: 0; padding: 18px 20px 18px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.diag__q fieldset.is-answered { border-color: rgba(11, 23, 54, 0.25); }
.diag__q legend { float: left; font-size: 16px; line-height: 1.45; font-weight: 500; color: var(--ink); }
.diag__choices { display: flex; gap: 6px; }
.diag__choices label { position: relative; cursor: pointer; }
.diag__choices input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.diag__choices span { display: block; min-width: 62px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 3px; font-size: 14px; font-weight: 700; text-align: center; color: var(--ink-2); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.diag__choices label:hover span { border-color: var(--ink-3); }
.diag__choices input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.diag__choices input[value="0"]:checked + span { background: var(--orange-btn); border-color: var(--orange-btn); color: var(--white); }
.diag__choices input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.diag__result { position: sticky; top: 110px; display: grid; gap: 18px; padding: 36px; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.diag__score { display: flex; align-items: baseline; gap: 14px; }
.diag__num { font-family: var(--serif); font-size: clamp(80px, 7vw, 112px); line-height: 0.85; font-variant-numeric: lining-nums tabular-nums; }
.diag__of { max-width: 14ch; font-size: 15px; line-height: 1.4; color: var(--on-dark-2); }
.diag__meter { height: 6px; overflow: hidden; border-radius: 999px; background: var(--navy-3); }
.diag__meter span { display: block; width: 100%; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.diag__level { font-family: var(--serif); font-size: 21px; line-height: 1.4; }
.diag__rec { font-size: 15px; color: var(--on-dark-2); }
.diag__rec a { color: var(--white); font-weight: 700; border-bottom: 1px solid var(--orange); }
.diag__result .btn { justify-self: start; }
.diag__note { font-size: 13px; line-height: 1.5; color: var(--on-dark-2); }

/* ----- Sectores ----------------------------------------------------- */

.sectors__rail { display: flex; gap: 12px; height: clamp(380px, 32vw, 460px); }
.sectors__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	flex: 1 1 0;
	min-width: 0;
	padding: 28px;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--navy-2);
	color: var(--white);
	cursor: pointer;
	transition: flex-grow 0.7s var(--ease), background-color 0.5s ease;
}
.sectors__panel.is-open { flex-grow: 2.8; background: var(--navy); }
.sectors__panel > span { position: relative; }
.sectors__contours { opacity: 0.12; }
.sectors__num { position: absolute !important; top: 26px; left: 28px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--orange); }
.sectors__name { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; white-space: nowrap; }
.sectors__panel:not(.is-open) .sectors__name { writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-start; }
.sectors__desc { max-width: 34ch; max-height: 0; margin-top: 0; overflow: hidden; font-size: 15px; line-height: 1.55; color: var(--on-dark-2); opacity: 0; transition: opacity 0.5s ease, max-height 0.6s var(--ease), margin-top 0.6s var(--ease); }
.sectors__panel.is-open .sectors__desc { max-height: 120px; margin-top: 12px; opacity: 1; }

/* ----- Guías -------------------------------------------------------- */

.covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cover {
	position: relative;
	display: flex;
	flex-direction: column;
	aspect-ratio: 4 / 5;
	padding: 32px 30px 30px 40px;
	overflow: hidden;
	border-radius: 3px 8px 8px 3px;
	box-shadow: 0 18px 40px rgba(11, 23, 54, 0.16);
	transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.cover::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 12px; background: rgba(0, 0, 0, 0.18); }
a.cover:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 30px 60px rgba(11, 23, 54, 0.22); }
.cover--navy { background: var(--navy); color: var(--white); }
.cover--orange { background: var(--orange-btn); color: var(--white); }
.cover--sky { background: var(--navy-3); color: var(--white); }
.cover__brand { font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; }
.cover__title { margin-top: auto; font-family: var(--serif); font-size: clamp(26px, 2.3vw, 34px); line-height: 1.12; text-wrap: balance; }
.cover__foot { align-self: flex-start; margin-top: 24px; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 2px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; }
.cover-item__title { margin-top: 26px; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; }
.cover-item__text { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.cover-item__for { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.cover-item .link-arrow { margin-top: 16px; }

/* ----- Llamado final ------------------------------------------------ */

.cta { position: relative; padding: clamp(80px, 8vw, 120px) 0; overflow: hidden; background: var(--navy); color: var(--white); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px 80px; align-items: center; }
.cta__copy .section-title { margin-bottom: 22px; }
.cta__actions { display: grid; gap: 14px; justify-items: stretch; }
.cta__phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; font-family: var(--serif); font-size: 24px; color: var(--white); }
.cta__phone svg { width: 20px; height: 20px; color: var(--orange); }

/* ----- Pie ---------------------------------------------------------- */

.site-footer { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--on-dark-2); font-size: 15px; }
.site-footer__contours { opacity: 0.04; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: clamp(64px, 7vw, 96px); padding-bottom: 56px; }
.brand--light { color: var(--white); }
.site-footer__tagline { margin-top: 22px; font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--white); }
.site-footer__about { max-width: 40ch; margin-top: 14px; line-height: 1.65; }
.site-footer__title { margin-bottom: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); }
.site-footer__col li + li { margin-top: 10px; }
.site-footer__col a { transition: color 0.2s ease; }
.site-footer__col a:hover { color: var(--white); }
.site-footer__contact li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.site-footer__contact svg { width: 18px; height: 18px; margin-top: 3px; color: var(--orange); }
.site-footer__contact a { word-break: break-word; }
.site-footer__social { display: flex; gap: 18px; margin-top: 22px; font-weight: 700; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 13.5px; }
.site-footer__bottom p:last-child { display: flex; gap: 24px; }
.site-footer__bottom a:hover { color: var(--white); }

.wa {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: var(--white);
	box-shadow: 0 12px 30px rgba(7, 16, 42, 0.3);
	transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.wa svg { width: 28px; height: 28px; }
.wa:hover { transform: scale(1.06); }
.js .wa { opacity: 0; transform: translateY(20px); pointer-events: none; }
.js .wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.js .wa.is-visible:hover { transform: scale(1.06); }

/* ----- Páginas interiores ------------------------------------------ */

.page-hero {
	position: relative;
	padding: calc(var(--header-h) + clamp(56px, 8vh, 96px)) 0 clamp(72px, 9vh, 110px);
	overflow: hidden;
	isolation: isolate;
	background: var(--navy);
	color: var(--white);
}
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 90% 20%, rgba(90, 162, 230, 0.14), transparent 70%); }
.page-hero--compact { padding-bottom: 64px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 56px; }
.page-hero--media .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 88px); }
.page-hero__copy { max-width: 820px; }
.crumbs { margin-bottom: 26px; font-size: 13.5px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(255, 255, 255, 0.35); }
.crumbs a { color: var(--on-dark-2); transition: color 0.2s ease; }
.crumbs a:hover { color: var(--white); }
.page-hero__title { font-family: var(--serif); font-size: clamp(42px, 4.8vw, 74px); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; color: var(--white); }
.page-hero__sentence { max-width: 56ch; margin-top: 24px; font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.65; color: var(--on-dark-2); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.page-hero__media { position: relative; padding: 0 18px 18px 0; }
.page-hero__media::before { content: ""; position: absolute; top: 18px; left: 18px; right: 0; bottom: 0; border: 1px solid rgba(240, 89, 42, 0.55); border-radius: var(--radius); }
.page-hero__media .slot { aspect-ratio: 4 / 3 !important; border-radius: var(--radius); }

/* Índice de servicios. */
.svc-index { padding-top: clamp(40px, 5vw, 72px); }
.svc-index__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; padding: clamp(40px, 5vw, 72px) 0; border-bottom: 1px solid var(--line); }
.svc-index__item:last-child { border-bottom: 0; }
.svc-index__media { display: block; overflow: hidden; border-radius: var(--radius); }
.svc-index__media .slot { transition: transform 1s var(--ease); }
.svc-index__item:hover .svc-index__media .slot { transform: scale(1.04); }
.svc-index__item:nth-child(odd) .svc-index__media { order: 2; }
.svc-index__num { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--orange-btn); }
.svc-index__name { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 42px); font-weight: 400; line-height: 1.12; }
.svc-index__name a:hover { color: var(--orange-btn); }
.svc-index__short { margin-top: 14px; font-size: 18px; color: var(--ink-2); }

.statement__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 80px; align-items: end; }

/* Servicio. */
.svc-intro__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.svc-intro__text { font-family: var(--serif); font-size: clamp(22px, 2vw, 29px); line-height: 1.5; color: var(--ink); }
.svc-intro__text::first-letter { float: left; margin: 0.08em 0.1em 0 0; font-size: 3.4em; line-height: 0.8; color: var(--orange-btn); }
.svc-intro__aside { padding: 32px; border-top: 3px solid var(--orange); border-radius: 0 0 var(--radius) var(--radius); background: var(--paper); }
.svc-intro__aside-title { font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }

.scope__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.scope__item { display: grid; align-content: start; gap: 10px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.scope__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scope__num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--orange); }
.scope__title { margin-top: 8px; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.3; color: var(--ink); }
.scope__title--plain { font-size: 19px; }
.scope__item p:not(.scope__title) { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

.value__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px 88px; align-items: center; }
.value__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
.value__item { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; font-size: 16px; line-height: 1.55; color: var(--on-dark-2); }
.value__item svg { width: 30px; height: 30px; padding: 6px; border: 1px solid rgba(240, 89, 42, 0.5); border-radius: 50%; color: var(--orange); }
.value__item strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 400; color: var(--white); }

.process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.process__copy .section-title { margin-bottom: 22px; }
.slip {
	width: 100%;
	max-width: 520px;
	justify-self: end;
	padding: 34px 34px 50px;
	background: var(--white);
	color: var(--ink);
	font-size: 15.5px;
	font-variant-numeric: tabular-nums;
	box-shadow: 0 30px 60px rgba(11, 23, 54, 0.14), 0 0 0 1px var(--line);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 96.875% 100%, 93.75% calc(100% - 14px), 90.625% 100%, 87.5% calc(100% - 14px), 84.375% 100%, 81.25% calc(100% - 14px), 78.125% 100%, 75% calc(100% - 14px), 71.875% 100%, 68.75% calc(100% - 14px), 65.625% 100%, 62.5% calc(100% - 14px), 59.375% 100%, 56.25% calc(100% - 14px), 53.125% 100%, 50% calc(100% - 14px), 46.875% 100%, 43.75% calc(100% - 14px), 40.625% 100%, 37.5% calc(100% - 14px), 34.375% 100%, 31.25% calc(100% - 14px), 28.125% 100%, 25% calc(100% - 14px), 21.875% 100%, 18.75% calc(100% - 14px), 15.625% 100%, 12.5% calc(100% - 14px), 9.375% 100%, 6.25% calc(100% - 14px), 3.125% 100%, 0 calc(100% - 14px));
	background-color: var(--white);
	outline: 1px solid var(--line);
	outline-offset: -1px;
}
.process--service { background: var(--paper); }
.slip__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 10px; border-bottom: 1px dashed var(--line); font-family: var(--serif); font-size: 18px; }
.slip__head span:last-child { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-3); text-align: right; }
.slip__row { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto; align-items: baseline; gap: 10px; padding: 9px 0; }
.slip__dots { height: 1px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.slip__value { font-size: 13.5px; font-weight: 700; color: var(--orange-btn); text-align: right; }
.slip__result { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; margin: 22px -34px 0; padding: 12px 34px; background: var(--navy); color: var(--white); font-weight: 700; font-size: 15px; }
.slip__result span:first-child { color: var(--orange); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.slip__result span:last-child { text-align: right; }

.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px 88px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: box-shadow 0.3s ease; }
.faq__item[open] { box-shadow: 0 14px 34px rgba(11, 23, 54, 0.08); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 26px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 20px; line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__sign { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; top: 14px; left: 9px; width: 12px; height: 1.5px; background: var(--ink); transition: transform 0.35s var(--ease); }
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign { background: var(--orange-btn); }
.faq__item[open] .faq__sign::before, .faq__item[open] .faq__sign::after { background: var(--white); }
.faq__item[open] .faq__sign::after { transform: rotate(0deg); }
.faq__item p { padding: 0 26px 24px; max-width: 64ch; color: var(--ink-2); }

/* Nosotros. */
.pillars__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.pillars__item { padding: 32px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.pillars__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillars__icon, .benefits__icon, .contact-cards__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-btn); }
.pillars__icon svg, .benefits__icon svg, .contact-cards__icon svg { width: 24px; height: 24px; }
.pillars__name { margin-bottom: 10px; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.2; }
.pillars__item p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.benefits__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px 88px; align-items: start; }
.benefits__head { position: sticky; top: 120px; }
.benefits__head .section-title { margin-bottom: 22px; }
.benefits__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.benefits__item h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; }
.benefits__item p { font-size: 15.5px; color: var(--ink-2); }

.coverage__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px 88px; align-items: center; }
.coverage__head .section-title { margin-bottom: 22px; }
.coverage__regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 24px; }
.coverage__regions li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-dark); font-size: 15.5px; color: var(--on-dark-2); transition: color 0.4s ease; }
.coverage__regions svg { width: 16px; height: 16px; color: rgba(240, 89, 42, 0.45); transition: color 0.4s ease; }
.coverage__regions li.is-lit, .coverage__regions li.was-lit { color: var(--white); }
.coverage__regions li.is-lit svg, .coverage__regions li.was-lit svg { color: var(--orange); }

/* Formularios y contacto. */
.form-section__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.form-section__copy .section-title { margin-bottom: 22px; }
.steps { display: grid; gap: 18px; margin: 32px 0 40px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center; color: var(--ink-2); }
.steps__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--serif); font-size: 18px; }
.contact-cards { display: grid; gap: 14px; }
.contact-cards li { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-cards__icon { grid-row: span 3; margin: 0; }
.contact-cards__label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.contact-cards a { font-weight: 700; word-break: break-word; }
.contact-cards a:hover { color: var(--orange-btn); }
.contact-cards__wa { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #1a9e4b; }
.contact-cards__wa .arrow { width: 13px; height: 13px; }

.form-wrap { padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.form-wrap__title { margin-bottom: 26px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.form-section .form { padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; color: var(--ink); }
.field-input { display: grid; gap: 8px; }
.field-input--full { grid-column: 1 / -1; }
.field-input__label { font-size: 13.5px; font-weight: 700; }
.field-input__label abbr { color: var(--orange-btn); }
.field-input input, .field-input select, .field-input textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--white);
	font-size: 16px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	appearance: none;
}
.field-input select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230b1736' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field-input textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field-input input:focus, .field-input select:focus, .field-input textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(240, 89, 42, 0.15); }
.field-input textarea::placeholder { color: var(--ink-3); }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form__status { flex: 1 1 240px; font-size: 15px; font-weight: 600; }
.form__status.is-ok { color: #1c7a43; }
.form__status.is-error { color: #b23a1d; }
.form.is-sending button[type="submit"] { opacity: 0.6; pointer-events: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.prose { max-width: 820px; }
.prose h2 { margin: 44px 0 12px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: 1em; color: var(--ink-2); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--orange); }

/* ----- Animación: estado inicial ------------------------------------ */

.js [data-hero] .masked__line > span { transform: translateY(105%); }
.js [data-hero-foot] { opacity: 0; }
.js [data-hero] .masked__line > span, .js [data-hero-foot] { animation: fq-failsafe 0s linear 2.5s forwards; }
.js.motion-ready [data-hero] .masked__line > span, .js.motion-ready [data-hero-foot] { animation: none; }
@keyframes fq-failsafe { to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
	.js [data-hero] .masked__line > span { transform: none; }
	.js [data-hero-foot] { opacity: 1; }
	.slot img[data-parallax] { height: 100%; margin-top: 0; }
}

/* ----- Tableta ------------------------------------------------------ */

@media (max-width: 1180px) {
	.nav, .topbar__tagline { display: none; }
	.menu-toggle { display: block; }
	.mainbar__end { margin-left: auto; }
	.pillars__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
	.timeline__line { display: none; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	:root { --topbar-h: 0px; }
	.topbar { display: none; }
	.hero__grid, .page-hero--media .page-hero__grid, .about-split__grid, .why__grid, .diag__grid, .diag__intro,
	.section-head, .cta__inner, .statement__grid, .svc-intro__grid, .value__grid, .process__grid, .faq__grid,
	.benefits__grid, .coverage__grid, .form-section__grid, .svc-index__item { grid-template-columns: minmax(0, 1fr); }
	.diag__text { grid-column: 1; grid-row: auto; }
	.compliance__cards, .need__grid { grid-template-columns: minmax(0, 1fr); }
	.figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.figures__item:nth-child(3) { border-left: 0; }
	.figures__item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
	.hero__media { max-width: 560px; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats__item:nth-child(3) { padding-left: 0; border-left: 0; }
	.cards, .covers, .scope__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.svc-index__item:nth-child(odd) .svc-index__media { order: 0; }
	.diag__result, .benefits__head { position: static; }
	.slip { justify-self: start; }
	.sectors__rail { flex-direction: column; height: auto; }
	.sectors__panel, .sectors__panel.is-open { min-height: 190px; background: var(--navy); }
	.sectors__panel:not(.is-open) .sectors__name { writing-mode: horizontal-tb; transform: none; align-self: auto; }
	.sectors__desc { max-height: none; margin-top: 10px; opacity: 1; }
	.about-split__quote { right: 0; }
	.clients__inner { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ----- Teléfono ----------------------------------------------------- */

@media (max-width: 640px) {
	:root { --mainbar-h: 70px; }
	body { font-size: 16px; }
	.brand__word { font-size: 25px; }
	.mainbar__end .btn { display: none; }
	.hero__title { font-size: 44px; }
	.hero__actions .btn, .page-hero__actions .btn { width: 100%; }
	.hero__media { padding: 0 0 28px 16px; }
	.hero__media::before { right: -8px; left: 8px; top: 24px; }
	.hero__card { position: relative; margin-top: -60px; width: calc(100% - 16px); }
	.stats__item { padding: 24px 16px 0 0; }
	.stats__item + .stats__item { padding-left: 16px; }
	.stats__item:nth-child(3) { padding-left: 0; }
	.cards, .covers, .scope__list, .pillars__list, .benefits__list, .why__list, .value__list, .timeline, .coverage__regions { grid-template-columns: minmax(0, 1fr); }
	.coverage__regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.about-split__quote { position: relative; width: auto; margin: -40px 16px 0; }
	.about-split__media { padding-bottom: 0; }
	.diag__q fieldset { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
	.diag__choices label { flex: 1; }
	.diag__result { padding: 28px 22px; }
	.slip { padding: 26px 20px 44px; }
	.slip__result { margin: 20px -20px 0; padding: 12px 20px; }
	.slip__row { grid-template-columns: 1fr auto; }
	.slip__dots { display: none; }
	.form { grid-template-columns: minmax(0, 1fr); }
	.form__foot .btn { width: 100%; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.svc-intro__text::first-letter { font-size: 2.8em; }
	.figures { grid-template-columns: minmax(0, 1fr); }
	.figures__item + .figures__item { border-left: 0; border-top: 1px solid var(--line-dark); }
	.need-card__head { grid-template-columns: 48px 1fr; }
	.need-card__icon { width: 48px; height: 48px; }
	.wa { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
