/* ==========================================================================
   Cool Embroidery — Course 2
   Visual recreation of the Jupiter X "Course 2" template.
   Palette and type scale sampled from the live demo's Elementor kit CSS.
   ========================================================================== */

:root {
	/* Palette — sampled from jupiterx.artbees.net/course-2 */
	--c2-indigo:      #2c234d;
	--c2-indigo-soft: #3d3266;
	--c2-mint:        #0ee49d;
	--c2-mint-dark:   #0bc686;
	--c2-mint-tint:   rgba(14, 228, 157, 0.12);
	--c2-tint:        #eff7ff;
	--c2-cream:       #fdf9f8;
	--c2-amber:       #fdb223;
	--c2-blue:        #3460fb;
	--c2-body:        #677294;
	--c2-muted:       #aeb4ba;
	--c2-line:        #e6e9f0;
	--c2-white:       #ffffff;

	/* Shape */
	--c2-radius:      30px;
	--c2-radius-sm:   16px;
	--c2-pill:        100px;
	--c2-shadow:      0 30px 60px rgba(44, 35, 77, 0.07);
	--c2-shadow-lift: 0 36px 70px rgba(44, 35, 77, 0.13);

	/* Rhythm */
	--c2-section-y:   clamp(64px, 8vw, 110px);
	--c2-gap:         28px;
	--c2-container:   1200px;
}

/* ── Base ───────────────────────────────────────────────────────────────── */

body.c2 {
	margin: 0;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.75;
	color: var(--c2-body);
	background: var(--c2-white);
	-webkit-font-smoothing: antialiased;
}

body.c2 h1,
body.c2 h2,
body.c2 h3,
body.c2 h4 {
	margin: 0 0 0.5em;
	color: var(--c2-indigo);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

body.c2 p { margin: 0 0 1.1em; }
body.c2 a { color: var(--c2-indigo); text-decoration: none; transition: color .2s ease; }
body.c2 a:hover { color: var(--c2-mint-dark); }
body.c2 img { max-width: 100%; height: auto; display: block; }
body.c2 svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.c2-container {
	width: 100%;
	max-width: var(--c2-container);
	margin-inline: auto;
	padding-inline: 20px;
	box-sizing: border-box;
}

.c2-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--c2-indigo);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 12px 0;
}
.c2-skip:focus { left: 0; color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}

/* ── Placeholder marking ────────────────────────────────────────────────── */

.c2-placeholder { font-style: italic; }

/* Add ?c2-placeholders=1 to any URL to highlight every Lorem Ipsum string. */
body.c2-show-placeholders .c2-placeholder {
	background: rgba(253, 178, 35, 0.22);
	outline: 1px dashed var(--c2-amber);
	outline-offset: 2px;
	border-radius: 3px;
}
body.c2-show-placeholders [data-c2-placeholder-section] {
	outline: 2px dashed var(--c2-amber);
	outline-offset: -6px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.c2-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 30px;
	border: 2px solid transparent;
	border-radius: var(--c2-pill);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.c2-btn svg { width: 17px; height: 17px; }

.c2-btn--primary {
	background: var(--c2-mint);
	border-color: var(--c2-mint);
	color: var(--c2-indigo);
	box-shadow: 0 12px 26px rgba(14, 228, 157, 0.32);
}
.c2-btn--primary:hover {
	background: var(--c2-mint-dark);
	border-color: var(--c2-mint-dark);
	color: var(--c2-indigo);
	transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(14, 228, 157, 0.42);
}

.c2-btn--outline {
	border-color: var(--c2-indigo);
	color: var(--c2-indigo);
	background: transparent;
}
.c2-btn--outline:hover {
	background: var(--c2-indigo);
	color: #fff;
	transform: translateY(-2px);
}

.c2-btn--ghost {
	background: transparent;
	color: var(--c2-indigo);
	padding-inline: 14px;
	font-weight: 500;
}
.c2-btn--ghost:hover { color: var(--c2-mint-dark); }

.c2-btn--link {
	background: none;
	padding: 13px 4px;
	color: var(--c2-indigo);
}
.c2-btn--link:hover svg { transform: translateX(4px); }
.c2-btn--link svg { transition: transform .18s ease; }

.c2-btn--lg { padding: 17px 38px; font-size: 16px; }
.c2-btn--block { display: flex; width: 100%; }

/* ── Header ─────────────────────────────────────────────────────────────── */

.c2-header {
	position: sticky;
	top: 0;
	z-index: 120;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--c2-line);
}
.c2-header.is-stuck { box-shadow: 0 10px 30px rgba(44, 35, 77, 0.07); }

