/* =========================================================
   NEXO TECHNOLOGIES LTD — Site Stylesheet
   Light minimal theme
   ========================================================= */

:root {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-light: #eff4ff;
  --navy: #0f172a;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --footer-bg: #0f172a;
  --footer-text: #cbd5e1;
  --footer-border: #1e293b;
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1160px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p {
  margin: 0 0 16px 0;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-header {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: #ffffff;
  color: var(--navy);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text);
  transition: all 0.15s ease;
}

.main-nav a:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.main-nav a.active {
  color: var(--accent);
  background: var(--accent-light);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--navy);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  padding: 96px 0 90px;
  background:
    radial-gradient(680px 380px at 85% -10%, var(--accent-light), transparent 60%),
    var(--bg);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 1.12rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-visual {
  background: linear-gradient(160deg, var(--navy) 0%, #1e3a8a 100%);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.08), transparent 55%);
}

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hero-stats .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.hero-stats .stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

/* =========================================================
   Cards / Services
   ========================================================= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.92rem;
}

/* Service detail blocks (Services page) */
.service-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.service-block:last-of-type {
  border-bottom: none;
}

.service-block .service-index {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.service-block ul {
  margin: 18px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-block ul li {
  padding-left: 26px;
  position: relative;
  color: var(--text);
  font-size: 0.96rem;
}

.service-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* =========================================================
   CTA band
   ========================================================= */

.cta-band {
  background: linear-gradient(135deg, var(--navy), #1e3a8a);
  border-radius: 24px;
  padding: 60px 50px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 0;
}

/* =========================================================
   Values / why-us
   ========================================================= */

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-item .dot {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.value-item h4 {
  margin: 0 0 4px 0;
  color: var(--navy);
  font-size: 1.02rem;
}

.value-item p {
  margin: 0;
  font-size: 0.94rem;
}

/* =========================================================
   Page header (About / Services / Contact top banner)
   ========================================================= */

.page-header {
  padding: 64px 0 56px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--accent);
  font-weight: 600;
}

/* =========================================================
   Contact page
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.contact-card .card-icon {
  margin-bottom: 18px;
}

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-card a,
.contact-card .value {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-card a:hover {
  color: var(--accent);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 40px;
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--footer-border);
}

.footer-brand img {
  height: 38px;
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--footer-text);
  opacity: 0.75;
  max-width: 320px;
  font-size: 0.94rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-col ul li a {
  color: var(--footer-text);
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: #fff;
}

.footer-bottom {
  padding: 24px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  opacity: 0.65;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    display: none;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 16px;
  }

  .header-cta .btn-secondary {
    display: none;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
    padding: 44px 28px;
  }

  .section {
    padding: 60px 0;
  }
}
