/* ====================================================================
   Hub /excursiones-moto-agua/ — selector zonas + catálogo + FAQ + CTA.
   Mood: editorial Aesop, sin imagen full-bleed (eso es la home).
   ==================================================================== */

/* ---------------------------------------------------------------- */
/* 1. Hero compacto editorial                                       */
/* ---------------------------------------------------------------- */
.hub-hero {
	position: relative;
	background: var(--ijs-sand-50);
	padding-block: clamp(96px, 16vh, 168px);
	overflow: hidden;
	isolation: isolate;
}

/* Variante con imagen de fondo full-bleed: para Nosotros, Alquiler, etc.
   Texto blanco, overlay navy degradado para legibilidad. */
.hub-hero--with-bg {
	background: var(--ijs-navy-900);
	padding-block: clamp(140px, 22vh, 220px) clamp(96px, 12vh, 144px);
	color: var(--ijs-white);
	min-height: 60vh;
	display: flex;
	align-items: flex-end;
}
.hub-hero--with-bg .hub-hero__title { color: var(--ijs-white); }
.hub-hero--with-bg .hub-hero__title em { color: var(--ijs-coral-500); }
.hub-hero--with-bg .hub-hero__lead { color: rgba(255, 255, 255, 0.92); }
.hub-hero--with-bg .hub-hero__eyebrow { color: rgba(255, 255, 255, 0.85); }
.hub-hero--with-bg::before { display: none; } /* sin la línea coral decorativa */
.hub-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}
.hub-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.hub-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	/* Doble gradient: el horizontal oscurece la mitad izquierda donde se posa el
	   texto (60ch); el vertical aporta legibilidad general y el bottom para que
	   la onda del coastline tenga contraste. */
	background:
		linear-gradient(90deg, rgba(11, 37, 69, 0.62) 0%, rgba(11, 37, 69, 0.42) 30%, rgba(11, 37, 69, 0.18) 60%, transparent 80%),
		linear-gradient(180deg, rgba(11, 37, 69, 0.35) 0%, rgba(11, 37, 69, 0.18) 30%, rgba(11, 37, 69, 0.30) 60%, rgba(11, 37, 69, 0.92) 100%);
}

.hub-hero__inner {
	max-width: 56rem;
}

.hub-hero__eyebrow {
	color: var(--ijs-coral-700);
	margin-bottom: 1rem;
}

.hub-hero__title {
	font-family: var(--ijs-font-display);
	font-variation-settings: "opsz" 144, "SOFT" 50;
	font-weight: 500;
	font-size: clamp(2.5rem, 5vw + 1rem, 5.25rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
	color: var(--ijs-navy-900);
	margin: 0 0 1.5rem;
}

.hub-hero__title em {
	font-style: italic;
	font-weight: 300;
	font-variation-settings: "opsz" 144, "SOFT" 100;
	color: var(--ijs-coral-700);
}

.hub-hero__lead {
	font-family: var(--ijs-font-body);
	font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.2rem);
	line-height: 1.65;
	color: var(--ijs-ink-500);
	max-width: 42rem;
	margin: 0;
}

/* Marca decorativa: línea fina coral arriba a la izquierda */
.hub-hero::before {
	content: "";
	position: absolute;
	top: clamp(80px, 12vh, 128px);
	left: clamp(16px, 4vw, 32px);
	width: 48px;
	height: 1px;
	background: var(--ijs-coral-600);
}

/* ---------------------------------------------------------------- */
/* 2. Selector zonas — wrapper (grid lo pinta [ijsb_locations])      */
/* ---------------------------------------------------------------- */
.hub-selector {
	background: var(--ijs-white);
	padding-block: clamp(64px, 10vh, 120px);
}

.hub-selector__head {
	max-width: 42rem;
	margin: 0 0 clamp(2rem, 4vh, 3.5rem);
}

.hub-selector__head .eyebrow { color: var(--ijs-coral-700); }

.hub-selector__head h2 {
	font-family: var(--ijs-font-display);
	font-variation-settings: "opsz" 144, "SOFT" 50;
	font-size: clamp(2rem, 3vw + 0.75rem, 3rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--ijs-navy-900);
	margin: 0.5rem 0 0;
}

.hub-selector__head h2 em {
	font-style: italic;
	font-weight: 300;
	font-variation-settings: "opsz" 144, "SOFT" 100;
	color: var(--ijs-coral-700);
}

/* ---------------------------------------------------------------- */
/* 3. Franja "Por qué" — fondo sand                                 */
/* ---------------------------------------------------------------- */
.hub-why {
	background: var(--ijs-sand-50);
	padding-block: clamp(64px, 10vh, 112px);
}

.hub-why__head {
	max-width: 42rem;
	margin: 0 0 clamp(2.5rem, 4vh, 3.5rem);
}

.hub-why__head .eyebrow { color: var(--ijs-coral-700); }