.c2-header__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 82px;
}

.c2-brand { display: flex; align-items: center; flex: 0 0 auto; }
.c2-brand__logo { width: auto; max-height: 46px; }
.c2-brand__text { font-weight: 700; font-size: 19px; color: var(--c2-indigo); }

.c2-nav { margin-inline: auto; }
.c2-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.c2-nav__list li { position: relative; }
.c2-nav__list a {
	display: block;
	padding: 9px 12px;
	border-radius: var(--c2-pill);
	font-size: 14.5px;
	font-weight: 500;
	white-space: nowrap;
	color: var(--c2-indigo);
}
.c2-nav__list a:hover { background: var(--c2-tint); }
.c2-nav__list .current-menu-item > a,
.c2-nav__list .current_page_item > a {
	background: var(--c2-mint-tint);
	color: var(--c2-indigo);
}

/* Sub-menus */
.c2-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	margin: 8px 0 0;
	padding: 10px;
	list-style: none;
	background: #fff;
	border-radius: var(--c2-radius-sm);
	box-shadow: var(--c2-shadow-lift);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all .2s ease;
}
.c2-nav__list li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.c2-header__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.c2-header__phone { font-size: 14px; }

.c2-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px; height: 46px;
	padding: 0;
	background: var(--c2-tint);
	border: 0;
	border-radius: 14px;
	cursor: pointer;
}
.c2-burger span {
	display: block;
	height: 2px;
	width: 20px;
	margin-inline: auto;
	background: var(--c2-indigo);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.c2-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.c2-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.c2-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.c2-mobile {
	position: sticky;
	top: 82px;
	z-index: 119;
	padding: 18px 20px 26px;
	background: #fff;
	border-bottom: 1px solid var(--c2-line);
	box-shadow: var(--c2-shadow);
}
.c2-mobile[hidden] { display: none; }
.c2-nav__list--mobile { flex-direction: column; align-items: stretch; gap: 2px; margin-bottom: 16px; }
.c2-nav__list--mobile a { padding: 12px 14px; border-radius: 12px; }
.c2-nav__list--mobile .sub-menu {
	position: static;
	opacity: 1; visibility: visible; transform: none;
	box-shadow: none; padding: 0 0 0 14px; margin: 0;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.c2-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--c2-tint) 0%, #fff 100%);
	padding-block: clamp(50px, 7vw, 92px) clamp(60px, 8vw, 104px);
}
.c2-hero__blob {
	position: absolute;
	top: -180px; right: -160px;
	width: 620px; height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(14,228,157,.22), rgba(52,96,251,.07) 60%, transparent 70%);
	pointer-events: none;
}
.c2-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(30px, 5vw, 64px);
}

.c2-eyebrow {
	display: inline-block;
	margin: 0 0 14px;
	padding: 6px 16px;
	background: var(--c2-mint-tint);
	border-radius: var(--c2-pill);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--c2-indigo);
}

.c2-hero__title {
	font-size: clamp(34px, 4.6vw, 60px);
	line-height: 1.22;
	margin-bottom: 18px;
}
.c2-hero__text {
	font-size: clamp(16px, 1.4vw, 18px);
	max-width: 56ch;
	margin-bottom: 28px;
}
.c2-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 30px;
}

.c2-searchbar {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 520px;
	padding: 8px 8px 8px 20px;
	background: #fff;
	border: 1px solid var(--c2-line);
	border-radius: var(--c2-pill);
	box-shadow: var(--c2-shadow);
}
.c2-searchbar svg { width: 19px; height: 19px; color: var(--c2-muted); flex: 0 0 auto; }
.c2-searchbar input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 0;
	border: 0;
	outline: 0;
	font: inherit;
	font-size: 15px;
	color: var(--c2-indigo);
	background: transparent;
}
.c2-searchbar input::placeholder { color: var(--c2-muted); }

