/* ==========================================================================
   Afloraa v2: lead-generation site, realized from "Afloraa Premium Natural".
   Mobile-first. Solid color-block surfaces, minimal motion, no gradients.
   ========================================================================== */

/* ---- Fonts (self-hosted) ---- */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Lora";
	src: url("../fonts/lora-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

/* ---- Tokens ---- */

:root {
	--bg: #f2f0eb;
	--surface: #ffffff;
	--ceramic: #edebe9;
	--ink: #26241f;
	--ink-soft: #6b675f;
	/* Greens derived from the Afloraa logo: deep forest + olive leaf */
	--accent: #6f9a1e;
	--brand-green: #1e4a1c;
	--house-green: #143012;
	--green-uplift: #2c5426;
	--sage: #b3c48b;
	--green-light: #e3ead1;
	--gold: #cba258;
	--ink-on-dark: #ffffff;
	--ink-on-dark-soft: rgba(255, 255, 255, 0.7);
	--error: #c82014;
	--input-border: #d6dbde;

	--font-sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;

	--space-1: 4px;
	--space-2: 8px;
	--space-3: 16px;
	--space-4: 24px;
	--space-5: 32px;
	--space-6: 40px;
	--space-7: 48px;
	--space-9: 64px;

	--radius-card: 12px;
	--radius-button: 50px;
	--radius-input: 4px;

	--shadow-card: 0 0 0.5px rgba(0, 0, 0, 0.14), 0 1px 1px rgba(0, 0, 0, 0.24);
	--shadow-nav: 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.06), 0 0 2px rgba(0, 0, 0, 0.07);
	--shadow-frap: 0 0 6px rgba(0, 0, 0, 0.24), 0 8px 12px rgba(0, 0, 0, 0.14);

	--gutter: 16px;
	--container: 1280px;
}

@media (min-width: 768px) {
	:root { --gutter: 24px; }
}

@media (min-width: 1024px) {
	:root { --gutter: 40px; }
}

/* ---- Reset ---- */

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

:where(body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, address) {
	margin: 0;
	padding: 0;
	font-style: normal;
}

:where(ul, ol) {
	list-style: none;
}

:where(img, svg) {
	display: block;
	max-width: 100%;
	height: auto;
}

body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
	padding-bottom: 64px; /* room for sticky mobile bar */
}

@media (min-width: 900px) {
	body { padding-bottom: 0; }
}

a {
	color: var(--brand-green);
	text-decoration: none;
}

/* Visible keyboard focus everywhere */
:where(a, button, [role="button"], input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--brand-green);
	outline-offset: 2px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--surface);
	color: var(--ink);
	padding: var(--space-2) var(--space-3);
	z-index: 100;
}

.skip-link:focus { left: var(--space-3); }

.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow { max-width: 760px; }

/* ---- Buttons ---- */

.btn {
	display: inline-block;
	border-radius: var(--radius-button);
	padding: 9px 18px;
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
	text-align: center;
}

.btn:active { transform: scale(0.95); }

.btn--lg { padding: 13px 26px; font-size: 16px; }
.btn--block { display: block; width: 100%; }

/* Text-bearing greens use the darker brand green for WCAG AA contrast */
.btn--primary { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.btn--primary:hover { background: var(--green-uplift); border-color: var(--green-uplift); }
.btn--outline { background: transparent; border-color: var(--brand-green); color: var(--brand-green); }
.btn--outline:hover { background: rgba(30, 74, 28, 0.06); }
.btn--white { background: #fff; border-color: #fff; color: var(--brand-green); }
.btn--outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); }

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-top: var(--space-4);
}

.cta-row--center { justify-content: center; }

/* ---- Header ---- */

.site-head {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--surface);
	box-shadow: var(--shadow-nav);
}

.site-head__inner {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	height: 60px;
}

@media (min-width: 1024px) {
	.site-head__inner { height: 76px; }
}

