/* 
 Theme Name:     Sanniseivo
 Author:         WTF Marketing Collective Oy
 Author URI:     https://welltoldfacts.wtf
 Version:        99.0 
*/

/* ArenaUno Bold */
@font-face {
	font-family: 'ArenaUno';
	src: url('assets/fonts/ArenaUno-Bold.eot');
	/* IE9 Compat Modes */
	src: url('assets/fonts/ArenaUno-Bold.eot?#iefix') format('embedded-opentype'),
		/* IE6-IE8 */
		url('assets/fonts/ArenaUno-Bold.woff2') format('woff2'),
		/* Super Modern Browsers */
		url('assets/fonts/ArenaUno-Bold.woff') format('woff'),
		/* Modern Browsers */
		url('assets/fonts/ArenaUno-Bold.ttf') format('truetype'),
		/* Safari, Android, iOS */
		url('assets/fonts/ArenaUno-Bold.svg#ArenaUno-Bold') format('svg');
	/* Legacy iOS */
	font-weight: normal;
	font-style: normal;
}

/* Things Regular */
@font-face {
	font-family: 'Things';
	src: url('assets/fonts/Things-Regular.eot');
	/* IE9 Compat Modes */
	src: url('assets/fonts/Things-Regular.eot?#iefix') format('embedded-opentype'),
		/* IE6-IE8 */
		url('assets/fonts/Things-Regular.woff2') format('woff2'),
		/* Super Modern Browsers */
		url('assets/fonts/Things-Regular.woff') format('woff'),
		/* Modern Browsers */
		url('assets/fonts/Things-Regular.ttf') format('truetype');
	/* Safari, Android, iOS */
	font-weight: normal;
	font-style: normal;
}

:root {
	/*FONTS*/
	--bs-body-font-family: "Things", sans-serif;
	--bs-headline-font-family: "ArenaUno", sans-serif;
	--bs-body-line-height: 1.5;

	/*COLORS*/
	--bs-body-color: #0E0E0E;
	--bs-body-bg: #FEF4EE;
	--bs-heading-color: #D90808;
	--bs-body-font-size: 22px;
	--bs-body-font-weight: normal;
	--bs-link-color-rgb: #D90808;
	--darkgreen: #196600;
	--green: #B2FF99;
	--red: #D90808;

	/*BORDER-RADIUS*/
	--bs-border-radius: 12px;
	--bs-border-radius-sm: 4px;
	--bs-border-radius-lg: 8px;

	/*CONTAINER*/
	--container-width: 1350px;
}

img {
	max-width: 100%;
	height: auto;
}

.row.big-gutter {
	--bs-gutter-x: 100px;
}

.row {
	--bs-gutter-x: 70px;
}

#palvelu-features .row {
	--bs-gutter-x: 120px;
}

/* COOKIE BANNER */

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content,
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content {
	background:var(--bs-body-bg) !important;
}

#moove_gdpr_cookie_info_bar .mg-button,
#moove_gdpr_cookie_modal .mgbutton {
	text-transform:uppercase;
	font-size:18px !important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-content a, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-content button, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-content li, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-content p {
	font-size:20px !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a {
	font-size:20px !important;
	line-height:1.2 !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
	font-size:17px !important;
}

#moove_gdpr_cookie_modal,
#moove_gdpr_cookie_info_bar {
	font-family:var(--bs-body-font-family),sans-serif !important;
	font-weight:normal !important;
}

#moove_gdpr_cookie_modal .tab-title {
	font-family:var(--bs-headline-font-family),sans-serif !important;
	text-transform:uppercase !important;
	font-weight:normal !important;
}

/* GAPS */

#faq,
#palvelu-quotes,
#palvelu-features,
#palvelu-text,
#yhteys,
#referenssit,
#palvelut {
	padding-top: 140px;
}

/* TICKER */

.ticker {
	background: #f7eae1;
	color: var(--red);
	padding: 13px 0;
	overflow: hidden;
	margin-top: -110px;
	z-index: -1;
	position: relative;
}

.ticker__viewport {
	width: 100%;
	overflow: hidden;
}

