/* Learn Al-Quran Academy — 2026 redesign.
   Loaded after the theme CSS. Everything new is prefixed "lq-" so it does not
   collide with the (minified) theme styles in style.css / header.css. */

:root {
	--lq-green-dark: #0b5a3c;
	--lq-green: #0f7a4f;
	--lq-green-soft: #e7f3ec;
	--lq-gold: #f6b415;
	--lq-gold-dark: #e2a108;
	--lq-cream: #fdf7e8;
	--lq-cream-line: #efe4c8;
	--lq-ink: #1c2b25;
	--lq-muted: #55625c;
	--lq-line: #e6ebe8;

	/* one content width for the header, the hero row and every section */
	--lq-container: 1280px;
}

/* on very wide screens the hero photo scales up, so the row is widened to keep the form clear of the boy;
   everything else widens with it so the edges stay aligned */
@media only screen and (min-width: 1600px) {
	:root {
		--lq-container: 1480px;
	}
}

.lq-container {
	max-width: var(--lq-container);
	margin: 0 auto;
	padding: 0 20px;
}

/* the footer is old theme markup (1260px .auto-container); line it up with the sections above it */
.main-footer .auto-container {
	max-width: var(--lq-container);
	padding: 0 20px;
}

#cf,
#courses,
#how-it-works,
#teachers,
#packages,
#reviews {
	scroll-margin-top: 90px;
}

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

.lq-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 6px;
	font-family: 'Lexend', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.lq-btn:hover {
	transform: translateY(-1px);
}

.lq-btn--gold {
	background-color: var(--lq-gold);
	color: var(--lq-ink);
	box-shadow: 0 4px 10px rgba(226, 161, 8, .3);
}

.lq-btn--gold:hover {
	background-color: var(--lq-gold-dark);
	color: var(--lq-ink);
}

.lq-btn--green {
	background-color: var(--lq-green-dark);
	color: #fff;
}

.lq-btn--green:hover {
	background-color: #084a31;
	color: #fff;
}

.lq-btn--bordered {
	border-color: rgba(255, 255, 255, .75);
}

.lq-btn--outline {
	background-color: #fff;
	border-color: var(--lq-green-dark);
	color: var(--lq-green-dark);
}

.lq-btn--outline:hover {
	background-color: var(--lq-green-dark);
	color: #fff;
}

.lq-btn--line {
	padding: 7px 14px;
	border-width: 1.5px;
	border-color: var(--lq-green-dark);
	border-radius: 4px;
	background-color: transparent;
	color: var(--lq-green-dark);
	font-size: 13px;
}

.lq-btn--line:hover {
	background-color: var(--lq-green-dark);
	color: #fff;
}

.lq-btn--block {
	width: 100%;
}

/* Lead form button while the form is being sent (disabled by script.js so it is not submitted twice) */
.lq-btn:disabled,
.theme-btn:disabled {
	opacity: .7;
	cursor: wait;
	transform: none;
}

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

.main-header.lq-header {
	min-height: 0;
	background-color: #fff;
	font-family: 'Lexend', sans-serif;
}

/* the theme gives .header-upper a 90% width and a forced 40px bottom margin */
.main-header.lq-header .header-upper {
	width: 100%;
	margin: 0 !important;
	background-color: #fff;
}

.lq-header_inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 12px 0 10px;
}

.lq-header_logo img {
	display: block;
	width: auto;
	height: 76px;
}

.lq-header_right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	min-width: 0;
}

.lq-header_contacts {
	display: flex;
	align-items: center;
	gap: 28px;
}

.lq-header_contact {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--lq-ink);
	line-height: 1.25;
}

.lq-header_contact:hover {
	color: var(--lq-green);
}

.lq-header_contact + .lq-header_contact {
	padding-left: 28px;
	border-left: 1px solid var(--lq-line);
}

.lq-header_contact i {
	color: var(--lq-green-dark);
	font-size: 22px;
}

