/* ============================================================
   OMNI-SYS S.R.L. — Global Stylesheet
   Color palette:
     Navy     #0B1D35  (dark accent / footer)
     Blue     #1A3A5C  (nav / section backgrounds)
     Teal     #00C2CB  (accent)
     Slate    #2D4E6E  (card bg)
     Light    #E8F4F8  (off-white sections)
     White    #FFFFFF
     Gray     #6C7F92  (muted text)
============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a2e;
  background: #fff;
}

a { color: #00C2CB; text-decoration: none; }
a:hover { color: #009aa0; }

img { max-width: 100%; display: block; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00C2CB;
  margin-bottom: 0.6rem;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1A3A5C;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.nav-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #00C2CB 0%, #007cff 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.nav-logo .logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}

.nav-logo .logo-text span {
  color: #00C2CB;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  display: block;
  padding: 0.45rem 0.9rem;
  color: #c5d8ea;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(0,194,203,0.18);
}

.nav-links a:active {
  background: rgba(0,194,203,0.30);
  color: #fff;
}

.nav-links a.active {
  color: #00C2CB;
}

/* Nav CTA — flat solid teal, radius matches .btn style (12px), compact nav padding */
.nav-cta {
  background: #00C2CB !important;
  color: #0B1D35 !important;
  font-weight: 600 !important;
  padding: 0.42rem 1.1rem !important;
  border-radius: 12px !important;
  transition: background 0.15s ease-out, color 0.15s ease-out, transform 0.12s ease-out !important;
}

.nav-cta:hover {
  background: #00A8B0 !important;
  color: #0B1D35 !important;
}

.nav-cta:active {
  background: #009098 !important;
  transform: scale(0.97) !important;
}

.nav-cta:focus-visible {
  outline: 3px solid #00C2CB !important;
  outline-offset: 2px !important;
}

/* Active state for styled nav buttons — must override the generic .active rule */
/* Board feedback: active text must visually change to signal current page.
   Darker teal bg + white text = clear "selected" state, distinct from normal. */
.nav-links a.nav-cta.active {
  background: #009098 !important;
  color: #fff !important;
}

.nav-links a.nav-support.active {
  background: transparent !important;
  color: #00C2CB !important;
  border-color: #00C2CB !important;
}

/* Nav Support — flat teal outline, full-opacity border, radius matches system */
.nav-support {
  border: 1.5px solid #00C2CB !important;
  color: #00C2CB !important;
  font-weight: 600 !important;
  padding: 0.38rem 0.9rem !important;
  border-radius: 12px !important;
  transition: background 0.15s ease-out, color 0.15s ease-out,
              transform 0.12s ease-out !important;
}

.nav-support:hover {
  background: #00C2CB !important;
  color: #0B1D35 !important;
}

.nav-support:active {
  background: #00A8B0 !important;
  border-color: #00A8B0 !important;
  color: #0B1D35 !important;
  transform: scale(0.97) !important;
}

.nav-support:focus-visible {
  outline: 3px solid rgba(0, 194, 203, 0.65) !important;
  outline-offset: 2px !important;
}

/* Mobile burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(135deg, rgba(11,29,53,0.62) 0%, rgba(0,80,120,0.50) 55%, rgba(0,40,80,0.58) 100%),
    url('/img/hero-home.jpg') center / cover no-repeat;
  color: #fff;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(0,194,203,0.32) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(0,124,255,0.22) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(0,194,203,0.10) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 720px;
  margin-left: 0; /* override container's margin:auto — keep text left-aligned */
  margin-right: auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,194,203,0.22);
  border: 1px solid rgba(0,194,203,0.65);
  color: #4ee8f0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  margin-bottom: 1.2rem;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.65);
}

.hero h1 span {
  color: #00C2CB;
}

.hero-sub {
  font-size: 1.1rem;
  color: #cce4f0;
  max-width: 480px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.65);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metric-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.4rem 1rem;
  text-align: center;
  backdrop-filter: blur(4px);
}

.metric-card .num {
  font-size: 2rem;
  font-weight: 800;
  color: #00C2CB;
  line-height: 1;
}

.metric-card .label {
  font-size: 0.8rem;
  color: #8aa8be;
  margin-top: 0.4rem;
}

/* ---------- Buttons ---------- */
/*
 * Redesign v5 (LNK-92, board feedback):
 * — Primary: flat solid teal at rest (dark text, high contrast); hover darkens bg + text
 *   becomes white (#fff on #009098 = 7:1 ✅). Board wanted white-on-hover, no gradient.
 * — Dark: clean white outline on hero dark bg — no backdrop-filter, no glass effect.
 *   Transparent bg + white border + white text. Hover: subtle white fill.
 * — Outline / Ghost: unchanged from v4.
 * — Removed: translateY lift, box-shadow glow, filter:brightness — clean color-only transitions.
 * — .btn: inline-flex with justify-content:center retained for icon alignment.
 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease-out, color 0.18s ease-out,
              border-color 0.18s ease-out, transform 0.12s ease-out;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}

/* Primary — flat solid teal, dark text at rest; hover darkens + white text */
.btn-primary {
  background: #00C2CB;
  color: #0B1D35;
  border-color: transparent;
}

.btn-primary:hover {
  background: #009098;
  color: #fff;
}

.btn-primary:active {
  background: #007a80;
  color: #fff;
  transform: scale(0.97);
}

.btn-primary:focus-visible {
  outline: 3px solid #00C2CB;
  outline-offset: 3px;
}

/* Outline — ghost on dark/gradient bg; hover fills to white */
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #0B1D35;
  border-color: #fff;
}

.btn-outline:active {
  background: #e8f8f9;
  color: #0B1D35;
  transform: scale(0.97);
}

