/* SOPARKIDS site styles */

:root {
	--sk-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--sk-header-h: 4.5rem;
}

html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
}

/* ----- Header ----- */
.sk-header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(14px);
	background: color-mix(in srgb, var(--wp--preset--color--base) 86%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 70%, transparent);
}

.sk-header .wp-block-group {
	min-height: var(--sk-header-h);
}

.sk-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none !important;
	color: var(--wp--preset--color--ink) !important;
}

.sk-brand__logo {
	display: block;
	width: 11rem;
	height: 3.5rem;
	max-width: 14rem;
	flex-shrink: 0;
	background: url("../images/logo.png") center / contain no-repeat;
	padding: 0;
	border-radius: 0;
}

.sk-footer .sk-brand__logo {
	height: 3.25rem;
	width: 10rem;
	filter: none;
}

.sk-brand__text {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	line-height: 1;
}

.sk-brand__text span {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	color: var(--wp--preset--color--muted);
	text-transform: uppercase;
	margin-top: 0.28rem;
}

.sk-header .wp-block-navigation a {
	transition: color 0.25s var(--sk-ease);
}

.sk-header .wp-block-navigation .wp-block-navigation-item__content {
	padding-block: 0.35rem;
}

.sk-header .wp-block-buttons .wp-block-button__link {
	padding: 0.7rem 1.2rem !important;
	font-size: 0.85rem !important;
}

/* ----- Hero ----- */
.sk-hero {
	position: relative;
	isolation: isolate;
	min-height: min(88vh, 820px);
	display: flex;
	align-items: center;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(ellipse 80% 60% at 75% 15%, rgba(30, 200, 212, 0.35), transparent 55%),
		radial-gradient(ellipse 50% 45% at 10% 80%, rgba(232, 90, 69, 0.18), transparent 50%),
		linear-gradient(160deg, #061525 0%, #0a2438 55%, #0b4f58 100%);
}

.sk-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%);
	animation: sk-grid-drift 28s linear infinite;
}

.sk-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(100deg, rgba(6, 21, 37, 0.88) 0%, rgba(6, 21, 37, 0.55) 46%, rgba(6, 21, 37, 0.28) 100%),
		url("../images/hero.jpg") center / cover no-repeat;
	opacity: 0.95;
	transform: scale(1.04);
	animation: sk-hero-ken 18s var(--sk-ease) infinite alternate;
}

@keyframes sk-grid-drift {
	from { background-position: 0 0, 0 0; }
	to { background-position: 56px 56px, 56px 56px; }
}

@keyframes sk-hero-ken {
	from { transform: scale(1.04) translate3d(0, 0, 0); }
	to { transform: scale(1.1) translate3d(-1.5%, 1%, 0); }
}

.sk-hero .wp-block-group {
	position: relative;
	z-index: 1;
}

.sk-hero h1,
.sk-hero p,
.sk-hero .wp-block-heading {
	color: #fff !important;
}

.sk-hero .sk-lede {
	max-width: 34rem;
	color: rgba(255, 255, 255, 0.86) !important;
	font-size: clamp(1.05rem, 2.2vw, 1.25rem);
	line-height: 1.55;
}

.sk-hero .wp-block-button.is-style-outline .wp-block-button__link,
.sk-hero .wp-block-button__link.is-style-outline {
	border-color: rgba(255, 255, 255, 0.55) !important;
	color: #fff !important;
	background: transparent !important;
}

.sk-hero .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: #fff !important;
	color: var(--wp--preset--color--ink) !important;
	border-color: #fff !important;
}

.sk-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--cyan);
	margin-bottom: 1rem;
}

