/* ==========================================================================
   Helix Peptide — base, layout, header, footer, homepage, pages
   Tokens mirror theme.json; WooCommerce styles live in shop.css.
   ========================================================================== */

:root {
	--forest: #06140d;
	--forest-2: #0c2218;
	--forest-3: #12301f;
	--emerald: #059669;
	--emerald-d: #047857;
	--mint: #34d399;
	--mint-soft: #ecfdf5;
	--slate: #111827;
	--text: #374151;
	--muted: #6b7280;
	--line: #e3eae6;
	--tint: #f4f7f5;
	--white: #fff;
	--wa: #25d366;
	--danger: #b42318;

	--f-head: Montserrat, ui-sans-serif, system-ui, sans-serif;
	--f-body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
	--f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 24px;
	--shadow: 0 1px 2px rgba(6, 20, 13, .05), 0 8px 24px -12px rgba(6, 20, 13, .18);
	--container: 1200px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--header-h: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--emerald-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--emerald); }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); color: var(--slate); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-weight: 900; }
h2, h3 { font-weight: 800; }
h4, h5, h6 { font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
button, input, select, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--f-mono); font-size: .92em; letter-spacing: 0; }
.icon { flex: none; }

:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }
.band-dark :focus-visible { outline-color: var(--mint); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000; top: 8px; left: 8px;
	padding: .75rem 1rem; background: var(--white); color: var(--slate); border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--text { max-width: calc(760px + var(--gutter) * 2); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tint { background: var(--tint); }
.section--flush-top { padding-top: 0; }
.section + .section--tint, .section--tint + .section:not(.section--tint) { border-top: 0; }

.band-dark {
	position: relative;
	color: rgba(255, 255, 255, .78);
	background:
		radial-gradient(60rem 30rem at 85% 10%, rgba(5, 150, 105, .22), transparent 60%),
		radial-gradient(40rem 26rem at 0% 100%, rgba(52, 211, 153, .10), transparent 60%),
		var(--forest);
	isolation: isolate;
}
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark a:not(.btn) { color: var(--mint); }

/* ---------- Section heads ---------- */
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin-bottom: .45em; }
.section-lead { font-size: 1.0625rem; color: var(--muted); margin: 0; }
.band-dark .section-lead { color: rgba(255, 255, 255, .7); }
.kicker { font-family: var(--f-head); font-weight: 700; font-size: .875rem; color: var(--emerald-d); margin-bottom: .75rem; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-row .section-head { margin-bottom: 0; }

.text-link {
	display: inline-flex; align-items: center; gap: .4rem;
	font-family: var(--f-head); font-weight: 700; font-size: .9375rem;
	color: var(--emerald-d); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { color: var(--emerald); }

/* ---------- Buttons ---------- */
.btn,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 44px; padding: .7rem 1.4rem;
	font-family: var(--f-head); font-weight: 700; font-size: .9375rem; line-height: 1.2;
	border-radius: 999px; border: 1.5px solid transparent;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { min-height: 38px; padding: .5rem 1.05rem; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: .9rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--emerald); color: var(--white); }
.btn--primary:hover { background: var(--emerald-d); color: var(--white); }
.btn--dark { background: var(--slate); color: var(--white); }
.btn--dark:hover { background: var(--emerald-d); color: var(--white); }
.btn--outline { border-color: var(--emerald); color: var(--emerald-d); background: transparent; }
.btn--outline:hover { background: var(--mint-soft); color: var(--emerald-d); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn--whatsapp { background: var(--wa); color: #05301a; }
.btn--whatsapp:hover { background: #1fb457; color: #05301a; }

.icon-btn {
	position: relative; display: inline-grid; place-items: center;
	width: 42px; height: 42px; border-radius: 999px; border: 0; background: transparent;
	color: inherit; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: rgba(5, 150, 105, .1); color: var(--emerald-d); }

.pill {
	display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .6rem;
	font-size: .8125rem; font-weight: 600; border-radius: 999px;
	background: var(--mint-soft); color: var(--emerald-d);
}

/* ---------- Top bar & header ---------- */
.topbar { background: var(--forest-2); color: rgba(255, 255, 255, .72); font-size: .8125rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 36px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .45rem; }
.topbar .icon { color: var(--mint); }
.topbar__right { gap: 1.25rem !important; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--mint); }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
	color: var(--slate);
	transition: background-color .2s, border-color .2s, color .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.has-dark-header .site-header:not(.is-stuck) {
	background: var(--forest);
	border-color: rgba(255, 255, 255, .08);
	color: var(--white);
}
.has-dark-header .site-header:not(.is-stuck) .icon-btn:hover { background: rgba(255, 255, 255, .08); color: var(--mint); }

.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; flex: none; }
.brand__logo { max-height: 44px; width: auto; }
.brand__mark { width: 34px; height: 34px; flex: none; color: var(--emerald); fill: currentColor; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; letter-spacing: .14em; }
.brand__sub { margin-top: .3rem; font-size: .62rem; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; opacity: .75; }
.brand:hover { color: inherit; }

.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; }
.primary-nav a {
	display: block; padding: .55rem .7rem; border-radius: 999px; white-space: nowrap;
	font-family: var(--f-head); font-weight: 600; font-size: .875rem;
	color: inherit; text-decoration: none; opacity: .86;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { opacity: 1; color: var(--emerald); }
.has-dark-header .site-header:not(.is-stuck) .primary-nav a:hover,
.has-dark-header .site-header:not(.is-stuck) .primary-nav .current-menu-item > a { color: var(--mint); }

.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px; padding: .5rem;
	list-style: none; margin: 0; background: var(--white); color: var(--slate);
	border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { border-radius: var(--r-sm); color: var(--slate) !important; }
.primary-nav .sub-menu a:hover { background: var(--tint); }

.header-actions { display: flex; align-items: center; gap: .25rem; }
.header-quote { margin-left: .5rem; }
.header-cart__count {
	position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
	display: grid; place-items: center; border-radius: 999px;
	background: var(--emerald); color: var(--white); font-size: .6875rem; font-weight: 700; line-height: 1;
}
.header-cart__count[data-count="0"] { display: none; }
.nav-toggle { display: none; }
.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: contents; }

.header-search { border-top: 1px solid var(--line); background: var(--white); color: var(--slate); padding-block: 1rem; }

/* ---------- Search form ---------- */
.search-form {
	display: flex; align-items: center; gap: .5rem;
	padding: .35rem .35rem .35rem 1rem;
	background: var(--white); border: 1px solid var(--line); border-radius: 999px;
}
.search-form:focus-within { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(5, 150, 105, .15); }
.search-form .icon { color: var(--muted); }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: .5rem 0; }
.search-form--inline { padding-right: 1rem; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; padding-top: clamp(3rem, 8vw, 6.5rem); }
.hero__chain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__inner {
	display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 3rem; align-items: end;
}
.hero__copy { max-width: 720px; }
.hero__kicker { font-family: var(--f-head); font-weight: 700; color: var(--mint); margin-bottom: 1.25rem; }
.hero__title {
	font-size: clamp(2.5rem, 6.2vw, 4.75rem);
	line-height: 1.02; letter-spacing: -.025em; margin-bottom: 1.5rem;
	text-wrap: balance;
}
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 600px; color: rgba(255, 255, 255, .76); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero__card {
	padding: 1.5rem 1.6rem 1.25rem;
	border: 1px solid rgba(52, 211, 153, .18); border-radius: 18px;
	background: #081e18;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.hero__card-kicker { color: var(--mint); font-size: .8125rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .6rem; }
.hero__card-title { color: var(--white); font-family: var(--f-body); font-weight: 700; font-size: 1.5rem; line-height: 1.2; margin: 0 0 .65rem; letter-spacing: -.01em; }
.hero__card-sub { color: rgba(255, 255, 255, .72); font-size: .9375rem; margin: 0 0 1.1rem; }
.hero__card-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(52, 211, 153, .22); }
.hero__card-rows li {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: 1rem 0; border-bottom: 1px solid rgba(52, 211, 153, .14);
}
.hero__card-rows span { color: rgba(255, 255, 255, .6); }
.band-dark .hero__card-rows a { color: var(--white); font-weight: 500; text-align: right; text-decoration: none; transition: color .2s; }
.band-dark .hero__card-rows a:hover, .band-dark .hero__card-rows a:focus-visible { color: var(--mint); }
.hero__card-rows li:last-child { border-bottom: 0; padding-bottom: .25rem; }

.hero__stats {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
	margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding-block: 1.75rem 2.25rem;
	border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero__stats > div { display: flex; flex-direction: column-reverse; }
.hero__stats dt { font-size: .875rem; color: rgba(255, 255, 255, .6); }
.hero__stats dd { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: clamp(1.75rem, 3vw, 2.4rem); color: var(--mint); line-height: 1.1; }

/* ---------- Research areas (text cards, no images) ---------- */
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .875rem; }
.area-card { min-width: 0; }
.area-card a {
	display: flex; flex-direction: column; gap: .5rem; height: 100%;
	padding: 1.15rem 1.15rem 1rem; border-radius: var(--r-lg); background: var(--white);
	border: 1px solid var(--line); text-decoration: none; color: var(--text);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.area-card a:hover { color: var(--text); border-color: var(--emerald); box-shadow: var(--shadow); transform: translateY(-2px); }
.area-card__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.area-card__num { font-size: .8rem; font-weight: 700; color: var(--emerald); letter-spacing: .08em; }
.area-card__count { font-size: .75rem; font-weight: 600; color: var(--emerald-d); background: var(--mint-soft); padding: .2rem .6rem; border-radius: 99px; }
.area-card__name { font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.area-card__desc { font-size: .8125rem; color: var(--muted); line-height: 1.45; }
.area-card__items { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.area-card__chip { font-size: .7rem; color: var(--slate); background: var(--tint); border: 1px solid var(--line); padding: .2rem .55rem; border-radius: 6px; }
.area-card__chip--more { color: var(--emerald-d); }
.area-card__go { margin-top: auto; padding-top: .4rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .875rem; color: var(--emerald-d); }
.area-card a:hover .area-card__go .icon { transform: translateX(3px); }
.area-card__go .icon { transition: transform .2s; }
@media (max-width: 1240px) and (min-width: 1025px) {
	.area-card__desc { display: none; }
}

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service-card {
	display: flex; flex-direction: column; padding: 1.75rem;
	border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
}
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: var(--muted); }
.service-card__icon {
	display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.25rem;
	border-radius: 14px; background: var(--mint-soft); color: var(--emerald-d);
}
.service-card__facts { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .4rem; font-size: .9375rem; color: var(--slate); }
.service-card__facts li { display: flex; gap: .5rem; align-items: center; }
.service-card__facts .icon { color: var(--emerald); }
.service-card .text-link { margin-top: auto; align-self: flex-start; }
.service-card--dark { background: var(--forest-2); border-color: var(--forest-2); color: rgba(255, 255, 255, .75); }
.service-card--dark h3 { color: var(--white); }
.service-card--dark p { color: rgba(255, 255, 255, .7); }
.service-card--dark .service-card__icon { background: rgba(52, 211, 153, .14); color: var(--mint); }
.service-card--dark .service-card__facts { color: var(--white); }
.service-card--dark .service-card__facts .icon, .service-card--dark .text-link { color: var(--mint); }

/* ---------- Ordering steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding-top: 3.25rem; counter-increment: step; }
.step::before {
	content: counter(step);
	position: absolute; top: 0; left: 0; width: 36px; height: 36px; display: grid; place-items: center;
	border-radius: 50%; background: var(--emerald); color: var(--white);
	font-family: var(--f-head); font-weight: 800; font-size: .95rem;
}
.step:not(:last-child)::after {
	content: ""; position: absolute; top: 18px; left: 48px; right: -.5rem; height: 2px;
	background: repeating-linear-gradient(90deg, var(--mint) 0 6px, transparent 6px 12px);
}
.step h3 { font-size: 1.0625rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* ---------- COA band ---------- */
.coa-band__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; align-items: center; }
.coa-band .section-head { margin-bottom: 0; }
.coa-search {
	padding: 1.75rem; border-radius: var(--r-lg);
	background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
}
.coa-search label { display: block; color: var(--white); font-weight: 600; margin-bottom: .6rem; }
.coa-search__row { display: flex; gap: .5rem; }
.coa-search input {
	flex: 1; min-width: 0; padding: .8rem 1.1rem; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .2); background: rgba(6, 20, 13, .6); color: var(--white);
}
.coa-search input::placeholder { color: rgba(255, 255, 255, .4); }
.coa-search input:focus { outline: 0; border-color: var(--mint); }
.coa-search__hint { margin: 1rem 0 0; font-size: .875rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about__copy .section-head { margin-bottom: 1.75rem; }
.about__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.about__facts li { padding: 1.5rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.about__facts h3 { font-size: 1.0625rem; margin: 1rem 0 .35rem; }
.about__facts p { margin: 0; color: var(--muted); font-size: .9375rem; }
.about__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mint-soft); color: var(--emerald-d); }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.post-card__img { display: block; aspect-ratio: 16 / 9; background: var(--tint); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { display: grid; place-items: center; height: 100%; color: var(--emerald); }
.post-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.post-card__meta { font-size: .8125rem; color: var(--muted); margin-bottom: .5rem; }
.post-card__title { font-size: 1.125rem; line-height: 1.3; }
.post-card__title a { color: var(--slate); text-decoration: none; }
.post-card__title a:hover { color: var(--emerald-d); }
.post-card p:last-child { margin: 0; color: var(--muted); font-size: .9375rem; }

/* ---------- Contact band & forms ---------- */
.contact-band { background: var(--tint); }
.contact-band__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--emerald-d); }
.contact-list strong { display: block; color: var(--slate); font-size: .875rem; }
.contact-list a, .contact-list span { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--emerald-d); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.contact-band__form, .contact-band__direct { padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.contact-direct__title { font-size: 1.25rem; margin: 0 0 1.25rem; }
.contact-direct { display: grid; gap: .9rem; }
.contact-tile {
	display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem;
	border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--text);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.contact-tile:hover { color: var(--text); border-color: var(--emerald); box-shadow: var(--shadow); transform: translateY(-1px); }
.contact-tile__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; }
.contact-tile--wa .contact-tile__icon { background: var(--wa); color: #05301a; }
.contact-tile--mail .contact-tile__icon { background: var(--mint-soft); color: var(--emerald-d); }
.contact-tile__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.contact-tile__body strong { font-size: 1.05rem; }
.contact-tile__body span { color: var(--slate); overflow-wrap: anywhere; }
.contact-tile__hint { flex: none; font-size: .75rem; font-weight: 600; color: var(--emerald-d); background: var(--mint-soft); padding: .3rem .6rem; border-radius: 99px; }
.contact-direct__tips-title { margin: 1.5rem 0 .5rem; font-weight: 600; font-size: .9rem; color: var(--slate); }
.contact-direct__tips { margin: 0; padding-left: 1.1rem; color: var(--slate); font-size: .9rem; display: grid; gap: .25rem; }
.inquiry-form__title { font-size: 1.25rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.field { margin: 0 0 1rem; }
.field--full { grid-column: 1 / -1; }
.field label, .woocommerce form .form-row label { display: block; font-size: .875rem; font-weight: 600; color: var(--slate); margin-bottom: .35rem; }
.field input, .field select, .field textarea,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	width: 100%; padding: .75rem .9rem; border-radius: var(--r-sm);
	border: 1px solid #cfd8d3; background: var(--white); color: var(--slate);
}
.field input:focus, .field select:focus, .field textarea:focus,
.woocommerce form .form-row .input-text:focus { outline: 0; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(5, 150, 105, .15); }
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: .85rem 1rem; border-radius: var(--r-sm); font-size: .9375rem; }
.notice--success { background: var(--mint-soft); color: var(--emerald-d); border: 1px solid #a7f3d0; }
.notice--error { background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }

/* ---------- Page headers ---------- */
.page-header { padding-block: clamp(2.25rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3rem); }
.page-title { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }
.page-subtitle { margin: .75rem 0 0; color: var(--muted); font-size: 1.0625rem; max-width: 680px; }
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; margin-bottom: 1rem; max-width: 900px; }
.page-hero__text { font-size: 1.125rem; max-width: 680px; margin: 0; color: rgba(255, 255, 255, .74); }

