/* ==========================================================================
   Vilva Fruits — design system
   Hand-written, no framework, no build step.
   Concept: "Fresh & Cold" — green for produce, ice blue for the cold chain,
   warm orange reserved for calls to action.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
	/* Brand */
	--green-800: #24521a;
	--green-700: #2f6b1f;
	--green-600: #4a8f2c;
	--green-500: #6fae2f;
	--green-200: #cfe6b6;
	--green-100: #e8f4dc;
	--green-50:  #f4faee;

	--ice-800: #0a475c;
	--ice-700: #0e5a72;
	--ice-600: #1382a5;
	--ice-200: #bfe3ef;
	--ice-50:  #eaf6fa;

	--orange:      #f1592a;
	--orange-dark: #d64517;

	/* Neutrals */
	--ink:       #12211a;
	--body:      #4a5b52;
	--muted:     #7c8b83;
	--line:      #e3e9e4;
	--surface:   #ffffff;
	--surface-2: #f7faf6;

	/* Type */
	--font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	/* Spacing / shape */
	--container: 1200px;
	--gutter: 24px;
	--radius: 14px;
	--radius-lg: 22px;
	--radius-pill: 999px;

	/* Elevation */
	--shadow-sm: 0 1px 2px rgba(18, 33, 26, .06), 0 2px 8px rgba(18, 33, 26, .04);
	--shadow:    0 4px 12px rgba(18, 33, 26, .07), 0 12px 32px rgba(18, 33, 26, .06);
	--shadow-lg: 0 10px 24px rgba(18, 33, 26, .09), 0 24px 60px rgba(18, 33, 26, .10);

	--header-h: 84px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--body);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--green-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-600); }

h1, h2, h3, h4, h5 {
	margin: 0 0 .6em;
	color: var(--ink);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

strong, b { font-weight: 700; color: var(--ink); }

hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }

::selection { background: var(--green-200); color: var(--green-800); }

:focus-visible {
	outline: 3px solid var(--green-500);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Skip link — keyboard users land here first */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 12px 20px;
	background: var(--green-700);
	color: #fff;
	border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--tint { background: var(--surface-2); }
.section--green { background: var(--green-50); }
.section--ice { background: var(--ice-50); }

.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* Two-column content + media split */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
}
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.split--wide-media { grid-template-columns: .85fr 1.15fr; }

/* Media fills its column so a short photo never leaves a white gap beside
   a taller block of text. */
.split { align-items: stretch; }
.split > * { align-self: stretch; }
.split__media { display: flex; min-height: 260px; }
.split__media > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

/* Text columns stay vertically centred against a taller image. */
.split > :not(.split__media) {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* A video keeps its own aspect ratio, so pair it with a photo underneath
   and let the photo absorb whatever height is left. */
.split__media--stack { flex-direction: column; gap: 18px; }
.split__media--stack .video-embed { flex: none; }
.split__media--stack > img {
	flex: 1 1 auto;
	min-height: 130px;
	border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   4. Section headings
   -------------------------------------------------------------------------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	background: var(--green-100);
	color: var(--green-700);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.eyebrow--ice { background: var(--ice-50); color: var(--ice-700); }
.eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--body); font-size: 1.05rem; }

.lead { font-size: 1.15rem; line-height: 1.65; color: var(--body); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	border: 2px solid transparent;
	border-radius: var(--radius-pill);
	font-family: inherit;
	font-size: .98rem;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease),
	            background-color .2s var(--ease), color .2s var(--ease),
	            border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
	background: var(--green-600);
	border-color: var(--green-600);
	color: #fff;
	box-shadow: 0 6px 18px rgba(74, 143, 44, .28);
}
.btn--primary:hover {
	background: var(--green-700);
	border-color: var(--green-700);
	color: #fff;
	box-shadow: 0 10px 26px rgba(74, 143, 44, .34);
}

.btn--accent {
	background: var(--orange);
	border-color: var(--orange);
	color: #fff;
	box-shadow: 0 6px 18px rgba(241, 89, 42, .28);
}
.btn--accent:hover {
	background: var(--orange-dark);
	border-color: var(--orange-dark);
	color: #fff;
}

.btn--ghost {
	background: transparent;
	border-color: var(--line);
	color: var(--ink);
}
.btn--ghost:hover { border-color: var(--green-500); color: var(--green-700); }