.lq-header_contact .fa-whatsapp {
	font-size: 28px;
}

.lq-header_contact strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
}

.lq-header_contact small {
	display: block;
	color: var(--lq-muted);
	font-size: 12px;
}

.lq-header_cta {
	padding: 10px 20px;
}

.lq-header_cta i {
	font-size: 20px;
}

.lq-header_bar {
	display: none;
}

.main-header.lq-header .main-menu .navigation > li {
	float: none;
	display: inline-block;
	margin: 0 0 0 30px;
	padding: 0;
}

.main-header.lq-header .main-menu .navigation > li:first-child {
	margin-left: 0;
}

.main-header.lq-header .main-menu .navigation > li > a {
	padding: 8px 0 6px;
	border-bottom: 2px solid transparent;
	color: var(--lq-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	text-transform: none;
}

.main-header.lq-header .main-menu .navigation > li > a::before,
.main-header.lq-header .main-menu .navigation > li > a::after {
	display: none;
}

.main-header.lq-header .main-menu .navigation > li:hover > a,
.main-header.lq-header .main-menu .navigation > li.current > a {
	border-bottom-color: var(--lq-green-dark);
	color: var(--lq-green-dark);
}

/* script.js wraps every menu letter in a span for the theme's roll-over effect; neutralise it
   (header and mobile drawer) so spaces in labels such as "Our Courses" survive */
.main-header.lq-header .main-menu .navigation > li > a .menu-text,
.main-header.lq-header .mobile-menu .navigation > li > a .menu-text {
	display: block;
	overflow: visible;
	text-shadow: none;
}

.main-header.lq-header .main-menu .navigation > li > a .menu-text span,
.main-header.lq-header .mobile-menu .navigation > li > a .menu-text span {
	display: inline;
	white-space: pre;
	transform: none !important;
}

.lq-header.fixed-header .header-upper {
	box-shadow: 0 2px 14px rgba(0, 0, 0, .1);
}

.lq-header.fixed-header .lq-header_inner {
	padding-top: 8px;
	padding-bottom: 8px;
}

.lq-header.fixed-header .lq-header_contacts {
	display: none;
}

.lq-header.fixed-header .lq-header_logo img {
	height: 46px;
}

/* ---------- Trial form card ---------- */

.lq-trial-card {
	padding: 22px 20px 20px;
	border-radius: 14px;
	background: linear-gradient(160deg, #0f7a4f 0%, #0b5a3c 55%, #084a31 100%);
	box-shadow: 0 14px 34px rgba(8, 60, 40, .28);
	color: #fff;
	font-family: 'Lexend', sans-serif;
	text-align: center;
}

.lq-trial-card_title {
	margin: 0 0 8px;
	color: #fff;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
}

.lq-trial-card_text {
	margin: 0 0 14px;
	color: rgba(255, 255, 255, .9);
	font-size: 13px;
	line-height: 1.45;
}

.lq-trial-card_form {
	margin: 0;
	padding: 16px;
	border-radius: 10px;
	background-color: #fff;
}

.lq-field {
	position: relative;
	display: block;
	margin: 0 0 12px;
}

.lq-field i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--lq-ink);
	font-size: 15px;
}

.lq-field .fa-whatsapp {
	font-size: 18px;
}

.lq-field input {
	display: block;
	width: 100%;
	height: 46px;
	padding: 0 12px 0 42px;
	border: 1px solid #d9e0dc;
	border-radius: 6px;
	background-color: #fff;
	color: var(--lq-ink);
	font-family: 'Lexend', sans-serif;
	font-size: 14px;
}

.lq-field input::placeholder {
	color: #6c7872;
}

.lq-field input:focus {
	border-color: var(--lq-green);
	outline: none;
	box-shadow: 0 0 0 3px rgba(15, 122, 79, .15);
}

.lq-trial-card_form .lq-btn {
	margin-top: 4px;
	padding: 13px 16px;
}

