/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #001220;
  --navy-mid: #002040;
  --steel: #0a3a5c;
  --cyan: #00b4d8;
  --cyan-light: #90e0ef;
  --amber: #f4a11d;
  --white: #f0f4f8;
  --gray: #8fa3b8;
  --gray-light: #cdd9e5;
  --surface: #051824;
  --card-bg: rgba(10, 58, 92, 0.25);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: screen;
  display: none;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 180, 216, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out), width 0.4s, height 0.4s;
  display: none;
}

/* ── NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 18, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 180, 216, 0.1);
  transition: padding 0.3s var(--ease-out);
}

.navbar.scrolled {
  padding: 0.75rem 2rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.navbar-wordmark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1;
}

.navbar-wordmark span {
  color: var(--cyan);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.navbar-menu a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.navbar-menu a:hover {
  color: var(--cyan);
  background: rgba(0, 180, 216, 0.08);
}

.navbar-menu .btn-nav {
  background: var(--cyan);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
}

.navbar-menu .btn-nav:hover {
  background: var(--cyan-light) !important;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 2rem 4rem;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridScroll 20s linear infinite;
}

.page-hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.page-hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.page-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Animated grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(60px);
  }
}

/* Radial glow */
.hero-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(0, 180, 216, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(244, 161, 29, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0;
  animation: float var(--dur, 8s) var(--delay, 0s) infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-20px) translateX(var(--drift, 30px));
    opacity: 0;
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s var(--ease-out) forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s var(--ease-out) forwards;
}

.hero-title .accent {
  color: var(--cyan);
}

.hero-title .accent-amber {
  color: var(--amber);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-light);
  max-width: 480px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s var(--ease-out) forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s var(--ease-out) forwards;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 rgba(0, 180, 216, 0.4);
}

.btn-primary-hero:hover {
  background: var(--cyan-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.3);
}

.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-ghost-hero:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 180, 216, 0.05);
}

/* Hero right — stats panel */
.hero-panel {
  position: relative;
  opacity: 0;
  animation: fadeLeft 0.8s 0.5s var(--ease-out) forwards;
}

.hero-panel-inner {
  background: rgba(10, 58, 92, 0.3);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 12px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hero-panel-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.panel-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-item {
  padding: 1.25rem;
  background: rgba(0, 18, 32, 0.5);
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: 8px;
  transition: border-color 0.3s, transform 0.3s;
}

.stat-item:hover {
  border-color: rgba(0, 180, 216, 0.4);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.stat-number.amber {
  color: var(--amber);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.4rem;
  font-weight: 400;
  line-height: 1.4;
}

.certifications {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cert-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 100px;
  color: var(--cyan-light);
  background: rgba(0, 180, 216, 0.05);
}

/* Hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s var(--ease-out) forwards;
}

.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
}

/* ── MARQUEE STRIP ── */
.marquee-strip {
  background: var(--cyan);
  padding: 0.75rem 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2.5rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--navy);
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--navy);
  border-radius: 50%;
  opacity: 0.4;
}

/* ── SECTIONS ── */
section {
  position: relative;
  z-index: 2;
}

.section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 4rem;
}

/* ── WHY SEMHYS ── */
.why-section {
  background: var(--surface);
  border-top: 1px solid rgba(0, 180, 216, 0.1);
  border-bottom: 1px solid rgba(0, 180, 216, 0.1);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.why-card {
  background: var(--surface);
  padding: 2.5rem;
  transition: background 0.3s;
}

.why-card:hover {
  background: rgba(10, 58, 92, 0.4);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: block;
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.why-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray);
  font-weight: 300;
}

/* ── SERVICES ── */
.services-section {
  background: var(--navy);
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.services-sticky {
  position: sticky;
  top: 7rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 180, 216, 0.12);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.service-card:hover {
  border-color: rgba(0, 180, 216, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 180, 216, 0.08);
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.service-text {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-radius: 3px;
  color: var(--cyan-light);
}

/* ── IMPACT METRICS ── */
.impact-section {
  background: linear-gradient(135deg, var(--steel) 0%, var(--navy-mid) 50%, var(--navy) 100%);
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.impact-item {
  padding: 3rem 2rem;
  border-right: 1px solid rgba(0, 180, 216, 0.15);
  text-align: center;
  position: relative;
  transition: background 0.3s;
}

.impact-item:last-child {
  border-right: none;
}

.impact-item:hover {
  background: rgba(0, 180, 216, 0.05);
}

.impact-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
  color: var(--cyan);
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 0.5rem;
}

.impact-number.amber {
  color: var(--amber);
}

.impact-label {
  font-size: 0.85rem;
  color: var(--gray-light);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.impact-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 0.08em;
}

/* ── CASES ── */
.cases-section {
  background: var(--surface);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.case-card:hover {
  border-color: rgba(0, 180, 216, 0.35);
  transform: translateY(-4px);
}

.case-header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-sector {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 180, 216, 0.3);
  color: var(--cyan);
}

.case-body {
  padding: 1.25rem 1.5rem;
}

.case-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  line-height: 1.15;
}

.case-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 18, 32, 0.4);
  border-top: 1px solid rgba(0, 180, 216, 0.1);
  border-bottom: 1px solid rgba(0, 180, 216, 0.1);
}

