/* Tnetennba placeholder: basement-IT-department styling for the Divi 5 sections built by build-pages.php.
   Visual language (original): dark basement, 8-bit pixel headings, green-screen terminals, warning tape,
   status LEDs. Fonts: Press Start 2P (headings), VT323 (terminal), IBM Plex Sans (body). */

:root {
	--itc-bg: #0e1016;
	--itc-bg-2: #151925;
	--itc-panel: #1b2030;
	--itc-line: #2b3247;
	--itc-text: #e9edf5;
	--itc-muted: #a3adbf;
	--itc-green: #3dff6e;
	--itc-yellow: #ffd23f;
	--itc-red: #ff4040;
	--itc-cyan: #3ee0ff;
	--itc-pink: #ff4fd8;
	--itc-pixel: "Press Start 2P", ui-monospace, monospace;
	--itc-term: "VT323", ui-monospace, Menlo, monospace;
	--itc-body: "IBM Plex Sans", "Open Sans", Arial, sans-serif;
	--itc-tape: repeating-linear-gradient(-45deg, var(--itc-yellow) 0 18px, #111 18px 36px);
	--itc-grid-bg: linear-gradient(rgba(61,255,110,.05) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(61,255,110,.05) 1px, transparent 1px) 0 0 / 28px 28px;
}

/* ---------- Base ---------- */
body, #page-container, #main-content, .et_pb_section { background: var(--itc-bg); }
body { color: var(--itc-text); font-family: var(--itc-body); font-size: 17px; line-height: 1.65; }
#main-content .container::before { display: none; }
.et_pb_section[class*="itc-"] { padding: clamp(64px, 8vw, 112px) 0; gap: 36px; }
.et_pb_section[class*="itc-"] .et_pb_row { width: min(1180px, calc(100% - 32px)); max-width: none; padding: 0; }
.itc-row { --itc-gap: 24px; column-gap: var(--itc-gap) !important; row-gap: 24px !important; flex-wrap: wrap !important; }
.itc-row > .et_pb_column { --horizontal-gap-parent: var(--itc-gap); margin-bottom: 0 !important; }
.itc-split { --itc-gap: clamp(28px, 5vw, 64px); align-items: center !important; }
[class*="itc-"] .et_pb_text, [class*="itc-"] .et_pb_code { margin-bottom: 0 !important; }
[class*="itc-"] .et_pb_text_inner > *:last-child:not(.itc-card) { padding-bottom: 0; margin-bottom: 0; }

.et_pb_section[class*="itc-"] h1, .et_pb_section[class*="itc-"] h2, .et_pb_section[class*="itc-"] h3 {
	font-family: var(--itc-pixel); color: var(--itc-text); font-weight: 400; letter-spacing: 0; padding-bottom: 0; }
.et_pb_section[class*="itc-"] h1 { font-size: clamp(22px, 3.4vw, 40px); line-height: 1.45; margin: 18px 0 22px; text-shadow: 4px 4px 0 #000; }
.et_pb_section[class*="itc-"] h2 { font-size: clamp(18px, 2.4vw, 28px); line-height: 1.5; margin: 10px 0 18px; text-shadow: 3px 3px 0 #000; }
.et_pb_section[class*="itc-"] h3 { font-size: 13px; line-height: 1.6; margin: 0 0 12px; }
.et_pb_section[class*="itc-"] .et_pb_text { font-size: 16.5px; line-height: 1.65; }
.et_pb_section[class*="itc-"] p { color: var(--itc-muted); padding-bottom: 0; margin: 0 0 16px; }
.et_pb_section[class*="itc-"] a:not(.itc-btn) { color: var(--itc-green); text-decoration: underline; text-underline-offset: 3px; }
.et_pb_section[class*="itc-"] strong { color: var(--itc-text); }
.itc-eyebrow { font-family: var(--itc-term); font-size: 22px !important; color: var(--itc-green) !important; text-transform: uppercase; letter-spacing: .08em; margin: 0 !important; }
.itc-eyebrow::before { content: "> "; }
.itc-lead { font-size: 19px; color: #c8d0de !important; max-width: 60ch; }
.itc-small { font-size: 14px; color: #8892a5 !important; }
.itc-head { max-width: 760px; margin: 0 auto !important; }
.itc-head, .itc-head p, .itc-head h2 { text-align: center !important; }
.itc-head .itc-lead { margin-inline: auto; }
.itc-hl { color: var(--itc-green); }
code { font-family: var(--itc-term); font-size: 1.15em; color: var(--itc-yellow); background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 3px; }

/* ---------- Buttons ---------- */
.itc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 !important; }
.itc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 22px; border: 3px solid #000; cursor: pointer;
	font-family: var(--itc-pixel); font-size: 11px; line-height: 1.4; text-transform: uppercase; text-decoration: none !important;
	box-shadow: 5px 5px 0 #000; transition: transform .1s, box-shadow .1s; }
.itc-btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 #000; }
.itc-btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 #000; }
.itc-btn--green { background: var(--itc-green); color: #04140a !important; }
.itc-btn--red { background: var(--itc-red); color: #fff !important; }
.itc-btn--ghost { background: transparent; color: var(--itc-text) !important; border-color: var(--itc-text); box-shadow: 5px 5px 0 var(--itc-pink); }
.itc-btn--ghost:hover { box-shadow: 3px 3px 0 var(--itc-pink); }
.itc-btn--term { background: var(--itc-green); color: #04140a; font-size: 10px; padding: 10px 16px; box-shadow: 3px 3px 0 #000; }

/* ---------- Header (Divi default header, restyled) ---------- */
#main-header, #main-header.et-fixed-header { background: #07080c !important; box-shadow: 0 4px 0 #000, 0 5px 0 var(--itc-green) !important; }
#et_top_search { display: none; }
#logo { display: none !important; }
.logo_container a { display: inline-flex; align-items: center; gap: 12px; vertical-align: middle; text-decoration: none; }
.logo_container a::before { content: ""; flex: none; width: 34px; height: 26px; border: 3px solid var(--itc-green); border-bottom-width: 7px;
	background: linear-gradient(var(--itc-green), var(--itc-green)) 4px 4px / 8px 3px no-repeat, #000; box-shadow: 3px 3px 0 #000; }
.logo_container a::after { content: "TNETENNBA"; font-family: var(--itc-pixel); font-size: 15px; color: var(--itc-text); letter-spacing: .04em; }
#top-menu li { padding-right: 24px; }
#top-menu > li > a, #main-header.et-fixed-header #top-menu > li > a { color: var(--itc-text) !important; opacity: 1 !important; font-family: var(--itc-term); font-size: 22px; font-weight: 400; text-transform: uppercase; }
#top-menu > li:not(.csb-nav-cta) > a:hover { color: var(--itc-green) !important; }
#top-menu li.csb-nav-cta { padding-right: 0; }
#top-menu li.csb-nav-cta > a, #main-header.et-fixed-header #top-menu li.csb-nav-cta > a { margin-top: -12px; padding: 12px 16px !important; background: var(--itc-red); color: #fff !important;
	border: 3px solid #000; box-shadow: 4px 4px 0 #000; font-family: var(--itc-pixel); font-size: 10px; animation: itc-flash 1.6s steps(1) infinite; }
@keyframes itc-flash { 50% { background: #b80f0f; } }
@media (min-width: 981px) and (max-width: 1180px) {
	#top-menu li { padding-right: 14px; }
	#top-menu > li > a { font-size: 19px; }
	.logo_container a::after { font-size: 12px; }
}
@media (max-width: 980px) {
	#main-header { position: sticky !important; top: 0; z-index: 99999; }
	#page-container { padding-top: 0 !important; }
	#main-header .et_menu_container { width: calc(100% - 32px); }
	#et-top-navigation { display: flex !important; align-items: center; gap: 12px; justify-content: flex-end; padding: 16px 0 !important; }
	#top-menu-nav, #top-menu { display: block !important; line-height: 1; margin: 0; padding: 0; }
	#top-menu > li:not(.csb-nav-cta) { display: none; }
	#top-menu li.csb-nav-cta > a { margin: 0; padding: 9px 10px !important; font-size: 8px; white-space: nowrap; }
	#et_mobile_nav_menu { float: none; margin: 0; }
	.mobile_menu_bar { padding-bottom: 0 !important; }
	.mobile_menu_bar:before { color: var(--itc-green) !important; }
	.et_mobile_menu { background: #07080c !important; border-top: 3px solid var(--itc-green) !important; padding: 10px 16px 16px; }
	.et_mobile_menu li a { color: var(--itc-text) !important; font-family: var(--itc-term); font-size: 22px; text-transform: uppercase; border-bottom-color: var(--itc-line); }
	.et_mobile_menu li a:hover { color: var(--itc-green) !important; background: transparent !important; }
	.et_mobile_menu li.csb-nav-cta { display: none; }
}
@media (max-width: 480px) {
	#top-menu li.csb-nav-cta > a { font-size: 0 !important; }
	#top-menu li.csb-nav-cta > a::after { content: "SOS"; font-size: 10px; }
}
@media (max-width: 420px) { .logo_container a::after { font-size: 11px; } }
@media (max-width: 360px) { .logo_container a::after { display: none; } }

/* ---------- Hero ---------- */
.et_pb_section.itc-hero { background: radial-gradient(ellipse 50% 60% at 80% 30%, rgba(61,255,110,.12), transparent 70%), var(--itc-grid-bg), var(--itc-bg) !important; padding-top: clamp(56px, 7vw, 96px); }
.itc-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border: 2px solid var(--itc-line); background: #0a0c11;
	font-family: var(--itc-term); font-size: 19px !important; color: var(--itc-yellow) !important; margin: 0 !important; }
.itc-led { width: 10px; height: 10px; border-radius: 50%; background: var(--itc-red); box-shadow: 0 0 10px var(--itc-red); animation: itc-blink 1.2s steps(1) infinite; flex: none; }
@keyframes itc-blink { 50% { opacity: .2; } }
.itc-def { border-left: 4px solid var(--itc-pink); padding-left: 14px !important; font-size: 15px; }
.itc-def em { color: var(--itc-pink); }

.itc-hero-visual .et_pb_code_inner { position: relative; padding: 0 0 30px 8px; }
.itc-crt { max-width: 500px; margin-left: auto; filter: drop-shadow(10px 10px 0 #000); }
.itc-crt-screen { position: relative; aspect-ratio: 4 / 3; padding: 26px 26px 20px; background: radial-gradient(ellipse at center, #0b2a14, #04110a 75%);
	border: 18px solid #d8d2bf; border-bottom-width: 14px; border-radius: 14px 14px 4px 4px; overflow: hidden;
	box-shadow: inset 0 0 40px rgba(0,0,0,.9); font-family: var(--itc-term); font-size: clamp(17px, 2vw, 24px); line-height: 1.25; }
.itc-crt-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: repeating-linear-gradient(transparent 0 2px, rgba(0,0,0,.28) 2px 4px); animation: itc-flicker 4s infinite; }
@keyframes itc-flicker { 0%, 96%, 100% { opacity: 1; } 97% { opacity: .6; } }
.itc-crt-screen p { margin: 0 0 4px !important; color: #9bffb7 !important; text-shadow: 0 0 6px rgba(61,255,110,.7); }
.itc-crt-screen .itc-y { color: var(--itc-yellow) !important; text-shadow: 0 0 6px rgba(255,210,63,.6); }
.itc-crt-screen .itc-r { color: #ff7070 !important; text-shadow: 0 0 6px rgba(255,64,64,.6); }
.itc-cursor { display: inline-block; width: .55em; height: 1em; margin-left: 4px; vertical-align: -2px; background: var(--itc-green); animation: itc-blink 1s steps(1) infinite; }
.itc-crt-chin { display: flex; justify-content: flex-end; gap: 8px; height: 30px; padding: 8px 18px; background: #cfc8b3; border-radius: 0 0 8px 8px; }
.itc-crt-chin span { width: 12px; height: 12px; background: #8b8574; }
.itc-crt-chin span:first-child { background: var(--itc-green); box-shadow: 0 0 6px var(--itc-green); }
.itc-crt-stand { width: 34%; height: 22px; margin: 0 auto; background: #b9b29d; clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%); }
.itc-note { position: absolute; left: 0; bottom: 0; transform: rotate(-5deg); max-width: 210px; padding: 14px 16px; background: var(--itc-yellow); color: #2a2200;
	font-family: var(--itc-term); font-size: 20px; line-height: 1.1; box-shadow: 6px 6px 0 #000; }

/* ---------- Ticker ---------- */
.et_pb_section.itc-strip { padding: 0 !important; background: #000 !important; border-block: 4px solid #000; }
.et_pb_section.itc-strip .et_pb_row { width: 100% !important; }
.itc-ticker { overflow: hidden; background: var(--itc-tape); padding: 6px 0; }
.itc-ticker-track { display: flex; width: max-content; animation: itc-scroll 40s linear infinite; }
.itc-ticker span { flex: none; padding: 8px 22px; margin-right: 18px; background: #111; color: var(--itc-yellow); font-family: var(--itc-term); font-size: 22px; text-transform: uppercase; white-space: nowrap; }
@keyframes itc-scroll { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.et_pb_section.itc-services { background: var(--itc-bg-2) !important; }
.itc-grid { --itc-gap: 22px; align-items: stretch !important; }
.itc-grid > .et_pb_column { display: flex; flex-direction: column; }
.itc-grid > .et_pb_column > .et_pb_module { flex: 1; display: flex; flex-direction: column; }
.itc-grid .et_pb_text_inner { flex: 1; display: flex; flex-direction: column; }
.itc-grid .et_pb_text_inner > .itc-card { flex: 1; }
.itc-card { box-sizing: border-box; min-height: 100%; padding: 28px 26px; background: var(--itc-panel); border: 3px solid #000; box-shadow: 6px 6px 0 #000, inset 0 0 0 1px var(--itc-line);
	transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; }
.itc-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--itc-green), inset 0 0 0 1px var(--itc-line); }
.itc-ico { font-size: 34px !important; line-height: 1; margin-bottom: 18px !important; filter: grayscale(.2); }
.itc-card p { font-size: 16px; }
.itc-price { margin-top: auto !important; padding-top: 14px; border-top: 2px dashed var(--itc-line); font-family: var(--itc-term); font-size: 21px !important; color: var(--itc-yellow) !important; }

/* ---------- Terminals (Fix-o-Matic + emergency form) ---------- */
.et_pb_section.itc-fix { background: var(--itc-grid-bg), var(--itc-bg) !important; }
.itc-term, .itc-form { background: #050806; border: 3px solid #000; box-shadow: 8px 8px 0 #000, 0 0 0 2px var(--itc-line); }
.itc-term-bar { display: flex; align-items: center; gap: 7px; margin: 0 !important; padding: 10px 14px; background: #20263a; border-bottom: 3px solid #000; }
.itc-term-bar span { width: 11px; height: 11px; background: var(--itc-red); }
.itc-term-bar span:nth-child(2) { background: var(--itc-yellow); }
.itc-term-bar span:nth-child(3) { background: var(--itc-green); }
.itc-term-bar code { margin-left: auto; background: none; color: var(--itc-muted); }
.itc-term-log { min-height: 260px; max-height: 340px; overflow-y: auto; padding: 18px 20px 6px; font-family: var(--itc-term); font-size: 22px; line-height: 1.3; }
.itc-term-log p { margin: 0 0 8px !important; color: #9bffb7 !important; }
.itc-term-log .is-sys { color: var(--itc-muted) !important; }
.itc-term-log .is-a { color: var(--itc-yellow) !important; padding-left: 18px; }
.itc-term-log .is-a::before { content: "$ "; }
.itc-term-log .is-done { color: #fff !important; border-left: 4px solid var(--itc-green); padding-left: 12px; }
.itc-term-btns { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 20px 22px; }

/* ---------- The Internet ---------- */
.et_pb_section.itc-box-sec { background: radial-gradient(ellipse 40% 50% at 25% 50%, rgba(255,64,64,.14), transparent 70%), var(--itc-bg-2) !important; }
.itc-plinth { display: flex; flex-direction: column; align-items: center; padding: 30px 0; }
.itc-box { position: relative; width: 190px; height: 120px; border: 0; padding: 0; cursor: pointer; background: linear-gradient(160deg, #2a2a2e, #050505 60%);
	box-shadow: 0 24px 30px -12px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.12); border-radius: 4px; }
.itc-box::after { content: ""; position: absolute; left: -46px; right: -46px; bottom: -66px; height: 56px; background: linear-gradient(#5b1220, #3a0b14); border-top: 6px solid #7a1a2c; box-shadow: 8px 8px 0 #000; }
.itc-box-led { position: absolute; top: 18px; right: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--itc-red); box-shadow: 0 0 12px 2px var(--itc-red); animation: itc-blink 1.4s steps(1) infinite; }
.itc-box.is-wobble { animation: itc-wobble .45s; }
@keyframes itc-wobble { 20% { transform: rotate(-4deg); } 40% { transform: rotate(3deg); } 60% { transform: rotate(-2deg); } 80% { transform: rotate(1deg); } }
.itc-plinth-label { margin-top: 90px !important; font-family: var(--itc-pixel); font-size: 10px !important; color: var(--itc-yellow) !important; letter-spacing: .1em; }
.itc-box-msg { padding: 14px 18px !important; background: #0a0c11; border: 2px dashed var(--itc-red); color: #ffb3b3 !important; font-family: var(--itc-term); font-size: 21px; line-height: 1.25; }

/* ---------- Status board ---------- */
.itc-meters { list-style: none !important; padding: 26px !important; margin: 0 auto; max-width: 900px; background: #050806; border: 3px solid #000; box-shadow: 8px 8px 0 #000, 0 0 0 2px var(--itc-line); }
.itc-meters li { display: grid; grid-template-columns: minmax(150px, 1.2fr) 2fr minmax(130px, 1fr); align-items: center; gap: 18px; padding: 10px 0; border-bottom: 1px dashed var(--itc-line); font-family: var(--itc-term); font-size: 22px; }
.itc-meters li:last-child { border-bottom: 0; }
.itc-m-label { color: var(--itc-text); }
.itc-m-bar { height: 18px; background: repeating-linear-gradient(90deg, #1a1f2c 0 10px, #0d1018 10px 12px); border: 2px solid #000; }
.itc-m-bar i { display: block; height: 100%; min-width: 2px; background: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 12px); }
.itc-m-bar .is-g, .itc-m-state.is-g { color: var(--itc-green); }
.itc-m-bar .is-y, .itc-m-state.is-y { color: var(--itc-yellow); }
.itc-m-bar .is-r, .itc-m-state.is-r { color: var(--itc-red); }
.itc-m-state { text-transform: uppercase; text-align: right; }
@media (max-width: 640px) {
	.itc-meters { padding: 18px !important; }
	.itc-meters li { grid-template-columns: 1fr auto; gap: 6px 12px; }
	.itc-m-bar { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Staff ---------- */
.et_pb_section.itc-staff-sec { background: var(--itc-grid-bg), var(--itc-bg) !important; }
.itc-avatar { display: block; width: 88px; height: 88px; margin-bottom: 20px; padding: 6px; background: #0a0c11; border: 3px solid #000; box-shadow: 4px 4px 0 var(--itc-line); }
.itc-staff > * { flex: none !important; }
.itc-staff > p:has(> svg) { margin: 0 !important; line-height: 0; }
.itc-staff h3 { min-height: 3.2em; }
.itc-staff .itc-skills { margin-top: auto !important; }
.itc-skills { list-style: none !important; padding: 14px 0 0 !important; margin: 0; border-top: 2px dashed var(--itc-line); }
.itc-skills li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--itc-term); font-size: 19px; color: var(--itc-muted); }
.itc-skills b { flex: none; width: 100px; height: 10px; background: linear-gradient(90deg, var(--itc-green) calc(var(--v) * 10%), #262c3d 0); }
@media (min-width: 981px) and (max-width: 1100px) { .itc-grid-4 > .et_pb_column { width: calc(50% - 11px) !important; } }

/* ---------- Emergency ---------- */
.et_pb_section.itc-emergency { position: relative; background: var(--itc-bg-2) !important; border-top: 14px solid; border-image: var(--itc-tape) 14; }
.itc-alert { display: inline-block; padding: 10px 14px !important; background: var(--itc-red); color: #fff !important; font-family: var(--itc-pixel); font-size: 11px; line-height: 1.7; box-shadow: 5px 5px 0 #000; }
.itc-form-body { padding: 24px; }
.itc-form label { display: block; margin-bottom: 8px; font-family: var(--itc-term); font-size: 22px; color: var(--itc-green); text-transform: uppercase; }
.itc-form select { width: 100%; padding: 12px 14px; margin-bottom: 18px; background: #0d1018; color: var(--itc-text); border: 2px solid var(--itc-line); border-radius: 0; font-family: var(--itc-body); font-size: 16px; }
.itc-form select:focus { outline: 3px solid var(--itc-green); outline-offset: 1px; }
.itc-form-msg { margin: 20px 0 6px !important; padding: 14px 16px !important; border-left: 4px solid var(--itc-yellow); background: #12151f; color: var(--itc-text) !important; font-family: var(--itc-term); font-size: 21px; line-height: 1.3; }
.itc-form .itc-small { margin: 16px 0 0 !important; }

/* ---------- About / disclaimer ---------- */
.et_pb_section.itc-about { background: #07080c !important; border-top: 4px solid #000; }
.itc-narrow .et_pb_text { max-width: 820px; margin: 0 auto !important; }
.itc-disclaimer { padding: 18px 20px !important; border: 2px dashed var(--itc-line); background: #0d1018; font-size: 15px; }

/* ---------- Footer ---------- */
#main-footer { background: #000 !important; }
#footer-bottom { background: #000 !important; border-top: 3px solid var(--itc-green); padding: 18px 0 !important; }
#footer-info { color: var(--itc-muted) !important; font-family: var(--itc-term); font-size: 19px; line-height: 1.4; float: none; text-align: center; }
#footer-info a { color: var(--itc-green) !important; }
#footer-bottom .et-social-icons { display: none; }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 980px) {
	.itc-crt { margin: 0 auto; }
	.itc-hero-visual .et_pb_code_inner { padding-left: 0; }
	.itc-note { left: 4px; bottom: -6px; }
}
@media (max-width: 600px) {
	.itc-note { position: relative; display: inline-block; margin-top: 18px; }
	.itc-hero-visual .et_pb_code_inner { padding-bottom: 0; }
	.itc-crt-screen { border-width: 12px; padding: 16px; }
	.itc-term-log { font-size: 20px; }
	.itc-btn { font-size: 10px; padding: 13px 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.itc-ticker-track { flex-wrap: wrap; width: 100%; }
}
