/*
 * Gym-18 theme styles. Layout follows the approved homepage mockup; colours, type and
 * spacing come from the Gym-18 design system (Summit Lime on Night, Saira).
 */

:root {
	--g18-night: #0e1012;
	--g18-charcoal: #1b1e22;
	--g18-surface: #15181b;
	--g18-strong: #262b31;
	--g18-line: #343a41;
	--g18-lime: #a6e22e;
	--g18-lime-hover: #bdf05a;
	--g18-forest: #4a730d;
	--g18-chalk: #f4f6f1;
	--g18-text: #c9ced4;
	--g18-mist: #b3bac2;
	--g18-font: "Saira", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--g18-gutter: clamp(20px, 5.5vw, 80px);
	--g18-max: 1280px;
	--g18-section: clamp(56px, 6.2vw, 92px);
	--g18-radius: 14px;
	--g18-radius-sm: 8px;
	--g18-header: 72px;
	--g18-ease: cubic-bezier(.2, .7, .2, 1);
	--g18-focus: 0 0 0 2px var(--g18-night), 0 0 0 4px var(--g18-lime);

	--g18-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--g18-i-diag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
	--g18-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--g18-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.9.6 2.8.7a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E");
	--g18-i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3Cpath d='M9.2 8.6c.3-.6.7-.7 1-.6l.6 1.3c.1.3 0 .6-.2.8l-.4.4c.4 1 1.3 1.9 2.3 2.3l.4-.4c.2-.2.5-.3.8-.2l1.3.6c.1.3 0 .7-.6 1-1.9.9-6.1-3.3-5.2-5.2Z'/%3E%3C/svg%3E");
	--g18-i-nav: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 22 2l-9 19-2-8-8-2Z'/%3E%3C/svg%3E");
	--g18-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E");
	--g18-i-quote: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21c3 0 7-1 7-8V5c0-1.25-.76-2.02-2-2H4c-1.25 0-2 .75-2 1.97V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .01-1 1.03V20c0 1 0 1 1 1zm12 0c3 0 7-1 7-8V5c0-1.25-.76-2.02-2-2h-4c-1.25 0-2 .75-2 1.97V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	background: var(--g18-night);
	color: var(--g18-text);
	font-family: var(--g18-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 17px; } }

::selection { background: var(--g18-lime); color: var(--g18-night); }
a { color: var(--g18-lime); text-underline-offset: .18em; }
a:hover { color: var(--g18-lime-hover); }
:focus-visible { outline: none; box-shadow: var(--g18-focus); border-radius: 4px; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { color: var(--g18-chalk); font-family: var(--g18-font); margin: 0; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 100000; padding: 12px 18px; background: var(--g18-lime); color: var(--g18-night); font-weight: 700; }

/* The homepage is built from core blocks. Reset the spacing WordPress adds between them,
   so each section controls its own rhythm. */
.g18-main { margin: 0; }
.g18-main > .wp-block-post-content,
body .g18-home :where(.wp-block-group, .wp-block-heading, p, figure, .wp-block-buttons, .wp-block-html) { margin-block: 0; }
body .g18-main .wp-block-post-content > * { margin-block: 0; }
.g18-home figure { margin: 0; }
.g18-home .wp-block-image img { display: block; width: 100%; height: auto; }

.g18-container { width: min(100% - 2 * var(--g18-gutter), var(--g18-max)); margin-inline: auto !important; }
.g18-section { padding-block: var(--g18-section); position: relative; scroll-margin-top: calc(var(--g18-header) - 8px); }

/* ---------- Type ---------- */

.g18-home h2,
.g18-h2 {
	color: var(--g18-lime);
	font-size: clamp(34px, 4.1vw, 58px);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 1;
	letter-spacing: .005em;
	text-transform: uppercase;
	text-wrap: balance;
}
.g18-home h3 {
	font-size: 16px;
	font-weight: 700;
	font-stretch: 112.5%;
	letter-spacing: .04em;
	line-height: 1.2;
	text-transform: uppercase;
}
.g18-lead { color: var(--g18-text); max-width: 34em; }
.g18-eyebrow {
	color: var(--g18-mist) !important;
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 10px;
}
.g18-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--g18-lime); }

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