.site-head__brand {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.16px;
	color: var(--brand-green);
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.custom-logo {
	max-height: 40px;
	width: auto;
}

@media (min-width: 1024px) {
	.custom-logo { max-height: 48px; }
}

.site-nav { display: none; }

@media (min-width: 1100px) {
	.site-nav {
		display: flex;
		margin-left: auto;
		align-self: stretch;
	}

	.site-head .site-head__actions { margin-left: 0; }
}

.site-nav__list {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--space-3);
	height: 100%;
	align-items: stretch;
}

/* Full-height hover targets: no dead zone between link and dropdown panel */
.site-nav__list > li {
	display: flex;
	align-items: center;
}

.site-nav__list > li > a {
	display: inline-flex;
	align-items: center;
	height: 100%;
}

.site-nav__list a {
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.site-nav__list a:hover { color: var(--brand-green); }

.site-head__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.site-head__phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	min-width: 24px;
	min-height: 44px;
}

.site-head__phone svg { color: var(--brand-green); flex-shrink: 0; }
.site-head__phone:hover { color: var(--brand-green); }

/* Small screens: icon-only phone button in the header */
@media (max-width: 559px) {
	.site-head__phone span { display: none; }
	.site-head__phone svg { width: 20px; height: 20px; }
}

/* With the full category menu visible, the phone fits only on wide screens */
@media (min-width: 1100px) and (max-width: 1339px) {
	.site-head__phone { display: none; }
}

.site-head__cta { display: none; }

@media (min-width: 760px) {
	.site-head__cta { display: inline-block; }
}

.site-head__toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.site-head__toggle span {
	display: block;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
}

@media (min-width: 1100px) {
	.site-head__toggle { display: none; }
}

.mobile-nav {
	background: var(--surface);
	border-top: 1px solid var(--ceramic);
	padding: var(--space-3) var(--gutter) var(--space-4);
	max-height: calc(100vh - 60px);
	overflow-y: auto;
}

.mobile-nav__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-2);
	margin-bottom: var(--space-3);
	padding-bottom: var(--space-3);
	border-bottom: 1px solid var(--ceramic);
}

.mobile-nav .site-nav__list,
.mobile-nav__list { display: block; }

.mobile-nav li { position: relative; }

.mobile-nav li a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: var(--space-1) 0;
	color: var(--ink);
	font-size: 17px;
	font-weight: 600;
}

.mobile-nav__actions .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; white-space: normal; }

/* Collapsible sub-groups (toggled by the chevron button injected by JS) */
.mobile-nav .menu-item-has-children > .sub-menu { display: none; }
.mobile-nav .menu-item-has-children.is-open > .sub-menu { display: block; }

.subnav-toggle {
	position: absolute;
	top: 0;
	right: 0;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.subnav-toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--brand-green);
	border-bottom: 2px solid var(--brand-green);
	transform: translate(-50%, -70%) rotate(45deg);
	transition: transform 0.2s ease;
}

.mobile-nav .is-open > .subnav-toggle::after {
	transform: translate(-50%, -30%) rotate(225deg);
}

/* Hamburger becomes an X while the menu is open */
.site-head__toggle span { transition: transform 0.2s ease, opacity 0.2s ease; }

.site-head__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-head__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-head__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Lead hero ---- */

.lead-hero {
	background: var(--bg);
	position: relative;
	overflow: hidden;
}

/* Soft botanical accent behind the hero content (desktop only, decorative) */
@media (min-width: 900px) {
	.lead-hero::before {
		content: "";
		position: absolute;
		left: -70px;
		bottom: -90px;
		width: 380px;
		height: 380px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100 190 C96 130 92 95 74 62 M100 190 C106 136 116 104 138 72' stroke='%23b3c48b' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M74 62 C62 40 64 20 78 6 C92 20 92 42 82 62 z' fill='%23b3c48b'/%3E%3Cpath d='M138 72 C130 50 134 30 148 18 C160 34 158 54 146 72 z' fill='%23b3c48b'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-size: contain;
		opacity: 0.4;
		pointer-events: none;
	}
}

/* On mobile the quote form sits directly below the hero, so the duplicate
   quote pill is hidden; Call and WhatsApp stay. */
@media (max-width: 899px) {
	.lead-hero .cta-row .btn--primary { display: none; }
}

.lead-hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
	align-items: center;
	padding-block: var(--space-5) var(--space-6);
}

