/*
Theme Name: GreenFlavoBio Product Child
Template: astra
Version: 1.0.0
Author: WorkBuddy
Text Domain: greenflavobio-product-child
*/

/* ============================================================
   Front page (home) landing sections
   ============================================================ */

/* Neutralize Astra default padding so our sections are full-bleed */
.site-main.gf-front {
	padding-top: 0;
	padding-bottom: 0;
}

.gf-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}

.gf-section {
	padding: 72px 0;
}
.gf-section-title {
	text-align: center;
	font-size: 2rem;
	line-height: 1.2;
	margin: 0 0 12px;
	color: #0F172A;
	font-weight: 700;
}
.gf-section-title.left {
	text-align: left;
}
.gf-section-sub {
	text-align: center;
	color: #5b6b5e;
	margin: 0 0 40px;
	font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.gf-btn {
	display: inline-block;
	padding: 13px 28px;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	transition: all .2s ease;
}
.gf-btn-primary {
	background: #379237;
	color: #fff;
	border: 2px solid #379237;
}
.gf-btn-primary:hover {
	background: #2c7a2e;
	border-color: #2c7a2e;
	color: #fff;
}
.gf-btn-ghost {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255,255,255,.7);
}
.gf-btn-ghost:hover {
	background: rgba(255,255,255,.12);
	color: #fff;
}
.gf-btn-outline {
	background: transparent;
	color: #379237;
	border: 2px solid #379237;
	padding: 9px 18px;
	font-size: .92rem;
}
.gf-btn-outline:hover {
	background: #379237;
	color: #fff;
}
.gf-center {
	text-align: center;
	margin-top: 36px;
}

/* ---------- Hero ---------- */
.gf-hero {
	background: linear-gradient(135deg, #0C1406 0%, #1f5a23 55%, #379237 100%);
	color: #fff;
	padding: 110px 20px 120px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.gf-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 80% 20%, rgba(84,180,53,.30), transparent 45%);
	pointer-events: none;
}
.gf-hero-inner {
	max-width: 820px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.gf-hero-eyebrow {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: .85rem;
	color: #9be29d;
	margin: 0 0 14px;
}
.gf-hero-title {
	font-size: 2.7rem;
	line-height: 1.15;
	margin: 0 0 18px;
	font-weight: 800;
	color: #fff;
}
.gf-hero-sub {
	font-size: 1.12rem;
	line-height: 1.7;
	color: rgba(255,255,255,.88);
	margin: 0 0 32px;
}
.gf-hero-actions .gf-btn { margin: 6px 8px; }

/* ---------- About ---------- */
.gf-about { background: #fff; }
.gf-about-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 48px;
	align-items: center;
}
.gf-about-text p { color: #45524a; line-height: 1.8; margin: 0 0 16px; }
.gf-checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.gf-checklist li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	color: #2F3B40;
}
.gf-checklist li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 1px;
	color: #379237;
	font-weight: 700;
}
.gf-about-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.gf-stat {
	background: #EDFBE2;
	border: 1px solid #D5EAD8;
	border-radius: 12px;
	padding: 24px 18px;
	text-align: center;
}
.gf-stat-num {
	display: block;
	font-size: 2rem;
	font-weight: 800;
	color: #379237;
}
.gf-stat-label {
	display: block;
	margin-top: 6px;
	font-size: .9rem;
	color: #45524a;
}

