/* HS Paneles — main styles
   ------------------------------------------------------------------ */

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--hsp-font-body);
	font-size: var(--hsp-fs-body);
	line-height: var(--hsp-lh-body);
	color: var(--hsp-ink);
	background: var(--hsp-bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hsp-red); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
	font-family: var(--hsp-font-head);
	line-height: 1.05;
	margin: 0 0 .4em;
	color: var(--hsp-navy);
	letter-spacing: 0;
}
h1 { font-size: var(--hsp-fs-title); font-weight: 800; line-height: 1; }
h2 { font-size: var(--hsp-fs-subtitle); font-weight: 700; line-height: 1.09; }
h3 { font-size: var(--hsp-fs-h3); font-weight: 700; }
p { margin: 0 0 1rem; }

/* Accents for two-tone titles */
.accent-red { color: var(--hsp-red); }
.accent-green { color: var(--hsp-green); }
.accent-muted { color: var(--hsp-blue-soft); }

/* Layout */
.container {
	width: 100%;
	max-width: var(--hsp-container);
	margin-inline: auto;
	padding-inline: var(--hsp-gutter);
}
.section { padding-block: var(--hsp-section-y); background: var(--hsp-white); }
.section--soft { background: var(--hsp-bg-alt); }
.section--dark { background: var(--hsp-section-bg-dark); color: #fff; }
.section--dark .section__title { color: #fff; }
.section--dark .section__label { color: #fff; }

.section__head { max-width: 820px; margin-bottom: 2.5rem; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.section__label {
	display: inline-block;
	font-family: var(--hsp-font-head);
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1;
	letter-spacing: var(--hsp-tracking-label);
	text-transform: uppercase;
	color: var(--hsp-red);
	margin-bottom: .75rem;
}
.section__label--muted { color: var(--hsp-muted); }
.section--dark .section__label { color: var(--hsp-blue-soft); }
.section__title { color: var(--hsp-title); font-size: 3.5rem; letter-spacing: -0.04em; }
h1.section__title {
	font-size: 3.5rem;
}
h2.section__title {
	font-size: 2.5rem;
}
h3.section__title {
	font-size: 2rem;
}
.section__lead { color: var(--hsp-muted); font-size: 1.05rem; max-width: 60ch; }
.section--dark .section__lead { color: rgba(255,255,255,.82); }
.section__cta { display: inline-block; font-weight: 800; font-family: var(--hsp-font-body); font-size: 1.1rem; letter-spacing: .02em; color: var(--hsp-red); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.section__cta:after { content: "→"; margin-left: .5rem; transition: transform .3s ease; display: inline-block; }
.section__cta--green { color: var(--hsp-green); }
.section__cta:hover { text-decoration: none; }
.empty { color: var(--hsp-muted); font-style: italic; }
.empty--dark { color: rgba(255,255,255,.7); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .85rem 1.6rem;
	border-radius: 0;
	font-family: var(--hsp-font-head);
	font-weight: 600; font-size: 1rem; letter-spacing: .02em;
	text-transform: uppercase; cursor: pointer;
	border: 2px solid transparent; transition: all .15s; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--hsp-red); color: #fff; }
.btn--primary:hover { background: #b0001b; color: #fff; }
.btn--green { background: var(--hsp-green); color: #fff; }
.btn--green:hover { background: #268a41; color: #fff; }
.btn--outline { background: transparent; color: var(--hsp-navy); border-color: var(--hsp-navy); }
.btn--outline:hover { background: var(--hsp-navy); color: #fff; }
.btn--whatsapp { background: #25d366; color: #fff; font-family: var(--hsp-font-body); font-weight: 600; text-transform: none; letter-spacing: .01em; }
.btn--whatsapp:hover { background: #1ebe5a; color: #fff; }
.btn--whatsapp .btn__ico { width: 20px; height: 20px; filter: brightness(0) invert(1); }

/* Header — always white and fixed */
body { padding-top: 105px; }
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	background: #fff; color: var(--hsp-navy);
	box-shadow: 0 2px 14px rgba(20,32,58,.08);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 105px; }
.site-logo { color: inherit; font-family: var(--hsp-font-head); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; }
.site-logo:hover { text-decoration: none; }
.site-logo__img { max-height: 28px; width: auto; }
.site-nav { margin-inline: auto; }
.primary-menu { display: flex; gap: 1.9rem; }
.primary-menu a { color: inherit; font-family: var(--hsp-font-body); font-weight: 500; font-size: 0.85rem; text-transform: none; }
.primary-menu a:hover { color: var(--hsp-red); text-decoration: none; }
.primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { color: var(--hsp-red); }
.site-header__cta { margin-left: .5rem; font-family: var(--hsp-font-body); font-weight: 600; font-size: .9rem; text-transform: none; letter-spacing: .01em; white-space: nowrap; padding: .6rem 1.35rem; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0; color: inherit; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s ease, opacity .2s ease; transform-origin: center; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* Hero */
.hero { position: relative; color: #fff; }
.hero__stage { position: relative; min-height: clamp(500px, 50vw, 650px); overflow: hidden; background: var(--hsp-navy); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
/* .hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); } */

/* Right foreground panel (worker) with red diagonal edge */
.hero__diag { position: absolute; top: -52px; right: -72px; bottom: 0; width: 65%; background: var(--hsp-red); clip-path: polygon(119% 0, 100% 0, 100% 100%, 0% 105%); transform: translateX(-72px); z-index: 1; }
.hero__fig { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; background: #c2d2e6; clip-path: polygon(119% 0, 100% 0, 100% 100%, 0% 100%); z-index: 1; }
.hero__worker { position: absolute; right: 2%; bottom: 0; height: 92%; width: auto; max-width: none; object-fit: contain; z-index: 2; }

.hero__inner { position: relative; z-index: 3; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(40px, 6vw, 70px); }
.hero__label { display: inline-block; background: var(--hsp-red); color: #fff; font-family: var(--hsp-font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: var(--hsp-tracking-label); text-transform: uppercase; padding: .5px 1.5rem .5px .8rem; line-height: 1.2; border-radius: 0; margin-bottom: 1.5rem; }
.hero__title { color: #fff; font-size: clamp(3.25rem, 6.5vw, 5rem); line-height: .98; margin-bottom: 1.5rem; max-width: 15ch; text-transform: uppercase; }
.hero__subtitle { color: #fff; font-size: 1.1rem; font-weight: 700; max-width: 38ch; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.hero__buttons .btn { font-family: var(--hsp-font-body); font-weight: 700; text-transform: none; letter-spacing: .01em; padding: .95rem 1.9rem; font-size: 1rem; }
.hero__buttons .btn--outline { color: #fff; border-color: rgba(255,255,255,.75); }
.hero__buttons .btn--outline:hover { background: #fff; color: var(--hsp-navy); }

/* Stats band */
.hero__stats-band { background: var(--hsp-steel); padding: 1rem 0; }
.hero__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(2rem, 6vw, 5rem); padding-block: 2.1rem; margin: 0; }
.hero__stats .stat { display: flex; flex-direction: column; text-align: center; }
.stat__num { display: inline-block; font-variant-numeric: tabular-nums; }
.hero__stats .stat__num { font-family: var(--hsp-font-head); font-weight: 700; font-size: 2.8rem; color: #fff; line-height: 1; }
.hero__stats .stat__label { font-size: .82rem; color: rgba(255,255,255,.82); }

/* Generic card grids */
.cards { display: grid; gap: 1.5rem; }
.cards--productos { grid-template-columns: repeat(3, 1fr); }
.cards--testimonios { grid-template-columns: repeat(3, 1fr); }

.card { background: #fff; border: 1px solid var(--hsp-line); border-radius: var(--hsp-radius); padding: 1.75rem; position: relative; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 14px 34px rgba(20,32,58,.12); transform: translateY(-2px); }
.card__title { color: var(--hsp-navy); }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--hsp-red); text-decoration: none; }
.card__text { color: var(--hsp-muted); }
.card__icon { width: 92px; height: 68px; object-fit: contain; margin-bottom: 1rem; }
.card__link { display: inline-block; margin-top: .5rem; color: var(--hsp-red); font-size: 1.5rem; line-height: 1; }

/* Productos (archive/single card) */
.card--producto .card__title { margin-top: 0; }

/* Home product section */
.section--periwinkle { background: var(--hsp-periwinkle); }
.section--periwinkle .section__cta { color: var(--hsp-red); }

.cards--productos { gap: 1.75rem; grid-auto-rows: 1fr; }
.pcard { background: #fff; border-radius: 0; }
.pcard { height: 100%; }
.pcard__inner {
	position: relative; display: block; overflow: hidden; height: 100%;
	min-height: 360px; padding: 2rem 2rem 2.5rem; color: inherit;
	background: #fff; transition: background .3s ease, color .3s ease;
}
.pcard__inner:hover { text-decoration: none; background: var(--hsp-card-hover); }
.pcard__title { color: var(--hsp-navy); font-family: var(--hsp-font-body); font-weight: 700; font-size: 1.2rem; text-transform: none; margin: 0 0 1rem; max-width: 62%; transition: color .3s ease; }
.pcard__text { color: var(--hsp-card-text); max-width: 60%; margin: 0; transition: color .3s ease; font-size: 0.9rem; line-height: 1.2; }
.pcard__arrow { position: absolute; left: 2rem; bottom: 1.5rem; color: var(--hsp-red); font-size: 1.6rem; line-height: 1; transition: color .3s ease; z-index: 2; }
.pcard__art { position: absolute; right: 0; bottom: 0; width: 44%; max-width: 200px; pointer-events: none; transform: translate(0, 0); transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .3s ease; z-index: 1; }
.pcard__art img { width: 100%; height: auto; display: block; }
.pcard__inner:hover .pcard__title,
.pcard__inner:hover .pcard__text { color: #fff; }
.pcard__inner:hover .pcard__arrow { color: #fff; }
.pcard__inner:hover .pcard__art { transform: translate(8%, 8%) scale(1.08); }

/* Catálogo de productos (archive) */
.catalog-intro { position: relative; overflow: hidden; padding-block: var(--hsp-section-y); background: #fff; min-height: clamp(260px, 24vw, 360px); }
.catalog-intro .section__cta {
	color: #1F4355;
	text-transform: none;
	font-weight: 700;
}

.catalog-intro__deco { position: absolute; top: -75px; bottom: auto; right: max(var(--hsp-gutter), calc((100% - var(--hsp-container)) / 2)); width: clamp(240px, 62vw, 520px); aspect-ratio: 1539 / 1186; background: url('../img/hero-productos.png') no-repeat right top / contain; pointer-events: none; z-index: 0; opacity: 0.5 }
.catalog-intro .container { position: relative; z-index: 1; }
.catalog-intro__title { color: var(--hsp-title); text-transform: uppercase; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: .5rem; padding-bottom: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid #e5e7eb; }
.catalog-filters__btn { padding: .55rem 1.15rem; border: 1px solid var(--hsp-line); background: #fff; color: var(--hsp-navy); font-size: .8rem; cursor: pointer; border-radius: 0; transition: background .15s, color .15s; }
.catalog-filters__btn:hover { border-color: var(--hsp-navy); }
.catalog-filters__btn.is-active { background: var(--hsp-navy); color: #fff; border-color: var(--hsp-navy); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; padding-bottom: 4rem; }
.pcat { background: #fff; border: 1px solid var(--hsp-line); display: flex; flex-direction: column; }
.pcat__media { position: relative; display: block; aspect-ratio: 16/10; background: var(--hsp-white); overflow: hidden; }
.pcat__media img, .pcat__img { width: 100%; height: 100%; object-fit: cover; }
.pcat__tag { position: absolute; left: 10px; bottom: 10px; background: var(--hsp-green); color: #fff; font-family: var(--hsp-font-head); font-weight: 400; font-size: .8rem; letter-spacing: .06em; padding: .3rem .7rem; }
.pcat__hidden { display: none; }
.pcat__zoom { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: rgba(20,32,58,.6); color: #fff; border-radius: 50%; opacity: 0; transform: scale(.85); transition: opacity .18s, transform .18s; }
.pcat__media:hover .pcat__zoom, .pcat__media:focus-visible .pcat__zoom { opacity: 1; transform: scale(1); }
.pcat__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pcat__title { font-family: var(--hsp-font-head); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; color: var(--hsp-navy); margin: 0 0 .6rem; }
.pcat__title a { color: inherit; }
.pcat__title a:hover { color: var(--hsp-red); text-decoration: none; }
.pcat__text { color: var(--hsp-muted); font-size: .95rem; margin: 0 0 1.25rem; }
.pcat__link { margin-top: auto; color: var(--hsp-red); font-weight: 600; }
.catalog-download { background: var(--hsp-green); color: #fff; padding: 1.75rem; display: flex; flex-direction: column; }
.catalog-download__eyebrow { font-family: var(--hsp-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; opacity: .85; }
.catalog-download__title { color: #fff; font-family: var(--hsp-font-head); font-weight: 700; font-size: 1.6rem; text-transform: none; margin: .5rem 0 .75rem; }
.catalog-download__text { color: rgba(255,255,255,.9); font-size: .95rem; }
.catalog-download__file { display: flex; align-items: center; gap: .9rem; background: #1f3a52; color: #fff; padding: .8rem 1rem; margin: 1.25rem 0; }
.catalog-download__file-ico { background: var(--hsp-red); color: #fff; font-family: var(--hsp-font-head); font-weight: 700; font-size: .72rem; padding: .5rem .5rem; border-radius: 3px; }
.catalog-download__file-meta { display: flex; flex-direction: column; line-height: 1.2; }
.catalog-download__file-name { font-weight: 600; font-size: .92rem; }
.catalog-download__file-size { font-size: .8rem; color: rgba(255,255,255,.7); }
.catalog-download__btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.55); text-transform: none; font-family: var(--hsp-font-body); font-weight: 600; margin-top: auto; cursor: pointer; }
.catalog-download__btn:hover { background: #fff; color: var(--hsp-green); }

/* CV / download modal (Fancybox) */
.cv-modal { max-width: 440px; padding: 2.5rem; background: #fff; border-radius: 0; }
.cv-modal__title { font-family: var(--hsp-font-head); font-weight: 700; font-size: 1.6rem; color: var(--hsp-navy); text-transform: none; margin: 0 0 .5rem; }
.cv-modal__text { color: var(--hsp-muted); margin: 0 0 1.5rem; }
.cv-form label { display: block; margin-bottom: 1rem; font-weight: 600; color: var(--hsp-navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .02em; }
.cv-form input { width: 100%; padding: .85rem .9rem; border: 1px solid #ddd9d4; background: #fff; margin-top: .4rem; font-family: inherit; font-size: .95rem; }
.cv-form__submit { width: 100%; justify-content: center; }
.cv-form__msg { margin: 1rem 0 0; font-size: .9rem; color: var(--hsp-navy); min-height: 1.2em; }
.cv-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Servicios (dark) */
.section--servicios .section__label { color: #fff; }
.section--servicios .section__title .accent-muted { color: #C7CDDA; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.svc-card { background: #5B7BA0; padding: 2rem 1.5rem; margin-left: 1px; border-right: 1px solid rgba(255,255,255,.08); transition: background-color .35s ease; }
.svc-card:last-child { border-right: 0; }
.svc-card:hover { background: var(--hsp-red); }
.svc-card__icon > * { transform-origin: 50% 100%; }
.svc-card:hover .svc-card__icon > * { animation: hsp-svc-icon .7s cubic-bezier(.3,.7,.3,1); }
@keyframes hsp-svc-icon {
	0%   { transform: translateY(0) rotate(0) scale(1); }
	35%  { transform: translateY(-10px) rotate(-6deg) scale(1.08); }
	65%  { transform: translateY(0) rotate(3deg) scale(.98); }
	100% { transform: translateY(0) rotate(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.svc-card:hover .svc-card__icon > * { animation: none; }
}
.svc-card__icon { display: flex; align-items: flex-end; height: 84px; margin-bottom: 1.5rem; color: #fff; }
.svc-icon { width: 72px; height: auto; max-height: 84px; object-fit: contain; }
.svc-card__title { color: #fff; text-transform: none; margin-bottom: .5rem; }
.svc-card__text { color: rgba(255,255,255,.8); font-size: .92rem; margin: 0; }
.svc-note { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; color: rgba(255,255,255,1); }
.svc-note svg { width: 34px; height: 34px; flex: none; color: var(--hsp-blue-soft); }
.svc-note__icon { width: 34px; height: auto; flex: none; }

/* Proyectos (featured + grid) */
.proj-layout { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; gap: .1rem; height: 650px; }
.proj-featured, .proj-rest { min-height: 0; }
.card--proyecto { min-height: 0; }
.proj-rest { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .1rem; height: 100%; }
.proj-featured { height: 100%; }
.card--proyecto { padding: 0; overflow: hidden; border: none; border-radius: 0; display: block; height: 100%; }
.card--proyecto .card__media { display: block; position: relative; height: 100%; background: var(--hsp-navy); overflow: hidden; }
.card--proyecto .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card--proyecto:hover { transform: none; box-shadow: none; }
.card--proyecto:hover .card__media img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
	.card--proyecto .card__media img { transition: none; }
}
.card--proyecto .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,58,0) 45%, rgba(20,32,58,.85) 100%); }
.card--proyecto .card__overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.4rem; z-index: 1; }
.card--proyecto .card__tag { display: block; color: #fff; font-family: var(--hsp-font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .5rem; }
.card--proyecto .card__title { display: block; margin: 0; color: #fff; font-family: var(--hsp-font-body); font-weight: 700; font-size: 1.15rem; line-height: 1.15; text-transform: none; }
.card--proyecto .card__meta { display: block; color: rgba(255,255,255,.9); font-family: var(--hsp-font-body); font-size: .88rem; margin: .45rem 0 0; }
.proj-featured .card--proyecto .card__overlay { padding: 2rem 2rem 2.25rem; }
.proj-featured .card--proyecto .card__tag { font-size: 1rem; margin-bottom: .75rem; }
.proj-featured .card--proyecto .card__title { font-size: 2rem; }
.proj-featured .card--proyecto .card__meta { font-size: 1.15rem; margin-top: .75rem; }

/* Card: servicio (light page context) */
.cards--servicios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card--servicio .card__icon { width: 48px; height: 48px; }

/* Card: testimonio (white card on dark section) */
/* Testimonios (sobre fondo oscuro, sin tarjeta) */
.cards--testimonios { gap: 2.5rem; }
.tcard { position: relative; padding-top: 2.75rem; display: flex; flex-direction: column; height: 100%; }
@supports (grid-template-rows: subgrid) {
	.tcard { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; height: auto; }
	.tcard__rule { align-self: end; }
}
.tcard__quote { position: absolute; top: 0; left: 0; font-size: 3rem; line-height: .8; color: var(--hsp-red); font-weight: 700; }
.tcard__cita { flex: 1 1 auto; margin: 0 0 1.5rem; font-style: italic; font-size: 1.05rem; line-height: 1.55; color: #fff; }
.tcard__rule { display: block; width: 100%; max-width: 320px; height: 1px; background: rgba(255,255,255,.45); margin-bottom: 1.25rem; }
.tcard__author { display: flex; flex-direction: column; gap: .25rem; }
.tcard__empresa { font-family: var(--hsp-font-head); font-weight: 700; font-size: 1.3rem; color: #fff; }
.tcard__cargo { font-size: .92rem; color: rgba(255,255,255,.72); }
.accent-soft { color: #dde1ec; }
.clientes__rule { display: block; width: 180px; height: 4px; background: var(--hsp-red); margin-top: 3.5rem; }

/* Logos strip */
.logos-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; align-items: stretch; margin-bottom: 3.5rem; }
.logos-strip__item { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 14px; padding: 1rem 1.25rem; min-height: 96px; }
.logos-strip__img { max-height: 56px; max-width: 100%; width: auto; }
.logos-strip__ph { display: block; width: 100%; height: 72px; border-radius: 0; background: rgba(255,255,255,.14); }

/* Nosotros (light, media + badge) */
.section--nosotros { background: #dde1e9; }
.section--nosotros__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.section--nosotros__text .section__lead { color: #4a5a70; max-width: none; }
.section--nosotros__text .section__lead p { color: #4a5a70; }
.nosotros__links { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem; margin-top: 1.5rem; max-width: 460px; }
.nosotros__link { font-family: var(--hsp-font-head); font-weight: 600; color: var(--hsp-red); letter-spacing: .02em; border-bottom: 2px solid currentColor; padding-bottom: 2px; display: inline-block; width: max-content; }
.nosotros__link:hover { text-decoration: none; color: #b0001b; }
.section--nosotros__media { position: relative; }
.nosotros__img { width: 100%; border-radius: 0; display: block; }
.nosotros__badge { position: absolute; top: 24px; right: -16px; background: #108c14; color: #fff; padding: 1.5rem 1.75rem; border-radius: 0; max-width: 200px; box-shadow: 0 16px 36px rgba(16,140,20,.28); z-index: 2; }
.nosotros__badge-num { display: block; font-family: var(--hsp-font-head); font-weight: 800; font-size: 2.8rem; line-height: 1; margin-bottom: .4rem; }
.nosotros__badge-label { font-size: .95rem; line-height: 1.25; }

/* Contacto (white) */
.section--contacto { position: relative; overflow: hidden; }
.section--contacto__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.section--contacto .section__label { color: #1c1b17; }
.section--contacto .section__title { color: #152036; }
.section--contacto .section__lead { color: #152036; max-width: 42ch; }
.section--contacto .btn--whatsapp { margin-top: 1.5rem; }
.contacto__deco { position: absolute; left: 0; bottom: 0; width: clamp(280px, 28vw, 440px); z-index: 0; pointer-events: none;
	background: url('../img/contacto-panel.png') no-repeat left bottom / contain; aspect-ratio: 1013 / 1297; opacity: .9; }

/* Footer */
.site-footer { background: #1f4355; color: rgba(255,255,255,.85); padding-block: 3rem 2.5rem; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.site-footer__brand { display: inline-flex; flex-direction: column; gap: .1rem; }
.site-footer__brand:hover { text-decoration: none; }
.site-footer__logo { color: #fff; font-family: var(--hsp-font-head); font-weight: 800; font-size: 1.8rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.site-footer__tagline { color: rgba(255,255,255,.6); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; }
.site-footer__logo-img { display: block; width: 150px; max-width: 100%; height: auto; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 2rem; }
.footer-menu a { color: #fff; text-transform: none; font-size: 1.05rem; }
.footer-menu a:hover { color: var(--hsp-blue-soft); text-decoration: none; }
.site-footer__rule { border: 0; border-top: 1px solid rgba(255,255,255,.18); margin: 2rem 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem 2rem; }
.site-footer__copy { margin: 0; color: #fff; }
.site-footer__credit { margin: .15rem 0 0; font-size: .8rem; color: rgba(255,255,255,1); }
.site-footer__email { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__social { display: flex; gap: .75rem; margin-top: 1.75rem; }
.site-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; background: #fff; color: var(--hsp-navy); }
.site-footer__social a:hover { background: var(--hsp-blue-soft); }
.site-footer__social svg { width: 22px; height: 22px; }

/* Inner pages */
.page-head { padding-block: 2.5rem 1.5rem; }
.page-head__eyebrow { color: var(--hsp-red); font-family: var(--hsp-font-head); text-transform: uppercase; letter-spacing: var(--hsp-tracking-label); }
.page-head__title { color: var(--hsp-navy); text-transform: uppercase; }
.page-head__lead { color: var(--hsp-muted); max-width: 65ch; }
.site-main { min-height: 40vh; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters__item { padding: .4rem .9rem; border: 1px solid var(--hsp-line); border-radius: 999px; color: var(--hsp-navy); font-size: .9rem; }
.filters__item:hover, .filters__item.is-active { background: var(--hsp-navy); color: #fff; text-decoration: none; }

.site-main.single { padding-block: clamp(2rem, 4vw, 3.5rem) 4rem; } /* .site-main: el <body> de los detalles también lleva la clase "single". */
.single__back { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; font-size: .9rem; color: var(--hsp-navy); }
.single__back:hover { color: var(--hsp-red); text-decoration: none; }
.single--proyecto .single__head { margin-bottom: 1.75rem; }
.single--proyecto .single__title { margin: 0 0 .75rem; }
.single--proyecto .single__media { margin: 0 0 2rem; aspect-ratio: 16 / 9; background: var(--hsp-navy); }
.single--proyecto .single__media a { display: block; height: 100%; }
.single--proyecto .single__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.single--proyecto .single__gallery a { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--hsp-navy); }
.single--proyecto .single__gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.single--proyecto .single__gallery a:hover img { transform: scale(1.06); }
.single__eyebrow { display: inline-block; font-family: var(--hsp-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--hsp-red); margin-bottom: .4rem; }
.single__title { color: var(--hsp-navy); }
.single__lead { color: var(--hsp-muted); font-size: 1.1rem; }
.single__media { margin: 1.5rem 0; border-radius: var(--hsp-radius); overflow: hidden; }
.single__meta { display: flex; flex-wrap: wrap; gap: 1.5rem; color: var(--hsp-muted); }
.single__meta li { list-style: none; }
.single__espec table { width: 100%; border-collapse: collapse; }
.single__espec th, .single__espec td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--hsp-line); }
.single__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }

.page--nosotros .nosotros__metricas { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.page--nosotros .stat__num { font-family: var(--hsp-font-head); font-weight: 800; font-size: 2.5rem; color: var(--hsp-navy); }
.page--nosotros .timeline__anio { font-family: var(--hsp-font-head); font-weight: 700; color: var(--hsp-red); margin-right: 1rem; }
.page--contacto__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-block: 1rem 4rem; }
.contacto__datos { display: grid; gap: .5rem; margin: 1rem 0; color: var(--hsp-muted); }
.contacto__mapa { margin-top: 1.5rem; }
.contacto__mapa iframe { width: 100%; border: 0; border-radius: var(--hsp-radius); }

/* CF7 form — two-column grid */
.wpcf7-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.wpcf7-form .fg-full { grid-column: 1 / -1; }
.wpcf7-form label { display: block; margin: 0; font-weight: 600; color: var(--hsp-navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.wpcf7-form input:not([type=submit]), .wpcf7-form textarea, .wpcf7-form select {
	width: 100%; padding: .85rem .9rem; border: 1px solid #ddd9d4; background: #fff;
	border-radius: 0; font-family: inherit; font-size: .95rem; margin-top: .4rem; color: var(--hsp-ink);
}
.wpcf7-form textarea { min-height: 110px; }
.wpcf7-form input[type=submit] { background: var(--hsp-red); color: #fff; border: 0; padding: .9rem 1.6rem; width: 100%; border-radius: 0; font-family: var(--hsp-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.wpcf7-form input[type=submit]:hover { background: #b0001b; }
/* Mensaje de respuesta: reubicado arriba del botón (JS), a todo el ancho de la grilla */
.wpcf7-form .form-grid .wpcf7-response-output { grid-column: 1 / -1; }
.wpcf7-form .wpcf7-response-output { margin: 0 0 .25rem; padding: .85rem 1rem; border-radius: 10px; border: 1px solid var(--hsp-line); font-size: .9rem; line-height: 1.5; }
.wpcf7-form .wpcf7-response-output:empty { display: none; }
.ct-form .wpcf7-form.sent .wpcf7-response-output { border-color: #1a7f37; background: #e9f6ec; color: #11632b; }
.ct-form .wpcf7-form.invalid .wpcf7-response-output,
.ct-form .wpcf7-form.failed .wpcf7-response-output,
.ct-form .wpcf7-form.spam .wpcf7-response-output { border-color: var(--hsp-red); background: #fdecee; color: #a0001a; }

/* Pagination */
.pagination { margin-top: 2rem; display: flex; gap: .5rem; }
.pagination .page-numbers { padding: .4rem .8rem; border: 1px solid var(--hsp-line); border-radius: 6px; color: var(--hsp-navy); }
.pagination .current { background: var(--hsp-navy); color: #fff; }

/* ===== Página Nosotros ===== */
.page--nosotros .section { padding-block: clamp(40px, 6vw, 80px); }

/* Hero */
.nos-hero { position: relative; overflow: hidden; background: #fff; min-height: clamp(260px, 24vw, 360px); }
.page--nosotros .nos-hero { padding-block: var(--hsp-section-y); }
.nos-hero__deco { position: absolute; top: -75px; bottom: auto; right: max(var(--hsp-gutter), calc((100% - var(--hsp-container)) / 2)); width: clamp(240px, 62vw, 570px); aspect-ratio: 1491 / 1257; background: url('../img/hero-nosotros.png') no-repeat right top / contain; pointer-events: none; opacity: 0.5; }
.nos-hero .container { position: relative; z-index: 1; }
.nos-hero__title { color: var(--hsp-title); text-transform: uppercase; }
.nos-hero__sub { color: #4a5565; max-width: 48ch; }

/* Eyebrow con línea roja (páginas internas) */
/* Variante con línea roja a la izquierda (independiente de la página) */
.section__label--line { display: inline-flex; align-items: center; gap: .9rem; }
.section__label--line::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: none; }
.nos-hero .section__label--line { vertical-align: top; }
/* Variante con sublínea roja debajo del label (independiente de la página) */
.section__label--under { display: inline-block; }
.section__label--under::after { content: ""; display: block; width: 48px; height: 3px; background: var(--hsp-red); margin-top: .6rem; }

/* Empresa líder / Quiénes somos */
.nos-lider__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.nos-lider__title { color: var(--hsp-title); text-transform: uppercase; margin-bottom: 1.5rem; }
.nos-lider__media { position: relative; }
.nos-lider__img { width: 100%; display: block; }
.nos-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--hsp-steel); margin: 0; }
.nos-stats .stat { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1rem; border-right: 1px solid rgba(255,255,255,.15); text-align: left; }
.nos-stats .stat:last-child { border-right: 0; }
.nos-stats .stat__num { font-family: var(--hsp-font-head); font-weight: 800; font-size: 1.7rem; color: #fff; line-height: 1; }
.nos-stats .stat__label { font-size: .72rem; line-height: 1.35; color: rgba(255,255,255,.8); }
.nos-lider__text { color: #4a5565; }
.nos-lider__text p { margin-bottom: 1rem; color: #4a5565; }
.nos-sectores { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; margin: 1.75rem 0; }
.nos-sectores__item { position: relative; padding-left: 1rem; }
.nos-sectores__item::before { content: ""; position: absolute; left: 0; top: .4rem; width: 8px; height: 8px; background: var(--hsp-red); border-radius: 50%; }
.nos-sectores__t { display: block; font-family: var(--hsp-font-head); font-weight: 700; color: var(--hsp-navy); text-transform: uppercase; }
.nos-sectores__x { display: block; color: #4a5565; font-size: .9rem; }
.nos-lider__cta { margin-top: .5rem; }

/* Trayectoria (timeline horizontal) */
.nos-tray .section__title { color: #fff; margin-bottom: 2.5rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.2); }
.timeline__item { position: relative; padding-top: 2.5rem; }
.timeline__dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--hsp-section-bg-dark, #1F4355); border: 2px solid rgba(255,255,255,.75); }
.timeline__item:first-child .timeline__dot { background: var(--hsp-red); border-color: var(--hsp-red); }
.timeline__year { display: inline-block; background: var(--hsp-green); color: #fff; font-family: var(--hsp-font-head); font-weight: 700; font-size: .85rem; padding: .2rem .6rem; margin-bottom: .75rem; }
.timeline__item:first-child .timeline__year { background: var(--hsp-red); }
.timeline__title { color: #fff; text-transform: uppercase; font-size: 1.05rem; margin: 0 0 .5rem; }
.timeline__text { color: rgba(255,255,255,.75); font-size: .88rem; margin: 0; }

/* Valores */
.nos-valores .section__title { color: var(--hsp-title); text-transform: uppercase; margin-bottom: 2.5rem; }
.nos-valores__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.nvcard__media { aspect-ratio: 16/11; overflow: hidden; background: var(--hsp-navy); margin-bottom: 1rem; }
.nvcard__img { width: 100%; height: 100%; object-fit: cover; }
.nvcard__title { font-family: var(--hsp-font-head); font-weight: 700; color: var(--hsp-navy); text-transform: uppercase; font-size: 1.05rem; border-top: 2px solid var(--hsp-red); padding-top: .75rem; margin: 0 0 .5rem; display: inline-block; }
.nvcard__text { color: #4a5565; font-size: .9rem; margin: 0; }

/* Equipo */
.nos-equipo { position: relative; overflow: hidden; background: #F3F4F6; }
.nos-equipo__deco { position: absolute; top: 0; right: 0; left: auto; width: clamp(420px, 55vw, 820px); aspect-ratio: 1539 / 1186; background: url('../img/hero-productos.png') no-repeat right top / contain; opacity: .35; pointer-events: none; }
.nos-equipo__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.nos-equipo__cita { margin: 1rem 0 0; font-family: var(--hsp-font-head); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; color: var(--hsp-navy); text-transform: uppercase; }
.nos-equipo__img { width: 100%; display: block; }

/* CTA proyecto (verde) */
.cta-proyecto { position: relative; overflow: hidden; background: #108c14; color: #fff; }
.cta-proyecto__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-proyecto .section__label { color: rgba(255,255,255,.85); }
.cta-proyecto__title { color: #fff; text-transform: uppercase; margin: 0; }
.cta-proyecto__actions { display: flex; align-items: center; gap: 1.25rem; }
.cta-proyecto__tel { color: #fff; font-family: var(--hsp-font-head); font-weight: 700; font-size: 1.1rem; }
.cta-proyecto__btn { background: var(--hsp-navy); color: #fff; font-family: var(--hsp-font-body); font-weight: 600; text-transform: none; }
.cta-proyecto__btn:hover { background: #12203a; color: #fff; }
.cta-proyecto--center { text-align: center; }
.cta-proyecto__inner--center { flex-direction: column; justify-content: center; text-align: center; gap: 1.25rem; }
.cta-proyecto__inner--center .section__label { align-self: center; color: rgba(255,255,255,.85); }
.cta-proyecto__btn-center { background: var(--hsp-red); color: #fff; font-family: var(--hsp-font-body); font-weight: 600; text-transform: none; }
.cta-proyecto__btn-center:hover { background: #b0001b; color: #fff; }

.cta-proyecto .cta-proyecto__title {
	font-size: 3.5rem;
}

/* ===== Portafolio / Proyectos (archivo) ===== */
.proj-hero { position: relative; overflow: hidden; background: #fff; min-height: clamp(260px, 24vw, 360px); }
.proj-hero__deco { position: absolute; top: -75px; bottom: auto; right: max(var(--hsp-gutter), calc((100% - var(--hsp-container)) / 2)); width: clamp(240px, 62vw, 570px); aspect-ratio: 1549 / 1209; background: url('../img/hero-proyectos.png') no-repeat right top / contain; pointer-events: none; opacity: 0.5; }
.proj-hero .container { position: relative; z-index: 1; }
.proj-hero__title { color: var(--hsp-title); text-transform: uppercase; }
.proj-hero__sub { color: #4a5565; max-width: 60ch; }
.proj-casos { margin-bottom: 1.5rem; }
.proj-casos__count { font-family: var(--hsp-font-head); font-weight: 100; text-transform: uppercase; font-size: clamp(1.5rem, 2.8vw, 1.9rem); line-height: 1.1; letter-spacing: .01em; color: var(--hsp-muted); margin: .35rem 0 0; }
.proj-casos__count strong { color: var(--hsp-navy); font-weight: 700; }

.pj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-bottom: 3rem; }
.pjcard { background: #fff; border: 1px solid var(--hsp-line); display: flex; flex-direction: column; }
.pjcard__media { position: relative; display: block; aspect-ratio: 16/11; background: var(--hsp-navy); overflow: hidden; }
.pjcard__img { width: 100%; height: 100%; object-fit: cover; }
.pjcard__year { position: absolute; top: .75rem; right: .75rem; background: var(--hsp-red); color: #fff; font-family: var(--hsp-font-head); font-weight: 700; font-size: .8rem; padding: .15rem .5rem; }
.pjcard__body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.pjcard__sector { align-self: flex-start; border: 1px solid var(--hsp-line); color: var(--hsp-navy); font-size: .72rem; padding: .2rem .6rem; border-radius: 999px; }
.pjcard__title { font-family: var(--hsp-font-head); font-weight: 700; color: var(--hsp-navy); text-transform: uppercase; font-size: 1.1rem; margin: 0; }
.pjcard__title a { color: inherit; }
.pjcard__title a:hover { color: var(--hsp-red); text-decoration: none; }
.pjcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pjcard__loc { color: var(--hsp-muted); font-size: .85rem; }
.pjcard__area { color: var(--hsp-red); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.pjcard__gallink { color: var(--hsp-red); font-weight: 600; font-size: .9rem; margin-top: .25rem; }

.proj-feat__title { color: var(--hsp-title); text-transform: uppercase; margin-bottom: 1.5rem; }
.proj-feat__card { display: grid; grid-template-columns: 1.4fr 1fr; }
.proj-feat__media { background: var(--hsp-navy); min-height: 360px; }
.proj-feat__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-feat__panel { background: var(--hsp-section-bg-dark); color: #fff; padding: 2.25rem; }
.proj-feat__pill { display: inline-block; background: rgba(255,255,255,.14); color: #fff; font-size: .72rem; padding: .25rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.proj-feat__name { color: #fff; font-family: var(--hsp-font-head); font-weight: 700; text-transform: uppercase; font-size: 1.4rem; margin: 0 0 1rem; }
.proj-feat__desc { color: rgba(255,255,255,.8); font-size: .92rem; margin-bottom: 1.25rem; }
.proj-feat__specs { margin: 0 0 1.5rem; }
.proj-feat__specs > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.proj-feat__specs dt { color: rgba(255,255,255,.65); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.proj-feat__specs dd { color: #fff; font-weight: 600; margin: 0; text-align: right; }
.proj-feat__btn { width: 100%; justify-content: center; }

.cta-proyecto--red { background: var(--hsp-red); }

/* ===== Página Servicios ===== */
.serv-hero { position: relative; overflow: hidden; background: #fff; min-height: clamp(260px, 24vw, 360px); }
.serv-hero__deco { position: absolute; top: -123px; bottom: auto; right: max(var(--hsp-gutter), calc((100% - var(--hsp-container)) / 2)); width: clamp(240px, 62vw, 577px); aspect-ratio: 1417 / 1246; background: url('../img/hero-servicios.png') no-repeat right top / contain; pointer-events: none; opacity: 0.5 }
.serv-hero .container { position: relative; z-index: 1; }
.serv-hero__title { color: var(--hsp-title); text-transform: uppercase; }
.serv-hero__sub { color: #4a5565; max-width: 52ch; }

.serv-row { padding: 0; }
.serv-row__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.serv-row--rev .serv-row__media { order: 2; }
.serv-row__media { overflow: hidden; background: var(--hsp-navy); min-height: clamp(340px, 34vw, 500px); }
.serv-row__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.serv-row__text { --serv-edge: max(var(--hsp-gutter), calc((100vw - var(--hsp-container)) / 2)); display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 64px); }
/* Fila normal (texto a la derecha): alinea el borde derecho con el contenedor del sitio */
.serv-row:not(.serv-row--rev) .serv-row__text { padding-right: var(--serv-edge); }
/* Fila invertida (texto a la izquierda): alinea el borde izquierdo con el contenedor del sitio */
.serv-row--rev .serv-row__text { padding-left: var(--serv-edge); }
.serv-row__title { font-family: var(--hsp-font-head); font-weight: 700; color: var(--hsp-title); text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: .25rem 0 1rem; }
.serv-row__desc { color: #4a5565; max-width: 46ch; }

.serv-cta { display: inline-flex; align-items: center; gap: .4rem; color: var(--hsp-red); font-weight: 600; margin-top: 1.5rem; align-self: flex-start; }
.serv-contact__box { border: 1px solid var(--hsp-line); background: #f8f9fb; border-radius: 10px; padding: 1.5rem 1.75rem; margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; max-width: 420px; }
.serv-contact__label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hsp-muted); margin-bottom: .4rem; }
.serv-contact__email, .serv-contact__tel { display: inline-flex; align-items: center; gap: .6rem; color: var(--hsp-navy); font-weight: 600; }
.serv-contact__ico { color: var(--hsp-red); flex: none; }

/* ===== Página Clientes ===== */
.breadcrumb { color: var(--hsp-muted); font-size: .85rem; margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--hsp-muted); }
.breadcrumb span { color: var(--hsp-navy); }
.cl-hero { padding-bottom: 1rem; }
.cl-hero__title { color: var(--hsp-title); text-transform: uppercase; }
.cl-hero__sub { color: #4a5565; max-width: 56ch; }
.cl-logos { padding-top: 1rem; }
.cl-logos__title { color: var(--hsp-title); text-transform: uppercase; margin-bottom: 2rem; }
.cl-logos__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.cl-logo { background: #fff; border: 1px solid var(--hsp-line); min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: 1rem; text-align: center; }
.cl-logo__img { max-height: 90px; width: auto; }
.cl-logo__sigla { font-family: var(--hsp-font-head); font-weight: 800; color: var(--hsp-navy); font-size: 1.1rem; letter-spacing: .04em; }
.cl-logo__nombre { color: var(--hsp-muted); font-size: .75rem; }
.cl-test { padding-top: 1rem; }
.cl-test__title { color: var(--hsp-title); text-transform: uppercase; margin-bottom: 2rem; }
.cl-test__carousel { position: relative; }
.cl-test__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 3); gap: 1.5rem; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: .25rem; -ms-overflow-style: none; scrollbar-width: none; }
.cl-test__track::-webkit-scrollbar { display: none; }
.cl-test__track > .cltcard { scroll-snap-align: start; }
.cl-test__nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.75rem; }
.cl-test__arrow { width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid var(--hsp-line); background: #fff; color: var(--hsp-navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.cl-test__arrow:hover { background: var(--hsp-navy); color: #fff; border-color: var(--hsp-navy); }
.cl-test__arrow:disabled { opacity: .3; cursor: default; }
.cl-test__arrow:disabled:hover { background: #fff; color: var(--hsp-navy); border-color: var(--hsp-line); }
.cl-test__dots { display: flex; align-items: center; gap: .5rem; }
.cl-test__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: var(--hsp-line); cursor: pointer; transition: background .2s, transform .2s; }
.cl-test__dot.is-active { background: var(--hsp-red); transform: scale(1.2); }
.cltcard { background: #fff; border: 1px solid var(--hsp-line); border-radius: 16px; padding: 2rem 1.75rem; display: flex; flex-direction: column; height: 100%; }
.cltcard__quote { display: block; width: 32px; height: auto; margin-bottom: 1rem; }
.cltcard__cita { margin: 0 0 1.5rem; color: #4a5565; font-size: .95rem; line-height: 1.6; flex: 1 1 auto; }
.cltcard__rule { width: 100%; height: 1px; background: var(--hsp-line); margin-bottom: 1.25rem; }
.cltcard__empresa { font-family: var(--hsp-font-head); font-weight: 700; color: var(--hsp-navy); text-transform: uppercase; }
.cltcard__cargo { color: var(--hsp-muted); font-size: .82rem; }

/* ===== Página Contacto ===== */
.page--contacto.section--soft { background: var(--hsp-bg-alt); }
.ct-hero { padding-bottom: 1rem; }
.ct-hero__title { color: var(--hsp-title); text-transform: uppercase; }
.ct-hero__sub { color: #4a5565; max-width: 52ch; }
.ct-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; padding-bottom: 4rem; align-items: start; }
.ct-side { display: flex; flex-direction: column; gap: 1.25rem; }
.ct-card { background: #fff; border: 1px solid var(--hsp-line); border-radius: 16px; padding: 1.5rem; }
.ct-card__head { display: flex; align-items: center; gap: .5rem; font-family: var(--hsp-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--hsp-navy); font-size: .9rem; }
.ct-wa__ico { filter: none; }
.ct-wa__text { color: #4a5565; font-size: .9rem; margin: .75rem 0 1rem; }
.ct-wa__btn { width: 100%; justify-content: center; }
.ct-datos__list { margin: 1rem 0 0; display: flex; flex-direction: column; gap: 1rem; }
.ct-datos__list li { display: flex; gap: .75rem; align-items: flex-start; }
.ct-datos__ico { color: var(--hsp-red); flex: none; }
.ct-datos__ico svg { width: 20px; height: 20px; }
.ct-datos__lbl { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--hsp-muted); }
.ct-datos__list a { color: var(--hsp-navy); font-weight: 600; }
.ct-map { padding: 0; overflow: hidden; }
.ct-map iframe { width: 100%; height: 220px; border: 0; display: block; }
.ct-map__ph { display: flex; align-items: center; justify-content: center; height: 200px; background: var(--hsp-bg-alt); color: var(--hsp-muted); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }

/* Responsive */
/* Cabeceras de página (Productos, Proyectos, Nosotros, Servicios): mismo espaciado y alto */
.catalog-intro, .section.nos-hero, .page--nosotros .nos-hero, .section.proj-hero, .section.serv-hero { padding-block: var(--hsp-hero-y); }
@media (min-width: 961px) {
	.catalog-intro, .nos-hero, .proj-hero, .serv-hero { min-height: 372px; }
	/* Ilustraciones: todas del mismo alto (el ancho sale de su proporción), recortadas arriba y terminando a 50px del borde inferior */
	.catalog-intro__deco, .proj-hero__deco, .nos-hero__deco, .serv-hero__deco { top: -78px; height: 400px; width: auto; }
}

@media (max-width: 960px) {
	.catalog-intro__deco, .nos-hero__deco, .proj-hero__deco, .serv-hero__deco { top: 0; }
	.cards--productos, .cards--testimonios, .catalog-grid { grid-template-columns: repeat(2, 1fr); }
	.logos-strip { grid-template-columns: repeat(3, 1fr); }
	.cards--servicios, .svc-grid { grid-template-columns: repeat(2, 1fr); }
	.svc-card { border-right: 0; }
	.proj-layout { grid-template-columns: 1fr; height: auto; }
	.proj-rest { height: auto; grid-template-rows: auto; }
	.proj-featured, .proj-rest .card--proyecto, .proj-featured .card--proyecto { height: auto; }
	.card--proyecto .card__media { height: auto; aspect-ratio: 4/3; }
	.section--nosotros__inner, .section--contacto__inner, .page--contacto__inner { grid-template-columns: 1fr; }
	.nosotros__badge { position: static; max-width: none; display: inline-block; margin-top: 1rem; }
	.hero__fig, .hero__diag, .hero__worker { display: none; }
	.hero__bg::after { background: rgba(0,0,0,.6) }
	/* .hero__bg::after { background: linear-gradient(100deg, rgba(20,32,58,.9) 0%, rgba(20,32,58,.72) 60%, rgba(20,32,58,.55) 100%); } */
	.hero__stats { gap: 1.5rem 2.5rem; }
	.hero__stats .stat { flex: 1 1 40%; }
	.nos-lider__grid, .nos-equipo__grid { grid-template-columns: 1fr; }
	.serv-row__inner { grid-template-columns: 1fr; gap: 1.5rem; }
	.serv-row--rev .serv-row__media { order: 0; }
	.pj-grid { grid-template-columns: repeat(2, 1fr); }
	.proj-feat__card { grid-template-columns: 1fr; }
	.proj-feat__media { min-height: 240px; }
	.cl-logos__grid { grid-template-columns: repeat(3, 1fr); }
	.cl-test__track { grid-auto-columns: calc((100% - 1.5rem) / 2); }
	.ct-grid { grid-template-columns: 1fr; }
	.nos-valores__grid { grid-template-columns: repeat(2, 1fr); }
	.timeline { grid-auto-flow: row; grid-auto-columns: auto; }
	.timeline::before { display: none; }
}
@media (max-width: 600px) {
	.catalog-intro__deco, .nos-hero__deco, .proj-hero__deco, .serv-hero__deco { top: auto; bottom: 0; right: -50px; opacity: .22; background-position: right bottom; }
	.nav-toggle { display: flex; margin-left: auto; }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--hsp-navy); padding: 1rem var(--hsp-gutter); display: none; box-shadow: 0 12px 24px rgba(20,32,58,.18); }
	.site-nav.is-open { display: block; }
	.primary-menu { flex-direction: column; gap: 1rem; }
	/* El desplegable móvil siempre es navy: los links van en blanco sin importar el estado del header */
	.site-header .site-nav .primary-menu a { color: #fff !important; }
	.site-header .site-nav .primary-menu a:hover,
	.site-header .site-nav .primary-menu .current-menu-item > a,
	.site-header .site-nav .primary-menu .current_page_item > a { color: var(--hsp-blue-soft) !important; }
	.site-header__cta { display: none; }
	.cards--productos, .cards--servicios, .cards--testimonios, .proj-rest, .single__gallery, .catalog-grid, .nos-valores__grid, .nos-sectores, .pj-grid { grid-template-columns: 1fr; }
	.cl-test__track { grid-auto-columns: 100%; }
	.cl-logos__grid { grid-template-columns: repeat(2, 1fr); }
	.wpcf7-form .form-grid { grid-template-columns: 1fr; }
	.nosotros__links { grid-template-columns: 1fr; }
	.card--producto { grid-template-columns: 1fr; grid-template-areas: "media" "title" "text" "link"; }
	.site-footer__inner { flex-direction: column; align-items: flex-start; }
	.site-footer__meta { text-align: left; }
}
