﻿/* Bus Fisciano Roma - stili pagina */
/* Reset base */
	html, body, applet, object, blockquote, pre,
	a, abbr, acronym, address, big, cite, code,
	del, dfn, em, font, img, ins, kbd, q, s, samp,
	small, strike, strong, sub, sup, tt, var,
	b, u, i, center,
	dl, dt, dd, ol, ul, li,
	fieldset, form, label, legend, caption, tbody, tfoot, thead, video {
		margin: 0;
		padding: 0;
		border: 0;
		outline: 0;
		font-size: 100%;
		vertical-align: baseline;
	}

	*,
	*:before,
	*:after {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	body { 
		font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; 
		font-size: 16px;
		padding-top: 80px;
		margin: 0;
		line-height: 1.6;
		color: #1f2937;
		background-color: #f9fafb;
	}

	ul { list-style-type: none; }
	a { 
		text-decoration: none;
		transition: color 0.3s ease, opacity 0.3s ease;
	}

	h1, h2, h3, h4, h5 { 
		color: #1f2937; 
		padding-bottom: 1.5rem;
		line-height: 1.2;
		font-weight: 700;
	}

	p { 
		line-height: 1.8; 
		color: #4b5563; 
		font-weight: 400;
		padding-bottom: 1rem;
	}

	.footer-section p {
		padding-bottom: 0;
		margin-bottom: 0.5rem;
	}

	main {
		margin: 0;
		padding: 0;
		background-color: #ffffff;
	}

	#breadcrumb-nav.hidden {
		opacity: 0;
		transform: translateY(-100%);
		pointer-events: none;
		transition: opacity 0.3s ease, transform 0.3s ease;
	}

	/* Typography migliorata */
	.big-text { 
		font-size: 70px; 
		font-weight: 900;
		line-height: 1.1;
		letter-spacing: -0.02em;
		margin-bottom: 1rem;
	}

	.med-text { 
		font-size: 40px; 
		margin: auto;
		line-height: 1.2;
	}

	.medium-text { 
		font-size: 30px;
		line-height: 1.3;
		font-weight: 600;
	}

	.normal-text { 
		font-size: 20px; 
		margin: 30px; 
		color: #374151;
		line-height: 1.7;
	}

	.small-text { 
		font-size: 14px;
		line-height: 1.6;
	}

	.sotto-text { 
		font-size: 35px;
		line-height: 1.3;
	}

	.intro-text { 
		text-transform: uppercase; 
		font-size: 20px;
		letter-spacing: 0.1em;
		font-weight: 600;
		opacity: 0.9;
	}

	.hero-lead {
		max-width: 820px;
		margin: 0.5rem 0 0 0;
		font-size: 1.15rem;
		line-height: 1.55;
		font-weight: 500;
		color: #fff;
		text-shadow: 0 2px 10px rgba(0,0,0,0.3);
	}

	.fisciano-faq {
		max-width: 900px;
		margin: 2.5rem auto 3rem;
		padding: 0 2rem;
	}

	.fisciano-faq h2 {
		text-align: center;
		color: #1e40af;
		font-size: 1.8rem;
		padding-bottom: 1rem;
	}

	.fisciano-faq details {
		background: #fff;
		border: 1px solid #dbeafe;
		border-radius: 8px;
		padding: 0.85rem 1.1rem;
		margin-bottom: 0.6rem;
	}

	.fisciano-faq summary {
		font-weight: 700;
		color: #1e40af;
		cursor: pointer;
	}

	.fisciano-faq details p {
		margin: 0.7rem 0 0 0;
		padding-bottom: 0;
		color: #374151;
	}

	.social-link {
		width: auto;
		min-width: 50px;
		padding: 0 12px;
		font-size: 12px;
		font-weight: 600;
	}

	.nav-link i {
		font-style: normal;
		font-variant: normal;
	}

	.nav-link i svg {
		width: 0.9em;
		height: 0.9em;
		fill: currentColor;
		display: inline-block;
		vertical-align: -0.125em;
	}

	.nav-link i.fa-house,
	.nav-link i.fa-lock {
		margin-right: 0.35em;
	}

	/* Helpers */
	.tw { color: #fff; }
	.red { color: #ef4444; }
	.blk { color: #1f2937; }
	.blu { color: #1e40af; }
	.bld { font-weight: 700; }

	/* Hero migliorato */
	.hero {
		height: 100vh;
		display: flex;
		width: 100%;
		align-items: center;
		background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0, 0.6)), url('../bus-fisciano-roma.jpg') no-repeat center center;
		background-size: cover;
		background-attachment: scroll;
		position: relative;
	}

	.hero::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: linear-gradient(135deg, rgba(30, 64, 175, 0.3) 0%, rgba(59, 130, 246, 0.2) 100%);
		pointer-events: none;
	}

	.hero--8 {
		height: 550px;
		background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0, 0.6)), url('../bus-fisciano-roma.jpg') no-repeat center center;
		background-size: cover;
		background-position: center;
		position: relative;
	}

	.hero--8::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: linear-gradient(135deg, rgba(30, 64, 175, 0.3) 0%, rgba(59, 130, 246, 0.2) 100%);
		pointer-events: none;
	}

	.hero__content {
		width: 100%;
		max-width: 1350px;
		margin: 0 auto;
		padding: 30px;
		position: relative;
		z-index: 1;
	}

	.hero__content h1,
	.hero__content p { 
		color: #fff;
		text-shadow: 0 2px 10px rgba(0,0,0,0.3);
	}

	/* Grid migliorato */
	.grid3 {
		display: flex;
		max-width: 1250px;
		padding: 0 30px;
		margin: 0 auto;
		margin-top: -100px;
		position: relative;
		z-index: 2;
	}

	.grid3 .col {
		width: 100%;
	}

	/* Poster migliorato */
	.poster2 {
		flex-wrap: nowrap;
		height: auto;
		display: flex;
		width: 100%;
		max-width: 2500px;
		align-items: stretch;
		gap: 1.5rem;
		padding: 2rem 1rem;
		justify-content: center;
	}

	.poster__1 {
		width: 25%;
		min-width: 0;
		flex: 0 0 25%;
		padding: 20px;
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		display: flex;
		flex-direction: column;
	}

	.poster__1 a {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		height: 100%;
	}

	.poster__1:hover {
		transform: translateY(-5px);
	}

	.poster__1 img {
		object-fit: contain;
		width: 70%;
		max-width: 100%;
		height: auto;
		transition: transform 0.3s ease;
		display: block;
		margin: 0 auto;
	}

	.poster__1:hover img {
		transform: scale(1.05);
	}

	.poster3__img {
		width: 40%;
		height: auto;
		margin: auto;
	}

	.poster3__img img {
		object-fit: contain;
		width: 100%;
		max-width: 600px;
		height: auto;
	}

	.poster3__content {
		width: 60%;
		padding: 50px;
	}

	.poster3__content form {
		background: rgba(255, 255, 255, 0.95);
		border-radius: 12px;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	}

	.poster3__content input[type="text"],
	.poster3__content input[type="email"],
	.poster3__content textarea {
		border: 2px solid #e5e7eb;
		border-radius: 8px;
		padding: 10px 15px;
		transition: all 0.3s ease;
		font-family: inherit;
	}

	.poster3__content input[type="text"]:focus,
	.poster3__content input[type="email"]:focus,
	.poster3__content textarea:focus {
		outline: none;
		border-color: #1e40af;
		box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
	}

	.poster3__content label {
		display: block;
		margin-bottom: 8px;
	}

	.poster3__img img {
		border-radius: 12px;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
		transition: transform 0.3s ease;
	}

	.poster3__img img:hover {
		transform: scale(1.02);
	}

	/* Buttons migliorati */
	.bottonevali {
		background-color: #4CAF50;
		border: none;
		color: white;
		padding: 19px 38px;
		text-align: center;
		text-decoration: none;
		display: inline-block;
		font-size: 18px;
		margin: 2px 1px;
		cursor: pointer;
		border-radius: 8px;
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		box-shadow: 0 4px 6px rgba(0,0,0,0.1);
		font-weight: 600;
	}

	.bottonevali:hover {
		background-color: #45a049;
		transform: translateY(-2px);
		box-shadow: 0 6px 12px rgba(0,0,0,0.15);
	}

	.bottonevali:active {
		transform: translateY(0);
		box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	}

	.bottone3 {
		width: 220px;
		height: 70px;
		padding: 5px 5px;
		background: linear-gradient(135deg, #252850 0%, #1e3a5f 100%);
		color: white;
		border: 3px solid #117099;
		border-radius: 8px;
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		box-shadow: 0 4px 6px rgba(0,0,0,0.1);
		display: flex;
		align-items: center;
		justify-content: center;
		font-weight: 600;
	}

	.bottone3:hover {
		background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
		color: #252850;
		border: 3px solid #252850;
		transform: translateY(-2px);
		box-shadow: 0 6px 12px rgba(251, 191, 36, 0.3);
	}

	.bottone4 {
		width: auto;
		height: 470px;
		padding: 20px;
		background: linear-gradient(135deg, #252850 0%, #1e3a5f 100%);
		color: white;
		border: 3px solid #252850;
		border-radius: 16px;
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		box-shadow: 0 8px 16px rgba(0,0,0,0.15);
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		text-align: center;
	}

	.bottone4:hover {
		background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
		color: #252850;
		border: 3px solid #252850;
		transform: translateY(-8px);
		box-shadow: 0 12px 24px rgba(251, 191, 36, 0.4);
	}

	.bottone4 b {
		font-size: 1.3em;
		margin: 10px 0;
		display: block;
	}

	.bottone4 span {
		font-size: 0.95em;
		line-height: 1.6;
	}

	.bottone4 img {
		margin-bottom: 15px;
	}

	.linee-fisciano {
		max-width: 1200px;
		margin: 0 auto 3rem;
		padding: 0 2rem;
	}
	.linee-grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.25rem;
		align-items: stretch;
	}
	.linea-card {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.85rem;
		min-height: 190px;
		padding: 1.6rem 1.5rem 1.35rem;
		text-decoration: none;
		color: #fff;
		opacity: 1;
		background: linear-gradient(165deg, #252850 0%, #1e3a8a 100%);
		border: 1px solid rgba(255,255,255,0.08);
		border-radius: 16px;
		box-shadow: 0 10px 24px rgba(37, 40, 80, 0.22);
		transition: transform 0.25s ease, box-shadow 0.25s ease;
		position: relative;
		overflow: hidden;
	}
	.linea-card::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 4px;
		background: linear-gradient(90deg, #fbbf24, #f59e0b);
		pointer-events: none;
	}
	.linea-card:hover {
		transform: translateY(-6px);
		box-shadow: 0 18px 36px rgba(30, 64, 175, 0.28);
		opacity: 1;
		color: #fff;
	}
	.linea-card:focus {
		outline: none;
	}
	.linea-card:focus-visible {
		outline: 2px solid #fbbf24;
		outline-offset: 3px;
	}
	.linea-num {
		display: inline-block;
		font-size: 0.78rem;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: #252850;
		background: #fbbf24;
		padding: 0.32rem 0.75rem;
		border-radius: 999px;
	}
	.linea-route {
		font-size: 1.22rem;
		font-weight: 700;
		line-height: 1.35;
		color: #fff;
	}
	.linea-cta {
		margin-top: auto;
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
		font-size: 0.88rem;
		font-weight: 600;
		color: #fde68a;
	}
	.linea-card:hover .linea-cta {
		color: #fff;
	}

	/* Images migliorate */
	.immagine {
		width: 50%;
		height: auto;
		border-radius: 12px;
		box-shadow: 0 8px 16px rgba(0,0,0,0.1);
		transition: transform 0.3s ease, box-shadow 0.3s ease;
	}

	.immagine:hover {
		transform: scale(1.02);
		box-shadow: 0 12px 24px rgba(0,0,0,0.15);
	}

	/* Responsive migliorato */
	@media (max-width: 1250px) {
		.big-text { font-size: 55px; }
		.normal-text { margin: 25px; }
		.sotto-text { font-size: 25px; }
	}

	@media (max-width: 1100px) {
		.poster2 {
			flex-wrap: wrap;
		}
		.poster__1 { 
			width: 50%;
			flex: 0 0 50%;
		}
		.poster2 { gap: 1rem; }
		.poster3__img,
		.poster3__content {
			width: 100%;
		}
		.poster3__content {
			padding: 30px;
		}
		.linee-grid {
			grid-template-columns: 1fr;
		}
	}

	@media (max-width: 768px) {
		.big-text { font-size: 40px; }
		.normal-text { margin: 15px; font-size: 18px; }
		.sotto-text { font-size: 22px; }
		.medium-text { font-size: 24px; }
		.intro-text { font-size: 16px; }
		.grid3 {
			flex-wrap: wrap;
			padding: 0 15px;
			margin-top: 0;
		}
		.poster2 {
			flex-wrap: wrap;
			padding: 1rem 0.5rem;
			gap: 1rem;
		}
		.poster__1 { 
			width: 100%;
			flex: 0 0 100%;
			padding: 15px; 
		}
		.poster__1 img { 
			object-fit: contain; 
			width: 60%; 
			height: auto; 
		}
		.bottone4 { 
			width: auto; 
			height: auto;
			min-height: 350px;
			padding: 15px;
		}
		.poster3__content {
			padding: 20px;
		}
		.poster3__img img {
			max-width: 100%;
		}
		.linee-grid {
			grid-template-columns: 1fr;
		}
		.linea-card {
			min-height: 0;
		}
		.immagine {
			width: 90%;
		}
		.hero--8 {
			height: 400px;
		}
	}

	@media (max-width: 500px) {
		.poster__1 { 
			width: 100%; 
			padding: 15px; 
		}
		.poster__1 img { 
			object-fit: contain; 
			width: 70%; 
			height: auto; 
		}
		.immagine { 
			width: 95%; 
			height: auto; 
		}
		.big-text {
			font-size: 32px;
		}
		.medium-text {
			font-size: 20px;
		}
		.normal-text {
			font-size: 16px;
			margin: 10px;
		}
	}

	.service-card {
		position: relative;
	}
	.service-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
	}
	.service-card:hover>div:first-child {
		background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%) !important;
		transition: background 0.3s ease;
	}