/* ---------- Advantages ---------- */
.gf-advantages { background: #F6FAF2; }
.gf-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.gf-card {
	background: #fff;
	border: 1px solid #e3efe0;
	border-radius: 14px;
	padding: 30px 24px;
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease;
}
.gf-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(55,146,55,.12);
}
.gf-card-ico {
	font-size: 2.2rem;
	margin-bottom: 12px;
}
.gf-card h3 { margin: 0 0 10px; font-size: 1.15rem; color: #0F172A; }
.gf-card p { margin: 0; color: #5b6b5e; font-size: .95rem; line-height: 1.6; }

/* ---------- Featured Products ---------- */
.gf-featured { background: #fff; }
.gf-product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.gf-prod-card {
	border: 1px solid #e3efe0;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease;
}
.gf-prod-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(55,146,55,.14);
}
.gf-prod-media {
	display: block;
	background: #EDFBE2;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.gf-prod-media img { width: 100%; height: 100%; object-fit: cover; }
.gf-prod-ph {
	font-size: 3rem;
	font-weight: 800;
	color: #379237;
}
.gf-prod-body {
	padding: 20px 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.gf-prod-cat {
	display: inline-block;
	align-self: flex-start;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #379237;
	background: #EDFBE2;
	padding: 3px 10px;
	border-radius: 20px;
}
.gf-prod-title { margin: 0; font-size: 1.1rem; }
.gf-prod-title a { color: #0F172A; text-decoration: none; }
.gf-prod-title a:hover { color: #379237; }
.gf-prod-cas { margin: 0; color: #5b6b5e; font-size: .9rem; }
.gf-prod-body .gf-btn-outline { margin-top: auto; align-self: flex-start; }

/* ---------- Applications ---------- */
.gf-apps { background: #F6FAF2; }
.gf-app-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.gf-app {
	background: #fff;
	border: 1px solid #e3efe0;
	border-radius: 12px;
	padding: 22px;
	text-align: center;
	font-weight: 600;
	color: #2F3B40;
	font-size: 1.05rem;
}
.gf-app-ico { display: block; font-size: 1.8rem; margin-bottom: 8px; }

/* ---------- CTA ---------- */
.gf-cta {
	background: linear-gradient(135deg, #0C1406, #379237);
	color: #fff;
	text-align: center;
	padding: 72px 20px;
}
.gf-cta h2 { margin: 0 0 12px; font-size: 1.8rem; }
.gf-cta p { margin: 0 0 26px; color: rgba(255,255,255,.9); }
.gf-cta a { color: #9be29d; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.gf-about-grid { grid-template-columns: 1fr; gap: 32px; }
	.gf-cards { grid-template-columns: repeat(2, 1fr); }
	.gf-product-grid { grid-template-columns: repeat(2, 1fr); }
	.gf-app-grid { grid-template-columns: repeat(2, 1fr); }
	.gf-hero-title { font-size: 2.1rem; }
}
@media (max-width: 560px) {
	.gf-section { padding: 52px 0; }
	.gf-cards,
	.gf-product-grid,
	.gf-app-grid { grid-template-columns: 1fr; }
	.gf-about-stats { grid-template-columns: 1fr 1fr; }
	.gf-hero { padding: 80px 18px 90px; }
	.gf-hero-title { font-size: 1.7rem; }
}

/* ============================================================
   Inner pages — V2 "Botanical Science" system
   ============================================================ */

/* ---------- Page hero band (printed before #content) ---------- */
.gf-page-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: linear-gradient(118deg, #0A1F12 0%, #0D3B22 55%, #155530 100%);
	padding: 62px 0 56px;
	margin-top: 2px;
}
.gf-page-hero-deco {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%236FBF73' stroke-width='1'%3E%3Cpath d='M30 2l24 14v28L30 58 6 44V16z' opacity='.16'/%3E%3Cpath d='M90 46l24 14v28l-24 14-24-14V60z' opacity='.13'/%3E%3Ccircle cx='30' cy='30' r='2' fill='%236FBF73' opacity='.3'/%3E%3Ccircle cx='90' cy='74' r='2' fill='%236FBF73' opacity='.26'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 240px 208px;
	opacity: .55;
}
.gf-page-hero::after {
	content: "";
	position: absolute;
	right: -160px;
	top: -120px;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	border: 1px solid rgba(111, 191, 115, .22);
	pointer-events: none;
}
.gf-page-hero-inner {
	position: relative;
	z-index: 2;
}
.gf-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--gf-sans);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gf-lime);
}
.gf-hero-eyebrow::before {
	content: "";
	width: 30px;
	height: 1px;
	background: rgba(198, 230, 168, .7);
}
.gf-page-title {
	font-family: var(--gf-serif);
	font-weight: 500;
	font-size: clamp(2rem, 4.2vw, 3.1rem);
	line-height: 1.12;
	color: #fff;
	margin: 14px 0 0;
	letter-spacing: -.01em;
}
.gf-crumb {
	margin-top: 18px;
	font-family: var(--gf-sans);
	font-size: .84rem;
	color: rgba(255, 255, 255, .62);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.gf-crumb a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s; }
.gf-crumb a:hover { color: var(--gf-lime); }
.gf-crumb-sep { color: rgba(255, 255, 255, .3); font-size: .78em; }
.gf-crumb-here { color: rgba(255, 255, 255, .5); }

/* Astra's own page title block is replaced by the hero above. */
body.page .entry-header,
body.single .entry-header { display: none; }

/* ---------- Content typography ---------- */
body.page .entry-content,
body.single .entry-content {
	font-family: var(--gf-sans);
	color: #2A3A2C;
	font-size: 1.02rem;
	line-height: 1.85;
}
.gf-pg > p.gf-lead {
	font-size: 1.12rem;
	line-height: 1.8;
	color: #22331F;
	margin: 0 0 30px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--gf-line);
}
.gf-pg h2,
body.page .entry-content h2,
body.single .entry-content h2 {
	position: relative;
	font-family: var(--gf-serif);
	font-weight: 500;
	font-size: 1.75rem;
	line-height: 1.28;
	letter-spacing: -.01em;
	margin: 52px 0 18px;
	color: var(--gf-ink);
}
.gf-pg h2::before,
body.page .entry-content h2::before,
body.single .entry-content h2::before {
	content: "";
	display: block;
	width: 38px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--gf-green), var(--gf-lime));
	margin-bottom: 12px;
}
.gf-pg h2:first-child { margin-top: 0; }
.gf-pg h3,
body.page .entry-content h3,
body.single .entry-content h3 {
	font-family: var(--gf-sans);
	font-weight: 700;
	font-size: 1.08rem;
	color: var(--gf-forest);
	margin: 0;
}
.gf-pg p { line-height: 1.85; margin: 0 0 16px; }
.gf-pg a { color: var(--gf-green); }
.gf-pg a:hover { color: var(--gf-forest); }

.gf-pg .gf-list {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}
.gf-pg .gf-list li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 13px;
	line-height: 1.7;
}
.gf-pg .gf-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='%232F7A3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		no-repeat center,
		linear-gradient(135deg, #EAF6E0, #D8EFC6);
}

.gf-factory-note {
	position: relative;
	margin: 34px 0 0;
	padding: 18px 22px 18px 56px;
	background: linear-gradient(120deg, #F3FAEC, #EAF6DE);
	border: 1px solid #DCEFC8;
	border-radius: 12px;
	font-size: .95rem;
	line-height: 1.75;
	color: #31452C;
}
.gf-factory-note::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 20px;
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24'%3E%3Cpath d='M12 21C7 16.5 4 12.8 4 9.3 4 5.6 7.6 3 12 3s8 2.6 8 6.3c0 3.5-3 7.2-8 11.7z' fill='none' stroke='%232F7A3F' stroke-width='1.8'/%3E%3Cpath d='M12 8v9M12 11l3-2M12 14l-3-2' stroke='%232F7A3F' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
}

/* ---------- Cards (Advantages / QC steps) ---------- */
.gf-card-lite {
	position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--gf-line);
	border-radius: 14px;
	padding: 24px 28px;
	margin-bottom: 16px;
	box-shadow: 0 2px 14px rgba(10, 31, 18, .05);
	transition: transform .25s ease, box-shadow .25s ease;
}
.gf-card-lite::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--gf-green), var(--gf-lime));
	opacity: 0;
	transition: opacity .25s ease;
}
.gf-card-lite:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(10, 31, 18, .09);
}
.gf-card-lite:hover::before { opacity: 1; }
.gf-card-lite h3 {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 8px;
	font-family: var(--gf-serif);
	font-weight: 500;
	font-size: 1.18rem;
	color: var(--gf-ink);
}
.gf-card-lite h3::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	background: var(--gf-leaf);
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.gf-card-lite p { margin: 0; color: #42523E; font-size: .98rem; }
.gf-pg h2 + .gf-card-lite { margin-top: 16px; }

/* ---------- Industries ---------- */
.gf-industries {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin: 24px 0 10px;
}
.gf-industry {
	position: relative;
	background: #fff;
	border: 1px solid var(--gf-line);
	border-radius: 14px;
	padding: 24px 26px 24px 68px;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gf-industry::before {
	content: "";
	position: absolute;
	left: 24px;
	top: 26px;
	width: 26px;
	height: 26px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24'%3E%3Cpath d='M20 4c-7 0-13 3-13 10 0 2.5 1 4.6 2.6 6C11 17 14 14 19 13c-4 1.6-7 4.3-8.5 7.3 1 .5 2 .7 3.5 .7 7 0 6-9 6-17z' fill='none' stroke='%232F7A3F' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
.gf-industry::after {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 3px;
	border-radius: 14px 14px 0 0;
	background: linear-gradient(90deg, var(--gf-green), var(--gf-lime));
	opacity: 0;
	transition: opacity .25s ease;
}
.gf-industry:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(10, 31, 18, .09);
	border-color: #CFE5BE;
}
.gf-industry:hover::after { opacity: 1; }
.gf-industry h3 {
	margin: 0 0 6px;
	font-family: var(--gf-serif);
	font-weight: 500;
	font-size: 1.16rem;
	color: var(--gf-ink);
}
.gf-industry p { margin: 0; font-size: .96rem; line-height: 1.75; color: #42523E; }

/* ---------- FAQ ---------- */
.gf-faq {
	border-top: 1px solid var(--gf-line);
	margin-top: 10px;
}
.gf-faq-item {
	padding: 24px 0 22px;
	border-bottom: 1px solid var(--gf-line);
}
.gf-faq-item h3 {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 10px;
	font-family: var(--gf-sans);
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--gf-ink);
}
.gf-faq-item h3::before {
	content: "Q";
	flex: none;
	width: 27px;
	height: 27px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: linear-gradient(135deg, #EAF6E0, #D8EFC6);
	color: var(--gf-green);
	font-family: var(--gf-serif);
	font-size: .95rem;
	transform: translateY(3px);
}
.gf-faq-item p {
	margin: 0 0 0 39px;
	color: #42523E;
}

/* ---------- Tables (spec table & any content tables) ---------- */
.gf-spec-table,
body.page .entry-content table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--gf-line);
	border-radius: 12px;
	overflow: hidden;
	font-size: .96rem;
	margin: 20px 0 26px;
}
.gf-spec-table th,
.gf-spec-table td,
body.page .entry-content table th,
body.page .entry-content table td {
	padding: 13px 18px;
	border-bottom: 1px solid #EDF3E6;
	text-align: left;
	vertical-align: top;
}
.gf-spec-table tr:last-child th,
.gf-spec-table tr:last-child td,
body.page .entry-content table tr:last-child th,
body.page .entry-content table tr:last-child td { border-bottom: none; }
.gf-spec-table th,
body.page .entry-content table th {
	width: 220px;
	background: #F5FAEE;
	color: var(--gf-forest);
	font-weight: 600;
}
.gf-spec-table td,
body.page .entry-content table td { color: #37452F; }

/* ---------- Contact form (CF7) ---------- */
.wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--gf-line);
	border-radius: 10px;
	background: #fff;
	font-family: var(--gf-sans);
	font-size: .98rem;
	color: var(--gf-ink);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
	outline: none;
	border-color: var(--gf-green);
	box-shadow: 0 0 0 3px rgba(47, 122, 63, .12);
}
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input[type="submit"] {
	display: inline-block;
	padding: 14px 34px;
	border: 1px solid var(--gf-lime);
	border-radius: 2px;
	background: var(--gf-lime);
	color: #08210F;
	font-family: var(--gf-sans);
	font-weight: 700;
	font-size: .92rem;
	letter-spacing: .02em;
	cursor: pointer;
	transition: all .25s ease;
}
.wpcf7 input[type="submit"]:hover {
	background: #D9F0BF;
	transform: translateY(-2px);
}
.wpcf7 form { margin: 0; }
.wpcf7 p { margin-bottom: 16px; }
.wpcf7 .wpcf7-response-output {
	border: none;
	background: #F3FAEC;
	border-left: 3px solid var(--gf-green);
	border-radius: 0 8px 8px 0;
	padding: 14px 18px;
	margin: 18px 0 0;
}

