/* Lehtonen: sivuston yhteiset tyylit Elementor-osioille.
   Tekstit ja linkit muokataan Elementorissa; ulkoasu tulee näistä luokista
   (Elementor → Lisäasetukset → CSS-luokat). */

.lv-services, .lv-section, .lv-mobilebar {
	--lv-brand: #51a0d8;
	--lv-accent: #2a75ae;
	--lv-text: #1d2733;
	--lv-muted: #5b6673;
	--lv-line: #d6e6f3;
	--lv-radius: 12px;
}

/* ---------- Palvelumme (etusivu) ---------- */

.lv-services.e-con {
	--padding-top: 48px;
	--padding-bottom: 52px;
	--padding-left: 20px;
	--padding-right: 20px;
	--gap: 0px;
	background: #f4f8fb;
}
.lv-services > .e-con { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; }

.lv-services__head.e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; gap: 6px !important; text-align: center; }
.lv-services .lv-services__head .elementor-heading-title { margin: 0; color: var(--lv-text); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.lv-services__head p { max-width: 640px; margin: 0 auto; color: var(--lv-muted); font-size: 1.05rem; }

/* Palvelukortit: ikonilaatikko-widgetit (luokka lv-service), koko kortti klikattava */
.lv-services__list.e-con {
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 26px;
}
.lv-service.elementor-widget-icon-box {
	position: relative;
	height: 100%;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--lv-line);
	border-radius: var(--lv-radius);
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.lv-service.elementor-widget-icon-box:hover { border-color: var(--lv-brand); box-shadow: 0 8px 22px rgba(81, 160, 216, .2); transform: translateY(-2px); }
/* !important: Elementor pinoaa kuvakkeen mobiilissa ylös ja keskittää */
.lv-service .elementor-icon-box-wrapper { display: flex !important; flex-direction: row !important; gap: 16px; align-items: flex-start; text-align: left !important; }
.lv-service .elementor-icon-box-content { flex: 1 1 auto; min-width: 0; }
.lv-service .elementor-icon-box-icon { margin: 0 !important; flex: 0 0 auto; }
.lv-services .lv-service .elementor-icon { font-size: 28px; color: var(--lv-accent); }
.lv-services .lv-service .elementor-icon-box-title { margin: 0 0 4px; font-size: 1.15rem; line-height: 1.25; color: var(--lv-text); }
.lv-service .elementor-icon-box-title a { color: inherit; text-decoration: none; }
.lv-service .elementor-icon-box-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--lv-radius); }
.lv-service .elementor-icon-box-description { margin: 0; color: var(--lv-muted); font-size: .95rem; line-height: 1.45; }
.lv-service .elementor-icon-box-description::after { content: "\00a0\2192"; color: var(--lv-accent); font-weight: 700; }

