/* ==========================================================================
   OneTouch Group — compiled design system
   Dark, engineering-led aesthetic ported from the Next.js reference site.
   Organized: variables → reset/base → layout → header/footer → components
   → page-specific → responsive → reduced motion.
   ========================================================================== */

:root {
	--otg-deep-blue: #0047AB;
	--otg-electric-blue: #00A8FF;
	--otg-ice: #7FD4FF;
	--otg-graphite: #23282F;
	--otg-silver: #8E99A6;
	--otg-mist: #F4F6F8;

	--otg-black: #000000;
	--otg-neutral-950: #0a0a0a;
	--otg-neutral-900: #171717;
	--otg-white: #ffffff;

	--otg-radius-sm: 6px;
	--otg-radius: 12px;
	--otg-radius-lg: 16px;

	--otg-container-max: 1400px;
	--otg-header-h: 80px;

	--otg-font-sans: "Inter", system-ui, -apple-system, sans-serif;
	--otg-font-display: "Michroma", "Inter", system-ui, sans-serif;
	--otg-font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--otg-black);
	color: var(--otg-white);
	font-family: var(--otg-font-sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--otg-electric-blue); outline-offset: 2px; }

/* ---------- Layout ---------- */
.otg-container { max-width: var(--otg-container-max); margin: 0 auto; padding: 0 1rem; }
.otg-container--narrow { max-width: 860px; }
@media (min-width: 640px) { .otg-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .otg-container { padding: 0 2rem; } }

.otg-section { padding: 5rem 0; }
@media (min-width: 768px) { .otg-section { padding: 7rem 0; } }
.otg-section--black { background: var(--otg-black); }
.otg-section--dark-2 { background: var(--otg-neutral-950); }
.otg-main { padding-top: var(--otg-header-h); }
/* Homepage hero is full-bleed from y:0 with the header overlaying it
   transparently — the shared .otg-main offset above exists for every other
   page's solid-color hero, and would otherwise show as a solid black gap
   (body background) between the fixed transparent header and the Hero on
   the homepage specifically. */
body.home .otg-main { padding-top: 0; }
.otg-text-center { text-align: center; }

.otg-eyebrow {
	display: block;
	color: var(--otg-electric-blue);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}
.otg-eyebrow--tight { margin-bottom: .4rem; }
.otg-section-header { max-width: 640px; margin-bottom: 3.5rem; }
.otg-section-header h2 { font-size: 2rem; }
@media (min-width: 768px) { .otg-section-header h2 { font-size: 2.5rem; } }
@media (min-width: 1024px) { .otg-section-header h2 { font-size: 2.75rem; } }
.otg-section-subtitle { color: rgba(255,255,255,.5); font-size: 1.125rem; line-height: 1.6; }
.otg-section-header--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }

.otg-prose p { color: rgba(255,255,255,.6); line-height: 1.75; }
.otg-prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.otg-prose h3 { font-size: 1.15rem; margin-top: 2rem; }
.otg-prose a { color: var(--otg-electric-blue); text-decoration: underline; }
.otg-subheading { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: rgba(255,255,255,.4); margin: 2rem 0 1rem; }

/* ---------- Buttons ---------- */
.otg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	padding: .9rem 1.75rem;
	border-radius: var(--otg-radius-sm);
	font-weight: 600;
	font-size: .9rem;
	border: 1px solid transparent;
	transition: all .2s ease;
	white-space: nowrap;
}
.otg-btn svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.otg-btn--light { background: var(--otg-white); color: var(--otg-black); }
.otg-btn--light:hover { background: rgba(255,255,255,.9); }
.otg-btn--outline { border-color: rgba(255,255,255,.25); color: var(--otg-white); }
.otg-btn--outline:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.otg-btn--cta { background: var(--otg-electric-blue); color: #000; }
.otg-btn--cta:hover { background: var(--otg-white); }
.otg-btn--ghost { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.7); }
.otg-btn--ghost:hover { border-color: rgba(255,255,255,.35); color: #fff; }
.otg-btn--whatsapp svg { color: #25D366; width: 1.25rem; height: 1.25rem; }
.otg-btn--block { display: flex; width: 100%; }
.otg-hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.otg-hero-ctas--center { justify-content: center; }
.otg-link-arrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .9rem; margin-top: 1.5rem; }
.otg-link-arrow:hover { color: var(--otg-electric-blue); }
.otg-card-cta { display: inline-flex; align-items: center; gap: .4rem; color: var(--otg-electric-blue); font-size: .75rem; font-weight: 700; }

/* ---------- Badges ---------- */
.otg-badge {
	display: inline-block;
	padding: .3rem .8rem;
	border-radius: 999px;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	border: 1px solid;
}
.otg-badge--accent { color: var(--otg-electric-blue); border-color: rgba(0,168,255,.3); background: rgba(0,168,255,.1); }
.otg-badge--neutral { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.1); }
.otg-badge--muted { color: var(--otg-silver); border-color: rgba(142,153,166,.3); background: rgba(142,153,166,.15); }
.otg-badge--category { position: absolute; top: 1rem; left: 1rem; color: var(--otg-electric-blue); border-color: rgba(0,168,255,.3); background: rgba(0,168,255,.1); }