.breadcrumbs, .woocommerce-breadcrumb { font-size: .8125rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a, .woocommerce-breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover, .woocommerce-breadcrumb a:hover { color: var(--emerald-d); }
.breadcrumbs .sep { margin-inline: .45rem; opacity: .5; }
.band-dark .breadcrumbs, .band-dark .woocommerce-breadcrumb { color: rgba(255, 255, 255, .55); }
.band-dark .breadcrumbs a { color: inherit !important; }
.band-dark .breadcrumbs a:hover { color: var(--mint) !important; }

/* ---------- Entry content (block editor output) ---------- */
.entry-content > * { margin-block: 0 1.25rem; }
.entry-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.5rem; }
.entry-content h3 { font-size: 1.25rem; margin-top: 2rem; }
.entry-content img { border-radius: var(--r-md); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content blockquote { margin-inline: 0; padding: 1rem 1.25rem; border-left: 3px solid var(--emerald); background: var(--tint); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.entry-content .alignwide { max-width: var(--container); }
.entry-content--wide { max-width: var(--container); margin-inline: auto; }
.single-post__img { margin: 0 0 2rem; }
.single-post__img img { border-radius: var(--r-lg); width: 100%; }

.post-navigation { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 1rem; }
.post-navigation span { display: block; font-size: .8125rem; color: var(--muted); }
.post-navigation a { text-decoration: none; font-family: var(--f-head); font-weight: 700; color: var(--slate); }

.pagination, .woocommerce-pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; gap: .35rem; flex-wrap: wrap; }
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .75rem;
	border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--slate);
}
.pagination .page-numbers.current { background: var(--emerald); border-color: var(--emerald); color: var(--white); }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state .search-form { max-width: 520px; margin: 1.5rem auto; }

