/*
Theme Name: School of Cycling
Theme URI: https://example.com/school-of-cycling
Author: School of Cycling
Description: Elementor-ready theme for a cycling hub. Includes a banner slider and ready-made widgets (page header, cards, fees, schedule, FAQ, posts, forms, contact) under “School of Cycling” in Elementor, plus one-click page setup in Appearance → School of Cycling Setup.
Version: 3.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: school-of-cycling
Tags: one-column, custom-logo, custom-menu, featured-images, sports
*/

/* ---------- Design tokens ---------- */
:root {
	--ink: #111a22;
	--asphalt: #17222c;
	--asphalt-2: #1f2d3a;
	--paper: #f7f5f0;
	--white: #ffffff;
	--tint: #efebe2;
	--line: #e2ddd2;
	--muted: #5d6873;
	--muted-dark: #a9b4be;
	--signal: #ff5b1f;
	--signal-dark: #e1460d;
	--lime: #d5f24b;
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(17, 26, 34, .06), 0 10px 30px -12px rgba(17, 26, 34, .18);
	--font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body,
body:not(.soc-x) {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--signal-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: .005em;
	text-transform: uppercase;
	margin: 0 0 .5em;
}
/* Keep the theme's heading font even if a page builder sets global fonts */
body:not(.soc-x) :is(h1, h2, h3, h4) {
	font-family: var(--font-head);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .005em;
}
h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
h3, .h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 760px; }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-dark { background: var(--asphalt); color: var(--white); }
.section-tint { background: var(--tint); }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: -999px; top: 8px; z-index: 100;
	background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--signal-dark); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow { color: var(--lime); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--muted); }