.g18-home .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.g18-home .wp-block-button { margin: 0; }
.wp-block-button .wp-block-button__link,
.g18-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: 1.5px solid var(--g18-lime);
	border-radius: var(--g18-radius-sm);
	background: var(--g18-lime);
	color: var(--g18-night);
	font-family: var(--g18-font);
	font-size: 14.5px;
	font-weight: 700;
	font-stretch: 112.5%;
	letter-spacing: .06em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s var(--g18-ease), color .2s var(--g18-ease), border-color .2s var(--g18-ease), transform .2s var(--g18-ease);
}
.wp-block-button .wp-block-button__link::after,
.g18-btn::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--g18-i-arrow) center / contain no-repeat;
	mask: var(--g18-i-arrow) center / contain no-repeat;
	transition: transform .2s var(--g18-ease);
}
.wp-block-button .wp-block-button__link:hover,
.g18-btn:hover { background: var(--g18-lime-hover); border-color: var(--g18-lime-hover); color: var(--g18-night); }
.wp-block-button .wp-block-button__link:hover::after,
.g18-btn:hover::after { transform: translateX(3px); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--g18-lime); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--g18-lime); color: var(--g18-night); }
.wp-block-button.is-style-g18-ghost .wp-block-button__link { background: transparent; border-color: rgba(244, 246, 241, .28); color: var(--g18-chalk); }
.wp-block-button.is-style-g18-ghost .wp-block-button__link:hover { border-color: var(--g18-chalk); background: transparent; color: var(--g18-chalk); }
.wp-block-button.is-style-g18-ghost .wp-block-button__link::after,
.wp-block-button.is-external .wp-block-button__link::after { -webkit-mask-image: var(--g18-i-diag); mask-image: var(--g18-i-diag); }

.g18-link-arrow a,
a.g18-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--g18-lime);
	font-size: 14.5px;
	font-weight: 600;
	font-stretch: 112.5%;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	min-height: 44px;
}
.g18-link-arrow a::after,
a.g18-link-arrow::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--g18-i-arrow) center / contain no-repeat;
	mask: var(--g18-i-arrow) center / contain no-repeat;
	transition: transform .2s var(--g18-ease);
}
.g18-link-arrow a:hover::after { transform: translateX(3px); }

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