.case-metric-val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cyan);
}

.case-metric-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  margin-top: 0.2rem;
}

.case-footer {
  padding: 1.25rem 1.5rem;
}

.case-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.case-link:hover {
  color: var(--cyan);
}

/* ── PRODUCTS ── */
.products-section {
  background: var(--navy);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s;
}

.product-card:hover {
  border-color: rgba(0, 180, 216, 0.4);
  transform: translateY(-4px);
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(0, 18, 32, 0.6);
  border-radius: 6px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 1px solid rgba(0, 180, 216, 0.05);
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.product-spec {
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--cyan);
  font-weight: 700;
}

/* ── BLOG ── */
.blog-section {
  background: var(--surface);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  cursor: pointer;
}

.blog-card:hover {
  border-color: rgba(0, 180, 216, 0.35);
  transform: translateY(-4px);
}

.blog-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy);
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.5s, opacity 0.5s;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
  opacity: 1;
}

.blog-body {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.blog-cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-read {
  font-size: 0.65rem;
  color: var(--gray);
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.blog-excerpt {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
}

/* ── CTA ── */
.cta-section {
  background: var(--cyan);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 18, 32, 0.1) 0%, transparent 50%);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  color: var(--navy);
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: rgba(0, 18, 32, 0.8);
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  padding: 6rem 2rem 3rem;
  border-top: 1px solid rgba(0, 180, 216, 0.1);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-brand .footer-logo span {
  color: var(--cyan);
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray);
}

/* ── CHAT WIDGET ── */
#chat-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.4);
  z-index: 2000;
  border: none;
  transition: transform 0.3s;
}

#chat-bubble:hover {
  transform: scale(1.1);
}

#chat-window {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 380px;
  height: 500px;
  background: var(--navy);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  z-index: 2000;
  overflow: hidden;
  transition: opacity 0.3s, transform 0.3s;
}

#chat-window.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.chat-header {
  padding: 1.25rem;
  background: rgba(0, 180, 216, 0.1);
  border-bottom: 1px solid rgba(0, 180, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  font-size: 1.5rem;
}

.chat-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.chat-status {
  font-size: 0.7rem;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.chat-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}

.chat-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray);
  cursor: pointer;
}

#chat-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.msg-ai {
  background: rgba(10, 58, 92, 0.4);
  color: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.msg-user {
  background: var(--cyan);
  color: var(--navy);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  font-weight: 500;
}

.chat-input-area {
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 18, 32, 0.5);
  border-top: 1px solid rgba(0, 180, 216, 0.1);
}

.chat-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
  color: var(--white);
  font-size: 0.85rem;
}

.chat-input-area input:focus {
  outline: none;
  border-color: var(--cyan);
}

.chat-send {
  background: var(--cyan);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
}

/* ── CHAT ENHANCED ── */
.msg-wrap { display: flex; align-items: flex-start; gap: 0.4rem; margin-bottom: 0.6rem; }
.wrap-user { flex-direction: row-reverse; }
.msg-avatar { font-size: 1.1rem; flex-shrink: 0; width: 26px; text-align: center; padding-top: 2px; }
.msg-ts { display: block; font-size: 0.6rem; opacity: 0.45; margin-top: 0.2rem; }
.wrap-ai .msg-ts { text-align: left; }
.wrap-user .msg-ts { text-align: right; }
.quick-replies { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.3rem 0 0.3rem 2rem; }
.quick-reply-btn {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  font-size: 0.72rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.quick-reply-btn:hover { background: var(--cyan); color: var(--navy); }
.catalog-btn {
  display: inline-block;
  background: var(--cyan);
  color: var(--navy);
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  font-size: 0.78rem;
  text-decoration: none;
  font-weight: 600;
}
.typing-dots { display: inline-flex; gap: 3px; align-items: center; height: 0.9rem; }
.typing-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan);
  animation: typingBounce 1.2s infinite ease-in-out;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SHARED COMPONENTS (services, methodology, results, contact) ── */

