/*
Theme Name: InnoNew GeneratePress Child
Description: Child theme for the InnoNew corporate website based on GeneratePress.
Author: InnoNew
Template: generatepress
Version: 1.0.0
Text Domain: innonew-generatepress-child
*/

/*
 * Custom styles belong below this notice.
 * Keep additions organized by component and document non-obvious decisions.
 */

/* InnoNew homepage draft — scoped preview styles. */
body.innonew-home-draft-preview .site-header,
body.innonew-home-draft-preview #site-navigation,
body.innonew-home-draft-preview .site-footer,
body.innonew-home-draft-preview .entry-header {
	display: none;
}

body.innonew-home-draft-preview,
body.innonew-home-draft-preview .site-content,
body.innonew-home-draft-preview .content-area,
body.innonew-home-draft-preview .site-main,
body.innonew-home-draft-preview article,
body.innonew-home-draft-preview .inside-article,
body.innonew-home-draft-preview .entry-content {
	margin: 0;
	padding: 0;
	max-width: none;
	width: 100%;
}

.innonew-home-draft {
	--ih-blue: #103d78;
	--ih-blue-dark: #06345f;
	--ih-orange: #f08719;
	--ih-ink: #132f56;
	--ih-body: #4b5563;
	--ih-muted: #6b7280;
	--ih-bg: #f5f7fa;
	--ih-border: #d9e1ea;
	--ih-white: #fff;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ih-body);
	background: var(--ih-white);
	font-size: 16px;
	line-height: 1.55;
}

