/**
 * riderdays.css — Landing page RiderDays Pescara 2026
 *
 * Standalone landing: nessun header/footer standard.
 * Palette brand LetsItaly + mood evento motorsport.
 *
 * @package LetsItaly
 */

/* ============================================================
   RESET BODY per landing standalone
   ============================================================ */

body.riderdays-landing {
	padding-top: 0;
	background-color: #fff;
	overflow-x: hidden;
}

/* ============================================================
   UTILITIES
   ============================================================ */

.rd-container {
	width: 100%;
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: clamp( 1.25rem, 5vw, 3rem );
}

.rd-container--wide {
	max-width: 1400px;
}

/* Label categoria (eyebrow sopra il titolo) */
.rd-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --color-primary-light );
	margin-bottom: 0.75rem;
}

.rd-label--light {
	color: rgba( 255, 255, 255, 0.7 );
}

.rd-section-title {
	font-size: clamp( 1.75rem, 3vw, 2.5rem );
	font-weight: 700;
	line-height: 1.15;
	color: var( --color-primary );
	margin-bottom: 1rem;
}

.rd-section-subtitle {
	font-size: 1.0625rem;
	color: var( --color-text-muted );
	line-height: 1.65;
	max-width: 640px;
	margin-bottom: 2.5rem;
}

.rd-section-cta {
	text-align: center;
	margin-top: 3rem;
}

/* ============================================================
   PULSANTI
   ============================================================ */

.rd-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var( --font-display );
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: var( --border-radius, 0 );
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
	white-space: nowrap;
}

.rd-btn:hover {
	transform: translateY( -2px );
}

/* Dimensioni */
.rd-btn--lg {
	padding: 0.9rem 2rem;
	font-size: 1.0625rem;
}

.rd-btn--xl {
	padding: 1.1rem 2.5rem;
	font-size: 1.125rem;
}

/* WhatsApp green */
.rd-btn--wa {
	background-color: #25d366;
	color: #fff;
	padding: 0.8rem 1.75rem;
}

.rd-btn--wa:hover {
	background-color: #1ebe5d;
	color: #fff;
}

/* Outline (bordo primary) */
.rd-btn--outline {
	background-color: transparent;
	color: var( --color-primary );
	border: 2px solid var( --color-primary );
	padding: 0.75rem 1.75rem;
}

.rd-btn--outline:hover {
	background-color: var( --color-primary );
	color: #fff;
}

/* Primary (pieno) */
.rd-btn--primary {
	background-color: var( --color-primary );
	color: #fff;
	padding: 0.8rem 1.75rem;
}

.rd-btn--primary:hover {
	background-color: var( --color-secondary );
	color: #fff;
}

/* Card inline CTA */
.rd-btn--card {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 1rem;
	padding: 0.7rem 1rem;
	background-color: transparent;
	color: var( --color-primary );
	border: 1.5px solid var( --color-primary );
	font-size: 0.9375rem;
}

.rd-btn--card:hover {
	background-color: var( --color-primary );
	color: #fff;
}

/* ============================================================
   HEADER MINIMALE
   ============================================================ */

.rd-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem clamp( 1.25rem, 5vw, 3rem );
}

.rd-header__logo img {
	display: block;
	height: 38px;
	width: auto;
}

.rd-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	background-color: rgba( 255, 255, 255, 0.15 );
	border: 1.5px solid rgba( 255, 255, 255, 0.5 );
	padding: 0.5rem 1rem;
	transition: background-color 0.2s ease;
}

.rd-header__cta:hover {
	background-color: rgba( 255, 255, 255, 0.25 );
	color: #fff;
}

/* ============================================================
   SEZIONE 1 — HERO
   ============================================================ */

.rd-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #fff;
}

/* Media (video + overlay) */
.rd-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.rd-hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.rd-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba( 15, 25, 40, 0.55 ) 0%,
		rgba( 15, 25, 40, 0.70 ) 60%,
		rgba( 15, 25, 40, 0.85 ) 100%
	);
}

/* Contenuto */
.rd-hero__content {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 7rem 1.25rem 5rem;
	max-width: 820px;
}

.rd-hero__event-logo {
	display: block;
	margin: 0 auto var(--space-md);
	max-width: 240px;
	width: 100%;
	height: auto;
}

.rd-hero__eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var( --color-primary-light );
	margin-bottom: 1.25rem;
}