.ticker__track {
	display: flex;
	will-change: transform;
}

.ticker__item {
	flex: 0 0 auto;
	white-space: nowrap;
	margin-right: var(--gap, 4rem);
	font-size: clamp(16px, 2.2vw, 20px);
	font-style: italic;
	line-height: 1.6;
	letter-spacing: .2px;
}

/* animation name only; distance is set via JS as --step */
@keyframes marquee {
	from {
		transform: translateX(0)
	}

	to {
		transform: translateX(calc(-1 * var(--step)))
	}
}

.ticker:hover .ticker__track {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.ticker__track {
		animation: none !important;
	}
}



/* FAQ */

#faq .wpt-faq-category {
	display: none;
}

#faq h2 {
	font-family: 'ArenaUno', serif;
	color: var(--red);
	margin-bottom: 30px;
	font-size: 60px;
}

/* If your FAQ plugin renders each question row with a container class,
   you can draw thin separators like this (adjust the selector to your plugin): */
#faq .wpt-faq-item {
	/* example selector, tweak to the real one */
	border-top: 1px solid rgba(191, 58, 47, .35);
	padding: 14px 0;
	border-bottom: 0;
	margin-bottom: 0;
}

#faq .wpt-faq-question {
	border-bottom: 0;
	margin-bottom: 0;
	padding: 14px 0;
	font-weight: normal;
}

#faq .wpt-faq-question-text {
	font-weight: normal;
	font-size: 24px;
}

#faq .wpt-faq-answer {
	padding-top: 0;
}

#faq .wpt-faq-icon {
	width: 17px;
}


/* SETTINGS */

#wtf-wrapper,
body,
html {
	min-height: 100%;
	font-weight: normal;
	font-style: normal;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
	max-width: var(--container-width);
}

h1,
h2,
h3,
h4,
h5 {
	font-family: var(--bs-headline-font-family);
	font-weight: normal;
	font-style: normal;
}

h1,
h2 {
	line-height: 1;
	margin-bottom: 0;
}

h1 {
	font-size: 130px;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

h2 {
	font-size: 90px;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

p a {
	text-decoration: underline;
}

b,
strong {
	font-weight: 700;
}

#wtf-wrapper {
	position: relative;
	overflow: hidden;
	width: 1728px;
	margin: auto;
	max-width: 100%;
}

img {
	max-width: 100%;
}

a:focus,
a:active,
a:visited,
a {
	text-decoration: none;
}

a {
	transition: all 200ms ease-in-out;
}

a:hover {
	text-decoration: underline;
	color: #000000;
}

.copyright-row a {
	text-decoration: underline;
}

p {
	margin-bottom: 2rem;
}

.animated {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
		transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
	will-change: opacity, transform;
}

.animated.visible {
	opacity: 1;
	transform: translateY(0);
}

.no-js .animated {
	opacity:1;
	transform:none;
}

/* HEADER */

header ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

#moove_gdpr_cookie_info_bar {
	border-top: none !important;
}

.gdpr_lightbox .tab-title {
	font-weight: normal;
	font-family: var(--bs-headline-font-family) !important;
}

#moove_gdpr_cookie_info_bar button,
.gdpr_lightbox button {
	font-weight: normal !important;
}


.desktop-menu-container ul li {
	display: inline-block;
	margin-left: 30px;
}

.desktop-menu-container ul li a {
	font-weight: normal;
	font-size: 20px;
	padding-top: 22px;
	text-transform: uppercase;
	padding-bottom: 22px;
	display: block;
	position: relative;
	color: var(--red);
}

.desktop-menu-container ul li a:hover {
	text-decoration: none;
}

.desktop-menu-container ul li a:after {
	content: '';
	height: 1px;
	background: var(--red);
	width: 0%;
	display: block;
	position: absolute;
	transition: all 200ms ease-in-out;
}

.desktop-menu-container ul li.current-menu-item a::after,
.desktop-menu-container ul li a:hover::after {
	width: 100%;
}

.menu-social img {
	width: 20px;
	margin-top: -2px;
}