.section-dark .section-head p:last-child { color: var(--muted-dark); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .7rem 1.15rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--signal); color: var(--white); }
.btn-primary:hover { background: var(--signal-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-whatsapp { background: #25d366; color: #0b2b17; margin-top: 1.5rem; }
.btn-whatsapp:hover { background: #1fbd5a; color: #0b2b17; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(247, 245, 240, .92);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(17, 26, 34, .35); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }

.brand-text {
	display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink);
	font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .02em;
}
.brand-text:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; color: var(--signal); flex: none; }
.custom-logo { max-height: 50px; width: auto; }
.header-inner { gap: 1rem; }
@media (min-width: 861px) and (max-width: 1280px) {
	.nav-cta { display: none; }
	.site-nav { gap: 1rem; }
	.site-nav .menu { gap: 1rem; }
	.site-nav .menu a { font-size: .9rem; }
	.brand-text { font-size: 1.3rem; }
	.custom-logo { max-height: 44px; }
}
@media (min-width: 861px) and (max-width: 1000px) {
	.site-nav .menu { gap: .8rem; }
	.site-nav .menu a { font-size: .84rem; }
	.custom-logo { max-height: 38px; }
	.brand-text span { display: none; }
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav .menu { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative;
}
.site-nav .menu a::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--signal);
	transition: right .2s ease;
}
.site-nav .menu a:hover::after, .site-nav .current-menu-item > a::after { right: 0; }
.site-nav .sub-menu { display: none; }

.nav-toggle {
	display: none; width: 46px; height: 46px; border: 0; background: var(--ink); border-radius: 50%;
	cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
	position: absolute; left: 13px; width: 20px; height: 2px; background: var(--white); content: ""; transition: transform .2s ease, top .2s ease;
}
.nav-toggle-bar { top: 22px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem;
		background: var(--paper); padding: 1.5rem 1.25rem 2rem; border-top: 1px solid var(--line);
		box-shadow: 0 20px 30px -20px rgba(17, 26, 34, .4);
		transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .2s ease;
	}
	.admin-bar .site-nav { top: 108px; }
	.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
	.site-nav .menu a::after { display: none; }
	.nav-cta { width: 100%; padding-block: .95rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.75rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; font-size: .95rem; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points li::before {
	content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
	background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23111a22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.hero-visual {
	position: relative; aspect-ratio: 1 / 0.9; border-radius: 28px;
	background:
		radial-gradient(circle at 78% 18%, rgba(213, 242, 75, .55), transparent 38%),
		radial-gradient(circle at 15% 85%, rgba(255, 91, 31, .28), transparent 45%),
		var(--asphalt);
	display: grid; place-items: center; padding: 2rem;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; position: absolute; inset: 0; }
.hero-visual::after {
	content: ""; position: absolute; inset: 14px; border-radius: 20px; border: 1px dashed rgba(255, 255, 255, .14); pointer-events: none;
}

.bike-art { width: 100%; max-width: 520px; }
.bike-art .wheel circle { fill: none; stroke: var(--white); stroke-width: 9; }
.bike-art .wheel .rim { stroke: rgba(255, 255, 255, .25); stroke-width: 2; }
.bike-art .spokes { stroke: rgba(255, 255, 255, .35); stroke-width: 1.6; fill: none; }
.bike-art .frame path { fill: none; stroke: var(--signal); stroke-width: 11; }
.bike-art .bar, .bike-art .saddle, .bike-art .post, .bike-art .pedal { fill: none; stroke: var(--white); stroke-width: 9; }
.bike-art .saddle { stroke-width: 12; }
.bike-art .crank { fill: var(--lime); }
.bike-art .hub { fill: var(--lime); }
.bike-art .road { stroke: rgba(255, 255, 255, .35); stroke-width: 3; stroke-dasharray: 26 18; animation: road 1.2s linear infinite; }
.bike-art .speed path { stroke: var(--lime); stroke-width: 5; fill: none; opacity: .8; }
.bike-art .spin { transform-box: fill-box; transform-origin: center; animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }
@keyframes road { to { stroke-dashoffset: 44; } }
@media (prefers-reduced-motion: reduce) { .bike-art .spin, .bike-art .road { animation: none; } }

.badge-card {
	position: absolute; left: -18px; bottom: 28px; z-index: 2;
	background: var(--white); border-radius: 14px; padding: .9rem 1.1rem; box-shadow: var(--shadow);
	display: grid; line-height: 1.3;
}
.badge-card strong { font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; }
.badge-card span { color: var(--muted); font-size: .9rem; }

/* Rider journey */
.levels {
	list-style: none; padding: 0; margin: clamp(3rem, 6vw, 4.5rem) 0 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
	border-top: 2px solid var(--ink);
}
.levels li { padding: 1.4rem 1.25rem 0 0; display: grid; gap: .2rem; position: relative; }
.levels li::before {
	content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: 50%;
	background: var(--paper); border: 3px solid var(--ink);
}
.levels li:last-child::before { background: var(--signal); border-color: var(--signal); }
.level-num { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--signal-dark); }
.levels strong { font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; line-height: 1.1; }
.levels li > span:last-child { color: var(--muted); font-size: .95rem; }

/* ---------- Cards / programs ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.75rem; display: flex; flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.card-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--signal); }
.tag { font-size: .78rem; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; background: var(--tint); }
.card h3, .card .h3 { margin-bottom: .25rem; }
.card .h3 a { color: inherit; text-decoration: none; }
.meta { font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: .9rem; }
.card > p:not(.meta) { color: var(--muted); }
.card-link { margin-top: auto; padding-top: 1rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.card-link:hover { color: var(--signal-dark); }

.ticks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .45rem; font-size: .96rem; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: .35em; width: 1rem; height: 1rem; border-radius: 50%;
	background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.steps li {
	counter-increment: step; padding: 1.75rem; border-radius: var(--radius);
	background: var(--asphalt-2); border: 1px solid rgba(255, 255, 255, .07);
}
.steps li::before {
	content: counter(step, decimal-leading-zero);
	display: block; font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--lime); margin-bottom: 1rem;
}
.steps h3 { font-size: 1.45rem; }
.steps p { color: var(--muted-dark); margin: 0; }

/* ---------- Schedule ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.schedule { width: 100%; border-collapse: collapse; min-width: 620px; }
.schedule th, .schedule td { padding: 1.05rem 1.4rem; text-align: left; border-bottom: 1px solid var(--line); }
.schedule thead th {
	background: var(--ink); color: var(--white); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}
.schedule tbody th { font-weight: 700; }
.schedule tbody tr:last-child > * { border-bottom: 0; }
.schedule tbody tr:hover { background: #fbfaf7; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan {
	position: relative; background: var(--white); border-radius: var(--radius); padding: 2rem;
	border: 1px solid var(--line); display: flex; flex-direction: column;
}
.plan > p:not(.price) { color: var(--muted); }
.plan .btn { margin-top: auto; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1; margin: .25rem 0 1rem; }
.price span { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan.is-featured { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-10px); box-shadow: var(--shadow); }
.plan.is-featured > p:not(.price), .plan.is-featured .price span { color: var(--muted-dark); }
.plan-flag {
	position: absolute; top: -13px; left: 2rem; background: var(--lime); color: var(--ink);
	font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px;
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); }
.review blockquote { margin: 0 0 1rem; font-size: 1.1rem; }
.review blockquote::before { content: "“"; display: block; font-family: var(--font-head); font-size: 4rem; line-height: .6; color: var(--signal); margin-bottom: .5rem; }
.review figcaption { font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.faqs { display: grid; gap: .75rem; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
	list-style: none; cursor: pointer; padding: 1.15rem 3.25rem 1.15rem 1.35rem; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; border-radius: 50%; background: var(--tint); display: grid; place-items: center;
	font-size: 1.2rem; line-height: 1; transition: transform .2s ease, background-color .2s ease;
}
.faq[open] summary::after { content: "–"; background: var(--signal); color: var(--white); }
.faq p { padding: 0 1.35rem 1.25rem; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info > p:not(.eyebrow) { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--signal-dark); padding-top: .2rem; }
.contact-list a { color: var(--ink); }
.section-dark .contact-info > p:not(.eyebrow) { color: var(--muted-dark); }
.section-dark .contact-list li { border-bottom-color: rgba(255, 255, 255, .1); }
.section-dark .contact-list span { color: var(--lime); }
.section-dark .contact-list a { color: var(--white); }

.enquiry { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field span { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
	border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .95rem;
	transition: border-color .15s ease, background-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); background: var(--white); }
.notice { margin: 0; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; }
.notice-ok { background: #e7f8d4; color: #2c5310; }
.notice-err { background: #ffe6dc; color: #8a2a06; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding-top: 4rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand-text { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { max-width: 22rem; }
.footer-title { color: var(--white); font-size: 1.2rem; margin-bottom: 1rem; }
.site-footer .menu, .footer-contact, .social { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.social a { display: inline-block; padding: .45rem .9rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: .88rem; }
.social a:hover { border-color: var(--lime); }
.footer-bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
	padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem;
}
.footer-bottom p { margin: 0; }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
	transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.07); color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Inner pages & blog ---------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5rem) 1rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-main .section { padding-top: 2rem; }
.post-thumb img { border-radius: var(--radius-sm); margin-bottom: 1.25rem; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.entry-thumb { margin: 0 0 2rem; }
.entry-thumb img { border-radius: var(--radius); }
.entry-content > * { margin-block: 0 1.25em; }
.entry-content h2 { font-size: 2.2rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.6rem; margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { border-left: 4px solid var(--signal); margin-left: 0; padding-left: 1.25rem; font-size: 1.15rem; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-weight: 600; }
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white); }
.pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.error-404 { padding-bottom: 6rem; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: .9rem; color: var(--muted); }


/* ---------- Hub (v2) ---------- */
.hub {
	display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem;
	margin-top: clamp(2.5rem, 5vw, 4rem);
}
.hub-tile {
	display: grid; gap: .35rem; align-content: start; text-decoration: none; color: var(--ink);
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.1rem 1.25rem;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hub-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.hub-icon {
	width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
	background: var(--ink); color: var(--lime); margin-bottom: .4rem;
}
.hub-tile:nth-child(odd) .hub-icon { background: var(--signal); color: var(--white); }
.hub-icon svg { width: 24px; height: 24px; }
.hub-tile strong { font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; }
.hub-tile > span:last-child { font-size: .88rem; color: var(--muted); line-height: 1.45; }

.section-tight { padding-top: 0; }
.cards-gap { margin-top: 3rem; }
.sub-head { font-size: 1.6rem; margin: 3.5rem 0 1.25rem; }
.see-all { margin: 2rem 0 0; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); text-align: center; }

.empty-state {
	border: 2px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center;
	display: grid; gap: 1rem; justify-items: center; color: var(--muted);
}
.empty-state p { margin: 0; max-width: 36rem; }
.section-dark .empty-state { border-color: rgba(255, 255, 255, .18); color: var(--muted-dark); }
.section-dark .empty-state .btn-outline, .btn-ghost-light { border-color: var(--white); color: var(--white); background: transparent; }
.section-dark .empty-state .btn-outline:hover, .btn-ghost-light:hover { background: var(--white); color: var(--ink); }
.section-dark .see-all .btn-outline { border-color: var(--white); color: var(--white); }
.section-dark .see-all .btn-outline:hover { background: var(--white); color: var(--ink); }
.section-dark .card { color: var(--ink); }

/* Shop */
.soc-shop-content { margin-bottom: 2.5rem; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.shop-card {
	position: relative; overflow: hidden; min-height: 260px; border-radius: var(--radius); padding: 1.6rem;
	display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; text-decoration: none;
	color: var(--white); background: var(--asphalt); isolation: isolate;
	transition: transform .2s ease, box-shadow .2s ease;
}
.shop-card::before {
	content: ""; position: absolute; z-index: -1; width: 150px; height: 150px; border-radius: 50%;
	right: -55px; top: -55px; border: 20px solid var(--signal); opacity: .9;
}
.shop-card::after {
	content: ""; position: absolute; z-index: -1; width: 44px; height: 44px; border-radius: 50%;
	right: 12px; top: 12px; background: var(--lime);
}
.shop-apparel { background: var(--signal); }
.shop-apparel::before { border-color: var(--ink); }
.shop-components { background: var(--ink); }
.shop-components::before { border-color: var(--lime); }
.shop-components::after { background: var(--signal); }
.shop-kids { background: #2a3a48; }
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--white); }
.shop-card strong { font-family: var(--font-head); font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.shop-card span { font-size: .93rem; opacity: .85; }
.shop-card em { font-style: normal; font-weight: 700; margin-top: .5rem; }

/* Awareness tips */
.tips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: tip; }
.tips li {
	counter-increment: tip; position: relative; background: var(--white); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 1.6rem 1.6rem 1.5rem 4.6rem;
}
.tips li::before {
	content: counter(tip); position: absolute; left: 1.4rem; top: 1.45rem; width: 2.3rem; height: 2.3rem; border-radius: 50%;
	display: grid; place-items: center; background: var(--lime); font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
}
.tips h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.tips p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Ask a doubt */
.ask-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.ask-grid .section-head { margin-bottom: 2rem; }
.faq-col .sub-head { margin-top: 0; color: var(--white); }
.section-dark .faq { border-color: transparent; color: var(--ink); }

/* Training enquiry on light background */
.enquiry-bordered { border: 1px solid var(--line); box-shadow: var(--shadow); }

@media (max-width: 1100px) {
	.hub { grid-template-columns: repeat(3, 1fr); }
	.shop-grid { grid-template-columns: repeat(2, 1fr); }
	.tips { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.ask-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.hub { grid-template-columns: repeat(2, 1fr); }
	.hub-tile > span:last-child { display: none; }
	.shop-grid, .tips { grid-template-columns: 1fr; }
	.shop-card { min-height: 190px; }
}


/* =====================================================================
   v3 — Elementor components
   ===================================================================== */

/* Banner slider */
.soc-slider {
	position: relative; overflow: hidden; background: var(--asphalt); color: var(--white);
	height: var(--soc-slider-h, 640px); max-height: 88vh; min-height: 280px;
}
.soc-slides, .soc-slide { position: absolute; inset: 0; }
.soc-slide {
	display: flex; align-items: center; opacity: 0; visibility: hidden;
	transition: opacity .8s ease, visibility .8s ease;
	background:
		radial-gradient(circle at 80% 20%, rgba(213, 242, 75, .35), transparent 40%),
		radial-gradient(circle at 10% 90%, rgba(255, 91, 31, .35), transparent 45%),
		var(--asphalt);
}
.soc-slide.is-active { opacity: 1; visibility: visible; }
.soc-slide-img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transform: scale(1.06); transition: transform 7s ease;
}
.soc-slide.is-active .soc-slide-img { transform: scale(1); }
.soc-slide-shade {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10, 16, 22, calc(var(--soc-overlay, .45) + .25)) 0%, rgba(10, 16, 22, var(--soc-overlay, .45)) 45%, rgba(10, 16, 22, calc(var(--soc-overlay, .45) * .4)) 100%);
}
.soc-slide-inner { position: relative; z-index: 2; padding-block: 4rem 5rem; }
.soc-slide-inner > * { max-width: 40rem; }
.soc-slider.is-center .soc-slide-inner { text-align: center; }
.soc-slider.is-center .soc-slide-inner > * { margin-inline: auto; }
.soc-slider.is-center .soc-slide-shade { background: rgba(10, 16, 22, var(--soc-overlay, .45)); }
.soc-slider .eyebrow { color: var(--lime); }
.soc-slider.is-center .eyebrow { justify-content: center; }
body:not(.soc-x) .soc-slide-title {
	color: var(--white); font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; margin: 0 0 .35em;
	text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.soc-slide-text { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, .88); margin-bottom: 1.8rem; }