/* ---------- Single product page ---------- */
.gf-product-detail .gf-breadcrumb {
	font-size: .85rem;
	color: #7B8A75;
	margin: 26px 0 22px;
}
.gf-product-detail .gf-breadcrumb a { color: var(--gf-green); text-decoration: none; }
.gf-product-detail .gf-breadcrumb a:hover { text-decoration: underline; }
.gf-pd-hero {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 40px;
	align-items: center;
	background: linear-gradient(118deg, #0A1F12 0%, #0D3B22 60%, #155530 100%);
	border-radius: 16px;
	padding: 44px 48px;
	position: relative;
	overflow: hidden;
}
.gf-pd-hero::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -80px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	border: 1px solid rgba(111, 191, 115, .25);
}
.gf-pd-cat {
	display: inline-block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gf-lime);
	margin-bottom: 12px;
}
.gf-pd-hero .gf-pd-title {
	font-family: var(--gf-serif);
	font-weight: 500;
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	line-height: 1.18;
	color: #fff;
	margin: 0 0 12px;
}
.gf-pd-subtitle { color: rgba(255, 255, 255, .72); line-height: 1.7; margin: 0 0 22px; }
.gf-pd-cta {
	display: inline-block;
	padding: 13px 28px;
	border-radius: 2px;
	background: var(--gf-lime);
	color: #08210F !important;
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none;
	transition: all .25s ease;
}
.gf-pd-cta:hover { background: #D9F0BF; transform: translateY(-2px); color: #08210F !important; }
.gf-pd-section {
	background: #fff;
	border: 1px solid var(--gf-line);
	border-radius: 14px;
	padding: 30px 34px;
	margin: 22px 0;
	box-shadow: 0 2px 14px rgba(10, 31, 18, .04);
}
.gf-pd-section h2 {
	font-family: var(--gf-serif);
	font-weight: 500;
	font-size: 1.45rem;
	color: var(--gf-ink);
	margin: 0 0 16px;
}
.gf-pd-section h2::before {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--gf-green), var(--gf-lime));
	margin-bottom: 10px;
}
.gf-pd-content { color: #42523E; line-height: 1.85; }
.gf-pd-props { color: #42523E; line-height: 1.85; }
.gf-pd-inquiry { text-align: center; background: linear-gradient(120deg, #F5FAEE, #EAF6DE); }
.gf-pd-inquiry h2::before { margin-left: auto; margin-right: auto; }

@media (max-width: 760px) {
	.gf-industries { grid-template-columns: 1fr; }
	.gf-pd-hero { grid-template-columns: 1fr; padding: 32px 24px; }
	.gf-pd-section { padding: 24px 20px; }
	.gf-faq-item p { margin-left: 0; }
	.gf-page-hero { padding: 44px 0 40px; }
}

/* ============================================================
   Products listing page: Astra renders #primary as flex and
   .site-main shrinks to ~550px -> force full width grid
   ============================================================ */
body.page-template-page-template-all-products-php .content-area {
	display: block;
}
body.page-template-page-template-all-products-php .content-area .site-main {
	width: 100%;
	max-width: 100%;
}

/* ============================================================
   Wide screens: let homepage sections use more of the viewport
   ============================================================ */
@media (min-width: 1400px) {
	body.home .ast-container {
		max-width: 1400px;
	}
	body.home .content-area,
	body.home .site-main {
		width: 100%;
		max-width: 1360px;
	}
	.gf-front .gf-container {
		max-width: 1360px;
	}
}
@media (min-width: 1600px) {
	body.home .ast-container {
		max-width: 1540px;
	}
	body.home .content-area,
	body.home .site-main {
		max-width: 1500px;
	}
	.gf-front .gf-container {
		max-width: 1500px;
	}
}

/* ============================================================
   Mobile: prevent grid children from overflowing the viewport
   (min-width:auto default lets long content blow out columns)
   ============================================================ */
.gf-about-grid > *,
.gf-about-stats > *,
.gf-cards > *,
.gf-app-grid > *,
.gf-product-grid > *,
.gf-stat {
	min-width: 0;
}

/* ============================================================
   Full-bleed section backgrounds: color band spans 100% of the
   viewport while inner content stays at .gf-container width
   ============================================================ */
body { overflow-x: hidden; }
body.home .gf-hero,
body.home .gf-advantages,
body.home .gf-apps,
body.home .gf-cta {
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
}

/* Featured Products: keep content narrower than other sections */
.gf-featured .gf-container {
	max-width: 1140px;
}

/* Home: hero banner hugs the header, CTA hugs the footer (Astra sets #primary margin 4em) */
body.home #primary.content-area {
	margin-top: 2px;
	margin-bottom: 2px;
}

/* ============================================================
   V2 VISUAL SYSTEM — "Botanical Science"
   Serif display type + molecular line art + hairline cards
   ============================================================ */
:root {
	--gf-ink: #0A1F12;
	--gf-forest: #0D3B22;
	--gf-green: #2F7A3F;
	--gf-leaf: #6FBF73;
	--gf-lime: #C6E6A8;
	--gf-paper: #FBFCF7;
	--gf-line: #E4EDDD;
	--gf-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--gf-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body.home .gf-front { font-family: var(--gf-sans); }
.gf-front .gf-hero-title,
.gf-front .gf-section-title,
.gf-front .gf-card h3,
.gf-front .gf-stat-num,
.gf-front .gf-prod-title,
.gf-front .gf-cta h2 {
	font-family: var(--gf-serif);
	font-weight: 600;
	letter-spacing: -.015em;
}

/* ---------- Eyebrow label ---------- */
.gf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-size: .73rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--gf-green);
}
.gf-eyebrow::before {
	content: "";
	width: 26px;
	height: 1px;
	background: currentColor;
	opacity: .55;
}
.gf-eyebrow.light { color: #A9D9B0; }
.gf-eyebrow.center { display: flex; justify-content: center; }

/* ---------- Hero ---------- */
body.home .gf-hero {
	padding: 120px 24px 0;
	overflow: hidden;
	background:
		radial-gradient(820px 520px at 8% 0%, rgba(111,191,115,.20), transparent 62%),
		radial-gradient(680px 460px at 96% 100%, rgba(198,230,168,.16), transparent 66%),
		linear-gradient(135deg, #05140A 0%, #0C3420 52%, #1B5A2B 100%);
}
.gf-hero-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gf-hero-hex {
	position: absolute; right: -6%; top: -16%;
	width: 780px; height: 780px; opacity: .15;
}
.gf-hero-ring {
	position: absolute; right: 5%; top: 50%;
	transform: translateY(-52%); width: 460px; height: 460px; opacity: .45;
}
body.home .gf-hero-inner {
	position: relative; z-index: 2;
	max-width: 860px; margin: 0 auto; padding-bottom: 58px;
	text-align: center;
}
body.home .gf-hero-title {
	font-size: clamp(2.15rem, 4.5vw, 3.9rem);
	line-height: 1.05;
	color: #fff;
	margin: 0 0 22px;
}
.gf-hero-title em { font-style: italic; color: var(--gf-lime); }
body.home .gf-hero-sub {
	max-width: 630px; margin: 0 auto 36px;
	color: rgba(255,255,255,.72);
	font-size: 1.02rem; line-height: 1.75;
}
body.home .gf-btn {
	border-radius: 2px; padding: 15px 30px;
	font-family: var(--gf-sans); font-weight: 600; font-size: .9rem;
	letter-spacing: .02em; transition: all .25s ease;
}
body.home .gf-btn-primary { background: var(--gf-lime); color: #08210F; border: 1px solid var(--gf-lime); }
body.home .gf-btn-primary:hover { background: #D9F0BF; transform: translateY(-2px); }
body.home .gf-btn-ghost { border: 1px solid rgba(255,255,255,.32); color: #fff; }
body.home .gf-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.07); }

/* trust strip */
body.home .gf-trust {
	position: relative; z-index: 2;
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: 12px 40px; max-width: 1180px; margin: 0 auto;
	padding: 24px 0 26px;
	border-top: 1px solid rgba(255,255,255,.14);
	list-style: none;
	font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
	color: rgba(255,255,255,.56);
}
body.home .gf-trust li { position: relative; padding-left: 14px; }
body.home .gf-trust li::before {
	content: ""; position: absolute; left: 0; top: 50%;
	width: 4px; height: 4px; border-radius: 50%;
	background: var(--gf-lime); transform: translateY(-50%);
}

/* ---------- Sections ---------- */
body.home .gf-section { padding: 88px 0; }
body.home .gf-section-title {
	font-size: clamp(1.72rem, 2.5vw, 2.5rem);
	line-height: 1.14; color: var(--gf-ink); margin: 0 0 26px;
}
body.home .gf-section-title.left { text-align: left; }
body.home .gf-section-sub {
	max-width: 640px; margin: 0 auto 46px;
	color: #59684f; line-height: 1.75;
}

/* ---------- Advantages cards ---------- */
body.home .gf-cards { gap: 18px; }
body.home .gf-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--gf-line);
	border-radius: 3px;
	padding: 34px 26px 32px;
	box-shadow: none;
	transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
body.home .gf-card::before {
	content: ""; position: absolute; left: 0; top: 0;
	height: 2px; width: 0;
	background: linear-gradient(90deg, var(--gf-green), var(--gf-lime));
	transition: width .38s ease;
}
body.home .gf-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 22px 44px -28px rgba(9,39,22,.45);
	border-color: #CFE3C4;
}
body.home .gf-card:hover::before { width: 100%; }
.gf-card-idx {
	position: absolute; top: 18px; right: 22px;
	font-family: var(--gf-serif); font-size: 2.5rem; line-height: 1;
	color: #EDF4E7; font-weight: 500;
}
.gf-card-ico {
	width: 46px; height: 46px; border-radius: 50%;
	background: #F3F8ED;
	display: flex; align-items: center; justify-content: center;
	margin: 0 0 20px; font-size: 0;
}
.gf-card-ico svg {
	width: 22px; height: 22px;
	stroke: var(--gf-green); fill: none;
	stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
body.home .gf-card h3 { font-size: 1.05rem; line-height: 1.4; margin: 0 0 12px; color: #12291A; }
body.home .gf-card p { font-size: .92rem; line-height: 1.75; color: #55624F; margin: 0; }

/* ---------- About stats ---------- */
body.home .gf-about-grid { gap: 54px; }
body.home .gf-stat {
	background: #fff;
	border: 1px solid var(--gf-line);
	border-radius: 3px;
	padding: 22px 20px;
}
body.home .gf-stat-num { font-size: 1.95rem; color: var(--gf-forest); }
body.home .gf-stat-label { color: #5B6B55; font-size: .82rem; letter-spacing: .01em; }

/* ---------- Applications ---------- */
body.home .gf-app {
	display: flex; align-items: center; gap: 14px;
	text-align: left;
	padding: 22px;
	background: #fff;
	border: 1px solid var(--gf-line);
	border-radius: 3px;
	font-weight: 600; color: #12291A;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.home .gf-app:hover {
	transform: translateY(-3px);
	border-color: #CFE3C4;
	box-shadow: 0 18px 36px -28px rgba(9,39,22,.4);
}
.gf-app-ico {
	width: 38px; height: 38px; flex: 0 0 38px;
	border-radius: 50%; background: #F3F8ED;
	display: flex; align-items: center; justify-content: center;
	margin: 0; font-size: 0;
}
.gf-app-ico svg {
	width: 19px; height: 19px;
	stroke: var(--gf-green); fill: none;
	stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Featured product cards (home) ---------- */
body.home .gf-prod-card {
	border: 1px solid var(--gf-line);
	border-radius: 3px;
	overflow: hidden;
	background: #fff;
	transition: transform .28s ease, box-shadow .28s ease;
}
body.home .gf-prod-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 44px -30px rgba(9,39,22,.45);
}
body.home .gf-prod-media { background: linear-gradient(155deg, #F2F8EA, #E3EFD7); }
body.home .gf-prod-ph {
	font-family: var(--gf-serif); font-size: 3.2rem;
	color: #A8CC93; letter-spacing: 0;
}
body.home .gf-prod-cat {
	font-size: .65rem; letter-spacing: .16em; text-transform: uppercase;
	font-weight: 700; color: var(--gf-green);
}

/* ---------- CTA ---------- */
body.home .gf-cta {
	position: relative;
	overflow: hidden;
	padding: 96px 24px;
	background:
		radial-gradient(700px 400px at 15% 20%, rgba(111,191,115,.18), transparent 62%),
		linear-gradient(135deg, #06160C, #0D3B22 58%, #1F6A34);
}
.gf-cta-deco {
	position: absolute; right: 3%; top: 50%;
	transform: translateY(-50%);
	width: 420px; opacity: .3; pointer-events: none;
}
body.home .gf-cta .gf-container { position: relative; z-index: 2; max-width: 760px; }
body.home .gf-cta h2 {
	font-size: clamp(1.6rem, 2.5vw, 2.35rem);
	line-height: 1.2; color: #fff; margin: 0 0 14px;
}
body.home .gf-cta p { color: rgba(255,255,255,.7); margin: 0 0 32px; line-height: 1.75; }
body.home .gf-cta p a { color: var(--gf-lime); }

@media (max-width: 1100px) {
	.gf-hero-ring { opacity: .22; right: -14%; }
	body.home .gf-hero-hex { right: -30%; opacity: .1; }
}
@media (max-width: 760px) {
	body.home .gf-hero { padding: 88px 20px 0; }
	body.home .gf-hero-inner { padding-bottom: 40px; }
	body.home .gf-hero-ring { display: none; }
	body.home .gf-hero-hex { right: -55%; top: -8%; opacity: .08; }
	body.home .gf-trust {
		gap: 10px 22px; padding: 18px 10px 20px;
		font-size: .66rem; letter-spacing: .09em;
	}
	body.home .gf-section { padding: 62px 0; }
	.gf-cta-deco { width: 300px; right: -18%; opacity: .2; }
}

/* ---------- Language switcher (primary menu, right side) ---------- */
.main-navigation ul li.gf-lang-item > a {
	font-weight: 700;
	letter-spacing: .06em;
	border: 1px solid #D8E6CE;
	border-radius: 3px;
	padding: 6px 12px !important;
	margin-left: 8px;
	line-height: 1.2;
}
/* The switcher sits at the far right of the nav: open the panel leftwards,
   otherwise Astra's 240px-wide submenu is centered off-screen. */
.main-navigation ul li.gf-lang-item ul.sub-menu,
.ast-desktop .main-header-menu .gf-lang-item .sub-menu {
	left: auto !important;
	right: 0 !important;
	min-width: 0 !important;
	width: 92px !important;
	text-align: center;
}
.main-navigation ul li.gf-lang-item ul.sub-menu a {
	padding: 10px 16px;
	letter-spacing: .06em;
	width: auto;
}
/* Mobile drawer: flat "EN | ES" pair instead of a dropdown. */
#ast-hf-mobile-menu li.gf-lang-flat {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
	padding: 10px 1.4em;
}
#ast-hf-mobile-menu li.gf-lang-flat a,
#ast-hf-mobile-menu li.gf-lang-flat span.gf-lang-here {
	display: inline-block !important;
	width: auto !important;
	padding: 2px 6px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--gf-green, #2F7A3F);
}
#ast-hf-mobile-menu li.gf-lang-flat span.gf-lang-here {
	color: #9AA79C;
	cursor: default;
}
#ast-hf-mobile-menu li.gf-lang-flat span.gf-lang-sep {
	color: #C9D6BF;
}

/* ============================================================
   Blog — Latest Posts cards (home 3-col + blog page list)
   ============================================================ */
.gf-latest .gf-container {
	max-width: 1140px;
}
.gf-latest-grid,
.gf-blog-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.gf-blog-list {
	margin: 26px 0 10px;
}
.gf-latest-grid {
	margin-top: 30px;
}
.gf-latest-card,
.gf-blog-card {
	background: #fff;
	border: 1px solid var(--gf-line, #E4EDDD);
	border-radius: 14px;
	padding: 24px 24px 20px;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
	min-width: 0;
}
.gf-latest-card::before,
.gf-blog-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--gf-green, #2F7A3F), var(--gf-lime, #C6E6A8));
	opacity: 0;
	transition: opacity .25s ease;
}
.gf-latest-card:hover,
.gf-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgba(13, 59, 34, .10);
}
.gf-latest-card:hover::before,
.gf-blog-card:hover::before {
	opacity: 1;
}
.gf-latest-meta,
.gf-blog-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: .8rem;
	color: #6E7F6F;
	margin-bottom: 12px;
}
.gf-blog-cat {
	display: inline-block;
	background: #F0F7E9;
	color: var(--gf-forest, #0D3B22);
	border: 1px solid var(--gf-line, #E4EDDD);
	border-radius: 999px;
	padding: 3px 10px;
	font-weight: 700;
	font-size: .72rem;
	letter-spacing: .04em;
}
.gf-latest-title,
.gf-blog-title {
	font-family: var(--gf-serif, "Fraunces", serif);
	font-weight: 600;
	font-size: 1.12rem;
	line-height: 1.4;
	letter-spacing: -.01em;
	margin: 0 0 10px;
	color: var(--gf-ink, #0A1F12);
}
.gf-latest-title a,
.gf-blog-title a {
	color: inherit;
	text-decoration: none;
}
.gf-latest-title a:hover,
.gf-blog-title a:hover {
	color: var(--gf-green, #2F7A3F);
}
.gf-latest-excerpt,
.gf-blog-excerpt {
	margin: 0 0 16px;
	font-size: .92rem;
	line-height: 1.7;
	color: #4A5A4C;
	flex: 1;
}
.gf-blog-more {
	margin-top: auto;
	align-self: flex-start;
	font-weight: 700;
	font-size: .88rem;
	letter-spacing: .02em;
	color: var(--gf-green, #2F7A3F);
	text-decoration: none;
}
.gf-blog-more:hover {
	color: var(--gf-forest, #0D3B22);
}
.gf-latest-all {
	text-align: center;
	margin: 34px 0 0;
}

@media (max-width: 900px) {
	.gf-latest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.gf-blog-list { grid-template-columns: 1fr; }
}