.header-col {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 10px;
}

header {
	position: fixed;
	padding-top: 15px;
	padding-bottom: 15px;
	z-index: 1000;
	transition: all 0.3s ease-in-out;
	background: var(--bs-body-bg);
	transform: translateX(-50%);
	left: 50%;
}

header.sticky-header,
header.scrolling-on-mobile {
	padding-top: 0;
	padding-bottom: 0;
}

/* Hide header when scrolling down */
#header.sticky-header.header-hidden {
	transform: translateY(-100%);
	box-shadow: none;
}

@keyframes slideDown {
	from {
		transform: translateY(-20px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Highlighted text style */
::selection {
	background: #0E0E0E;
	color: #FFFFFF;
}

/* For Firefox */
::-moz-selection {
	background: #0E0E0E;
	color: #FFFFFF;
}


.desktop-menu-container ul>li.menu-button a {
	margin-top: 0;
	margin-right: 3px;
	padding-top: 0.65em;
	padding-bottom: 0.6em;
	margin-bottom: 0;
}

.desktop-menu-container ul>li.menu-social a:hover {
	opacity: 0.8;
}

.desktop-menu-container ul>li.menu-social a:after,
.desktop-menu-container ul>li.menu-button a:after {
	display: none;
}

header .logo {
	width: 166px;
	height: auto;
	margin-left: 15px;
}

/* MAINHERO */

#mainhero {
	padding-top: 320px;
	padding-bottom: 180px;
	background-size: calc(50% - 35px) !important;
	background-repeat: no-repeat !important;
	background-position: right !important;
}

#mainhero p {
	font-size: 22px;
	width: 350px;
	max-width: 100%;
}

/* QUOTE SLIDER */

.quote-card {
	max-width: 540px;
}

.quote-text p {
	margin: 0 auto 12px;
	max-width: 44ch;
	line-height: 1.6;
}

.quote-name {
	display: block;
	font-size: 22px;
	margin-top: 6px;
	color: var(--red);
	font-weight: 400;
}

.quote-meta {
	display: block;
	font-size: 15px;
	margin-top: 2px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
	filter: invert(100%) grayscale(100%) opacity(0.1);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
	filter: invert(100%) grayscale(100%) opacity(0.7);
}

.quote-carousel-buttons {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: 10px;
	top: 100px;
	bottom: auto;
}

.quote-carousel-buttons .carousel-control-next,
.quote-carousel-buttons .carousel-control-prev {
	position: relative;
	opacity: 1;
}

.quote-carousel-buttons .carousel-control-next {
	right: -20px;
}

.quote-carousel-buttons .carousel-control-prev {
	left: -20px;
}

/* PALVELUT ACCORDION */

/* Container and item separators */
.services-acc {
	border-top: 1px solid #C84A3F22;
}

/* light red top line */
.services-acc-item {
	border-bottom: 1px solid #C84A3F22;
}

/* Toggle row */
.services-acc-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 16px 0;
	background: transparent;
	border: 0;
	text-align: left;
	cursor: pointer;
}

/* Title style (match your mockup) */
.services-acc-title {
	font-family: var(--bs-body-font-family);
	font-size: 48px;
	line-height: 1.2;
	color: var(--red);
}

/* Plus / minus */
.services-acc-icon::before {
	content: "+";
	font-family: var(--bs-body-font-family);
	font-size: 48px;
	color: var(--red);
	line-height: 1;
}

.services-acc-toggle[aria-expanded="true"] .services-acc-icon::before {
	content: "–";
	/* en dash for a nice minus */
}

/* Body/content area */
.services-acc-body {
	padding: 10px 0 18px 40px;
	color: var(--bs-body-color);
	max-width: 60ch;
}

.services-acc-body p {
	margin-bottom: 14px;
}

/* Optional hover focus polish */
.services-acc-toggle .services-acc-title {
	transition: all 200ms ease-in-out;
}

.services-acc-toggle:hover .services-acc-title,
.services-acc-toggle:focus .services-acc-title {
	transform: translateX(5px)
}

.services-acc-toggle:focus {
	outline: none;
}