.soc-slide .soc-slide-inner > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease .25s, transform .6s ease .25s; }
.soc-slide.is-active .soc-slide-inner > * { opacity: 1; transform: none; }
.soc-slide.is-active .soc-slide-inner > *:nth-child(2) { transition-delay: .35s; }
.soc-slide.is-active .soc-slide-inner > *:nth-child(3) { transition-delay: .45s; }
.soc-slide.is-active .soc-slide-inner > *:nth-child(4) { transition-delay: .55s; }

.soc-slider-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45);
	background: rgba(17, 26, 34, .35); color: var(--white); cursor: pointer; display: grid; place-items: center;
	transition: background-color .15s ease, border-color .15s ease;
}
.soc-slider-arrow:hover { background: var(--signal); border-color: var(--signal); }
.soc-slider-arrow svg { width: 22px; height: 22px; }
.soc-slider-arrow.is-prev { left: 20px; }
.soc-slider-arrow.is-next { right: 20px; }
.soc-slider-dots { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; display: flex; justify-content: center; gap: .55rem; }
.soc-dot {
	width: 12px; height: 12px; padding: 0; border-radius: 999px; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .45); transition: width .3s ease, background-color .3s ease;
}
.soc-dot.is-active { width: 34px; background: var(--lime); }
@media (prefers-reduced-motion: reduce) {
	.soc-slide, .soc-slide-img, .soc-slide .soc-slide-inner > * { transition: none; }
}
@media (max-width: 860px) {
	.soc-slider { height: var(--soc-slider-mh, 520px); }
	.soc-slider-arrow { display: none; }
	.soc-slide-inner { padding-block: 3rem 4.5rem; }
	.soc-slide-shade { background: rgba(10, 16, 22, calc(var(--soc-overlay, .45) + .15)); }
}