/* ---------- Header ---------- */
.otg-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all .3s ease; background: transparent; }
.otg-header .otg-menu > li > a, .otg-header .otg-lang-switcher, .otg-header .otg-mobile-toggle { color: rgba(255,255,255,.85); }
.otg-header.is-scrolled { background: rgba(0,0,0,.9); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.08); }
/* WordPress's fixed admin toolbar (32px desktop / 46px <=782px) sits above
   everything at its own higher z-index; without this offset our own fixed
   header would render underneath/clipped by it for logged-in admins. */
body.admin-bar .otg-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .otg-header { top: 46px; }
}
.otg-header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--otg-header-h); gap: 1rem; }
.otg-logo { display: flex; align-items: center; }
/* Enlarged, replaceable-through-WP-Admin logo (Customizer Site Identity or
   OneTouch Settings). width+height:auto preserves the uploaded image's own
   aspect ratio; max-height keeps it from ever overflowing the header even if
   the uploaded logo isn't wide/short like a typical horizontal wordmark. */
.otg-logo img { width: auto; height: auto; max-width: 140px; max-height: 48px; }
@media (min-width: 640px) { .otg-logo img { max-width: 160px; max-height: 56px; } }
@media (min-width: 1024px) { .otg-logo img { max-width: 170px; max-height: 64px; } }
.otg-logo-text { font-family: var(--otg-font-display); font-size: 1.1rem; color: #fff; }
.otg-logo--footer img { height: 40px; filter: brightness(0) invert(1); }
.otg-logo--footer .otg-logo-alt-img { height: 40px; width: auto; filter: none; }

.otg-nav-desktop { display: none; }
.otg-menu { display: flex; align-items: center; gap: .2rem; }
.otg-menu > li { position: relative; }
.otg-menu > li > a { display: block; padding: .5rem .9rem; border-radius: var(--otg-radius-sm); font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.6); }
.otg-menu > li > a:hover, .otg-menu > li.current-menu-item > a, .otg-menu > li.current-menu-ancestor > a { color: #fff; }
.otg-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: var(--otg-neutral-900);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: var(--otg-radius);
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0,0,0,.4);
	padding: .4rem 0;
	margin-top: .25rem;
}
.otg-menu li:hover > .sub-menu { display: block; }
.otg-menu .sub-menu a { display: block; padding: .75rem 1.1rem; font-size: .85rem; color: rgba(255,255,255,.7); }
.otg-menu .sub-menu a:hover { color: #fff; background: rgba(255,255,255,.06); }

.otg-header-right { display: none; align-items: center; gap: .75rem; }
.otg-lang-switcher { font-size: .85rem; }
.otg-lang-switcher a, .otg-lang-switcher span { padding: .2rem .4rem; }

.otg-mobile-toggle { display: flex; background: none; border: none; padding: .5rem; }
.otg-mobile-toggle-icon, .otg-mobile-toggle-icon::before, .otg-mobile-toggle-icon::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: all .2s; }
.otg-mobile-toggle-icon::before { content: ''; position: absolute; top: -7px; }
.otg-mobile-toggle-icon::after { content: ''; position: absolute; top: 7px; }

