/* Sherpa Comunicación — portada */
html { scroll-behavior: smooth; }
body { margin: 0; background: #0E0E10; }
/* Sherpa Comunicación — portada nueva */

body.sherpa-home { margin: 0; background: #0E0E10; }

.sh-trama {
	background-color: #0E0E10;
	background-size: 320px auto;
	background-repeat: repeat;
	color: #ECECEC;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}
.sh-trama *, .sh-trama *::before, .sh-trama *::after { box-sizing: border-box; }
.sh-trama a { color: #ECECEC; }
.sh-trama a:hover { color: #5DAEE8; }
.sh-trama a:focus-visible, .sh-trama button:focus-visible, .sh-trama summary:focus-visible { outline: 2px solid #5DAEE8; outline-offset: 3px; }
.sh-trama h1, .sh-trama h2, .sh-trama h3, .sh-trama p, .sh-trama ul, .sh-trama ol, .sh-trama address { margin: 0; }
.sh-trama address { font-style: normal; }
.sh-trama svg { display: block; }

.sh-skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 16px; background: #1670B3; color: #FFFFFF; font-family: 'Inter', sans-serif; }
.sh-skip:focus { left: 8px; }

.sh-wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.sh-section { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 56px; }
.sh-section--end { padding-bottom: 72px; gap: 40px; }
.sh-band { background: rgba(255,255,255,0.025); }

/* Tipografía */
.sh-kicker { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; line-height: 1.5; color: #5DAEE8; margin-bottom: 12px; }
.sh-trama .sh-kicker--caps { text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0; }
.sh-h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 40px; line-height: 1.15; letter-spacing: -0.01em; }
.sh-intro { font-size: 21px; line-height: 1.55; color: #C4C4C8; }
.sh-muted, .sh-note { color: #A3A3A8; }
.sh-note { font-size: 15px; }
.sh-head { max-width: 760px; }

/* Encabezado y menú */
.sh-header { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.sh-header__logo { display: block; line-height: 0; }
.sh-logo { height: auto; }
.sh-nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: 14px; font-weight: 500; }
.sh-nav a { text-decoration: none; }
.sh-social { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; }
.sh-trama .sh-social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #77777D; }
.sh-trama .sh-social a:hover { color: #5DAEE8; }
.sh-social svg { width: 18px; height: 18px; }
.sh-footer__row .sh-social { margin-left: 0; margin-right: auto; }
.sh-menu-btn { display: none; width: 48px; height: 48px; padding: 12px; background: transparent; border: 0; cursor: pointer; color: #ECECEC; }
.sh-menu-btn svg { width: 24px; height: 24px; }

/* Portada */
.sh-hero { padding-top: 88px; padding-bottom: 128px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; }
.sh-hero__text { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.sh-hero__claim { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: clamp(40px, 6vw, 80px); line-height: 1.04; letter-spacing: -0.02em; color: #ECECEC; }
.sh-hero__lead { max-width: 52ch; font-size: 19px; color: #C4C4C8; }
.sh-hero__art { justify-self: end; width: 100%; max-width: 520px; }
.sh-hero__art svg { width: 100%; height: auto; }
.sh-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 30px; background: #1670B3; color: #FFFFFF !important; text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; border-radius: 2px; }
.sh-btn:hover { background: #125E97; }

/* Método */
.sh-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: end; }
.sh-split--top { align-items: start; }
.sh-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: start; }
.sh-step { padding: 28px 22px; background: rgba(255,255,255,0.04); display: flex; flex-direction: column; gap: 12px; }
.sh-step--1 { margin-top: 120px; } .sh-step--2 { margin-top: 96px; } .sh-step--3 { margin-top: 72px; }
.sh-step--4 { margin-top: 48px; } .sh-step--5 { margin-top: 24px; } .sh-step--6 { margin-top: 0; }
.sh-step__body { display: flex; flex-direction: column; gap: 12px; }
.sh-step h3 { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 600; line-height: 1.3; }
.sh-step p { color: #A3A3A8; font-size: 15px; }
.sh-step__letra { display: block; font-family: 'Montserrat', sans-serif; font-size: 58px; font-weight: 400; line-height: 64px; height: 64px; color: #1C86D1; }
.sh-step__letra--s svg { width: auto; height: 64px; }
.sh-step--cima { background: #1670B3; }
.sh-step--cima .sh-step__letra, .sh-step--cima h3 { color: #FFFFFF; }
.sh-step--cima p { color: #E6F0F8; }

/* Tarjetas */
.sh-card { background: rgba(255,255,255,0.04); padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.sh-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 21px; line-height: 1.25; }
.sh-card p { color: #A3A3A8; font-size: 15px; }
.sh-card--lg { padding: 44px 40px; gap: 14px; }
.sh-card--lg h3 { font-weight: 700; font-size: 30px; }
.sh-card--lg p { color: #C4C4C8; font-size: 17px; }
.sh-card--lg .sh-sub { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 15px; color: #5DAEE8; }
.sh-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.sh-grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }

/* Decisiones */
.sh-decide { display: flex; flex-direction: column; gap: 8px; font-family: 'Montserrat', sans-serif; }
.sh-decide__pre { font-size: 24px; font-weight: 500; line-height: 1.3; color: #C4C4C8; }
.sh-decide__big { font-size: clamp(40px, 7.4vw, 104px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: #1C86D1; }

/* Servicios */
.sh-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 20px; align-items: start; }
.sh-services > div { display: flex; flex-direction: column; gap: 12px; }
.sh-services h3 { margin-bottom: 6px; }
.sh-services h3 { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700; color: #1C86D1; }
.sh-services strong { font-weight: 600; }
.sh-services span { color: #A3A3A8; }

/* Trayectoria y clientes */
.sh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.sh-stats > p { display: flex; flex-direction: column; gap: 4px; color: #A3A3A8; }
.sh-stat { font-family: 'Montserrat', sans-serif; font-size: 64px; font-weight: 700; line-height: 1.05; color: #1C86D1; }
.sh-sectors { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 32px; }
.sh-sectors li { position: relative; padding-left: 24px; }
.sh-sectors li::before { content: ""; position: absolute; left: 0; top: 0.55em; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid #1C86D1; }

/* Equipo */
.sh-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: start; }
.sh-team article { display: flex; flex-direction: column; gap: 14px; }
.sh-team h3 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 22px; margin-top: 4px; }
.sh-team p { color: #A3A3A8; font-size: 15px; }
.sh-photo, .sh-team img { display: flex; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: rgba(255,255,255,0.05); align-items: flex-end; padding: 16px; font-size: 12px; color: #A3A3A8; }
.sh-team img { display: block; padding: 0; background: transparent; }
.sh-more summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; color: #5DAEE8; }
.sh-more summary::-webkit-details-marker { display: none; }
.sh-more summary::after { content: ""; width: 7px; height: 7px; margin-left: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.sh-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.sh-more__cerrar, .sh-more[open] .sh-more__abrir { display: none; }
.sh-more[open] .sh-more__cerrar { display: inline; }
.sh-more p { margin-top: 4px; }

/* Contacto y pie */
.sh-contact { background: #08080A; }
.sh-contact__title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch; }
.sh-contact__cta { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 20px; color: #5DAEE8; margin-bottom: -16px; }
.sh-contact__data { display: flex; flex-wrap: wrap; gap: 20px 44px; font-size: 18px; }
.sh-contact__data a { overflow-wrap: anywhere; }
.sh-contact__data span { color: #A3A3A8; }
.sh-footer { padding-top: 0; padding-bottom: 48px; display: flex; flex-direction: column; gap: 32px; background: transparent; }
.sh-trama footer.sh-footer { max-width: none; background: #08080A; padding-left: max(32px, calc((100% - 1136px) / 2)); padding-right: max(32px, calc((100% - 1136px) / 2)); }
.sh-about { max-width: 70ch; font-size: 14px; color: #A3A3A8; }
.sh-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; }
.sh-footer__row a { color: #A3A3A8; }

/* Qué hacemos: dos públicos */
.sh-trama h4 { margin: 0; }
.sh-pregunta { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 21px; line-height: 1.45; color: #5DAEE8; margin-bottom: 18px; }
.sh-audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; align-items: stretch; }
.sh-aud { background: rgba(255,255,255,0.04); padding: 44px 40px; display: flex; flex-direction: column; gap: 18px; }
.sh-aud h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.2; }
.sh-aud > p { color: #C4C4C8; font-size: 17px; }
.sh-pains { list-style: none; padding: 0; margin-top: 10px; display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.1); }
.sh-pains li { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 4px; }
.sh-pains h4 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 18px; color: #1C86D1; }
.sh-pains p { color: #A3A3A8; font-size: 15px; }

/* Servicios con pregunta */
.sh-svc { display: flex; flex-direction: column; gap: 6px; padding: 24px 26px; background: rgba(255,255,255,0.05); }
.sh-svc strong { font-weight: 600; color: #ECECEC; }
.sh-svc__q { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 15px; line-height: 1.45; color: #5DAEE8; }
.sh-svc__d { color: #A3A3A8; }
.sh-contact__btn { margin-top: -8px; }

/* Escritorio: logo del menú monocromo (el color queda en el de la portada) */
@media (min-width: 961px) {
	.sh-header .sh-logo path { fill: #ECECEC; }
}

/* Tablet */
@media (max-width: 960px) {
	.sh-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
	.sh-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 20; flex-direction: column; gap: 0; padding: 8px 32px 24px; background: #0E0E10; font-size: 17px; box-shadow: 0 24px 40px rgba(0,0,0,0.5); }
	.sh-nav.is-open { display: flex; }
	.sh-nav a { display: flex; align-items: center; min-height: 52px; }
	.sh-nav .sh-social { margin: 12px 0 0 -8px; gap: 8px; }
	.sh-trama .sh-nav .sh-social a { width: 44px; height: 44px; min-height: 44px; }
	.sh-hero__art { display: none; }
	.sh-hero { grid-template-columns: 1fr; }
	.sh-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sh-step--1, .sh-step--2, .sh-step--3, .sh-step--4, .sh-step--5, .sh-step--6 { margin-top: 0; }
}

/* Celular */
@media (max-width: 640px) {
	.sh-trama { font-size: 16px; }
	.sh-wrap { padding-left: 20px; padding-right: 20px; }
	.sh-nav { padding-left: 20px; padding-right: 20px; }
	.sh-section { padding-top: 72px; padding-bottom: 72px; gap: 40px; }
	.sh-hero { padding-top: 40px; padding-bottom: 72px; }
	.sh-h2 { font-size: 30px; }
	.sh-intro { font-size: 18px; }
	.sh-split { gap: 24px; }
	/* Método: letra + nombre, sin texto */
	.sh-steps { grid-template-columns: 1fr; gap: 8px; }
	.sh-step { flex-direction: row; align-items: center; gap: 18px; padding: 14px 20px; }
	.sh-step__letra { width: 40px; flex-shrink: 0; font-size: 40px; line-height: 44px; height: 44px; text-align: center; }
	.sh-step__letra--s svg { height: 44px; margin: 0 auto; }
	.sh-step__body p { display: none; }
	.sh-step h3 { font-size: 17px; }
	.sh-card--lg { padding: 32px 24px; }
	.sh-aud { padding: 32px 24px; }
	.sh-aud h3 { font-size: 26px; }
	.sh-pregunta { font-size: 18px; }
	.sh-card--lg h3 { font-size: 26px; }
	.sh-decide__pre { font-size: 19px; }
	.sh-stat { font-size: 52px; }
	.sh-trama footer.sh-footer { padding-left: 20px; padding-right: 20px; }
}

/* El terreno */
.sh-terreno__cierre { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 36px; }
.sh-terreno__cierre li { display: flex; flex-direction: column; gap: 8px; }
.sh-terreno__momento { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 28px; line-height: 1.2; color: #1C86D1; }
.sh-terreno__cierre p { color: #C4C4C8; }
.sh-expertise { max-width: 64ch; font-size: 19px; color: #A3A3A8; }
.sh-expertise strong { color: #ECECEC; font-weight: 500; }

/* Bloque transversal: crisis */
.sh-crisis { margin-top: 16px; padding: 40px; border: 1px solid rgba(93,174,232,0.35); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px 48px; align-items: center; }
.sh-crisis__head { display: flex; flex-direction: column; gap: 10px; }
.sh-crisis h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.2; }
.sh-crisis > p { color: #C4C4C8; font-size: 17px; }
@media (max-width: 640px) {
	.sh-crisis { padding: 32px 24px; }
	.sh-crisis h3 { font-size: 26px; }
	.sh-terreno__momento { font-size: 24px; }
	.sh-expertise { font-size: 17px; }
}

/* Menú fijo al scrollear */
.sh-trama .sh-header { position: sticky; top: 0; z-index: 40; padding-top: 18px; padding-bottom: 18px; }
.sh-trama .sh-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14,14,16,0.94); box-shadow: 0 0 0 100vmax rgba(14,14,16,0.94); clip-path: inset(0 -100vmax); border-bottom: 1px solid rgba(255,255,255,0.06); pointer-events: none; }
.sh-trama main section[id] { scroll-margin-top: 96px; }

/* El terreno: el texto arranca a la altura del título en escritorio */
@media (min-width: 961px) {
	#terreno .sh-split { align-items: start; }
	.sh-intro--terreno { padding-top: 36px; max-width: 534px; }
}

.sh-trama{background-image:url(marca-agua.svg)}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
