/**
 * ARK V7 visual diversity layer.
 * Each registered module receives a type, family and scene class so a long page
 * does not look like one card grid copied repeatedly.
 */

.ark-module[data-ark-module-type] {
	position: relative;
	isolation: isolate;
	overflow: clip;
}

.ark-module[data-ark-module-type]::before,
.ark-module[data-ark-module-type]::after {
	pointer-events: none;
}

/* Scene rhythm. This changes atmosphere without changing the saved content. */
.ark-module-scene-1 { background-color: #fff; }
.ark-module-scene-2 { background: linear-gradient(120deg, #f7fbf8 0%, #edf6f0 100%); }
.ark-module-scene-3 { background-color: #fff; }
.ark-module-scene-4 { background: linear-gradient(180deg, #f4faf6 0%, #fff 100%); }

.ark-module-family-trust::before,
.ark-module-family-capabilities::before,
.ark-module-family-resources::before {
	position: absolute;
	inset: auto -8vw -180px auto;
	z-index: -1;
	width: min(420px, 34vw);
	aspect-ratio: 1;
	content: "";
	border-radius: 50%;
	background: radial-gradient(circle, rgba(90,154,106,.11), transparent 68%);
}

/* Product category bento. */
.ark-module-type-product-categories .ark-product-collection__items {
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-flow: dense;
}
.ark-module-type-product-categories .ark-product-card { grid-column: span 4; box-shadow: none; }
.ark-module-type-product-categories .ark-product-card:first-child { grid-column: span 7; }
.ark-module-type-product-categories .ark-product-card:nth-child(2) { grid-column: span 5; }
.ark-module-type-product-categories .ark-product-card:first-child .ark-product-card__media img { aspect-ratio: 16 / 8.3; }
.ark-module-type-product-categories .ark-product-card:nth-child(2) .ark-product-card__media img { aspect-ratio: 16 / 8.3; }
.ark-module-type-product-categories .ark-product-card__body { background: linear-gradient(180deg, #fff, #f7fbf8); }

/* Featured products use an editorial stage rather than another flat grid. */
.ark-module-type-featured-products {
	background:
		radial-gradient(circle at 78% 24%, rgba(82,146,97,.14), transparent 27%),
		linear-gradient(180deg, #fff, #f4f9f5);
}
.ark-module-type-featured-products .ark-product-collection__items { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.ark-module-type-featured-products .ark-product-card { border: 0; box-shadow: 0 26px 70px rgba(24,70,39,.12); }
.ark-module-type-featured-products .ark-product-card:nth-child(2) { margin-top: 44px; }
.ark-module-type-featured-products .ark-product-card__media img { aspect-ratio: 5 / 4; }

/* Horizontal slider becomes a dark showroom rail. */
.ark-module-type-product-slider {
	color: #fff;
	background:
		linear-gradient(120deg, rgba(255,255,255,.05), transparent 40%),
		#173f27;
}
.ark-module-type-product-slider :is(h2, .ark-eyebrow, .ark-rich-text, .ark-rich-text p) { color: #fff; }
.ark-module-type-product-slider .ark-product-card { border-color: rgba(255,255,255,.16); box-shadow: none; }
.ark-module-type-product-slider .ark-product-collection__items { padding-bottom: 24px; }

/* Product list and supply forms become horizontal procurement rows. */
:is(.ark-module-type-product-list, .ark-module-type-supply-forms) .ark-product-card {
	overflow: visible;
	border: 0;
	border-bottom: 1px solid var(--ark-border);
	border-radius: 0;
	box-shadow: none;
	background: transparent;
}
:is(.ark-module-type-product-list, .ark-module-type-supply-forms) .ark-product-card:nth-child(even) { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); }
:is(.ark-module-type-product-list, .ark-module-type-supply-forms) .ark-product-card:nth-child(even) .ark-product-card__media { order: 2; }
:is(.ark-module-type-product-list, .ark-module-type-supply-forms) .ark-product-card__media { border-radius: 24px; }
:is(.ark-module-type-product-list, .ark-module-type-supply-forms) .ark-product-card__body { padding: clamp(24px, 4vw, 52px); }

/* Factory is a bold capability scene. */
.ark-module-type-factory {
	color: #fff;
	background:
		linear-gradient(115deg, rgba(255,255,255,.055), transparent 38%),
		#1b4e2d;
}
.ark-module-type-factory :is(h2, h3, .ark-eyebrow, .ark-rich-text, .ark-rich-text p, blockquote) { color: #fff; }
.ark-module-type-factory .ark-content-block__shell { grid-template-columns: minmax(0, 1.16fr) minmax(330px, .84fr); }
.ark-module-type-factory .ark-content-block__media { order: 2; transform: rotate(1.2deg); }
.ark-module-type-factory .ark-content-block__media > img:first-child { max-height: 560px; border-color: rgba(255,255,255,.2); box-shadow: 0 34px 90px rgba(0,0,0,.24); }
.ark-module-type-factory .ark-button--secondary { color: #fff; border-color: rgba(255,255,255,.55); }

/* Founder feels editorial, not industrial. */
.ark-module-type-founder { background: #faf8f2; }
.ark-module-type-founder .ark-content-block__shell { grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); }
.ark-module-type-founder .ark-content-block__media > img:first-child { aspect-ratio: 4 / 5; max-height: 620px; border-radius: 160px 32px 32px 32px; }
.ark-module-type-founder blockquote { padding-left: 24px; border-left: 4px solid var(--ark-primary); font-size: clamp(1.25rem, 2vw, 1.8rem); }

/* Laboratory uses a technical blueprint atmosphere. */
.ark-module-type-laboratory {
	background-color: #f5faf7;
	background-image:
		linear-gradient(rgba(47,107,63,.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(47,107,63,.055) 1px, transparent 1px);
	background-size: 34px 34px;
}
.ark-module-type-laboratory .ark-content-block__content { padding: clamp(28px, 4vw, 56px); border: 1px solid rgba(47,107,63,.16); border-radius: 32px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); }
.ark-module-type-laboratory .ark-content-points { counter-reset: lab; grid-template-columns: repeat(3, 1fr); }
.ark-module-type-laboratory .ark-content-points li { min-height: 120px; padding: 22px; border-radius: 20px; background: #e8f3eb; }

/* Greenhouse is panoramic and airy. */
.ark-module-type-greenhouse .ark-content-block__shell { grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr); }
.ark-module-type-greenhouse .ark-content-block__media > img:first-child { aspect-ratio: 16 / 9; max-height: 520px; }
.ark-module-type-greenhouse .ark-content-block__content { padding: clamp(24px, 3vw, 44px); border-radius: 28px; background: #fff; box-shadow: 0 18px 54px rgba(31,79,45,.09); }

/* Stats become a strong data ribbon. */
.ark-module-type-stats {
	background: linear-gradient(110deg, #e8f4eb 0 58%, #1d542f 58% 100%);
}
.ark-module-type-stats .ark-stats__grid { gap: 0; overflow: hidden; border: 1px solid rgba(47,107,63,.16); border-radius: 30px; background: rgba(255,255,255,.94); box-shadow: 0 28px 72px rgba(24,70,39,.13); }
.ark-module-type-stats .ark-stats__grid article { min-height: 230px; border: 0; border-right: 1px solid var(--ark-border); border-radius: 0; box-shadow: none; }
.ark-module-type-stats .ark-stats__grid article:last-child { border-right: 0; }
.ark-module-type-stats .ark-stats__grid strong { font-size: clamp(2.4rem, 4.6vw, 5.4rem); }

/* Buyer and market cards use asymmetric bento footprints. */
:is(.ark-module-type-buyers, .ark-module-type-market-coverage) .ark-card-grid__items { grid-template-columns: repeat(12, minmax(0, 1fr)); }
:is(.ark-module-type-buyers, .ark-module-type-market-coverage) .ark-card-grid__items > article { grid-column: span 4; min-height: 210px; }
:is(.ark-module-type-buyers, .ark-module-type-market-coverage) .ark-card-grid__items > article:first-child { grid-column: span 7; }
:is(.ark-module-type-buyers, .ark-module-type-market-coverage) .ark-card-grid__items > article:nth-child(2) { grid-column: span 5; }
.ark-module-type-market-coverage .ark-card-grid__items > article { border-radius: 999px 34px 34px 34px; }

/* Advantages: numbered architecture; background advantages remain cinematic. */
.ark-module-type-advantages .ark-card-grid__items { grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--ark-border); }
.ark-module-type-advantages .ark-card-grid__items > article { border: 0; border-right: 1px solid var(--ark-border); border-radius: 0; box-shadow: none; background: transparent; }
.ark-module-type-advantages .ark-card-grid__items > article:last-child { border-right: 0; }
.ark-module-type-background-advantages { background: linear-gradient(125deg, #133d23, #276b3d); color: #fff; }
.ark-module-type-background-advantages :is(h2, h3, .ark-eyebrow, .ark-rich-text, .ark-rich-text p) { color: #fff; }
.ark-module-type-background-advantages .ark-card-grid__items > article { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }

/* Process modules are visibly different from card grids. */
.ark-module-type-export-process .ark-process__steps { position: relative; grid-template-columns: repeat(5, 1fr); }
.ark-module-type-export-process .ark-process__steps::before { position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; content: ""; background: linear-gradient(90deg, var(--ark-primary), #9ac4a4); }
.ark-module-type-export-process .ark-process__steps li { position: relative; z-index: 1; border: 0; box-shadow: none; background: transparent; text-align: center; }
.ark-module-type-export-process .ark-process__steps li > span { margin-inline: auto; box-shadow: 0 0 0 8px #f6faf7; }
.ark-module-type-quality-process .ark-process__steps { grid-template-columns: repeat(2, 1fr); }
.ark-module-type-quality-process .ark-process__steps li { display: grid; grid-template-columns: 70px 1fr; align-items: start; border-left: 5px solid var(--ark-primary); background: #fff; }

/* Packing / documents look like operational evidence, not another marketing block. */
.ark-module-type-packing-shipping { background: #edf5ef; }
.ark-module-type-packing-shipping .ark-content-block__media { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; }
.ark-module-type-packing-shipping .ark-content-block__media-secondary { position: static; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
:is(.ark-module-type-documents, .ark-module-type-certificates) .ark-resources__grid > article { position: relative; padding-top: 54px; border-radius: 8px 30px 8px 8px; background: linear-gradient(145deg, #fff, #f3f8f4); }
:is(.ark-module-type-documents, .ark-module-type-certificates) .ark-resources__grid > article::before { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; content: ""; border: 1px solid var(--ark-border); border-radius: 8px; background: linear-gradient(135deg, #dcece0 50%, transparent 51%); }

/* Resources are compact document cards, articles are a magazine strip. */
.ark-module-type-resources .ark-resources__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ark-module-type-resources .ark-resources__grid > article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 18px; min-height: 130px; }
.ark-module-type-resources .ark-resource-type { grid-row: span 2; display: grid; width: 58px; height: 58px; place-items: center; margin: 0 !important; border-radius: 18px; background: var(--ark-tag-bg); }
.ark-module-type-articles .ark-articles__grid { grid-template-columns: 1.35fr .825fr .825fr; }
.ark-module-type-articles .ark-articles__grid article:first-child { grid-row: span 2; }
.ark-module-type-articles .ark-articles__grid article:first-child .ark-articles__media img { aspect-ratio: 16 / 10; }

/* Gallery becomes a collage. */
.ark-module-type-gallery .ark-gallery__grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 140px; }
.ark-module-type-gallery .ark-gallery__grid > * { grid-column: span 4; grid-row: span 2; }
.ark-module-type-gallery .ark-gallery__grid > *:first-child { grid-column: span 7; grid-row: span 3; }
.ark-module-type-gallery .ark-gallery__grid > *:nth-child(2) { grid-column: span 5; }
.ark-module-type-gallery .ark-gallery__grid img { width: 100%; height: 100%; object-fit: cover; }

/* Testimonials and quote modules have distinct editorial identities. */
.ark-module-type-testimonials { background: #173f27; color: #fff; }
.ark-module-type-testimonials :is(h2, h3, .ark-eyebrow, blockquote, figcaption, figcaption span) { color: #fff; }
.ark-module-type-testimonials .ark-testimonials__grid { grid-template-columns: 1.4fr .8fr .8fr; align-items: center; }
.ark-module-type-testimonials figure:first-child { transform: scale(1.05); background: rgba(255,255,255,.12); }
.ark-module-type-quote { background: #fff; }
.ark-module-type-quote figure { border-radius: 32px 160px 32px 32px; }

/* FAQ, tabs and video are visually separated from card sections. */
.ark-module-type-faq .ark-faq__grid { grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr); }
.ark-module-type-faq .ark-faq__items { border-top: 2px solid var(--ark-primary); }
.ark-module-type-faq .ark-faq details { border: 0; border-bottom: 1px solid var(--ark-border); border-radius: 0; }
.ark-module-type-tabs { background: linear-gradient(180deg, #f1f8f3, #fff); }
.ark-module-type-tabs .ark-tabs__shell { box-shadow: 0 24px 70px rgba(24,70,39,.11); }
.ark-module-type-video-showcase .ark-video-showcase__grid { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); }
.ark-module-type-video-showcase .ark-video-showcase__poster { box-shadow: 0 30px 90px rgba(24,70,39,.18); }

/* Conversion family gets a stronger ending cadence. */
.ark-module-family-conversion { background: #fff; }
.ark-module-type-split-cta .ark-cta__shell { grid-template-columns: .8fr 1.2fr; background: linear-gradient(120deg, rgba(255,255,255,.04), rgba(120,190,138,.15)); }
.ark-module-type-catalog-cta .ark-catalog-cta__grid { background: linear-gradient(135deg, #fff 0 64%, #e5f2e8 64% 100%); }
.ark-module-type-contact-card .ark-card-grid__items,
.ark-module-type-contact-card .ark-contact-card__items { grid-template-columns: repeat(3, 1fr); }

/* Compact inquiry: no Country / Region; WhatsApp code sits beside the number. */
.ark-inquiry-shell__grid { grid-template-columns: minmax(260px, .58fr) minmax(0, 1.42fr); gap: clamp(28px, 4vw, 58px); }
.ark-inquiry-shell__intro { position: sticky; top: calc(var(--ark-header-height, 84px) + 28px); }
.ark-inquiry-shell__form--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: clamp(18px, 2.4vw, 28px); }
.ark-inquiry-shell__form--compact > div { gap: 5px; }
.ark-inquiry-shell__form--compact label { font-size: .72rem; letter-spacing: .035em; }
.ark-inquiry-shell__form--compact input,
.ark-inquiry-shell__form--compact textarea,
.ark-inquiry-shell__form--compact > div > button:not(.ark-button) { min-height: 42px; padding: 9px 11px; border-radius: 11px; }
.ark-inquiry-whatsapp { display: grid !important; grid-template-columns: 88px minmax(0, 1fr); gap: 8px !important; }
.ark-inquiry-shell__product { grid-column: span 2; }
.ark-inquiry-shell__message { grid-column: span 2; }
.ark-inquiry-shell__message textarea { min-height: 74px; }
.ark-inquiry-upload { align-content: start; }
.ark-inquiry-upload button { max-width: 150px; }
.ark-inquiry-upload small { margin: 0; font-size: .68rem; line-height: 1.35; }
.ark-inquiry-shell__footer { display: flex !important; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 18px; padding-top: 4px; }
.ark-inquiry-shell__footer > div { min-width: 0; }
.ark-inquiry-shell__footer .ark-button { flex: 0 0 auto; }
.ark-inquiry-shell__footer small { margin: 4px 0 0; }
.ark-inquiry-shell__form--faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1099px) {
	.ark-module-type-product-categories .ark-product-card,
	.ark-module-type-product-categories .ark-product-card:first-child,
	.ark-module-type-product-categories .ark-product-card:nth-child(2) { grid-column: span 6; }
	.ark-module-type-featured-products .ark-product-collection__items { grid-template-columns: repeat(2, 1fr); }
	.ark-module-type-featured-products .ark-product-card:nth-child(2) { margin-top: 0; }
	:is(.ark-module-type-buyers, .ark-module-type-market-coverage) .ark-card-grid__items > article,
	:is(.ark-module-type-buyers, .ark-module-type-market-coverage) .ark-card-grid__items > article:first-child,
	:is(.ark-module-type-buyers, .ark-module-type-market-coverage) .ark-card-grid__items > article:nth-child(2) { grid-column: span 6; }
	.ark-module-type-export-process .ark-process__steps { grid-template-columns: repeat(3, 1fr); }
	.ark-module-type-export-process .ark-process__steps::before { display: none; }
	.ark-module-type-articles .ark-articles__grid { grid-template-columns: repeat(2, 1fr); }
	.ark-module-type-articles .ark-articles__grid article:first-child { grid-row: auto; }
	.ark-inquiry-shell__grid { grid-template-columns: 1fr; }
	.ark-inquiry-shell__intro { position: static; max-width: 760px; }
}

@media (max-width: 782px) {
	.ark-module-scene-2,
	.ark-module-scene-4 { background: #f6faf7; }
	.ark-module-type-product-categories .ark-product-collection__items,
	.ark-module-type-featured-products .ark-product-collection__items,
	:is(.ark-module-type-buyers, .ark-module-type-market-coverage) .ark-card-grid__items,
	.ark-module-type-articles .ark-articles__grid { grid-template-columns: 1fr; }
	.ark-module-type-product-categories .ark-product-card,
	.ark-module-type-product-categories .ark-product-card:first-child,
	.ark-module-type-product-categories .ark-product-card:nth-child(2),
	:is(.ark-module-type-buyers, .ark-module-type-market-coverage) .ark-card-grid__items > article,
	:is(.ark-module-type-buyers, .ark-module-type-market-coverage) .ark-card-grid__items > article:first-child,
	:is(.ark-module-type-buyers, .ark-module-type-market-coverage) .ark-card-grid__items > article:nth-child(2) { grid-column: auto; }
	:is(.ark-module-type-product-list, .ark-module-type-supply-forms) .ark-product-card,
	:is(.ark-module-type-product-list, .ark-module-type-supply-forms) .ark-product-card:nth-child(even) { grid-template-columns: 1fr; }
	:is(.ark-module-type-product-list, .ark-module-type-supply-forms) .ark-product-card:nth-child(even) .ark-product-card__media { order: 0; }
	.ark-module-type-factory .ark-content-block__shell,
	.ark-module-type-founder .ark-content-block__shell,
	.ark-module-type-greenhouse .ark-content-block__shell,
	.ark-module-type-video-showcase .ark-video-showcase__grid { grid-template-columns: 1fr; }
	.ark-module-type-factory .ark-content-block__media { order: 0; transform: none; }
	.ark-module-type-laboratory .ark-content-points { grid-template-columns: 1fr; }
	.ark-module-type-stats { background: #edf6f0; }
	.ark-module-type-stats .ark-stats__grid { display: grid; grid-template-columns: 1fr 1fr; }
	.ark-module-type-stats .ark-stats__grid article { min-height: 170px; border-right: 0; border-bottom: 1px solid var(--ark-border); }
	.ark-module-type-advantages .ark-card-grid__items { grid-template-columns: 1fr; }
	.ark-module-type-advantages .ark-card-grid__items > article { border-right: 0; border-bottom: 1px solid var(--ark-border); }
	.ark-module-type-export-process .ark-process__steps,
	.ark-module-type-quality-process .ark-process__steps { grid-template-columns: 1fr; }
	.ark-module-type-quality-process .ark-process__steps li { grid-template-columns: 56px 1fr; }
	.ark-module-type-packing-shipping .ark-content-block__media { grid-template-columns: 1fr; }
	.ark-module-type-resources .ark-resources__grid { grid-template-columns: 1fr; }
	.ark-module-type-resources .ark-resources__grid > article { grid-template-columns: auto 1fr; }
	.ark-module-type-gallery .ark-gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
	.ark-module-type-gallery .ark-gallery__grid > *,
	.ark-module-type-gallery .ark-gallery__grid > *:first-child,
	.ark-module-type-gallery .ark-gallery__grid > *:nth-child(2) { grid-column: auto; grid-row: auto; }
	.ark-module-type-testimonials .ark-testimonials__grid { grid-template-columns: 1fr; }
	.ark-module-type-testimonials figure:first-child { transform: none; }
	.ark-module-type-faq .ark-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.ark-module-type-faq .ark-section-heading,
	.ark-module-type-faq .ark-faq__items,
	.ark-module-type-faq details { width: 100%; min-width: 0; max-width: 100%; }
	.ark-module-type-faq summary span { min-width: 0; overflow-wrap: anywhere; }
	.ark-inquiry-shell__form--compact { grid-template-columns: 1fr 1fr; }
	.ark-inquiry-shell__product,
	.ark-inquiry-shell__message,
	.ark-inquiry-upload { grid-column: 1 / -1; }
	.ark-inquiry-shell__footer { align-items: stretch; flex-direction: column; }
	.ark-inquiry-shell__footer .ark-button { width: 100%; }
}

@media (max-width: 520px) {
	.ark-module-type-stats .ark-stats__grid,
	.ark-inquiry-shell__form--compact,
	.ark-inquiry-shell__form--faq { grid-template-columns: 1fr; }
	.ark-inquiry-whatsapp { grid-template-columns: 82px minmax(0, 1fr); }
	.ark-inquiry-shell__product,
	.ark-inquiry-shell__message,
	.ark-inquiry-upload,
	.ark-inquiry-shell__wide { grid-column: auto; }
}

/* Product-page aliases reuse the same visual language without duplicating templates. */
:is(.ark-module-type-product-benefit-cards, .ark-module-type-product-company-advantages) .ark-card-grid__items {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
:is(.ark-module-type-product-benefit-cards, .ark-module-type-product-company-advantages) .ark-card-grid__items > article:nth-child(2) {
	transform: translateY(24px);
}
.ark-module-type-product-background-benefits {
	color: #fff;
	background: linear-gradient(125deg, #123b22, #286e3f);
}
.ark-module-type-product-background-benefits :is(h2, h3, .ark-eyebrow, .ark-rich-text, .ark-rich-text p) { color: #fff; }
.ark-module-type-product-background-benefits .ark-card-grid__items > article { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.075); }
:is(.ark-module-type-product-resources, .ark-module-type-product-article-recommendations) { background: linear-gradient(180deg, #fff, #f2f8f4); }
.ark-module-type-product-description .ark-product-description__inner { max-width: 880px; margin-inline: auto; padding: clamp(28px,4vw,52px); border-left: 5px solid var(--ark-primary); background: #fff; box-shadow: 0 20px 60px rgba(31,79,45,.08); }
.ark-module-type-product-top-content .ark-content-block__shell { grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); }
.ark-module-type-product-vertical-products .ark-product-card { border-radius: 0 32px 32px 0; border-left: 6px solid var(--ark-primary); }
.ark-module-type-product-contact-inquiry { background: linear-gradient(120deg, #eaf5ed, #fff); }

/* Same template, different saved module: scene classes create further visual separation. */
.ark-module-family-trust.ark-module-scene-2 .ark-card-grid__items > article:nth-child(odd) { border-radius: 38px 12px 38px 12px; }
.ark-module-family-trust.ark-module-scene-4 .ark-card-grid__items > article:nth-child(even) { background: #edf6ef; }
.ark-module-family-capabilities.ark-module-scene-3 .ark-section-heading { max-width: 920px; margin-left: auto; text-align: right; }
.ark-module-family-resources.ark-module-scene-2 .ark-section-heading { display: grid; grid-template-columns: .7fr 1.3fr; align-items: end; column-gap: 42px; max-width: none; }
.ark-module-family-resources.ark-module-scene-2 .ark-section-heading .ark-eyebrow { grid-column: 1; }
.ark-module-family-resources.ark-module-scene-2 .ark-section-heading h2 { grid-column: 1; }
.ark-module-family-resources.ark-module-scene-2 .ark-section-heading .ark-rich-text { grid-column: 2; grid-row: 1 / span 2; align-self: end; }

@media (max-width: 782px) {
	:is(.ark-module-type-product-benefit-cards, .ark-module-type-product-company-advantages) .ark-card-grid__items { grid-template-columns: 1fr; }
	:is(.ark-module-type-product-benefit-cards, .ark-module-type-product-company-advantages) .ark-card-grid__items > article:nth-child(2) { transform: none; }
	.ark-module-type-product-top-content .ark-content-block__shell { grid-template-columns: 1fr; }
	.ark-module-family-capabilities.ark-module-scene-3 .ark-section-heading { text-align: left; }
	.ark-module-family-resources.ark-module-scene-2 .ark-section-heading { display: block; }
}

/* ========================================================================
 * Stage 8.2 stability and layout refinements requested after visual testing.
 * ====================================================================== */

/* Large split content: keep supporting media restrained and the buyer copy
 * visible within the module until the module ends. */
.ark-content-block__media-secondary {
	position: absolute;
	right: -14px;
	bottom: 20px;
	z-index: 2;
	width: min(38%, 220px);
	max-height: 190px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 7px solid #fff;
	border-radius: 20px;
	box-shadow: 0 18px 42px rgba(24,70,39,.16);
}

.ark-module-type-product-top-content {
	overflow: visible !important;
}

@media (min-width: 1100px) {
	.ark-module-type-product-top-content .ark-content-block__shell {
		grid-template-columns: minmax(320px, .8fr) minmax(440px, 1.2fr);
		align-items: start;
	}
	.ark-module-type-product-top-content .ark-content-block__media > img:first-child,
	.ark-module-type-product-top-content .ark-content-block__video {
		max-height: 530px;
		aspect-ratio: 4 / 3;
	}
	.ark-module-type-product-top-content .ark-content-block__content {
		position: sticky;
		top: calc(var(--ark-header-height-desktop, 84px) + var(--ark-admin-bar-height, 0px) + 28px);
		align-self: start;
	}
}

/* The operational packing layout uses two compact evidence images, not two
 * full-height posters stacked beside an empty copy card. */
.ark-module-type-packing-shipping .ark-content-block__shell {
	grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
	align-items: center;
}
.ark-module-type-packing-shipping .ark-content-block__media {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	align-items: stretch;
}
.ark-module-type-packing-shipping .ark-content-block__media > img:first-child,
.ark-module-type-packing-shipping .ark-content-block__media-secondary {
	position: static;
	width: 100% !important;
	height: 100%;
	max-height: 330px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border: 0;
	border-radius: 24px;
	box-shadow: 0 18px 42px rgba(24,70,39,.1);
}
.ark-module-type-packing-shipping .ark-content-block__content {
	padding: clamp(24px, 3vw, 42px);
	border: 1px solid var(--ark-border);
	border-radius: 28px;
	background: rgba(255,255,255,.96);
	box-shadow: 0 18px 54px rgba(31,79,45,.08);
}

/* Product slider remains a true dark showroom even when scene classes rotate. */
.ark-module-type-product-slider {
	color: #fff !important;
	background: linear-gradient(120deg, rgba(255,255,255,.055), transparent 42%), #173f27 !important;
}
.ark-module-type-product-slider :is(h2, h3, .ark-eyebrow, .ark-rich-text, .ark-rich-text p) {
	color: #fff !important;
}

/* Data values keep numbers and suffixes together without overflowing cards. */
.ark-module-type-stats .ark-stats__grid {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.ark-module-type-stats .ark-stats__grid article {
	min-width: 0;
	min-height: 210px;
	padding: clamp(25px, 3vw, 40px);
}
.ark-module-type-stats .ark-stats__grid strong {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	gap: .06em;
	max-width: 100%;
	font-size: clamp(2.25rem, 4vw, 4.45rem);
	font-variant-numeric: tabular-nums;
	line-height: .98;
	white-space: nowrap;
}
.ark-module-type-stats .ark-counter-suffix {
	flex: 0 0 auto;
	font-size: .72em;
	line-height: 1;
}

/* Testimonials use the number of saved items instead of reserving an empty
 * third column. Text remains readable over the dark editorial background. */
.ark-module-type-testimonials {
	background: linear-gradient(125deg, #123a21, #1d5631) !important;
}
.ark-module-type-testimonials .ark-testimonials__grid {
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	align-items: stretch;
}
.ark-module-type-testimonials figure,
.ark-module-type-testimonials figure:first-child {
	transform: none;
	min-height: 220px;
	background: rgba(255,255,255,.09);
}
.ark-module-type-testimonials :is(h2, h3, .ark-eyebrow, blockquote, figcaption, figcaption span) {
	color: #fff !important;
}

/* Split CTA gets an actual supporting visual instead of a large empty panel. */
.ark-module-type-split-cta .ark-cta__shell,
.ark-cta--split .ark-cta__shell {
	grid-template-columns: minmax(0, 1.06fr) minmax(300px, .94fr);
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
}
.ark-cta__copy { min-width: 0; }
.ark-cta__action--inline { margin-top: 24px; }
.ark-cta__media {
	position: relative;
	overflow: hidden;
	min-height: 310px;
	border: 1px solid rgba(255,255,255,.17);
	border-radius: 28px;
	background: rgba(255,255,255,.07);
	box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.ark-cta__media img,
.ark-cta__media a {
	display: block;
	width: 100%;
	height: 100%;
}
.ark-cta__media img {
	min-height: 310px;
	object-fit: cover;
	filter: saturate(.88) contrast(1.02);
}

/* Legacy compact-form helper retained for compatibility with saved module markup. */
.ark-inquiry-whatsapp.is-code-required .ark-inquiry-whatsapp__code label::after {
	content: " *";
	color: #b42318;
}

/* FAQ + inquiry has its own dark procurement-card identity instead of copying
 * the main white form. */
.ark-faq-inquiry__grid {
	grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
	align-items: start;
}
.ark-faq-inquiry .ark-inquiry-shell__form--faq {
	position: relative;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
	padding: clamp(24px, 3vw, 36px);
	border: 0;
	border-radius: 30px;
	color: #fff;
	background:
		radial-gradient(circle at 90% 6%, rgba(155,217,169,.2), transparent 28%),
		linear-gradient(145deg, #123a21, #24643a);
	box-shadow: 0 28px 74px rgba(20,64,35,.22);
}
.ark-faq-inquiry__form-heading {
	position: relative;
	padding: 0 0 16px 54px;
	border-bottom: 1px solid rgba(255,255,255,.16);
}
.ark-faq-inquiry__form-heading::before {
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	content: "→";
	border-radius: 13px;
	color: #153d24;
	background: #dff1e3;
	font-weight: 900;
}
.ark-faq-inquiry__form-heading span {
	display: block;
	color: #bfe7c8;
	font-size: .72rem;
	font-weight: 850;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.ark-faq-inquiry__form-heading h3 {
	margin: 6px 0 0;
	color: #fff;
	font-size: clamp(1.45rem, 2vw, 2rem);
	line-height: 1.12;
}
.ark-faq-inquiry .ark-inquiry-shell__form--faq label {
	color: rgba(255,255,255,.86);
}
.ark-faq-inquiry .ark-inquiry-shell__form--faq input,
.ark-faq-inquiry .ark-inquiry-shell__form--faq textarea {
	min-width: 0;
	border-color: rgba(255,255,255,.16);
	color: var(--ark-text);
	background: rgba(255,255,255,.96);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}
.ark-faq-inquiry .ark-inquiry-whatsapp {
	grid-template-columns: minmax(92px, .38fr) minmax(0, 1.62fr) !important;
	gap: 10px !important;
}
.ark-faq-inquiry .ark-inquiry-whatsapp > div {
	min-width: 0;
}
.ark-faq-inquiry .ark-inquiry-shell__form--faq .ark-inquiry-privacy,
.ark-faq-inquiry .ark-inquiry-shell__form--faq small {
	color: rgba(255,255,255,.7);
}
.ark-faq-inquiry .ark-inquiry-shell__form--faq .ark-button {
	border-color: #fff;
	color: #153d24;
	background: #fff;
}
.ark-faq-inquiry .ark-inquiry-shell__form--faq .ark-button:hover,
.ark-faq-inquiry .ark-inquiry-shell__form--faq .ark-button:focus-visible {
	color: #fff;
	background: transparent;
}

@media (max-width: 1099px) {
	.ark-module-type-product-top-content .ark-content-block__content {
		position: static;
		max-height: none;
		overflow: visible;
	}
	.ark-module-type-packing-shipping .ark-content-block__shell,
	.ark-module-type-split-cta .ark-cta__shell,
	.ark-cta--split .ark-cta__shell,
	.ark-faq-inquiry__grid {
		grid-template-columns: 1fr;
	}
	.ark-cta__media { min-height: 260px; }
	.ark-cta__media img { min-height: 260px; }
}

@media (max-width: 782px) {
	.ark-content-block__media-secondary {
		right: 10px;
		bottom: 10px;
		width: min(35%, 150px);
		max-height: 125px;
		border-width: 5px;
	}
	.ark-module-type-packing-shipping .ark-content-block__media {
		grid-template-columns: 1fr 1fr;
	}
	.ark-module-type-packing-shipping .ark-content-block__media > img:first-child,
	.ark-module-type-packing-shipping .ark-content-block__media-secondary {
		max-height: 230px;
	}
	.ark-module-type-stats .ark-stats__grid {
		grid-template-columns: 1fr;
	}
	.ark-module-type-stats .ark-stats__grid article {
		min-height: 160px;
		border-right: 0;
	}
	.ark-module-type-stats .ark-stats__grid strong {
		font-size: clamp(2.15rem, 12vw, 3.5rem);
	}
	.ark-faq-inquiry .ark-inquiry-shell__form--faq {
		grid-template-columns: 1fr;
	}
	.ark-faq-inquiry .ark-inquiry-whatsapp {
		grid-template-columns: 88px minmax(0, 1fr) !important;
	}
	.ark-faq-inquiry__form-heading,
	.ark-faq-inquiry .ark-inquiry-shell__wide {
		grid-column: auto;
	}
}

.ark-module-type-stats .ark-counter-prefix:empty,
.ark-module-type-stats .ark-counter-suffix:empty {
	display: none;
}


/* ========================================================================
 * Stage 8.3 screenshot fixes: readable split blocks, stable cards, two truly
 * different CTA compositions and a collision-proof FAQ inquiry form.
 * ====================================================================== */

/* Light content blocks must never inherit white text from a rotating scene. */
.ark-content-block:not(.ark-content-block--dark):not(.ark-module-type-factory) .ark-content-block__content,
.ark-content-block:not(.ark-content-block--dark):not(.ark-module-type-factory) .ark-content-block__content :is(h2,h3,p,li,blockquote,strong) {
	color: var(--ark-text) !important;
}
.ark-content-block:not(.ark-content-block--dark):not(.ark-module-type-factory) .ark-content-block__content .ark-eyebrow {
	color: var(--ark-primary) !important;
}

/* Standard split blocks use a calm inset image instead of the oversized white
 * framed overlap seen in the screenshot. Purpose-built dual/packing layouts
 * retain their own grid rules. */
.ark-content-block:not(.ark-content-block--dual-image):not(.ark-module-type-packing-shipping) .ark-content-block__media-secondary {
	position: absolute !important;
	right: 14px !important;
	bottom: 14px !important;
	z-index: 3 !important;
	width: min(30%, 168px) !important;
	height: auto !important;
	max-height: 132px !important;
	aspect-ratio: 4 / 3 !important;
	object-fit: cover !important;
	border: 4px solid rgba(255,255,255,.92) !important;
	border-radius: 17px !important;
	box-shadow: 0 14px 34px rgba(24,70,39,.17) !important;
}
.ark-content-block:not(.ark-content-block--dual-image):not(.ark-module-type-packing-shipping) .ark-content-block__media {
	overflow: visible;
}
.ark-content-block:not(.ark-content-block--dual-image):not(.ark-module-type-packing-shipping) .ark-content-block__media > img:first-child {
	display: block;
}
.ark-content-block__caption:empty { display: none; }

/* A dark background card must remain dark. Scene alternation may not turn an
 * even card pale while its typography stays white. */
:is(.ark-module-type-background-advantages,.ark-module-type-product-background-benefits) .ark-card-grid__items > article,
:is(.ark-module-type-background-advantages,.ark-module-type-product-background-benefits).ark-module-family-trust.ark-module-scene-4 .ark-card-grid__items > article:nth-child(even) {
	color: #fff !important;
	background: rgba(255,255,255,.075) !important;
}
:is(.ark-module-type-background-advantages,.ark-module-type-product-background-benefits) .ark-card-grid__items > article :is(h3,p,a,.ark-card-grid__number) {
	color: #fff !important;
}

/* CTA banner: editorial two-column composition with an actual visual. */
.ark-cta--banner {
	padding-block: clamp(66px, 7vw, 94px);
	background:
		radial-gradient(circle at 82% 18%, rgba(139,205,154,.17), transparent 28%),
		linear-gradient(135deg, #154326, #205b34);
}
.ark-cta--banner .ark-cta__shell {
	grid-template-columns: minmax(0, 1fr) minmax(320px, .76fr);
	align-items: center;
	gap: clamp(34px, 6vw, 82px);
	padding: clamp(34px, 5vw, 66px);
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 36px;
	background: linear-gradient(115deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
	box-shadow: 0 30px 90px rgba(4,28,14,.2);
}
.ark-cta--banner .ark-cta__copy { max-width: 680px; }
.ark-cta--banner .ark-cta__media {
	min-height: 360px;
	border-radius: 28px 80px 28px 28px;
}
.ark-cta--banner .ark-cta__media::after {
	position: absolute;
	inset: 18px;
	content: "";
	border: 1px solid rgba(255,255,255,.4);
	border-radius: 20px 62px 20px 20px;
	pointer-events: none;
}
.ark-cta--banner .ark-cta__media img { min-height: 360px; }

/* Split CTA: a compact buyer-support ribbon, deliberately unlike the banner. */
.ark-cta--split {
	padding-block: clamp(54px, 6vw, 78px);
	background: #edf6f0;
}
.ark-cta--split .ark-cta__shell {
	grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
	gap: clamp(26px, 4vw, 54px);
	padding: clamp(30px, 4vw, 48px);
	border: 1px solid #cfe2d4;
	border-radius: 30px;
	color: var(--ark-text);
	background: #fff;
	box-shadow: 0 22px 64px rgba(31,79,45,.1);
}
.ark-cta--split .ark-cta__copy :is(h2,.ark-eyebrow,.ark-rich-text,.ark-rich-text p) { color: var(--ark-text) !important; }
.ark-cta--split .ark-cta__copy .ark-eyebrow { color: var(--ark-primary) !important; }
.ark-cta--split .ark-cta__copy h2 { max-width: 620px; }
.ark-cta--split .ark-cta__action .ark-button {
	color: #fff;
	border-color: var(--ark-primary);
	background: var(--ark-primary);
}
.ark-cta__trust-panel {
	display: grid;
	grid-template-columns: minmax(0,1fr) minmax(150px,.62fr);
	align-items: stretch;
	gap: 18px;
}
.ark-cta__trust-panel ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ark-cta__trust-panel li {
	display: grid;
	grid-template-columns: 32px 1fr;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 12px 15px;
	border: 1px solid var(--ark-border);
	border-radius: 16px;
	background: #f7fbf8;
}
.ark-cta__trust-panel li span {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: var(--ark-primary);
}
.ark-cta__mini-media {
	overflow: hidden;
	min-height: 100%;
	border-radius: 20px;
	background: var(--ark-bg-soft);
}
.ark-cta__mini-media img {
	width: 100%;
	height: 100%;
	min-height: 210px;
	object-fit: cover;
}

/* FAQ direct form: explicit code/number columns and no decorative arrow that
 * can be mistaken for a broken control. */
.ark-faq-inquiry { scroll-margin-top: calc(var(--ark-header-height-desktop, 84px) + var(--ark-admin-bar-height, 0px) + 20px); }
.ark-faq-inquiry__form-heading {
	padding: 0 0 15px !important;
}
.ark-faq-inquiry__form-heading::before { display: none !important; }
.ark-faq-inquiry .ark-inquiry-whatsapp {
	display: grid !important;
	grid-template-columns: 116px minmax(0,1fr) !important;
	align-items: end !important;
	gap: 12px !important;
}
.ark-faq-inquiry .ark-inquiry-whatsapp__code,
.ark-faq-inquiry .ark-inquiry-whatsapp__number {
	display: grid !important;
	grid-template-columns: minmax(0,1fr) !important;
	gap: 7px !important;
	min-width: 0 !important;
}
.ark-faq-inquiry .ark-inquiry-whatsapp :is(label,input) {
	position: static !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}
.ark-faq-inquiry .ark-inquiry-shell__form--faq > div { min-width: 0; }
.ark-faq-inquiry .ark-inquiry-shell__form--faq input,
.ark-faq-inquiry .ark-inquiry-shell__form--faq textarea { box-sizing: border-box; }

@media (max-width: 1099px) {
	.ark-cta--banner .ark-cta__shell,
	.ark-cta--split .ark-cta__shell { grid-template-columns: 1fr; }
	.ark-cta--banner .ark-cta__media { min-height: 280px; }
	.ark-cta--banner .ark-cta__media img { min-height: 280px; }
}
@media (max-width: 640px) {
	.ark-cta__trust-panel { grid-template-columns: 1fr; }
	.ark-cta__mini-media { display: none; }
	.ark-faq-inquiry .ark-inquiry-whatsapp { grid-template-columns: 92px minmax(0,1fr) !important; }
}