.btn--on-dark {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .55);
	color: #fff;
	backdrop-filter: blur(6px);
}
.btn--on-dark:hover { background: #fff; color: var(--green-800); border-color: #fff; }

.btn--lg { padding: 17px 36px; font-size: 1.02rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Text link with arrow */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 700;
	color: var(--green-700);
}
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.topbar {
	background: var(--green-800);
	color: rgba(255, 255, 255, .82);
	font-size: .84rem;
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 40px;
	padding-block: 7px;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--green-200); }
.topbar__list { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.topbar__list li { display: flex; align-items: center; gap: 7px; margin: 0; }
.topbar__list svg { flex: none; opacity: .8; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
}

.brand { flex: none; }
.brand img { width: 168px; height: auto; }

.nav { margin-left: auto; }
.nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav__list li { margin: 0; }
.nav__list a {
	position: relative;
	display: block;
	padding: 10px 14px;
	border-radius: var(--radius-pill);
	color: var(--ink);
	font-size: .96rem;
	font-weight: 600;
	white-space: nowrap;
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--green-500);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--ease);
}
.nav__list a:hover { color: var(--green-700); }
.nav__list a:hover::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--green-700); }
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { flex: none; }

/* The in-nav CTA is for the mobile panel only; desktop uses .header-cta. */
.nav__cta { display: none; }

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.nav-toggle span {
	position: relative;
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: background .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	display: grid;
	align-items: center;
	min-height: clamp(460px, 72vh, 660px);
	overflow: hidden;
	background: var(--green-800);
	isolation: isolate;
}

.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 1.2s var(--ease), transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg,
		rgba(9, 34, 15, .88) 0%,
		rgba(9, 34, 15, .70) 42%,
		rgba(9, 34, 15, .30) 100%);
}

.hero__inner { padding-block: clamp(56px, 8vw, 96px); }
.hero__content { max-width: 660px; color: #fff; }
.hero__content h1 { color: #fff; margin-bottom: 20px; text-wrap: balance; }
.hero__content p { color: rgba(255, 255, 255, .88); font-size: 1.12rem; max-width: 560px; }

.hero .eyebrow {
	background: rgba(255, 255, 255, .14);
	color: #fff;
	backdrop-filter: blur(6px);
}

.hero__dots {
	position: absolute;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 2;
}
/* The visible bar stays thin; the button keeps a 24px touch target around it. */
.hero__dots button {
	width: 32px;
	height: 24px;
	padding: 10px 0;
	border: 0;
	background: none;
	cursor: pointer;
	transition: width .25s var(--ease);
}
.hero__dots button::before {
	content: "";
	display: block;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .38);
	transition: background .25s var(--ease);
}
.hero__dots button.is-active { width: 48px; }
.hero__dots button.is-active::before { background: #fff; }

/* Compact page header for inner pages */
.page-hero {
	position: relative;
	padding: clamp(56px, 8vw, 92px) 0;
	background: var(--green-800);
	color: #fff;
	isolation: isolate;
	overflow: hidden;
}
.page-hero img.page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(9, 34, 15, .90), rgba(9, 34, 15, .62));
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, .86); max-width: 620px; font-size: 1.08rem; }
.page-hero .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	font-size: .88rem;
	color: rgba(255, 255, 255, .7);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: rgba(255, 255, 255, .92); font-weight: 600; }
.breadcrumb a:hover { color: var(--green-200); }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
	position: relative;
	padding: clamp(24px, 2.6vw, 34px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-200); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }

.card__icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin-bottom: 20px;
	border-radius: 18px;
	background: var(--green-100);
	color: var(--green-700);
}
.card__icon img { width: 34px; height: 34px; object-fit: contain; }
.card__icon--ice { background: var(--ice-50); color: var(--ice-700); }

/* Numbered value cards */
.card--numbered { padding-top: 40px; }
.card__num {
	position: absolute;
	top: 26px;
	right: 28px;
	font-size: 2.6rem;
	font-weight: 800;
	line-height: 1;
	color: var(--green-100);
	letter-spacing: -.04em;
}