@media (min-width: 900px) {
	.lead-hero__inner {
		grid-template-columns: 58fr 42fr;
		gap: var(--space-6);
		padding-block: var(--space-7) var(--space-9);
	}
}

.lead-hero__title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.16px;
	color: var(--brand-green);
	max-width: 24ch;
}

.lead-hero__sub {
	margin-top: var(--space-3);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink-soft);
	max-width: 52ch;
}

/* ---- Trust strip ---- */

.trust-strip {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
	margin-top: var(--space-4);
}

.trust-strip li {
	position: relative;
	padding-left: 22px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-soft);
}

.trust-strip li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--green-light);
	border: 4px solid var(--accent);
}

/* ---- Lead form card ---- */

.lead-card {
	background: var(--surface);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
	padding: var(--space-4);
	scroll-margin-top: 90px;
}

@media (min-width: 900px) {
	.lead-card { padding: var(--space-5); }
}

.lead-card__title {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.16px;
	color: var(--brand-green);
}

.lead-card__sub {
	margin-top: var(--space-1);
	font-size: 14px;
	color: var(--ink-soft);
}

.af-form { margin-top: var(--space-3); }

.field { margin-bottom: var(--space-3); }

.field label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 4px;
	color: var(--ink);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 11px 12px;
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--input-border);
	border-radius: var(--radius-input);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 2px rgba(0, 117, 74, 0.15);
}

.field-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 var(--space-3);
}

@media (min-width: 700px) {
	.field-grid { grid-template-columns: 1fr 1fr; }
}

.lead-card__privacy {
	margin-top: var(--space-3);
	font-size: 12px;
	color: var(--ink-soft);
}

/* Styled file input (reference image upload) */
.field input[type="file"] {
	padding: var(--space-2);
	font-size: 14px;
	color: var(--ink-soft);
}

.field input[type="file"]::file-selector-button {
	border: 1px solid var(--brand-green);
	background: transparent;
	color: var(--brand-green);
	border-radius: var(--radius-button);
	padding: 7px 16px;
	margin-right: var(--space-3);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 699px) {
	.lead-card--wide button[type="submit"] { width: 100%; }
}

.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.lead-card--wide { max-width: 100%; }

/* ---- Sections ---- */

.section-title {
	font-size: clamp(24px, 3vw, 30px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.16px;
	color: var(--brand-green);
}

.section-title--ondark { color: var(--ink-on-dark); }

.section-sub {
	margin-top: var(--space-2);
	color: var(--ink-soft);
	max-width: 62ch;
}

.intro { background: var(--surface); padding-block: var(--space-6); }

.intro__text {
	font-size: 19px;
	line-height: 1.7;
	color: var(--ink);
	max-width: 920px;
}

/* ---- Options grid ---- */

.options { background: var(--surface); padding-block: var(--space-7); }

.options__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-3);
	margin-top: var(--space-5);
}

@media (min-width: 1024px) {
	.options__grid { grid-template-columns: repeat(3, 1fr); }
	.options__grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
	background: var(--surface);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
}

.option-card {
	display: block;
	overflow: hidden;
	color: var(--ink);
	transition: all 0.2s ease;
}

a.option-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 0.5px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.12);
}

.option-card__body { padding: var(--space-3); }

.option-card__title {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.16px;
}

.option-card__sub {
	margin-top: 2px;
	font-size: 14px;
	color: var(--ink-soft);
}

.ph-fig { position: relative; }

.ph { width: 100%; }

.ph-fig__cap {
	position: absolute;
	left: 8px;
	bottom: 8px;
	background: rgba(255, 255, 255, 0.85);
	color: var(--ink-soft);
	font-size: 10px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 10px;
}

/* ---- Benefits ---- */

.benefits { background: var(--ceramic); padding-block: var(--space-7); }

.benefits__list {
	margin-top: var(--space-4);
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-2) var(--space-5);
	max-width: 900px;
}

@media (min-width: 760px) {
	.benefits__list { grid-template-columns: 1fr 1fr; }
}

.benefits__list li {
	position: relative;
	padding-left: 28px;
	font-size: 16px;
	line-height: 1.55;
}