.c2-hero__media { position: relative; }
.c2-hero__media img {
	width: 100%;
	border-radius: var(--c2-radius);
	box-shadow: var(--c2-shadow-lift);
}
.c2-hero__card {
	position: absolute;
	left: -18px;
	bottom: 26px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 22px 14px 16px;
	background: #fff;
	border-radius: 20px;
	box-shadow: var(--c2-shadow-lift);
}
.c2-hero__card-dot {
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--c2-mint);
	box-shadow: 0 0 0 6px var(--c2-mint-tint);
}
.c2-hero__card strong { display: block; color: var(--c2-indigo); font-size: 17px; line-height: 1.2; }
.c2-hero__card small { color: var(--c2-muted); font-size: 12.5px; }

/* ── Stats strip ────────────────────────────────────────────────────────── */

.c2-stats { padding-block: 10px 0; }
.c2-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	padding: 34px;
	background: var(--c2-indigo);
	border-radius: var(--c2-radius);
	box-shadow: var(--c2-shadow-lift);
}
.c2-stat { text-align: center; padding-inline: 10px; }
.c2-stat + .c2-stat { border-left: 1px solid rgba(255,255,255,.12); }
.c2-stat__figure {
	display: block;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 600;
	color: var(--c2-mint);
	line-height: 1.2;
}
.c2-stat__label { display: block; margin-top: 4px; font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.5; }

/* ── Sections ───────────────────────────────────────────────────────────── */

.c2-section { padding-block: var(--c2-section-y); }
.c2-section--tint { background: var(--c2-cream); }
.c2-section--dark { background: var(--c2-indigo); }

.c2-section__head { max-width: 760px; margin: 0 auto clamp(34px, 4vw, 56px); text-align: center; }
.c2-section__head--left { text-align: left; margin-inline: 0; }
body.c2 .c2-section__head--light .c2-section__title,
body.c2 .c2-section--dark h2,
body.c2 .c2-section--dark h3 { color: #fff; }
.c2-section__head--light .c2-section__lead { color: rgba(255,255,255,.7); }
.c2-section__head--light .c2-eyebrow { background: rgba(255,255,255,.12); color: var(--c2-mint); }

.c2-section__title { font-size: clamp(26px, 3.1vw, 40px); margin-bottom: 14px; }
.c2-section__lead { font-size: 16.5px; margin: 0; }
.c2-section__foot { margin-top: clamp(30px, 4vw, 48px); text-align: center; }

/* ── Grids ──────────────────────────────────────────────────────────────── */

.c2-grid { display: grid; gap: var(--c2-gap); }
.c2-grid--4 { grid-template-columns: repeat(4, 1fr); }
.c2-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ── Category cards ─────────────────────────────────────────────────────── */

.c2-cat {
	display: block;
	padding: 32px 26px;
	background: #fff;
	border: 1px solid var(--c2-line);
	border-radius: var(--c2-radius);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.c2-cat:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: var(--c2-shadow-lift);
}
.c2-cat__icon {
	display: grid;
	place-items: center;
	width: 60px; height: 60px;
	margin-bottom: 20px;
	background: var(--c2-mint-tint);
	border-radius: 18px;
	color: var(--c2-indigo);
}
.c2-cat:hover .c2-cat__icon { background: var(--c2-mint); }
.c2-cat__icon svg { width: 26px; height: 26px; }
.c2-cat__title { font-size: 17px; margin-bottom: 8px; }
.c2-cat__text { font-size: 14.5px; line-height: 1.68; margin: 0; }

/* ── Service cards ──────────────────────────────────────────────────────── */

.c2-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: clamp(30px, 4vw, 48px);
}
.c2-tab {
	padding: 10px 24px;
	background: #fff;
	border: 1px solid var(--c2-line);
	border-radius: var(--c2-pill);
	font: inherit;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--c2-body);
	cursor: pointer;
	transition: all .18s ease;
}
.c2-tab:hover { border-color: var(--c2-mint); color: var(--c2-indigo); }
.c2-tab.is-active {
	background: var(--c2-indigo);
	border-color: var(--c2-indigo);
	color: #fff;
}