.rd-hero__title {
	font-size: clamp( 2.75rem, 7vw, 5rem );
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: #fff;
	margin-bottom: 1.25rem;
}

.rd-hero__subtitle {
	font-size: clamp( 1rem, 2vw, 1.1875rem );
	line-height: 1.65;
	color: rgba( 255, 255, 255, 0.85 );
	margin-bottom: 2.25rem;
	max-width: 600px;
	margin-inline: auto;
}

/* Freccia scroll */
.rd-hero__scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX( -50% );
	z-index: 1;
	color: rgba( 255, 255, 255, 0.6 );
	animation: rd-bounce 2s ease-in-out infinite;
}

@keyframes rd-bounce {
	0%, 100% { transform: translateX( -50% ) translateY( 0 ); }
	50%       { transform: translateX( -50% ) translateY( 6px ); }
}

/* ============================================================
   SEZIONE 2 — COME FUNZIONA
   ============================================================ */

.rd-come {
	background-color: #f8f8f6;
	padding-block: clamp( 4rem, 8vw, 7rem );
}

.rd-steps {
	list-style: none;
	padding: 0;
	margin: 3rem 0 0;
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 2rem;
}

.rd-step {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.rd-step__num {
	font-size: 3.5rem;
	font-weight: 900;
	line-height: 1;
	color: var( --color-primary-light );
	opacity: 0.6;
	font-variant-numeric: tabular-nums;
}

.rd-step__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var( --color-primary );
	margin-bottom: 0.375rem;
}

.rd-step__desc {
	font-size: 0.9375rem;
	color: var( --color-text-muted );
	line-height: 1.65;
}

/* ============================================================
   SEZIONE 4 — SERVIZI EXTRA
   ============================================================ */

.rd-servizi {
	padding-block: clamp( 4rem, 8vw, 7rem );
	background-color: #f8f8f6;
}

.rd-servizi__grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 2rem;
	margin-top: 3rem;
}

.rd-servizio {
	background-color: #fff;
	border: 1px solid rgba( 0, 0, 0, 0.07 );
	box-shadow: 0 2px 10px rgba( 0, 0, 0, 0.05 );
	padding: 2rem 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rd-servizio:hover {
	box-shadow: 0 6px 24px rgba( 0, 0, 0, 0.1 );
	transform: translateY( -3px );
}

.rd-servizio__icon {
	color: var( --color-primary );
	flex-shrink: 0;
}

.rd-servizio__title {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var( --color-primary );
	margin-bottom: 0.4rem;
}

.rd-servizio__desc {
	font-size: 0.9375rem;
	color: var( --color-text-muted );
	line-height: 1.65;
}

/* ============================================================
   SEZIONE 3 — STRUTTURE
   ============================================================ */

.rd-strutture {
	padding-block: clamp( 4rem, 8vw, 7rem );
	background-color: #fff;
}

.rd-strutture .rd-section-title {
	margin-bottom: 0.75rem;
}

/* Cards — scroll orizzontale su desktop */
.rd-cards-wrap {
	padding-inline: clamp( 1.25rem, 5vw, 3rem );
	max-width: 1400px;
	margin-inline: auto;
}

.rd-cards {
	display: flex;
	flex-direction: row;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;         /* Firefox */
	-ms-overflow-style: none;     /* IE / Edge */
	padding-block: 0.5rem;
	margin-block: 2.5rem;
}

.rd-cards::-webkit-scrollbar {
	display: none;
}

.rd-card {
	flex: 0 0 340px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border: 1px solid rgba( 0, 0, 0, 0.08 );
	box-shadow: 0 2px 12px rgba( 0, 0, 0, 0.06 );
	overflow: hidden;
}

.rd-card__img-wrap {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.rd-card__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.4s ease;
}

.rd-card:hover .rd-card__img-wrap img {
	transform: scale( 1.04 );
}

.rd-card__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	background-color: var( --color-primary-light );
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.3rem 0.65rem;
	letter-spacing: 0.03em;
}

.rd-card__body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.rd-card__title {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var( --color-primary );
	margin-bottom: 0.25rem;
}

.rd-card__subtitle {
	font-size: 0.875rem;
	color: var( --color-text-muted );
	margin-bottom: 0.875rem;
}

.rd-card__meta {
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
}

.rd-card__meta li {
	font-size: 0.8125rem;
	color: var( --color-text-muted );
}