.hub-why__head h2 {
	font-family: var(--ijs-font-display);
	font-variation-settings: "opsz" 144, "SOFT" 50;
	font-size: clamp(2rem, 3vw + 0.75rem, 3rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--ijs-navy-900);
	margin: 0.5rem 0 0;
}

.hub-why__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) { .hub-why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hub-why__grid { grid-template-columns: 1fr; } }

.hub-why__item {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hub-why__icon {
	width: 32px;
	height: 32px;
	color: var(--ijs-turquoise-600);
	stroke-width: 1.5;
	flex-shrink: 0;
}

.hub-why__item h3 {
	font-family: var(--ijs-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--ijs-navy-900);
	margin: 0;
	letter-spacing: -0.01em;
}

.hub-why__item p {
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--ijs-ink-500);
	margin: 0;
}

/* ---------------------------------------------------------------- */
/* 4. Catálogo 9 excursiones                                        */
/* ---------------------------------------------------------------- */
.hub-catalogue {
	background: var(--ijs-white);
	padding-block: clamp(64px, 10vh, 120px);
}

.hub-catalogue__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin: 0 0 clamp(2rem, 4vh, 3rem);
}

.hub-catalogue__head .eyebrow { color: var(--ijs-coral-700); }

.hub-catalogue__head h2 {
	font-family: var(--ijs-font-display);
	font-variation-settings: "opsz" 144, "SOFT" 50;
	font-size: clamp(2rem, 3vw + 0.75rem, 3rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--ijs-navy-900);
	margin: 0.5rem 0 0;
	flex: 1 1 28rem;
}

.hub-catalogue__head h2 em {
	font-style: italic;
	font-weight: 300;
	font-variation-settings: "opsz" 144, "SOFT" 100;
	color: var(--ijs-coral-700);
}

.hub-catalogue__note {
	font-size: 0.85rem;
	color: var(--ijs-ink-500);
	max-width: 22rem;
	line-height: 1.55;
	margin: 0;
}

/* ---------------------------------------------------------------- */
/* 5. FAQ corto del hub                                             */
/* ---------------------------------------------------------------- */
.hub-faq {
	background: var(--ijs-sand-50);
	padding-block: clamp(64px, 10vh, 112px);
}

.hub-faq__head {
	max-width: 42rem;
	margin: 0 auto clamp(2.5rem, 4vh, 3.5rem);
	text-align: center;
}

.hub-faq__head .eyebrow { color: var(--ijs-coral-700); }

.hub-faq__head h2 {
	font-family: var(--ijs-font-display);
	font-variation-settings: "opsz" 144, "SOFT" 50;
	font-size: clamp(2rem, 3vw + 0.75rem, 2.75rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.025em;
	color: var(--ijs-navy-900);
	margin: 0.5rem 0 0;
}

.hub-faq__head h2 em {
	font-style: italic;
	font-weight: 300;
	font-variation-settings: "opsz" 144, "SOFT" 100;
	color: var(--ijs-coral-700);
}

.hub-faq__list {
	max-width: 48rem;
	margin: 0 auto;
}

/* ---------------------------------------------------------------- */
/* 6. CTA SuperPromo final                                          */
/* ---------------------------------------------------------------- */
.hub-cta {
	background: var(--ijs-navy-900);
	color: var(--ijs-white);
	padding-top: clamp(64px, 10vh, 120px);
	/* Padding-bottom incluye 72px extra para no quedar tapado por el
	   .footer-coastline que se monta encima con margin-top:-72px. */
	padding-bottom: calc(clamp(64px, 10vh, 120px) + 72px);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hub-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 20% 0%, rgba(245, 177, 78, 0.12), transparent 55%),
		radial-gradient(ellipse at 85% 100%, rgba(255, 107, 91, 0.10), transparent 55%);
	pointer-events: none;
}

.hub-cta > * { position: relative; z-index: 1; }

.hub-cta__eyebrow {
	display: inline-block;
	padding: 0.5em 1.1em;
	background: rgba(245, 177, 78, 0.15);
	color: var(--ijs-gold-600);
	border: 1px solid rgba(245, 177, 78, 0.4);
	border-radius: 9999px;
	font-family: var(--ijs-font-body);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin: 0 0 1.5rem;
}

.hub-cta__title {
	font-family: var(--ijs-font-display);
	font-variation-settings: "opsz" 144, "SOFT" 50;
	font-size: clamp(2.25rem, 4vw + 0.5rem, 3.75rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--ijs-white);
	margin: 0 auto 1rem;
	max-width: 36rem;
}

.hub-cta__title em {
	font-style: italic;
	font-weight: 300;
	font-variation-settings: "opsz" 144, "SOFT" 100;
	color: var(--ijs-gold-600);
}

.hub-cta__title code {
	font-family: var(--ijs-font-body);
	font-size: 0.7em;
	font-weight: 700;
	letter-spacing: 0.04em;
	background: rgba(255, 255, 255, 0.08);
	padding: 0.1em 0.45em;
	border-radius: 0.4em;
	color: var(--ijs-white);
	border: 1px solid rgba(255, 255, 255, 0.18);
	vertical-align: 0.05em;
}