/* Stat / trust strip */
.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.stat { padding: clamp(24px, 3vw, 36px) 24px; background: #fff; text-align: center; }
.stat__value {
	display: block;
	font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
	font-weight: 800;
	line-height: 1.1;
	color: var(--green-700);
	letter-spacing: -.03em;
}
.stat__label { display: block; margin-top: 6px; font-size: .92rem; color: var(--muted); }

/* Certification badges */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 22px 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.cert__tag {
	flex: none;
	padding: 6px 12px;
	border-radius: 8px;
	background: var(--green-700);
	color: #fff;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .04em;
}
.cert p { margin: 0; font-size: .92rem; line-height: 1.55; }

/* Checklist */
.checklist { list-style: none; margin: 0 0 1.15em; padding: 0; }
.checklist li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 12px;
}
.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .34em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b1f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* --------------------------------------------------------------------------
   9. Product grid
   -------------------------------------------------------------------------- */
.product {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--green-200); }

.product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.product__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ease);
}
.product:hover .product__media img { transform: scale(1.07); }

.product__body { padding: 16px 18px 20px; }
.product__body h3 { margin: 0 0 4px; font-size: 1.02rem; }
.product__body p { margin: 0; font-size: .85rem; color: var(--muted); }

.badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 11px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, .94);
	color: var(--green-700);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	backdrop-filter: blur(4px);
}
.badge--ice { color: var(--ice-700); }

/* --------------------------------------------------------------------------
   10. Gallery
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.gallery img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform .5s var(--ease);
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery figure:first-child img { aspect-ratio: 1 / 1; height: 100%; }

/* --------------------------------------------------------------------------
   11. FAQ (native details/summary — no JS needed)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	overflow: hidden;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq details[open] { border-color: var(--green-200); box-shadow: var(--shadow-sm); }
.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 24px;
	color: var(--ink);
	font-weight: 700;
	font-size: 1.02rem;
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b1f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat;
	transition: transform .28s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--green-700); }
.faq__answer { padding: 0 24px 22px; }
.faq__answer p { font-size: .98rem; }

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
	position: relative;
	padding: clamp(48px, 6vw, 76px) 0;
	background: linear-gradient(120deg, var(--green-800), var(--green-600));
	color: #fff;
	overflow: hidden;
}
.cta-band::before {
	content: "";
	position: absolute;
	top: -140px;
	right: -100px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .07);
}
.cta-band__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 560px; }
.cta-band .btn-row { margin-top: 0; }

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

.info-card {
	display: flex;
	gap: 18px;
	padding: 22px 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.info-card + .info-card { margin-top: 16px; }
.info-card__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: var(--green-100);
	color: var(--green-700);
}
.info-card h3 { margin: 0 0 6px; font-size: 1rem; }
.info-card p { margin: 0; font-size: .96rem; line-height: 1.6; }
.info-card a { font-weight: 600; }

.form-card {
	padding: clamp(26px, 3vw, 40px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.field { margin-bottom: 18px; }
.field label {
	display: block;
	margin-bottom: 7px;
	font-size: .88rem;
	font-weight: 700;
	color: var(--ink);
}
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: var(--surface-2);
	font-family: inherit;
	font-size: .98rem;
	color: var(--ink);
	transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a3b0a8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--green-500);
	box-shadow: 0 0 0 4px var(--green-100);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.map-embed {
	overflow: hidden;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	line-height: 0;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* Video */
.video-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .68); font-size: .95rem; }
.site-footer__main { padding: clamp(48px, 6vw, 76px) 0 44px; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
	gap: clamp(28px, 3.5vw, 48px);
}
.site-footer h4 {
	margin-bottom: 18px;
	color: #fff;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.site-footer p { font-size: .93rem; line-height: 1.7; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--green-500); }
.footer-logo { width: 150px; margin-bottom: 20px; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 9px; }
.footer-links a::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--green-500);
	transition: transform .2s var(--ease);
}
.footer-links a:hover::before { transform: scale(1.6); }

.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--green-500); }

.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-certs span {
	padding: 5px 12px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: var(--radius-pill);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .05em;
	color: rgba(255, 255, 255, .85);
}

.site-footer__bottom {
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .87rem;
}
.site-footer__bottom .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.site-footer__bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   15. Floating actions
   -------------------------------------------------------------------------- */
