/* -----------------------------------------------------------
   ITS Industrial Trading Solutions - Production CSS v2
   Redesigned May 2026 - IBM Plex Sans - EKATO Color Palette
----------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Serif:wght@400;600&display=swap');

:root {
  /* EKATO-aligned palette */
  --ink:        #1a1a2e;        /* Near-black for body text */
  --navy:       #002855;        /* EKATO primary deep navy */
  --navy-deep:  #001635;        /* Footer / dark sections */
  --navy-mid:   #003570;        /* Hover states */
  --blue:       #0078c8;        /* EKATO signature cyan-blue (CTAs) */
  --blue-bright:#009de0;        /* Hover / highlights */
  --blue-soft:  #d6eef9;        /* Icon backgrounds */
  --blue-pale:  #edf6fb;        /* Section tints */
  --steel:      #4a5c6e;        /* Secondary text */
  --steel-light:#7a8e9e;        /* Placeholder / captions */
  --line:       #c8d8e4;        /* Borders */
  --line-light: #e2edf5;        /* Subtle dividers */
  --white:      #ffffff;
  --off-white:  #f9fbfc;
  --mist:       #f2f7fa;        /* Alternating section bg */
  --mist-deep:  #e8f2f8;        /* Deeper tint sections */
  --gold:       #b8811e;
  --gold-soft:  #fdf2e3;

  /* Shadows — EKATO uses very subtle shadows */
  --shadow-xs:  0 1px 3px rgba(0,40,85,.05);
  --shadow-sm:  0 2px 10px rgba(0,40,85,.07);
  --shadow:     0 6px 24px rgba(0,40,85,.09);
  --shadow-lg:  0 16px 48px rgba(0,40,85,.12);

  /* Typography */
  --font-main:  'IBM Plex Sans', Arial, sans-serif;
  --font-serif: 'IBM Plex Serif', Georgia, serif;

  /* Spacing */
  --section-pad-v:  clamp(72px, 9vw, 120px);
  --section-pad-h:  clamp(20px, 6vw, 88px);
  --gap-grid:       clamp(20px, 2.5vw, 32px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-main);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, object { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 18px; }

h1, h2, h3, h4 { margin-top: 0; line-height: 1.08; font-weight: 700; }

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.8vw, 4.1rem);
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* -- Header ------------------------------------------------ */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px var(--section-pad-h);
  background: rgba(255,255,255,0.98);
  border-bottom: 2px solid var(--blue);
  backdrop-filter: blur(20px);
  transition: padding 250ms ease, box-shadow 250ms ease;
}

.site-header.scrolled {
  padding-top: 4px;
  padding-bottom: 4px;
  box-shadow: 0 2px 16px rgba(0,40,85,.08);
}

.brand {
  display: flex;
  align-items: center;
  width: min(160px, 28vw);
  flex: 0 0 auto;
  transition: width 250ms ease;
}

.site-header.scrolled .brand { width: min(110px, 22vw); }
.brand img { width: 100%; height: auto; }

/* Desktop nav */
nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 24px);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

nav a {
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.01em;
  transition: color 160ms ease, border-color 160ms ease;
}

nav a:hover, nav a:focus-visible { border-color: var(--blue); color: var(--blue); }
nav a.active { color: var(--blue); border-color: var(--blue); }

.nav-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--navy);
  border-radius: 5px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

.nav-linkedin:hover, .nav-linkedin:focus-visible {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  border-bottom-color: var(--navy);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 240ms ease, opacity 240ms ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -- Buttons ----------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1.5px solid transparent;
  border-radius: 5px;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover, .button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(8,28,55,.14);
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.primary:hover { background: var(--blue-bright); }

.button.secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
}

.button.secondary:hover { background: rgba(255,255,255,0.18); }

/* -- Section base ------------------------------------------ */
.section {
  padding: var(--section-pad-v) var(--section-pad-h);
}

.section-kicker, .eyebrow {
  display: block;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* -- Hero -------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 110px var(--section-pad-h) 72px;
}

.hero-media, .hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(105deg, rgba(6,15,30,.82) 0%, rgba(6,15,30,.52) 38%, rgba(6,15,30,.08) 72%),
    linear-gradient(0deg, rgba(6,15,30,.28) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  width: min(600px, 100%);
  color: var(--white);
}

