/* OWL-LINE ACADEMY — storefront (hero full-bleed) */

:root {
	--nl-surface: #ebf5ff;
	--nl-radius: 1.25rem;
	--nl-radius-sm: 0.75rem;
	--nl-shadow: 0 12px 40px rgba(0, 45, 91, 0.12);
	--nl-header-h: 5.5rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.novalanding-site {
	margin: 0;
	color: var(--nl-color-text, #002d5b);
	background: var(--nl-color-bg, #fff);
	-webkit-font-smoothing: antialiased;
}

body.novalanding-site a {
	color: inherit;
	text-decoration: none;
}

.nl-wrap {
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
}

/* —— Header —— */
.nl-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--nl-header-bg, #fff) 92%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(0, 45, 91, 0.06);
	transition: box-shadow 0.25s ease, background 0.25s ease;
}

.nl-header.is-scrolled {
	box-shadow: 0 4px 24px rgba(0, 45, 91, 0.08);
	background: var(--nl-header-bg, #fff);
}

.nl-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
	padding: 0.85rem 0;
	min-height: var(--nl-header-h);
}

.nl-header__brand {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.nl-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--nl-header-text, #002d5b);
	font-weight: 700;
	letter-spacing: 0.02em;
}

.nl-logo-img {
	display: block;
	width: auto;
	height: clamp(2.5rem, 6vw, 3.25rem);
	max-width: min(220px, 55vw);
	object-fit: contain;
	flex-shrink: 0;
}

.nl-logo__text {
	font-family: var(--nl-font-heading);
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	line-height: 1.15;
}

.nl-header__tagline {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nl-color-secondary, #f27a30);
	line-height: 1.2;
}

.nl-header__wa {
	flex-shrink: 0;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	background: var(--nl-btn-alt-bg, var(--nl-color-secondary, #f27a30));
	color: var(--nl-btn-alt-text, #fff) !important;
	font-size: 0.85rem;
	font-weight: 600;
}

/* —— Hero —— */
.nl-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(32rem, 88vh, 46rem);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: var(--nl-surface);
	overflow: hidden;
}

.nl-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-color: var(--nl-surface);
	background-image: var(--nl-hero-image);
	background-size: cover;
	background-position: center right;
}

.nl-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		90deg,
		rgba(235, 245, 255, 0.96) 0%,
		rgba(235, 245, 255, 0.78) 38%,
		rgba(235, 245, 255, 0.25) 62%,
		rgba(235, 245, 255, 0) 100%
	);
}

.nl-hero__inner {
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto;
	padding: 3rem 0 5.5rem;
	display: block;
}

.nl-hero__left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
	width: min(100%, 26rem);
	max-width: 100%;
}

.nl-hero__copy {
	min-width: 0;
	width: 100%;
}

.nl-hero__title {
	margin: 0 0 0.85rem;
	font-family: var(--nl-font-heading);
	font-size: clamp(2rem, 4.8vw, 3.35rem);
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--nl-hero-title-color, #002d5b);
	max-width: 12ch;
}