.innonew-home-draft *, .innonew-home-draft *::before, .innonew-home-draft *::after { box-sizing: border-box; }
.innonew-home-draft img { display: block; max-width: 100%; }
.innonew-home-draft a { color: inherit; text-decoration: none; }
.innonew-home-draft a:focus-visible, .innonew-home-draft summary:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.ih-shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.ih-section { padding: 76px 0; }
.ih-section--tint { background: #f2f7fb; }
.ih-eyebrow { margin: 0 0 9px; color: #2779c8; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ih-title { margin: 0; color: var(--ih-blue); font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.025em; }
.ih-lede { max-width: 680px; margin: 16px 0 0; font-size: 17px; }
.ih-section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.ih-section-head > p { max-width: 440px; margin: 0; }
.ih-btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.ih-btn:hover { transform: translateY(-1px); }
.ih-btn--primary { color: #fff; background: var(--ih-orange); }
.ih-btn--primary:hover { background: #d96f08; }
.ih-btn--outline { color: var(--ih-blue); border-color: var(--ih-blue); background: rgba(255,255,255,.9); }
.ih-arrow { font-size: 18px; line-height: 1; }
.ih-temp-note { margin: 8px 0 0; color: #596b80; font-size: 11px; font-style: italic; }

.ih-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid var(--ih-border); }
.ih-header__row { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.ih-logo { width: 132px; height: 52px; object-fit: contain; object-position: left center; }
.ih-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.ih-nav a { color: var(--ih-blue); font-size: 14px; font-weight: 700; }
.ih-nav a:hover { color: var(--ih-orange); }
.ih-mobile { display: none; margin-left: auto; }
.ih-mobile summary { list-style: none; cursor: pointer; color: var(--ih-blue); font-size: 26px; }
.ih-mobile summary::-webkit-details-marker { display: none; }
.ih-mobile__panel { position: absolute; top: 76px; right: 16px; width: min(320px, calc(100vw - 32px)); padding: 18px; background: #fff; box-shadow: 0 16px 40px rgba(15,46,82,.18); border: 1px solid var(--ih-border); }
.ih-mobile__panel a { display: block; padding: 12px; color: var(--ih-blue); font-weight: 700; border-bottom: 1px solid #edf1f5; }

.ih-hero { position: relative; min-height: 540px; display: grid; align-items: center; overflow: hidden; background: #d9effe; }
.ih-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ih-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,251,255,.98) 0%, rgba(244,251,255,.88) 39%, rgba(244,251,255,.15) 68%, rgba(244,251,255,0) 100%); }
.ih-hero__content { position: relative; z-index: 1; max-width: 650px; padding: 70px 0; }
.ih-hero h1 { margin: 0; max-width: 640px; color: #07377a; font-size: clamp(42px, 5.7vw, 68px); line-height: .98; letter-spacing: -.045em; }
.ih-hero__copy { max-width: 590px; margin: 21px 0 25px; color: #21456e; font-size: 17px; }
.ih-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ih-hero__tag { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1200px)/2)); top: 52px; max-width: 240px; padding-left: 18px; color: #0c3f7f; border-left: 3px solid var(--ih-orange); font-weight: 800; line-height: 1.25; }

.ih-value-strip { border-block: 1px solid var(--ih-border); background: #fff; }
.ih-values { display: grid; grid-template-columns: repeat(4, 1fr); }
.ih-value { min-height: 108px; display: flex; align-items: center; gap: 15px; padding: 22px 24px; border-right: 1px solid var(--ih-border); }
.ih-value:last-child { border-right: 0; }
.ih-icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ih-blue); border: 2px solid #2e76c8; border-radius: 50%; font-weight: 900; }
.ih-value strong { display: block; color: var(--ih-blue); font-size: 14px; }
.ih-value span { display: block; color: var(--ih-muted); font-size: 12px; }

.ih-about { display: grid; grid-template-columns: .95fr 1.2fr .85fr; gap: 0; align-items: stretch; }
.ih-about__copy { padding: 38px 34px 38px 0; }
.ih-about__copy p { margin: 18px 0 24px; }
.ih-about__photo { min-height: 400px; position: relative; overflow: hidden; }
.ih-about__photo img { width: 100%; height: 100%; object-fit: cover; }
.ih-benefits { padding: 36px 30px; color: #fff; background: linear-gradient(150deg, #103f82, #052f66); }
.ih-benefit { display: flex; gap: 14px; margin-bottom: 24px; }
.ih-benefit:last-child { margin-bottom: 0; }
.ih-benefit b { display: block; font-size: 14px; }
.ih-benefit span { display: block; color: #d6e7fb; font-size: 12px; }

.ih-grid { display: grid; gap: 20px; }
.ih-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ih-grid--6 { grid-template-columns: repeat(6, 1fr); }
.ih-card { overflow: hidden; background: #fff; border: 1px solid var(--ih-border); border-radius: 4px; box-shadow: 0 7px 22px rgba(12,55,101,.055); }
.ih-card__image { width: 100%; aspect-ratio: 4/2.35; object-fit: cover; }
.ih-card__body { padding: 20px; }
.ih-card h3 { margin: 0 0 8px; color: #063b86; font-size: 21px; line-height: 1.15; }
.ih-card p { margin: 0; font-size: 14px; }
.ih-card__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 17px; padding-top: 15px; border-top: 1px solid #e8edf3; color: #0d56a6; font-size: 13px; font-weight: 700; }
.ih-card__cta { display: inline-flex; margin-top: 16px; color: #07844f; font-size: 14px; font-weight: 800; }
.ih-mini { min-height: 145px; padding: 22px 15px; text-align: center; background: #fff; border: 1px solid var(--ih-border); border-radius: 4px; }
.ih-mini .ih-icon { margin: 0 auto 12px; }
.ih-mini h3 { margin: 0 0 6px; color: #073f8e; font-size: 15px; line-height: 1.18; }
.ih-mini p { margin: 0; color: #67758a; font-size: 12px; }

.ih-supply { display: grid; grid-template-columns: 1.05fr 1.8fr; gap: 16px; }
.ih-supply__feature { position: relative; min-height: 405px; overflow: hidden; }
.ih-supply__feature img { width: 100%; height: 100%; object-fit: cover; }
.ih-supply__label { position: absolute; inset: auto 0 0; padding: 28px; color: #fff; background: linear-gradient(transparent, rgba(3,34,73,.9)); }
.ih-supply__tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ih-supply__tile { min-height: 190px; padding: 24px; border: 1px solid var(--ih-border); background: #fff; }
.ih-supply__tile h3 { margin: 15px 0 8px; color: var(--ih-blue); font-size: 17px; }
.ih-supply__tile p { margin: 0; font-size: 13px; }

.ih-app-card .ih-card__image { aspect-ratio: 16/7; }
.ih-app-card strong { display: block; color: var(--ih-blue); margin-bottom: 6px; }
.ih-read { display: inline-flex; margin-top: 13px; color: var(--ih-orange); font-weight: 800; font-size: 13px; }

.ih-cta { position: relative; overflow: hidden; color: #fff; background: #063867; }
.ih-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #063867 0 48%, rgba(6,56,103,.65) 72%, rgba(6,56,103,.38)), url('/wp-content/themes/innonew-generatepress-child/assets/images/application-bridge-concept.png') center/cover; }
.ih-cta__row { position: relative; z-index: 1; min-height: 220px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ih-cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(30px, 4vw, 44px); }
.ih-cta p { max-width: 650px; margin: 0; color: #dbe9f7; }

.ih-footer { color: #d8e5f1; background: #052f59; }
.ih-footer__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.25fr; gap: 38px; padding: 54px 0 36px; }
.ih-footer .ih-logo { padding: 6px 10px; border-radius: 4px; background: #fff; }
.ih-footer h3 { margin: 0 0 15px; color: #fff; font-size: 14px; }
.ih-footer p, .ih-footer a { color: #d8e5f1; font-size: 13px; }
.ih-footer a { display: block; margin: 0 0 8px; }
.ih-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; }

@media (max-width: 992px) {
	.ih-nav, .ih-header .ih-btn { display: none; }
	.ih-mobile { display: block; }
	.ih-values { grid-template-columns: repeat(2, 1fr); }
	.ih-value:nth-child(2) { border-right: 0; }
	.ih-about { grid-template-columns: 1fr 1fr; }
	.ih-about__copy { grid-column: 1 / -1; padding: 0 0 30px; }
	.ih-grid--6 { grid-template-columns: repeat(3, 1fr); }
	.ih-supply { grid-template-columns: 1fr; }
	.ih-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.ih-shell { width: min(100% - 32px, 1200px); }
	.ih-section { padding: 52px 0; }
	.ih-section-head { display: block; }
	.ih-section-head > p { margin-top: 14px; }
	.ih-hero { min-height: 650px; align-items: start; }
	.ih-hero__image { object-position: 64% center; }
	.ih-hero::after { background: linear-gradient(180deg, rgba(244,251,255,.98) 0%, rgba(244,251,255,.9) 46%, rgba(244,251,255,.12) 75%); }
	.ih-hero__content { padding-top: 58px; }
	.ih-hero h1 { font-size: 42px; }
	.ih-hero__tag { display: none; }
	.ih-grid--3 { grid-template-columns: 1fr; }
	.ih-grid--6 { grid-template-columns: repeat(2, 1fr); }
	.ih-about { grid-template-columns: 1fr; }
	.ih-about__photo { min-height: 300px; }
	.ih-supply__tiles { grid-template-columns: 1fr; }
	.ih-cta__row { min-height: 280px; display: block; padding-block: 54px; }
	.ih-cta .ih-btn { margin-top: 24px; }
	.ih-footer__grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 520px) {
	.ih-header__row { min-height: 68px; }
	.ih-logo { width: 108px; height: 46px; }
	.ih-mobile__panel { top: 68px; }
	.ih-actions .ih-btn { width: 100%; }
	.ih-values { grid-template-columns: 1fr; }
	.ih-value { border-right: 0; border-bottom: 1px solid var(--ih-border); }
	.ih-grid--6 { grid-template-columns: 1fr; }
	.ih-card__links { grid-template-columns: 1fr; }
	.ih-footer__bottom { display: block; }
}

@media (prefers-reduced-motion: reduce) {
	.innonew-home-draft * { scroll-behavior: auto !important; transition: none !important; }
}