.g18-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	transition: background-color .25s var(--g18-ease), box-shadow .25s var(--g18-ease);
}
.admin-bar .g18-header { top: var(--wp-admin--admin-bar--height, 32px); }
.g18-header.is-solid,
body:not(.home) .g18-header { background: rgba(14, 16, 18, .94); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
@supports (backdrop-filter: blur(8px)) {
	.g18-header.is-solid, body:not(.home) .g18-header { background: rgba(14, 16, 18, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.g18-header__inner {
	width: min(100% - 2 * var(--g18-gutter), var(--g18-max));
	margin-inline: auto;
	height: var(--g18-header);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid rgba(244, 246, 241, .16);
	transition: border-color .25s var(--g18-ease);
}
.g18-header.is-solid .g18-header__inner { border-color: transparent; }
.g18-header__logo { display: inline-flex; align-items: center; min-height: 44px; }
.g18-header__logo img { display: block; height: 38px; width: auto; }
.g18-header__nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.g18-header__call,
.g18-header__menu {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--g18-chalk);
	font-family: var(--g18-font);
	font-size: 14px;
	font-weight: 600;
	font-stretch: 112.5%;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}
.g18-header__call:hover { color: var(--g18-lime); }
.g18-header__menu { color: var(--g18-lime); }
.g18-header__burger { display: inline-grid; gap: 5px; width: 22px; }
.g18-header__burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--g18-ease), opacity .2s; }
.g18-header__burger span:last-child { width: 70%; justify-self: end; }
@media (max-width: 599px) {
	:root { --g18-header: 64px; }
	.g18-header__logo img { height: 32px; }
	.g18-header__call { display: none; }
}

/* Menu overlay */
.g18-menu {
	position: fixed;
	inset: 0;
	z-index: 60;
	background: var(--g18-night);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s var(--g18-ease), visibility 0s linear .25s;
}
.g18-menu.is-open { opacity: 1; visibility: visible; transition: opacity .25s var(--g18-ease); }
.admin-bar .g18-menu { top: var(--wp-admin--admin-bar--height, 32px); }
.g18-menu__top { width: min(100% - 2 * var(--g18-gutter), var(--g18-max)); margin-inline: auto; height: var(--g18-header); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--g18-line); flex: none; }
.g18-menu__top img { height: 38px; width: auto; display: block; }
.g18-menu__close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border: 0; background: none; color: var(--g18-lime); font: 600 14px/1 var(--g18-font); font-stretch: 112.5%; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; padding: 0; }
.g18-menu__close svg { width: 22px; height: 22px; }
.g18-menu__body { width: min(100% - 2 * var(--g18-gutter), var(--g18-max)); margin: auto; padding-block: 40px; display: grid; gap: 48px; }
@media (min-width: 900px) { .g18-menu__body { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.g18-menu__list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.g18-menu__list li { counter-increment: m; }
.g18-menu__list a {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding: 6px 0;
	color: var(--g18-chalk);
	font-size: clamp(30px, min(4.6vw, 7.4vh), 64px);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 1.08;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .2s;
}
.g18-menu__list a::before { content: "0" counter(m); font-size: 14px; font-weight: 600; color: var(--g18-mist); letter-spacing: .1em; min-width: 2.2em; }
.g18-menu__list a:hover { color: var(--g18-lime); }
.g18-menu__aside { display: grid; gap: 18px; color: var(--g18-mist); font-size: 15px; }
.g18-menu__aside strong { color: var(--g18-chalk); display: block; font-weight: 600; }
.g18-menu__aside .g18-btn { justify-self: start; }
body.g18-menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.g18-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--g18-night);
	display: grid;
	grid-template-rows: 1fr auto auto;
	min-height: clamp(660px, 100svh, 70vw);
	padding-top: var(--g18-header);
}
.g18-hero > .g18-hero__bg,
.g18-hero > .g18-hero__cut { position: absolute; inset: 0; z-index: 0; }
.g18-hero > .g18-hero__cut { z-index: 2; pointer-events: none; }
.g18-hero .g18-hero__bg img,
.g18-hero .g18-hero__cut img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.g18-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(14, 16, 18, .55) 0%, rgba(14, 16, 18, 0) 18%),
		linear-gradient(180deg, rgba(14, 16, 18, 0) 46%, rgba(14, 16, 18, .72) 70%, var(--g18-night) 100%);
}
.g18-hero__word {
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	top: calc(var(--g18-header) + 2.4vw);
	margin: 0 !important;
	color: var(--g18-lime);
	font-size: clamp(64px, 15.1vw, 224px);
	font-weight: 900;
	font-stretch: 125%;
	line-height: .82;
	letter-spacing: -.012em;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	user-select: none;
	pointer-events: none;
}
.g18-hero__content {
	position: relative;
	z-index: 4;
	grid-row: 2;
	width: min(100% - 2 * var(--g18-gutter), 680px);
	margin-inline: auto;
	display: grid;
	justify-items: center;
	gap: 26px;
	text-align: center;
}
.g18-hero h1.g18-hero__title {
	color: var(--g18-chalk);
	font-size: clamp(17px, 1.45vw, 21px);
	font-weight: 500;
	font-stretch: 100%;
	line-height: 1.5;
	text-transform: none;
	letter-spacing: 0;
	text-wrap: balance;
	text-shadow: 0 1px 18px rgba(0, 0, 0, .65);
}
.g18-hero__foot {
	position: relative;
	z-index: 4;
	grid-row: 3;
	width: min(100% - 2 * var(--g18-gutter), var(--g18-max));
	margin-inline: auto;
	padding-block: clamp(36px, 4.4vw, 64px) clamp(40px, 4.4vw, 64px);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}