/* Page header */
.soc-page-header {
	position: relative; overflow: hidden; color: var(--white); padding-block: clamp(3.5rem, 8vw, 6rem);
	background:
		radial-gradient(circle at 85% 15%, rgba(213, 242, 75, .3), transparent 35%),
		radial-gradient(circle at 5% 100%, rgba(255, 91, 31, .3), transparent 40%),
		var(--asphalt);
}
.soc-page-header-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soc-page-header.has-image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(10, 16, 22, .6); }
.soc-page-header .container { position: relative; z-index: 2; }
.soc-page-header .eyebrow { color: var(--lime); }
body:not(.soc-x) .soc-page-header h1 { color: var(--white); font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin-bottom: .25em; }
.soc-page-header .lead { color: rgba(255, 255, 255, .8); margin: 0; }

/* Picture-only banner */
.soc-page-header.is-image-only { padding: 0; background: var(--asphalt); }
.soc-page-header.is-image-only img { display: block; width: 100%; height: auto; }

/* Section helpers */
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.soc-compact { padding-block: clamp(2rem, 4vw, 3rem); }
.soc-narrow { max-width: 760px; margin-inline: auto; }
.cards.soc-cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.soc-cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.soc-cols-4 { grid-template-columns: repeat(4, 1fr); }
.tips.soc-cols-2 { grid-template-columns: repeat(2, 1fr); }
.tips.soc-cols-4 { grid-template-columns: repeat(4, 1fr); }
.soc-form-block .enquiry, .soc-contact-block .enquiry { border: 1px solid var(--line); box-shadow: var(--shadow); }
.section-dark .enquiry { border-color: transparent; }
.contact-grid.is-single { grid-template-columns: 1fr; max-width: 640px; }
.contact-sub { color: var(--muted); }
.section-dark .contact-sub { color: var(--muted-dark); }
.section-dark .faq { color: var(--ink); }