.otg-mobile-menu { display: none; background: rgba(0,0,0,.97); backdrop-filter: blur(16px); border-top: 1px solid rgba(255,255,255,.08); max-height: 80vh; overflow-y: auto; }
.otg-mobile-menu.is-open { display: block; }
.otg-menu-mobile { padding: 1rem; }
.otg-menu-mobile > li > a { display: block; padding: .85rem 1rem; border-radius: var(--otg-radius-sm); font-weight: 500; color: rgba(255,255,255,.65); }
.otg-menu-mobile .sub-menu { padding-left: 1rem; }
.otg-menu-mobile .sub-menu a { display: block; padding: .6rem 1rem; font-size: .9rem; color: rgba(255,255,255,.5); }
.otg-mobile-menu-footer { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-top: 1px solid rgba(255,255,255,.1); }

@media (min-width: 1024px) {
	.otg-nav-desktop { display: block; }
	.otg-header-right { display: flex; }
	.otg-mobile-toggle { display: none; }
	.otg-mobile-menu { display: none !important; }
}

/* ---------- Footer ---------- */
.otg-footer { background: var(--otg-neutral-950); border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.otg-footer .otg-container { padding-top: 4rem; padding-bottom: 4rem; }
.otg-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.otg-footer-desc { font-size: .9rem; line-height: 1.7; margin: 1.25rem 0 1.5rem; }
.otg-footer-social { display: flex; gap: .75rem; }
.otg-social-icon { width: 32px; height: 32px; border-radius: var(--otg-radius-sm); background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; }
.otg-social-icon:hover { background: rgba(255,255,255,.12); }
.otg-social-icon svg { width: 16px; height: 16px; }
.otg-footer-col h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 1.25rem; }
.otg-footer-menu li { margin-bottom: .6rem; }
.otg-footer-menu a:hover { color: #fff; }
.otg-footer-contact li { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: 1rem; font-size: .9rem; }
.otg-footer-contact .otg-icon { width: 16px; height: 16px; color: var(--otg-electric-blue); flex-shrink: 0; margin-top: 2px; }
.otg-footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .75rem; color: rgba(255,255,255,.3); }
.otg-footer-legal a { color: rgba(255,255,255,.3); }
@media (min-width: 768px) { .otg-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Hero ---------- */
.otg-hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--otg-graphite); }
.otg-hero-media { position: absolute; inset: 0; z-index: 0; }
.otg-hero-bg-img, .otg-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.otg-hero-mobile-img { display: none; }
.otg-hero-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.45) 50%, rgba(0,0,0,.85)), linear-gradient(to right, rgba(0,0,0,.5), transparent 60%); }
.otg-hero-content { position: relative; z-index: 1; padding-top: 7rem; padding-bottom: 5rem; }
.otg-hero-inner { max-width: 780px; }
.otg-hero-title { font-family: var(--otg-font-display); font-size: 2.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; margin-bottom: 1.5rem; }
.otg-hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,.55); font-weight: 300; max-width: 560px; margin-bottom: 2.5rem; }
.otg-hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); }
.otg-hero-stat { font-weight: 700; font-size: 1rem; }
.otg-hero-scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.25); z-index: 1; }
.otg-hero-scroll-indicator svg { width: 20px; height: 20px; }
@media (min-width: 640px) { .otg-hero-title { font-size: 3.25rem; } }
@media (min-width: 1024px) { .otg-hero-title { font-size: 4rem; } .otg-hero-stats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) {
	.otg-hero-bg-img, .otg-hero-video { display: none; }
	.otg-hero-mobile-img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Solutions grid (homepage) ---------- */
.otg-solutions-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.otg-solution-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 22rem; border-radius: var(--otg-radius); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.otg-solution-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.otg-solution-card:hover .otg-solution-card-img { transform: scale(1.03); }
.otg-solution-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.4) 60%, transparent); }
.otg-solution-card-body { position: relative; padding: 1.5rem; }
.otg-solution-card-body h3 { font-family: var(--otg-font-display); font-size: 1.25rem; }
.otg-solution-card-tagline { color: rgba(255,255,255,.5); font-size: .8rem; font-weight: 600; margin-bottom: .5rem; }
.otg-solution-card-excerpt { color: rgba(255,255,255,.4); font-size: .9rem; margin-bottom: .75rem; }
@media (min-width: 1024px) { .otg-solutions-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Advantages grid ---------- */
.otg-advantages-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,.05); }
.otg-advantage-card { background: var(--otg-neutral-950); padding: 2rem; }
.otg-advantage-icon-wrap { width: 40px; height: 40px; border-radius: var(--otg-radius-sm); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: rgba(255,255,255,.4); }
.otg-advantage-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.otg-advantage-card p { color: rgba(255,255,255,.45); font-size: .9rem; }
@media (min-width: 640px) { .otg-advantages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .otg-advantages-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Applications grid ---------- */
.otg-applications-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.otg-application-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4/5; border-radius: var(--otg-radius); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.otg-application-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.otg-application-card:hover .otg-application-card-img { transform: scale(1.05); }
.otg-application-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, #000, rgba(0,0,0,.5) 60%, rgba(0,0,0,.1)); }
.otg-application-card-body { position: relative; padding: 1.25rem; }
.otg-application-eyebrow { display: block; color: var(--otg-electric-blue); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .4rem; }
.otg-application-card-body h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.otg-application-card-body p { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: .6rem; }
@media (min-width: 1024px) { .otg-applications-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Innovation spotlight ---------- */
.otg-innovation-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.otg-innovation-media { position: relative; border-radius: var(--otg-radius); overflow: hidden; border: 1px solid rgba(255,255,255,.08); aspect-ratio: 4/3; }
.otg-innovation-img, .otg-video-block { width: 100%; height: 100%; object-fit: cover; }
.otg-innovation-badge { position: absolute; top: 1rem; left: 1rem; }
.otg-innovation-caption { position: absolute; bottom: 1rem; right: 1rem; padding: .3rem .7rem; border-radius: var(--otg-radius-sm); background: rgba(0,0,0,.6); backdrop-filter: blur(4px); font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.6); }
.otg-innovation-content p { color: rgba(255,255,255,.5); }
@media (min-width: 1024px) { .otg-innovation-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Process flow diagram ---------- */
.otg-process-diagram { border-radius: var(--otg-radius); border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.03); overflow: hidden; margin-bottom: 3rem; }
.otg-process-numbered-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; text-align: center; }
.otg-process-numbered-step p { font-size: .75rem; font-weight: 500; color: rgba(255,255,255,.7); margin-top: .5rem; }
@media (min-width: 640px) { .otg-process-numbered-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1024px) { .otg-process-numbered-grid { grid-template-columns: repeat(9, 1fr); } }