/* ---------- Block patterns ---------- */
.helix-feature-grid { gap: 1.25rem !important; }
.helix-feature-grid > .wp-block-column {
	padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white);
}
.helix-feature-grid h3 { font-size: 1.0625rem; }
.helix-feature-grid p { color: var(--muted); font-size: .9375rem; margin-bottom: 0; }

.helix-steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.helix-steps li {
	counter-increment: step; position: relative; padding: 1.1rem 1.25rem 1.1rem 4rem;
	border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white);
}
.helix-steps li::before {
	content: counter(step); position: absolute; left: 1.1rem; top: 1rem; width: 32px; height: 32px;
	display: grid; place-items: center; border-radius: 50%; background: var(--emerald); color: var(--white);
	font-family: var(--f-head); font-weight: 800; font-size: .875rem;
}
.helix-steps strong { display: block; color: var(--slate); font-family: var(--f-head); }

.helix-spec-table table { font-size: .9375rem; }
.helix-spec-table th { background: var(--tint); font-family: var(--f-head); font-weight: 700; color: var(--slate); }

.landing-content .entry-content > .wp-block-group { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: rgba(255, 255, 255, .65); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { margin: 1rem 0 1.25rem; max-width: 340px; }
.brand--light { color: var(--white); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-contact li { display: flex; gap: .55rem; align-items: flex-start; }
.footer-contact .icon { color: var(--mint); margin-top: .2rem; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.footer-col__title { font-size: .9375rem; color: var(--white); margin-bottom: 1rem; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-menu .children { display: none; }
.footer-ruo {
	display: flex; gap: .65rem; align-items: flex-start; margin: 2.5rem 0 0; padding: 1rem 1.25rem;
	border: 1px solid rgba(52, 211, 153, .2); border-radius: var(--r-md); background: rgba(52, 211, 153, .05);
	font-size: .875rem; color: rgba(255, 255, 255, .72);
}
.footer-ruo .icon { color: var(--mint); margin-top: .15rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8125rem; }
.footer-bottom p { margin: 0; }

.wa-float {
	position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: var(--wa); color: #05301a; box-shadow: 0 10px 24px -8px rgba(5, 48, 26, .5);
}
.wa-float:hover { color: #05301a; background: #1fb457; }

/* ---------- RUO gate ---------- */
.ruo-gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; overflow-y: auto; overscroll-behavior: contain; background: rgba(6, 20, 13, .82); backdrop-filter: blur(4px); }
.ruo-gate[hidden] { display: none; }
.ruo-gate__panel { width: min(520px, 100%); max-width: 100%; box-sizing: border-box; padding: clamp(1.25rem, 5vw, 2rem); border-radius: var(--r-lg); background: var(--white); text-align: center; }
.ruo-gate__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--mint-soft); color: var(--emerald-d); margin-bottom: 1rem; }
.ruo-gate h2 { font-size: clamp(1.15rem, 4.5vw, 1.4rem); }
@media (max-width: 480px) {
	.contact-tile { flex-wrap: wrap; }
	.contact-tile__hint { margin-left: calc(52px + 1rem); }
	.ruo-gate__actions .btn { flex: 1 1 100%; }
	.ruo-gate p { font-size: .9375rem; }
	.ruo-gate .ruo-gate__small { font-size: .8125rem; }
}
.ruo-gate__small { font-size: .875rem; color: var(--muted); }
.ruo-gate__actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.ruo-gate .btn--ghost { color: var(--slate); border-color: var(--line); }
.ruo-gate .btn--ghost:hover { color: var(--emerald-d); border-color: var(--emerald); }

/* ---------- Responsive ---------- */
/* Drawer nav below desktop width: seven top-level items need ~1240px in one row. */
@media (max-width: 1280px) {
	/* backdrop-filter would make the header the containing block of the fixed drawer,
	   leaving the closed drawer inside the page width and causing sideways scroll. */
	.site-header { backdrop-filter: none; background: var(--white); }
	.nav-toggle { display: inline-grid; }
	.primary-nav {
		position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 70;
		padding: 5rem 1.25rem 2rem; background: var(--white); color: var(--slate);
		box-shadow: -20px 0 40px -20px rgba(6, 20, 13, .4);
		transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; visibility: hidden;
	}
	.nav-open .primary-nav { transform: none; visibility: visible; }
	.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 65; background: rgba(6, 20, 13, .5); }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav a { padding: .9rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; color: var(--slate) !important; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; }
	/* The drawer lives inside the sticky header, so lift the whole header above the backdrop. */
	.nav-open .site-header { z-index: 90; }
	.nav-open .nav-toggle { position: fixed; top: 1rem; right: 1rem; z-index: 80; color: var(--slate); }
	.header-actions { margin-left: auto; }
}

@media (max-width: 1440px) {
	.header-quote { display: none; }
}

@media (max-width: 1024px) {

	.hero__inner { grid-template-columns: minmax(0, 1fr); }
	.hero__card { max-width: 520px; }
	.area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.area-card__go { display: none; }
	.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
	.step:nth-child(2)::after { display: none; }
	.coa-band__inner, .about, .contact-band__inner { grid-template-columns: minmax(0, 1fr); }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
	:root { --header-h: 64px; }
	.topbar__inner > p:first-child { display: none; }
	.topbar__inner { justify-content: center; }
	.hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero__actions .btn { flex: 1 1 100%; }
	.area-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
	.area-card a { padding: 1.1rem 1.2rem; gap: .45rem; }
	.area-card__desc { display: none; }
	.service-grid, .post-grid, .about__facts, .form-grid { grid-template-columns: minmax(0, 1fr); }
	.steps { grid-template-columns: minmax(0, 1fr); }
	.step::after { display: none; }
	.coa-search__row { flex-direction: column; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.header-actions .icon-btn[href*="account"], .header-actions a.icon-btn:not(.header-cart) { display: none; }
}