.rd-card__meta li::before {
	content: '·';
	margin-right: 0.25rem;
	color: var( --color-primary-light );
	font-weight: 700;
}

.rd-strutture__note {
	font-size: 1rem;
	color: var( --color-text-muted );
	margin-bottom: 1rem;
}

/* ============================================================
   SEZIONE 4 — CTA FINALE
   ============================================================ */

.rd-finale {
	background-color: var( --color-primary );
	color: #fff;
	padding-block: clamp( 4.5rem, 9vw, 8rem );
	text-align: center;
}

.rd-finale .rd-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.rd-finale__title {
	font-size: clamp( 2rem, 4vw, 3rem );
	font-weight: 900;
	line-height: 1.1;
	color: #fff;
	margin-bottom: 1.25rem;
}

.rd-finale__subtitle {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: rgba( 255, 255, 255, 0.8 );
	max-width: 580px;
	margin-bottom: 2.5rem;
}

.rd-finale__trust {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 2rem;
	margin-top: 1.5rem;
	font-size: 0.875rem;
	color: rgba( 255, 255, 255, 0.65 );
}

.rd-finale__trust span::before {
	content: '✓ ';
	color: #25d366;
}

/* ============================================================
   MINI FOOTER
   ============================================================ */

.rd-footer {
	background-color: #f0eeea;
	padding-block: 2rem;
	border-top: 1px solid rgba( 0, 0, 0, 0.08 );
}

.rd-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.rd-footer__logo img {
	display: block;
	height: 28px;
	width: auto;
}

.rd-footer__copy {
	font-size: 0.8125rem;
	color: var( --color-text-muted );
}

.rd-footer__copy a {
	color: var( --color-primary );
	text-decoration: underline;
}

/* ============================================================
   STICKY MOBILE CTA BAR
   ============================================================ */

.rd-sticky-cta {
	display: none; /* visibile solo mobile via media query */
}

@media ( max-width: 767px ) {
	.rd-sticky-cta {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 200;
		padding: 0.75rem 1rem;
		background-color: #fff;
		border-top: 1px solid rgba( 0, 0, 0, 0.1 );
		box-shadow: 0 -4px 16px rgba( 0, 0, 0, 0.1 );
	}

	.rd-sticky-cta__btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		width: 100%;
		padding: 0.875rem;
		background-color: #25d366;
		color: #fff;
		font-weight: 700;
		font-size: 1rem;
		text-decoration: none;
		font-family: var( --font-display );
		transition: background-color 0.2s ease;
	}

	.rd-sticky-cta__btn:hover {
		background-color: #1ebe5d;
		color: #fff;
	}

	/* Evita che il footer venga coperto dalla sticky bar */
	.rd-footer {
		padding-bottom: calc( 2rem + 72px );
	}
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */

@media ( max-width: 1024px ) {
	.rd-steps {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.rd-step {
		flex-direction: row;
		gap: 1.5rem;
		align-items: flex-start;
	}

	.rd-step__num {
		font-size: 2.5rem;
		flex-shrink: 0;
		min-width: 3rem;
	}

	.rd-servizi__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.rd-servizio {
		flex-direction: row;
		align-items: flex-start;
		gap: 1.25rem;
	}

	.rd-servizio__icon {
		margin-top: 0.25rem;
	}
}

/* ============================================================
   RESPONSIVE — MOBILE (≤767px)
   ============================================================ */

@media ( max-width: 767px ) {

	/* Header */
	.rd-header {
		padding: 1rem 1.25rem;
	}

	.rd-header__logo img {
		height: 30px;
	}

	.rd-header__cta {
		font-size: 0.875rem;
		padding: 0.45rem 0.75rem;
	}

	/* Hero */
	.rd-hero__content {
		padding: 6rem 1.25rem 4rem;
	}

	.rd-hero__subtitle br {
		display: none;
	}

	/* Cards — colonna su mobile */
	.rd-cards {
		flex-direction: column;
		overflow-x: visible;
		scroll-snap-type: unset;
	}

	.rd-card {
		flex: none;
		width: 100%;
	}

	/* Sezioni */
	.rd-come,
	.rd-strutture {
		padding-block: 3rem;
	}

	.rd-finale {
		padding-block: 4rem;
	}

	/* Footer */
	.rd-footer__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	/* Trust row */
	.rd-finale__trust {
		flex-direction: column;
		gap: 0.5rem;
	}
}