/* Keep the + aligned on small screens */
@media (max-width: 576px) {
	.services-acc-title {
		font-size: 28px;
	}

	.services-acc-icon::before {
		font-size: 24px;
	}
}

#palvelut h2 {
	padding-bottom: 30px;
}

/* PALVELU TEMPLATE */

/* Intro split */
.palvelu-otsikko {
	font-family: var(--bs-headline-font-family);
	font-size: clamp(42px, 6vw, 92px);
	padding-top:8px;
	line-height: 1;
	color: var(--red);
	margin: 0;
}

.palvelu-intro-teksti {
	max-width: 62ch;
}

.palvelu-intro-teksti p {
	margin-bottom: 1rem;
}

/* 3-card grid */
.palvelu-card {
	position: relative;
	padding-top: 8px;
}

.palvelu-card-title {
	font-family: var(--bs-headline-font-family);
	color: var(--red);
	font-size: clamp(28px, 3vw, 40px);
	margin-bottom: 12px;
}

.palvelu-card-illu {
	margin: 6px 0 10px;
	min-height: 80px;
	/* creates the subtle “badge” area like in mock */
	display: flex;
	align-items: center;
	justify-content: center;
	position: Absolute;
	top: -60px;
	right: 0;
}

.palvelu-illu {
	max-height: 100px;
	width: 100px;
	object-fit: contain;
}

.palvelu-card-text {
	max-width: 36ch;
	color: var(--bs-body-color);
	padding-left: 40px;
}

.palvelu-card-text p {
	margin-bottom: .9rem;
}



.yhteys-teksti h2 {
	padding-bottom: 15px;
}

@media (min-width: 1200px) {
	.palvelu-card-illu {
		min-height: 140px;
	}
}


/* REFERENSSI KARUSELLI */

/* Layout & spacing */
.refs-carousel {
	padding: 0 0 32px 0;
}

.refs-img-placeholder {
	width: 100%;
	padding-top: 56%;
	background: #eee;
	border: 1px solid #e5e5e5;
}

/* Make each carousel-item a flex row */
.refs-carousel .carousel-item>.row {
	display: flex;
	align-items: stretch;
	/* both cols same height */
}

/* Ensure cols fill equal height */
.refs-carousel .col-lg-6 {
	display: flex;
	flex-direction: column;
}


/* Typography to match your style */
.refs-title {
	font-family: var(--bs-body-font-family);
	text-transform: uppercase;
	font-size: 42px;
	line-height: 1.25;
	margin-bottom: 16px;
	color: #222;
}

.refs-body {
	max-width: 60ch;
}


.refs-next {
	width: auto;
	right: 12px;
	left: auto;
	display: flex;
	align-items: center;
	gap: .5rem;
	color: var(--red);
	opacity: 1;
	text-shadow: none;
	top: auto;
}

.refs-prev {
	width: auto;
	left: 12px;
	left: auto;
	display: flex;
	align-items: center;
	gap: .5rem;
	color: var(--red);
	opacity: 1;
	text-shadow: none;
	top: auto;
}

.refs-prev .carousel-control-next-icon,
.refs-next .carousel-control-next-icon {
	filter: invert(18%) sepia(43%) saturate(1733%) hue-rotate(345deg) brightness(89%) contrast(92%);
}

.refs-prev-label,
.refs-next-label {
	text-transform: uppercase;
	font-size: 22px;
	line-height: 1;
	color: var(--red);
}

.refs-prev img,
.refs-next img {
	transition: all 200ms ease-in-out;
}

.refs-prev img {
	transform: rotate(180deg);
}

.refs-prev:hover img {
	transform: translateX(-5px) rotate(180deg);
}

.refs-next:hover img {
	transform: translateX(5px);
}

.refs-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.refs-media img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.refs-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.refs-carousel .carousel-item {
	min-height: 540px;
}

#referenssit .button {
	margin-bottom: 0;
	margin-right: auto;
}

@media (max-width: 991.98px) {
	.refs-title {
		font-size: 28px;
	}
}

