/* Express Bus EN / FR — look "travel ticket" */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
	--ink: #12263a;
	--navy: #1a365d;
	--blue: #1e40af;
	--gold: #c9a227;
	--gold-d: #a3841c;
	--paper: #f4efe6;
	--card: #fffdf8;
	--muted: #5c6b7a;
	--line: #e6dcc8;
}

html, body {
	margin: 0;
	padding: 0;
}
body {
	font-family: Georgia, "Times New Roman", Cambria, serif;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	padding-top: 80px;
}
body,
.nav-link,
.dropdown,
.service-btn,
.line-btn,
.booking-label,
.stat-item,
.hero-chips,
.price-pill,
.footer,
.crumb-nav,
summary,
.intro-text {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.nav-link i.fas,
.nav-link i.fa-solid,
.nav-link i.fab { display: none; }
.dropdown-toggle::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 0.4rem;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	vertical-align: middle;
}

.hero-home {
	min-height: 560px;
	display: flex;
	align-items: flex-end;
	background:
		linear-gradient(180deg, rgba(18, 38, 58, 0.25) 0%, rgba(18, 38, 58, 0.72) 70%, rgba(18, 38, 58, 0.92) 100%),
		url('../expressbus-hero-flotta.jpg') center 62% / cover no-repeat;
	position: relative;
	padding: 56px 0 96px;
}
.hero__content {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
	color: #fff;
}
.hero__content h1,
.hero__content p { color: #fff; }
.intro-text {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--gold);
	margin: 0 0 0.8rem;
	padding: 6px 12px;
	border: 1px solid rgba(201, 162, 39, 0.45);
	border-radius: 999px;
	background: rgba(18, 38, 58, 0.35);
}
.big-text {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 5.2vw, 3.6rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em;
	margin: 0 0 1rem;
	max-width: 16ch;
	text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.hero-home .normal-text {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: clamp(1rem, 2vw, 1.15rem);
	max-width: 640px;
	margin: 0 0 1.4rem;
	color: rgba(255,255,255,0.9);
	line-height: 1.55;
	text-shadow: none;
}
.hero-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 1.1rem;
}
.hero-chips span {
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.22);
	color: #fff;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.price-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--gold);
	color: var(--ink);
	font-weight: 800;
	font-size: 0.95rem;
	padding: 10px 16px;
	border-radius: 6px;
	margin: 0;
}

.booking-wrap {
	max-width: 1120px;
	margin: -56px auto 0;
	padding: 0 20px;
	position: relative;
	z-index: 10;
}
.booking-card {
	background: var(--card);
	border-radius: 20px;
	box-shadow: 0 24px 50px rgba(18, 38, 58, 0.18);
	border: 1px solid var(--line);
	overflow: hidden;
}
.booking-label {
	margin: 0;
	padding: 14px 22px;
	background: var(--ink);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.booking-card .col { width: 100%; padding: 8px 8px 12px; }
#iframePrenota {
	border: 0;
	border-radius: 12px;
	width: 100%;
	min-height: 480px;
	background: #fff;
	display: block;
}