.g18-hero__stat { display: grid; gap: 6px; }
.g18-stars { display: inline-flex; gap: 3px; color: var(--g18-lime); }
.g18-stars svg { width: 18px; height: 18px; display: block; }
.g18-hero__stat .g18-stars { margin-bottom: 6px; }
.g18-hero__stat .g18-stars span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--g18-charcoal); border: 2px solid var(--g18-night); margin-left: -8px; box-shadow: 0 0 0 1px rgba(166, 226, 46, .35) inset; }
.g18-hero__stat .g18-stars span:first-child { margin-left: 0; }
.g18-hero__stat .g18-stars svg { width: 17px; height: 17px; }
.g18-hero__num { color: var(--g18-lime); font-size: clamp(34px, 3vw, 44px); font-weight: 500; font-stretch: 100%; line-height: 1; font-variant-numeric: lining-nums; }
.g18-hero__label { color: var(--g18-chalk); font-size: 14px; font-weight: 600; font-stretch: 112.5%; letter-spacing: .1em; text-transform: uppercase; }
.g18-hero__aside { max-width: 340px; display: grid; gap: 8px; }
.g18-hero__aside p:first-child { color: var(--g18-chalk); font-size: 16px; line-height: 1.55; }

@media (max-width: 759px) {
	.g18-hero { min-height: 0; display: block; padding-top: 0; }
	.g18-hero > .g18-hero__bg,
	.g18-hero > .g18-hero__cut { position: absolute; inset: var(--g18-header) 0 auto; height: 112vw; }
	.g18-hero .g18-hero__bg img,
	.g18-hero .g18-hero__cut img { object-position: 50% 0; }
	.g18-hero::after {
		inset: var(--g18-header) 0 auto;
		height: 112vw;
		background:
			linear-gradient(180deg, rgba(14, 16, 18, 0) 50%, rgba(14, 16, 18, .7) 78%, var(--g18-night) 100%);
	}
	.g18-hero__word { top: calc(var(--g18-header) + 9vw); font-size: 14.6vw; }
	.g18-hero__content { padding-top: calc(var(--g18-header) + 88vw); gap: 22px; }
	.g18-hero h1.g18-hero__title { font-size: 18px; }
	.g18-hero__foot { flex-direction: column; align-items: stretch; gap: 26px; padding-block: 44px 56px; }
	.g18-hero__stat { grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; }
	.g18-hero__stat .g18-stars { grid-column: 1 / -1; }
	.g18-hero__aside { max-width: none; padding-top: 22px; border-top: 1px solid var(--g18-line); }
}

/* ---------- Why Gym-18 (mockup: Forge your strength) ---------- */

.g18-why__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .g18-why__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.g18-why__text { display: grid; gap: 28px; justify-items: start; }
.g18-why__text h2 { max-width: 10.5em; }
.g18-why__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.3vw, 18px); height: clamp(340px, 31vw, 440px); }
@media (min-width: 900px) { .g18-why__cards { justify-self: end; width: min(100%, 580px); } }
.g18-vcard { position: relative; overflow: hidden; border-radius: 12px; background: var(--g18-charcoal); }
.g18-vcard > .wp-block-image { position: absolute; inset: 0; }
.g18-vcard > .wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s var(--g18-ease); }
.g18-vcard:hover > .wp-block-image img { transform: scale(1.04); }
.g18-vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 16, 18, .25), rgba(14, 16, 18, .62)); pointer-events: none; }
.g18-vcard.is-lime::after { display: none; }
.g18-vcard__label {
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) rotate(180deg);
	writing-mode: vertical-rl;
	margin: 0 !important;
	color: var(--g18-chalk);
	font-size: clamp(13px, 1.1vw, 15.5px);
	font-weight: 700;
	font-stretch: 112.5%;
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.g18-vcard__label::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--g18-i-diag) center / contain no-repeat;
	mask: var(--g18-i-diag) center / contain no-repeat;
	transform: rotate(90deg);
}
.g18-vcard.is-lime .g18-vcard__label { color: var(--g18-night); }

/* ---------- Training ---------- */

.g18-bg-atmos { isolation: isolate; }
.g18-bg-atmos::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--g18-atmos, none) center / cover no-repeat;
	opacity: .2;
	-webkit-mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
	mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.g18-training__head { display: grid; justify-items: center; text-align: center; gap: 22px; margin-bottom: clamp(40px, 4.4vw, 64px) !important; }