.otg-process-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: .75rem; }
.otg-process-flow--centered { justify-content: center; }
.otg-process-flow--compact .otg-process-step { width: 6rem; }
.otg-process-step-wrap { display: flex; align-items: center; gap: .75rem; }
.otg-process-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; width: 7.5rem; }
.otg-process-step-num { width: 2rem; height: 2rem; border-radius: 999px; background: rgba(0,168,255,.15); border: 1px solid rgba(0,168,255,.3); color: var(--otg-electric-blue); font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.otg-process-step-label { font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.8); }
.otg-process-step-desc { font-size: .68rem; color: rgba(255,255,255,.4); }
.otg-process-arrow { color: rgba(255,255,255,.2); display: none; }
@media (min-width: 640px) { .otg-process-arrow { display: block; } }
.otg-process-wrap { border-radius: var(--otg-radius); border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.03); padding: 1.5rem; overflow-x: auto; }

/* ---------- Feature list (bullets) ---------- */
.otg-feature-list { display: grid; grid-template-columns: 1fr; gap: .75rem; max-width: 640px; }
.otg-feature-list-item { display: flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.05); border-radius: var(--otg-radius); padding: .75rem 1rem; font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.7); }
.otg-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--otg-electric-blue); flex-shrink: 0; }
@media (min-width: 640px) { .otg-feature-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Spec tables ---------- */
.otg-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.otg-spec-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.otg-spec-grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
.otg-spec-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
.otg-spec-card { background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.06); border-radius: var(--otg-radius); padding: 1rem; }
.otg-spec-card--sm { padding: .75rem; background: rgba(255,255,255,.04); }
.otg-spec-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.4); margin-bottom: .25rem; }
.otg-spec-value { font-family: var(--otg-font-mono); font-weight: 700; font-size: 1rem; }
@media (min-width: 640px) { .otg-spec-grid--cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .otg-spec-grid--cols-4 { grid-template-columns: repeat(4, 1fr); } .otg-spec-grid--cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Outputs ---------- */
.otg-outputs-grid, .otg-outputs-inline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.otg-outputs-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
.otg-output-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--otg-radius); padding: 1.5rem; }
.otg-output-card .otg-icon { width: 24px; height: 24px; color: var(--otg-electric-blue); margin-bottom: 1rem; }
.otg-output-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.otg-output-card p { color: rgba(255,255,255,.4); font-size: .75rem; }
.otg-output-pill { display: flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: var(--otg-radius-sm); background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.06); font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.7); }
.otg-output-pill .otg-icon { width: 16px; height: 16px; color: var(--otg-electric-blue); }
@media (min-width: 640px) { .otg-outputs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .otg-outputs-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Stage grid + people panel (homepage) ---------- */
.otg-stage-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
.otg-stage-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--otg-radius); padding: 2rem; }
.otg-stage-num { display: block; font-family: var(--otg-font-display); font-size: 2.25rem; font-weight: 700; color: rgba(0,168,255,.4); margin-bottom: 1rem; }
.otg-stage-card h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.otg-stage-card p { color: rgba(255,255,255,.5); font-size: .9rem; }
.otg-people-panel { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--otg-radius); padding: 2rem; }
.otg-people-panel-media { border-radius: var(--otg-radius); overflow: hidden; aspect-ratio: 4/3; }
.otg-people-panel-img { width: 100%; height: 100%; object-fit: cover; }
.otg-people-panel-content p { color: rgba(255,255,255,.6); }
@media (min-width: 768px) { .otg-stage-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .otg-people-panel { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ accordion ---------- */
.otg-faq-accordion { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.otg-faq-item { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--otg-radius); overflow: hidden; }
.otg-faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; background: none; border: none; color: #fff; text-align: left; font-size: .95rem; font-weight: 600; }
.otg-faq-question svg { width: 16px; height: 16px; color: rgba(255,255,255,.4); flex-shrink: 0; transition: transform .2s; }
.otg-faq-item.is-open .otg-faq-question svg { transform: rotate(180deg); }
.otg-faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.otg-faq-item.is-open .otg-faq-answer { max-height: 60rem; }
.otg-faq-answer .otg-prose { padding: 0 1.25rem 1.1rem; }
.otg-faq-answer .otg-prose p { color: rgba(255,255,255,.5); font-size: .9rem; margin: 0; }

/* ---------- Equipment carousel ---------- */
.otg-equipment-panel { display: none; }
.otg-equipment-panel.is-active { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.otg-equipment-media { position: relative; border-radius: var(--otg-radius); overflow: hidden; aspect-ratio: 4/3; background: var(--otg-neutral-900); }
.otg-equipment-img { width: 100%; height: 100%; object-fit: cover; }
.otg-equipment-media-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 60%); }
.otg-equipment-media-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; }
.otg-equipment-cat { display: inline-block; padding: .3rem .7rem; border-radius: var(--otg-radius-sm); background: rgba(0,168,255,.2); border: 1px solid rgba(0,168,255,.3); color: var(--otg-electric-blue); font-size: .7rem; font-weight: 700; text-transform: uppercase; margin-bottom: .5rem; }
.otg-equipment-tagline { color: var(--otg-electric-blue); font-weight: 500; margin-bottom: .25rem; }
.otg-equipment-desc { color: rgba(255,255,255,.5); font-size: .9rem; margin-bottom: 1.5rem; }
.otg-equipment-actions { display: flex; gap: .75rem; margin-top: 1.75rem; flex-wrap: wrap; }
.otg-equipment-controls { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
.otg-equipment-prev, .otg-equipment-next { width: 36px; height: 36px; border-radius: var(--otg-radius-sm); border: 1px solid rgba(255,255,255,.12); background: none; color: rgba(255,255,255,.5); }
.otg-equipment-prev:hover, .otg-equipment-next:hover { border-color: rgba(255,255,255,.3); color: #fff; }
.otg-equipment-dots { display: flex; gap: .5rem; }
.otg-equipment-dot { width: 8px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.2); border: none; padding: 0; transition: all .3s; }
.otg-equipment-dot.is-active { width: 24px; background: #fff; }
@media (min-width: 1024px) { .otg-equipment-panel.is-active { grid-template-columns: 1fr 1fr; } }

/* ---------- Page hero (generic) ---------- */
.otg-page-hero { padding: 6rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.otg-page-hero h1 { font-size: 2.5rem; }
.otg-page-hero-subtitle { color: rgba(255,255,255,.5); font-size: 1.1rem; max-width: 640px; }
.otg-page-hero--center { text-align: center; }
.otg-page-hero--center .otg-page-hero-subtitle { margin: 0 auto; }
.otg-page-hero-media { position: relative; margin: 0 0 -1px; aspect-ratio: 21/9; overflow: hidden; }
.otg-page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.otg-page-hero-caption { position: absolute; bottom: 1rem; right: 1rem; padding: .3rem .7rem; border-radius: var(--otg-radius-sm); background: rgba(0,0,0,.6); color: #fff; font-size: .7rem; }

/* ---------- Platform page ---------- */
.otg-platform-hero { position: relative; padding: 8rem 0 6rem; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.06); }
.otg-platform-hero-media { position: absolute; inset: 0; z-index: 0; }
.otg-platform-hero-img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.otg-platform-hero-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,.6) 60%, #000); }
.otg-platform-hero-content { position: relative; z-index: 1; }
.otg-platform-hero h1 { font-family: var(--otg-font-display); font-size: 2.75rem; }
.otg-platform-hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,.6); }
.otg-platform-content { padding: 4rem 0; background: var(--otg-neutral-950); }
.otg-related-project { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--otg-radius); padding: 2rem; }
.otg-related-project-heading { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .5rem; }
.otg-related-project-heading h2 { margin: 0; }
.otg-cta-section h2 { font-size: 1.75rem; }
.otg-platform-section-image { border-radius: var(--otg-radius); overflow: hidden; border: 1px solid rgba(255,255,255,.08); aspect-ratio: 4/3; margin-bottom: 1rem; }
.otg-platform-section-image img { width: 100%; height: 100%; object-fit: cover; }
.otg-platform-section-caption { font-size: .8rem; color: rgba(255,255,255,.4); text-align: center; }
@media (min-width: 768px) { .otg-platform-hero h1 { font-size: 3.5rem; } }