/* Call to action strip */
.soc-cta { background: var(--signal); color: var(--white); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.soc-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
body:not(.soc-x) .soc-cta h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .2em; }
.soc-cta p { margin: 0; opacity: .9; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; color: var(--white); }

/* Header: keep labels on one line */
.site-nav .menu a, .brand-text span, .nav-cta { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1400px) {
	.nav-cta { display: none; }
	.site-nav .menu { gap: 1.1rem; }
}

/* Shop */
.soc-shop-content { margin-bottom: 2.5rem; }
.soc-shop-empty .empty-state { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.soc-shop-empty .empty-state .btn { margin: 0 .25rem; }
.soc-shop-cats-head { margin-bottom: 2rem; }
.soc-shop ul.products { margin-top: 1.5rem; }
.woocommerce .soc-shop ul.products li.product, .soc-shop ul.products li.product {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem 1.4rem; text-align: left;
	transition: transform .2s ease, box-shadow .2s ease;
}
.soc-shop ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.soc-shop ul.products li.product img { border-radius: var(--radius-sm); }
body:not(.soc-x) .soc-shop ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; color: var(--ink); padding: .6rem 0 .2rem; }
body:not(.soc-x) .soc-shop ul.products li.product .button, body:not(.soc-x) .soc-shop .single_add_to_cart_button { background: var(--signal); color: var(--white); border-radius: 999px; font-weight: 700; padding: .7rem 1.2rem; }
body:not(.soc-x) .soc-shop ul.products li.product .button:hover { background: var(--signal-dark); color: var(--white); }
.soc-shop .woocommerce-result-count, .soc-shop .woocommerce-ordering { margin-bottom: 0; }
.soc-shop .woocommerce-ordering select { padding: .55rem .8rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--white); }
.woocommerce .soc-shop span.onsale, .soc-shop span.onsale { background: var(--lime); color: var(--ink); font-weight: 800; }