.benefits__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: inset 0 0 0 3px var(--green-light);
}

/* ---- Why band ---- */

.why {
	background: var(--house-green);
	color: var(--ink-on-dark);
	padding-block: var(--space-7);
}

.why__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
	align-items: center;
}

@media (min-width: 900px) {
	.why__inner { grid-template-columns: 60fr 40fr; }
}

.why__list { margin-top: var(--space-4); }

.why__list li {
	position: relative;
	padding-left: 26px;
	margin-bottom: var(--space-2);
	color: var(--ink-on-dark-soft);
	line-height: 1.55;
}

.why__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--sage);
}

.why__cta-lead {
	font-size: 18px;
	font-weight: 600;
	color: var(--ink-on-dark);
	max-width: 34ch;
}

.why__catalogue { margin-top: var(--space-3); }

.why__catalogue a {
	color: var(--ink-on-dark);
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.why__catalogue a:hover { color: var(--sage); }

/* ---- Breadcrumbs ---- */

.breadcrumbs {
	background: var(--bg);
	padding-top: var(--space-3);
	font-size: 13px;
	color: var(--ink-soft);
}

.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--brand-green); }
.breadcrumbs .separator { margin-inline: 4px; }

/* ---- FAQ ---- */

.faq { background: var(--bg); padding-block: var(--space-7); }

@media (min-width: 1024px) {
	.faq .container {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 var(--space-4);
		align-items: start;
	}

	.faq .section-title { grid-column: 1 / -1; }
}

.faq__item {
	background: var(--surface);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
	margin-top: var(--space-2);
	padding: 0 var(--space-4);
}

.faq .section-title { margin-bottom: var(--space-3); }

.faq__item summary {
	cursor: pointer;
	list-style: none;
	padding: var(--space-3) 0;
	font-weight: 700;
	font-size: 16px;
	position: relative;
	padding-right: 28px;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 400;
	color: var(--accent);
}

.faq__item[open] summary::after { content: "\2212"; }

.faq__item p {
	padding-bottom: var(--space-3);
	color: var(--ink-soft);
	line-height: 1.6;
}

/* ---- CTA band: light surface so it separates cleanly from the dark footer ---- */

.cta-band {
	background: var(--ceramic);
	color: var(--ink);
	padding-block: var(--space-7);
}

.cta-band__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	align-items: center;
}

@media (min-width: 900px) {
	.cta-band__inner { grid-template-columns: 60fr 40fr; }
}

.cta-band__title {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 700;
	letter-spacing: -0.16px;
	color: var(--brand-green);
}

.cta-band__sub {
	margin-top: var(--space-2);
	color: var(--ink-soft);
	max-width: 52ch;
}

/* ---- Gallery ---- */

.gallery { background: var(--surface); padding-block: var(--space-7); }

.gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-3);
	margin-top: var(--space-4);
}

@media (min-width: 900px) {
	.gallery__grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery__grid .ph { border-radius: var(--radius-card); }

/* ---- Split feature (home) ---- */

.split-feature { background: var(--bg); padding-block: var(--space-7); }

.split-feature__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
}

@media (min-width: 860px) {
	.split-feature__inner { grid-template-columns: 1fr 1fr; }
}

.split-feature__block { padding: var(--space-5); }

.split-feature__title {
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.16px;
	color: var(--brand-green);
}

.split-feature__block p {
	margin-block: var(--space-2) var(--space-4);
	color: var(--ink-soft);
}

/* ---- Contact ---- */

.contact-hero { background: var(--bg); padding-block: var(--space-6) var(--space-4); }

.contact-body { background: var(--surface); padding-block: var(--space-6); }

.contact-body__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	align-items: start;
}

@media (min-width: 960px) {
	.contact-body__inner { grid-template-columns: 38fr 62fr; }
}

.contact-card { padding: var(--space-5); margin-bottom: var(--space-4); }

.contact-card__title {
	font-size: 20px;
	font-weight: 700;
	color: var(--brand-green);
	margin-bottom: var(--space-3);
}

.contact-card__line {
	display: block;
	padding: 6px 0;
	font-weight: 600;
	color: var(--ink);
}

.contact-card__line:hover { color: var(--accent); }