#referenssit h2 {
	margin-bottom: 40px;
}

/* BUTTONS */

#lomake #gform_submit_button_1,
.menu-button a,
a.wp-block-button__link,
.button {
	font-family: var(--bs-body-font-family);
	background: transparent;
	font-size: 22px;
	padding: 0.73em 1.6em 0.7em 1.6em;
	border: solid 2px var(--red);
	border-radius: 50px;
	color: var(--red);
	margin-bottom: 30px;
	line-height: 1;
	display: inline-block;
	position: relative;
	margin-right: 10px;
	text-transform: uppercase;
	transition: all 200ms ease-in-out;
}

.arrow-button {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--red);
	padding: 10px 0;
	transition: all 200ms ease-in-out;
}

.arrow-button:hover {
	color: var(--red);
	text-decoration: none;
}

.arrow-button img {
	transition: all 200ms ease-in-out;
}

.arrow-button:hover img {
	transform: translateX(5px);
}

#lomake #gform_submit_button_1 {
	margin-bottom: 0;
	margin-right: 0;
	margin-top: 10px;
}

#lomake #gform_submit_button_1:hover,
.menu-button a:hover,
a.wp-block-button__link:hover,
.button:hover {
	text-decoration: none;
	background: var(--red);
	border-color: var(--red);
	color: #FFF;
}

.button.button-borderless {
	background: transparent;
	color: var(--red);
	border: solid 2px transparent;
}

.button.button-borderless:hover {
	background: transparent;
	color: var(--red);
	border-color: var(--red);
}

.mobile-nav {
	position: relative;
	display: flex;
	align-items: center;
	margin-left: auto;
}

/* Hamburger icon */
.mobile-nav .checkbox {
	position: absolute;
	height: 1.3rem;
	width: 1.5rem;
	top: 50%;
	right: 1.1rem;
	transform: translateY(-50%);
	z-index: 5;
	opacity: 0;
	cursor: pointer;
}

.mobile-nav .hamburger-lines {
	position: absolute;
	top: 50%;
	right: 1.1rem;
	transform: translateY(-50%);
	height: 1.2rem;
	width: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	z-index: 4;
	cursor: pointer;
}

.mobile-nav .hamburger-lines .line {
	height: 0.2rem;
	width: 100%;
	border-radius: 0.2rem;
	background: var(--red);
	transition: all 0.4s ease-in-out;
}

.line1 {
	transform-origin: 0% 0%;
}

.line3 {
	transform-origin: 0% 100%;
}

.mobile-nav {
	z-index: 999999;
}

.mobile-menu-panel li {
	margin: 0;
}

.mobile-menu-panel li a {
	color: var(--red);
	font-size: 1.6rem;
	margin-bottom: 1.5rem;
	display: block;
	text-align: center;
	text-transform: uppercase;
}

.mobile-menu-panel li.menu-button a {
	text-align: center;
	font-size: 1.5rem;
	margin-top: 20px;
	color: var(--red);
}

/* When checked - open menu */
.mobile-nav input[type="checkbox"]:checked~.mobile-menu-panel {
	transform: translateY(0%);
}

#hamburgercheckbox:checked~.hamburger-lines .line1 {
	transform: rotate(45deg);
	background: var(--red);
}

#hamburgercheckbox:checked~.hamburger-lines .line2 {
	transform: scaleY(0);
	background: var(--red);
}

#hamburgercheckbox:checked~.hamburger-lines .line3 {
	transform: rotate(-47deg);
	background: var(--red);
}

/* Mobile menu panel (now outside container) */
.mobile-menu-panel {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	background: var(--bs-body-bg);
	padding: 0 1.5rem 0 1.5rem;
	flex-direction: column;
	transform: translateY(-120%);
	transition: transform 0.4s ease-in-out;
	z-index: 9999;
	overflow-y: auto;
}

body.menu-open .mobile-menu-panel {
	transform: translateY(0%);
}

.logo-container {
	z-index: 99999;
}

/* TUOTTEET */

footer,
#tilaa,
#sijainti,
#tulossa,
#vertikaaliviljely,
#tuotteet {
	padding-top: 110px;
}

