/* =========================================================
   Geniatech Edge Theme — Main Stylesheet
   ========================================================= */

:root{
	--gte-primary: #0b5fff;
	--gte-primary-dark: #0a4ad9;
	--gte-secondary: #0a1930;
	--gte-text: #1c2430;
	--gte-text-light: #5c6773;
	--gte-border: #e6e9ee;
	--gte-bg-alt: #f6f8fb;
	--gte-white: #ffffff;
	--gte-radius: 10px;
	--gte-shadow: 0 10px 30px rgba(10, 25, 48, 0.08);
	--gte-container: 1240px;
	--gte-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--gte-font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

/* ---------------- Reset & base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--gte-font-body);
	color: var(--gte-text);
	font-size: 16px;
	line-height: 1.7;
	background: var(--gte-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gte-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gte-primary-dark); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--gte-font-heading);
	font-weight: 700;
	line-height: 1.25;
	color: var(--gte-secondary);
	margin: 0 0 .6em;
}
ul { padding-left: 1.2em; }
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);overflow:hidden;height:1px;width:1px;word-wrap:normal!important;}
.skip-link{position:absolute;top:-100px;left:0;background:var(--gte-primary);color:#fff;padding:10px 16px;z-index:9999;}
.skip-link:focus{top:0;}

.gte-container {
	max-width: var(--gte-container);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------------- Buttons ---------------- */
.gte-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	border: 2px solid transparent;
	cursor: pointer;
}
.gte-btn-primary { background: var(--gte-primary); color: #fff; }
.gte-btn-primary:hover { background: var(--gte-primary-dark); color: #fff; }
.gte-btn-light { background: #fff; color: var(--gte-secondary); }
.gte-btn-light:hover { background: var(--gte-bg-alt); }
.gte-btn-outline { border-color: currentColor; background: transparent; }

.gte-link-arrow { font-weight: 600; color: var(--gte-primary); white-space: nowrap; }

/* ---------------- Topbar ---------------- */
.gte-topbar { background: var(--gte-secondary); color: rgba(255,255,255,.85); font-size: 13px; }
.gte-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.gte-topbar-right { display: flex; align-items: center; gap: 18px; }
.gte-topbar-social { display: flex; gap: 10px; }
.gte-topbar-social a { color: rgba(255,255,255,.75); display: inline-flex; }
.gte-topbar-social a:hover { color: #fff; }

/* ---------------- Header ---------------- */
.site-header { background: #fff; border-bottom: 1px solid var(--gte-border); position: sticky; top: 0; z-index: 500; }
.gte-header-inner { display: flex; align-items: center; gap: 32px; height: 84px; }
.site-branding img { max-height: 48px; width: auto; }
.site-title-link { font-family: var(--gte-font-heading); font-size: 22px; font-weight: 700; color: var(--gte-secondary); }
.main-navigation { flex: 1; }

.gte-primary-menu { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.gte-primary-menu > li { position: relative; }
.gte-primary-menu > li > a.gte-nav-link {
	display: flex; align-items: center; gap: 6px;
	padding: 10px 14px; border-radius: 8px;
	font-weight: 600; font-size: 15px; color: var(--gte-secondary);
}
.gte-primary-menu > li > a.gte-nav-link:hover,
.gte-primary-menu > li.current-menu-item > a.gte-nav-link { color: var(--gte-primary); background: var(--gte-bg-alt); }

.gte-caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; }

.gte-sub-menu {
	list-style: none; margin: 0; padding: 10px;
	position: absolute; top: 100%; left: 0;
	background: #fff; border: 1px solid var(--gte-border); border-radius: var(--gte-radius);
	box-shadow: var(--gte-shadow); min-width: 220px;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .18s ease; z-index: 100;
}
.gte-primary-menu > li:hover > .gte-sub-menu,
.gte-primary-menu > li.gte-open > .gte-sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.gte-sub-menu li { position: relative; }
.gte-sub-menu a.gte-nav-link { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14px; color: var(--gte-text); font-weight: 500; }
.gte-sub-menu a.gte-nav-link:hover { background: var(--gte-bg-alt); color: var(--gte-primary); }
.gte-sub-menu .gte-sub-menu { top: 0; left: 100%; }

.gte-header-actions { display: flex; align-items: center; gap: 14px; }
.gte-search-toggle { background: none; border: none; cursor: pointer; color: var(--gte-text); padding: 6px; }
.gte-header-cta { background: var(--gte-primary); color: #fff; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.gte-header-cta:hover { background: var(--gte-primary-dark); color: #fff; }

.gte-menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; }
.gte-menu-toggle span { display: block; height: 2px; width: 100%; background: var(--gte-secondary); border-radius: 2px; }

.gte-search-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; background: var(--gte-bg-alt); }
.gte-search-panel.is-open { max-height: 120px; }
.gte-search-panel .gte-container { padding-top: 18px; padding-bottom: 18px; }

.gte-search-form { display: flex; max-width: 520px; }
.gte-search-field { flex: 1; padding: 12px 16px; border: 1px solid var(--gte-border); border-radius: 999px 0 0 999px; border-right: none; font-size: 15px; }
.gte-search-submit { background: var(--gte-primary); color: #fff; border: none; padding: 0 18px; border-radius: 0 999px 999px 0; cursor: pointer; }

/* ---------------- Hero Slider ---------------- */
.gte-hero { position: relative; overflow: hidden; background: var(--gte-secondary); }
.gte-hero-track { position: relative; height: 560px; }
.gte-hero-slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease;
	display: flex; align-items: center;
}
.gte-hero-slide.is-active { opacity: 1; visibility: visible; }
.gte-hero-media { position: absolute; inset: 0; }
.gte-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.gte-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,25,48,.88) 10%, rgba(10,25,48,.35) 60%, rgba(10,25,48,.1)); }
.gte-hero-content { position: relative; z-index: 2; color: #fff; max-width: 620px; }
.gte-hero-content h1 { color: #fff; font-size: 42px; margin-bottom: .4em; }
.gte-hero-excerpt { color: rgba(255,255,255,.85); margin-bottom: 24px; font-size: 17px; }
.gte-hero-excerpt ul { list-style: none; padding: 0; margin: 0 0 8px; }
.gte-hero-excerpt li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.gte-hero-excerpt li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gte-primary); }

.gte-hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.gte-hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.gte-hero-dots button.is-active { background: #fff; width: 22px; border-radius: 5px; }

/* ---------------- Generic section layout ---------------- */
.gte-section { padding: 72px 0; }
.gte-bg-alt { background: var(--gte-bg-alt); }
.gte-section-title { font-size: 30px; text-align: center; margin-bottom: 40px; }
.gte-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; }
.gte-section-head .gte-section-title { margin-bottom: 0; text-align: left; }

/* ---------------- Category grid ---------------- */
.gte-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.gte-cat-card {
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	padding: 22px 12px; border: 1px solid var(--gte-border); border-radius: var(--gte-radius);
	text-align: center; background: #fff; transition: box-shadow .2s ease, transform .2s ease;
}
.gte-cat-card:hover { box-shadow: var(--gte-shadow); transform: translateY(-4px); }
.gte-cat-thumb { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }
.gte-cat-thumb img { object-fit: contain; max-height: 64px; }
.gte-cat-name { font-weight: 600; font-size: 14px; color: var(--gte-secondary); }

/* ---------------- Product grid / cards ---------------- */
.gte-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gte-product-grid-archive { grid-template-columns: repeat(4, 1fr); }
.gte-product-card { background: #fff; border: 1px solid var(--gte-border); border-radius: var(--gte-radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.gte-product-card:hover { box-shadow: var(--gte-shadow); transform: translateY(-4px); }
.gte-product-thumb { display: block; aspect-ratio: 4/3; background: #f1f3f6; overflow: hidden; }
.gte-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gte-product-card h3 { font-size: 16px; margin: 16px 16px 6px; }
.gte-product-card p { font-size: 13.5px; color: var(--gte-text-light); margin: 0 16px 18px; }
.gte-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e9edf3, #f6f8fb); }

/* ---------------- Solutions tabs ---------------- */
.gte-solutions-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.gte-solution-tab {
	padding: 10px 18px; border-radius: 999px; border: 1px solid var(--gte-border);
	background: #fff; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--gte-text-light);
}
.gte-solution-tab.is-active { background: var(--gte-primary); border-color: var(--gte-primary); color: #fff; }
.gte-solution-panel { display: none; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.gte-solution-panel.is-active { display: grid; }
.gte-solution-media { border-radius: var(--gte-radius); overflow: hidden; }
.gte-solution-copy h3 { font-size: 24px; }
.gte-solution-copy p { color: var(--gte-text-light); }

.gte-solution-grid-archive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gte-solution-card { border: 1px solid var(--gte-border); border-radius: var(--gte-radius); overflow: hidden; }
.gte-solution-card-thumb { aspect-ratio: 16/10; overflow: hidden; background: #f1f3f6; }
.gte-solution-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gte-solution-card h3 { font-size: 17px; margin: 16px 16px 6px; }
.gte-solution-card p { font-size: 14px; color: var(--gte-text-light); margin: 0 16px 18px; }

/* ---------------- Stats bar ---------------- */
.gte-stats-bar { background: var(--gte-secondary); padding: 48px 0; }
.gte-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.gte-stat-item { display: flex; flex-direction: column; gap: 6px; color: #fff; }
.gte-stat-number { font-family: var(--gte-font-heading); font-size: 40px; font-weight: 700; color: var(--gte-primary); }
.gte-stat-label { font-size: 14px; color: rgba(255,255,255,.75); }

/* ---------------- News grid ---------------- */
.gte-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gte-news-card { background: #fff; border-radius: var(--gte-radius); overflow: hidden; border: 1px solid var(--gte-border); }
.gte-news-thumb { aspect-ratio: 16/10; overflow: hidden; background: #f1f3f6; display:block; }
.gte-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gte-news-meta { font-size: 13px; color: var(--gte-text-light); margin: 16px 16px 4px; }
.gte-news-card h3 { font-size: 17px; margin: 0 16px 18px; }

/* ---------------- CTA band ---------------- */
.gte-cta-band { background: var(--gte-primary); color: #fff; }
.gte-cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 0; }
.gte-cta-band h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.gte-cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 520px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--gte-secondary); color: rgba(255,255,255,.7); }
.gte-footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding: 64px 0 40px; }
.gte-footer-brand .site-title-link { color: #fff; }
.gte-footer-brand img { max-height: 44px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.gte-footer-tagline { font-weight: 600; color: #fff; margin: 0 0 16px; }
.gte-footer-contact { list-style: none; padding: 0; margin: 0 0 18px; font-size: 14px; }
.gte-footer-contact li { margin-bottom: 8px; }
.gte-footer-contact a { color: rgba(255,255,255,.7); }
.gte-footer-social { display: flex; gap: 12px; }
.gte-footer-social a { color: rgba(255,255,255,.7); }
.gte-footer-social a:hover { color: #fff; }
.footer-widget-title { color: #fff; font-size: 15px; margin-bottom: 16px; }
.gte-footer-col ul { list-style: none; padding: 0; margin: 0; }
.gte-footer-col li { margin-bottom: 10px; font-size: 14px; }
.gte-footer-col a { color: rgba(255,255,255,.65); }
.gte-footer-col a:hover { color: #fff; }

.gte-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.gte-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 13px; }
.gte-footer-menu-list { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.gte-footer-menu-list a { color: rgba(255,255,255,.65); font-size: 13px; }

/* ---------------- Page banner (inner pages) ---------------- */
.gte-page-banner { position: relative; background-size: cover; background-position: center; padding: 70px 0; color: #fff; background-color: var(--gte-secondary); }
.gte-page-banner-overlay { position: absolute; inset: 0; background: rgba(10,25,48,.72); }
.gte-page-banner .gte-container { position: relative; z-index: 2; }
.gte-page-banner h1 { color: #fff; margin: 0; font-size: 34px; }
.gte-page-banner-plain { background: var(--gte-bg-alt); color: var(--gte-secondary); padding: 46px 0; }
.gte-page-banner-plain h1 { color: var(--gte-secondary); }
.gte-archive-desc { color: var(--gte-text-light); margin-top: 8px; }

/* ---------------- Breadcrumb ---------------- */
.gte-breadcrumb { font-size: 13px; color: var(--gte-text-light); margin: 22px 0; }
.gte-breadcrumb a { color: var(--gte-text-light); }
.gte-breadcrumb .current { color: var(--gte-text); }

/* ---------------- Content layout (page/single with sidebar) ---------------- */
.gte-content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 20px 0 72px; align-items: start; }
.gte-content-main-full { grid-column: 1 / -1; }
.gte-page-title-inline { margin-top: 12px; }
.gte-entry-content { font-size: 16px; }
.gte-entry-content img { border-radius: var(--gte-radius); }
.gte-entry-content h2 { margin-top: 1.6em; }
.widget { margin-bottom: 32px; }
.widget-title { font-size: 16px; margin-bottom: 14px; border-bottom: 2px solid var(--gte-primary); padding-bottom: 8px; display: inline-block; }

/* ---------------- Blog cards ---------------- */
.gte-blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.gte-post-card { border: 1px solid var(--gte-border); border-radius: var(--gte-radius); overflow: hidden; background: #fff; }
.gte-post-card-thumb { aspect-ratio: 16/10; overflow: hidden; background: #f1f3f6; display: block; }
.gte-post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gte-post-card-body { padding: 18px 20px 22px; }
.gte-post-meta { font-size: 13px; color: var(--gte-text-light); margin-bottom: 8px; }
.gte-meta-sep { margin: 0 6px; }
.gte-post-card-title { font-size: 18px; margin-bottom: 8px; }
.gte-post-card-excerpt { color: var(--gte-text-light); font-size: 14.5px; margin-bottom: 12px; }
.gte-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gte-primary); margin-bottom: 10px; }

.gte-no-results { text-align: center; padding: 60px 0; }

/* ---------------- Single product / solution / post ---------------- */
.gte-single-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.gte-single-product-media { border: 1px solid var(--gte-border); border-radius: var(--gte-radius); overflow: hidden; }
.gte-bullet-list { list-style: none; padding: 0; margin: 18px 0 26px; }
.gte-bullet-list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-weight: 500; }
.gte-bullet-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--gte-primary); font-weight: 700; }
.gte-single-media { border-radius: var(--gte-radius); overflow: hidden; margin: 24px 0; }
.gte-post-tags { margin-top: 26px; font-size: 14px; }
.gte-post-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 5px 12px; background: var(--gte-bg-alt); border-radius: 999px; }

/* ---------------- 404 ---------------- */
.gte-404 { text-align: center; padding: 100px 0; }
.gte-404-code { font-family: var(--gte-font-heading); font-size: 90px; font-weight: 700; color: var(--gte-primary); }
.gte-404-search { margin-top: 24px; display: flex; justify-content: center; }

/* ---------------- Pagination & comments ---------------- */
.pagination, .navigation.pagination { display: flex; gap: 8px; margin-top: 30px; justify-content: center; }
.pagination .page-numbers { padding: 9px 15px; border: 1px solid var(--gte-border); border-radius: 8px; font-weight: 600; font-size: 14px; }
.pagination .page-numbers.current { background: var(--gte-primary); color: #fff; border-color: var(--gte-primary); }

.comments-area { margin-top: 48px; border-top: 1px solid var(--gte-border); padding-top: 32px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 11px 14px; border: 1px solid var(--gte-border); border-radius: 8px; margin-bottom: 14px; font-family: inherit;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
	.gte-cat-grid { grid-template-columns: repeat(3, 1fr); }
	.gte-product-grid, .gte-product-grid-archive { grid-template-columns: repeat(2, 1fr); }
	.gte-news-grid, .gte-solution-grid-archive { grid-template-columns: repeat(2, 1fr); }
	.gte-footer-top { grid-template-columns: 1fr 1fr; }
	.gte-content-layout { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
	.gte-topbar { display: none; }
	.main-navigation { position: fixed; top: 0; right: -320px; width: 300px; height: 100%; background: #fff; box-shadow: -10px 0 30px rgba(0,0,0,.12); padding: 90px 20px 20px; overflow-y: auto; transition: right .25s ease; z-index: 600; }
	.main-navigation.is-open { right: 0; }
	.gte-primary-menu { flex-direction: column; gap: 2px; }
	.gte-primary-menu .gte-sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; border: none; padding-left: 12px; }
	.gte-primary-menu li.gte-open > .gte-sub-menu { display: block; }
	.gte-menu-toggle { display: flex; }
	.gte-header-cta { display: none; }
	.gte-hero-content h1 { font-size: 30px; }
	.gte-hero-track { height: 460px; }
	.gte-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.gte-solution-panel, .gte-solution-panel.is-active { grid-template-columns: 1fr; }
	.gte-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.gte-cta-band-inner { flex-direction: column; text-align: center; }
	.gte-single-product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.gte-product-grid, .gte-product-grid-archive, .gte-news-grid, .gte-solution-grid-archive, .gte-blog-grid { grid-template-columns: 1fr; }
	.gte-footer-top { grid-template-columns: 1fr; }
	.gte-footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
	.gte-section { padding: 48px 0; }
}