.hub-cta__sub {
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.78);
	max-width: 36rem;
	margin: 0 auto 2.25rem;
}

.hub-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 1.1em 2.2em;
	background: var(--ijs-coral-600);
	color: var(--ijs-white);
	font-family: var(--ijs-font-body);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	border-radius: 9999px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.hub-cta__btn:hover,
.hub-cta__btn:focus-visible {
	background: var(--ijs-coral-500);
	transform: translateY(-1px);
	color: var(--ijs-white);
}

.hub-cta__btn:focus-visible {
	outline: 2px solid var(--ijs-gold-600);
	outline-offset: 3px;
}

/* ---------------------------------------------------------------- */
/* About — intro editorial entre el hero y los componentes hub      */
/* ---------------------------------------------------------------- */
.about-intro {
	background: var(--ijs-sand-50);
	padding-block: clamp(64px, 10vh, 120px);
}
.about-intro__container {
	max-width: 42rem;
	margin: 0 auto;
}
.about-intro__container p {
	font-family: var(--ijs-font-display);
	font-variation-settings: "opsz" 72, "SOFT" 30;
	font-size: clamp(1.1rem, 0.5vw + 0.95rem, 1.3rem);
	line-height: 1.6;
	color: var(--ijs-navy-900);
	margin: 0 0 1.5rem;
}
.about-intro__container p:last-child { margin-bottom: 0; }
.about-intro__container em { font-style: italic; color: var(--ijs-coral-700); font-weight: 300; }
.about-intro__container strong { font-weight: 600; }

/* H2 + H3 dentro del body editorial — reusables en cualquier page con
   `.about-intro` (Nosotros, contacto, alquiler, legales, etc). */
.about-intro__container h2 {
	font-family: var(--ijs-font-display);
	font-variation-settings: "opsz" 144, "SOFT" 50;
	font-size: clamp(1.75rem, 2.5vw + 0.75rem, 2.5rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--ijs-navy-900);
	margin: 2.5rem 0 1rem;
}

.about-intro__container h3 {
	font-family: var(--ijs-font-display);
	font-variation-settings: "opsz" 72, "SOFT" 30;
	font-size: clamp(1.25rem, 1vw + 0.75rem, 1.6rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--ijs-coral-700);
	margin: 1.75rem 0 0.5rem;
}

.about-intro__container ul,
.about-intro__container ol {
	font-family: var(--ijs-font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ijs-navy-900);
	padding-left: 1.5rem;
	margin: 0 0 1.5rem;
}

.about-intro__container li { margin-bottom: 0.5rem; }
.about-intro__container li::marker { color: var(--ijs-coral-600); }

/* Variante alterna (fondo blanco) para encadenar bloques editoriales sin
   romper el ritmo visual entre secciones de hub_* (que usan sand-50). */
.about-intro--alt { background: var(--ijs-white); }

/* ---------------------------------------------------------------- */
/* About features — grid 2 cards narrativas con icono                */
/* ---------------------------------------------------------------- */
.about-features {
	background: var(--ijs-white);
	padding-block: clamp(64px, 10vh, 120px);
}

.about-features__head {
	max-width: 42rem;
	margin: 0 0 clamp(2.5rem, 4vh, 3.5rem);
}

.about-features__head .eyebrow { color: var(--ijs-coral-700); }

.about-features__head h2 {
	font-family: var(--ijs-font-display);
	font-variation-settings: "opsz" 144, "SOFT" 50;
	font-size: clamp(2rem, 3vw + 0.75rem, 2.75rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--ijs-navy-900);
	margin: 0.5rem 0 0;
}

.about-features__head h2 em {
	font-style: italic;
	font-weight: 300;
	font-variation-settings: "opsz" 144, "SOFT" 100;
	color: var(--ijs-coral-700);
}

.about-features__grid {
	display: grid;
	gap: clamp(1.5rem, 2.5vw, 2rem);
	grid-template-columns: 1fr 1fr;
}

@media (max-width: 760px) { .about-features__grid { grid-template-columns: 1fr; } }

.about-features__item {
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--ijs-sand-50);
	border: 1px solid var(--ijs-sand-100);
	border-radius: var(--ijs-radius-lg);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.about-features__icon {
	width: 36px;
	height: 36px;
	color: var(--ijs-turquoise-600);
	flex-shrink: 0;
}

.about-features__item:nth-child(2) .about-features__icon {
	color: var(--ijs-coral-600);
}

.about-features__item h3 {
	font-family: var(--ijs-font-display);
	font-variation-settings: "opsz" 72, "SOFT" 30;
	font-size: clamp(1.4rem, 1.6vw + 0.5rem, 1.75rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--ijs-navy-900);
	margin: 0;
}

.about-features__item p {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ijs-ink-500);
	margin: 0;
}