.product-section {
	padding-top: 40px;
	padding-bottom: 0;
}

.product-card {
	background: #FFF;
	border-radius: 8px;
	box-shadow: rgba(0, 0, 0, 0.08) -4px 9px 25px -6px;
	padding: 1rem;
	text-align: center;
	height: 100%;
}

.product-card:hover img {
	transform: scale(1.02);
}

.product-card img {
	width: 110%;
	max-width: 110%;
	margin-left: -5%;
	margin-top: -40px;
	height: auto;
	margin-bottom: 2rem;
	transition: transform 0.2s ease;
}

.upcoming-card img {
	width: 90%;
	margin-top: 50px;
	margin-bottom: 50px;
}

.upcoming-card:hover img {
	transform: none;
}

.product-label {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 0.25rem;
}

.product-card h3 {
	font-size: 1.2rem;
	margin: 0;
}

.coming {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	border-radius: 8px;
	background: rgba(10, 41, 0, 0.5);
	backdrop-filter: blur(5px);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: #FFF;
	padding: 40px;
	line-height: 1;
}

.coming strong {
	font-size: 30px;
	display: inline-block;
	padding-top: 10px;
}

/* VERTIKAALIVILJELY */

.vertikaali-card {
	background-color: #dff1cb;
	/* same green tone */
	border-radius: 10px;
	padding: 2rem;
	text-align: left;
	height: 100%;
	box-shadow: rgba(0, 0, 0, 0.08) -4px 9px 25px -6px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.vertikaali-card img {
	width: 80px;
	height: auto;
	margin-bottom: 1.5rem;
}

.vertikaali-card h3 {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

.vertikaali-card p {
	font-size: 0.95rem;
	color: #333;
	margin: 0;
}

/* SIJAINTI */

#sijainti iframe {
	border-radius: 8px;
}

#tilaa .row>div:last-child,
#sijainti .row>div:first-child {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

/* MEISTÄ */

#meista {
	margin-top: -80px;
	padding-top: 80px;
}

#meista>div>p {
	margin-bottom: 0;
}

/* LOMAKE */

#lomake {
	padding-top: 145px;
	margin-top: -115px;
}

#lomake label {
	position: absolute;
	top: -10px;
	background: #FFF;
	left: 10px;
	background: #FFF;
	padding: 0 10px;
	font-size: 13px;
	color: #888;
}

.grecaptcha-badge {
	display: none !important;
}

#lomake .gform_required_legend {
	display: none;
}

#lomake input,
#lomake textarea {
	border-radius: 25px;
	padding: 7px 15px;
	background: transparent;
	border: solid 1px var(--red);
	box-shadow: none;
	font-size: 18px;
	height: auto;
}

#lomake input:focus-visible,
#lomake input:focus,
#lomake input:active,
#lomake textarea:focus-visible,
#lomake textarea:focus,
#lomake textarea:active {
	border: solid 1px #000;
	box-shadow: none;
	outline: none;
}

h2.gform_title {
	font-size: 35px;
	margin-bottom: 30px;
}

#lomake .gform_fields {
	grid-row-gap: 15px;
}

/* FOOTER */

.overlay-logo {
	width: 75%;
	margin-left: 12.5%;
	margin-top: -20%;
}

footer .logo {
	width: 200px;
	max-width: 100%;
}

footer {
	padding-top: 150px;
	padding-bottom: 0px;
	color: var(--red);
}

footer ul {
	padding: 0;
	list-style-type: none;
}

footer li {
	margin-bottom: 10px;
	display: block;
}

footer .logo {
	margin-bottom: 20px;
}

footer .some {
	display: flex;
	gap: 10px;
}

footer .some img {
	height: 30px;
	width: auto;
}

footer .some a {
	transition: all 200ms ease-in-out;
}

footer .some a:hover {
	opacity: 0.6;
}

footer li.menu-button {
	margin-top: 30px;
}

.copyright-row {
	font-size: 18px;
	margin-top: 30px;
}

.social-link-footer {
	text-align: center;
	margin-top: 30px;
}