.g18-training__head p { max-width: 46em; }
.g18-training__head .wp-block-buttons { justify-content: center; margin-top: 6px !important; }
.g18-programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3.4vw, 48px); }
.g18-program { position: relative; overflow: hidden; border-radius: var(--g18-radius); aspect-ratio: 9 / 10; background: var(--g18-charcoal); }
.g18-program > .wp-block-image { position: absolute; inset: 0; }
.g18-program > .wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s var(--g18-ease); }
.g18-program:hover > .wp-block-image img { transform: scale(1.04); }
.g18-program::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 16, 18, 0) 55%, rgba(14, 16, 18, .88) 100%); pointer-events: none; }
.g18-program h3 { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.g18-program h3 a { color: var(--g18-chalk); text-decoration: none; }
.g18-program h3 a::before { content: ""; position: absolute; inset: -100vh -100vw; z-index: 1; }
/* lime square with a dark arrow, as in the mockup */
.g18-program h3::after,
.g18-arrow-tag::after {
	content: "";
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: var(--g18-radius-sm);
	background: var(--g18-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1012' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
	box-shadow: none;
	transition: transform .2s var(--g18-ease), background-color .2s;
}
.g18-program:hover h3::after,
.g18-photo-card:hover .g18-arrow-tag::after { transform: translateX(3px); background-color: var(--g18-lime-hover); }

@media (max-width: 759px) {
	.g18-programs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--g18-gutter); margin-inline: calc(-1 * var(--g18-gutter)) !important; padding-inline: var(--g18-gutter); padding-bottom: 8px; scrollbar-width: none; }
	.g18-programs::-webkit-scrollbar { display: none; }
	.g18-program { scroll-snap-align: start; aspect-ratio: 4 / 5; }
}

/* ---------- Timings (mockup: Discipline builds results) ---------- */

.g18-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .g18-split { grid-template-columns: 1.06fr 1fr; gap: clamp(48px, 5vw, 80px); } }
.g18-split__media { border-radius: 22px; overflow: hidden; aspect-ratio: 1.1; }
.g18-split__media img { width: 100%; height: 100% !important; object-fit: cover; }
.g18-split__text { display: grid; gap: 22px; justify-items: start; }
.g18-split__text h2 { max-width: 11em; margin-bottom: 4px !important; }
.g18-hours-line { color: var(--g18-chalk) !important; padding: 14px 18px; border-left: 3px solid var(--g18-lime); background: rgba(166, 226, 46, .06); border-radius: 0 var(--g18-radius-sm) var(--g18-radius-sm) 0; }
.g18-hours-line strong { color: var(--g18-lime); font-weight: 600; }
.g18-open { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 4px 14px 4px 12px; border-radius: 999px; background: var(--g18-charcoal); border: 1px solid var(--g18-line); color: var(--g18-chalk); font-size: 14px; font-weight: 500; }
.g18-open::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--g18-mist); }
.g18-open.is-open::before { background: var(--g18-lime); box-shadow: 0 0 0 4px rgba(166, 226, 46, .18); }
.g18-open:empty { display: none; }

/* ---------- Fees (mockup: Build your best self + Train hard) ---------- */