.nl-hero__subtitle {
	margin: 0;
	font-family: var(--nl-font-body);
	font-size: clamp(1.05rem, 2vw, 1.28rem);
	line-height: 1.45;
	font-weight: 400;
	color: var(--nl-hero-subtitle-color, #002d5b);
	max-width: 28ch;
}

.nl-hero__title strong,
.nl-hero__title b,
.nl-hero__subtitle strong,
.nl-hero__subtitle b,
.nl-price-card strong,
.nl-price-card b,
.nl-section-heading strong,
.nl-section-heading b {
	font-weight: 800;
}

.nl-price-card {
	background: #fff;
	border-radius: 1.35rem;
	box-shadow: 0 16px 44px rgba(0, 45, 91, 0.14);
	padding: 1.45rem 1.4rem 1.3rem;
	width: 100%;
	max-width: 22.5rem;
	animation: nl-card-in 0.7s ease both;
}

.nl-price-card__label {
	margin: 0 0 0.2rem;
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--nl-color-text, #002d5b);
}

.nl-price-card__price {
	margin: 0 0 0.25rem;
	font-size: clamp(2.6rem, 6.5vw, 3.5rem);
	font-weight: 800;
	line-height: 1;
	color: var(--nl-color-secondary, #f27a30);
	letter-spacing: -0.03em;
}

.nl-price-card__note {
	margin: 0 0 1.15rem;
	font-size: 0.95rem;
	color: #3d5570;
	line-height: 1.4;
}

.nl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	padding: 1rem 1.2rem;
	border-radius: 0.85rem;
	font-weight: 700;
	font-size: 0.98rem;
	border: 0;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nl-btn--primary {
	background: var(--nl-btn-bg, var(--nl-color-primary, #002d5b));
	color: var(--nl-btn-text, #fff) !important;
}

.nl-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(0, 45, 91, 0.25);
}

.nl-btn__arrow {
	font-size: 1.15em;
	line-height: 1;
	font-weight: 400;
}

.nl-wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	line-height: 0;
	pointer-events: none;
}

.nl-wave svg {
	display: block;
	width: 100%;
	height: clamp(48px, 8vw, 96px);
}

/* —— Steps —— */
.nl-steps {
	padding: 3.5rem 0 2.5rem;
	background: #fff;
}

.nl-section-heading {
	margin: 0 auto 2.5rem;
	text-align: center;
	font-size: clamp(1.65rem, 3.5vw, 2.35rem);
	color: var(--nl-color-text, #002d5b);
	position: relative;
	padding-bottom: 0.85rem;
	max-width: 22ch;
}

.nl-section-heading::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 3.25rem;
	height: 3px;
	border-radius: 2px;
	background: var(--nl-color-secondary, #f27a30);
	transform: translateX(-50%);
}

.nl-steps__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2rem;
}

.nl-step {
	position: relative;
	text-align: center;
	padding: 0.5rem 0.75rem;
}

.nl-step__arrow {
	display: none;
}

.nl-step__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 50%;
	background: var(--nl-color-secondary, #f27a30);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	margin-bottom: 0.75rem;
}

.nl-step__icon {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 2rem;
	color: var(--nl-color-secondary, #f27a30);
	margin-bottom: 0.75rem;
}

.nl-step__icon svg {
	display: block;
	flex-shrink: 0;
}

.nl-step__title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	font-family: var(--nl-font-body) !important;
	font-weight: 700;
	color: var(--nl-color-text, #002d5b);
}

.nl-step__text {
	margin: 0 auto;
	max-width: 28ch;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #3d5570;
}

/* —— Testimonials —— */
.nl-testimonials {
	padding: 2rem 0 4.5rem;
	background: #fff;
}

.nl-testimonials__grid {
	display: grid;
	gap: 1.25rem;
}

.nl-testimonials__trustindex {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.nl-testimonials__trustindex iframe,
.nl-testimonials__trustindex img {
	max-width: 100%;
}

.nl-testimonials__notice {
	margin: 1rem 0 0;
	padding: 0.85rem 1rem;
	border-radius: 0.75rem;
	background: #fff7ed;
	color: #9a3412;
	font-size: 0.9rem;
}

.nl-quote {
	margin: 0;
	background: #fff;
	border: 1px solid rgba(0, 45, 91, 0.08);
	border-radius: var(--nl-radius);
	box-shadow: 0 8px 28px rgba(0, 45, 91, 0.06);
	padding: 1.5rem 1.35rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.nl-quote__stars {
	color: var(--nl-color-secondary, #f27a30);
	letter-spacing: 0.12em;
	font-size: 1rem;
	line-height: 1;
}

.nl-quote__text {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--nl-color-text, #002d5b);
	flex: 1;
}

.nl-quote__author {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-style: normal;
	font-size: 0.9rem;
	font-weight: 600;
	color: #3d5570;
}

.nl-quote__avatar {
	display: inline-flex;
	flex-shrink: 0;
}

.nl-quote cite {
	font-style: normal;
}

/* —— Footer —— */
.nl-footer {
	background: var(--nl-footer-bg, #002d5b);
	color: var(--nl-footer-text, #ebf5ff);
	padding: 1.5rem 0;
}

.nl-footer__inner {
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
	text-align: center;
}

.nl-footer__copy {
	margin: 0;
	font-size: 0.85rem;
	opacity: 0.9;
}

/* —— Page —— */
.nl-page {
	padding: 2.5rem 0 4rem;
}

.nl-page__title {
	margin: 0 0 1.25rem;
	color: var(--nl-page-title-color, #002d5b);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.nl-page__content {
	color: var(--nl-page-text-color, #334155);
	line-height: 1.65;
	max-width: 68ch;
}

.nl-page__content a {
	color: var(--nl-page-link-color, #f27a30);
	text-decoration: underline;
}

@keyframes nl-card-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.nl-price-card,
	.nl-btn--primary:hover {
		animation: none;
		transform: none;
	}
}

/* —— Desktop —— */
@media (min-width: 768px) {
	.nl-header__tagline {
		font-size: 0.78rem;
	}

	.nl-hero__inner {
		padding: 4rem 0 6.5rem;
	}

	.nl-hero__left {
		width: min(100%, 28rem);
		gap: 1.75rem;
	}

	.nl-hero__title {
		font-size: clamp(2.4rem, 3.6vw, 3.4rem);
		max-width: 11ch;
	}

	.nl-hero__bg {
		background-position: 70% center;
	}

	.nl-steps__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
		align-items: start;
	}

	.nl-step__arrow {
		display: block;
		position: absolute;
		left: -1.75rem;
		top: 1.1rem;
		width: 3rem;
		pointer-events: none;
	}

	.nl-testimonials__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.nl-hero {
		min-height: calc(100vh - var(--nl-header-h));
	}

	.nl-hero__shade {
		background: linear-gradient(
			90deg,
			rgba(235, 245, 255, 0.97) 0%,
			rgba(235, 245, 255, 0.85) 32%,
			rgba(235, 245, 255, 0.35) 55%,
			rgba(235, 245, 255, 0) 78%
		);
	}

	.nl-step:first-child .nl-step__arrow {
		display: none;
	}
}

@media (max-width: 480px) {
	.nl-header__tagline {
		font-size: 0.62rem;
	}

	.nl-logo__text {
		font-size: 0.95rem;
	}
}

/* —— Layout variants (frontend editor) —— */
body.nl-layout-hero_card_side-left .nl-hero__left {
	margin-left: auto;
	margin-right: 0;
}

body.nl-layout-hero_align-center .nl-hero__left {
	margin-inline: auto;
	align-items: center;
	text-align: center;
}

body.nl-layout-hero_align-center .nl-hero__title,
body.nl-layout-hero_align-center .nl-hero__subtitle {
	margin-inline: auto;
}

body.nl-layout-hero_height-compact .nl-hero {
	min-height: clamp(22rem, 62vh, 34rem);
}

body.nl-layout-hero_height-tall .nl-hero {
	min-height: clamp(36rem, 96vh, 54rem);
}

body.nl-layout-hero_copy_width-narrow .nl-hero__left {
	width: min(100%, 20rem);
}

body.nl-layout-hero_copy_width-default .nl-hero__left {
	width: min(100%, 26rem);
}

body.nl-layout-hero_copy_width-wide .nl-hero__left {
	width: min(100%, 34rem);
}

body.nl-layout-hero_copy_width-full .nl-hero__left {
	width: 100%;
}

body.nl-layout-content_width-narrow .nl-wrap,
body.nl-layout-content_width-narrow .nl-header__inner,
body.nl-layout-content_width-narrow .nl-footer__inner,
body.nl-layout-content_width-narrow .nl-hero__inner {
	width: min(880px, calc(100% - 2rem));
}

body.nl-layout-content_width-wide .nl-wrap,
body.nl-layout-content_width-wide .nl-header__inner,
body.nl-layout-content_width-wide .nl-footer__inner,
body.nl-layout-content_width-wide .nl-hero__inner {
	width: min(1280px, calc(100% - 2rem));
}

body.nl-layout-section_spacing-compact .nl-steps {
	padding-top: 2rem;
	padding-bottom: 1.25rem;
}

body.nl-layout-section_spacing-compact .nl-testimonials {
	padding-top: 1rem;
	padding-bottom: 2.5rem;
}

body.nl-layout-section_spacing-roomy .nl-steps {
	padding-top: 5rem;
	padding-bottom: 3.5rem;
}

body.nl-layout-section_spacing-roomy .nl-testimonials {
	padding-top: 3rem;
	padding-bottom: 6rem;
}

@media (min-width: 768px) {
	body.nl-layout-hero_card_side-left .nl-hero__shade {
		background: linear-gradient(
			270deg,
			rgba(235, 245, 255, 0.96) 0%,
			rgba(235, 245, 255, 0.78) 38%,
			rgba(235, 245, 255, 0.25) 62%,
			rgba(235, 245, 255, 0) 100%
		);
	}
}