.social-link-footer img {
	width: 30px;
	height: auto;
}

.mobile-hero-img {
	display: none;
}

footer li a {
	text-transform: uppercase;
	color: var(--red);
}

footer li a:hover {
	text-decoration: None;
}

.go-down {
	display: none;
}

.hinta {
	padding-left: 40px;
	font-size: 25px;
	padding-bottom: 15px;
}

.palvelu-intro ul li,
.palvelu-grid ul li {
	line-height: 1.2;
	padding-bottom: 10px;
}

.palvelu-intro ul li::marker,
.palvelu-grid ul li::marker {
	color: var(--red);
}

/* PAGE */

#page h1 {
	font-size:55px;
	word-wrap:break-word;
}

#page h2 {
	font-size:28px;
	word-wrap:break-word;
	margin-top:55px;
	padding-bottom:20px;
}

#page h3 {
	color:#000;
	font-size:23px;
	margin-top:20px;
}

code {
	color:var(--red);
}

#page ul + h3 {
	margin-top:35px;
}

#page p strong + ul,
#page p + ul {
	margin-top:-20px;
}

#page {
	padding-top:140px;
}

/* MEDIA QUERIES */

@media (min-width: 768px) and (max-width: 1600px) {
	.container {
		max-width: 92%;
	}
}

@media (min-width: 981px) {
	.palvelu-card-title {
		min-height:96px;
		display:flex;
		align-items:flex-start;
	}
	#lomake .gform_fields {
		position: relative;
		grid-row-gap: 12px;
	}

	#lomake .gform_footer {
		justify-content: flex-end;
		margin: 12px 0 0 0;
		padding: 0 0 0 0;
	}

	#field_1_6,
	#field_1_3,
	#field_1_4 {
		width: 49%;
	}

	#field_1_5 {
		width: calc(51% - 12px);
		position: absolute;
		right: 0;
		top: 0;
		bottom: 0;
	}

	#field_1_5 textarea {
		position: absolute;
		top: 0;
		bottom: 0;
		height: 100%;
	}

	#mainhero {
		min-height: min(100vh, 1080px);
		display: flex;
		justify-content: center;
		align-items: center;
		box-sizing: border-box;
	}

	/*section {
		min-height: min(100vh, 1080px);
		display: flex;
		justify-content: center;
		align-items: center;
		box-sizing: border-box;
	}*/

	.space-left {
		margin-left: 235px;
	}

	#tilaa .row>div:last-child {
		padding-left: 60px;
	}

	#sijainti .row>div:first-child {
		padding-right: 60px;
	}

	.mobile-nav {
		display: none;
	}
}

