/* Kids Life — children school landing. Tokens measured from the demo. */

:root {
	--container: 1170px;
	--text: #5c5c5c;
	--body-bg: #f0f3f3;
	--teal: #008c99;
	--dark: #3a3a3a;
	--heading: #444444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	font-family: "Lato", sans-serif;
	font-size: 14px;
	line-height: 1.7;
	color: var(--text);
	background: var(--body-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 15px;
}
.container.narrow { max-width: 780px; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: #fff;
	padding: 8px 16px;
	z-index: 999;
}
.skip-link:focus { left: 8px; }

.hp { position: absolute !important; left: -9999px !important; }

/* ---------------------------------------------------------------- header */
.site-header {
	background: #fff;
	position: relative;
	z-index: 60;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.header-inner {
	display: flex;
	align-items: center;
	min-height: 100px;
	gap: 30px;
	padding: 20px 15px;
}
.brand { flex-shrink: 0; }
.brand img { height: 47px; width: auto; max-width: none; }
.header-contact {
	margin-left: auto;
	display: flex;
	gap: 40px;
}
.header-contact p {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #7a7a7a;
}
.header-contact a { color: #7a7a7a; }
.hc-icon, .fc-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--teal);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.hc-icon svg, .fc-icon svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 0;
	width: 40px;
	height: 34px;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}
.nav-toggle span {
	display: block;
	height: 3px;
	background: var(--teal);
	border-radius: 2px;
}

.site-nav {
	background: #fff;
	border-top: 1px solid #ededed;
}
.site-nav .menu {
	display: flex;
	justify-content: center;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 15px;
}
.site-nav .menu li { flex: 1 1 0; text-align: center; }
.site-nav .menu a {
	display: block;
	padding: 18px 6px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--heading);
	transition: background 0.25s, color 0.25s;
}
.site-nav .menu a:hover, .site-nav .menu .is-active a { text-decoration: none; color: #fff; }

.c-red a:hover, .c-red.is-active a { background: #e84c3d; }
.c-green a:hover, .c-green.is-active a { background: #8ec64f; }
.c-mustard a:hover, .c-mustard.is-active a { background: #dfa12d; }
.c-yellow a:hover, .c-yellow.is-active a { background: #e2c636; }
.c-orange a:hover, .c-orange.is-active a { background: #ef7b2c; }
.c-blue a:hover, .c-blue.is-active a { background: #2ea3f2; }
.c-steelblue a:hover, .c-steelblue.is-active a { background: #4a7fa5; }
.c-violet a:hover, .c-violet.is-active a { background: #8e5da8; }
.c-pink a:hover, .c-pink.is-active a { background: #e8437c; }

.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 65;
}

/* ------------------------------------------------------------------ hero */
.hero-slider {
	position: relative;
	height: 610px;
	overflow: hidden;
	background: #bfe3ee url("../img/slider/bg3.jpg") center/cover no-repeat;
}
.hero-track, .hero-slide {
	position: absolute;
	inset: 0;
}
.hero-slide {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0.8s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-inner {
	max-width: var(--container);
	height: 100%;
	margin: 0 auto;
	position: relative;
}
.hero-layers { position: absolute; inset: 0; }
.layer { position: absolute; }

.slide-1 .bring { left: 0; bottom: 40px; width: 46%; }
.slide-1 .fun { right: 6%; bottom: 40px; width: 38%; }
.slide-1 .grass { left: 0; right: 0; bottom: -4px; width: 100%; }

.slide-2 .welcome { left: 8%; top: 60px; width: 44%; }
.slide-2 .desc { left: 8%; top: 260px; width: 34%; }
.slide-2 .buy { left: 8%; top: 420px; width: 26%; }
.slide-2 .buy:hover { opacity: 0.85; }
.slide-2 .kids { right: 0; bottom: 0; width: 42%; }

.hero-nav {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}
.hero-arrow {
	pointer-events: auto;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.65);
	color: var(--teal);
	font-size: 26px;
	line-height: 1;
	transition: background 0.2s;
}
.hero-arrow:hover { background: #fff; }
.hero-nav .prev { margin-left: 20px; }
.hero-nav .next { margin-right: 20px; }

/* -------------------------------------------------------------- sections */
.section { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 {
	font-family: "Bubblegum Sans", cursive;
	font-size: 32px;
	font-weight: 400;
	color: var(--heading);
	position: relative;
	display: inline-block;
	padding-bottom: 16px;
}
.section-head h2::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 92px;
	height: 11px;
	background: url("../img/mask.png") center/contain no-repeat;
}
.section-head.light h2 { color: #fff; }

/* classes */
.classes { background: #fff; }
.classes-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}
.class-card {
	text-align: center;
	padding: 34px 18px 26px;
	border: 1px solid #ececec;
	background: #fff;
	transition: box-shadow 0.25s, transform 0.25s;
}
.class-card:hover {
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
}
.class-icon {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	margin: 0 auto 22px;
	overflow: hidden;
	border: 5px solid var(--body-bg);
}
.class-icon img { width: 100%; height: 100%; object-fit: cover; }
.class-card h4 {
	font-family: "Bubblegum Sans", cursive;
	font-size: 21px;
	font-weight: 400;
	color: var(--heading);
	margin-bottom: 10px;
}
.class-card p { font-size: 13px; line-height: 1.8; }

/* learn (teal cloud band) */
.learn {
	background: var(--teal) url("../img/section/cloud-bg1.png") center bottom/cover no-repeat;
	padding: 104px 0 110px;
}
.learn-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 44px 40px;
}
.learn-item { display: flex; gap: 16px; align-items: flex-start; }
.learn-icon { flex-shrink: 0; width: 58px; }
.learn-copy h4 {
	font-family: "Bubblegum Sans", cursive;
	font-size: 20px;
	font-weight: 400;
	color: #fff;
	margin-bottom: 8px;
}
.learn-copy h4 a { color: #fff; }
.learn-copy p { color: rgba(255, 255, 255, 0.85); font-size: 13px; }

/* portfolio (hexagons) */
.portfolio { background: #fff; }
.portfolio-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px 12px;
}
.portfolio-item {
	position: relative;
	width: 381px;
	height: 330px;
	display: block;
}
.portfolio-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/hexagon.png") center/contain no-repeat;
	z-index: 2;
	pointer-events: none;
}
.portfolio-item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.portfolio-item h5 {
	position: absolute;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%);
	z-index: 3;
	background: rgba(0, 140, 153, 0.92);
	color: #fff;
	font-family: "Bubblegum Sans", cursive;
	font-size: 17px;
	font-weight: 400;
	padding: 6px 18px;
	border-radius: 3px;
	white-space: nowrap;
}
.portfolio-item.item-6 { margin-left: 199px; } /* re-center last odd row */

/* blog band */
.blog-band {
	background: #23282d url("../img/section/fullwidth-blog-bg.jpg") center/cover no-repeat;
	padding: 96px 0 104px;
}
.blog-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	max-width: 1170px;
}
.blog-card {
	background: #fff;
	max-width: 573px;
	margin: 0 auto;
	width: 100%;
}
.blog-media { position: relative; }
.blog-media img { width: 100%; height: 260px; object-fit: cover; }
.blog-date {
	position: absolute;
	left: 0;
	bottom: 0;
	background: var(--teal);
	color: #fff;
	text-align: center;
	padding: 10px 16px;
	font-size: 11px;
	line-height: 1.3;
}
.blog-date strong {
	display: block;
	font-size: 22px;
	font-weight: 700;
}
.blog-body { padding: 26px 28px 30px; }
.blog-body h3 {
	font-family: "Bubblegum Sans", cursive;
	font-size: 21px;
	font-weight: 400;
	color: var(--heading);
	margin-bottom: 10px;
}
.blog-body p { font-size: 13px; margin-bottom: 16px; }
.read-more {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.5px;
	color: var(--teal);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.read-more svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* staff */
.staff { background: #fff; }
.staff-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}
.staff-card { text-align: center; }
.staff-photo {
	width: 220px;
	height: 192px;
	margin: 0 auto 20px;
	overflow: hidden;
	border-radius: 6px;
}
.staff-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.staff-card:hover .staff-photo img { transform: scale(1.06); }
.staff-card h4 {
	font-family: "Bubblegum Sans", cursive;
	font-size: 20px;
	font-weight: 400;
	color: var(--heading);
}
.staff-card h6 {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--teal);
	margin: 4px 0 10px;
}
.staff-card p { font-size: 13px; margin-bottom: 12px; }
.staff-social { display: flex; justify-content: center; gap: 8px; }
.staff-social a {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #e8e8e8;
	color: #8a8a8a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s;
}
.staff-social a:hover { background: var(--teal); color: #fff; text-decoration: none; }
.staff-social svg { width: 14px; height: 14px; fill: currentColor; }

/* shop */
.shop { background: #d2d2d2; }
.shop-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}
.product-card {
	background: #fff url("../img/section/product_bg.png") center top/100% auto no-repeat;
	border: 1px solid #c5c5c5;
	text-align: center;
	padding-bottom: 20px;
}
.product-media {
	position: relative;
	padding: 26px 34px 20px;
}
.product-media img {
	width: 100%;
	height: 170px;
	object-fit: contain;
}
.product-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: #e84c3d;
	color: #fff;
	font-size: 11px;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 2px;
}
.product-body h3 {
	font-family: "Bubblegum Sans", cursive;
	font-size: 18px;
	font-weight: 400;
	color: var(--heading);
	margin-bottom: 6px;
}
.price { margin-bottom: 12px; font-size: 14px; }
.price del { color: #9a9a9a; margin-right: 6px; }
.price ins { text-decoration: none; color: var(--teal); font-weight: 700; }
.add-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #777;
	border: 1px solid #cfcfcf;
	background: #f4f4f4;
	padding: 8px 16px;
	border-radius: 3px;
}
.add-btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; text-decoration: none; }
.add-btn svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* about */
.about { background: #fff; }
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}
.about-copy .section-head { text-align: left; margin-bottom: 20px; }
.about-copy .section-head h2::after { left: 0; transform: none; }
.about-copy > p { margin-bottom: 18px; }
.about-list { margin-bottom: 26px; }
.about-list li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 8px;
}
.about-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 12px;
	height: 12px;
	background: url("../img/footer_arrow.png") center/contain no-repeat;
}
.btn {
	display: inline-block;
	background: var(--teal);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.5px;
	padding: 12px 30px;
	border: 0;
	border-radius: 3px;
}
.btn:hover { background: #00727d; text-decoration: none; color: #fff; }

/* contact */
.contact { background: #fff; border-top: 1px solid #ededed; }
.form-note {
	text-align: center;
	font-weight: 700;
	padding: 12px 16px;
	border-radius: 4px;
	margin: -20px 0 26px;
}
.form-note.ok { background: #e4f5e9; color: #2e7d43; }
.form-note.err { background: #fdeaea; color: #c0392b; }
.kids-form input, .kids-form textarea {
	width: 100%;
	border: 1px solid #dcdcdc;
	background: #fafafa;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 14px;
	color: var(--text);
	margin-bottom: 16px;
	border-radius: 3px;
}
.kids-form input:focus, .kids-form textarea:focus {
	outline: none;
	border-color: var(--teal);
	background: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kids-form .btn { display: block; margin: 0 auto; }

/* --------------------------------------------------------------- footer */
.site-footer {
	background: #fff url("../img/footer_bg.png") center bottom/cover no-repeat;
	padding-top: 66px;
}
.footer-cols {
	display: grid;
	grid-template-columns: 2fr 1.4fr 1.6fr 2fr 1.6fr;
	gap: 40px;
	padding-bottom: 50px;
}
.fcol h3 {
	font-family: "Bubblegum Sans", cursive;
	font-size: 19px;
	font-weight: 400;
	color: var(--heading);
	margin-bottom: 18px;
}
.fcol p { font-size: 13px; }
.fcol-list li { margin-bottom: 7px; }
.fcol-list a { color: var(--text); font-size: 13px; }
.fcol-list a:hover { color: var(--teal); }
.fprod { display: flex; gap: 12px; margin-bottom: 14px; align-items: center; }
.fprod img { width: 62px; height: 62px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.fprod-info a { display: block; color: var(--heading); font-weight: 700; font-size: 13px; }
.fprod-info span { color: var(--teal); font-size: 12px; }
.fcontact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 12px;
	font-size: 13px;
}
.fcontact a { color: var(--text); }
.news-form { display: flex; margin-bottom: 10px; }
.news-form input {
	flex: 1;
	min-width: 0;
	border: 1px solid #dcdcdc;
	border-right: 0;
	padding: 9px 12px;
	font-family: inherit;
	font-size: 13px;
	border-radius: 3px 0 0 3px;
}
.news-form input:focus { outline: none; border-color: var(--teal); }
.news-form button {
	border: 0;
	background: var(--teal);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	padding: 9px 16px;
	border-radius: 0 3px 3px 0;
}
.news-form button:hover { background: #00727d; }
.news-note {
	font-size: 12px;
	font-weight: 700;
	margin: 0 0 10px;
}
.news-note.ok { color: #2e7d43; }
.news-note.err { color: #c0392b; }
.follow { font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.fsocial { display: flex; gap: 8px; }
.fsocial a {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #ececec;
	color: #8a8a8a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.fsocial a:hover { background: var(--teal); color: #fff; text-decoration: none; }
.fsocial svg { width: 15px; height: 15px; fill: currentColor; }

.footer-strip { background: var(--teal); padding: 16px 0; }
.strip-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
}
.to-top { display: inline-flex; }
.to-top img { width: 34px; height: 34px; }

/* -------------------------------------------------------------- lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(20, 24, 28, 0.88);
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lightbox img {
	max-width: 90vw;
	max-height: 86vh;
	width: auto;
	height: auto;
	border-radius: 4px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
	position: absolute;
	background: rgba(255, 255, 255, 0.15);
	border: 0;
	color: #fff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.35); }
body.lightbox-open { overflow: hidden; }

/* ------------------------------------------------------------------ blog */
.entry-content {
	background: #fff;
	padding: 50px 0 60px;
}
.entry-content .container h1, .page-title {
	font-family: "Bubblegum Sans", cursive;
	font-size: 30px;
	font-weight: 400;
	color: var(--heading);
	margin-bottom: 18px;
}
.entry-content .container h2 { font-size: 22px; color: var(--heading); margin: 26px 0 10px; }
.entry-content .container p { margin-bottom: 14px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1023px) {
	.header-contact { display: none; }
	.nav-toggle { display: flex; }
	.site-nav {
		position: fixed;
		top: 0;
		right: -280px;
		width: 280px;
		height: 100vh;
		background: #fff;
		z-index: 70;
		transition: right 0.3s ease, visibility 0.3s ease;
		overflow-y: auto;
		padding-top: 70px;
		visibility: hidden;
	}
	body.nav-open .site-nav {
		right: 0;
		visibility: visible;
		box-shadow: -6px 0 20px rgba(0, 0, 0, 0.15);
	}
	body.nav-open .site-header { z-index: 80; }
	body.nav-open .nav-toggle {
		position: relative;
		z-index: 80;
	}
	body.nav-open .nav-toggle span {
		background: var(--heading);
	}
	body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
	body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
	.nav-toggle span { transition: transform 0.25s, opacity 0.25s; }
	body.nav-open .nav-overlay { display: block; }
	.site-nav .menu { flex-direction: column; padding: 0; }
	.site-nav .menu li { flex: none; text-align: left; border-bottom: 1px solid #f0f0f0; }
	.site-nav .menu a { padding: 14px 22px; }
	.hero-slider { height: 480px; }
	.slide-2 .welcome { top: 30px; }
	.slide-2 .desc { top: 200px; }
	.slide-2 .buy { top: 330px; }
	.portfolio-grid { gap: 18px 10px; }
	.portfolio-item { width: 320px; height: 277px; }
	.portfolio-item.item-6 { margin-left: 166px; }
	.blog-media img { height: 210px; }
	.staff-photo { width: 100%; height: 190px; }
	.classes-grid, .staff-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
	.learn-grid { grid-template-columns: repeat(2, 1fr); }
	.about-grid { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 639px) {
	.section { padding: 46px 0; }
	.brand img { height: 40px; }
	.header-inner { min-height: 74px; padding: 14px 15px; }
	.hero-slider { height: 420px; }
	.hero-arrow { width: 38px; height: 38px; font-size: 20px; }
	.slide-2 .welcome { width: 60%; top: 26px; }
	.slide-2 .desc { display: none; }
	.slide-2 .buy { top: 250px; width: 34%; }
	.slide-2 .kids { width: 52%; }
	.classes-grid, .learn-grid, .staff-grid, .shop-grid, .blog-grid { grid-template-columns: 1fr; }
	.portfolio-item { width: 100%; height: auto; aspect-ratio: 381 / 330; }
	.portfolio-item.item-6 { margin-left: 0; }
	.portfolio-item h5 { font-size: 14px; bottom: 14px; }
	.form-row { grid-template-columns: 1fr; gap: 0; }
	.footer-cols { grid-template-columns: 1fr; gap: 30px; }
	.strip-inner { flex-direction: column; gap: 8px; text-align: center; }
}