/* ---------- Contact page ---------- */
.otg-contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.otg-contact-info-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--otg-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.otg-contact-info-card h2 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.otg-contact-info-card li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1.25rem; }
.otg-contact-info-card .otg-icon { width: 18px; height: 18px; color: var(--otg-electric-blue); margin-top: 2px; flex-shrink: 0; }
.otg-contact-info-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: .2rem; }
.otg-contact-whatsapp-card { display: flex; align-items: center; gap: .9rem; background: #25D366; color: #fff; border-radius: var(--otg-radius); padding: 1.25rem; }
.otg-contact-whatsapp-card:hover { background: #1ebe5b; }
.otg-contact-whatsapp-card svg { width: 32px; height: 32px; }
.otg-contact-whatsapp-title { font-weight: 700; }
.otg-contact-whatsapp-sub { font-size: .85rem; opacity: .85; }
.otg-contact-form-panel { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--otg-radius); padding: 2rem; }
.otg-contact-form-panel h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }
@media (min-width: 1024px) { .otg-contact-grid { grid-template-columns: 1fr 2fr; } }

/* ---------- Enquiry form (plugin-rendered markup, theme-styled) ---------- */
.otg-form-notice { padding: 1rem 1.25rem; border-radius: var(--otg-radius); margin-bottom: 1.5rem; font-size: .9rem; }
.otg-form-notice--success { background: rgba(0,168,255,.1); border: 1px solid rgba(0,168,255,.25); }
.otg-form-notice--error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25); }
.otg-hp-field { position: absolute; left: -9999px; }
.otg-form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.otg-form-grid .otg-field label { display: block; font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.7); margin-bottom: .4rem; }
.otg-form-grid .req { color: var(--otg-electric-blue); }
.otg-form-grid input[type=text], .otg-form-grid input[type=email], .otg-form-grid select, .otg-form-grid textarea, .otg-form-grid input[type=file] {
	width: 100%;
	padding: .65rem 1rem;
	border-radius: var(--otg-radius-sm);
	border: 1px solid rgba(255,255,255,.12);
	background: rgba(0,0,0,.4);
	color: #fff;
	font-size: .9rem;
	font-family: inherit;
}
.otg-form-grid select option { background: var(--otg-neutral-900); }
.otg-form-grid input:focus, .otg-form-grid select:focus, .otg-form-grid textarea:focus { outline: none; border-color: var(--otg-electric-blue); box-shadow: 0 0 0 2px rgba(0,168,255,.3); }
.otg-form-grid textarea { resize: vertical; }
.otg-field--full { grid-column: 1 / -1; }
@media (min-width: 640px) { .otg-form-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Projects / Applications / Equipment archives ---------- */
.otg-filter-bar { position: sticky; top: var(--otg-header-h); z-index: 40; background: rgba(0,0,0,.95); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.06); }
.otg-filter-bar-inner { display: flex; gap: .75rem; padding: 1rem 0; overflow-x: auto; }
.otg-filter-btn { flex-shrink: 0; padding: .5rem 1rem; border-radius: var(--otg-radius-sm); border: none; background: none; color: rgba(255,255,255,.5); font-size: .9rem; font-weight: 500; }
.otg-filter-btn:hover { color: #fff; background: rgba(255,255,255,.06); }
.otg-filter-btn.is-active { background: #fff; color: #000; }
.otg-project-region { scroll-margin-top: 8rem; }
.otg-projects-grid, .otg-applications-archive-grid, .otg-equipment-archive-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.otg-project-card-wrap.is-hidden { display: none; }
.otg-project-card, .otg-archive-card { display: flex; flex-direction: column; height: 100%; background: var(--otg-neutral-900); border: 1px solid rgba(255,255,255,.06); border-radius: var(--otg-radius); overflow: hidden; }
.otg-project-card:hover, .otg-archive-card:hover { border-color: rgba(255,255,255,.15); }
.otg-project-card-media, .otg-archive-card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--otg-neutral-900); }
.otg-project-card-img, .otg-archive-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.otg-project-card:hover .otg-project-card-img, .otg-archive-card:hover .otg-archive-card-img { transform: scale(1.05); }
.otg-project-card-status { position: absolute; top: 1rem; right: 1rem; }
.otg-project-card-body, .otg-archive-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.otg-project-card-body h3, .otg-archive-card-body h3 { font-size: 1rem; margin-bottom: .4rem; }
.otg-project-card-client { color: rgba(255,255,255,.35); font-size: .75rem; margin-bottom: .3rem; }
.otg-project-card-excerpt, .otg-archive-card-body p { color: rgba(255,255,255,.4); font-size: .85rem; flex: 1; margin-bottom: 1rem; }
.otg-project-card-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .68rem; color: rgba(255,255,255,.3); margin-bottom: 1rem; }
.otg-project-card-capacity { font-weight: 600; color: rgba(255,255,255,.6); }
@media (min-width: 768px) { .otg-projects-grid, .otg-applications-archive-grid, .otg-equipment-archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .otg-projects-grid, .otg-equipment-archive-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Project / Application / Equipment detail ---------- */
.otg-back-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: rgba(255,255,255,.5); margin-bottom: 2rem; }
.otg-back-link:hover { color: #fff; }
.otg-back-link svg { width: 16px; height: 16px; }
.otg-project-detail-badges { display: flex; gap: .5rem; margin-bottom: 1rem; }
.otg-project-detail-header h1 { font-size: 2rem; margin-bottom: .5rem; }
.otg-project-detail-client { color: rgba(255,255,255,.5); }

/* Shared media gallery (Project / Application / Equipment) */
.otg-media-gallery { margin: 2rem 0; }
.otg-media-gallery-main, .otg-project-gallery-main { position: relative; border-radius: var(--otg-radius-lg); overflow: hidden; aspect-ratio: 16/9; background: var(--otg-neutral-900); margin-bottom: .75rem; }
.otg-media-gallery-img, .otg-project-gallery-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.otg-media-gallery-img.is-active, .otg-project-gallery-img.is-active { opacity: 1; }
.otg-media-gallery-thumbs, .otg-project-gallery-thumbs { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .25rem; }
.otg-media-gallery-thumb, .otg-project-gallery-thumb { flex-shrink: 0; width: 96px; height: 64px; border-radius: var(--otg-radius-sm); overflow: hidden; border: 2px solid transparent; padding: 0; background: none; }
.otg-media-gallery-thumb.is-active, .otg-project-gallery-thumb.is-active { border-color: var(--otg-electric-blue); }
.otg-media-gallery-thumb img, .otg-project-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.otg-media-gallery-captions { margin-top: .5rem; }
.otg-media-gallery-caption { display: none; font-size: .85rem; color: rgba(255,255,255,.5); }
.otg-media-gallery-caption.is-active { display: block; }

.otg-project-detail-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
.otg-panel { background: rgba(255,255,255,.03); border-radius: var(--otg-radius-lg); padding: 2rem; border: 1px solid rgba(255,255,255,.08); margin-bottom: 1.5rem; }
.otg-panel h2, .otg-panel h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.otg-results-list li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .75rem; font-weight: 500; }
.otg-results-list svg { width: 20px; height: 20px; color: var(--otg-electric-blue); flex-shrink: 0; margin-top: 2px; }
.otg-detail-list > div { margin-bottom: .9rem; }
.otg-detail-list dt { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: .2rem; }
.otg-detail-list dd { margin: 0; font-weight: 500; }
.otg-detail-capacity { color: var(--otg-electric-blue); font-size: 1.1rem; font-weight: 700; }
.otg-panel--cta { background: var(--otg-deep-blue); border-color: transparent; }
.otg-panel--cta h3 { margin-bottom: .5rem; }
.otg-panel--cta p { font-size: .9rem; opacity: .8; margin-bottom: 1rem; }
.otg-panel--diagram img { border-radius: var(--otg-radius); border: 1px solid rgba(255,255,255,.08); }
.otg-panel--media { padding: 0; overflow: hidden; aspect-ratio: 16/9; }
.otg-panel--media .otg-video-block, .otg-panel--media video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .otg-project-detail-grid { grid-template-columns: 2fr 1fr; } }