.stats-strip {
	max-width: 1120px;
	margin: 28px auto 0;
	padding: 0 20px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
.stat-item {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 16px 14px;
	text-align: center;
}
.stat-item strong {
	display: block;
	font-size: 1.15rem;
	color: var(--navy);
	font-weight: 800;
	margin-bottom: 4px;
}
.stat-item span {
	color: var(--muted);
	font-size: 0.82rem;
}

.block {
	max-width: 1120px;
	margin: 0 auto;
	padding: 48px 20px 8px;
}
.block-alt {
	background: linear-gradient(180deg, #efe7d8 0%, var(--paper) 100%);
	max-width: none;
	padding: 56px 20px 32px;
	margin: 40px 0 0;
}
.block-alt .block-inner {
	max-width: 1120px;
	margin: 0 auto;
}

.section-title {
	font-family: Georgia, "Times New Roman", serif;
	color: var(--ink);
	font-size: clamp(1.6rem, 3vw, 2.15rem);
	font-weight: 700;
	text-align: center;
	margin: 0 0 0.5rem;
}
.section-kicker {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--gold-d);
	margin: 0 0 8px;
}
.section-lead {
	text-align: center;
	color: var(--muted);
	line-height: 1.7;
	max-width: 680px;
	margin: 0 auto 1.8rem;
	font-size: 1.02rem;
}

.services-grid,
.bus-lines-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.service-card {
	background: var(--card);
	border-radius: 18px;
	padding: 1.6rem 1.35rem 1.4rem;
	border: 1px solid var(--line);
	text-align: left;
	box-shadow: 0 8px 22px rgba(18, 38, 58, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(18, 38, 58, 0.1);
}
.service-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 1rem;
	color: #fff;
}
.service-icon.offers { background: #c45c26; }
.service-icon.tracking { background: #1a7a5a; }
.service-icon.faq { background: var(--navy); }
.service-icon svg { width: 22px; height: 22px; fill: currentColor; }
.service-card h3,
.bus-line-card h3 {
	color: var(--ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.28rem;
	font-weight: 700;
	margin: 0 0 0.55rem;
}
.service-card p,
.route {
	color: var(--muted);
	line-height: 1.6;
	margin: 0 0 1.1rem;
	font-size: 0.95rem;
}
.service-btn,
.line-btn {
	background: var(--ink);
	color: #fff !important;
	padding: 0.7rem 1.15rem;
	border-radius: 999px;
	text-decoration: none;
	display: inline-block;
	font-weight: 700;
	font-size: 0.88rem;
	letter-spacing: 0.02em;
	transition: background 0.2s ease, transform 0.2s ease;
}
.service-btn:hover,
.line-btn:hover {
	background: var(--blue);
	transform: translateY(-1px);
}

.bus-line-card {
	position: relative;
	background: var(--card);
	border-radius: 0 18px 18px 0;
	padding: 1.5rem 1.4rem 1.35rem 1.6rem;
	border: 1px solid var(--line);
	border-left: 0;
	box-shadow: 0 8px 22px rgba(18, 38, 58, 0.05);
	overflow: hidden;
}
.bus-line-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 58px;
	background: repeating-linear-gradient(
		-18deg,
		var(--navy),
		var(--navy) 10px,
		#163050 10px,
		#163050 12px
	);
}
.line-number {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 58px;
	color: var(--gold);
	font-size: 1.35rem;
	font-weight: 800;
	text-align: center;
	z-index: 1;
}
.line-body { margin-left: 52px; }
.bus-line-card:hover { transform: translateY(-3px); }

.note-box {
	background: var(--card);
	border: 1px dashed var(--gold-d);
	border-radius: 14px;
	padding: 1.1rem 1.25rem;
	color: var(--ink);
	font-size: 0.95rem;
	line-height: 1.75;
	margin: 28px 0 0;
}
.note-box a { color: var(--blue); font-weight: 700; text-decoration: none; }
.note-box a:hover { text-decoration: underline; }

.faq-wrap { max-width: 820px; margin: 0 auto; }
details {
	background: var(--card);
	border-radius: 12px;
	margin: 0.55rem 0;
	padding: 0.15rem 1.1rem;
	border: 1px solid var(--line);
}
summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--ink);
	padding: 0.55rem 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 12px;
	line-height: 1.35;
}
summary::-webkit-details-marker { display: none; }
summary p {
	margin: 0 !important;
	padding: 0 !important;
	flex: 1 1 auto;
	color: inherit;
	font-weight: 700;
}
summary::after {
	content: "+";
	float: none;
	flex: 0 0 auto;
	align-self: center;
	color: var(--gold-d);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1;
	margin: 0;
	position: relative;
	top: -2px;
}
details[open] summary::after { content: "–"; }
details p {
	color: var(--muted);
	margin: 0 0 1rem;
	padding: 0 0 0.4rem;
}
details a { color: var(--blue); font-weight: 600; }
.faq-plain details {
	background: transparent !important;
	border: none !important;
	border-bottom: 1px solid var(--line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0.1rem 0 0.35rem !important;
	margin: 0 0 0.35rem !important;
}
.faq-plain summary {
	background: transparent !important;
	color: var(--ink) !important;
}

.trust-banner {
	background: var(--ink);
	border-radius: 18px;
	padding: 2.2rem 1.5rem;
	text-align: center;
	color: #fff;
	margin: 2rem auto 0;
	max-width: 1120px;
}
.trust-banner h2 {
	font-family: Georgia, "Times New Roman", serif;
	color: #fff;
	margin: 0 0 0.75rem;
	font-size: 1.7rem;
}
.trust-banner p { margin: 0 0 1.25rem; opacity: 0.9; line-height: 1.7; }
.badge-row {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.badge-row span {
	background: rgba(201, 162, 39, 0.18);
	color: var(--gold);
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.85rem;
	border: 1px solid rgba(201, 162, 39, 0.35);
}

.footer { margin-top: 3rem; }
.footer-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 2rem;
}
.footer-copy {
	color: #cbd5e1;
	line-height: 1.7;
	margin: 0 0 1rem;
	font-family: system-ui, sans-serif;
}
.footer-bottom {
	border-top: 1px solid #475569;
	padding-top: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}
.footer-bottom p { color: #cbd5e1; margin: 0; font-size: 0.9rem; }
.social-link {
	width: auto;
	min-width: 50px;
	padding: 0 12px;
	font-size: 12px;
	font-weight: 600;
}
.whatsapp-float svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
	display: block;
}

@media (max-width: 900px) {
	.stats-strip,
	.services-grid,
	.bus-lines-grid { grid-template-columns: 1fr; }
	.hero-home {
		min-height: 420px;
		padding: 44px 0 80px;
		background:
			linear-gradient(180deg, rgba(18, 38, 58, 0.2) 0%, rgba(18, 38, 58, 0.78) 100%),
			url('../expressbus-hero-flotta.jpg') center 62% / cover no-repeat;
	}
	.big-text { max-width: none; }
	.booking-wrap { margin-top: -40px; padding: 0 12px; }
	.booking-card .col { padding: 0; }
	#iframePrenota { border-radius: 0; min-height: 420px; }
}

/* —— Pagine interne: stessi colori e stesso stile delle home —— */
body { background: var(--paper) !important; color: var(--ink); }

#breadcrumb-nav {
	background: var(--paper) !important;
	box-shadow: none !important;
	border-bottom: 1px solid var(--line);
	backdrop-filter: none !important;
}
#breadcrumb-nav.hidden,
#breadcrumb-nav.breadcrumb-hidden {
	opacity: 0;
	transform: translateY(-100%);
	pointer-events: none;
}