.g18-fees__grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .g18-fees__grid { grid-template-columns: 1.08fr 1fr; gap: clamp(48px, 5vw, 72px); align-items: start; } }
.g18-fees__left { display: grid; gap: 24px; }
@media (min-width: 900px) { .g18-fees__left { padding-top: clamp(24px, 2.4vw, 36px); } }
.g18-fees__left > .g18-photo-card { margin-top: clamp(14px, 2vw, 30px) !important; }
.g18-fees__right { display: grid; gap: clamp(28px, 3vw, 40px); }
.g18-photo-card { position: relative; overflow: hidden; border-radius: var(--g18-radius); background: var(--g18-charcoal); aspect-ratio: 3 / 2; }
.g18-photo-card.is-square { aspect-ratio: 1; }
.g18-photo-card > .wp-block-image { position: absolute; inset: 0; }
.g18-photo-card > .wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s var(--g18-ease); }
.g18-photo-card:hover > .wp-block-image img { transform: scale(1.04); }
.g18-photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 16, 18, 0) 52%, rgba(14, 16, 18, .86) 100%); pointer-events: none; }
.g18-arrow-tag {
	position: absolute;
	z-index: 2;
	left: 24px;
	right: 22px;
	bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 !important;
	font-size: 15px;
	font-weight: 700;
	font-stretch: 112.5%;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.g18-arrow-tag a { color: var(--g18-chalk); text-decoration: none; }
.g18-arrow-tag a::before { content: ""; position: absolute; inset: -100vh -100vw; z-index: 1; }
.g18-rated { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.g18-rated__big { color: var(--g18-lime) !important; font-size: clamp(40px, 4.1vw, 60px) !important; font-weight: 800; font-stretch: 125%; line-height: .98; text-transform: uppercase; }
.g18-rated__text { color: var(--g18-chalk); font-size: 16px; line-height: 1.55; }
.g18-rated__text em { display: block; color: var(--g18-mist); font-style: normal; font-size: 14px; margin-top: 6px; }

/* ---------- Google profile: photos and reviews ---------- */

.g18-google { background: linear-gradient(180deg, var(--g18-night), #121518 30%, #121518 70%, var(--g18-night)); }
.g18-google__head { display: grid; gap: 32px; margin-bottom: clamp(36px, 4vw, 56px) !important; }
@media (min-width: 900px) { .g18-google__head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 64px; } }
.g18-google__intro { display: grid; gap: 20px; }
.g18-google__score { display: grid; gap: 18px; padding: 26px 28px; border-radius: var(--g18-radius); background: var(--g18-charcoal); border: 1px solid var(--g18-line); }
.g18-score { display: flex; align-items: center; gap: 18px; }
.g18-score__num { color: var(--g18-chalk); font-size: 56px; font-weight: 800; font-stretch: 125%; line-height: 1; }
.g18-score__meta { display: grid; gap: 6px; color: var(--g18-mist); font-size: 14px; }
.g18-score__meta .g18-stars svg { width: 20px; height: 20px; }
.g18-google__score .wp-block-buttons { gap: 10px; }
.g18-google__score .wp-block-button__link { min-height: 44px; padding-inline: 16px; font-size: 13.5px; }

.g18-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.g18-gallery > .wp-block-image { position: relative; overflow: hidden; border-radius: 12px; background: var(--g18-charcoal); grid-column: span 3; aspect-ratio: 4 / 5; }
.g18-gallery > .wp-block-image.is-wide { grid-column: span 8; aspect-ratio: auto; }
.g18-gallery > .wp-block-image.is-tall { grid-column: span 4; aspect-ratio: auto; }
.g18-gallery > .wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s var(--g18-ease); }
.g18-gallery > .wp-block-image:hover img { transform: scale(1.035); }
.g18-gallery > .wp-block-image.is-wide img { aspect-ratio: 16 / 9; }
.g18-gallery figcaption {
	position: absolute;
	left: 12px;
	bottom: 12px;
	margin: 0;
	padding: 6px 10px;
	border-radius: 6px;
	background: rgba(14, 16, 18, .78);
	color: var(--g18-chalk);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.3;
}
@supports (backdrop-filter: blur(6px)) { .g18-gallery figcaption { background: rgba(14, 16, 18, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } }
@media (max-width: 759px) {
	.g18-gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--g18-gutter)) !important; padding-inline: var(--g18-gutter); scroll-padding-inline: var(--g18-gutter); scrollbar-width: none; }
	.g18-gallery::-webkit-scrollbar { display: none; }
	.g18-gallery > .wp-block-image,
	.g18-gallery > .wp-block-image.is-tall { grid-column: auto; width: 272px; height: 340px; aspect-ratio: auto; scroll-snap-align: start; }
	.g18-gallery > .wp-block-image.is-wide { grid-column: auto; width: 520px; height: 340px; aspect-ratio: auto; scroll-snap-align: start; }
	.g18-gallery > .wp-block-image img,
	.g18-gallery > .wp-block-image.is-wide img { width: 100%; height: 100% !important; aspect-ratio: auto; }
}
.g18-swipe-hint { display: none; }
@media (max-width: 759px) { .g18-swipe-hint { display: block; color: var(--g18-mist); font-size: 13px; margin-top: 12px !important; } }