/* ---------- Contact CTA (homepage bottom + platform pages) ---------- */
.otg-contact-cta { position: relative; overflow: hidden; }
.otg-contact-cta-media { position: absolute; inset: 0; z-index: 0; }
.otg-contact-cta-img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.otg-contact-cta-gradient { position: absolute; inset: 0; background: linear-gradient(to top, #000, rgba(0,0,0,.6) 60%, rgba(0,0,0,.4)); }
.otg-contact-cta-content { position: relative; z-index: 1; max-width: 720px; }
.otg-contact-cta-content h2 { font-size: 2.25rem; }
.otg-contact-cta-content p { color: rgba(255,255,255,.5); font-size: 1.1rem; max-width: 560px; }
@media (min-width: 768px) { .otg-contact-cta-content h2 { font-size: 3rem; } }

/* ---------- WhatsApp floating button ---------- */
.otg-whatsapp-fab { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; width: 56px; height: 56px; border-radius: 999px; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.otg-whatsapp-fab svg { width: 28px; height: 28px; }
.otg-whatsapp-fab:hover { transform: scale(1.06); }

/* ---------- Team grid ([otg_team_grid] shortcode) ---------- */
.otg-team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.otg-team-card-photo { position: relative; width: 100%; aspect-ratio: 1/1; border-radius: var(--otg-radius); overflow: hidden; margin-bottom: 1rem; background: var(--otg-neutral-900); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.otg-team-card-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.otg-team-card-initial { font-size: 2rem; font-weight: 700; color: rgba(255,255,255,.3); }
.otg-team-card-name { font-size: 1rem; margin-bottom: .1rem; }
.otg-team-card-role { font-size: .85rem; font-weight: 600; color: var(--otg-electric-blue); margin-bottom: .5rem; }
.otg-team-card-bio { font-size: .8rem; color: rgba(255,255,255,.4); line-height: 1.6; }
@media (min-width: 640px) { .otg-team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .otg-team-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Generic (index.php fallback) ---------- */
.otg-generic-item { padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.otg-menu-empty-notice { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.otg-hero-video, .otg-video-block { display: none !important; }
	* { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