.lq-trial-card_safe {
	margin-top: 14px;
	color: var(--lq-ink);
	font-size: 13px;
	font-weight: 600;
}

.lq-trial-card_safe i {
	margin-right: 4px;
}

.lq-trial-card_note {
	margin-top: 8px;
	color: var(--lq-muted);
	font-size: 12px;
}

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

.lq-hero {
	position: relative;
	background: #f8f0e1 url(../images/home/hero-banner.jpg?v2) 78% 40% / cover no-repeat;
	font-family: 'Lexend', sans-serif;
}

.lq-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .78) 26%, rgba(255, 255, 255, 0) 50%);
}

.lq-hero_mobile-img {
	display: none;
}

.lq-hero_inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 44%) minmax(0, 1fr) 340px;
	align-items: center;
	gap: 20px;
	max-width: var(--lq-container);
	min-height: min(33.3vw, 620px);
	margin: 0 auto;
	padding: 30px 20px 34px;
}

.lq-hero_badge {
	display: inline-block;
	margin-bottom: 14px;
	padding: 5px 12px;
	border-radius: 20px;
	background-color: #dfeee6;
	color: var(--lq-green-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.3;
	text-transform: uppercase;
}

.lq-hero_title {
	margin: 0 0 14px;
	color: var(--lq-green-dark);
	font-size: clamp(36px, 4vw, 60px);
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.08;
}

.lq-hero_title span {
	display: block;
	color: #e9a80e;
}

.lq-hero_text {
	max-width: 520px;
	margin: 0 0 18px;
	color: var(--lq-ink);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
}

.lq-hero_features {
	display: flex;
	gap: 22px;
	margin: 0 0 20px;
}

.lq-hero_features li {
	color: var(--lq-ink);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}

.lq-hero_features i {
	display: block;
	margin-bottom: 6px;
	color: var(--lq-green-dark);
	font-size: 28px;
}

.lq-hero_buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.lq-hero_buttons .fa-whatsapp {
	font-size: 20px;
}

.lq-hero_note {
	align-self: start;
	justify-self: start;
	margin-top: 9%;
	color: #3a2c17;
	font-family: 'Caveat', cursive;
	font-size: clamp(20px, 1.8vw, 27px);
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	transform: rotate(-8deg);
}

.lq-hero_note i {
	color: #e9a80e;
	font-size: .7em;
}

/* ---------- Beginner / current level cards ---------- */

.lq-levels {
	padding: 26px 0 8px;
	background-color: #fff;
	font-family: 'Lexend', sans-serif;
}

.lq-levels_grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.lq-level {
	display: grid;
	grid-template-columns: 44% minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--lq-cream-line);
	border-radius: 12px;
	background-color: var(--lq-cream);
}

.lq-level_image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 200px;
	max-height: 240px;
	object-fit: cover;
	object-position: center 30%;
}

.lq-level_content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 18px 24px;
}

.lq-level_content h3 {
	margin: 0 0 8px;
	color: var(--lq-green-dark);
	font-size: clamp(20px, 1.9vw, 26px);
	font-weight: 700;
	line-height: 1.2;
}

.lq-level_content p {
	margin: 0 0 14px;
	color: var(--lq-ink);
	font-size: 15px;
	line-height: 1.45;
}

/* ---------- Generic section + title ---------- */

.lq-section {
	padding: 30px 0 34px;
	background-color: #fff;
	font-family: 'Lexend', sans-serif;
}

.lq-section--tint {
	background-color: #fffcf4;
}

.lq-title {
	margin-bottom: 22px;
	text-align: center;
}

.lq-title h2 {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	color: var(--lq-green-dark);
	font-size: clamp(22px, 2.3vw, 31px);
	font-weight: 700;
	line-height: 1.25;
}

.lq-title h2::before,
.lq-title h2::after {
	content: "";
	flex: none;
	width: 56px;
	height: 2px;
	background-color: var(--lq-gold);
}