.c2-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--c2-line);
	border-radius: var(--c2-radius);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.c2-card:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: var(--c2-shadow-lift);
}
.c2-card[hidden] { display: none; }
.c2-card__media {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	padding: 16px;
	background: var(--c2-tint);
}
.c2-card__media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .4s ease; }
.c2-card:hover .c2-card__media img { transform: scale(1.05); }
.c2-card__body { padding: 24px 26px 6px; flex: 1 1 auto; }
.c2-card__title { font-size: 18px; margin-bottom: 10px; }
.c2-card__text { font-size: 14.5px; line-height: 1.68; margin: 0; }
.c2-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 26px 24px;
}
.c2-chip {
	min-width: 0;
	padding: 5px 13px;
	background: var(--c2-tint);
	border-radius: var(--c2-pill);
	font-size: 12px;
	font-weight: 500;
	color: var(--c2-indigo);
}
.c2-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; flex: 0 0 auto; }
.c2-card__more svg { width: 15px; height: 15px; transition: transform .18s ease; }
.c2-card__more:hover svg { transform: translateX(3px); }

/* ── Promo band ─────────────────────────────────────────────────────────── */

.c2-promo {
	padding-block: var(--c2-section-y);
	background: var(--c2-indigo);
	color: rgba(255,255,255,.76);
}
.c2-promo__inner {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(30px, 5vw, 66px);
	align-items: center;
}
body.c2 .c2-promo__title { color: #fff; font-size: clamp(24px, 2.9vw, 36px); }
.c2-promo__text { margin-bottom: 26px; }
.c2-promo__formats {
	padding: 30px 32px;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: var(--c2-radius);
}
body.c2 .c2-promo__formats-title { color: #fff; font-size: 16px; margin-bottom: 16px; }
.c2-promo__formats ul { margin: 0; padding: 0; list-style: none; }
.c2-promo__formats li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	font-size: 14.5px;
	border-bottom: 1px solid rgba(255,255,255,.09);
}
.c2-promo__formats li:last-child { border-bottom: 0; }
.c2-promo__formats strong { color: var(--c2-mint); font-weight: 600; }

/* ── Features ───────────────────────────────────────────────────────────── */

.c2-feature {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border-radius: var(--c2-radius);
	box-shadow: var(--c2-shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.c2-feature:hover { transform: translateY(-5px); box-shadow: var(--c2-shadow-lift); }
.c2-feature__media {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	background: var(--c2-tint);
	padding: 18px;
}
.c2-feature__media img { max-height: 100%; width: auto; object-fit: contain; }
.c2-feature__body { padding: 26px 28px 30px; }
.c2-feature__title { font-size: 17px; margin-bottom: 10px; }
.c2-feature__text { font-size: 14.5px; line-height: 1.7; margin: 0; }

/* ── Steps ──────────────────────────────────────────────────────────────── */

.c2-steps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: c2step;
}
.c2-step {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 20px 30px;
	background: #fff;
	border: 1px solid var(--c2-line);
	border-radius: var(--c2-radius-sm);
	box-shadow: var(--c2-shadow);
}
.c2-step__n {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 44px; height: 44px;
	margin-bottom: 16px;
	background: var(--c2-indigo);
	border-radius: 50%;
	color: var(--c2-mint);
	font-size: 14px;
	font-weight: 600;
}
.c2-step__title { font-size: 15.5px; margin-bottom: 8px; }
.c2-step__text { font-size: 13.6px; line-height: 1.62; margin: 0; }

/* ── Testimonials ───────────────────────────────────────────────────────── */

.c2-quote {
	margin: 0;
	padding: 34px 30px;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: var(--c2-radius);
}
.c2-quote__mark {
	display: block;
	margin-bottom: 2px;
	font-size: 58px;
	line-height: 1;
	font-weight: 700;
	color: var(--c2-mint);
}
.c2-quote blockquote { margin: 0 0 20px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.8; }
.c2-quote figcaption { display: flex; flex-direction: column; gap: 2px; }
body.c2 .c2-quote__name { color: #fff; font-weight: 600; font-size: 15px; }
.c2-quote__role { color: var(--c2-muted); font-size: 13px; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.c2-faq__wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.c2-faq__wrap .c2-section__head { margin-bottom: 0; position: sticky; top: 110px; }

.c2-accordion { display: flex; flex-direction: column; gap: 14px; }
.c2-acc { background: #fff; border: 1px solid var(--c2-line); border-radius: var(--c2-radius-sm); overflow: hidden; }
.c2-acc__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	padding: 20px 24px;
	background: none;
	border: 0;
	font: inherit;
	font-size: 15.5px;
	font-weight: 500;
	text-align: left;
	color: var(--c2-indigo);
	cursor: pointer;
}
.c2-acc__icon { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.c2-acc__icon::before,
.c2-acc__icon::after {
	content: "";
	position: absolute;
	inset: 50% 0 auto 0;
	height: 2px;
	background: var(--c2-indigo);
	border-radius: 2px;
	transition: transform .2s ease;
}
.c2-acc__icon::after { transform: rotate(90deg); }
.c2-acc.is-open .c2-acc__icon::after { transform: rotate(0); }
.c2-acc__a { display: none; padding: 0 24px 22px; font-size: 14.8px; line-height: 1.75; }
.c2-acc.is-open .c2-acc__a { display: block; }
.c2-acc__a p { margin: 0; }

/* ── Blog cards ─────────────────────────────────────────────────────────── */

.c2-post {
	padding: 30px 28px;
	background: #fff;
	border: 1px solid var(--c2-line);
	border-radius: var(--c2-radius);
	transition: transform .2s ease, box-shadow .2s ease;
}
.c2-post:hover { transform: translateY(-5px); box-shadow: var(--c2-shadow-lift); }
.c2-post.is-placeholder { background: repeating-linear-gradient(135deg, #fff, #fff 12px, var(--c2-cream) 12px, var(--c2-cream) 24px); }
.c2-post__date { display: block; margin-bottom: 10px; font-size: 13px; color: var(--c2-muted); }
.c2-post__title { font-size: 18px; margin-bottom: 10px; }
.c2-post__excerpt { font-size: 14.5px; line-height: 1.7; margin: 0; }

/* ── Bottom CTA ─────────────────────────────────────────────────────────── */

.c2-cta { padding-block: 0 var(--c2-section-y); }
.c2-cta__box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 26px;
	padding: clamp(34px, 4.5vw, 58px);
	background: linear-gradient(120deg, var(--c2-tint) 0%, #e8f7f1 100%);
	border-radius: var(--c2-radius);
}
.c2-cta__title { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 8px; }
.c2-cta__text { margin: 0; max-width: 56ch; }

/* ── Footer ─────────────────────────────────────────────────────────────── */

.c2-footer { background: var(--c2-indigo); color: rgba(255,255,255,.66); padding-block: clamp(50px, 6vw, 80px) 28px; }
.c2-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(26px, 3.5vw, 50px); }
.c2-footer__logo { max-height: 44px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .92; }
.c2-footer__blurb { font-size: 14.3px; line-height: 1.75; }
body.c2 .c2-footer__heading { color: #fff; font-size: 15.5px; margin-bottom: 16px; }
.c2-footer__heading--spaced { margin-top: 26px; }
.c2-footer__links,
.c2-footer__contact { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.c2-footer__links a,
.c2-footer__contact a { color: rgba(255,255,255,.66); font-size: 14.3px; }
.c2-footer__links a:hover,
.c2-footer__contact a:hover { color: var(--c2-mint); }
.c2-footer__contact { font-size: 14.3px; line-height: 1.6; }
.c2-footer__social-note { font-size: 13.5px; color: rgba(255,255,255,.5); margin: 0; }
.c2-footer__bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: clamp(34px, 4vw, 56px);
	padding-top: 22px;
	border-top: 1px solid rgba(255,255,255,.1);
	font-size: 13.5px;
}
.c2-footer__bottom p { margin: 0; }
.c2-footer__bottom a { color: rgba(255,255,255,.66); }
.c2-footer__bottom a:hover { color: var(--c2-mint); }

/* ── Inner pages ────────────────────────────────────────────────────────── */

.c2-pagehead {
	padding-block: clamp(40px, 5vw, 70px);
	background: linear-gradient(180deg, var(--c2-tint) 0%, #fff 100%);
	border-bottom: 1px solid var(--c2-line);
}
.c2-pagehead__title { font-size: clamp(27px, 3.4vw, 44px); margin: 0; }

.c2-page__body { padding-block: var(--c2-section-y); }
.c2-page__body h2 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 1.6em; }
.c2-page__body h3 { font-size: 19px; margin-top: 1.4em; }
.c2-page__body ul, .c2-page__body ol { padding-left: 22px; }
.c2-page__body li { margin-bottom: .5em; }

.c2-empty { padding-block: 40px; font-size: 16.5px; }
.c2-pagination { margin-top: 40px; }

/* ── Elementor pages: restyle in place, never rebuild ───────────────────── */

.c2-page--builder .elementor-heading-title { color: var(--c2-indigo); font-family: "Poppins", sans-serif; }
.c2-page--builder .elementor-widget-text-editor,
.c2-page--builder .elementor-widget-icon-box,
.c2-page--builder .elementor-widget-image-box { color: var(--c2-body); font-family: "Poppins", sans-serif; }
.c2-page--builder .elementor-button {
	border-radius: var(--c2-pill) !important;
	background-color: var(--c2-mint) !important;
	color: var(--c2-indigo) !important;
	font-weight: 600 !important;
	box-shadow: 0 12px 26px rgba(14, 228, 157, .3);
	transition: transform .18s ease, box-shadow .18s ease;
}
.c2-page--builder .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(14,228,157,.4); }
.c2-page--builder .elementor-image-box-wrapper,
.c2-page--builder .elementor-icon-box-wrapper {
	padding: 26px 22px;
	background: #fff;
	border: 1px solid var(--c2-line);
	border-radius: var(--c2-radius-sm);
	height: 100%;
	box-sizing: border-box;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.c2-page--builder .elementor-image-box-wrapper:hover,
.c2-page--builder .elementor-icon-box-wrapper:hover {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: var(--c2-shadow-lift);
}
.c2-page--builder .elementor-image-box-img img { border-radius: 14px; }
.c2-page--builder .elementor-image-box-title,
.c2-page--builder .elementor-icon-box-title { color: var(--c2-indigo) !important; font-size: 17px !important; }
.c2-page--builder .elementor-accordion .elementor-tab-title,
.c2-page--builder .elementor-toggle .elementor-tab-title { color: var(--c2-indigo); font-weight: 500; }

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
	.c2-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.c2-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.c2-steps { grid-template-columns: repeat(3, 1fr); }
	.c2-promo__inner { grid-template-columns: 1fr; }
	.c2-faq__wrap { grid-template-columns: 1fr; }
	.c2-footer__grid { grid-template-columns: repeat(2, 1fr); }
	.c2-nav, .c2-header__phone { display: none; }
	.c2-burger { display: flex; }
}

@media (max-width: 860px) {
	.c2-hero__inner { grid-template-columns: 1fr; }
	.c2-hero__media { order: -1; max-width: 460px; }
	.c2-hero__card { left: auto; right: 14px; }
	.c2-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; }
	.c2-stat:nth-child(3) { border-left: 0; }
	.c2-cta__box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
	:root { --c2-radius: 22px; --c2-gap: 18px; }
	.c2-grid--4, .c2-grid--3 { grid-template-columns: 1fr; }
	.c2-steps { grid-template-columns: 1fr; }
	.c2-footer__grid { grid-template-columns: 1fr; }
	.c2-header__actions .c2-btn--primary { display: none; }
	.c2-header__inner { min-height: 70px; gap: 14px; }
	.c2-mobile { top: 70px; }
	.c2-searchbar { flex-wrap: wrap; border-radius: 24px; padding: 14px 16px; }
	.c2-searchbar .c2-btn { width: 100%; }
	.c2-stat + .c2-stat { border-left: 0; }
	.c2-footer__bottom { flex-direction: column; }
}

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

/* ==========================================================================
   Elementor pages — reskin layer
   Elementor writes per-element CSS with very high specificity
   (.elementor-6207 .elementor-element-xxx .elementor-heading-title{…}).
   To bring pages 6207 / 6272 / 5644 / 3 into the Course 2 palette without
   touching a single row of _elementor_data, these rules override the
   generated colours and type. Content, structure and links are untouched.
   ========================================================================== */

.c2-page--builder,
.c2-page--builder .elementor-widget-container,
.c2-page--builder .elementor-heading-title,
.c2-page--builder .elementor-image-box-title,
.c2-page--builder .elementor-icon-box-title,
.c2-page--builder .elementor-image-box-description,
.c2-page--builder .elementor-icon-box-description,
.c2-page--builder .elementor-widget-text-editor,
.c2-page--builder .elementor-tab-title,
.c2-page--builder .elementor-tab-content,
.c2-page--builder .elementor-button {
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* Headings → brand indigo */
.c2-page--builder .elementor-heading-title,
.c2-page--builder .elementor-image-box-title,
.c2-page--builder .elementor-icon-box-title,
.c2-page--builder .elementor-tab-title,
.c2-page--builder .elementor-tab-title a {
	color: var(--c2-indigo) !important;
	letter-spacing: -0.015em;
}

/* Body copy → brand body grey */
.c2-page--builder .elementor-widget-text-editor,
.c2-page--builder .elementor-widget-text-editor p,
.c2-page--builder .elementor-image-box-description,
.c2-page--builder .elementor-icon-box-description,
.c2-page--builder .elementor-tab-content,
.c2-page--builder .elementor-tab-content p {
	color: var(--c2-body) !important;
	line-height: 1.75 !important;
}

/* Inline links keep an accent, not the old blue */
.c2-page--builder .elementor-widget-text-editor a { color: var(--c2-mint-dark) !important; }

/* Accordions / toggles */
.c2-page--builder .elementor-accordion .elementor-tab-title,
.c2-page--builder .elementor-toggle .elementor-tab-title {
	background: #fff !important;
	border: 1px solid var(--c2-line) !important;
	border-radius: var(--c2-radius-sm) !important;
	margin-bottom: 10px;
}
.c2-page--builder .elementor-accordion .elementor-tab-content,
.c2-page--builder .elementor-toggle .elementor-tab-content {
	background: #fff !important;
	border: 1px solid var(--c2-line) !important;
	border-top: 0 !important;
	border-radius: 0 0 var(--c2-radius-sm) var(--c2-radius-sm) !important;
}

/* ==========================================================================
   Overflow containment
   Grid and flex children default to min-width:auto, so a long word or a wide
   child can push a track past the viewport. These rules keep every section
   inside the screen on small devices.
   ========================================================================== */

body.c2 { overflow-x: hidden; }

.c2-hero__inner > *,
.c2-grid > *,
.c2-steps > *,
.c2-stats__grid > *,
.c2-promo__inner > *,
.c2-faq__wrap > *,
.c2-footer__grid > *,
.c2-card__foot > *,
.c2-header__inner > * {
	min-width: 0;
}

.c2-stats__grid,
.c2-promo__formats,
.c2-cta__box { max-width: 100%; box-sizing: border-box; }

.c2-hero__title,
.c2-section__title,
.c2-promo__title,
.c2-cta__title,
.c2-pagehead__title { overflow-wrap: break-word; }

.c2-footer__contact li,
.c2-footer__links a { overflow-wrap: anywhere; }

@media (max-width: 680px) {
	.c2-eyebrow { font-size: 11.5px; padding: 5px 13px; letter-spacing: .03em; }
	.c2-hero { padding-block: 34px 48px; }
	.c2-hero__media { max-width: 100%; }
	.c2-hero__card { right: 10px; bottom: 14px; padding: 10px 16px 10px 12px; }
	.c2-hero__card strong { font-size: 15px; }
	.c2-hero__actions { gap: 10px; }
	.c2-hero__actions .c2-btn--primary { flex: 1 1 100%; }
	.c2-stats__grid { padding: 24px 18px; }
	.c2-card__foot { flex-wrap: wrap; }
}

/* ── Header/hero refinements at tablet width ────────────────────────────── */

/* With the nav hidden below 1200px its auto margin disappears, so push the
   action buttons to the right explicitly. */
.c2-header__actions { margin-left: auto; }

@media (max-width: 1200px) {
	.c2-hero__media { margin-inline: auto; }
	.c2-hero__copy { text-align: left; }
}

@media (max-width: 860px) {
	.c2-hero__media { max-width: 520px; width: 100%; }
}

/* ==========================================================================
   Top utility bar — contact details + /mycms/ customer account links
   ========================================================================== */

.c2-topbar {
	background: var(--c2-indigo);
	color: rgba(255, 255, 255, 0.72);
	font-size: 13.5px;
}
.c2-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 44px;
}

.c2-topbar__contact {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}
.c2-topbar__contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.72);
	white-space: nowrap;
}
.c2-topbar__contact a:hover { color: var(--c2-mint); }
.c2-topbar__contact svg { width: 15px; height: 15px; flex: 0 0 auto; }

/* Account links */
.c2-account { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.c2-account__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: var(--c2-pill);
	font-weight: 500;
	color: rgba(255, 255, 255, 0.86);
	white-space: nowrap;
	transition: background-color .18s ease, color .18s ease;
}
.c2-account__link:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.c2-account__link svg { width: 15px; height: 15px; }

.c2-account__btn {
	padding: 6px 18px;
	border: 1px solid var(--c2-mint);
	border-radius: var(--c2-pill);
	font-weight: 600;
	color: var(--c2-mint);
	white-space: nowrap;
	transition: background-color .18s ease, color .18s ease;
}
.c2-account__btn:hover { background: var(--c2-mint); color: var(--c2-indigo); }

/* Sticky behaviour: only the main bar sticks, the utility bar scrolls away. */
.c2-header { position: relative; top: auto; }
.c2-header__bar {
	position: sticky;
	top: 0;
	z-index: 120;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--c2-line);
}
.c2-header.is-stuck .c2-header__bar { box-shadow: 0 10px 30px rgba(44, 35, 77, 0.07); }

/* Mobile account buttons inside the slide-down panel */
.c2-mobile__account { display: flex; gap: 10px; margin-bottom: 12px; }
.c2-mobile__account .c2-btn { flex: 1 1 0; padding-inline: 12px; }

@media (max-width: 1200px) {
	.c2-mobile { top: 0; }
}

@media (max-width: 860px) {
	.c2-topbar__email { display: none; }
}

@media (max-width: 680px) {
	.c2-topbar { font-size: 12.5px; }
	.c2-topbar__inner { min-height: 40px; gap: 10px; }
	.c2-account__link { padding: 5px 8px; }
	.c2-account__btn { padding: 5px 14px; }
}

/* The slide-down panel sits in normal flow directly beneath the sticky header
   bar; making it sticky too would let the two overlap while scrolling. */
.c2-mobile { position: static; }

/* Specificity: `body.c2 a` (0,1,1) outranks a bare class, which rendered the
   top-bar links indigo-on-indigo. Scope them to body.c2 so they win. */
body.c2 .c2-topbar__contact a { color: rgba(255, 255, 255, 0.72); }
body.c2 .c2-topbar__contact a:hover { color: var(--c2-mint); }
body.c2 .c2-account__link { color: rgba(255, 255, 255, 0.86); }
body.c2 .c2-account__link:hover { color: #fff; }
body.c2 .c2-account__btn { color: var(--c2-mint); }
body.c2 .c2-account__btn:hover { color: var(--c2-indigo); }

/* ==========================================================================
   Elementor pages: restore the content width they were authored at
   --------------------------------------------------------------------------
   These pages were built while GeneratePress was active, and GeneratePress
   wrapped page content in a max-width container. A container set to
   "Full width" in Elementor was therefore never actually full-bleed — it was
   capped by the theme wrapper.

   This theme renders builder content without such a wrapper, so those
   containers ran to the viewport edge. On Contact US (page 5644) the top
   container is full-width while the body copy sits in a boxed one, so the
   "Contact Us" heading hung off the left edge while the text below stayed
   centred.

   Capping the builder area at Elementor's own content width (1140px, per
   kit 24) makes full and boxed containers line up exactly. Checked before
   applying: none of the builder pages (3, 5644, 6207, 6272) has a
   full-width container with a background, so nothing intended to span
   edge-to-edge is affected.
   ========================================================================== */

.c2-page__builder {
	max-width: 1140px;
	margin-inline: auto;
	box-sizing: border-box;
}

/* Below the content width, keep a gutter so full-width containers never
   touch the screen edge. */
@media (max-width: 1180px) {
	.c2-page__builder { padding-inline: 20px; }
}

@media (max-width: 680px) {
	.c2-page__builder { padding-inline: 16px; }
}

/* Builder pages start their content immediately under the sticky header,
   which reads as cramped. A small top inset applies to every Elementor page
   without touching the layouts themselves. */
.c2-page--builder { padding-top: 34px; }

@media (max-width: 680px) {
	.c2-page--builder { padding-top: 22px; }
}