.dark-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.dark-card:hover {
  border-color: rgba(0, 180, 216, 0.35);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.dark-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.dark-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.dark-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 1.5rem; }
.dark-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-bottom: 1.5rem; }

.alt-section { background: var(--surface); }
.surface-section { background: var(--surface); }

.service-block {
  border: 1px solid rgba(0, 180, 216, 0.08);
  border-radius: 12px;
  padding: 2.5rem;
  background: rgba(5, 24, 36, 0.4);
}

.service-block-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-icon { font-size: 3rem; flex-shrink: 0; }

.service-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service-block-subtitle { color: var(--gray); font-size: 0.9rem; }

.service-list { list-style: none; padding: 0; }

.service-list li {
  padding: 0.5rem 0 0.5rem 1.25rem;
  position: relative;
  color: var(--gray-light);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0, 180, 216, 0.05);
  line-height: 1.5;
}

.service-list li::before { content: '→'; position: absolute; left: 0; color: var(--cyan); font-size: 0.8rem; }

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.step-label { font-size: 0.8rem; color: var(--white); text-align: center; font-weight: 500; line-height: 1.3; }
.step-time { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gray); text-align: center; margin-top: 0.25rem; }

.metric-highlight { text-align: center; }

.metric-big {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--cyan);
  line-height: 1;
}

.metric-big.amber { color: var(--amber); }

.metric-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
  line-height: 1.4;
}

.investment-card { background: rgba(244, 161, 29, 0.05) !important; border-color: rgba(244, 161, 29, 0.2) !important; }
.investment-amount { font-family: var(--font-display); font-size: 3rem; color: var(--amber); margin-bottom: 0.5rem; }
.benefits-card { background: rgba(0, 180, 216, 0.04) !important; }

.example-box {
  background: rgba(0, 18, 32, 0.5);
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
}

.center-cta { text-align: center; margin-top: 2rem; }

/* ── METHODOLOGY COMPONENTS ── */

.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.phase-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.phase-card.accent {
  border-color: rgba(0, 180, 216, 0.3);
  background: rgba(0, 180, 216, 0.04);
}

.phase-card:hover { border-color: rgba(0, 180, 216, 0.4); transform: translateY(-4px); }

.phase-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--cyan);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.phase-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.phase-duration {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.phase-list { list-style: none; padding: 0; }

.phase-list li {
  color: var(--gray);
  font-size: 0.85rem;
  padding: 0.4rem 0 0.4rem 1rem;
  position: relative;
}

.phase-list li::before { content: '–'; position: absolute; left: 0; color: var(--cyan); }

.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.standard-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.3s;
}

.standard-card:hover { border-color: rgba(0, 180, 216, 0.35); }

.standard-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.standard-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-panel {
    max-width: 600px;
    margin: 0 auto;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-sticky {
    position: static;
    margin-bottom: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dark-grid-4,
  .dark-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .phases-grid,
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 6rem 2rem;
    transition: 0.4s var(--ease-out);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .navbar-menu.open {
    right: 0;
  }

  .navbar-toggle {
    display: flex;
    z-index: 1100;
  }

  .why-grid,
  .cases-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid,
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-title {
    font-size: 3rem;
  }

  .dark-grid-2,
  .dark-grid-3,
  .dark-grid-4,
  .dark-grid-6 {
    grid-template-columns: 1fr;
  }

  .phases-grid,
  .standards-grid {
    grid-template-columns: 1fr;
  }

  .service-block-header {
    flex-direction: column;
  }

  .service-block {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  #chat-window {
    width: calc(100vw - 2rem);
    right: 1rem;
    bottom: 5rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 1rem;
  }

  .service-block {
    padding: 1.25rem;
  }

  .dark-card {
    padding: 1.25rem;
  }

  .metric-big {
    font-size: 2.2rem;
  }

  .step-circle {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .phase-number {
    font-size: 3rem;
  }

  .investment-amount {
    font-size: 2.2rem;
  }

  #chat-window {
    width: 100vw;
    right: 0;
    border-radius: 12px 12px 0 0;
    bottom: 4.5rem;
  }

  .navbar {
    padding: 1rem;
  }
}