/* Interior pages: client content, home typography, colours and rounded shapes.
   This stylesheet is loaded exclusively on the three adapted pages. */
.inner-page { overflow-x: clip; }
.inner-page > section { padding-block: clamp(72px, 8vw, 120px); }
.inner-page h2 { color: var(--title); text-wrap: balance; }
.inner-page h3 { color: var(--title); font-weight: 650; line-height: 1.25; }
.inner-page p { color: var(--text); line-height: 1.6; }
.inner-page .bg-lg { background: var(--lg); }
/* Secciones sobre verde bosque, como Galería, Senderistas y Servicios en la portada. */
.inner-page .bg-dark { background: var(--g2); color: #fff; }
.inner-page .bg-dark h2 { color: var(--title-dark); }
.inner-page .bg-dark p, .inner-page .bg-dark .ticks li { color: var(--on-dark); }
.inner-page .bg-dark :is(.cards3, .vals) p { color: var(--text); }
.inner-page .bg-dark :focus-visible { outline-color: var(--y); }
.inner-page .sec-title { max-width: 760px; }
/* La etiqueta no hereda el tamaño ni el gris de los párrafos del bloque (.about-txt p…).
   Va antes de la regla de secciones verdes para que esa gane el color allí. */
.inner-page :is(.sv-txt, .about-txt, .intro-txt) > p.eyebrow { font-size: 13px; line-height: 1.4; color: var(--g); }
/* Etiqueta sobre el título en las secciones verdes, como en la portada. */
.inner-page .bg-dark p.eyebrow { color: var(--y-icon); font-size: 11px; line-height: 1.4; }
.inner-page :is(.sv-txt, .about-txt, .intro-txt) > .eyebrow { margin: 0 0 -10px; }
.inner-page .bg-dark .about-img .tag { color: var(--ink); }
/* Zonas en verde de icono, como las fichas con icono de la portada. */
.inner-page .about-txt .zones li { border-color: transparent; background: var(--y-icon); color: #fff; font-weight: 600; }
/* Quiénes somos · «Más que un taxista»: entradilla arriba y el segundo tema en una tarjeta con icono. */
.inner-page .about-story { gap: 22px; }
.inner-page .about-story > p { font-size: 18px; line-height: 1.7; }
.inner-page .about-note {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin-top: 10px;
	padding: 26px 28px;
	border-radius: var(--radius-lg);
	background: var(--lg);
}
.inner-page .about-note .icon-chip { background: var(--y-icon); }
.inner-page .about-note > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.inner-page .about-note h2 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.inner-page .about-note p { font-size: 16px; line-height: 1.6; }
@media (max-width: 560px) {
	.inner-page .about-note { flex-direction: column; gap: 14px; padding: 22px; }
}
.inner-page [id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.inner-page .crumb { font-size: 13px; color: var(--on-dark); }
.inner-page .crumb a { color: #fff; text-decoration: none; }
.inner-page .crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.inner-page .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.inner-page .hero-sub { max-width: 510px; font-size: 18px; line-height: 1.5; color: #f1f3ed; }
.inner-page :is(.phero, .ahero, .chero) h1 { font-size: clamp(40px, 4.5vw, 64px); font-weight: 720; line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; color: #fff; }
.inner-page :is(.phero, .ahero, .chero) h1 span { color: inherit; }
.inner-page .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* El vídeo trae una franja negra de 8 px arriba: se amplía un poco desde abajo para dejarla fuera del recuadro. */
.inner-page .hero-video { object-position: 60% 60%; transform: scale(1.03); transform-origin: 50% 100%; }
.inner-page :is(.phero, .ahero) { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 0; background: var(--g2); }
.inner-page :is(.phero, .ahero)::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .37); }
.inner-page .hero-in { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; padding-block: clamp(64px, 7vw, 108px); }
.inner-page .hero-txt { flex: 1 1 520px; max-width: 620px; display: flex; flex-direction: column; gap: 28px; }
.inner-page :is(.hero-txt, .ahero-txt) { text-shadow: 0 2px 18px #0006, 0 1px 3px #0004; }
.inner-page :is(.hero-txt, .ahero-txt) .btn { text-shadow: none; }
.inner-page .fade > * { animation: up .8s var(--motion-ease) both; }
.inner-page .fade > :nth-child(2) { animation-delay: .1s; }
.inner-page .fade > :nth-child(3) { animation-delay: .2s; }
.inner-page .fade > :nth-child(4) { animation-delay: .3s; }
.inner-page .book { flex: 0 1 400px; display: flex; flex-direction: column; gap: 16px; padding: 30px; border: 1px solid #ffffffb3; border-radius: var(--radius-lg); background: #fdfcf9; box-shadow: 0 24px 80px #06171040; color: var(--ink); }
.inner-page .book-title { font-size: 21px; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.inner-page .book p { font-size: 14px; line-height: 1.55; color: var(--mut); }
.inner-page .book .btn { width: 100%; }
.inner-page .book .alt { font-size: 14px; text-align: center; color: var(--mut); }
.inner-page .book .alt a { font-weight: 700; }
.inner-page .book-status:empty { display: none; }
.inner-page .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.inner-page .field label { font-size: 12px; font-weight: 600; color: var(--mut); }
.inner-page .field :is(input, select, textarea) { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .25s, box-shadow .25s; }
.inner-page .field :is(input, select, textarea):focus { outline: 0; border-color: var(--g); box-shadow: 0 0 0 3px #11270020; }
.inner-page .field [aria-invalid="true"] { border-color: #a12d24; }
.inner-page .field textarea { min-height: 140px; resize: vertical; }
.inner-page .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.inner-page .row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.inner-page .pax { display: flex; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.inner-page .pax button { flex: 0 0 48px; height: 46px; border: 0; background: var(--lg); color: var(--g); font: inherit; font-size: 22px; font-weight: 700; cursor: pointer; }
.inner-page .pax button:disabled { opacity: .4; cursor: default; }
.inner-page .pax output { flex: 1; text-align: center; font-size: 17px; font-weight: 700; }
.inner-page .sv { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.inner-page .sv.rev { flex-direction: row-reverse; }
.inner-page .sv-img { position: relative; flex: 1 1 400px; min-width: 0; }
.inner-page .sv-img img { width: 100%; height: 600px; /* mismo alto que las demás fotos de sección (veh-img, hike-img, about-img) */ object-fit: cover; border-radius: var(--radius-lg); }
.inner-page .sv-img .tag { position: absolute; left: 24px; bottom: 24px; padding: 12px 16px; border-radius: var(--radius); background: #fff; color: var(--g); font-size: 14px; font-weight: 600; box-shadow: 0 8px 30px #13201714; }
.inner-page .sv-txt { flex: 1 1 480px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.inner-page .sv-txt p { font-size: 17px; }
/* Ficha con iconos de cuatro datos (San Sebastián): rejilla 2 × 2, sin fila ancha. */
.inner-page .spec-even li:first-child { grid-column: auto; }
.inner-page .spec-even li:first-child b { font-size: 16px; }
.inner-page .veh-img { position: relative; }
.inner-page .veh-img .tag { position: absolute; left: 24px; bottom: 24px; padding: 12px 16px; border-radius: var(--radius); background: #fff; color: var(--g); font-size: 14px; font-weight: 600; box-shadow: 0 8px 30px #13201714; }
.inner-page .ticks { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.inner-page .ticks li { display: flex; align-items: center; gap: 12px; line-height: 1.6; color: var(--text); }
/* Mismo check que la lista de la llamada final (.cta-points). */
.inner-page .ticks .check { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--y-icon); color: #fff; }
.inner-page .kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.inner-page .kv > div { padding: 16px 12px; border-left: 1px solid var(--line); }
.inner-page .kv > div:first-child { border-left: 0; }
.inner-page .kv span { display: block; margin-bottom: 6px; font-size: 12px; color: var(--mut); }
.inner-page .kv b { font-size: 16px; font-weight: 650; }
.inner-page .zones { display: flex; flex-wrap: wrap; gap: 8px; }
.inner-page .zones span { padding: 8px 12px; border: 1px solid #11270026; border-radius: 8px; background: #fff; color: var(--g); font-size: 14px; font-weight: 500; }
/* Excursiones: galería bento con fotos limpias. El título solo aparece al pasar el ratón o con el foco del teclado, sobre un velo plano.
   En pantallas táctiles o estrechas va siempre visible al pie de cada foto. */
.inner-page .xb {
	--xb-ease: cubic-bezier(.22, 1, .36, 1);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(3, clamp(200px, 18vw, 250px));
	/* Garajonay grande, la ermita (vertical) alta a la derecha y San Sebastián (panorámica) a lo ancho. */
	grid-template-areas: "a a c f" "a a d f" "e e e b";
	gap: 12px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}
.inner-page .xb-item:nth-child(1) { grid-area: a; }
.inner-page .xb-item:nth-child(2) { grid-area: b; }
.inner-page .xb-item:nth-child(3) { grid-area: c; }
.inner-page .xb-item:nth-child(4) { grid-area: d; }
.inner-page .xb-item:nth-child(5) { grid-area: e; }
.inner-page .xb-item:nth-child(6) { grid-area: f; }
/* Encuadres: San Sebastián con el puerto a la vista; la ermita, con la plaza más recogida. */
.inner-page .xb-item:nth-child(5) .xb-img { object-position: 50% 88%; }
.inner-page .xb-item:nth-child(6) .xb-img { object-position: 50% 30%; }
.inner-page .xb-card {
	position: relative;
	display: block;
	height: 100%;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--g2);
	color: #fff;
	text-decoration: none;
	isolation: isolate;
	outline-offset: 4px;
}
.inner-page .xb-img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--xb-ease);
}
.inner-page .xb-card::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: #061710;
	opacity: 0;
	transition: opacity .5s ease;
}
.inner-page .xb-info {
	position: absolute;
	inset: auto 0 0 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 26px;
}
.inner-page .xb-info > * {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .3s ease, transform .45s var(--xb-ease);
}
.inner-page .xb-info h3 { font-size: clamp(18px, 1.6vw, 23px); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; color: #fff; }
.inner-page .xb-item:nth-child(1) .xb-info h3 { font-size: clamp(23px, 2.1vw, 30px); }

/* Hover y foco: la foto se acerca, cae el velo y el texto sube escalonado. */
.inner-page .xb-card:is(:hover, :focus-visible) .xb-img { transform: scale(1.06); }
.inner-page .xb-card:is(:hover, :focus-visible)::after { opacity: .5; }
.inner-page .xb-card:is(:hover, :focus-visible) .xb-info > * { opacity: 1; transform: none; }

/* Entrada (pages.js): como las demás fotos de la web, cada casilla se abre desde un marco
   recortado (photo-open) mientras la foto se asienta desde un poco de zoom, una tras otra
   en orden de lectura del bento. .is-armed = esperando; .is-in = entrando; al terminar se
   quitan las dos y el hover vuelve a su ritmo normal. */
.inner-page .xb-item:nth-child(1) { --xb-d: 0s; }
.inner-page .xb-item:nth-child(3) { --xb-d: .12s; }
.inner-page .xb-item:nth-child(6) { --xb-d: .24s; }
.inner-page .xb-item:nth-child(4) { --xb-d: .3s; }
.inner-page .xb-item:nth-child(5) { --xb-d: .42s; }
.inner-page .xb-item:nth-child(2) { --xb-d: .54s; }
.inner-page .xb.is-armed .xb-card { clip-path: inset(7% 5% round var(--radius-lg)); opacity: 0; }
.inner-page .xb.is-armed .xb-img { transform: scale(1.14); }
.inner-page .xb.is-armed.is-in .xb-card {
	clip-path: inset(0 round var(--radius-lg));
	opacity: 1;
	transition: clip-path 1.1s var(--xb-ease) var(--xb-d), opacity .5s ease var(--xb-d);
}
.inner-page .xb.is-armed.is-in .xb-img { transform: none; transition: transform 1.6s var(--xb-ease) var(--xb-d); }

/* Tableta: dos columnas iguales. */
@media (max-width: 1100px) {
	.inner-page .xb { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-template-areas: none; grid-auto-rows: 300px; }
	.inner-page .xb-item:nth-child(n) { grid-area: auto; }
}
/* Táctil o estrecha: la información siempre visible, al pie de la foto. */
@media (hover: none), (max-width: 760px) {
	.inner-page .xb { grid-auto-rows: auto; }
	.inner-page .xb-card { display: flex; flex-direction: column; background: #ffffff0d; border: 1px solid #ffffff1f; }
	.inner-page .xb-card::after { display: none; }
	.inner-page .xb-img { position: relative; inset: auto; z-index: 0; height: auto; aspect-ratio: 4 / 3; }
	.inner-page .xb-card:is(:hover, :focus-visible) .xb-img { transform: none; }
	.inner-page .xb-info { position: static; flex: 1; padding: 18px 20px 20px; }
	.inner-page .xb-info > * { opacity: 1; transform: none; transition: none; }
	.inner-page .xb-item:nth-child(1) .xb-info h3 { font-size: 20px; }
}
.inner-page .xb-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; } /* «Diseñar mi excursión» bajo la galería */
@media (max-width: 760px) {
	.inner-page .xb { gap: 25px; }
	.inner-page .xb-cta { justify-content: center; }
}
@media (max-width: 600px) {
	.inner-page .xb { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.inner-page .xb-img, .inner-page .xb-info > * { transition: none; }
}
/* Más servicios: tarjetas con icono que se elevan al pasar el ratón (ref. 21st «Feature Grid Spotlight Cards», simplificada). */
.inner-page .otros-head { max-width: 760px; margin: 0 auto 8px; text-align: center; }
.inner-page .spot-card { transition: transform .45s var(--motion-ease), box-shadow .45s ease, border-color .3s; }
.inner-page .spot-card:hover { border-color: var(--salvia); transform: translateY(-4px); box-shadow: 0 18px 40px #1320170f; }
.inner-page .spot-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--y-icon); color: #fff; }
.inner-page .spot-card a { display: inline-flex; align-items: center; gap: 6px; }
.inner-page .spot-card a .icon { transition: transform .35s var(--motion-ease); }
.inner-page .spot-card:hover a .icon { transform: translateX(4px); }
.inner-page .cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.inner-page .cards3 > div { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.inner-page .cards3 h3 { font-size: 23px; }
.inner-page .cards3 p { font-size: 16px; }
.inner-page .cards3 a { margin-top: auto; font-weight: 600; text-decoration: none; }
.inner-page .cards3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.inner-page .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; counter-reset: step; }
.inner-page .steps > div { counter-increment: step; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius-lg); background: #fff; color: var(--ink); }
.inner-page .steps > div::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: var(--radius); background: var(--y-icon); color: #fff; font-size: 21px; font-weight: 650; }
.inner-page .steps b { font-size: 19px; font-weight: 650; color: var(--title); }
.inner-page .steps span { font-size: 15px; line-height: 1.7; color: var(--text); }
.inner-page .hike-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.inner-page .hike-box { display: flex; flex-direction: column; gap: 30px; }
.inner-page .hike-box p { font-size: 18px; line-height: 1.7; }
.inner-page .hike-list { border-top: 1px solid var(--line); }
.inner-page .hike-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.inner-page .hike-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); background: var(--y-icon); color: #fff; }
.inner-page .hike-txt { display: flex; flex-direction: column; gap: 2px; }
.inner-page .hike-txt b { font-size: 16px; font-weight: 800; color: var(--ink); }
.inner-page .hike-txt span { font-size: 15px; color: var(--mut); }
.inner-page .hike-media { position: relative; margin: 0; border-radius: var(--radius-lg); }
.inner-page .hike-img { width: 100%; height: 600px; object-fit: cover; object-position: 62% 60%; border-radius: var(--radius-lg); background: #ffffff0f; }
.inner-page > .cta { background: var(--g2); }
.inner-page .cta h2 { color: var(--title-dark); }
.inner-page .cta-main p { color: rgba(255, 255, 255, .84); }
.inner-page .ahero { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-start; }
.inner-page .ahero .hero-bg { object-position: 72% 55%; }
.inner-page .ahero .hero-video { object-position: 60% 60%; } /* el vídeo, con el mismo encuadre que en Servicios */
/* Texto arriba, a la misma altura que el de la portada y Servicios (que se centra junto a su formulario). */
.inner-page .ahero > .wrap { position: relative; z-index: 2; width: 100%; padding-block: clamp(120px, 12vw, 170px) clamp(64px, 7vw, 108px); }
.inner-page .ahero-txt { display: flex; flex-direction: column; gap: 28px; max-width: 580px; }
.inner-page .intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; }
.inner-page .intro .big { color: var(--title); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.25; letter-spacing: -.035em; font-weight: 650; }
.inner-page .intro .big em { font-style: normal; text-decoration: underline; text-decoration-color: var(--y-icon); text-decoration-thickness: 4px; text-underline-offset: 5px; }
.inner-page .intro-txt { display: flex; flex-direction: column; gap: 24px; }
.inner-page .bg-dark .intro .big { color: var(--title-dark); }
/* Frase grande: misma entrada palabra a palabra que el título de Contacto, al aparecer en pantalla (pages.js). */
.inner-page .big.is-split .cw { display: inline-block; opacity: 0; }
.inner-page .big.is-split.is-in .cw { animation: c-word .8s var(--motion-ease) both; animation-delay: calc(var(--i) * 70ms); }
.inner-page .big.is-split em { text-decoration: none; background: linear-gradient(var(--y-icon), var(--y-icon)) 0 96% / 0 4px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.inner-page .big.is-split.is-in em { animation: c-underline-4 .9s var(--motion-ease) forwards; animation-delay: calc(var(--words) * 70ms + .2s); }
.inner-page .intro-txt h2 { font-size: clamp(26px, 3vw, 34px); }
.inner-page .intro-txt p { font-size: 17px; }
.inner-page .vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.inner-page .vals > div { display: flex; flex-direction: column; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color .3s, transform .4s var(--motion-ease); }
.inner-page .vals > div:hover { border-color: var(--salvia); transform: translateY(-4px); }
.inner-page .vals > div > div { display: flex; flex-direction: column; gap: 12px; }
.inner-page .vals i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius); font-size: 14px; font-style: normal; font-weight: 650; background: var(--y-icon); color: #fff; }
.inner-page .vals h3 { font-size: 21px; }
.inner-page .vals p { font-size: 16px; }
.inner-page > .chero { position: relative; isolation: isolate; color: var(--ink); padding-block: clamp(56px, 6vw, 88px) clamp(72px, 8vw, 112px); }
@media (max-width: 760px) { .inner-page > .chero { padding-block: clamp(56px, 6vw, 88px) clamp(60px, 8vw, 112px); } } /* móvil: 60px abajo, como el resto de secciones */
/* Contacto en un solo bloque claro (ref. 21st efferd «Contact Page» y «Contact Card», adaptadas al tema). */
.inner-page .chead { display: flex; flex-direction: column; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.inner-page .chero .crumb { color: var(--mut); }
.inner-page .chero .crumb a { color: var(--g); }
.inner-page .chero h1 { max-width: 900px; color: var(--title); }
.inner-page .chead > p { max-width: 680px; font-size: 18px; line-height: 1.7; color: var(--text); }
.inner-page .cgrid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 24px; }
.inner-page .cinfo { display: flex; flex-direction: column; gap: 14px; }
/* Entrada escalonada de las tarjetas y del formulario. */
.inner-page .cinfo > * { animation: up .7s var(--motion-ease) both; animation-delay: .45s; }
.inner-page .cinfo > :nth-child(2) { animation-delay: .53s; }
.inner-page .cinfo > :nth-child(3) { animation-delay: .61s; }
.inner-page .cinfo > :nth-child(4) { animation-delay: .69s; }
.inner-page .cinfo > :nth-child(5) { animation-delay: .77s; }
.inner-page .cform-frame { position: relative; animation: up .8s .55s var(--motion-ease) both; }
.inner-page .ccard-wrap { position: relative; }
.inner-page .ccard-wrap > .ccard { padding-right: 68px; }
.inner-page .ccard { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .3s, transform .4s var(--motion-ease), box-shadow .4s ease; }
.inner-page a.ccard:hover { border-color: var(--salvia); transform: translateY(-3px); box-shadow: 0 14px 34px #13201714; }
.inner-page .ccard > div { min-width: 0; }
.inner-page .ccard .ic { position: relative; flex: 0 0 46px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--y-icon); color: #fff; }
.inner-page .ccard small { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--mut); }
.inner-page .ccard b { display: block; font-size: 21px; font-weight: 650; letter-spacing: -.025em; overflow-wrap: anywhere; }
.inner-page .ccard b.contact-email { font-size: clamp(14px, 1.2vw, 17px); overflow-wrap: normal; } /* si no cabe, parte tras la @ (<wbr> en el HTML), nunca a mitad de palabra */
.inner-page .ccard span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--mut); }
.inner-page .ccard.call { background: var(--y); border-color: var(--y); color: #fff; }
.inner-page .ccard.call :is(small, span) { color: #fff; }
.inner-page .ccard.call .ic { background: #ffffff2b; }
/* El teléfono «suena» cada pocos segundos y emite una onda. */
.inner-page .ccard.call .ic svg { animation: c-ring 4.5s ease-in-out infinite; }
.inner-page .ccard.call .ic::after { content: ''; position: absolute; inset: 0; border-radius: inherit; animation: c-wave 2.2s ease-out infinite; }
/* Copiar teléfono y email (ref. «Contact Page»): solo se muestra si el navegador puede copiar. */
.inner-page .ccopy { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--g); cursor: pointer; transition: transform .3s var(--motion-ease), border-color .3s, background .3s; }
.inner-page .ccopy:hover { border-color: var(--salvia); transform: scale(1.06); }
.inner-page .ccard.call + .ccopy { border-color: #ffffff4d; background: #ffffff1f; color: #fff; }
.inner-page .ccopy .i-done { display: none; }
.inner-page .ccopy.is-copied .i-copy { display: none; }
.inner-page .ccopy.is-copied .i-done { display: grid; animation: c-pop .35s var(--motion-ease); }
.inner-page .who { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.inner-page .who img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.inner-page .who p { font-size: 14px; line-height: 1.7; }
/* Punto «disponible» sobre la foto de Fernando. */
.inner-page .who::after { content: ''; position: absolute; left: 76px; top: calc(50% + 18px); width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: var(--y-icon); animation: c-dot 2.4s ease-out infinite; }
.inner-page .cform .field:focus-within label { color: var(--g); }
.inner-page .cform[aria-busy="true"] [type="submit"]::before { content: ''; width: 16px; height: 16px; border: 2px solid #ffffff66; border-top-color: #fff; border-radius: 50%; animation: c-spin .7s linear infinite; }
.inner-page .cform .ok:not([hidden]), .inner-page .cform .contact-error:not([hidden]) { animation: up .5s var(--motion-ease) both; }
.inner-page .cform { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 24px 50px #1320170f; }
.inner-page .cform h2 { font-size: 28px; }
.inner-page .cform > p { font-size: 15px; line-height: 1.7; color: var(--mut); }
.inner-page .cform .check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--mut); }
.inner-page .cform .check input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--y); }
.inner-page .cbtns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.inner-page .cbtns .btn { width: 100%; padding-inline: 12px; font-size: 15px; }
.inner-page .cbtns .btn:disabled { opacity: .6; cursor: wait; }
.inner-page .ok { padding: 16px; border-radius: var(--radius); background: var(--lg); color: var(--g); font-size: 15px; line-height: 1.6; }
.inner-page .contact-error { color: #a12d24; }
.inner-page [hidden] { display: none !important; }
.inner-page .contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inner-page .mapw { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.inner-page .mapw p { margin-top: 24px; font-size: 17px; }
.inner-page .map { height: 400px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--lg); }
.inner-page .bg-dark .map { border-color: #ffffff1f; background: #ffffff0f; }
.inner-page .map { position: relative; }
.inner-page .map iframe { width: 100%; height: 100%; border: 0; }
.inner-page .map-pulse { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--y-icon); box-shadow: 0 0 0 3px #fff; pointer-events: none; }
.inner-page .map-pulse::before, .inner-page .map-pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--y-icon); animation: c-ping 2.6s ease-out infinite; }
.inner-page .map-pulse::after { animation-delay: 1.3s; }
@media (max-width: 1100px) {
	.inner-page .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.inner-page .sv { gap: 40px; }
	.inner-page .cgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
	.inner-page .ccard { padding: 20px; gap: 12px; }
	.inner-page .ccard-wrap > .ccard { padding-right: 64px; }
	.inner-page .cbtns { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.inner-page .intro, .inner-page .cgrid, .inner-page .mapw { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.inner-quienes-somos :is(.intro, .cgrid, .mapw) { gap: 60px; } /* Quiénes somos: más aire entre bloques apilados */
	/* Como en la portada y Servicios: el vídeo de fondo a pantalla completa y el texto
	   centrado encima (antes: vídeo arriba y texto debajo, sobre verde). */
	.inner-page .ahero { align-items: center; min-height: calc(100svh - var(--header-h)); }
	.inner-page .ahero .hero-bg { object-position: 50% 50%; }
	.inner-page .ahero > .wrap { padding-block: 56px; }
	.inner-page .ahero-txt { max-width: 680px; gap: 24px; }
	.inner-page .hike-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.inner-page .hike-media { order: 0; }
	.inner-page .hike-img { height: 420px; }
	.inner-page .vals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.inner-page .cards3 { grid-template-columns: minmax(0, 1fr); }
	.inner-page .cinfo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.inner-page .who { grid-column: 1 / -1; }
	.inner-page .ccard { padding: 20px; }
	.inner-page .ccard b { font-size: 18px; }
	.inner-page .cbtns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.inner-page > section { padding-block: clamp(60px, 8vw, 120px); }
	.inner-page :is(.phero, .ahero) { padding: 0; }
	.inner-page :is(.phero, .ahero, .chero) h1 { font-size: clamp(38px, 9vw, 50px); }
	.inner-page .hero-in { padding-block: 56px; gap: 40px; }
	.inner-page .hero-txt { gap: 24px; }
	.inner-page .book { flex-basis: 100%; padding: 24px; }
	.inner-page .sv-img img { height: 420px; }
	.inner-page .sv { gap: 32px; }
	.inner-page .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.inner-page .kv > div { border-top: 1px solid var(--line); }
	.inner-page .kv > div:nth-child(-n+2) { border-top: 0; }
	.inner-page .kv > div:nth-child(odd) { border-left: 0; }
	.inner-page .steps, .inner-page .vals, .inner-page .cinfo { grid-template-columns: minmax(0, 1fr); }
	.inner-page .cform { padding: 24px; }
	.inner-page .cform :is(.row2, .row3), .inner-page .cbtns { grid-template-columns: minmax(0, 1fr); }
	.inner-page .map { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
	.inner-page .fade > * { opacity: 1; }
}
/* Fotos al hacer scroll: mismo efecto que en la portada (home.css). */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.inner-page :is(.sv-img, .about-img, .veh-img, .hike-media, .map) { overflow: hidden; border-radius: var(--radius-lg); view-timeline: --photo block; animation: photo-open linear both; animation-timeline: --photo; animation-range: entry 10% cover 40%; }
		.inner-page :is(.sv-img, .about-img, .veh-img) > img, .inner-page .hike-img { animation: photo-drift linear both; animation-timeline: --photo; animation-range: cover 0% cover 100%; will-change: transform; }
	}
}
@keyframes photo-open {
	from { clip-path: inset(7% 5% round var(--radius-lg)); }
	to { clip-path: inset(0 round var(--radius-lg)); }
}
@keyframes photo-drift {
	from { transform: translateY(-3%) scale(1.14); }
	to { transform: translateY(3%) scale(1.07); }
}
/* Contacto: animaciones. */
@keyframes c-word { from { opacity: 0; transform: translateY(.35em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes c-underline-4 { to { background-size: 100% 4px; } }
@keyframes c-ring { 0%, 78%, 100% { transform: none; } 81% { transform: rotate(-16deg); } 84% { transform: rotate(14deg); } 87% { transform: rotate(-12deg); } 90% { transform: rotate(10deg); } 93% { transform: rotate(-4deg); } }
@keyframes c-wave { from { box-shadow: 0 0 0 0 #ffffff80; } to { box-shadow: 0 0 0 14px #ffffff00; } }
@keyframes c-dot { from { box-shadow: 0 0 0 0 #79a34699; } to { box-shadow: 0 0 0 10px #79a34600; } }
@keyframes c-pop { from { transform: scale(.4); } to { transform: none; } }
@keyframes c-spin { to { transform: rotate(360deg); } }
@keyframes c-ping { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(5); } }
@media (prefers-reduced-motion: reduce) {
	.inner-page .big.is-split .cw { opacity: 1; }
	.inner-page .big.is-split em { background-size: 100% 4px; }
}

/* Contacto (móvil): en cada tarjeta, el icono arriba y la información debajo a todo el
   ancho, para que el teléfono y el email se lean enteros. */
@media (max-width: 760px) {
	.inner-page .ccard { flex-direction: column; gap: 14px; }
	.inner-page .ccard-wrap > .ccard { padding-right: 24px; } /* el botón de copiar queda arriba a la derecha, junto al icono */
}

/* Servicios (móvil): «Organiza tu ruta por WhatsApp», centrado bajo la lista de senderistas. */
@media (max-width: 760px) {
	.inner-page .hike-cta { display: flex; justify-content: center; }
}
@media (max-width: 760px) {
	.inner-page .hike-media { order: -1; } /* Senderistas: la foto antes del título en móvil */
}
@media (max-width: 760px) {
	.inner-contacto .mapw p { margin-top: 0; } /* Contacto · Zona de servicio: sin margen sobre el párrafo en móvil */
}