.float-actions {
	position: fixed;
	right: 20px;
	bottom: 22px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.float-btn {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	box-shadow: var(--shadow);
	transition: transform .2s var(--ease), opacity .25s var(--ease), visibility .25s;
}
.float-btn:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.float-btn--wa { background: #25d366; }
.float-btn--top { background: var(--green-700); opacity: 0; visibility: hidden; }
.float-btn--top.is-visible { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   16. Scroll reveal & motion
   -------------------------------------------------------------------------- */
/* Everything below is progressive enhancement: the hidden starting state only
   applies once the inline head script has added .js to <html>. Without
   JavaScript the content simply renders, fully visible. */
.js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition:
		opacity .85s var(--ease) var(--reveal-delay, 0ms),
		transform .85s var(--ease) var(--reveal-delay, 0ms),
		filter .85s var(--ease) var(--reveal-delay, 0ms);
	filter: blur(6px);
	will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* Directional and scale variants */
.js .reveal--left  { transform: translateX(-38px); }
.js .reveal--right { transform: translateX(38px); }
.js .reveal--zoom  { transform: scale(.93); }
.js .reveal--rise  { transform: translateY(48px); }

/* Image panels wipe in behind a moving curtain */
.reveal-mask { position: relative; overflow: hidden; }
.js .reveal-mask {
	clip-path: inset(0 0 100% 0);
	transition: clip-path 1.1s var(--ease) var(--reveal-delay, 0ms);
}
.js .reveal-mask.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-mask img {
	transform: scale(1.14);
	transition: transform 1.4s var(--ease) var(--reveal-delay, 0ms);
}
.js .reveal-mask.is-in img { transform: scale(1); }

/* Headline words lift in one after another */
.js .reveal-words > span {
	display: inline-block;
	opacity: 0;
	transform: translateY(.5em);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal-words.is-in > span { opacity: 1; transform: none; }

/* Hard failsafe: if the reveal machinery ever stalls, this shows every block
   instantly. transition:none matters — it must not depend on another frame. */
.reveal-failsafe .reveal,
.reveal-failsafe .reveal-mask,
.reveal-failsafe .reveal-mask img,
.reveal-failsafe .reveal-words > span {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
	clip-path: none !important;
	transition: none !important;
}

/* Reading-progress bar under the header */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 120;
	height: 3px;
	width: 100%;
	transform: scaleX(0);
	transform-origin: left;
	background: linear-gradient(90deg, var(--green-500), var(--ice-600));
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   17. Premium finish
   -------------------------------------------------------------------------- */

/* Slow drift on the hero image so the page never feels static */
@keyframes ken-burns {
	from { transform: scale(1.02) translate3d(0, 0, 0); }
	to   { transform: scale(1.13) translate3d(-1.4%, -1.2%, 0); }
}
.hero__slide.is-active img { animation: ken-burns 14s ease-out forwards; }

/* Soft light blooms behind tinted sections */
.section--tint, .section--green, .section--ice { position: relative; overflow: hidden; }
.section--tint::before, .section--green::before, .section--ice::before {
	content: "";
	position: absolute;
	top: -220px;
	right: -180px;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(111, 174, 47, .16), transparent 68%);
	pointer-events: none;
}
.section--ice::before { background: radial-gradient(circle, rgba(19, 130, 165, .16), transparent 68%); }
.section--tint > .container, .section--green > .container, .section--ice > .container { position: relative; }

/* Gradient hairline that lights up on hover */
.card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(140deg, var(--green-500), transparent 42%, transparent 58%, var(--ice-600));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	opacity: 0;
	transition: opacity .35s var(--ease);
	pointer-events: none;
}
.card:hover::after { opacity: .85; }
.card:hover .card__icon { transform: translateY(-3px) rotate(-4deg); }
.card__icon { transition: transform .4s var(--ease), background-color .3s var(--ease); }

/* Stat counters */
.stat__value { font-variant-numeric: tabular-nums; }
.stat { position: relative; transition: background-color .3s var(--ease); }
.stat:hover { background: var(--green-50); }

/* Buttons get a travelling sheen */
.btn--primary, .btn--accent { position: relative; overflow: hidden; }
.btn--primary::before, .btn--accent::before {
	content: "";
	position: absolute;
	top: 0;
	left: -80%;
	width: 45%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
	transform: skewX(-18deg);
	transition: left .6s var(--ease);
}
.btn--primary:hover::before, .btn--accent:hover::before { left: 130%; }

/* Product cards lift with a warm glow */
.product { position: relative; }
.product::after {
	content: "";
	position: absolute;
	inset: auto 12% -6px;
	height: 18px;
	border-radius: 50%;
	background: rgba(74, 143, 44, .28);
	filter: blur(14px);
	opacity: 0;
	transition: opacity .3s var(--ease);
	pointer-events: none;
}
.product:hover::after { opacity: 1; }

/* Gallery figures pull focus on hover */
.gallery figure { position: relative; }
.gallery figure::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(9, 34, 15, .5));
	opacity: 0;
	transition: opacity .35s var(--ease);
}
.gallery figure:hover::after { opacity: 1; }