.btn-outline:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

/* Ghost — teal outline on light/white backgrounds (section CTAs) */
.btn-ghost {
  background: transparent;
  color: #00A8B0;
  border-color: #00C2CB;
}

.btn-ghost:hover {
  background: #00C2CB;
  color: #0B1D35;
  border-color: #00C2CB;
}

.btn-ghost:active {
  background: #00A8B0;
  border-color: #00A8B0;
  color: #0B1D35;
  transform: scale(0.97);
}

.btn-ghost:focus-visible {
  outline: 3px solid #00C2CB;
  outline-offset: 3px;
}

/* Dark — glass/frosted style for hero dark bg (board: restore blur, LNK-92).
   Semi-transparent bg + backdrop-blur, white border, white text. */
.btn-dark {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.80);
}

.btn-dark:active {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  transform: scale(0.97);
}

.btn-dark:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

/* ---------- Logos / Trust Bar ---------- */
.trust-bar {
  background: #E8F4F8;
  padding: 2.5rem 0;
  border-top: 1px solid #d0e6f0;
  border-bottom: 1px solid #d0e6f0;
}

.trust-bar p {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6C7F92;
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-logo-item {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2D4E6E;
  opacity: 0.6;
  letter-spacing: 0.06em;
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: #fff;
  border: 1px solid #d8eaf3;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #00C2CB22, #007cff22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00C2CB;
  margin-bottom: 1.2rem;
}

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  color: #0B1D35;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.93rem;
  color: #4a6070;
  line-height: 1.65;
}

/* ---------- Dark section ---------- */
.section-dark {
  background: #1A3A5C;
  color: #fff;
}

.section-dark h2 { color: #fff; }
.section-dark p { color: #a0b8cc; }
.section-dark .section-label { color: #00C2CB; }

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.industry-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  transition: background 0.2s, border-color 0.2s;
}

.industry-card:hover {
  background: rgba(0,194,203,0.1);
  border-color: rgba(0,194,203,0.4);
}

.industry-card .icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 194, 203, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00C2CB;
  margin-bottom: 1rem;
}

.industry-card .icon svg { width: 28px; height: 28px; }

.industry-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.industry-card p {
  font-size: 0.88rem;
  color: #8aa8be;
}

/* ---------- Light sections ---------- */
.section-light {
  background: #E8F4F8;
}

/* ---------- Feature list ---------- */
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #2d4258;
}

.feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: #00C2CB;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 1px;
}

/* ---------- Team / About ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
}

.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.avatar-1 { background: linear-gradient(135deg, #00C2CB, #007cff); }
.avatar-2 { background: linear-gradient(135deg, #1A3A5C, #00C2CB); }
.avatar-3 { background: linear-gradient(135deg, #0B1D35, #2D4E6E); }
.avatar-4 { background: linear-gradient(135deg, #007cff, #00C2CB); }

.team-card h3 { font-size: 1.05rem; color: #0B1D35; }
.team-card .role { font-size: 0.85rem; color: #6C7F92; margin-top: 0.25rem; }

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: #00C2CB;
  line-height: 1;
}

.stat-item .desc {
  font-size: 0.88rem;
  color: #8aa8be;
  margin-top: 0.4rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #00C2CB 0%, #007cff 100%);
  padding: 4.5rem 0;
  text-align: center;
  color: #fff;
}

.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 2rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-info h3 { color: #0B1D35; margin-bottom: 1.5rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.contact-item .ci-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #00C2CB22, #007cff22);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00C2CB;
  flex-shrink: 0;
}

.ci-icon svg { width: 20px; height: 20px; }

.contact-item .ci-text strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6C7F92;
  margin-bottom: 0.15rem;
}

.contact-item .ci-text span {
  color: #2d4258;
  font-size: 0.95rem;
}

.contact-form {
  background: #fff;
  border: 1px solid #d8eaf3;
  border-radius: 16px;
  padding: 2.5rem 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2D4E6E;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #c5d8e8;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #1a1a2e;
  background: #f8fbfd;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #00C2CB;
  background: #fff;
}

.form-group textarea { height: 130px; resize: vertical; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  --page-hero-img: none;
  background:
    linear-gradient(135deg, rgba(11,29,53,0.74) 0%, rgba(26,58,92,0.64) 100%),
    var(--page-hero-img) center / cover no-repeat;
  color: #fff;
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.page-hero h1,
.page-hero p {
  text-shadow: 0 2px 16px rgba(0,0,0,0.60);
}

.page-hero .section-label { color: #00C2CB; }
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { color: #e8f0f8; font-size: 1.05rem; }

/* Breadcrumbs inside a hero overlay need higher contrast */
.page-hero .breadcrumb {
  color: rgba(255,255,255,0.72);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.90); }
.page-hero .breadcrumb a:hover { color: #00C2CB; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.82rem;
  color: #6C7F92;
  margin-bottom: 0.6rem;
}

.breadcrumb a { color: #00C2CB; }
.breadcrumb span { margin: 0 0.4rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0B1D35;
  color: #8aa8be;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo { margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #607890;
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: #607890;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #00C2CB;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: #3a5168;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a { color: #3a5168; }
.footer-bottom a:hover { color: #00C2CB; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #1A3A5C;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- About — Why grid (2×2 desktop, 1 col mobile) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 680px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ---------- Service section images ---------- */
.service-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  display: block;
}

@media (max-width: 900px) {
  .service-img { height: 220px; }
}

/* ---------- Process page ---------- */
.process-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.process-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.process-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.process-text { }

@media (max-width: 860px) {
  .process-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .process-img { aspect-ratio: 16 / 9; order: -1; }
}