.eyebrow {
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.hero-copy {
  width: min(520px, 100%);
  margin-bottom: 28px;
  color: rgba(255,255,255,0.88);
  font-size: clamp(1.1rem, 1.4vw, 1.2rem);
  font-weight: 300;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* -- 2-column grid ----------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
  gap: var(--gap-grid);
  align-items: start;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--gap-grid);
  align-items: start;
  margin-bottom: 40px;
}

/* -- Section backgrounds ----------------------------------- */
.intro      { background: var(--white); }
.team       { background: var(--navy); color: var(--white); }
.alliance   { background: var(--mist); }
.portfolio  { background: var(--white); }
.lifecycle  { background: var(--navy); color: var(--white); }
.advantage  { background: var(--blue-pale); }

/* -- Team / Leadership ------------------------------------- */
.team > .section-kicker { color: rgba(255,255,255,0.6); margin-bottom: 36px; }

.team-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.team-photo-wrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0,0,0,0.35);
  border: 2px solid rgba(255,255,255,0.1);
}

.team-photo-wrap img { width: 100%; height: auto; display: block; }

.team-bio-col h2 { color: var(--white); margin-bottom: 8px; }

.team-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.team-title {
  font-size: 1.05rem;
  color: var(--blue-bright);
  font-weight: 500;
  margin-bottom: 10px;
}

.team-credentials {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.team-credentials span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

.team-bio-col p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.72;
  margin-bottom: 16px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.team-tags span {
  padding: 5px 14px;
  border: 1px solid rgba(58,168,222,0.35);
  border-radius: 999px;
  background: rgba(58,168,222,0.1);
  color: var(--blue-bright);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 5px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease;
}

.team-linkedin:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.45);
}

@media (max-width: 760px) {
  .team-layout { grid-template-columns: 1fr; }
  .team-photo-wrap { max-width: 260px; margin: 0 auto; }
}
.sectors    { background: var(--white); }
.markets    { background: var(--mist); }
.certificate{ background: var(--mist-deep); }
.contact    { background: var(--white); }

/* Dividers between sections */
.intro, .portfolio, .sectors, .contact {
  border-top: 1px solid var(--line-light);
}

/* -- Intro / About ----------------------------------------- */
.intro p {
  color: var(--steel);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
}

.mission-card {
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--blue);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.mission-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 0 0;
}

.mission-card h3,
.mission-card p {
  padding: 0 24px;
}

.mission-card h3 { padding-top: 20px; }
.mission-card p  { padding-bottom: 24px; color: var(--steel); }

/* -- Alliance ---------------------------------------------- */
.alliance {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.alliance-media {
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line-light);
  background: var(--white);
  box-shadow: var(--shadow);
}

.alliance-media img { width: 100%; height: auto; display: block; }

.partner-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.partner-logo img { width: min(200px, 52vw); height: auto; }

.alliance-copy p {
  color: var(--steel);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.72;
}

.alliance-button {
  margin-top: 10px;
  color: var(--white);
  background: var(--navy);
}

.alliance-button:hover { background: var(--navy-mid); }

/* -- Solutions / Portfolio --------------------------------- */
.section-heading p {
  color: var(--steel);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-grid);
}

.portfolio-grid article {
  border: 1px solid var(--line-light);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  padding: 0 0 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.portfolio-grid article:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.portfolio-grid article h3 { padding: 0 18px; font-size: 1.05rem; }
.portfolio-grid article p  { padding: 0 18px; color: var(--steel); font-size: 1.1rem; line-height: 1.65; margin: 0; }

.sol-product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 16px;
  background: linear-gradient(160deg, var(--blue-pale) 0%, var(--mist) 100%);
  padding: 14px;
}

.sol-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}

.sol-product-img--cover img {
  object-fit: cover;
}

.portfolio-grid article:hover .sol-product-img img { transform: scale(1.04); }

/* -- Lifecycle --------------------------------------------- */
.lifecycle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.lifecycle .section-kicker { color: #5dc8f5; }

.lifecycle-copy h2 { color: var(--white); }

.lifecycle-copy > p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 300;
}

.process-steps {
  display: grid;
  gap: 0;
  margin-top: 32px;
}

.process-steps article {
  padding: 18px 0 18px 22px;
  border-left: 2px solid rgba(93,200,245,0.7);
  position: relative;
}

.process-steps article::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5dc8f5;
}

.process-steps p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
}