.sk-kicker::before {
	content: "";
	width: 1.75rem;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.sk-hero .sk-kicker {
	color: #7fe7ef;
}

.sk-brand-hero {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(3rem, 9vw, 5.75rem);
	line-height: 0.95;
	letter-spacing: -0.045em;
	text-transform: uppercase;
	margin: 0 0 1rem;
	max-width: 12ch;
}

.sk-brand-hero em {
	font-style: normal;
	background: linear-gradient(90deg, #1ec8d4, #7fe7ef);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ----- Sections ----- */
.sk-section {
	padding-block: clamp(4rem, 9vw, 7.5rem);
}

.sk-section--mist {
	background: linear-gradient(180deg, #e8f4f7 0%, #f3f7fa 100%);
}

.sk-section--deep {
	background:
		radial-gradient(ellipse at 20% 0%, rgba(30, 200, 212, 0.18), transparent 45%),
		linear-gradient(160deg, #061525, #0a2438);
	color: #fff;
}

.sk-section--deep h2,
.sk-section--deep h3,
.sk-section--deep p {
	color: #fff;
}

.sk-section--deep p {
	color: rgba(255, 255, 255, 0.78);
}

.sk-split {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

@media (min-width: 900px) {
	.sk-split {
		grid-template-columns: 1.05fr 0.95fr;
	}
}

.sk-panel {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 1.25rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	height: 100%;
	transition: transform 0.45s var(--sk-ease), box-shadow 0.45s var(--sk-ease), border-color 0.45s var(--sk-ease);
}

.sk-panel:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(6, 21, 37, 0.08);
	border-color: color-mix(in srgb, var(--wp--preset--color--cyan) 45%, var(--wp--preset--color--line));
}

.sk-panel__icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.85rem;
	display: grid;
	place-items: center;
	margin-bottom: 1.15rem;
	background: linear-gradient(145deg, rgba(30, 200, 212, 0.18), rgba(11, 143, 152, 0.08));
	color: var(--wp--preset--color--teal);
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 0.95rem;
}

.sk-age-badge {
	display: inline-flex;
	align-items: center;
	margin-bottom: 0.85rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(11, 143, 152, 0.1);
	color: var(--wp--preset--color--teal);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sk-age-badge--wide {
	margin-bottom: 1rem;
}

.sk-course .sk-panel__icon {
	margin-top: 0.15rem;
}

.sk-steps--programs {
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.sk-section--deep .is-style-outline .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.55) !important;
	color: #fff !important;
}

.sk-section--deep .is-style-outline .wp-block-button__link:hover {
	background: #fff !important;
	color: var(--wp--preset--color--ink) !important;
	border-color: #fff !important;
}

.sk-program-list {
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 0;
	display: grid;
	gap: 0.65rem;
}

.sk-program-list li {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	color: var(--wp--preset--color--muted);
	font-size: 0.98rem;
}

.sk-program-list li::before {
	content: "";
	width: 0.55rem;
	height: 0.55rem;
	margin-top: 0.45rem;
	border-radius: 50%;
	background: var(--wp--preset--color--cyan);
	flex-shrink: 0;
}

.sk-media {
	position: relative;
	border-radius: 1.5rem;
	overflow: hidden;
	min-height: 320px;
	background:
		linear-gradient(145deg, rgba(6, 21, 37, 0.15), rgba(11, 143, 152, 0.35)),
		url("../images/learning.jpg") center / cover no-repeat;
	box-shadow: 0 30px 60px rgba(6, 21, 37, 0.14);
}

.sk-media--alt {
	background:
		linear-gradient(160deg, rgba(6, 21, 37, 0.2), rgba(232, 90, 69, 0.25)),
		url("../images/robotics.jpg") center / cover no-repeat;
}

.sk-media__badge {
	position: absolute;
	left: 1.25rem;
	bottom: 1.25rem;
	padding: 0.85rem 1.1rem;
	border-radius: 0.9rem;
	background: rgba(6, 21, 37, 0.72);
	backdrop-filter: blur(10px);
	color: #fff;
	font-size: 0.85rem;
	line-height: 1.35;
	max-width: 14rem;
}

.sk-media__badge strong {
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.05rem;
	margin-bottom: 0.15rem;
}

.sk-steps {
	counter-reset: sk-step;
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.sk-steps {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.75rem;
	}
}

.sk-step {
	position: relative;
	padding-top: 0.25rem;
}

.sk-step::before {
	counter-increment: sk-step;
	content: counter(sk-step, decimal-leading-zero);
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 2.5rem;
	letter-spacing: -0.04em;
	color: var(--wp--preset--color--cyan);
	line-height: 1;
	margin-bottom: 0.85rem;
	opacity: 0.9;
}

.sk-contact-grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 700px) {
	.sk-contact-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.sk-contact-item a {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}

.sk-contact-item a:hover {
	color: var(--wp--preset--color--coral);
}

.sk-online-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: rgba(30, 200, 212, 0.12);
	color: var(--wp--preset--color--teal);
	font-size: 0.8rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sk-online-pill::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--wp--preset--color--cyan);
	box-shadow: 0 0 0 4px rgba(30, 200, 212, 0.2);
	animation: sk-pulse 2s ease-in-out infinite;
}

@keyframes sk-pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(30, 200, 212, 0.18); }
	50% { box-shadow: 0 0 0 7px rgba(30, 200, 212, 0.05); }
}

/* ----- Footer ----- */
.sk-footer {
	background: var(--wp--preset--color--ink);
	color: rgba(255, 255, 255, 0.72);
	padding-block: 3.5rem 2.25rem;
}

.sk-footer a {
	color: #fff;
	text-decoration: none;
}

.sk-footer a:hover {
	color: var(--wp--preset--color--cyan);
}

.sk-footer .sk-brand__text,
.sk-footer .sk-brand {
	color: #fff !important;
}

.sk-footer .sk-brand__text span {
	color: rgba(255, 255, 255, 0.55);
}

.sk-footer-meta {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 2.5rem;
	padding-top: 1.35rem;
	font-size: 0.85rem;
}

/* ----- Page hero (inner) ----- */
.sk-page-hero {
	padding-block: clamp(4rem, 10vw, 6.5rem) clamp(2.5rem, 5vw, 3.5rem);
	background:
		radial-gradient(ellipse at 85% 0%, rgba(30, 200, 212, 0.2), transparent 45%),
		linear-gradient(180deg, #e8f4f7 0%, #f3f7fa 100%);
}

.sk-page-hero h1 {
	max-width: 16ch;
}

/* ----- Motion ----- */
.sk-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.8s var(--sk-ease), transform 0.8s var(--sk-ease);
}

.sk-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.sk-reveal-delay-1 { transition-delay: 0.1s; }
.sk-reveal-delay-2 { transition-delay: 0.2s; }
.sk-reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sk-hero::before,
	.sk-hero::after,
	.sk-online-pill::before {
		animation: none !important;
	}
	.sk-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ----- Utility ----- */
.sk-narrow {
	max-width: 40rem;
}

.sk-center {
	text-align: center;
}

.sk-center .sk-narrow {
	margin-inline: auto;
}

.sk-center .sk-kicker {
	justify-content: center;
}

.sk-muted {
	color: var(--wp--preset--color--muted);
}

.wp-site-blocks > * + * {
	margin-block-start: 0 !important;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