.contact-card__note {
	margin-top: var(--space-2);
	font-size: 13px;
	color: var(--ink-soft);
}

.contact-card--map {
	background: var(--ceramic);
	box-shadow: none;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--ink-soft);
	font-size: 14px;
}

/* ---- Thank you ---- */

.thanks { background: var(--bg); padding-block: var(--space-9); }

.thanks__inner { text-align: center; }

.thanks__icon {
	display: inline-flex;
	color: var(--accent);
	background: var(--green-light);
	border-radius: 50%;
	padding: var(--space-3);
	margin-bottom: var(--space-4);
}

.thanks__title {
	font-size: clamp(26px, 3.4vw, 36px);
	font-weight: 700;
	letter-spacing: -0.16px;
	color: var(--brand-green);
}

.thanks__sub {
	margin-top: var(--space-3);
	color: var(--ink-soft);
	max-width: 54ch;
	margin-inline: auto;
}

.thanks__back { margin-top: var(--space-5); font-size: 14px; }

/* ---- Generic entry (privacy, about, terms) ---- */

.archive-wrap { padding-block: var(--space-7); }

.entry__content { max-width: 920px; }

.entry__content > * + * { margin-top: var(--space-3); }

.entry__content h2,
.entry__content h3 {
	color: var(--brand-green);
	letter-spacing: -0.16px;
	margin-top: var(--space-5);
}

.entry__content ul { list-style: disc; padding-left: 20px; }

.section-head { margin-bottom: var(--space-4); }

.section-head__title {
	font-size: clamp(26px, 3.4vw, 34px);
	font-weight: 700;
	letter-spacing: -0.16px;
	color: var(--brand-green);
}

.post-card { padding: var(--space-5); margin-bottom: var(--space-3); }

.post-card__meta { font-size: 13px; color: var(--ink-soft); }

/* ---- Footer ---- */

.site-foot {
	background: var(--house-green);
	color: var(--ink-on-dark-soft);
	padding-block: var(--space-7) var(--space-4);
}

.site-foot__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
}

@media (min-width: 900px) {
	.site-foot__inner { grid-template-columns: 36fr 64fr; }
}

.site-foot__wordmark {
	font-size: 22px;
	font-weight: 700;
	color: var(--ink-on-dark);
}

.site-foot__tag { margin-top: var(--space-2); max-width: 36ch; }

.site-foot__contact { margin-top: var(--space-3); }

.site-foot__contact a { color: var(--ink-on-dark); font-weight: 600; }

.site-foot__addr { margin-top: var(--space-2); font-size: 12px; }

.site-foot__cols {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-5);
}

@media (min-width: 700px) {
	.site-foot__cols { grid-template-columns: repeat(3, 1fr); }
}

.site-foot__cols--slim { display: block; }

.site-foot__cols--slim ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.site-foot__heading {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-on-dark);
	margin-bottom: var(--space-3);
}

.site-foot__col li + li { margin-top: var(--space-2); }

.site-foot__col a,
.site-foot__cols--slim a { color: var(--ink-on-dark-soft); }

.site-foot__col a:hover,
.site-foot__cols--slim a:hover { color: var(--ink-on-dark); }

.site-foot__legal {
	margin-top: var(--space-6);
	padding-top: var(--space-4);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
}

/* ---- Floating WhatsApp (desktop) ---- */

.frap {
	position: fixed;
	right: var(--space-4);
	bottom: var(--space-4);
	z-index: 60;
	display: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--brand-green);
	color: #fff;
	box-shadow: var(--shadow-frap);
	transition: all 0.2s ease;
}

.frap:hover { background: var(--green-uplift); }
.frap:active { transform: scale(0.95); }

@media (min-width: 900px) {
	.frap { display: flex; }
}

/* ---- Sticky mobile action bar ---- */

.sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 70;
	display: grid;
	grid-template-columns: 1fr 1fr 1.2fr;
	background: var(--surface);
	border-top: 1px solid var(--ceramic);
	box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.08);
}

.sticky-bar a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 14px 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
}

.sticky-bar a svg { color: var(--brand-green); }