/* Eyebrow pip pulses gently */
@keyframes pip {
	0%, 100% { transform: scale(1); opacity: 1; }
	50%      { transform: scale(1.5); opacity: .55; }
}
.eyebrow::before { animation: pip 2.6s ease-in-out infinite; }

/* Floating WhatsApp ring */
@keyframes ring {
	0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
	70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.float-btn--wa { animation: ring 2.8s ease-out infinite; }

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
/* Seven nav items get tight between the mobile breakpoint and full width. */
@media (min-width: 961px) and (max-width: 1180px) {
	.brand img { width: 140px; }
	.nav__list a { padding: 10px 9px; font-size: .9rem; }
	.nav__list a::after { left: 9px; right: 9px; }
	.header-cta .btn { padding: 12px 18px; font-size: .9rem; }
}

@media (max-width: 1080px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
	:root { --header-h: 72px; }

	.nav-toggle { display: inline-flex; }
	.header-cta { display: none; }

	.nav {
		position: fixed;
		inset: var(--header-h) 0 auto;
		max-height: calc(100dvh - var(--header-h));
		overflow-y: auto;
		padding: 12px var(--gutter) 26px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
	}
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav__list a { padding: 14px 12px; border-radius: 12px; font-size: 1.02rem; }
	.nav__list a::after { display: none; }
	.nav__list a:hover,
	.nav__list a[aria-current="page"] { background: var(--green-50); }
	.nav__cta { display: block; margin-top: 14px; }
	.nav__cta .btn { width: 100%; }

	.split, .split--wide-text, .split--wide-media, .contact-grid { grid-template-columns: 1fr; }
	.split__media { order: -1; }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.certs { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.gallery figure:first-child { grid-column: span 2; grid-row: auto; }
	.topbar__list li.is-hideable { display: none; }
}

@media (max-width: 680px) {
	body { font-size: 16px; }

	/* Phones show content immediately. Scroll reveals on a small, fast-scrolling
	   screen read as blank gaps before they fire, and the blur costs GPU time. */
	.js .reveal,
	.js .reveal--left,
	.js .reveal--right,
	.js .reveal--zoom,
	.js .reveal--rise { opacity: 1; transform: none; filter: none; }
	.js .reveal-mask { clip-path: none; }
	.js .reveal-mask img { transform: none; }
	.js .reveal-words > span { opacity: 1; transform: none; }

	.split__media { min-height: 0; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.grid--auto { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.stats { grid-template-columns: 1fr 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	/* 16px keeps iOS Safari from zooming in when a field is focused. */
	.field input, .field select, .field textarea { font-size: 16px; }
	.btn { width: 100%; }
	.btn-row { flex-direction: column; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.topbar__inner { justify-content: center; }
	.topbar__list li.is-hideable { display: none; }
	.hero { min-height: 520px; }
	.product__body { padding: 13px 14px 16px; }
	.product__body h3 { font-size: .94rem; }
	.map-embed iframe { height: 320px; }
	.float-actions { right: 14px; bottom: 16px; }
}

/* Product thumbs stay two-up on normal phones; only drop to one on very narrow screens. */
@media (max-width: 359px) {
	.grid--auto { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   19. Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.reveal { opacity: 1; transform: none; filter: none; }
	.reveal-mask { clip-path: none; }
	.reveal-mask img { transform: none; }
	.reveal-words > span { opacity: 1; transform: none; }
	.hero__slide { transform: none; }
	.hero__slide.is-active img { animation: none; }
	.scroll-progress { display: none; }
}

@media print {
	.site-header, .topbar, .float-actions, .hero__dots, .cta-band { display: none; }
	body { font-size: 12pt; color: #000; }
	.card, .product { break-inside: avoid; }
}