.hero,
.hero-Salerno-Roma {
	min-height: 320px !important;
	height: auto !important;
	display: flex !important;
	align-items: flex-end !important;
	background:
		linear-gradient(180deg, rgba(18, 38, 58, 0.25) 0%, rgba(18, 38, 58, 0.82) 100%),
		url('../magelys-express-sfondo.jpg') center / cover no-repeat !important;
	padding: 48px 0 40px !important;
	margin: 0 !important;
}
.hero .intro-text,
.hero-Salerno-Roma .intro-text,
.hero-Salerno-Napoli .intro-text,
.hero-home .intro-text {
	color: var(--gold) !important;
	text-shadow: none !important;
	font-size: 0.72rem !important;
}
.hero .big-text,
.hero-Salerno-Roma .big-text,
.hero-Salerno-Napoli .big-text,
.hero-home .big-text {
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.7rem, 4.2vw, 2.8rem) !important;
	font-weight: 700 !important;
	color: #fff !important;
	text-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
	max-width: 18ch;
}
h2.big-text,
.page-heading {
	color: var(--ink) !important;
	text-shadow: none !important;
	max-width: none !important;
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.big-text.blue {
	color: var(--ink) !important;
	text-shadow: none !important;
	max-width: none;
	font-size: clamp(1.35rem, 3vw, 1.85rem) !important;
}
.hero .normal-text,
.hero-Salerno-Roma .normal-text,
.hero-home .normal-text {
	color: rgba(255,255,255,0.9) !important;
	text-shadow: none !important;
	font-size: 1.05rem !important;
	margin: 0 0 0.5rem !important;
}

.content-container {
	max-width: 920px;
	margin: -28px auto 2.5rem;
	padding: 2rem 1.6rem 2.2rem;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(18, 38, 58, 0.08);
	position: relative;
	z-index: 2;
}
.content-container .normal-text,
.content-container p {
	color: var(--muted);
	text-shadow: none;
}
.content-container a { color: var(--blue); }

.bottonevali,
.bottonevali.bottone2,
.cta-button {
	background: var(--ink) !important;
	border: none !important;
	color: #fff !important;
	padding: 13px 26px !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
	box-shadow: none !important;
}
.cta-button.secondary {
	background: transparent !important;
	color: var(--ink) !important;
	border: 1px solid var(--ink) !important;
}

table { border-collapse: collapse; width: 100%; margin: 1.4rem 0; background: #fff; border-radius: 12px; overflow: hidden; }
table th { background: var(--ink); color: #fff; padding: 12px 14px; text-align: left; }
table td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink); }
table tr:nth-child(even) td { background: #faf7f0; }

div.gallery {
	display: grid;
	grid-template-columns: minmax(260px, 1.15fr) minmax(200px, 1fr);
	gap: 1.1rem;
	align-items: center;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 12px 14px;
	margin: 1.15rem auto;
	max-width: 920px;
	box-shadow: 0 8px 20px rgba(18, 38, 58, 0.05);
}
div.gallery > p {
	margin: 0 !important;
	padding: 0 !important;
}
div.gallery img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid var(--line);
	display: block;
}
div.gallery .desc { text-align: left; padding: 4px 8px 4px 0; }
div.gallery .titoloi {
	color: var(--ink);
	font-size: 1.25rem;
	margin: 0 0 0.4rem;
	font-family: Georgia, "Times New Roman", serif;
}
div.gallery .titoloim {
	color: var(--muted);
	line-height: 1.55;
	margin: 0;
}
@media (max-width: 700px) {
	div.gallery { grid-template-columns: 1fr; }
	div.gallery img { height: 210px; }
}

.duration-section,
.action-buttons-section,
.info-section {
	background: var(--paper) !important;
}
.comfort-section {
	background: var(--ink) !important;
	color: #fff !important;
}
.duration-title,
.action-buttons-title,
.comfort-title,
.main-info h2,
.sidebar-info h3,
.action-button-title,
.duration-destination {
	color: var(--ink) !important;
	font-family: Georgia, "Times New Roman", serif !important;
}
.comfort-title,
.comfort-card h3 { color: #fff !important; }
.duration-item,
.action-button,
.comfort-card,
.highlight-box,
.sidebar-info,
.route-card {
	background: var(--card) !important;
	border: 1px solid var(--line) !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 20px rgba(18, 38, 58, 0.05) !important;
}
.comfort-card {
	background: var(--card) !important;
	border: 1px solid var(--line) !important;
}
.comfort-card h3 {
	color: var(--ink) !important;
	text-shadow: none !important;
}
.comfort-subtitle {
	color: rgba(255, 255, 255, 0.9) !important;
	text-shadow: none !important;
}
.comfort-card p {
	color: var(--muted) !important;
	text-shadow: none !important;
}
.duration-icon,
.action-button-icon,
.comfort-icon {
	background: var(--navy) !important;
	color: var(--gold) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
}
.duration-icon i,
.action-button-icon i,
.comfort-icon i { display: none !important; }
.duration-icon svg,
.action-button-icon svg,
.comfort-icon svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
	display: block;
}
.duration-time { color: var(--gold-d) !important; }
.action-button-desc,
.main-info p { color: var(--muted) !important; }
.titolo3 {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
	color: var(--ink) !important;
	font-size: 1.05rem;
	font-style: normal;
	line-height: 1.45;
	margin: 2rem auto;
	max-width: 36rem;
}
.titolo3 br { display: none; }
.titolo3 a.bottonevali {
	display: inline-block !important;
	order: 2;
	position: static !important;
	float: none !important;
	margin: 0 !important;
}
.highlight-box { border-left: 4px solid var(--gold) !important; }
.grid3 {
	max-width: 1120px;
	margin: 0 auto 1.5rem;
	padding: 0 20px;
	position: relative;
	z-index: 10;
}
.hero-Salerno-Roma + .booking-wrap,
.hero-Salerno-Napoli + .booking-wrap {
	margin-top: -56px;
}
.orari-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: 1000px;
	margin: 1.5rem auto;
	padding: 0 20px;
}
.orari-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
}
.orari-card h3 {
	background: var(--ink);
	color: #fff;
	margin: 0;
	padding: 14px 16px;
	text-align: center;
	font-size: 1.05rem;
	line-height: 1.35;
}
.orari-card table { margin: 0; }
.orari-note, .tariffe-wrap {
	max-width: 720px;
	margin: 0 auto 1.2rem;
	padding: 0 20px;
	text-align: center;
	color: var(--muted);
}
.tariffe-wrap table { margin: 0 auto; }
.poster {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 24px;
	align-items: center;
	margin: 2rem auto;
	max-width: 900px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 16px;
	overflow: hidden;
}
.poster__img { margin: 0; }
.poster__img img {
	width: 100%;
	height: auto;
	max-height: 240px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}
.poster .big-text {
	color: var(--ink) !important;
	font-size: 1.55rem !important;
	max-width: none !important;
	text-align: left !important;
	text-shadow: none !important;
}
.history-sign {
	text-align: center;
	margin: 2rem 0 0;
}
.history-sign img,
img.immagine2 {
	display: block;
	margin: 0 auto 10px;
	max-width: min(422px, 100%);
	height: auto;
}
.history-sign .titoloRoboto {
	display: block;
	text-align: center;
	color: var(--ink);
	margin: 0;
}

@media (max-width: 768px) {
	.hero, .hero-Salerno-Roma, .hero-Salerno-Napoli, .hero-home {
		min-height: 240px !important;
		align-items: center !important;
	}
	.hero-home {
		min-height: 320px !important;
	}
	.content-container { margin: 12px 12px 2rem; padding: 1.3rem 1.1rem; }
	.big-text { max-width: none !important; }
	.orari-grid, .poster { grid-template-columns: 1fr; }
	.poster .big-text { text-align: center !important; }
}