.process-figure {
  margin: 0;
  padding: clamp(16px, 2.5vw, 24px);
  border-radius: 6px;
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.12);
}

.process-steps strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
}

.process-steps p {
  margin: 0;
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  font-weight: 300;
}

.process-figure {
  margin: 0;
  padding: clamp(16px, 2.5vw, 24px);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.process-figure img { width: 100%; border-radius: 6px; }

/* -- Advantage --------------------------------------------- */
/* -- Advantage card entrance animation --------------------- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes iconPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.18); }
  70%  { transform: scale(0.94); }
  100% { transform: scale(1); }
}

@keyframes iconSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-6px); }
  70%       { transform: translateY(-2px); }
}

@keyframes iconWave {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(-12deg); }
  75%       { transform: rotate(12deg); }
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap-grid);
}

/* Cards hidden until JS adds .is-visible */
.advantage-grid article {
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(22px);
  transition: box-shadow 200ms ease, transform 200ms ease, opacity 200ms ease;
}

.advantage-grid article.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeSlideUp 480ms ease both;
}

/* Stagger each card */
.advantage-grid article:nth-child(1) { animation-delay: 0ms; }
.advantage-grid article:nth-child(2) { animation-delay: 80ms; }
.advantage-grid article:nth-child(3) { animation-delay: 160ms; }
.advantage-grid article:nth-child(4) { animation-delay: 240ms; }
.advantage-grid article:nth-child(5) { animation-delay: 320ms; }

.advantage-grid article:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

/* Icon container */
.adv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--navy);
  flex-shrink: 0;
  transition: background 220ms ease, transform 220ms ease;
}

.adv-icon svg {
  width: 30px;
  height: 30px;
  transition: transform 220ms ease;
}

/* Per-icon hover animations */
.advantage-grid article:nth-child(1):hover .adv-icon svg {
  animation: iconWave 600ms ease;
}
.advantage-grid article:nth-child(2):hover .adv-icon svg {
  animation: iconSpin 600ms ease;
}
.advantage-grid article:nth-child(3):hover .adv-icon svg {
  animation: iconBounce 500ms ease;
}
.advantage-grid article:nth-child(4):hover .adv-icon svg {
  animation: iconPulse 500ms ease;
}
.advantage-grid article:nth-child(5):hover .adv-icon svg {
  animation: iconBounce 500ms ease;
}

/* Icon background brightens on hover */
.advantage-grid article:hover .adv-icon {
  background: var(--blue);
  color: var(--white);
}

.advantage-grid h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.advantage-grid p  { color: var(--steel); font-size: 1.1rem; margin: 0; font-weight: 300; line-height: 1.6; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .advantage-grid article,
  .advantage-grid article.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .adv-icon svg { animation: none !important; }
}


/* -- Sectors ----------------------------------------------- */
.sectors-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-light);
}

.sectors-visual img { width: 100%; height: auto; }

/* -- Markets ----------------------------------------------- */
.markets { display: block; }

.territory-intro {
  max-width: 700px;
  margin-bottom: 28px;
}

.territory-intro p {
  color: var(--steel);
  font-size: 1.05rem;
  font-weight: 300;
}

.territory-map-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-light);
}

.territory-map-img img { width: 100%; height: auto; display: block; }

/* -- Certificate ------------------------------------------- */
.certificate {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 320px);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.certificate-copy p {
  color: var(--steel);
  font-size: 1.05rem;
  font-weight: 300;
}

.certificate-cta { display: inline-flex; margin-top: 14px; }

.certificate-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, var(--blue-pale) 0%, var(--mist) 100%);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  min-height: 280px;
}

.certificate-visual img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 5px 16px rgba(8,28,55,.15));
}

/* -- News & Webinars --------------------------------------- */
.news { background: var(--mist); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-grid);
}