.g18-reviews { display: grid; gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(28px, 3vw, 44px) !important; }
@media (min-width: 760px) { .g18-reviews { grid-template-columns: repeat(3, 1fr); } }
.g18-review { position: relative; display: grid; align-content: space-between; gap: 22px; padding: 28px 26px 24px; border-radius: var(--g18-radius); background: var(--g18-charcoal); border: 1px solid var(--g18-line); }
.g18-review::before { content: ""; width: 28px; height: 28px; background: var(--g18-lime); -webkit-mask: var(--g18-i-quote) center / contain no-repeat; mask: var(--g18-i-quote) center / contain no-repeat; }
.g18-review__quote { color: var(--g18-chalk); font-size: 17px; line-height: 1.55; }
.g18-review__by { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--g18-line); font-size: 14px; color: var(--g18-mist); }
.g18-review__by strong { color: var(--g18-chalk); font-weight: 600; }
.g18-google__note { color: var(--g18-mist); font-size: 14px; margin-top: 22px !important; }

/* ---------- CTA (mockup: Your strongest self awaits) ---------- */

.g18-cta-wrap { padding-top: calc(var(--g18-section) + 48px); }
.g18-cta {
	position: relative;
	display: grid;
	align-items: center;
	min-height: clamp(320px, 26vw, 380px);
	padding: clamp(36px, 4.4vw, 64px) clamp(28px, 4.6vw, 72px);
	border-radius: 18px;
	background: radial-gradient(120% 140% at 85% 100%, rgba(166, 226, 46, .14), rgba(166, 226, 46, 0) 55%), var(--g18-surface);
	border: 1px solid rgba(244, 246, 241, .06);
}
.g18-cta__text { position: relative; z-index: 2; display: grid; gap: 22px; justify-items: start; max-width: 560px; }
.g18-cta__img { position: absolute; z-index: 1; right: clamp(24px, 8vw, 130px); bottom: 0; height: calc(100% + clamp(40px, 5vw, 72px)); width: auto; pointer-events: none; }
.g18-cta__img img { height: 100% !important; width: auto !important; max-width: none; object-fit: contain; object-position: bottom; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
@media (max-width: 759px) {
	.g18-cta { padding-top: 0; gap: 8px; }
	.g18-cta__img { order: -1; position: relative; right: auto; bottom: auto; height: 300px; margin: -64px auto 0 !important; justify-self: center; }
}

/* ---------- Banner ---------- */

.g18-banner { padding-top: clamp(56px, 6vw, 96px); }
.g18-banner__img { border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 1; }
.g18-banner__img img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 759px) { .g18-banner__img { aspect-ratio: 4 / 3; } .g18-banner__img img { object-position: 60% 50%; } }

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

