/* ============================================================
	 CMDB-360 · site.css	— site-specific additions over brand.css
	 Loaded AFTER brand.css and logos.css.
	 ============================================================ */

/* ---- Hero data graphic (central base station + satellites) ---- */
.cmdb-graphic{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.cmdb-graphic svg{width:100%;height:auto;max-height:100%;
	filter:drop-shadow(0 18px 36px rgba(47,58,77,.10))}
@media(max-width:760px){ .cmdb-graphic{padding:0 4px} }

/* ---- Stat band ---- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
@media(max-width:760px){ .stats{grid-template-columns:1fr 1fr} }
.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
	padding:26px 24px;box-shadow:var(--shadow-sm);text-align:center}
.stat-card .num{font-family:"Sora",sans-serif;font-weight:800;font-size:2.3rem;color:var(--brand-deep);letter-spacing:-.03em;line-height:1}
.stat-card .lbl{font-size:14px;color:var(--muted);margin-top:8px}

/* ---- Figure (diagrams / images) ---- */
.figure{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
	padding:22px;box-shadow:var(--shadow-sm)}
.figure img{width:100%;height:auto;border-radius:10px;display:block}
.figure figcaption{margin-top:14px;font-size:14.5px;color:var(--muted);text-align:center;
	font-family:"Sora",sans-serif;font-weight:500}
.figure.plain{background:transparent;border:0;box-shadow:none;padding:0}

/* ---- Audience split (MSP / Enterprise) ---- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.split > *{min-width:0}
@media(max-width:760px){ .split{grid-template-columns:1fr} }
.split .card h3{display:flex;align-items:center;gap:10px}

/* ---- Satellite grid (index) ---- */
.sat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:920px){ .sat-grid{grid-template-columns:1fr 1fr} }
@media(max-width:600px){ .sat-grid{grid-template-columns:1fr} }
.sat-card{display:block;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
	padding:28px 26px;box-shadow:var(--shadow-sm);transition:transform .25s var(--ease),box-shadow .25s var(--ease),border-color .25s var(--ease)}
.sat-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:#e8d2c8}
.sat-logo-wrap{height:96px;display:flex;align-items:center;justify-content:flex-start;margin-bottom:16px}
.sat-card .sat-logo{display:block;height:90px;width:auto;max-width:100%}
.sat-card p{color:var(--muted);font-size:14.5px}
.sat-card .more{display:inline-block;margin-top:14px;font-family:"Sora",sans-serif;font-weight:600;font-size:14px;color:var(--brand-deep)}
.sat-panel-logo{position:relative;z-index:2;width:64%;max-width:300px;height:auto}

/* status pill for satellites */
.pill{display:inline-block;font-family:"Sora",sans-serif;font-weight:600;font-size:11px;letter-spacing:.05em;
	text-transform:uppercase;padding:4px 10px;border-radius:20px;margin-bottom:14px}
.pill.avail{background:rgba(34,160,90,.13);color:#1f8f50}
.pill.soon{background:rgba(219,167,125,.2);color:var(--sand-deep)}

/* ---- Video grid (YouTube) ---- */
.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
@media(max-width:760px){ .video-grid{grid-template-columns:1fr} }
.video{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm)}
.video .frame{position:relative;width:100%;aspect-ratio:16/9;background:#0c0f14}
.video .frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video .vmeta{padding:18px 20px}
.video .vmeta h4{font-size:1.05rem;margin-bottom:6px}
.video .vmeta p{font-size:14px;color:var(--muted)}
.video .tags{margin-top:12px;display:flex;flex-wrap:wrap;gap:7px}
.video .tags span{font-size:12px;font-family:"Sora",sans-serif;font-weight:500;color:var(--slate-dark);
	background:var(--bg);border:1px solid var(--line);border-radius:20px;padding:3px 10px}

/* channel CTA */
.channel-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
	background:linear-gradient(135deg,#3a2017,#2a1710);border-radius:24px;padding:34px 40px}
.channel-cta .yt{display:flex;align-items:center;gap:14px}
.channel-cta .yt svg{width:46px;height:46px;flex-shrink:0}
.channel-cta h3{color:#fff;font-size:1.3rem}
.channel-cta p{color:rgba(255,255,255,.7);font-size:14.5px;margin-top:2px}

/* ---- Feature list with brand checks ---- */
.feat-list.brand li svg{stroke:var(--brand-deep)}

/* ---- Feature lists inside cards: keep check + text on one row ---- */
/* The check and its text must stay on a single flex row so the text wraps
	 BESIDE the check, never below it. (min-width:0 lets a long row shrink
	 inside its grid cell; flex-shrink:0 keeps the check from squashing.) */
.feat-list{max-width:100%}
.feat-list li{min-width:0}
.feat-list li svg{flex-shrink:0}
.feat-list li{flex-wrap:nowrap}

/* The `brand` modifier shares its name with the global .brand helper
   (display:inline-flex), which would flip the list into a horizontal row
   and bunch the items up on narrow screens. Re-assert the list's own
   vertical grid layout with a higher-specificity selector so it always
   stacks, regardless of the brand-class collision. */
ul.feat-list{display:grid;gap:11px}

/* ---- Hero float-card positioning (clear of the satellite graphic) ---- */
/* The satellite graphic fills the corners and mid-sides, so place the
	 floating callouts in the open top-right and bottom-left OUTSIDE the node columns. */
.hero-art .fc1{top:-6px;right:-10px}
.hero-art .fc2{bottom:-6px;left:-10px}
@media(max-width:920px){
	.hero-art .fc1{top:0;right:0}
	.hero-art .fc2{bottom:0;left:0}
}
@media(max-width:760px){
	.hero-art .fc1{top:-4px;right:4px}
	.hero-art .fc2{bottom:-4px;left:4px}
}

/* ---- Nav: CMDB-360 has 7 items, so switch to the hamburger earlier ---- */
/* (overrides the brand kit's 760px breakpoint for this site's wider menu) */
@media(max-width:980px){
	.nav-links, .nav-cta.desktop{display:none}
	.hamburger{display:flex}
	.mobile-menu{display:flex}	/* stays hidden via opacity until .open */
}
/* tighten link spacing just above the breakpoint to avoid crowding */
@media(max-width:1080px) and (min-width:981px){
	.nav-links a{padding:9px 11px;font-size:14.5px}
}

/**************/
/* validation */
/**************/
.cform .field input.is-invalid,
.cform .field textarea.is-invalid { border-color: #d64545; }
.cform .field input.is-valid,
.cform .field textarea.is-valid		{ border-color: #2e9e5b; }
.cform .invalid-feedback {
	margin-top: 6px;
	font-size: .85rem;
	color: #d64545;
	font-family: "Hanken Grotesk", sans-serif;
}