.lq-title p {
	margin: 6px 0 0;
	color: var(--lq-ink);
	font-size: 15px;
	line-height: 1.5;
}

/* Old theme blocks pull themselves up over whatever is above them (.students-one by 80px,
   the .cta-one banner by 90px). After a new lq- section that covers the cards, so cancel it there. */
.lq-section + .students-one {
	margin-top: 0;
	padding-top: 40px;
}

.lq-section + .cta-one {
	padding-top: 50px;
}

.lq-section + .cta-one .auto-container {
	margin-top: 0;
}

/* Contact page info icons: the theme makes .contact-info_icon an 84px circle but never centres it
   or its icon (the icon now sits in an inner <i>, see contact.php) */
.contact-info_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

.contact-info_icon .fa-whatsapp {
	font-size: 36px;
}

/* ---------- Courses ---------- */

.lq-courses_grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
}

.lq-course {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--lq-line);
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0 4px 14px rgba(20, 50, 35, .06);
	text-align: center;
	transition: transform .25s ease, box-shadow .25s ease;
}

.lq-course:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(20, 50, 35, .12);
}

.lq-course_image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/* square chart image: keep its two headings and all six rows inside the 3:2 crop */
.lq-course_image--top img {
	object-position: center 12%;
}

.lq-course_body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	padding: 14px 12px 16px;
}

.lq-course_body h4 {
	margin: 0 0 6px;
	color: var(--lq-green-dark);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.lq-course_body p {
	flex: 1;
	margin: 0 0 12px;
	color: var(--lq-muted);
	font-size: 13px;
	line-height: 1.45;
}

/* ---------- Learning path ---------- */

.lq-path_grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 12px 0 0;
}

.lq-step {
	position: relative;
	padding: 20px 8px 14px;
	border: 1px solid var(--lq-line);
	border-radius: 10px;
	background-color: #fff;
	text-align: center;
}

.lq-step_num {
	position: absolute;
	left: -8px;
	top: -12px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: var(--lq-green-dark);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 30px;
}

.lq-step_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 58px;
	margin-bottom: 8px;
}

.lq-step_icon img {
	display: block;
	width: 56px;
	height: 56px;
}

/* step 2 is live text, not an image: four coloured Arabic letters, read right to left */
.lq-step_icon--arabic {
	gap: 6px;
	font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
	font-size: 34px;
	line-height: 1;
}