.g18-contact { padding-top: clamp(56px, 6vw, 96px); padding-bottom: clamp(48px, 5vw, 80px); }
.g18-contact__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(28px, 3vw, 44px); }
.g18-quick { display: flex; gap: 12px; }
.g18-quick a { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--g18-lime); color: var(--g18-night); transition: background-color .2s, transform .2s var(--g18-ease); }
.g18-quick a:hover { background: var(--g18-lime-hover); transform: translateY(-2px); color: var(--g18-night); }
.g18-quick svg { width: 22px; height: 22px; }
.g18-contact__cols { display: grid; gap: 28px; padding-block: clamp(8px, 1vw, 16px) clamp(36px, 4vw, 56px); }
@media (min-width: 900px) { .g18-contact__cols { grid-template-columns: 1.25fr 1fr 1fr; gap: 40px; } }
.g18-contact__item { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center; }
.g18-contact__item::before { content: ""; width: 54px; height: 54px; background: var(--g18-lime); -webkit-mask: var(--g18-ico) center / contain no-repeat; mask: var(--g18-ico) center / contain no-repeat; }
.g18-contact__item.is-address { --g18-ico: var(--g18-i-pin); }
.g18-contact__item.is-phone { --g18-ico: var(--g18-i-phone); }
.g18-contact__item.is-whatsapp { --g18-ico: var(--g18-i-chat); }
.g18-contact__item p { color: var(--g18-chalk); font-size: 16px; line-height: 1.5; }
.g18-contact__item p a { color: var(--g18-chalk); text-decoration: none; }
.g18-contact__item p a:hover { color: var(--g18-lime); text-decoration: underline; }
.g18-contact__item small,
.g18-contact__item .g18-small { display: block; color: var(--g18-mist); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.g18-visit { display: grid; gap: 16px; }
@media (min-width: 900px) { .g18-visit { grid-template-columns: 1.7fr 1fr; gap: 20px; } }
.g18-map { position: relative; min-height: 320px; border-radius: var(--g18-radius); overflow: hidden; background: var(--g18-charcoal); border: 1px solid var(--g18-line); }
.g18-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.7) contrast(.95); }
.g18-visit__side { display: grid; gap: 16px; align-content: start; }
.g18-hours { margin: 0; padding: 20px 22px; border-radius: var(--g18-radius); background: var(--g18-charcoal); border: 1px solid var(--g18-line); display: grid; gap: 4px; }
.g18-hours__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--g18-chalk); font-weight: 700; font-stretch: 112.5%; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; margin-bottom: 8px; }
.g18-hours__title .g18-open { text-transform: none; letter-spacing: 0; font-weight: 500; font-stretch: 100%; font-size: 13px; }
.g18-hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--g18-line); font-size: 15px; }
.g18-hours__row dt { color: var(--g18-mist); }
.g18-hours__row dd { margin: 0; color: var(--g18-chalk); font-variant-numeric: tabular-nums; }
.g18-hours__row.is-today dt,
.g18-hours__row.is-today dd { color: var(--g18-lime); font-weight: 600; }
.g18-visit__photo { position: relative; border-radius: var(--g18-radius); overflow: hidden; }
.g18-visit__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.g18-visit__photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: 8px 12px; border-radius: 8px; background: rgba(14, 16, 18, .8); color: var(--g18-chalk); font-size: 13px; line-height: 1.4; }

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

.g18-footer { padding-bottom: 28px; }
.g18-footer__inner { width: min(100% - 2 * var(--g18-gutter), var(--g18-max)); margin-inline: auto; border-top: 1px solid var(--g18-line); padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; font-size: 14px; color: var(--g18-mist); }
.g18-footer__inner p { margin: 0; }
.g18-footer__inner p span { color: var(--g18-lime); }
.g18-footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.g18-footer__links a { color: var(--g18-mist); text-decoration: none; }
.g18-footer__links a:hover { color: var(--g18-chalk); }

/* Mobile action bar */
.g18-actionbar { display: none; }
@media (max-width: 759px) {
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.g18-actionbar {
		position: fixed;
		inset: auto 0 0;
		z-index: 40;
		display: grid;
		grid-template-columns: 1fr 1.25fr 1fr;
		gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(14, 16, 18, .96);
		box-shadow: 0 -1px 0 var(--g18-line), 0 -10px 30px rgba(0, 0, 0, .45);
		transform: translateY(0);
		transition: transform .25s var(--g18-ease);
	}
	.g18-actionbar.is-hidden { transform: translateY(110%); }
	.g18-actionbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--g18-radius-sm); border: 1.5px solid var(--g18-line); color: var(--g18-chalk); font-size: 13.5px; font-weight: 700; font-stretch: 112.5%; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
	.g18-actionbar a.is-primary { background: var(--g18-lime); border-color: var(--g18-lime); color: var(--g18-night); }
	.g18-actionbar svg { width: 18px; height: 18px; flex: none; }
}

/* ---------- Inner pages (privacy policy etc.) ---------- */

.g18-page { padding: calc(var(--g18-header) + 64px) var(--g18-gutter) 96px; }
.g18-page .wp-block-post-title { color: var(--g18-lime); font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: 1.05; margin-bottom: 32px; }
.g18-page .wp-block-post-content h2 { font-size: 26px; font-weight: 700; color: var(--g18-chalk); margin-top: 2em; text-transform: none; }
.g18-page .wp-block-post-content h3 { font-size: 20px; color: var(--g18-chalk); margin-top: 1.6em; }

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

@media (prefers-reduced-motion: no-preference) {
	.g18-js .g18-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--g18-ease), transform .7s var(--g18-ease); }
	.g18-js .g18-reveal.is-in { opacity: 1; transform: none; }
}