.sticky-bar__quote {
	background: var(--brand-green);
	color: #fff !important;
}

@media (min-width: 900px) {
	.sticky-bar { display: none; }
}

/* ---- Consent banner ---- */

.consent {
	position: fixed;
	left: var(--space-3);
	right: var(--space-3);
	bottom: 72px;
	z-index: 80;
	background: var(--surface);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-frap);
	padding: var(--space-4);
	max-width: 480px;
	margin-inline: auto;
}

.consent p { font-size: 14px; color: var(--ink-soft); }

.consent__actions {
	display: flex;
	gap: var(--space-2);
	margin-top: var(--space-3);
}

/* ---- Dropdowns and mega menu (driven by the WP menu tree) ---- */

.site-nav__list > li { position: relative; }

/* Chevron on any item with children */
.site-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
}

/* Standard dropdown panel */
.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -12px;
	z-index: 60;
	min-width: 240px;
	background: var(--surface);
	border-radius: var(--radius-card);
	box-shadow: 0 0 0.5px rgba(0, 0, 0, 0.14), 0 6px 16px rgba(0, 0, 0, 0.12);
	padding: var(--space-2);
	opacity: 0;
	visibility: hidden;
	/* 0.25s close delay so the cursor can travel into the panel */
	transition: opacity 0.15s ease 0.25s, visibility 0s linear 0.4s;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s, 0s;
}

.site-nav .sub-menu li { position: relative; }

.site-nav .sub-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}

.site-nav .sub-menu a:hover {
	background: var(--green-light);
	color: var(--brand-green);
}

/* Third level in a standard dropdown flies out to the right */
.site-nav .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

.site-nav .sub-menu .menu-item-has-children > a::after {
	transform: rotate(-45deg) translateY(-2px);
	float: right;
	margin-top: 6px;
}

/* Mega menu: add the class "mega" to a top-level item in Appearance > Menus.
   Its children become columns; grandchildren are the column links. */
.site-nav__list > li.mega { position: static; }

.site-nav__list > li.mega > .sub-menu {
	left: 50%;
	right: auto;
	transform: translateX(-50%);
	width: min(100vw, var(--container));
	min-width: 0;
	display: flex;
	gap: var(--space-5);
	padding: var(--space-5) var(--space-6);
	border-radius: 0 0 var(--radius-card) var(--radius-card);
}

.site-nav__list > li.mega > .sub-menu > li {
	flex: 1;
	min-width: 0;
}

.site-nav__list > li.mega > .sub-menu > li > a {
	font-size: 15px;
	font-weight: 700;
	color: var(--brand-green);
	padding: 0 0 var(--space-2);
	border-bottom: 1px solid var(--ceramic);
	margin-bottom: var(--space-2);
	border-radius: 0;
	white-space: normal;
}

.site-nav__list > li.mega > .sub-menu > li > a:hover { background: transparent; }

/* Inside a mega column, nested lists render inline, not as flyouts */
.site-nav__list > li.mega .sub-menu .sub-menu {
	position: static;
	opacity: 1;
	visibility: visible;
	box-shadow: none;
	padding: 0;
	min-width: 0;
}

.site-nav__list > li.mega .sub-menu .sub-menu a {
	font-weight: 400;
	color: var(--ink);
	padding: 6px 0;
	white-space: normal;
}

.site-nav__list > li.mega .sub-menu .sub-menu a:hover {
	background: transparent;
	color: var(--accent);
}

.site-nav__list > li.mega .sub-menu .menu-item-has-children > a::after { display: none; }

/* Mobile: nested items indent, always visible */
.mobile-nav .sub-menu {
	padding-left: var(--space-3);
	border-left: 2px solid var(--ceramic);
	margin-left: var(--space-2);
}

.mobile-nav .sub-menu a {
	font-size: 15px;
	font-weight: 400;
	padding: 6px 0;
}

.mobile-nav .sub-menu .sub-menu a { font-size: 14px; color: var(--ink-soft); }

/* ---- Motion safety ---- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}

/* ---- Admin bar offset ---- */

body.admin-bar .site-head { top: 32px; }

@media screen and (max-width: 782px) {
	body.admin-bar .site-head { top: 46px; }
}