.lq-step_icon--arabic b:nth-child(1) { color: #128a3c; }
.lq-step_icon--arabic b:nth-child(2) { color: #e9a80e; }
.lq-step_icon--arabic b:nth-child(3) { color: #d42a2a; }
.lq-step_icon--arabic b:nth-child(4) { color: #1f55d6; }

.lq-step h4 {
	margin: 0 0 6px;
	color: var(--lq-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
}

.lq-step p {
	margin: 0;
	color: var(--lq-muted);
	font-size: 12px;
	line-height: 1.4;
}

/* Hover: the card lifts and picks up a green edge, the number turns gold and the icon pops */
.lq-step,
.lq-step_num,
.lq-step_icon,
.lq-step h4 {
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease, color .25s ease;
}

@media (hover: hover) {
	.lq-step:hover {
		border-color: var(--lq-green);
		box-shadow: 0 12px 26px rgba(11, 90, 60, .16);
		transform: translateY(-6px);
	}

	.lq-step:hover .lq-step_num {
		background-color: var(--lq-gold);
		color: var(--lq-ink);
		transform: scale(1.12);
	}

	.lq-step:hover .lq-step_icon {
		transform: scale(1.14);
	}

	.lq-step:hover h4 {
		color: var(--lq-green-dark);
	}
}

@media (prefers-reduced-motion: reduce) {
	.lq-step,
	.lq-step_num,
	.lq-step_icon {
		transition: none;
	}

	.lq-step:hover,
	.lq-step:hover .lq-step_num,
	.lq-step:hover .lq-step_icon {
		transform: none;
	}
}

.lq-step:not(:last-child)::after {
	content: "\f061";
	position: absolute;
	right: -14px;
	top: 50%;
	width: 12px;
	color: var(--lq-green-dark);
	font-family: "Font Awesome 6 Free";
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	text-align: center;
	transform: translateY(-50%);
}

/* ---------- Teachers ---------- */

.lq-teachers_grid {
	display: grid;
	grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.lq-teachers_photo {
	position: relative;
	overflow: hidden;
	min-height: 170px;
	border-radius: 12px;
}

.lq-teachers_photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
}

.lq-teachers_tag {
	position: absolute;
	left: 10px;
	bottom: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
	color: var(--lq-ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
}

.lq-teachers_tag i {
	color: var(--lq-gold);
	font-size: 20px;
}

.lq-quality {
	padding: 18px 12px 16px;
	border: 1px solid var(--lq-line);
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0 4px 14px rgba(20, 50, 35, .05);
	text-align: center;
}

.lq-quality > i {
	display: block;
	margin-bottom: 10px;
	color: var(--lq-green);
	font-size: 34px;
}

.lq-quality h4 {
	margin: 0 0 6px;
	color: var(--lq-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.lq-quality p {
	margin: 0;
	color: var(--lq-muted);
	font-size: 13px;
	line-height: 1.45;
}

/* ---------- Packages ---------- */

.lq-sibling-announcement {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: 960px;
	margin: 0 auto 20px;
	padding: 14px 22px;
	border: 1.5px solid #e7d6a5;
	border-radius: 60px;
	background: #ffffff;
	background: linear-gradient(135deg, #ffffff 0%, #fdf9ee 100%);
	box-shadow: 0 4px 18px rgba(180, 125, 0, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}

.lq-sibling-announcement:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(180, 125, 0, .14);
}

.lq-sibling-announcement_left {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.lq-sibling-announcement_tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex-shrink: 0;
	padding: 7px 15px;
	border-radius: 30px;
	background: radial-gradient(circle at 35% 30%, #ffd558 0%, #f6b415 60%, #e2a108 100%);
	box-shadow: 0 3px 8px rgba(180, 125, 0, .3);
	color: var(--lq-ink);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	line-height: 1;
}

.lq-sibling-announcement_tag i {
	font-size: 13px;
}

.lq-sibling-announcement_text {
	display: flex;
	flex-direction: column;
	text-align: left;
	line-height: 1.4;
}

.lq-sibling-announcement_text strong {
	color: var(--lq-green-dark);
	font-size: 15.5px;
	font-weight: 700;
}

.lq-sibling-announcement_text span {
	color: var(--lq-muted);
	font-size: 13.5px;
}

.lq-sibling-announcement_btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 10px 20px;
	border-radius: 30px;
	background-color: var(--lq-green-dark);
	color: #ffffff;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s ease, transform .2s ease;
}

.lq-sibling-announcement_btn:hover {
	background-color: var(--lq-green);
	color: #ffffff;
	transform: translateX(3px);
}

.lq-packages_footnote {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 28px auto 0;
	text-align: center;
	color: var(--lq-muted);
	font-size: 14px;
}

.lq-packages_footnote i {
	color: var(--lq-green);
	font-size: 16px;
}

.lq-packages_footnote a {
	color: var(--lq-green-dark);
	font-weight: 600;
	text-decoration: underline;
}

.lq-packages_footnote a:hover {
	color: var(--lq-green);
}

.lq-packages_grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	padding-top: 34px;
}

.lq-package {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 62px 22px 22px;
	border: 1px solid #e3d8ba;
	border-radius: 14px;
	background-color: var(--lq-cream);
	box-shadow: 0 4px 14px rgba(120, 90, 10, .06);
	text-align: center;
}

.lq-package_price {
	position: absolute;
	left: 50%;
	top: -36px;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border: 3px solid #fff3cf;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #ffd558 0%, #f6b415 60%, #e2a108 100%);
	box-shadow: 0 6px 14px rgba(180, 125, 0, .35);
	color: var(--lq-ink);
	font-size: 32px;
	font-weight: 800;
	line-height: 1;
	transform: translateX(-50%);
}

.lq-package_price sup {
	top: 0;
	align-self: flex-start;
	margin: 3px 1px 0 0;
	font-size: 14px;
	font-weight: 700;
}

.lq-package_price span {
	flex-basis: 100%;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 600;
}

.lq-package h4 {
	margin: 0 0 4px;
	color: var(--lq-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

/* one-line slogan under the plan name */
.lq-package_tag {
	margin: 0 0 12px;
	color: var(--lq-green);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

/* the same monthly price in USD and CAD, under the plan name */
.lq-package_alt {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 14px;
}

.lq-package_alt span {
	padding: 7px 6px;
	border: 1px solid #e3d8ba;
	border-radius: 6px;
	background-color: #fff;
	color: var(--lq-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.lq-package_alt strong {
	color: var(--lq-ink);
	font-size: 16px;
	font-weight: 700;
}

.lq-package ul {
	flex: 1;
	margin: 0 0 18px;
	padding-left: 18px;
	text-align: left;
}

.lq-package li {
	margin: 0 0 3px;
	color: var(--lq-ink);
	font-size: 14px;
	line-height: 1.45;
	list-style: disc;
}

.lq-package .lq-btn {
	align-self: center;
	min-width: 170px;
	padding: 10px 22px;
	font-size: 14px;
}

/* ---------- Testimonials ---------- */

.lq-testimonials_outer {
	display: flex;
	align-items: center;
	gap: 16px;
}

.lq-testimonials_carousel {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	padding: 4px;
}

.lq-testimonials_carousel .swiper-slide {
	height: auto;
}

.lq-testimonials_arrow,
.lq-testimonials_arrow.swiper-button-lock {
	display: flex !important;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1.5px solid var(--lq-green-dark);
	border-radius: 50%;
	background-color: #fff;
	color: var(--lq-green-dark);
	font-size: 14px;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.lq-testimonials_arrow:hover {
	background-color: var(--lq-green-dark);
	color: #fff;
}

.lq-testimonials_arrow.swiper-button-disabled {
	opacity: .45;
	cursor: default;
}

.lq-review {
	height: 100%;
	padding: 16px 20px 18px;
	border: 1px solid var(--lq-line);
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0 3px 10px rgba(20, 50, 35, .05);
}

.lq-review_stars {
	margin-bottom: 8px;
	color: var(--lq-gold);
	font-size: 16px;
	letter-spacing: 2px;
}

.lq-review_text {
	margin: 0 0 14px;
	color: var(--lq-ink);
	font-size: 14px;
	line-height: 1.5;
}

.lq-review_author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lq-review_avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background-color: #4a5560;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}

.lq-review_author strong {
	display: block;
	color: var(--lq-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.lq-review_author div span {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--lq-muted);
	font-size: 13px;
}

.lq-review_author img {
	width: 20px;
	height: 13px;
	border-radius: 2px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

/* ---------- Final call to action ---------- */

.lq-cta {
	position: relative;
	padding: 42px 0 44px;
	background: #062f1f url(../images/home/cta-background.jpg) center / cover no-repeat;
	color: #fff;
	font-family: 'Lexend', sans-serif;
}

.lq-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(4, 38, 25, 0) 0%, rgba(4, 38, 25, .55) 30%, rgba(4, 38, 25, .55) 62%, rgba(4, 38, 25, 0) 100%);
}

.lq-cta_inner {
	position: relative;
}

.lq-cta_content {
	max-width: 880px;
	margin: 0 auto;
	text-align: center;
}

.lq-cta_content h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(22px, 2.3vw, 31px);
	font-weight: 700;
	line-height: 1.25;
}

.lq-cta_content p {
	margin: 0 0 20px;
	color: rgba(255, 255, 255, .92);
	font-size: 15px;
	line-height: 1.5;
}

.lq-cta_buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-bottom: 20px;
}

.lq-cta_buttons .fa-whatsapp {
	font-size: 20px;
}

.lq-cta_ticks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 26px;
	margin: 0;
}

.lq-cta_ticks li {
	color: #fff;
	font-size: 14px;
	font-weight: 500;
}

.lq-cta_ticks i {
	margin-right: 6px;
	color: var(--lq-gold);
}

.lq-cta_badge {
	position: absolute;
	right: 2%;
	top: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 136px;
	height: 136px;
	border: 2px dashed rgba(90, 60, 0, .45);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #ffdd6b 0%, #f6b415 55%, #d99a05 100%);
	box-shadow: 0 0 0 7px #f6b415, 0 10px 24px rgba(0, 0, 0, .35);
	color: #3a2a00;
	text-align: center;
	transform: translateY(-50%) rotate(6deg);
}

.lq-cta_badge strong {
	font-size: 46px;
	font-weight: 800;
	line-height: .95;
}

.lq-cta_badge span {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1.15;
	text-transform: uppercase;
}

/* the theme footer has margin-top:-85px (and 170px top padding) so the old CTA could overlap it */
.lq-cta + .main-footer {
	margin-top: 0;
}

.lq-cta + .main-footer .inner-container {
	padding-top: 80px;
}

/* Inner-page variant: copy on the left, trial form on the right */

.lq-cta--form {
	padding: 56px 0;
}

.lq-cta--form::before {
	background: rgba(4, 38, 25, .62);
}

.lq-cta--form .lq-cta_inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	align-items: center;
	gap: 48px;
}

.lq-cta--form .lq-cta_content {
	max-width: none;
	margin: 0;
	text-align: left;
}

.lq-cta--form .lq-cta_ticks {
	justify-content: flex-start;
}

/* The floating WhatsApp / trial / home bar in footer.php is only styled for <=976px (responsive.css);
   above that it rendered as loose links under the footer. */
@media only screen and (min-width: 977px) {
	.float,
	.cfloat,
	.bfloat,
	.hfloat {
		display: none;
	}
}

/* ---------- Responsive ---------- */

@media only screen and (max-width: 1399px) {
	.lq-cta_badge {
		width: 112px;
		height: 112px;
		right: 0;
	}

	.lq-cta_badge strong {
		font-size: 36px;
	}

	.lq-cta_badge span {
		font-size: 11px;
	}

	.lq-cta_content {
		max-width: 760px;
	}
}

@media only screen and (max-width: 1199px) {
	.lq-header_contacts {
		gap: 18px;
	}

	.lq-header_contact + .lq-header_contact {
		padding-left: 18px;
	}

	.main-header.lq-header .main-menu .navigation > li {
		margin-left: 20px;
	}

	.lq-hero::before {
		background: rgba(255, 255, 255, .84);
	}

	.lq-hero_inner {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 30px;
		min-height: 0;
		padding: 34px 20px 38px;
	}

	.lq-hero_note {
		display: none;
	}

	.lq-courses_grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lq-path_grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: 26px;
	}

	.lq-step::after {
		display: none;
	}

	.lq-teachers_grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.lq-teachers_photo {
		grid-column: 1 / -1;
		min-height: 260px;
	}

	.lq-packages_grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 58px;
	}

	.lq-cta_badge {
		display: none;
	}

	.lq-cta::before {
		background: rgba(4, 38, 25, .6);
	}
}

@media only screen and (max-width: 1023px) {
	.lq-header_inner {
		padding: 8px 0;
	}

	.lq-header_logo {
		flex: 1;
	}

	.lq-header_logo img {
		height: 48px;
	}

	.lq-header_right {
		display: none;
	}

	/* phone and WhatsApp stay in view: the strip sits inside .header-upper, so it sticks with it */
	.lq-header_bar {
		display: flex;
		background: linear-gradient(90deg, var(--lq-green-dark) 0%, var(--lq-green) 100%);
	}

	.lq-header_bar a {
		display: flex;
		flex: 1;
		align-items: center;
		justify-content: center;
		gap: 7px;
		padding: 8px 6px;
		color: #fff;
		font-size: 14px;
		font-weight: 600;
		line-height: 20px;
		white-space: nowrap;
	}

	.lq-header_bar a + a {
		border-left: 1px solid rgba(255, 255, 255, .25);
	}

	.lq-header_bar i {
		color: var(--lq-gold);
		font-size: 15px;
	}

	.lq-header_bar .fa-whatsapp {
		font-size: 19px;
	}

	#cf,
	#how-it-works,
	#teachers,
	#packages,
	#reviews {
		scroll-margin-top: 116px;
	}

	.lq-header .mobile-nav-toggler {
		float: none;
		margin-left: 0;
		color: var(--lq-green-dark);
		font-size: 26px;
	}

	.lq-levels_grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.lq-cta--form .lq-cta_inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.lq-cta--form .lq-cta_content {
		text-align: center;
	}

	.lq-cta--form .lq-cta_ticks {
		justify-content: center;
	}

	.lq-cta_form {
		width: 100%;
		max-width: 440px;
		margin: 0 auto;
	}

	.lq-sibling-announcement {
		border-radius: 18px;
		padding: 16px 20px;
		flex-wrap: wrap;
	}
}

@media only screen and (max-width: 767px) {
	.lq-hero {
		background-image: none;
		background-color: #fffcf4;
	}

	.lq-hero::before {
		display: none;
	}

	.lq-hero_mobile-img {
		display: block;
		height: 52vw;
		max-height: 300px;
		background: url(../images/home/hero-banner.jpg?v2) 62% center / cover no-repeat;
	}

	.lq-hero_inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
		padding: 22px 16px 30px;
	}

	.lq-hero_content {
		text-align: center;
	}

	.lq-hero_text {
		margin-left: auto;
		margin-right: auto;
	}

	.lq-hero_features {
		justify-content: space-between;
		gap: 8px;
	}

	.lq-hero_features li {
		flex: 1;
		font-size: 11px;
	}

	.lq-hero_buttons {
		justify-content: center;
	}

	.lq-hero_form {
		width: 100%;
		max-width: 440px;
		margin: 0 auto;
	}

	.lq-container {
		padding: 0 16px;
	}

	.lq-title h2 {
		gap: 10px;
	}

	.lq-title h2::before,
	.lq-title h2::after {
		width: 22px;
	}

	.lq-testimonials_outer {
		gap: 8px;
	}

	.lq-testimonials_arrow,
	.lq-testimonials_arrow.swiper-button-lock {
		width: 32px;
		height: 32px;
	}
}

@media only screen and (max-width: 575px) {
	.lq-level {
		grid-template-columns: minmax(0, 1fr);
	}

	.lq-level_image img {
		min-height: 0;
		height: 200px;
	}

	.lq-level_content {
		align-items: center;
		padding: 18px;
		text-align: center;
	}

	.lq-courses_grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.lq-path_grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 18px;
	}

	.lq-teachers_grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.lq-teachers_photo {
		min-height: 210px;
	}

	.lq-packages_grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.lq-hero_buttons .lq-btn,
	.lq-cta_buttons .lq-btn {
		width: 100%;
	}

	.lq-title h2::before,
	.lq-title h2::after {
		display: none;
	}

	.lq-sibling-announcement {
		flex-direction: column;
		text-align: center;
		padding: 16px;
		gap: 14px;
		border-radius: 16px;
	}

	.lq-sibling-announcement_left {
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}

	.lq-sibling-announcement_text {
		text-align: center;
	}

	.lq-sibling-announcement_btn {
		width: 100%;
		justify-content: center;
	}

	.lq-packages_footnote {
		flex-direction: column;
		font-size: 13px;
	}
}