@media (max-width: 900px) {
	.lv-services__list.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.lv-service.elementor-widget-icon-box { padding: 16px 18px; }
}
@media (max-width: 767px) {
	.lv-services.e-con { --padding-top: 40px; --padding-bottom: 44px; --padding-left: 16px; --padding-right: 16px; }
	.lv-services__list.e-con { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
	.lv-service.elementor-widget-icon-box { padding: 14px 16px; }
	.lv-services .lv-service .elementor-icon { font-size: 24px; }
}

/* ---------- Etusivun muut osiot (luokka lv-section) ---------- */

.lv-section.e-con {
	--padding-top: 48px;
	--padding-bottom: 52px;
	--padding-left: 20px;
	--padding-right: 20px;
	--gap: 0px;
	background: #fff;
}
.lv-section > .e-con, .lv-section > .elementor-widget { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; }

.lv-head.e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; gap: 6px !important; text-align: center; }
.lv-section .lv-head .elementor-heading-title { margin: 0; color: var(--lv-text); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.lv-head p { max-width: 640px; margin: 0 auto; color: var(--lv-muted); font-size: 1.05rem; }

/* Painikkeet (button-widget + luokka lv-btn, lv-btn--ghost, lv-btn--light, lv-btn--ghost-light) */
.lv-buttons.e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; flex-wrap: wrap !important; gap: 12px !important; }
.lv-buttons .elementor-widget { width: auto !important; margin: 0 !important; }
body .lv-btn .elementor-button {
	display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 50px;
	border: 2px solid var(--lv-accent); background: var(--lv-accent); color: #fff;
	font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none;
	transition: background .15s, color .15s, border-color .15s;
}
body .lv-btn .elementor-button:hover, body .lv-btn .elementor-button:focus { background: #1b4f78; border-color: #1b4f78; color: #fff; }
body .lv-btn--ghost .elementor-button { background: transparent; color: var(--lv-accent); }
body .lv-btn--ghost .elementor-button:hover, body .lv-btn--ghost .elementor-button:focus { background: var(--lv-accent); border-color: var(--lv-accent); }
body .lv-btn--light .elementor-button { background: #fff; border-color: #fff; color: #1b4f78; }
body .lv-btn--light .elementor-button:hover, body .lv-btn--light .elementor-button:focus { background: #e8f2fa; border-color: #e8f2fa; color: #1b4f78; }
body .lv-btn--ghost-light .elementor-button { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff; }
body .lv-btn--ghost-light .elementor-button:hover, body .lv-btn--ghost-light .elementor-button:focus { background: #fff; border-color: #fff; color: #1b4f78; }
.lv-btn .elementor-button-icon svg { fill: currentColor; width: 1em; height: 1em; }

/* Miksi valita meidät + luvut */
.lv-trust__points.e-con, .lv-trust__stats.e-con {
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
	display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.lv-trust__points.e-con { margin-top: 26px; }
.lv-point .elementor-icon-box-wrapper { display: flex !important; flex-direction: row !important; gap: 14px; align-items: flex-start; text-align: left !important; }
.lv-point .elementor-icon-box-icon { margin: 0 !important; flex: 0 0 auto; }
.lv-point .elementor-icon-box-content { flex: 1 1 auto; min-width: 0; }
.lv-section .lv-point .elementor-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #e8f2fa; font-size: 20px; color: var(--lv-accent); }
.lv-section .lv-point .elementor-icon-box-title { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.25; color: var(--lv-text); }
.lv-point .elementor-icon-box-description { margin: 0; color: var(--lv-muted); font-size: .95rem; line-height: 1.45; }

.lv-trust__stats.e-con { margin-top: 30px; padding: 22px 0 0 !important; border-top: 1px solid var(--lv-line); }
.lv-stat .elementor-counter { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.lv-stat .elementor-counter-title { order: 2; }
.lv-section .lv-stat .elementor-counter-number-wrapper { margin: 0; justify-content: center; font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 700; line-height: 1.1; color: var(--lv-accent); }
.lv-section .lv-stat .elementor-counter-title { justify-content: center; padding: 0; font-size: .95rem; font-weight: 400; line-height: 1.3; color: var(--lv-muted); text-align: center; }

/* Kalusto */
.lv-fleet.e-con { background: #f4f8fb; }
.lv-fleet.e-con > .e-con-inner, .lv-fleet.e-con { align-items: center; }
.lv-fleet.e-con { flex-direction: row !important; gap: 40px !important; justify-content: center; }
.lv-section.lv-fleet > .e-con { width: auto; max-width: none; margin: 0; }
.lv-fleet__text.e-con { flex: 0 1 460px !important; gap: 10px !important; }
.lv-section .lv-fleet__text .elementor-heading-title { margin: 0; color: var(--lv-text); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.lv-fleet__text p { margin: 0 0 8px; color: var(--lv-muted); font-size: 1.05rem; line-height: 1.55; }
.lv-fleet__gallery.e-con {
	flex: 0 1 640px !important; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.lv-fleet__img .elementor-widget-container, .lv-fleet__img { height: 100%; }
.lv-section .lv-fleet__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }

/* Yhteistyökumppanit: tasakokoiset logot, harmaat -> värilliset */
.lv-partners.e-con { --padding-top: 40px; --padding-bottom: 40px; }
.lv-section .lv-head .elementor-heading-title { text-wrap: balance; }
.lv-partners .lv-head .elementor-heading-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.lv-logos .gallery { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 16px; max-width: 1160px; margin: 22px auto 0 !important; }
.lv-logos .gallery-item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.lv-logos .gallery-item img { display: block; width: 100px !important; height: 60px !important; object-fit: contain; border: 0 !important; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.lv-logos .gallery-item img:hover { filter: none; opacity: 1; }
.lv-logos br { display: none; }

/* Yhteydenotto */
/* Taustakuva ja sävy asetetaan Elementorissa (Tyyli → Tausta / Taustan peitto); tämä väri näkyy vain ilman kuvaa */
.lv-section.lv-cta.e-con { background-color: #1b4f78; text-align: center; align-items: center; }
.lv-cta.e-con > * { max-width: 760px; }
/* Kosketuslaitteet (iOS) eivät tue paikallaan pysyvää taustaa: kuva vierii normaalisti */
@media (hover: none), (max-width: 1024px) { .lv-section.lv-cta.e-con { background-attachment: scroll !important; } }
.lv-cta__slogan p { margin: 0 0 6px; color: #cfe5f6; font-size: 1.05rem; font-style: italic; }
.lv-section.lv-cta .elementor-heading-title { margin: 0 0 8px; color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.lv-cta p { margin: 0; color: #e6f1fa; font-size: 1.1rem; }
.lv-cta .lv-buttons.e-con { justify-content: center; margin-top: 22px; }

@media (max-width: 1024px) {
	.lv-trust__points.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lv-fleet.e-con { flex-direction: column !important; gap: 24px !important; }
	.lv-fleet__text.e-con, .lv-fleet__gallery.e-con { flex: 0 0 auto !important; width: 100%; max-width: 640px; }
}
@media (max-width: 767px) {
	.lv-section.e-con { --padding-top: 40px; --padding-bottom: 44px; --padding-left: 16px; --padding-right: 16px; }
	.lv-trust__points.e-con { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
	.lv-trust__stats.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	.lv-fleet__gallery.e-con { gap: 8px; }
	.lv-logos .gallery { gap: 10px 20px; }
	.lv-logos .gallery-item img { width: 92px !important; height: 50px !important; }
	.lv-buttons .elementor-widget, .lv-buttons .elementor-button { width: 100% !important; justify-content: center; }
}

/* ---------- Yhteystiedot-sivu: yhteystietokortit (myös Puputaksi) ---------- */

/* Korttilaatikko nousee 35 px yläosan päälle: yläosaan sen verran lisää tilaa alle */
.lv-section.lv-pagehead.lv-pagehead--overlap.e-con { --padding-bottom: 95px; }
@media (max-width: 767px) { .lv-section.lv-pagehead.lv-pagehead--overlap.e-con { --padding-bottom: 71px; } }
.lv-contactcards.e-con { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lv-contactcards.e-con > .e-con { width: auto !important; max-width: none; }
@media (max-width: 1024px) { .lv-contactcards.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lv-contactcards.e-con { grid-template-columns: 1fr; } }

/* ---------- Mobiilin yläpalkki: logo mahtuu ruudulle (Astra antaa kiinteän 350 px + oikean reunan välin) ---------- */

@media (max-width: 921px) {
	.ast-mobile-header-wrap .site-logo-img { padding-right: 0; }
	.ast-mobile-header-wrap .custom-logo-link .custom-logo { width: min(350px, calc(100vw - 40px)); height: auto; }
}

/* ---------- Mobiilin alapalkki (lehtonen-sivusto.php) ---------- */

.lv-mobilebar { display: none; }
@media (max-width: 767px) {
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.lv-mobilebar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
		display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
	}
	.lv-mobilebar a {
		display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
		border: 2px solid var(--lv-accent); border-radius: 50px;
		font-size: 1rem; font-weight: 600; text-decoration: none;
	}
	.lv-mobilebar a:first-child { background: #fff; color: var(--lv-accent); }
	.lv-mobilebar a:last-child { background: var(--lv-accent); color: #fff; }
	.lv-mobilebar svg { width: 18px; height: 18px; fill: currentColor; }
	.lv-mobilebar a:only-child { grid-column: 1 / -1; }
	#ast-scroll-top { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
	/* CookieYesin evästeasetusnappi palkin yläpuolelle, ettei se peitä Soita-nappia */
	.cky-btn-revisit-wrapper { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
	/* Varausikkunan ollessa auki evästenappi piiloon, ettei se peitä kenttiä */
	body.lmv-lock .cky-btn-revisit-wrapper { display: none !important; }
}

/* ---------- Kalusto-sivu ---------- */

.lv-section.lv-pagehead.e-con { --padding-top: 64px; --padding-bottom: 60px; text-align: center; align-items: center; background-color: #1b4f78; }
.lv-section.lv-pagehead .elementor-heading-title { margin: 0 0 8px; color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.lv-pagehead p { max-width: 700px; margin: 0 auto; color: #e6f1fa; font-size: 1.15rem; }

.lv-services--cats .lv-services__list.e-con { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lv-services--cats.e-con { --padding-top: 36px; --padding-bottom: 40px; }
.lv-services--cats .lv-services__list.e-con { margin-top: 18px; }

.lv-vehicles { scroll-margin-top: 90px; }
.lv-vehicles--alt.e-con { background: #f4f8fb; }
.lv-buttons--center.e-con { justify-content: center; margin-top: 20px; }
.lv-vehicles__grid.e-con {
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
	display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 26px; align-items: stretch; grid-auto-rows: 1fr;
}
/* Kortit samankorkuisia: runko venyy, lisätiedot + painike kortin alareunaan */
.lv-vehicle.e-con {
	position: relative;
	overflow: hidden; gap: 0 !important; background: #fff;
	border: 2px solid var(--lv-brand); border-radius: var(--lv-radius); box-shadow: 0 4px 14px rgba(27, 79, 120, .08);
}
.lv-vehicle__media .swiper, .lv-vehicle__media .elementor-image-carousel-wrapper { border-radius: 0; }
.lv-section .lv-vehicle__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.lv-vehicle__media .elementor-swiper-button { color: #fff; font-size: 22px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.lv-vehicle__media .swiper-pagination { bottom: 6px !important; }
.lv-vehicle__media .swiper-pagination-bullet-active { background: #fff; }
.lv-vehicle__media { border-bottom: 4px solid var(--lv-brand); }
.lv-vehicle__body.e-con { flex: 1 1 auto !important; padding: 16px 18px 18px !important; gap: 10px !important; }
.lv-vehicle .lv-vehicle__more { margin-top: auto !important; }
/* Paikkamäärä kuvan päällä vasemmassa alakulmassa kuten matkakorteissa (sijainti kortin rungon yläreunasta ylöspäin) */
.lv-vehicle .lv-vehicle__seats { position: absolute !important; left: 12px; bottom: calc(100% + 16px); z-index: 3; width: auto !important; }
.lv-section .lv-vehicle__seats .elementor-heading-title { display: inline-block; margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--lv-accent); color: #fff; font-size: .95rem; font-weight: 700; line-height: 1.2; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.lv-section .lv-vehicle__model .elementor-heading-title { margin: 0; color: var(--lv-text); font-size: 1.2rem; line-height: 1.25; }
/* Tilaa viidelle riville (4 varustetta, joista yksi voi rivittyä): kortit samankokoisia myös eri osioissa */
.lv-vehicle .lv-vehicle__features { min-height: 150px; }
@media (max-width: 767px) { .lv-vehicle .lv-vehicle__features { min-height: 0; } }
.lv-vehicle__seats, .lv-vehicle__model, .lv-vehicle__features, .lv-vehicle__more { margin: 0 !important; }
.lv-vehicle__features .elementor-icon-list-item { padding: 2px 0 !important; font-size: .95rem; color: var(--lv-muted); }
.lv-vehicle__features .elementor-icon-list-icon svg { fill: var(--lv-accent); width: 13px; height: 13px; }
.lv-vehicle__features .elementor-icon-list-icon i { color: var(--lv-accent); font-size: 13px; }
.lv-vehicle__more .elementor-toggle-item { border: 0; }
.lv-vehicle__more .elementor-tab-title { padding: 8px 0 !important; border: 0 !important; border-top: 1px solid var(--lv-line) !important; font-size: .95rem; font-weight: 600; }
.lv-vehicle__more .elementor-tab-title a, .lv-vehicle__more .elementor-toggle-icon { color: var(--lv-accent) !important; }
.lv-vehicle__more .elementor-tab-title .elementor-toggle-icon svg { fill: var(--lv-accent); }
.lv-vehicle__more .elementor-tab-content { padding: 4px 0 6px !important; border: 0 !important; color: var(--lv-muted); font-size: .95rem; line-height: 1.5; }
.lv-vehicle__more .elementor-tab-content p { margin: 0 0 8px; }
.lv-vehicle__more .elementor-tab-content ul { margin: 0 0 0 18px; padding: 0; }
.lv-vehicle .lv-btn { margin-top: 4px !important; }
.lv-vehicle .lv-btn .elementor-button { width: 100%; justify-content: center; }

@media (max-width: 1024px) {
	.lv-vehicles__grid.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lv-services--cats .lv-services__list.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.lv-section.lv-pagehead.e-con { --padding-top: 40px; --padding-bottom: 36px; }
	.lv-vehicles__grid.e-con { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
	.lv-services--cats .lv-services__list.e-con { grid-template-columns: 1fr; }
}

/* ---------- Palvelut-sivu: palveluosiot (lv-split), teksti + kuva vuorotellen ---------- */

.lv-pagehead .lv-buttons.e-con { justify-content: center; margin-top: 22px; }
.lv-section.lv-split, .lv-section.lv-trips { scroll-margin-top: 90px; }
.lv-section.lv-split.e-con { flex-direction: row !important; align-items: center; justify-content: center; gap: 48px !important; }
.lv-section.lv-split--rev.e-con { flex-direction: row-reverse !important; }
.lv-section.lv-split--alt.e-con { background: #f4f8fb; }
.lv-section.lv-split > .e-con, .lv-section.lv-split > .elementor-widget { width: auto; max-width: none; margin: 0; }
.lv-split__text.e-con { flex: 0 1 520px !important; gap: 10px !important; }
.lv-section.lv-split.e-con { --padding-top: 40px; --padding-bottom: 40px; }
.lv-split__img.elementor-widget { flex: 0 1 500px !important; }
.lv-section .lv-split__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--lv-radius); }
.lv-split__icon .elementor-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e8f2fa; font-size: 22px; color: var(--lv-accent); }
.lv-split__icon .elementor-icon svg { width: 22px; height: 22px; fill: var(--lv-accent); }
.lv-split__icon .elementor-icon-wrapper { text-align: left; }
.lv-split__icon { margin: 0 !important; }
.lv-section .lv-split__text .elementor-heading-title { margin: 0; color: var(--lv-text); font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.lv-split__text p { margin: 0 0 6px; color: var(--lv-muted); font-size: 1.05rem; line-height: 1.55; }
.lv-section .lv-split__label .elementor-heading-title { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lv-accent); }
.lv-checks .elementor-icon-list-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.lv-checks .elementor-icon-list-item { margin: 0 !important; padding: 2px 0 !important; font-size: 1rem; color: var(--lv-text); }
.lv-checks .elementor-icon-list-icon svg { fill: var(--lv-accent); width: 14px; height: 14px; }
.lv-checks .elementor-icon-list-icon i { color: var(--lv-accent); font-size: 14px; }
.lv-split__text .lv-buttons.e-con { margin-top: 10px; }

/* Valmismatkat: matkojen esikatselu ilman omaa reunusta */
.lv-trips .lmv-nostot { padding-top: 10px; padding-bottom: 0; }
.lv-trips > .elementor-widget-shortcode { max-width: none; }

@media (max-width: 1024px) {
	.lv-section.lv-split.e-con, .lv-section.lv-split--rev.e-con { flex-direction: column !important; gap: 22px !important; }
	.lv-split__text.e-con, .lv-split__img.elementor-widget { flex: 0 0 auto !important; width: 100% !important; max-width: 640px !important; }
	.lv-split__img.elementor-widget { order: -1; }
}
@media (max-width: 767px) {
	.lv-checks .elementor-icon-list-items { grid-template-columns: 1fr; }
}

/* Vaihtuva sana (esim. Tilausajot lähialueella: Vaasa). Sanat span-elementteinä, kaikki näkyvät hakukoneille.
   Vaihto: lehtonen-sivusto.php (lisää luokan is-ready); ilman skriptiä näkyy ensimmäinen. */
.lv-rotate { display: inline-grid; vertical-align: bottom; font-weight: 700; color: var(--lv-accent); }
.lv-rotate > span { grid-area: 1 / 1; opacity: 0; transform: translateY(.35em); transition: opacity .35s, transform .35s; }
.lv-rotate:not(.is-ready) > span:first-child, .lv-rotate > span.is-active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lv-rotate > span { transition: none; } }
.lv-split__text p.lv-areas__rotate { margin: 8px 0 2px; font-size: 1.15rem; color: var(--lv-text); }
.lv-split__text p.lv-areas { font-size: .95rem; }
.lv-trips.e-con { scroll-margin-top: 90px; }


/* ---------- Tilaus ja tarjouspyyntö -lomake (CF7 1291, merkinnät lv-korjaus-lomake.php) ---------- */

.lv-form {
	--lv-accent: #2a75ae; --lv-dark: #1b4f78; --lv-text: #1d2733; --lv-muted: #5b6673; --lv-line: #cfdbe6;
	max-width: 980px; margin: 0 auto; color: var(--lv-text);
}
.lv-form * { box-sizing: border-box; }
.lv-form br { display: none; }
.lv-form p { margin: 0; }

/* Tilaus / Tarjouspyyntö: kaksi vaihtonappia */
.lv-form__type { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 22px; }
.lv-form__ask { font-weight: 700; font-size: 1.05rem; }
.lv-form .wpcf7-radio { display: inline-flex; padding: 4px; background: #eaf2f9; border-radius: 50px; }
.lv-form .wpcf7-radio .wpcf7-list-item { margin: 0; }

/* Valintanapit ja -ruudut: alkuperäinen input piiloon, teksti napiksi (toimii myös näppäimistöllä) */
.lv-form .wpcf7-list-item label { position: relative; display: block; margin: 0; cursor: pointer; font-weight: 600; font-size: 15px; }
.lv-form .wpcf7-list-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lv-form .wpcf7-list-item-label::before, .lv-form .wpcf7-list-item-label::after { content: none; }
.lv-form .wpcf7-radio .wpcf7-list-item-label { display: block; padding: 9px 22px; border-radius: 50px; color: var(--lv-dark); transition: background .15s, color .15s; }
.lv-form .wpcf7-radio input:checked + .wpcf7-list-item-label { background: var(--lv-accent); color: #fff; box-shadow: 0 2px 6px rgba(27, 79, 120, .25); }
.lv-form .wpcf7-list-item input:focus-visible + .wpcf7-list-item-label { outline: 3px solid #9cc7ea; outline-offset: 2px; }

/* Osiot */
.lv-form__step { background: #fff; border: 1px solid #e1e9f0; border-radius: 14px; padding: 26px 28px 28px; margin-bottom: 18px; box-shadow: 0 2px 10px rgba(27, 79, 120, .05); }
.lv-form .lv-form__title { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 1.25rem; color: var(--lv-dark); }
.lv-form__title span { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lv-accent); color: #fff; font-size: 15px; flex: 0 0 32px; }

.lv-form__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 18px; }
.lv-f--1 { grid-column: span 1; }
.lv-f--2 { grid-column: span 2; }
.lv-f--3 { grid-column: span 3; }
.lv-f--4 { grid-column: 1 / -1; }

/* Kenttä: otsikko + syöte */
.lv-form .lv-f { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; margin: 0; font-size: 15px; font-weight: 400; }
.lv-form .lv-f__l { font-size: 14px; font-weight: 600; color: var(--lv-text); }
.lv-form .lv-f__l i { font-style: normal; color: #c0392b; }
.lv-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.lv-form input[type="text"], .lv-form input[type="email"], .lv-form input[type="tel"], .lv-form input[type="number"], .lv-form input[type="date"], .lv-form textarea {
	display: block; width: 100% !important; max-width: 100% !important; min-height: 46px; margin: 0;
	padding: 10px 14px; border: 1px solid var(--lv-line); border-radius: 8px; background: #fbfdff;
	font: inherit; font-size: 16px; color: var(--lv-text); box-shadow: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.lv-form textarea { min-height: 0; height: auto; resize: vertical; line-height: 1.5; }
.lv-form input::placeholder, .lv-form textarea::placeholder { color: #98a4b0; }
.lv-form input:focus, .lv-form textarea:focus { outline: none; border-color: var(--lv-accent); background: #fff; box-shadow: 0 0 0 3px rgba(42, 117, 174, .18); }
.lv-form .wpcf7-not-valid { border-color: #c0392b !important; background: #fff8f7 !important; }
.lv-form .wpcf7-not-valid-tip { margin-top: 4px; font-size: 13px; color: #c0392b; }

/* Lisäpalvelut: valittavat merkit */
.lv-f--chips .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; }
.lv-form .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.lv-form .wpcf7-checkbox .wpcf7-list-item-label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--lv-line); border-radius: 50px; background: #fbfdff; color: var(--lv-text); font-weight: 500; transition: background .15s, border-color .15s; }
.lv-form .wpcf7-checkbox .wpcf7-list-item-label::before, .lv-f--consent .wpcf7-list-item-label::before { content: ""; display: inline-block; width: 16px; height: 16px; border: 2px solid #9fb3c5; border-radius: 4px; background: #fff center / 11px no-repeat; }
.lv-form .wpcf7-checkbox input:checked + .wpcf7-list-item-label { border-color: var(--lv-accent); background: #eaf2f9; color: var(--lv-dark); }
.lv-form .wpcf7-checkbox input:checked + .wpcf7-list-item-label::before, .lv-f--consent input:checked + .wpcf7-list-item-label::before { border-color: var(--lv-accent); background-color: var(--lv-accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }

/* Markkinointilupa */
.lv-f--consent { font-size: 15px; }
.lv-f--consent .wpcf7-list-item { margin: 0; }
.lv-form .lv-f--consent .wpcf7-list-item-label { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; }

/* Lähetys */
.lv-form__send { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 8px 0 4px; text-align: center; }
.lv-form__send .wpcf7-form-control-wrap.recaptcha { display: flex !important; justify-content: center; margin: 0 !important; }
.wpcf7 .lv-form input.lv-form__submit { min-width: 240px; padding: 14px 40px !important; border: 0 !important; border-radius: 50px !important; background: var(--lv-accent) !important; color: #fff !important; font-size: 17px !important; font-weight: 700; letter-spacing: .3px; text-transform: none !important; line-height: 1.3; cursor: pointer; box-shadow: 0 4px 12px rgba(42, 117, 174, .3); transition: background .15s, transform .15s; }
.wpcf7 .lv-form input.lv-form__submit:hover, .wpcf7 .lv-form input.lv-form__submit:focus-visible { background: var(--lv-dark) !important; transform: translateY(-1px); }
.lv-form .wpcf7-spinner { margin: 0; }
.lv-form__note { max-width: 620px; color: var(--lv-muted); font-size: 14px; line-height: 1.5; }
.lv-form__note a { color: var(--lv-accent); }
.wpcf7 form .wpcf7-response-output { max-width: 980px; margin: 18px auto 0; padding: 14px 18px; border-radius: 10px; font-size: 15px; }

@media (max-width: 900px) {
	.lv-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lv-f--2, .lv-f--3 { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.lv-form__grid { grid-template-columns: 1fr; }
	.lv-f--1 { grid-column: 1 / -1; }
	.lv-form__step { padding: 20px 16px 22px; border-radius: 12px; }
	.lv-form .lv-form__title { font-size: 1.1rem; }
	.wpcf7 .lv-form input.lv-form__submit { width: 100%; }
}
/* Englanninkielinen sivu [lv_book_a_bus] (lehtonen-sivusto.php) */
.lv-en { max-width: 980px; margin: 0 auto; color: #1d2733; font-size: 1.05rem; line-height: 1.6; text-align: left; }
.lv-en__hero { margin: 0 0 28px; padding: 44px 32px; border-radius: 16px; background: linear-gradient(135deg, #1b4f78, #2a75ae); color: #fff; }
.lv-en__hero h1 { margin: 0 0 10px; color: #fff; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.15; }
.lv-en__lead { max-width: 640px; margin: 0 0 22px; font-size: 1.15rem; line-height: 1.5; }
.lv-en__cta { display: inline-block; padding: 12px 26px; border-radius: 50px; background: #fff; color: #1b4f78 !important; font-weight: 700; text-decoration: none !important; }
.lv-en__cta:hover { background: #eaf2f9; }
.lv-en__block { margin: 0 0 18px; padding: 26px 28px; border: 1px solid #e1e9f0; border-radius: 14px; background: #fff; }
.lv-en__block h2 { margin: 0 0 10px; color: #1b4f78; font-size: 1.35rem; }
.lv-en__block p { margin: 0 0 12px; }
.lv-en__block p:last-child { margin-bottom: 0; }
.lv-en__list { margin: 0 0 12px; padding-left: 1.3em; }
.lv-en__list li { margin: 0 0 4px; }
.lv-en__contact { background: #eaf2f9; border-color: #eaf2f9; }
.lv-en__address { color: #5b6673; font-size: .95rem; }
.lv-en__hero.has-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px; align-items: center; }
.lv-en__eyebrow { margin: 0 0 6px; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.lv-en__img { margin: 0; padding: 14px; border-radius: 12px; background: #fff; }
.lv-en__img img { display: block; width: 100%; height: auto; }
.lv-en__faq h3 { margin: 18px 0 4px; color: #1b4f78; font-size: 1.05rem; }
.lv-en__faq h2 + h3 { margin-top: 6px; }
@media (max-width: 767px) {
	.lv-en__hero.has-image { grid-template-columns: 1fr; gap: 20px; }
	.lv-en__hero { padding: 30px 20px; }
	.lv-en__block { padding: 20px; }
}
