/**
 * ParentingHealthTips — brand layout styles.
 *
 * Loaded after main.css so these rules win over the base component styles.
 * Covers the redesigned header, hero, about, why-choose, programs, faculty,
 * and footer.
 */

:root {
	--c-green: #4caf50;
	--c-sky: #59ade5;
	--c-ink: #2b3440;
	--c-body: #6b7280;
	--c-footer: #4a4f57;
	--c-hairline: #eef1f4;
}

h1, h2, h3 { letter-spacing: -0.02em; }
.front-page .section { background: #fff; }
.section-heading__title { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--c-ink); }
.section-heading__desc { color: var(--c-body); max-width: 760px; margin-inline: auto; }
.eyebrow { color: var(--c-sky); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin: 0 0 12px; }
.dashed-rule { border: 0; border-top: 1px dashed #cfd6dd; margin: 0; }

/* ---------- Buttons ---------- */
.btn { border-radius: 6px; }
.btn--green { background: var(--c-green); color: #fff; }
.btn--green:hover { background: #439a46; color: #fff; }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn--outline:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--login { background: var(--c-sky); color: #fff; padding: .8em 1.7em; }
.btn--login:hover { background: #3f9bd6; color: #fff; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 0; box-shadow: 0 1px 0 rgba(15, 23, 42, .06); }
.site-header__inner { min-height: 84px; gap: var(--sp-5); }

/* Logo left, nav centred in the space between, actions right. */
.site-branding { flex: 0 0 auto; display: flex; align-items: center; }
.site-branding .custom-logo-link { display: block; line-height: 0; }
.site-branding .custom-logo { height: 62px; width: auto; max-height: none; display: block; }
.site-title { font-size: 1.15rem; font-weight: 800; letter-spacing: .01em; color: var(--c-ink); }
.main-navigation { margin-inline: auto; }
.site-header__actions { flex: 0 0 auto; margin-left: 0; gap: var(--sp-5); }

.primary-menu { gap: var(--sp-6); }
.primary-menu a { font-size: 1rem; }
.btn--login { font-size: .95rem; padding: .85em 1.9em; }
.header-search__toggle { width: 46px; height: 46px; }

/* Footer logo sits a touch smaller than the header mark. */
.site-footer__brand .custom-logo { height: 56px; width: auto; max-height: none; }
.primary-menu a { color: var(--c-ink); font-weight: 500; padding-block: 6px; }
.primary-menu a:hover,
.primary-menu .current-menu-item > a { color: var(--c-sky); box-shadow: inset 0 -2px 0 var(--c-sky); }
.header-search__toggle { background: #fdeaee; border-color: #fdeaee; color: var(--c-sky); width: 44px; height: 44px; }
.header-search { position: relative; }
.header-search__form {
	width: 340px;
	max-width: calc(100vw - 2 * var(--sp-5));
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	padding: var(--sp-3);
	border: 1px solid var(--c-border);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(15, 23, 42, .16);
}
.header-search__form input[type="search"] {
	flex: 1;
	height: 44px;
	border-radius: 6px;
	padding: 0 .9em;
	font-size: .95rem;
}
.header-search__form input[type="search"]:focus {
	border-color: var(--c-sky);
	box-shadow: 0 0 0 3px rgba(89, 173, 229, .25);
	outline: none;
}
/* Match the Login button rather than the generic primary blue. */
.header-search__form .btn {
	background: var(--c-sky);
	color: #fff;
	height: 44px;
	padding: 0 1.2em;
	border-radius: 6px;
	font-size: .9rem;
}
.header-search__form .btn:hover { background: #3f9bd6; color: #fff; transform: none; box-shadow: none; }
.header-account__register { color: var(--c-ink); font-weight: 600; font-size: .95rem; }
.header-account__register:hover { color: var(--c-sky); }
.header-account--guest { gap: var(--sp-5); }

/* ---------- Hero ---------- */
.hero {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding-block: 130px;
	min-height: 560px;
	display: flex;
	align-items: center;
}
.hero__inner { display: block; }
.hero__content { max-width: 620px; }
.hero__title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; line-height: 1.16; margin-bottom: var(--sp-5); }
.hero__subtitle { color: rgba(255, 255, 255, .92); font-size: 1rem; line-height: 1.75; max-width: 520px; margin-bottom: var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin: 0; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__media img { width: 100%; height: auto; border-radius: 10px; }
.about__title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; color: var(--c-ink); margin-bottom: var(--sp-5); }
.about__content p { color: var(--c-body); line-height: 1.8; }
.about__list { list-style: none; padding: 0; margin: var(--sp-5) 0 var(--sp-6); }
.about__list li { display: flex; align-items: center; gap: var(--sp-3); padding: 14px 0; border-bottom: 1px solid var(--c-hairline); color: var(--c-ink); }
.about__list li::before { content: ""; width: 8px; height: 8px; background: var(--c-sky); flex: 0 0 8px; }

/* ---------- Why choose us ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-block: var(--sp-8); }
.why__title { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; color: var(--c-ink); margin-bottom: var(--sp-3); }
.why__lead { color: var(--c-body); margin-bottom: var(--sp-5); }
.why__list { margin: 0 0 var(--sp-6); padding-left: 20px; }
.why__list li { padding: 5px 0; }
.why__list a { color: var(--c-ink); }
.why__list a:hover { color: var(--c-sky); }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.strength-card { background: #f1f5f9; border: 0; border-radius: 10px; padding: var(--sp-6) var(--sp-5); text-align: center; box-shadow: none; }
.strength-card__icon { display: block; color: var(--c-sky); margin-bottom: var(--sp-3); }
.strength-card__icon .pht-icon { width: 28px; height: 28px; }
.strength-card__title { color: var(--c-sky); font-size: 1rem; font-weight: 700; margin-bottom: var(--sp-3); }
.strength-card__text { color: var(--c-body); font-size: .9rem; line-height: 1.65; margin: 0; }

/* ---------- Course cards ---------- */
.course-card { border: 1px solid #e6eaee; border-radius: 8px; box-shadow: none; }
.course-card:hover { transform: none; box-shadow: 0 10px 30px rgba(15, 23, 42, .08); }
.course-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; }
.course-card__fav {
	position: absolute; top: 14px; right: 14px;
	width: 36px; height: 36px; border: 0; border-radius: 50%;
	background: #fff; color: #6b7280;
	display: grid; place-items: center; cursor: pointer;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
}
.course-card__fav:hover { color: #e11d48; }
.course-card__rating { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2); }
.course-card__reviews { color: var(--c-body); font-size: .8rem; }
.course-card__title { font-size: 1.05rem; }
.course-card__title a { color: var(--c-green); font-weight: 700; }
.course-card__meta { gap: var(--sp-5); color: var(--c-body); font-size: .85rem; padding-top: var(--sp-3); }
.course-card__meta-item .pht-icon { color: var(--c-sky); }
.course-card__footer { border-top: 1px solid var(--c-hairline); }
.course-card__price { color: var(--c-green); font-weight: 700; }
.course-card__enroll { color: var(--c-ink); font-size: .9rem; text-decoration: underline; }
.course-card__enroll:hover { color: var(--c-sky); }

/* ---------- Faculty ---------- */
.faculty-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: var(--sp-6); list-style: none; padding: 0;
	margin: 0 auto; max-width: 940px; justify-items: center;
}
.faculty-card { text-align: center; background: transparent; border: 0; box-shadow: none; padding: 0; }
.faculty-card__photo img { width: 300px; max-width: 100%; height: auto; border-radius: 8px; background: #c9cdd2; display: block; }
.faculty-card__name { color: var(--c-green); font-size: 1.05rem; font-weight: 700; margin: var(--sp-4) 0 var(--sp-1); }
.faculty-card__role { color: var(--c-body); margin: 0; }

/* ---------- Page banner ---------- */
.page-banner {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding-block: 110px;
	text-align: center;
	color: #fff;
}
.page-banner__title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; margin: 0 0 var(--sp-3); }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: var(--sp-3); font-size: .95rem; }
.breadcrumb a { color: #fff; font-weight: 600; }
.breadcrumb a:hover { color: var(--c-sky); }
.breadcrumb__sep { color: rgba(255, 255, 255, .7); }
.breadcrumb__current { color: #fff; font-weight: 600; }

/* ---------- Courses page ---------- */
.courses-page { padding-block: var(--sp-8); }
.courses-page .section-heading { margin-bottom: var(--sp-6); }

.course-alt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: var(--sp-5);
	align-items: start;
}
.course-alt { background: #fff; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.course-alt__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 12px 12px 0 0; background: #f1f5f9; }
.course-alt__media img { width: 100%; height: 100%; object-fit: cover; }
.course-alt__placeholder { display: block; height: 100%; background: linear-gradient(135deg, #e2e8f0, #f8fafc); }
.course-alt__badge {
	position: absolute; top: 14px; left: 14px;
	background: #d9c9f7; color: #4c2f86;
	font-size: .78rem; font-weight: 600;
	padding: .35em 1em; border-radius: var(--radius-full);
}
.course-alt__body { background: #e8f5ec; padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; gap: var(--sp-2); }
.course-alt__price { color: var(--c-ink); font-weight: 700; font-size: 1.05rem; margin: 0; }
.course-alt__title { font-size: 1rem; font-weight: 700; margin: 0; line-height: 1.4; }
.course-alt__title a { color: var(--c-ink); }
.course-alt__title a:hover { color: var(--c-green); }
.course-alt__excerpt { color: var(--c-body); font-size: .9rem; line-height: 1.6; margin: 0; }
.course-alt__meta { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: auto; padding-top: var(--sp-4); color: var(--c-ink); font-size: .85rem; }
.course-alt__meta-item { display: inline-flex; align-items: center; gap: .4em; }
.course-alt__meta-item .pht-icon { width: 1.05em; height: 1.05em; color: var(--c-ink); }

@media (max-width: 782px) {
	.page-banner { padding-block: 70px; }

	/* Restore the stacked mobile header — the centred desktop nav must not
	   interfere with the slide-down menu. */
	.site-header__inner { min-height: 68px; }
	.main-navigation { margin-inline: 0; }
	.site-branding .custom-logo { height: 44px; }
	.site-footer__brand .custom-logo { height: 46px; }
}

/* ---------- Animated water divider ---------- */
.wave { display: block; width: 100%; line-height: 0; overflow: hidden; }
.wave__svg { display: block; width: 100%; height: 90px; }

/* Each layer drifts at its own speed/offset, giving a parallax water motion. */
.wave__parallax > use {
	animation: pht-wave-drift 25s cubic-bezier(.55, .5, .45, .5) infinite;
	will-change: transform;
}
.wave__parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.wave__parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.wave__parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.wave__parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes pht-wave-drift {
	0%   { transform: translate3d(-90px, 0, 0); }
	100% { transform: translate3d(85px, 0, 0); }
}

/* Water lapping the bottom of the hero — pulled up over the photo. */
.wave--hero { margin-top: -90px; position: relative; z-index: 2; }
.wave--hero .wave__svg { height: 90px; }

/* Water flowing into the footer. */
.wave--footer .wave__svg { height: 110px; }

@media (prefers-reduced-motion: reduce) {
	.wave__parallax > use { animation: none; }
}

@media (max-width: 782px) {
	.wave__svg,
	.wave--hero .wave__svg { height: 60px; }
	.wave--hero { margin-top: -60px; }
	.wave--footer .wave__svg { height: 70px; }
}

/* ---------- Footer ---------- */
.site-footer { background: transparent; margin-top: var(--sp-8); padding: 0; color: #e2e8f0; }
.site-footer__main { background: var(--c-footer); padding-bottom: var(--sp-5); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-block: var(--sp-5) var(--sp-7); }
.site-footer__title { color: #fff; font-weight: 800; font-size: 1.2rem; }
.site-footer__contact { list-style: none; padding: 0; margin: var(--sp-5) 0 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.site-footer__contact li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: .95rem; }
.site-footer__contact .pht-icon { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; opacity: .9; }
.site-footer__heading { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: var(--sp-5); }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.site-footer__col a { color: #e2e8f0; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
	gap: var(--sp-5); border-top: 1px solid rgba(255, 255, 255, .12); padding-top: var(--sp-5);
}
.site-footer__bottom-links { display: flex; flex-wrap: wrap; gap: var(--sp-5); list-style: none; padding: 0; margin: 0; }
.site-footer__copy { margin: 0; font-size: .9rem; }

/* ---------- About page ---------- */
.about-page { overflow-x: hidden; }

.about-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem); }
.about-hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-hero__title { font-size: clamp(1.9rem, 3.6vw, 2.65rem); font-weight: 800; color: var(--c-ink); line-height: 1.25; margin: clamp(2rem, 6vw, 5rem) 0 0; max-width: 15ch; }
.about-hero__media { position: relative; justify-self: center; padding: 18px; }
.about-hero__media::before {
	content: ""; position: absolute; inset: 0;
	border: 1px solid #b9d8f0; border-radius: 50%;
}
.about-hero__media img {
	display: block; width: clamp(260px, 30vw, 380px); aspect-ratio: 1; border-radius: 50%; object-fit: cover;
	box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
}

.about-strengths { padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 4.5rem); }
.about-strengths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.4vw, 2rem); }
.strength-card { background: #f1f2f7; border-radius: 10px; padding: clamp(1.5rem, 2.6vw, 2.25rem); }
.strength-card__icon { font-size: 2rem; line-height: 1; display: block; margin-bottom: var(--sp-5); }
.strength-card__title { font-size: 1.05rem; font-weight: 700; color: #3aa64a; margin: 0 0 var(--sp-4); }
.strength-card__body { color: #6b7280; font-size: .95rem; line-height: 1.75; margin: 0; }

.about-programs { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.about-programs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-programs__title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--c-ink); margin: 0 0 var(--sp-5); }
.about-programs__intro { color: #6b7280; line-height: 1.8; margin-bottom: var(--sp-6); }
.program-item { margin-bottom: var(--sp-5); }
.program-item__title { font-size: 1rem; font-weight: 700; color: var(--c-ink); margin: 0 0 var(--sp-3); }
.program-item__body { color: #6b7280; font-size: .95rem; line-height: 1.8; margin: 0; }

.about-programs__media { position: relative; padding: 26px 0 0 26px; }
.about-programs__media img { display: block; width: 100%; border-radius: 4px; object-fit: cover; position: relative; z-index: 1; }
.about-programs__shape { position: absolute; border-radius: 6px; z-index: 0; }
.about-programs__shape--pink { background: #fbdfe4; width: 46%; height: 90px; top: 0; right: 0; }
.about-programs__shape--blue { background: #cfe6f6; width: 60px; height: 210px; left: 0; top: 34%; }
.satisfaction {
	position: absolute; z-index: 2; right: 6%; bottom: 12%;
	display: flex; align-items: center; gap: var(--sp-3);
	background: #fff; border-radius: 999px; padding: 10px 18px 10px 12px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .16);
}
.satisfaction__avatars { display: inline-flex; }
.satisfaction__avatars i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-right: -8px; display: block; }
.satisfaction__avatars i:nth-child(1) { background: #6b7280; }
.satisfaction__avatars i:nth-child(2) { background: #c58a6a; }
.satisfaction__avatars i:nth-child(3) { background: #4a5568; }
.satisfaction__avatars i:nth-child(4) { background: #a03a4a; }
.satisfaction__meta strong { display: block; font-size: 1rem; font-weight: 800; color: var(--c-ink); line-height: 1.2; }
.satisfaction__meta em { font-style: normal; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #9aa2ad; }

.about-story { background: #fdeff0; padding-block: clamp(3rem, 6vw, 4.5rem); }
.about-story__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-story__media img { display: block; width: 100%; border-radius: 4px; object-fit: cover; }
.about-story__title { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--c-ink); margin: 0 0 var(--sp-5); }
.about-story__subtitle { font-size: 1rem; font-weight: 700; color: var(--c-ink); margin: var(--sp-6) 0 var(--sp-3); }
.about-story__text > p { color: #6b7280; font-size: .95rem; line-height: 1.85; margin: 0 0 var(--sp-4); }
.about-story__text > p strong { color: var(--c-ink); }
.about-story__facts { list-style: none; padding: 0; margin: var(--sp-5) 0 0; }
.about-story__facts li { color: #6b7280; font-size: .95rem; line-height: 1.9; }
.about-story__facts strong { color: var(--c-ink); }

.about-infra { padding-block: clamp(3rem, 6vw, 4.5rem); }
.about-infra .section-heading__desc { max-width: 720px; line-height: 1.8; }
.about-infra__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.4vw, 2rem); max-width: 900px; margin-inline: auto; }
.infra-card { background: #f1f2f7; border-radius: 8px; padding: clamp(1.5rem, 2.4vw, 2rem); text-align: center; }
.infra-card__icon { display: inline-flex; margin-bottom: var(--sp-4); color: var(--c-sky); }
.infra-card__icon .pht-icon { width: 26px; height: 26px; }
.infra-card__title { font-size: .95rem; font-weight: 700; color: var(--c-ink); margin: 0 0 var(--sp-3); }
.infra-card__body { color: #6b7280; font-size: .88rem; line-height: 1.7; margin: 0; }

@media (max-width: 900px) {
	.about-hero__inner,
	.about-programs__grid,
	.about-story__grid { grid-template-columns: 1fr; }
	.about-hero__title { margin-top: var(--sp-5); max-width: none; }
	.about-hero__media { order: -1; }
	.about-strengths__grid,
	.about-infra__grid { grid-template-columns: 1fr; }
	.about-story__media img { max-width: 420px; margin-inline: auto; }
}

/* ---------- Contact page ---------- */
.contact-page { padding-block: var(--sp-6) var(--sp-8); }
.breadcrumb--light { display: flex; align-items: center; gap: .5em; font-size: .95rem; color: var(--c-body); margin-bottom: var(--sp-5); }
.breadcrumb--light a { color: #e0457b; }
.breadcrumb--light a:hover { color: #c33a69; }
.breadcrumb--light .breadcrumb__sep { color: #9aa2ad; }
.breadcrumb--light .breadcrumb__current { color: var(--c-body); font-weight: 500; }
.contact-page__title { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 800; color: var(--c-ink); margin: 0 0 var(--sp-7); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-details__brand { font-size: 1.15rem; font-weight: 800; color: var(--c-ink); margin: 0 0 var(--sp-5); }
.contact-details__line { margin: 0 0 var(--sp-4); color: var(--c-body); }
.contact-details__line strong { color: var(--c-ink); }
.contact-details__line a { color: var(--c-sky); }
.contact-details__line a:hover { color: #3f96d3; }
.contact-details__hours { margin: 0 0 var(--sp-5); padding-left: 1.2em; color: var(--c-body); }
.contact-details__hours li { margin-bottom: var(--sp-2); }
.contact-details__cta a { color: var(--c-ink); font-weight: 600; text-decoration: underline; }
.contact-details__cta a:hover { color: var(--c-sky); }

.contact-map { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 18px rgba(15, 23, 42, .08); }
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }

.contact-divider { border: 0; border-top: 1px dashed #cfd6de; margin: clamp(2.5rem, 6vw, 4rem) 0; }

/* ---------- Request Online Support ---------- */
.support-card {
	max-width: 980px;
	margin-inline: auto;
	border: 1px solid #e6eaee;
	border-radius: 10px;
	padding: clamp(1.75rem, 4vw, 3rem);
}
.support-card__head { text-align: center; margin-bottom: var(--sp-7); }
.support-card__title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; color: var(--c-ink); margin: 0 0 var(--sp-3); }
.support-card__subtitle { color: var(--c-body); max-width: 640px; margin-inline: auto; }

.support-form { max-width: none; }
.support-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-6); }
.support-form .form__row { margin-bottom: var(--sp-5); }
.support-form .form__label { color: var(--c-ink); font-size: .92rem; }
.support-form .form__req { color: #e0457b; }
.support-form .form__input {
	width: 100%;
	border: 1px solid #e3e8ee;
	border-radius: 6px;
	padding: .8em 1em;
	font-size: .95rem;
}
.support-form .form__input:focus { border-color: var(--c-sky); box-shadow: 0 0 0 3px rgba(89, 173, 229, .18); outline: none; }
.support-form textarea.form__input { resize: vertical; min-height: 190px; }
.support-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.support-form__actions { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); }
.support-form__actions .btn { min-width: 132px; justify-content: center; border-radius: 6px; padding: .9em 2em; }

@media (max-width: 900px) {
	.contact-grid,
	.support-form__grid { grid-template-columns: 1fr; }
	.contact-map iframe { height: 300px; }
}

/* ---------- Purchase history ---------- */
.order-table__wrap { overflow-x: auto; }
.order-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.order-table th,
.order-table td { text-align: left; padding: var(--sp-4); border-bottom: 1px solid var(--c-hairline); font-size: .95rem; }
.order-table th { color: var(--c-ink); font-weight: 700; }
.order-table td a { color: var(--c-ink); font-weight: 600; }
.order-table td a:hover { color: var(--c-sky); }
.order-status { display: inline-block; padding: .25em .8em; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.order-status--paid { background: #e8f6ea; color: #2f8a3a; }
.order-status--pending { background: #fff4e0; color: #a86b12; }
.order-status--failed { background: #fdecec; color: #a12626; }
.order-status--refunded { background: #eef1f4; color: #5b6674; }

/* ---------- Auth (login / register) ---------- */
.auth-page {
	background: #f6f8fb;
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	display: flex;
	justify-content: center;
}
.auth-card {
	background: #fff;
	width: 100%;
	max-width: 458px;
	margin-inline: var(--sp-4);
	padding: clamp(1.75rem, 4vw, 2.5rem);
	border-radius: 10px;
	box-shadow: 0 6px 28px rgba(15, 23, 42, .07);
	text-align: center;
}
.auth-card__brand { display: inline-block; margin-bottom: var(--sp-3); }
.auth-card__brand img { height: 56px; width: auto; }
.auth-card__brand-text { font-weight: 800; color: var(--c-ink); font-size: 1.2rem; }
.auth-card__title { font-size: 1.6rem; font-weight: 800; color: var(--c-ink); margin: 0 0 var(--sp-2); }
.auth-card__subtitle { color: var(--c-body); margin: 0 0 var(--sp-6); font-size: .98rem; }
.auth-card__alert {
	background: #fdecec;
	border: 1px solid #f5c2c2;
	color: #a12626;
	border-radius: 6px;
	padding: .7em 1em;
	font-size: .9rem;
	margin: 0 0 var(--sp-5);
	text-align: left;
}

.auth-card__notice {
	background: #e8f6ee;
	border: 1px solid #b8e2c8;
	color: #1c6b3f;
	border-radius: 6px;
	padding: .7em 1em;
	font-size: .9rem;
	margin: 0 0 var(--sp-5);
	text-align: left;
}

.auth-form--resend {
	margin: 0 0 var(--sp-5);
	padding: var(--sp-4);
	background: #f7f9fb;
	border: 1px solid #e2e8ef;
	border-radius: 8px;
}

.auth-form { text-align: left; max-width: none; }
.auth-form .form__row { margin-bottom: var(--sp-4); }
.auth-form .form__label { color: var(--c-ink); font-size: .92rem; }
.auth-form .form__req { color: #e0457b; }
.auth-form .form__input {
	width: 100%;
	border: 1px solid #e3e8ee;
	border-radius: 6px;
	padding: .8em 1em;
	font-size: .95rem;
}
.auth-form .form__input:focus { border-color: var(--c-sky); box-shadow: 0 0 0 3px rgba(89, 173, 229, .18); outline: none; }
.auth-form__aside {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	margin-bottom: var(--sp-5);
	font-size: .9rem;
}
.auth-form__remember { display: inline-flex; align-items: center; gap: .5em; color: var(--c-body); cursor: pointer; }
.auth-form__link { color: var(--c-sky); }
.auth-form__link:hover { color: #3f96d3; }
.auth-form__submit { width: 100%; justify-content: center; border-radius: 6px; padding: .95em 1.25em; font-size: 1rem; }
.auth-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.auth-card__foot { margin: var(--sp-5) 0 0; color: var(--c-body); font-size: .95rem; }
.auth-card__foot a { color: var(--c-green); font-weight: 700; }
.auth-card__foot a:hover { color: #3d8b41; }

/* ---------- Blog index ---------- */
.blog-page { padding-block: var(--sp-8); }
.blog-page .section-heading { margin-bottom: var(--sp-7); }
.blog-page .posts-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }

.post-card {
	background: #fff;
	border: 1px solid #edf0f3;
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(15, 23, 42, .06);
	overflow: hidden;
}
.post-card__media { display: block; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.post-card__body { padding: var(--sp-5); gap: var(--sp-3); }
.post-card__meta { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.post-card__cat {
	background: #e8f6ea;
	color: #2f8a3a;
	font-size: .8rem;
	font-weight: 600;
	padding: .3em .85em;
	border-radius: 999px;
	line-height: 1.4;
}
.post-card__cat:hover { background: #d8efdb; color: #256e2e; }
.post-card__date { color: var(--c-body); font-size: .85rem; }
.post-card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; margin: 0; }
.post-card__title a { color: var(--c-ink); }
.post-card__title a:hover { color: var(--c-sky); }
.post-card__excerpt { color: var(--c-body); font-size: .95rem; }
.post-card__excerpt p { margin: 0; }
.post-card__more { color: var(--c-sky); font-weight: 600; }
.post-card__more:hover { color: #3f96d3; }

@media (max-width: 900px) {
	.blog-page .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
	.blog-page .posts-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.about,
	.why,
	.why__grid,
	.site-footer__grid { grid-template-columns: 1fr; }
	.hero { padding-block: 90px; min-height: 460px; }
}
