/* Cybernetics Hi-Tech Solutions — public site styles (on top of Bootstrap 5) */
:root {
  --navy: #14254a;
  --navy-2: #1d3361;
  --accent: #1f8fd6;
  --accent-dark: #156fa8;
  --ink: #1b2333;
  --muted: #5f6b7d;
  --line: #e3e8ef;
  --soft: #f4f7fb;
  --bs-primary: #1f8fd6;
  --bs-primary-rgb: 31, 143, 214;
  --bs-link-color: #156fa8;
  --bs-link-hover-color: #14254a;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}
h1, h2, h3, h4, h5, .navbar-brand, .display-font {
  font-family: "Montserrat", "Inter", sans-serif;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.text-muted-2 { color: var(--muted); }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5 { color: #fff; }

.btn-primary {
  --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-dark); --bs-btn-hover-border-color: var(--accent-dark);
  --bs-btn-active-bg: var(--accent-dark);
}
.btn-navy {
  --bs-btn-color: #fff; --bs-btn-bg: var(--navy); --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--navy-2); --bs-btn-hover-border-color: var(--navy-2);
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.section-title { font-weight: 700; margin-bottom: .75rem; }

/* Header */
.topbar { background: var(--navy); color: #c9d3e6; font-size: .82rem; }
.topbar a { color: #c9d3e6; text-decoration: none; }
.topbar a:hover { color: #fff; }
.site-nav { background: #fff; border-bottom: 1px solid var(--line); }
.site-nav .navbar-brand img { height: 46px; width: auto; }
.site-nav .nav-link { color: var(--navy); font-weight: 500; padding: .5rem .9rem !important; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--accent); }
.site-nav .dropdown-menu { border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(20, 37, 74, .12); }
.site-nav .dropdown-item i { color: var(--accent); width: 1.4rem; display: inline-block; }

/* Hero */
.hero {
  position: relative; color: #fff; min-height: 620px; display: flex; align-items: center;
  background: var(--navy) center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 22, 48, .92) 0%, rgba(10, 22, 48, .7) 45%, rgba(10, 22, 48, .2) 100%);
}
.hero > .container { position: relative; padding-bottom: 90px !important; }
.hero h1 { color: #fff; font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.12; }
.hero .lead { color: #d8e1f0; max-width: 560px; }
.hero .badge-made {
  display: inline-flex; gap: .5rem; align-items: center; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50px; padding: .35rem .9rem; font-size: .85rem;
}

.stats-bar { background: #fff; margin-top: -60px; position: relative; z-index: 2;
  border-radius: 14px; box-shadow: 0 20px 50px rgba(20, 37, 74, .14); }
.stat { padding: 28px 16px; text-align: center; }
.stat .num { font-family: "Montserrat", sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--navy); }
.stat .lbl { color: var(--muted); font-size: .9rem; }
@media (min-width: 768px) { .stat + .stat { border-left: 1px solid var(--line); } }

/* Page header for inner pages */
.page-header {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 56px 0 44px; position: relative; overflow: hidden;
}
.page-header::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
  background: url("../img/brand/mark-white.png") center / contain no-repeat; opacity: .06;
}
.page-header h1 { color: #fff; font-weight: 700; margin: 0; }
.page-header p { color: #c9d3e6; max-width: 720px; margin: .6rem 0 0; }
.page-header .breadcrumb { --bs-breadcrumb-divider-color: #8fa0bf; margin-bottom: .75rem; font-size: .88rem; }
.page-header .breadcrumb a { color: #c9d3e6; text-decoration: none; }
.page-header .breadcrumb .active { color: #fff; }

/* Cards */
.card-product, .card-cat {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; height: 100%;
  transition: transform .2s ease, box-shadow .2s ease; background: #fff;
}
.card-product:hover, .card-cat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 37, 74, .12); }
.card-product .thumb { aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.card-product .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-product .thumb.contain img { object-fit: contain; padding: 12px; }
.card-product h3 { font-size: 1.08rem; font-weight: 700; }
.card-product a.stretched-link { text-decoration: none; }
.card-cat { position: relative; color: #fff; min-height: 220px; display: flex; align-items: flex-end; }
.card-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-cat::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 22, 48, .05) 20%, rgba(10, 22, 48, .88) 100%); }
.card-cat .body { position: relative; z-index: 2; padding: 20px; }
.card-cat h3 { color: #fff; font-size: 1.15rem; font-weight: 700; margin: 0; }
.card-cat .count { font-size: .82rem; color: #c9d3e6; }
.card-cat .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent);
  display: grid; place-items: center; margin-bottom: 10px; font-size: 1.2rem; }
.badge-future { background: #fff3cd; color: #7a5b00; }

/* Product page */
.gallery-main { background: var(--soft); border-radius: 14px; aspect-ratio: 4 / 3; overflow: hidden;
  display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.gallery-thumbs button { border: 2px solid transparent; border-radius: 8px; padding: 0; overflow: hidden;
  aspect-ratio: 1; background: var(--soft); }
.gallery-thumbs button.active { border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: .45rem 0 .45rem 1.9rem; position: relative; border-bottom: 1px dashed var(--line); }
.feature-list li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0;
  color: var(--accent); }
.spec-table { font-size: .92rem; }
.spec-table thead th { background: var(--navy); color: #fff; font-weight: 600; border-color: var(--navy); }
.spec-table td:first-child { font-weight: 500; color: var(--navy); }
.spec-table td.cont { border-top-color: transparent; }

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item::before { content: ""; position: absolute; left: -27px; top: 5px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.timeline-item .year { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--accent); }
.timeline-item h3 { font-size: 1.05rem; margin: .1rem 0 .3rem; }

/* Clients */
.client-logo { height: 110px; display: grid; place-items: center; padding: 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; }
.client-logo img { max-height: 76px; max-width: 100%; object-fit: contain; filter: grayscale(.15); }
.client-strip .client-logo { border: 0; background: transparent; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--navy) 0%, var(--navy-2) 60%, var(--accent-dark) 140%);
  color: #fff; border-radius: 18px; padding: 48px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d3e6; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.form-label { font-weight: 500; color: var(--navy); font-size: .92rem; }
.hp-field { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: #0e1b37; color: #aab6cc; font-size: .92rem; }
.site-footer h5 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 1rem; }
.site-footer a { color: #aab6cc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand img { height: 50px; width: auto; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); margin-right: 6px; }

.whatsapp-btn { position: fixed; right: 20px; bottom: 20px; z-index: 1030; width: 56px; height: 56px;
  border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2); text-decoration: none; }
.whatsapp-btn:hover { color: #fff; transform: scale(1.06); }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1040; max-width: 560px;
  background: var(--navy); color: #d8e1f0; border-radius: 12px; padding: 16px 18px; font-size: .88rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.cookie-banner a { color: #fff; }

.object-cover { object-fit: cover; }
.rounded-4 { border-radius: 14px !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Placeholder for items without a photo */
.placeholder-img { width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.card-product .thumb .placeholder-img img { width: 30%; height: auto; object-fit: contain; opacity: .5; }

/* People */
.person-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 16px; }
.person-photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; background: var(--soft);
  border: 4px solid #fff; box-shadow: 0 6px 18px rgba(20, 37, 74, .12); }
.leader-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; height: 100%; }
.leader-card .person-photo { width: 110px; height: 110px; }
.leader-card ul { padding-left: 1.1rem; margin: 0; font-size: .86rem; color: var(--muted); }
.alumni-row { border-bottom: 1px dashed var(--line); padding: 10px 0; }

/* Jobs */
.job-row { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px;
  transition: box-shadow .2s ease; }
.job-row:hover { box-shadow: 0 12px 30px rgba(20, 37, 74, .1); }
.job-meta span { font-size: .85rem; color: var(--muted); margin-right: 14px; white-space: nowrap; }
.benefit i { font-size: 1.6rem; color: var(--accent); }

/* Header call-to-action buttons (Careers, Request a Quote) */
.site-nav .nav-cta { margin: 6px 0; }
@media (min-width: 992px) { .site-nav .nav-cta { margin: 0 0 0 8px; } }
.site-nav .btn-outline-primary { --bs-btn-color: var(--accent-dark); --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent); --bs-btn-hover-border-color: var(--accent); --bs-btn-active-bg: var(--accent-dark); }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600;
  display: grid; place-items: center; flex-shrink: 0; font-size: .9rem; }
.site-nav .nav-cta .btn { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1299.98px) {
  .site-nav .nav-link { padding: .5rem .5rem !important; font-size: .95rem; }
  .site-nav .navbar-brand img { height: 40px; }
  .site-nav .nav-cta { margin-left: 6px; }
}
@media (min-width: 992px) and (max-width: 1099.98px) {
  .site-nav .nav-cta .bi-briefcase { display: none; }
  .site-nav .nav-link { padding: .5rem .4rem !important; font-size: .9rem; }
}
