/* ============================================================
   HYT Klean — Responsive Styles
   ============================================================ */

/* ---------- ≤1200px ---------- */
@media (max-width: 1200px) {
	.hytk-nav .nav-menu > li > a {
		padding: 10px 11px;
		font-size: 13.5px;
	}

	.hytk-product-grid,
	.hytk-product-grid-sm {
		grid-template-columns: repeat(3, 1fr);
	}

	.hytk-footer-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 32px;
	}
}

/* ---------- ≤1024px ---------- */
@media (max-width: 1024px) {
	.hytk-advantage-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.hytk-split-row,
	.hytk-sales-inner,
	.hytk-data-band-inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.hytk-data-band-inner {
		text-align: center;
	}

	.hytk-split-row-reverse .hytk-split-media {
		order: 1;
	}

	.hytk-product-center-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hytk-video-grid,
	.hytk-news-grid,
	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hytk-product-layout,
	.hytk-product-content {
		grid-template-columns: 1fr;
	}

	/* Header collapses to mobile nav */
	.hytk-nav {
		position: absolute;
		top: 100%;
		left: 16px;
		right: 16px;
		background: #ffffff;
		border-radius: var(--hytk-radius-lg);
		box-shadow: 0 20px 50px rgba(0, 92, 169, .18);
		padding: 16px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: all .28s ease;
		z-index: 50;
	}

	.hytk-body.nav-open .hytk-nav {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.hytk-nav .nav-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.hytk-nav .nav-menu > li > a {
		padding: 12px 14px;
		font-size: 15px;
	}

	.hytk-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		padding: 0 0 0 16px;
		min-width: 0;
	}

	.hytk-nav-toggle {
		display: inline-flex;
	}

	.hytk-header-cta span {
		display: none;
	}

	.hytk-header-cta {
		width: 42px;
		height: 42px;
		padding: 0;
	}
}

/* ---------- ≤768px ---------- */
@media (max-width: 768px) {
	.hytk-section {
		padding: 60px 0;
	}

	.hytk-hero-swiper {
		height: 520px;
	}

	.hytk-advantage-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hytk-product-center-grid {
		grid-auto-rows: 220px;
	}

	.hytk-product-grid,
	.hytk-product-grid-sm,
	.hytk-video-grid,
	.hytk-news-grid,
	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
	}

	.hytk-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hytk-footer-bottom {
		flex-direction: column;
		text-align: center;
	}

	.hytk-data-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.hytk-aside {
		right: 14px;
		gap: 10px;
	}

	.hytk-aside-item {
		width: 44px;
		height: 44px;
	}

	.hytk-inquiry-popup-box {
		padding: 30px 22px 24px;
	}

	.hytk-single-nav {
		grid-template-columns: 1fr;
	}
}