/* Normal pages */
.container.is-wide { max-width: var(--container); }
.page-main > .entry.section { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* Full-width Elementor pages */
.soc-elementor-main { display: block; }
.elementor-widget-container > .soc-block:first-child { margin-top: 0; }

/* WooCommerce basics */
.soc-shop .woocommerce-products-header__title, .soc-shop .product_title { font-family: var(--font-head); text-transform: uppercase; }
.soc-shop ul.products li.product .button, .soc-shop .single_add_to_cart_button, .woocommerce .soc-shop a.button {
	background: var(--signal); color: var(--white); border-radius: 999px; font-weight: 700;
}
.soc-shop ul.products li.product .price, .soc-shop p.price { color: var(--ink); font-weight: 700; }

@media (max-width: 1024px) {
	.cards.soc-cols-4, .tips.soc-cols-4 { grid-template-columns: repeat(2, 1fr); }
	.cards.soc-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.cards.soc-cols-2, .cards.soc-cols-3, .cards.soc-cols-4, .tips.soc-cols-2, .tips.soc-cols-4 { grid-template-columns: 1fr; }
	.soc-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* Keep theme colours when a page-builder kit sets global link/button styles */
body:not(.soc-x) .btn-primary { background: var(--signal); color: var(--white); }
body:not(.soc-x) .btn-primary:hover { background: var(--signal-dark); color: var(--white); }
body:not(.soc-x) .btn-outline, body:not(.soc-x) .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
body:not(.soc-x) .btn-outline:hover, body:not(.soc-x) .btn-ghost:hover { background: var(--ink); color: var(--white); }
body:not(.soc-x) .section-dark .btn-outline { color: var(--white); border-color: var(--white); }
body:not(.soc-x) .section-dark .btn-outline:hover { background: var(--white); color: var(--ink); }
body:not(.soc-x) .plan.is-featured .btn-primary { color: var(--white); }
body:not(.soc-x) .btn-dark { background: var(--ink); color: var(--white); }
body:not(.soc-x) .btn-whatsapp { background: #25d366; color: #0b2b17; }
body:not(.soc-x) .card-link, body:not(.soc-x) .card .h3 a { color: var(--ink); }
body:not(.soc-x) .card-link:hover { color: var(--signal-dark); }
body:not(.soc-x) .site-footer a { color: var(--white); }
body:not(.soc-x) .site-footer a:hover { color: var(--lime); }
body:not(.soc-x) .brand-text { color: var(--ink); }
body:not(.soc-x) .footer-brand .brand-text { color: var(--white); }
body:not(.soc-x) .section-dark :is(h1, h2, h3), body:not(.soc-x) .plan.is-featured h3 { color: var(--white); }
body:not(.soc-x) .section-dark .card :is(h2, h3), body:not(.soc-x) .section-dark .faq, body:not(.soc-x) .section-dark .enquiry { color: var(--ink); }
body:not(.soc-x) .soc-block :is(h1, h2, h3, h4) { margin-top: 0; }
body:not(.soc-x) .enquiry .field :is(input, select, textarea) {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
	border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .95rem; box-shadow: none;
}
body:not(.soc-x) .enquiry .field :is(input, select, textarea):focus { border-color: var(--signal); background: var(--white); outline: none; }
body:not(.soc-x) .enquiry button.btn-primary { border: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.card.reveal.is-in:hover { transform: translateY(-4px); }
.plan.is-featured.reveal.is-in { transform: translateY(-10px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.hero-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
	.hero-visual { order: -1; aspect-ratio: 4 / 3; }
	.badge-card { left: 12px; bottom: 12px; }
	.levels { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; border-top: 0; }
	.levels li { border-top: 2px solid var(--ink); }
	.pricing { grid-template-columns: 1fr; max-width: 480px; }
	.plan.is-featured, .plan.is-featured.reveal.is-in { transform: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	body, body:not(.soc-x) { font-size: 1rem; }
	.brand-text { font-size: 1.25rem; gap: .5rem; }
	.brand-mark { width: 30px; height: 30px; }
	.badge-card { display: none; }
	.cards, .steps { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.levels { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero-actions .btn { flex: 1 1 100%; }
}
.hub-tile.reveal.is-in:hover, .shop-card.reveal.is-in:hover { transform: translateY(-4px); }