@media (max-width: 980px) {
	.home #mainhero {
		background-position:left !important;
	}
	#mainhero {
		background-position:center !important;
	}
	#page h1 {
		font-size:35px;
	}
	#page {
		padding-top:100px;
	}
	.go-down {
		display: block;
		z-index: 99;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		padding: 10px;
		animation: bounce 2.5s infinite ease-in-out;
		bottom:60px;
	}

	@keyframes bounce {

		0%,
		20%,
		50%,
		80%,
		100% {
			transform: translateX(-50%) translateY(0);
		}

		40% {
			transform: translateX(-50%) translateY(-10px);
		}

		60% {
			transform: translateX(-50%) translateY(-5px);
		}
	}

	#lomake {
		padding-top: 115px;
		margin-top: -88px;
	}

	#faq .wpt-faq-question-text {
		font-weight: normal;
		font-size: 26px;
	}

	.yhteys-img {
		padding-left: 0;
		padding-right: 0;
	}

	.quote-carousel-buttons {
		top: 28px;
	}

	.ticker {
		margin-top: 0px;
	}

	#lomake #gform_submit_button_1,
	.menu-button a,
	a.wp-block-button__link,
	.button {
		font-size: 19px;
	}

	#yhteys img {
		margin-bottom: 35px;
	}

	#faq,
	#palvelu-quotes,
	#palvelu-features,
	#palvelu-text,
	#yhteys,
	#referenssit {
		padding-top: 55px;
		margin-top: 45px;
	}

	#palvelu-text,
	#referenssit {
		padding-top:70px;
	}

	#palvelu-quotes,
	#palvelu-features {
		margin-top:0;
		padding-top:40px;
	}
	#palvelu-text {
		margin-top:0;
	}

	#palvelut {
		padding-top: 90px;
	}

	#palvelut .row>div:first-child {
		padding-bottom: 60px;
	}

	.home #referenssit {
		padding-top: 0;
	}

	#mainhero {
		position: relative;
		display: flex;
		justify-content: center;
		align-items: flex-end;
		height: 100vh;
		width: 100%;
		background-size: cover !important;
		padding-top: 0 !important;
		padding-bottom: 140px !important;
	}

	.mobile-hero-img {
		display: block;
		margin-top: 0;
		height: 100dvh;
		min-height: 100dvh;
		width: 100%;
		object-fit: cover;
	}

	header {
		background: transparent;
	}

	header.scrolling-on-mobile {
		background: var(--bs-body-bg);
	}

	#referenssit .button {
		margin-top: 0 !important;
		margin-left: 40px;
	}

	#faq .wpt-faq-answer,
	.palvelu-intro-teksti,
	.refs-body,
	#mainhero .space-left {
		padding-left: 40px;
	}

	#mainhero h1 {
		font-size: 110px;
		margin-bottom: 0px;
		word-break: break-all;
		line-height:0.95;
    	text-align: center;
		width:370px;
		max-width:100%;
		margin-left:auto;
		margin-right:auto;
	}
	#mainhero p {
		font-size:18px;
		line-height:1.4;
	}
	#mainhero .space-left {
		padding-left:0;
		text-align:center;
	}

	#mainhero:after {
		content:'';
		background: linear-gradient(to bottom,  rgba(0,0,0,0) 30%,rgba(0,0,0,0.65) 100%);
		position:absolute;
		left:0;
		top:0;
		bottom:0;
		right:0;
		z-index:0;
	}

	#mainhero .container {
		z-index:1;
	}

	#mainhero .button {
		color:#FFF;
		border-color:#FFF;
		margin-bottom:0;
	}

	#mainhero .button.button-borderless {
		border-color:transparent;
	}

	#mainhero p {
		color:#FFF;
		margin-left:auto;
		margin-right:auto;
	}

	.services-acc-title {
		font-size: 32px;
	}

	#mainhero {
		padding-bottom: 0px;
	}

	.desktop-menu-container {
		display: none;
	}

	.header-col {
		padding: 10px 5px;
		width: 95%;
		margin: auto;
	}

	header {
		top: 0px;
		position: fixed;
	}

	.palvelu-card {
		padding-top: 80px;
	}

	h2 {
		font-size: 35px;
	}

	footer,
	#tilaa,
	#sijainti,
	#tulossa,
	#vertikaaliviljely,
	#tuotteet {
		padding-top: 70px;
	}

	#sijainti iframe {
		margin-top: 20px;
	}

	#meista {
		padding-top: 70px;
		margin-top: 0;
	}

	footer {
		padding-top: 150px;
	}

	footer .row>div {
		padding-bottom: 50px;
	}

	footer .row>div:last-child {
		padding-bottom: 0;
	}

	header .logo {
		width: 90px;
		margin-top: -3px;
	}

	.header-col {
		border-radius: 0 0 0 0 !important;
	}

	.refs-prev,
	.refs-next {
		bottom: -30px;
	}

	#faq h2 {
		font-size: 40px;
	}

	.copyright-row {
		font-size: 15px;
	}

	.palvelu-card-illu {
		top: 30px;
	}
	.home #palvelu-quotes {
		padding-top:90px;
	}
}

@media (max-width: 420px) {
	#mainhero h1 {
		font-size: 26vw;
	}
	#mainhero .button {
		font-size: 18px;
		padding-left: 1em;
		padding-right: 1em;
		margin-right: 0;
	}

	#mainhero .button.button-borderless {
		padding-left: 0.5em;
		padding-right: 0.5em;
	}
}