/* ---------- ≤600px ---------- */
@media (max-width: 600px) {
	.hytk-container {
		padding: 0 18px;
	}

	.hytk-header-inner {
		padding: 8px 12px;
		gap: 8px;
	}

	.hytk-brand-logo {
		height: 34px;
	}

	.hytk-lang-switch {
		display: none;
	}

	.hytk-hero-swiper {
		height: 460px;
	}

	.hytk-hero-title {
		font-size: 30px;
	}

	.hytk-advantage-grid,
	.hytk-product-center-grid,
	.hytk-product-grid,
	.hytk-product-grid-sm,
	.hytk-video-grid,
	.hytk-news-grid,
	.projects-grid,
	.hytk-footer-grid {
		grid-template-columns: 1fr;
	}

	.hytk-product-center-grid {
		grid-auto-rows: 200px;
	}

	.hytk-inquiry-form .form-row {
		grid-template-columns: 1fr;
	}

	.hytk-data-stats {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.hytk-data-num {
		font-size: 32px;
	}

	.hytk-page-banner {
		padding: 130px 0 34px;
	}

	.hytk-page-body {
		padding: 40px 18px 64px;
	}

	.hytk-aside {
		display: none;
	}

	.hytk-404-code {
		font-size: 84px;
	}
}

/* ---------- About & Contact page responsive ---------- */

/* ≤1200px */
@media (max-width: 1200px) {
	.hytk-cert-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.hytk-contact-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ≤1024px */
@media (max-width: 1024px) {
	.hytk-contact-grid {
		grid-template-columns: 1fr;
	}

	.hytk-contact-map {
		min-height: 340px;
	}
}

/* ≤768px */
@media (max-width: 768px) {
	.hytk-value-grid {
		grid-template-columns: 1fr;
	}

	.hytk-cert-grid,
	.hytk-contact-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
	}

	.hytk-cta-band-inner {
		flex-direction: column;
		text-align: center;
	}

	.hytk-cta-actions {
		justify-content: center;
	}
}

/* ≤600px */
@media (max-width: 600px) {
	.hytk-value-grid,
	.hytk-cert-grid,
	.hytk-contact-cards {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.hytk-value-card,
	.hytk-cert-card,
	.hytk-contact-card {
		padding: 28px 20px;
	}

	.hytk-contact-form-wrap {
		padding: 26px 18px;
	}

	.hytk-cta-band-inner {
		padding: 40px 24px;
		gap: 22px;
	}

	.hytk-cta-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hytk-cta-actions .btn {
		width: 100%;
	}

	.hytk-contact-map {
		min-height: 260px;
	}
}

/* ---------- ≤768px: gallery + news head ---------- */
@media (max-width: 768px) {
	.hytk-section-head-flex {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.hytk-gallery-thumbs .swiper-slide {
		width: 25%;
	}

	.hytk-product-cats {
		gap: 8px;
		margin-bottom: 28px;
	}
}

/* ---------- ≤600px: gallery + category filter ---------- */
@media (max-width: 600px) {
	.hytk-gallery-nav {
		display: none;
	}

	.hytk-gallery-pagination {
		display: none;
	}

	.hytk-gallery-thumbs .swiper-slide {
		border-radius: 6px;
	}

	.hytk-product-gallery-placeholder {
		min-height: 240px;
		font-size: 44px;
	}

	.hytk-product-cat {
		padding: 7px 14px;
		font-size: 12px;
	}
}

/* ---------- ≤1024px: team grid ---------- */
@media (max-width: 1024px) {
	.hytk-team-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
	}

	.hytk-team-single-layout {
		grid-template-columns: 300px 1fr;
		gap: 32px;
	}
}

/* ---------- ≤768px: team single ---------- */
@media (max-width: 768px) {
	.hytk-team-single-layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.hytk-team-single-media {
		max-width: 420px;
	}

	.hytk-author-box {
		padding: 20px;
		gap: 16px;
	}

	.hytk-author-avatar img {
		width: 64px;
		height: 64px;
	}
}

/* ---------- ≤600px: team grid + misc ---------- */
@media (max-width: 600px) {
	.hytk-team-grid {
		grid-template-columns: 1fr;
	}

	.hytk-specstrip {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.hytk-specstrip-item {
		padding: 10px 8px;
	}

	.hytk-application-grid {
		grid-template-columns: 1fr;
	}

	.hytk-sticky-quote-name {
		display: none;
	}

	.hytk-sticky-quote-inner {
		justify-content: center;
	}

	.hytk-faq-toggle {
		padding: 16px 18px;
		font-size: 15.5px;
	}

	.hytk-faq-item .hytk-entry-content {
		padding: 0 18px 18px;
	}

	.hytk-faq-cta {
		padding: 28px 20px;
	}

	.hytk-product-trust span {
		font-size: 11.5px;
		padding: 5px 10px;
	}

	.hytk-single-meta {
		gap: 12px;
		font-size: 13px;
	}

	.hytk-author-box {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

/* ---------- ≤1024px: product details 双栏收窄 ---------- */
@media (max-width: 1024px) {
	.hytk-product-details {
		grid-template-columns: 1fr;
	}

	.hytk-specstrip {
		grid-template-columns: repeat(2, 1fr);
	}

	.hytk-application-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hytk-docs-list {
		grid-template-columns: 1fr;
	}
}

/* ---------- ≤768px: news cats 间距 ---------- */
@media (max-width: 768px) {
	.hytk-news-cats {
		gap: 8px;
		margin-bottom: 28px;
	}

	.hytk-product-grid,
	.hytk-product-grid-sm {
		grid-template-columns: repeat(2, 1fr);
	}

	.hytk-album-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

/* ---------- ≤600px: album 保持 2 列小图 ---------- */
@media (max-width: 600px) {
	.hytk-album-grid {
		gap: 10px;
	}
}