.news-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.news-card--cta {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.news-card--cta .news-meta { color: rgba(255,255,255,0.55); }
.news-card--cta h3 { color: var(--white); }
.news-card--cta p { color: rgba(255,255,255,0.72); }
.news-card--cta .news-link { color: #5dc8f5; }
.news-card--cta .news-link:hover { color: var(--white); }

.news-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.news-tag--upcoming {
  background: #e8f5e9;
  color: #1b6e2e;
}

.news-tag--today {
  background: var(--blue);
  color: var(--white);
}

.news-tag--past {
  background: #f0f0f0;
  color: #555;
}

.news-tag--series {
  background: var(--blue-soft);
  color: var(--navy);
}

.news-meta {
  font-size: 0.84rem;
  color: var(--steel-light);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.news-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}

.news-card p {
  flex: 1;
  font-size: 1.1rem;
  color: var(--steel);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 18px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
  transition: gap 150ms ease, color 150ms ease;
}

.news-link:hover {
  gap: 8px;
  color: var(--navy);
}

@media (max-width: 940px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

/* -- Clients / Logo strip ---------------------------------- */
.clients {
  background: var(--white);
  text-align: center;
  border-top: 1px solid var(--line-light);
}

.clients-header {
  max-width: 680px;
  margin: 0 auto 40px;
}

.clients-header .section-kicker { color: var(--blue); }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  min-height: 88px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.client-logo-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: none;
  opacity: 1;
  transition: opacity 220ms ease;
}

.client-logo-card:hover img { opacity: 0.85; }

.client-logo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

@media (max-width: 760px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .client-logo-card { padding: 14px; min-height: 72px; }
}

/* -- Contact layout: two columns side by side -------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-details {
  flex-shrink: 0;
}

.contact-product-img {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--blue-pale) 0%, var(--mist) 100%);
  border: 1px solid var(--line-light);
  padding: 20px;
  max-height: 260px;
}

.contact-product-img img {
  max-height: 220px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(8,28,55,.12));
}

.contact > div:first-child .section-kicker { color: var(--blue); }

.contact h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }

.contact p, .contact-details p {
  color: var(--steel);
  font-size: 1.1rem;
  font-weight: 300;
}

.contact-details h3 { margin-bottom: 6px; font-size: 1.05rem; }

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.contact-whatsapp:hover { background: #1ebe5d; border-color: #1ebe5d; }

.contact-li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 5px;
}

.contact-li:hover { background: var(--mist); }

/* Form */
.contact-form-wrapper {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: clamp(22px, 3.5vw, 36px);
}

.form-heading { margin-bottom: 4px; font-size: 1.12rem; font-weight: 600; }
.form-subline  { color: var(--steel); font-size: 1.05rem; margin-bottom: 22px; font-weight: 300; }

.form-row { display: grid; gap: 14px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.form-field label span { color: var(--blue); }

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 400;
  transition: border-color 140ms ease, background 140ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234e6478' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.form-field textarea { resize: vertical; min-height: 100px; }

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-submit { flex-shrink: 0; }

.form-note {
  margin: 0;
  color: var(--steel-light);
  font-size: 0.76rem;
  font-weight: 300;
}

.form-success[hidden] {
  display: none;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid #a8d9bc;
  border-radius: 6px;
  background: #edf7f2;
  color: #185c38;
  font-size: 1.05rem;
  font-weight: 500;
}

/* -- Footer ------------------------------------------------ */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px var(--section-pad-h);
  background: var(--navy-deep);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 300;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.site-footer p { margin: 0; }

/* -- 1180px breakpoint ------------------------------------- */
@media (max-width: 1180px) {
  .advantage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* -- 940px breakpoint -------------------------------------- */
@media (max-width: 940px) {
  .hamburger { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px var(--section-pad-h) 20px;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--line-light);
    box-shadow: 0 8px 24px rgba(8,28,55,.10);
  }

  nav.open { display: flex; }

  nav a {
    width: 100%;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: 1.05rem;
  }

  nav a:last-child { border-bottom: none; }

  .nav-linkedin {
    margin-top: 10px;
    border: 1.5px solid var(--navy);
    border-radius: 5px;
  }

  .hero {
    min-height: 80vh;
    padding-top: 120px;
    padding-bottom: 56px;
  }

  .split,
  .alliance,
  .lifecycle,
  .certificate,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -- 620px breakpoint -------------------------------------- */
@media (max-width: 620px) {
  :root {
    --section-pad-v: clamp(52px, 8vw, 80px);
    --section-pad-h: 18px;
  }

  .brand { width: 160px; }

  .hero {
    min-height: 82vh;
    padding-bottom: 44px;
  }

  .hero-overlay {
    background: linear-gradient(105deg, rgba(6,15,30,.86), rgba(6,15,30,.44));
  }

  .portfolio-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: center; }
}

@media print {
  .site-header, .hero-actions, .contact-form-wrapper { display: none; }
}
