:root {
  --color-bg-primary: #0b0f14;
  --color-bg-secondary: #111827;
  --color-text-primary: #ffffff;
  --color-text-secondary: #cfd6e0;
  --color-text-muted: #9ca3af;
  --color-accent: #4fd1c5;
  --color-accent-hover: #38b2ac;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 64px;

  --radius-sm: 4px;
  --radius-md: 8px;

  --font-base: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
}

/* ================= HEADER ================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
  background-color: rgba(11, 15, 20, 0.9);
  backdrop-filter: blur(8px);
}

/* HARD LIMIT HEADER LOGO SIZE */
header img {
  height: 32px;
  max-height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

nav a {
  margin-left: var(--space-lg);
  text-decoration: none;
  font-size: 14px;
  color: var(--color-text-secondary);
}

nav a:hover,
nav a:focus {
  color: var(--color-accent);
  outline: none;
}

/* ================= MOBILE NAV FIX ================= */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background-color: #ffffff;
  display: block;
}

/* Mobile behavior */
@media (max-width: 1024px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(11, 15, 20, 0.98);
    display: none;
    flex-direction: column;
    padding: 24px;
  }

  .main-nav a {
    margin: 16px 0;
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
  }

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

/* ================= HERO ================= */

.hero {
  height: 100vh;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(11,15,20,0.7), rgba(11,15,20,0.9)),
    url("/img/hero/hero-bg.jpg") center / cover no-repeat;
}

.hero-content {
  max-width: 640px;
}

.hero h2 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero p {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.hero button {
  background-color: var(--color-accent);
  color: #000;
  border: none;
  padding: var(--space-sm) var(--space-lg);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.hero button:hover,
.hero button:focus {
  background-color: var(--color-accent-hover);
  outline: none;
}

.card-link {
  display: inline-block;
  margin-top: 14px;

  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;

  color: var(--color-accent);
  text-decoration: none;

  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.card-link:hover {
  opacity: 1;
  transform: translateX(2px);
}

.card-link {
  font-size: 12.5px;
  font-weight: 500;
  text-transform: none;
}

/* ================= SECTIONS ================= */

.sections {
  padding: 120px var(--space-xl);
  background-color: var(--color-bg-secondary);
}

.sections h2 {
  font-size: 32px;
  margin-bottom: var(--space-lg);
}

/* ================= START-grid-max-4-columns ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: var(--space-lg);
}

@media (max-width: 1280px) {
  .grid { grid-template-columns: repeat(3, minmax(260px, 1fr)); }
}

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

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}
/* ================= END-grid-max-4-columns ================= */


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

.cta {
  margin-top: 120px;
  padding: var(--space-xl);
  background-color: var(--color-bg-primary);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.cta h3 {
  font-size: 28px;
  margin: 0;
}

.cta button {
  background-color: var(--color-accent);
  color: #000;
  border: none;
  padding: var(--space-sm) var(--space-lg);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.cta button:hover,
.cta button:focus {
  background-color: var(--color-accent-hover);
  outline: none;
}

/* ================= FOOTER ================= */

.site-footer {
  background-color: #000;
  color: #fff;

  /* Responsive padding instead of fixed 100px 80px */
  padding: clamp(56px, 8vw, 100px) clamp(20px, 6vw, 80px);

  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);

  /* Prevent overflow on narrow screens */
  min-width: 0;
}

.footer-col {
  min-width: 0;
}

.footer-logo {
  font-size: 26px;
  margin-bottom: 20px;
}

.footer-tagline {
  color: #00c6b7;
  margin-top: 12px;
  font-weight: 600;
}

.footer-col h4 {
  font-size: 15px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #d0d0d0;
  text-decoration: none;
  font-size: 14px;

  /* Safer wrapping for long labels/URLs */
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: #00c6b7;
}

/* Footer logo image */
.footer-logo-img {
  max-width: 180px;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}

/* Social */
.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.footer-social a {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.85;
  text-decoration: none;
}

.footer-social a:hover {
  opacity: 1;
}

/* CTA */
.footer-cta {
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  background: linear-gradient(135deg, #00c6b7, #00a3a3);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

/* Footer CTA button */
.site-footer .btn-footer {
  padding: 18px 36px;
  background: #ffffff;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  display: inline-block;
}

.site-footer .btn-footer:hover {
  background: #e5e7eb;
}

/* ================= FOOTER RESPONSIVE ================= */

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer .btn-footer {
    width: 100%;
    text-align: center;
  }

  .footer-logo-img {
    max-width: 160px;
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  header {
    padding: var(--space-md);
  }

  nav a {
    margin-left: var(--space-md);
  }

  .hero {
    padding: 0 var(--space-md);
  }

  .hero h2 {
    font-size: 36px;
  }

  .sections {
    padding: 96px var(--space-md);
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }
}

/* ================= WHITE VARIANT ================= */

.sections--white {
  background-color: #ffffff;
  color: #0b0f14;
}

.sections--white h2,
.sections--white h3 {
  color: #0b0f14;
}

.sections--white p {
  color: #374151;
}

.sections--white .card {
  background-color: #f9fafb;
}

.sections--white .cta {
  background-color: #0b0f14;
}

.sections--white .cta h3 {
  color: #ffffff;
}

.sections--white .cta button {
  background-color: var(--color-accent);
  color: #000;
}

/* ================= CEO FEATURE SECTION ================= */

.ceo-feature {
  position: relative;
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 720px;
  overflow: hidden;

  /* Multi-layer gradient matching reference */
  background:
    radial-gradient(
      circle at 30% 40%,
      rgba(210, 225, 230, 0.35),
      transparent 60%
    ),
    linear-gradient(
      90deg,
      #f3f7fa 0%,
      #f4fafa 35%,
      #f7fbfc 60%,
      #ffffff 100%
    );
}

/* IMAGE SIDE */
.ceo-feature__media {
  position: relative;
}

.ceo-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Blend image into background */
  mask-image: linear-gradient(
    90deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 55%,
    rgba(0,0,0,0) 100%
  );
}

/* CONTENT SIDE */
.ceo-feature__content {
  position: relative;
  padding: 120px var(--space-xl);
  max-width: 640px;
  color: #111827;
}

.ceo-feature__content h2 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.ceo-meta {
  font-size: 16px;
  margin-bottom: var(--space-lg);
  color: #374151;
}

.ceo-feature__content p {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: var(--space-md);
}

/* CTA */
.ceo-cta {
  display: inline-block;
  margin-top: var(--space-lg);
  background-color: var(--color-accent);
  color: #000;
  padding: var(--space-sm) var(--space-lg);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.ceo-cta:hover {
  background-color: var(--color-accent-hover);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .ceo-feature {
    grid-template-columns: 1fr;
  }

  .ceo-feature__media {
    height: 420px;
  }

  .ceo-feature__media img {
    position: relative;
    mask-image: none;
  }

  .ceo-feature__content {
    padding: 96px var(--space-md);
  }
}

/* ================= news-section ================= */

.news-list {
  background: linear-gradient(180deg, #f6f9fb 0%, #ffffff 100%);
  padding: 140px 0;
  color: #0b0f14;
}

.news-list__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.news-list__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
}

.news-list__header h2 {
  font-size: 48px;
  margin: 0;
  color: #0b0f14;
}

.news-list__all {
  font-size: 16px;
  color: #3b7f7a;
  text-decoration: none;
}

.news-item {
  display: grid;
  grid-template-columns: 260px 1fr 40px;
  gap: 32px;
  align-items: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}

.news-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.news-item__type {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 6px;
  display: block;
}

.news-item__content h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0;
  color: #0b0f14;
}

.news-item__arrow {
  font-size: 28px;
  color: #3b7f7a;
}

@media (max-width: 1024px) {
  .news-list__inner {
    padding: 0 24px;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-item__arrow {
    display: none;
  }
}

/* ================= CTA SPLIT SECTION ================= */

.cta-split {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 80px);
  background: #eef5f7;
}

.cta-split__container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.cta-split__media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.35);
}

.cta-split__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cta-split__content {
  max-width: 560px;
}

.cta-split__title {
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  color: #0b0f14;
}

.cta-split__text {
  margin: 0 0 28px 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(11, 15, 20, 0.78);
}

/* Button (uses your existing .btn styles if present) */
.btn--primary {
  display: inline-block;
  background-color: var(--color-accent);
  color: #000;
  text-decoration: none;

  padding: var(--space-sm) var(--space-lg);
  font-size: 14px;
  font-weight: 600;

  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-accent-hover);
  outline: none;
}

/* Responsive */
@media (max-width: 900px) {
  .cta-split__container {
    grid-template-columns: 1fr;
  }

  .cta-split__content {
    max-width: 680px;
  }
}

/* ================= HELP CTA ================= */

.help-cta {
  position: relative;
  overflow: hidden;

  /* reduced vertical padding */
  padding: clamp(40px, 6vw, 80px) clamp(20px, 6vw, 80px);

  background-image: url("/img/sections/help-cta-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

/* Soft white tint overlay (keeps image clean) */
.help-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 250, 251, 0.88);
  pointer-events: none;
  z-index: 0;
}

.help-cta__inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* tighter spacing */
  gap: 14px;

  text-align: center;

  /* reduced overall height */
  min-height: clamp(160px, 18vw, 260px);

  position: relative;
  z-index: 1;
}

.help-cta__title {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: rgba(11, 15, 20, 0.86);
}

.help-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background-color: var(--color-accent);
  color: #000;
  text-decoration: none;

  padding: var(--space-sm) var(--space-lg);
  font-size: 14px;
  font-weight: 600;

  border-radius: var(--radius-sm);
  cursor: pointer;
}

.help-cta__button:hover,
.help-cta__button:focus-visible {
  background-color: var(--color-accent-hover);
  outline: none;
}

@media (max-width: 640px) {
  .help-cta__button {
    width: min(320px, 100%);
  }
}

/* ================= ENERGY MARKET SYSTEMS (IBITLY) ================= */

.ems-page {
  background: #ffffff;
  color: #0b0f14;
/* ================= HERO ================= */

.ems-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(180deg, #f3f7fa 0%, #f7fbfc 55%, #ffffff 100%);

  /* Full viewport */
  height: 100vh;
  display: flex;
  align-items: center;
}

/* Background image scales up with viewport */
.ems-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("/img/avenger/energy-market-map.jpg");
  background-repeat: no-repeat;

  /* Force the artwork to scale up (bigger than viewport), no “floating box” look */
  background-size: clamp(1400px, 120vw, 2400px) auto;
  background-position: 85% 50%;

  opacity: 0.95;
  pointer-events: none;
}

/* Readability overlay */
.ems-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(243, 247, 250, 1) 0%,
    rgba(243, 247, 250, 1) 42%,
    rgba(243, 247, 250, 0.85) 62%,
    rgba(243, 247, 250, 0) 84%
  );
  pointer-events: none;
}

.ems-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;

  /* Compensate for fixed header */
  padding: 140px 80px 120px;
}

.ems-hero h1 {
  margin: 0 0 22px;
  max-width: 760px;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #0b0f14;
}

.ems-hero__lead {
  margin: 0 0 36px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.8;
  color: #344155;
}

@media (max-width: 1024px) {
  .ems-hero__inner {
    padding: 130px 48px 110px;
  }

  .ems-hero h1 {
    font-size: 42px;
  }

  .ems-hero::before {
    background-size: clamp(1100px, 150vw, 2200px) auto;
    background-position: 80% 45%;
  }
}

@media (max-width: 640px) {
  .ems-hero__inner {
    padding: 120px 24px 96px;
  }

  .ems-hero h1 {
    font-size: 34px;
  }

  .ems-hero::before {
    background-size: clamp(900px, 190vw, 1800px) auto;
    background-position: 72% 35%;
  }
}



/* ================= BUTTONS ================= */

.ems-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--color-accent);
  color: #0b0f14;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
  transition: background-color 180ms ease, transform 180ms ease;
}

.ems-btn:hover,
.ems-btn:focus {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  outline: none;
}

.ems-btn--dark {
  background: #ffffff;
  color: #0b0f14;
}

.ems-btn--dark:hover,
.ems-btn--dark:focus {
  background: #e9eef4;
}

/* ================= SECTIONS ================= */

.ems-section {
  padding: 110px 0;
  background: #ffffff;
}

.ems-section--muted {
  background: #f3f7fa;
}

.ems-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ems-section__content h2 {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #0b0f14;
}

.ems-section__content p {
  margin: 0 0 18px;
  color: #5c6773;
  line-height: 1.8;
}

.ems-section__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

/* ================= LISTS ================= */

.ems-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.ems-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: #5c6773;
}

.ems-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ================= CONTACT ================= */

.ems-contact {
  padding: 120px 0;
  background: #0b0f14;
  color: #ffffff;
  text-align: center;
}

.ems-contact__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

.ems-contact h2 {
  margin: 0 0 16px;
  font-size: 38px;
  letter-spacing: -0.01em;
}

.ems-contact p {
  margin: 0 auto 32px;
  max-width: 680px;
  color: #cfd6e0;
  line-height: 1.8;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .ems-hero__inner {
    padding: 150px 48px 140px;
  }

  .ems-hero h1 {
    font-size: 42px;
  }

  .ems-section__inner {
    grid-template-columns: 1fr;
    padding: 0 48px;
  }
}

@media (max-width: 640px) {
  .ems-hero__inner {
    padding: 130px 24px 120px;
  }

  .ems-hero h1 {
    font-size: 34px;
  }

  .ems-hero::before {
    background-size: 920px auto;
    opacity: 0.9;
  }

  .ems-section__inner {
    padding: 0 24px;
  }

  .ems-section {
    padding: 80px 0;
  }

  .ems-contact {
    padding: 90px 0;
  }
}

/* ================= Avenger Card Section ================= */
/* Assets:
   /img/avenger/1.jpg (right illustration)
   /img/avenger/2.png (center logo)
*/

/* Section background only */
.avenger-card-section {
  padding: 120px 24px;
  background: #ffffff;
}

/* Card size and split aligned to reference */
.avenger-card {
  width: min(1800px, calc(100% - 0px)); /* target ~1800px when available */
  margin: 0 auto;

  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);

  /* clean 50/50 split like the reference */
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 50%, #eef7f6 50%, #f4fbfa 100%);

  box-shadow:
    0 34px 74px rgba(15, 23, 42, 0.14),
    0 10px 18px rgba(15, 23, 42, 0.08);

  display: grid;
  grid-template-columns: 1fr 1fr;

  /* reference-like vertical presence */
  min-height: 730px;

  position: relative;
}

/* Subtle divider exactly in the middle */
.avenger-card::before {
  content: "";
  position: absolute;
  top: 56px;
  bottom: 56px;
  left: 50%;
  width: 1px;
  background: rgba(15, 23, 42, 0.06);
  transform: translateX(-0.5px);
  pointer-events: none;
}

/* LEFT */
.avenger-card__left {
  padding: 92px 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Reserve space so the logo never covers text on desktop */
@media (min-width: 1025px) {
  .avenger-card__left {
    padding-right: 220px;
  }
}

.avenger-card__title {
  margin: 0 0 22px;
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #0b0f14;
  font-weight: 600;
}

.avenger-card__lead {
  margin: 0 0 40px;
  max-width: 560px;
  font-size: 22px;
  line-height: 1.55;
  color: #0b0f14;
  font-weight: 500;
}

.avenger-card__body {
  margin: 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(11, 15, 20, 0.82);
}

/* RIGHT: full-bleed image with controlled framing */
.avenger-card__right {
  position: relative;
  overflow: hidden;
}

.avenger-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* fills the panel without looking cropped */
  transform: scale(1.10);
  object-position: 50% 50%;

  opacity: 0.98;
  filter: saturate(0.92) contrast(0.99) brightness(1.03);
}

/* Soft wash on the right */
.avenger-card__right::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 55% 40%, rgba(79, 209, 197, 0.12) 0%, rgba(79, 209, 197, 0.00) 56%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.00) 40%),
    radial-gradient(circle at 70% 55%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.00) 62%);
  pointer-events: none;
}

/* CENTER LOGO: fixed to middle, restored smaller size */
.avenger-card__logo {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  z-index: 5;

  /* restore to a smaller, reference-like size */
  width: 220px;
  height: auto;

  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 0;
  padding: 0;
  display: block;

  pointer-events: none;
}

.avenger-card__logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 34px rgba(15, 23, 42, 0.20)) saturate(0.95);
}

/* Responsive */
@media (max-width: 1024px) {
  .avenger-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .avenger-card::before {
    display: none;
  }

  .avenger-card__left {
    padding: 64px 44px 34px;
  }

  .avenger-card__right {
    min-height: 460px;
  }

  .avenger-card__logo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 180px;
    margin: 0 auto 26px;
  }

  .avenger-card__bg {
    transform: scale(1.06);
    object-position: 50% 50%;
  }
}

@media (max-width: 640px) {
  .avenger-card-section {
    padding: 72px 16px;
  }

  .avenger-card__left {
    padding: 46px 22px 24px;
  }

  .avenger-card__lead {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .avenger-card__right {
    min-height: 380px;
  }

  .avenger-card__logo {
    width: 160px;
  }
}

/* ================= Platforms Grid (max 4 columns) ================= */
/* Use class="platforms-grid" on the platforms cards wrapper.
   Backward-compatible: also targets the existing platforms wrapper (.sections.sections--white .grid). */

.platforms-grid,
.sections.sections--white .grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: var(--space-lg);
}

@media (max-width: 1200px) {
  .platforms-grid,
  .sections.sections--white .grid {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }
}

@media (max-width: 900px) {
  .platforms-grid,
  .sections.sections--white .grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 560px) {
  .platforms-grid,
  .sections.sections--white .grid {
    grid-template-columns: 1fr;
  }
}

/* ================= CRM HERO ================= */

.crm-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: center;

  background: #ffffff;
  overflow: hidden;
}

/* Right-side image fills full viewport height */
.crm-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;

  background-image: url("/img/hero/crm-hero.jpg");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;

  pointer-events: none;
}

/* Soft fade so text stays readable */
.crm-hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 45%,
    rgba(255, 255, 255, 0.85) 55%,
    rgba(255, 255, 255, 0) 75%
  );

  pointer-events: none;
}

.crm-hero__inner {
  position: relative;
  z-index: 1;

  max-width: 1200px;
  width: 100%;
  margin: 0 auto;

  padding: 160px 80px 120px;
}

.crm-hero__content {
  max-width: 620px;
}

.crm-hero h1 {
  margin: 0 0 22px;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0b0f14;
}

.crm-hero__lead {
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 1.6;
  color: #344155;
}

.crm-hero__body {
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .crm-hero::before {
    width: 100%;
    opacity: 0.35;
  }

  .crm-hero::after {
    background: rgba(255, 255, 255, 0.92);
  }

  .crm-hero__inner {
    padding: 140px 48px 110px;
  }

  .crm-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 640px) {
  .crm-hero__inner {
    padding: 120px 24px 96px;
  }

  .crm-hero h1 {
    font-size: 34px;
  }
}

/* ================= CRM HERO ================= */

.crm-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: center;

  background: #ffffff;
  overflow: hidden;
}

/* Right-side image fills full viewport height */
.crm-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;

  background-image: url("/img/avenger/crm-hero.jpg");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;

  pointer-events: none;
}

/* White fade for text readability */
.crm-hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 45%,
    rgba(255, 255, 255, 0.85) 55%,
    rgba(255, 255, 255, 0) 75%
  );

  pointer-events: none;
}

.crm-hero__inner {
  position: relative;
  z-index: 1;

  max-width: 1200px;
  width: 100%;
  margin: 0 auto;

  padding: 160px 80px 120px;
}

.crm-hero__content {
  max-width: 620px;
}

.crm-hero h1 {
  margin: 0 0 22px;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0b0f14;
}

.crm-hero__lead {
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 1.6;
  color: #344155;
}

.crm-hero__body {
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .crm-hero::before {
    width: 100%;
    opacity: 0.35;
  }

  .crm-hero::after {
    background: rgba(255, 255, 255, 0.92);
  }

  .crm-hero__inner {
    padding: 140px 48px 110px;
  }

  .crm-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 640px) {
  .crm-hero__inner {
    padding: 120px 24px 96px;
  }

  .crm-hero h1 {
    font-size: 34px;
  }
}

/* ================= CRM FOUNDATION SECTION ================= */

.crm-foundation {
  background: #f6f7f7;
  padding: 140px 0;
}

.crm-foundation__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT TEXT */
.crm-foundation__content h2 {
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 20px;
  color: #0b0f14;
  letter-spacing: -0.02em;
}

.crm-foundation__subtitle {
  font-size: 20px;
  margin: 0 0 28px;
  color: #374151;
  font-weight: 500;
}

.crm-foundation__content p {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 18px;
}

.crm-foundation__label {
  font-weight: 600;
  margin-top: 28px;
}

/* LIST */
.crm-foundation__list {
  margin: 14px 0 24px 20px;
  padding: 0;
}

.crm-foundation__list li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #374151;
}

/* FOOTNOTE */
.crm-foundation__footnote {
  margin-top: 24px;
  font-size: 15px;
  color: #4b5563;
}

/* RIGHT CARD */
.crm-foundation__visual {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.06);
}

.crm-foundation__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .crm-foundation__inner {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 0 48px;
  }

  .crm-foundation {
    padding: 100px 0;
  }
}

@media (max-width: 640px) {
  .crm-foundation__inner {
    padding: 0 24px;
  }

  .crm-foundation__content h2 {
    font-size: 36px;
  }
}



/* ================= CRM ANALYTICS SECTION ================= */

.crm-analytics {
  background: #f3f6f8;
  padding: 140px 0;
}

.crm-analytics__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;

  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT CONTENT */

.crm-analytics__content h2 {
  font-size: 46px;
  line-height: 1.1;
  margin: 0 0 22px;
  color: #0b0f14;
  letter-spacing: -0.02em;
}

.crm-analytics__lead {
  font-size: 19px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 26px;
}

.crm-analytics__content p {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 18px;
}

/* LIST */

.crm-analytics__list {
  margin: 26px 0 0 20px;
  padding: 0;
}

.crm-analytics__list li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #374151;
}

/* RIGHT VISUAL CARD */

.crm-analytics__visual {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px;

  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.14),
    0 10px 22px rgba(0, 0, 0, 0.08);
}

.crm-analytics__visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .crm-analytics__inner {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 0 48px;
  }

  .crm-analytics {
    padding: 110px 0;
  }
}

@media (max-width: 640px) {
  .crm-analytics__inner {
    padding: 0 24px;
  }

  .crm-analytics__content h2 {
    font-size: 34px;
  }
}

/* ================= CRM LIFECYCLE & PROCESS AUTOMATION ================= */

.crm-lifecycle {
  background: #ffffff;
  padding: 140px 0;
}

.crm-lifecycle__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;

  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
  align-items: center;
}

/* LEFT CONTENT */

.crm-lifecycle__content h2 {
  font-size: 46px;
  line-height: 1.1;
  margin: 0 0 20px;
  color: #0b0f14;
  letter-spacing: -0.02em;
}

.crm-lifecycle__lead {
  font-size: 20px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 28px;
}

.crm-lifecycle__content p {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 18px;
}

.crm-lifecycle__label {
  margin-top: 26px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #0b0f14;
}

/* LIST */

.crm-lifecycle__list {
  margin: 0 0 22px 22px;
  padding: 0;
}

.crm-lifecycle__list li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #374151;
}

/* FOOTER LINE */

.crm-lifecycle__footer {
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
}

/* RIGHT VISUAL */

.crm-lifecycle__visual {
  background: #f6f9fb;
  border-radius: 18px;
  padding: 36px;

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.12),
    0 10px 22px rgba(0, 0, 0, 0.08);
}

.crm-lifecycle__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .crm-lifecycle__inner {
    grid-template-columns: 1fr;
    gap: 64px;
    padding: 0 48px;
  }

  .crm-lifecycle {
    padding: 110px 0;
  }
}

@media (max-width: 640px) {
  .crm-lifecycle__inner {
    padding: 0 24px;
  }

  .crm-lifecycle__content h2 {
    font-size: 34px;
  }
}

/* ================= Reporting, Integration, and Governance ================= */

.rig-section {
  background: #ffffff;
  padding: 120px 0;
}

.rig-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 80px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rig-content h2 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 18px;
  color: #0b0f14;
}

.rig-content h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 28px;
  color: #374151;
}

.rig-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 22px;
  max-width: 520px;
}

.rig-content ul {
  margin: 0 0 28px 0;
  padding-left: 18px;
}

.rig-content li {
  font-size: 16px;
  line-height: 1.6;
  color: #111827;
  margin-bottom: 10px;
}

.rig-footnote {
  margin-top: 12px;
  color: #6b7280;
}

.rig-visual {
  background: #6f8794;
  border-radius: 18px;
  padding: 28px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.rig-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: #ffffff;
}

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

@media (max-width: 1024px) {
  .rig-container {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 0 48px;
  }

  .rig-content h2 {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .rig-section {
    padding: 90px 0;
  }

  .rig-container {
    padding: 0 24px;
  }

  .rig-content h2 {
    font-size: 30px;
  }
}



/* ================= iSIGN HERO (100vh) ================= */

:root {
  /* Justera om din fixed header är annan höjd */
  --header-h: 72px;
}

.isign-hero {
  position: relative;
  height: 100vh;
  box-sizing: border-box;

  /* Fixed header ligger ovanpå, så vi “reserverar” plats i heron */
  padding-top: var(--header-h);

  display: flex;
  align-items: center;

  background-image: url("/img/avenger/isign-hero.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  overflow: hidden;
}

.isign-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  /* Ljus “wash” som i din referens */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.88) 45%,
    rgba(255, 255, 255, 0.70) 65%,
    rgba(255, 255, 255, 0.35) 82%,
    rgba(255, 255, 255, 0.10) 100%
  );

  pointer-events: none;
  z-index: 0;
}

.isign-hero__inner {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 80px;

  /* vänster layout som i bilden */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.isign-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(44px, 5vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0b0f14;
  font-weight: 600;
}

.isign-hero__sub {
  margin: 0;
  max-width: 720px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: rgba(11, 15, 20, 0.72);
}

.isign-hero__body {
  margin: 14px 0 0;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(11, 15, 20, 0.55);
}

.isign-hero__btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 52px;
  padding: 0 30px;

  background: #4fd1c5;
  color: #0b0f14;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  border-radius: 999px;
  text-decoration: none;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.isign-hero__btn:hover,
.isign-hero__btn:focus-visible {
  background: #38b2ac;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
  outline: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .isign-hero__inner {
    padding: 0 48px;
  }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }

  .isign-hero__inner {
    padding: 0 24px;
  }

  .isign-hero__btn {
    width: min(320px, 100%);
  }
}


/* ================= iSIGN SECTION 2 (CARD + STATS) ================= */

.isign-s2 {
  padding: 78px 0 84px;
  background: #ffffff;
}

.isign-s2__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 80px;
}

.isign-s2__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.10);
  background: #f7f9fb;
}

/* Left image */
.isign-s2__card-left {
  min-height: 360px;
  background-image: url("/img/avenger/3.jpg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  filter: saturate(0.95) contrast(0.98);
}

/* Right panel */
.isign-s2__card-right {
  background: #6f7f93;
  padding: 52px 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.isign-s2__card-right h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.isign-s2__card-right p {
  margin: 0;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
}

/* Button */
.isign-s2__btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 48px;
  padding: 0 28px;

  background: #4fd1c5;
  color: #0b0f14;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  border-radius: 999px;
  text-decoration: none;

  width: fit-content;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.isign-s2__btn:hover,
.isign-s2__btn:focus-visible {
  background: #38b2ac;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  outline: none;
}

/* Stats row */
.isign-s2__stats {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.isign-s2__stat {
  border-radius: 14px;
  padding: 26px 18px 22px;
  text-align: center;
  background: linear-gradient(180deg, #f6f8fa 0%, #edf1f4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.isign-s2__num {
  font-size: 64px;
  line-height: 1;
  font-weight: 300;
  color: rgba(79, 209, 197, 0.9);
  margin-bottom: 10px;
}

.isign-s2__label {
  font-size: 16px;
  color: rgba(11, 15, 20, 0.70);
}

/* Responsive */
@media (max-width: 1024px) {
  .isign-s2__inner {
    padding: 0 48px;
  }

  .isign-s2__card-right {
    padding: 44px 40px 40px;
  }

  .isign-s2__card-right h2 {
    font-size: 36px;
  }
}

@media (max-width: 820px) {
  .isign-s2__card {
    grid-template-columns: 1fr;
  }

  .isign-s2__card-left {
    min-height: 280px;
    background-position: center;
  }

  .isign-s2__stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .isign-s2__inner {
    padding: 0 24px;
  }

  .isign-s2__card-right h2 {
    font-size: 32px;
  }
}

/* ================= iSIGN NEWSLETTER ================= */

.isign-newsletter {
  padding: 36px 0 56px;
  background: #ffffff;
}

.isign-newsletter__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 80px 64px;

  border-radius: 18px;

  background: radial-gradient(1200px 420px at 50% 35%, rgba(255, 255, 255, 0.95) 0%, rgba(245, 242, 233, 0.85) 55%, rgba(236, 231, 214, 0.72) 100%);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.10);
}

.isign-newsletter__title {
  margin: 0 0 30px;
  text-align: center;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(11, 15, 20, 0.78);
}

.isign-newsletter__form {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.isign-newsletter__input {
  height: 54px;
  border-radius: 999px;
  border: 0;
  padding: 0 22px;

  background: linear-gradient(90deg, rgba(221, 229, 238, 0.85) 0%, rgba(236, 241, 246, 0.95) 55%, rgba(221, 229, 238, 0.85) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: none;

  font-size: 14px;
  color: rgba(11, 15, 20, 0.72);
}

.isign-newsletter__input::placeholder {
  color: rgba(11, 15, 20, 0.55);
}

.isign-newsletter__input:focus {
  box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.isign-newsletter__btn {
  height: 56px;
  border-radius: 999px;
  border: 0;

  background: linear-gradient(90deg, #38b2ac 0%, #4fd1c5 45%, #38b2ac 100%);
  color: rgba(255, 255, 255, 0.92);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  cursor: pointer;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.isign-newsletter__btn:hover,
.isign-newsletter__btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.20);
  filter: saturate(1.05);
  outline: none;
}

/* Accessibility helper (only if you don't already have it globally) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .isign-newsletter__inner {
    padding: 52px 48px 58px;
  }
}

@media (max-width: 640px) {
  .isign-newsletter__inner {
    padding: 44px 24px 50px;
  }

  .isign-newsletter__title {
    font-size: 36px;
  }

  .isign-newsletter__form {
    max-width: 100%;
  }
}


/* ================= SECTION: Digital Sales Room ================= */

.sales-room {
  padding: 140px 0;
  background: #ffffff;
}

.sales-room__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: stretch; /* critical: match image height */
}

/* TEXT COLUMN */
.sales-room__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 8px;
}

.sales-room__content h2 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 28px;
  color: #1b1e23;
  max-width: 520px;
}

.sales-room__content .lead {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 48px;
  color: #4a4f55;
  max-width: 520px;
}

/* FEATURE BLOCKS */
.sales-room__content h4 {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #3aa39f;
  font-weight: 600;
}

.sales-room__content p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 36px;
  color: #5b6168;
  max-width: 500px;
}

/* IMAGE COLUMN */
.sales-room__image {
  display: flex;
  align-items: flex-start;
}

.sales-room__image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #f4f6f8;
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
  display: block;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .sales-room {
    padding: 100px 0;
  }

  .sales-room__inner {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .sales-room__content h2,
  .sales-room__content .lead,
  .sales-room__content p {
    max-width: 100%;
  }
}

/* ================= SECTION: iSign eID Hub ================= */

.eid-hub {
  padding: 0 0;
  background: #ffffff;
}

.eid-hub__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.eid-hub__inner h2 {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #1b1e23;
  font-weight: 500;
}

.eid-hub__lead {
  max-width: 720px;
  margin: 0 auto 72px;
  font-size: 16px;
  line-height: 1.7;
  color: #5b6168;
}

.eid-hub__visual {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px;
  background: linear-gradient(180deg, #f3f6f8 0%, #edf1f4 100%);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.eid-hub__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .eid-hub {
    padding: 100px 0;
  }

  .eid-hub__inner h2 {
    font-size: 32px;
  }

  .eid-hub__lead {
    margin-bottom: 48px;
  }

  .eid-hub__visual {
    padding: 32px;
  }
}

/* ================= SECTION: Demo Form ================= */

.demo-form {
  padding: 120px 0;
  background: #ffffff;
}

.demo-form__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.demo-form__content h2 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #1b1e23;
}

.demo-form__content p {
  font-size: 16px;
  line-height: 1.6;
  color: #5b6168;
  max-width: 480px;
}

.demo-form__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.demo-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  padding: 18px 20px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(145deg, #f3f5f6, #ffffff);
  font-size: 15px;
  color: #1b1e23;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}

.demo-form textarea {
  min-height: 120px;
  resize: none;
}

.demo-form button {
  align-self: flex-end;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #2fb7aa, #4ecdc4);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(47,183,170,0.35);
}

.demo-form button:hover {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .demo-form__inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .demo-form button {
    align-self: stretch;
  }
}

/* ================= HERO: IT & API SECURITY ================= */
/* ================= HERO: IT & API SECURITY ================= */

/* Full viewport background image */
.hero-it-api {
  height: 100vh;
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

/* NEW: background image element behaves like the old CSS background-image */
.hero-it-api__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Optional soft overlay for text readability */
.hero-it-api__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(246, 249, 251, 0.95) 0%,
    rgba(246, 249, 251, 0.85) 40%,
    rgba(246, 249, 251, 0.4) 65%,
    rgba(246, 249, 251, 0) 100%
  );
}

/* Content */
.hero-it-api__content {
  position: relative;
  max-width: 640px;
  padding-left: 8vw;
}

.hero-it-api__content h1 {
  font-size: 56px;
  line-height: 1.05;
  margin-bottom: 24px;
  color: #1b1e23;
}

.hero-it-api__content h2 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 28px;
  color: #3c4147;
}

.hero-it-api__content p {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 40px;
  color: #5a6067;
}

/* Button */
.hero-it-api__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  background: #5aa3a2;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.hero-it-api__btn:hover {
  background: #4a9392;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-it-api {
    background-position: center;
  }

  .hero-it-api__bg{
    object-position: center;
  }

  .hero-it-api__content {
    padding: 0 48px;
    max-width: 100%;
  }

  .hero-it-api__content h1 {
    font-size: 44px;
  }
}

@media (max-width: 640px) {
  .hero-it-api {
    height: auto;
    padding: 120px 0;
  }

  .hero-it-api__content h1 {
    font-size: 36px;
  }
}



/* ================= AVENGER: IT SERVICES STRICT ================= */

:root{
  --page-bg: #f4f3ee;
  --title: #1f2328;
  --text: #3c4650;
  --muted: #54606b;

  --card-bg: #ffffff;
  --card-border: rgba(30, 41, 59, 0.12);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.10), 0 6px 16px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 16px 34px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.06);
}

*{ box-sizing: border-box; margin: 0; padding: 0; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--page-bg);
  color: var(--title);
}

.it-sd{
  padding: clamp(84px, 10vh, 120px) 0;
}

.it-sd__container{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 44px;
}

.it-sd__grid{
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.it-sd__title{
  font-size: clamp(40px, 4.6vw, 70px);
  line-height: 1.08;
  font-weight: 780;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--title);
}

.it-sd__lead{
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.35;
  font-weight: 520;
  color: var(--title);
  margin-bottom: 26px;
  max-width: 640px;
}

.it-sd__text{
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  max-width: 640px;
}

.it-sd__media{
  position: relative;
  width: 100%;
  max-width: 680px;
  margin-left: auto;
}

.it-sd__media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.it-sd__card{
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: -64px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 22px 22px;
}

.it-sd__cardTitle{
  font-size: 20px;
  font-weight: 500;
  color: var(--title);
  margin-bottom: 14px;
}

.it-sd__list{
  list-style: none;
  display: grid;
  gap: 14px;
}

.it-sd__item{
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.it-sd__icon{
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #93a0aa;
  margin-top: 2px;
}

.it-sd__label{
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1024px){
  .it-sd__grid{
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .it-sd__media{
    margin: 0;
    max-width: 760px;
  }

  .it-sd__card{
    position: static;
    margin-top: 18px;
  }
}

@media (max-width: 600px){
  .it-sd__container{
    padding: 0 20px;
  }

  .it-sd__lead br{
    display: none;
  }

  .it-sd__label{
    font-size: 16.5px;
  }
}


/* ================= api-development.css ================= */

:root {
  --bg-main: #f5f7f9;
  --bg-box: #e3e8ee;
  --text-primary: #2f343a;
  --text-secondary: #5a6470;
  --border-radius: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
}

.api-section {
  padding: 120px 0;
}

.api-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.api-content h1 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 20px;
}

.api-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.api-content p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 560px;
}

.api-box {
  background-color: var(--bg-box);
  padding: 28px 32px;
  border-radius: var(--border-radius);
  max-width: 520px;
}

.api-box strong {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
}

.api-box ul {
  list-style: disc;
  padding-left: 20px;
}

.api-box li {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.api-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */

@media (max-width: 1024px) {
  .api-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .api-content h1 {
    font-size: 40px;
  }
}

@media (max-width: 600px) {
  .api-section {
    padding: 80px 0;
  }

  .api-content h1 {
    font-size: 34px;
  }

  .api-container {
    padding: 0 20px;
  }
}


/* ================= security-architecture.css ================= */

:root{
  --bg: #f2f5f7;
  --text: #2f343a;
  --muted: #4f5b66;

  --box-bg: #aabac6;
  --box-border: rgba(45, 62, 78, 0.14);
  --shadow: 0 18px 34px rgba(18, 32, 43, 0.10), 0 4px 10px rgba(18, 32, 43, 0.06);
}

*{ box-sizing: border-box; margin: 0; padding: 0; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.security-section{
  padding: 120px 0 130px;
}

.security-container{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 44px;
}

.security-grid{
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 92px;
  align-items: center;
}

.security-title{
  font-size: 58px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.security-subtitle{
  font-size: 24px;
  line-height: 1.35;
  font-weight: 650;
  color: var(--text);
  margin-bottom: 18px;
  max-width: 640px;
}

.security-text{
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 34px;
}

.security-box{
  background: var(--box-bg);
  border: 1px solid var(--box-border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 28px 30px;
  max-width: 720px;
}

.security-box-title{
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
}

.security-list{
  list-style: disc;
  padding-left: 22px;
}

.security-list li{
  font-size: 18px;
  line-height: 1.55;
  color: #111827;
  margin: 10px 0;
}

.security-visual{
  display: flex;
  justify-content: center;
  align-items: center;
}

.security-visual img{
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 1024px){
  .security-section{ padding: 96px 0 108px; }

  .security-grid{
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .security-title{ font-size: 46px; }
  .security-subtitle{ font-size: 20px; }
  .security-box{ max-width: 100%; }
  .security-visual img{ max-width: 720px; }
}

@media (max-width: 600px){
  .security-container{ padding: 0 20px; }
  .security-title{ font-size: 36px; }
  .security-subtitle{ font-size: 18px; }
  .security-list li{ font-size: 16.5px; }
}


/* ================= hero-ai-support.css ================= */

:root{
  --bg: #f4f7f9;
  --text: #0b0f14;
  --muted: #2f3a44;

  --cta: #6ea6a0;
  --cta-hover: #5d9992;
}

*{ box-sizing: border-box; margin: 0; padding: 0; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.hero-ai{
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.hero-ai__inner{
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(64px, 9vh, 120px) 44px;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(44px, 6vw, 110px);
  align-items: center;
}

.hero-ai__copy{
  max-width: 720px;
}

.hero-ai__title{
  font-size: clamp(46px, 5.2vw, 82px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-ai__subtitle{
  font-size: clamp(18px, 2.0vw, 26px);
  line-height: 1.35;
  font-weight: 750;
  margin-bottom: 18px;
  color: #111827;
}

.hero-ai__text{
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 720px;
}

/* Button: hard override so global styles cannot turn it into a white card */
.hero-ai__btn{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  height: 52px;
  padding: 0 28px;

  background-color: var(--cta) !important;
  color: #ffffff !important;

  text-decoration: none !important;
  font-weight: 700;
  font-size: 16px;

  border: 0 !important;
  border-radius: 8px;
  cursor: pointer;

  box-shadow: 0 14px 26px rgba(20, 35, 45, 0.10), 0 4px 10px rgba(20, 35, 45, 0.06);
  transition: background-color 160ms ease, transform 160ms ease;
}

.hero-ai__btn:hover{
  background-color: var(--cta-hover) !important;
  transform: translateY(-1px);
}

.hero-ai__btn:focus-visible{
  outline: 3px solid rgba(110, 166, 160, 0.35);
  outline-offset: 3px;
}

/* Image: always scale to fit the available space */
.hero-ai__media{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-ai__media img{
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 1024px){
  .hero-ai__inner{
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 96px 28px;
  }

  .hero-ai__media img{
    max-width: 820px;
  }
}

@media (max-width: 640px){
  .hero-ai__inner{
    padding: 84px 20px;
  }

  .hero-ai__subtitle br{
    display: none;
  }

  .hero-ai__btn{
    width: 100%;
    max-width: 320px;
  }
}


/* ================= HERO: Battery Solutions (100vh, background stretched to fill) ================= */

.battery-hero{
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;

  background-image: url("/img/avenger/Battery -Solutions.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;     /* stretch to fit screen */
  background-position: center;

  /* If your header is fixed, this prevents text hiding under it */
  padding: clamp(96px, 10vh, 140px) 0 clamp(48px, 7vh, 96px);
}

/* Optional: subtle readability wash like the reference */
.battery-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(
    90deg,
    rgba(245, 248, 250, 0.85) 0%,
    rgba(245, 248, 250, 0.65) 42%,
    rgba(245, 248, 250, 0.20) 70%,
    rgba(245, 248, 250, 0.00) 100%
  );
}

.battery-hero__container{
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 32px;
}

.battery-hero__content{
  max-width: 760px;
}

.battery-hero__title{
  margin: 0 0 16px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-size: clamp(44px, 4.8vw, 86px);
  line-height: 1.02;
}

.battery-hero__subtitle{
  margin: 0 0 24px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.85);
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.25;
}

.battery-hero__text{
  margin: 0 0 28px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(15, 23, 42, 0.75);
  font-size: 16px;
  line-height: 1.75;
  max-width: 640px;
}

.battery-hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  background: #5dd9cf;
  color: #0b1220;
  text-decoration: none;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(16, 24, 40, 0.14);
}

.battery-hero__btn:hover{
  filter: brightness(0.98);
}

.battery-hero__btn:active{
  transform: translateY(1px);
}

/* Responsive */
@media (max-width: 980px){
  .battery-hero__container{
    padding: 0 20px;
  }

  /* On small screens, stretching can look distorted. Keep stretch as requested, but soften overlay. */
  .battery-hero::before{
    background: linear-gradient(
      180deg,
      rgba(245, 248, 250, 0.88) 0%,
      rgba(245, 248, 250, 0.60) 55%,
      rgba(245, 248, 250, 0.18) 85%,
      rgba(245, 248, 250, 0.00) 100%
    );
  }
}

/* ================= SECTION: AI-Driven Grid Balancing Systems ================= */

.grid-systems{
  background: #ffffff;
  padding: 96px 0;
}

.grid-systems__container{
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 32px;
}

.grid-systems__grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.grid-systems__content{
  max-width: 720px;
}

.grid-systems__title{
  margin: 0 0 18px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-size: clamp(36px, 3.6vw, 56px);
  line-height: 1.06;
}

.grid-systems__subtitle{
  margin: 0 0 18px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 650;
  color: rgba(15, 23, 42, 0.88);
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.25;
}

.grid-systems__text{
  margin: 0 0 22px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(15, 23, 42, 0.72);
  font-size: 16px;
  line-height: 1.75;
  max-width: 640px;
}

.grid-systems__card{
  margin: 0 0 22px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  background: #ffffff;
  padding: 18px 20px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.10);
  max-width: 680px;
}

.grid-systems__card-title{
  margin: 0 0 10px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  color: #0f172a;
  font-size: 16px;
}

.grid-systems__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.grid-systems__item{
  display: grid;
  grid-template-columns: 14px 1fr;
  column-gap: 10px;
  align-items: start;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(15, 23, 42, 0.80);
  font-size: 16px;
  line-height: 1.55;
}

.grid-systems__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #58d6c3;
  margin-top: 8px;
}

.grid-systems__closing{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(15, 23, 42, 0.78);
  font-size: 16px;
  line-height: 1.7;
  max-width: 640px;
}

/* Visual */
.grid-systems__visual{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-systems__image{
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 980px){
  .grid-systems{
    padding: 72px 0;
  }

  .grid-systems__container{
    padding: 0 20px;
  }

  .grid-systems__grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-systems__image{
    max-width: 620px;
  }
}


/* ================= AI SUPPORT HERO (SAFE, NAMESPACED) ================= */

.ai-support-hero{
  background: #f6f2ed;
  overflow: hidden;

  /* respects your fixed header without touching global styles */
  padding-top: calc(var(--header-h, 72px) + clamp(44px, 6vh, 78px));
  padding-bottom: clamp(56px, 7vh, 96px);
}

.ai-support-hero__inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 88px);

  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(520px, 1.05fr);
  gap: clamp(28px, 3.2vw, 64px);
  align-items: center;
}

.ai-support-hero__copy{
  max-width: 820px;
}

.ai-support-hero__title{
  margin: 0 0 18px 0;
  font-size: clamp(44px, 3.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #1f2328;
}

.ai-support-hero__subtitle{
  margin: 0 0 24px 0;
  font-size: clamp(20px, 1.6vw, 30px);
  line-height: 1.25;
  font-weight: 800;
  color: #1f2328;
}

.ai-support-hero__intro{
  margin: 0 0 26px 0;
  font-size: 16px;
  line-height: 1.75;
  color: #3c4650;
  max-width: 720px;
}

.ai-support-hero__label{
  margin: 0 0 12px 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: #1f2328;
}

.ai-support-hero__list{
  margin: 0 0 22px 0;
  padding-left: 22px;
  max-width: 760px;
  color: #1f2328;
}

.ai-support-hero__list li{
  margin: 0 0 12px 0;
  font-size: 16px;
  line-height: 1.65;
}

.ai-support-hero__note{
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #3c4650;
  max-width: 760px;
}

/* Right-side visual card */
.ai-support-hero__media{
  justify-self: end;
  width: 100%;
  max-width: 980px;
}

.ai-support-hero__card{
  width: 100%;
  border-radius: 18px;

  background: linear-gradient(180deg, #d3dee4 0%, #c9d5db 100%);
  border: 1px solid rgba(15, 23, 42, 0.10);

  padding: clamp(22px, 2.6vw, 44px);

  box-shadow:
    0 26px 54px rgba(15, 23, 42, 0.18),
    0 10px 18px rgba(15, 23, 42, 0.10);
}

.ai-support-hero__frame{
  border-radius: 16px;
  padding: clamp(22px, 2.6vw, 54px);

  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.ai-support-hero__img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 1024px){
  .ai-support-hero__inner{
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ai-support-hero__media{
    justify-self: center;
    max-width: 860px;
  }
}

@media (max-width: 640px){
  .ai-support-hero__title{
    font-size: 38px;
  }

  .ai-support-hero__subtitle{
    font-size: 20px;
  }
}

/* ================= SECTION: Contact Us ================= */
.contact-us{
  padding: 88px 0 96px;
  background: #ffffff;
}

.contact-us__container{
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 32px;
}

.contact-us__title{
  margin: 0 0 28px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1b1e23;
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 1.06;
}

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

/* Left card */
.contact-us__card{
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: #f7fafc;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  padding: 26px 26px;
}

.contact-us__company{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #111827;
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-us__addr{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(17, 24, 39, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

.contact-us__heading{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111827;
  font-size: 26px;
  margin-bottom: 10px;
}

.contact-us__meta{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(17, 24, 39, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

.contact-us__divider{
  height: 1px;
  background: rgba(17, 24, 39, 0.10);
  margin: 18px 0;
}

.contact-us__rows{
  display: grid;
  gap: 16px;
}

.contact-us__row{
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
}

.contact-us__icon{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(88, 214, 195, 0.18);
  border: 1px solid rgba(88, 214, 195, 0.35);
  display: grid;
  place-items: center;
  color: #1f7f79;
}

.contact-us__rowtext{
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.contact-us__label{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.75);
  font-size: 18px;
}

.contact-us__link{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111827;
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid rgba(88, 214, 195, 0);
  transition: border-color .15s ease;
}

.contact-us__link:hover{
  border-bottom-color: rgba(88, 214, 195, 0.95);
}

/* Right image card */
.contact-us__image{
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.10);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  background: #ffffff;
  display: flex;
}

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

/* Responsive */
@media (max-width: 980px){
  .contact-us{
    padding: 72px 0 84px;
  }

  .contact-us__container{
    padding: 0 20px;
  }

  .contact-us__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-us__image{
    min-height: 320px;
  }
}

@media (max-width: 520px){
  .contact-us__company{ font-size: 24px; }
  .contact-us__heading{ font-size: 22px; }
  .contact-us__addr,
  .contact-us__meta,
  .contact-us__label,
  .contact-us__link{ font-size: 16px; }
}


/* ================= SOLUTIONS DROPDOWN (ADD AT END OF styles.css) ================= */

/* Make dropdown wrapper behave like a normal nav item */
header .main-nav .nav-item--dropdown{
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Style the Solutions button to match existing nav links */
header .main-nav .nav-link--dropdown{
  margin-left: var(--space-lg);
  text-decoration: none;
  font-size: 14px;
  color: var(--color-text-secondary);

  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

header .main-nav .nav-link--dropdown:hover,
header .main-nav .nav-link--dropdown:focus{
  color: var(--color-accent);
  outline: none;
}

/* Dropdown panel (desktop) */
header .main-nav .dropdown{
  position: absolute;
  top: calc(100% + 14px);
  left: 0;

  width: 520px;
  padding: 14px;

  background-color: rgba(11, 15, 20, 0.98);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;

  box-shadow: 0 18px 38px rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);

  display: none;
  z-index: 1200;
}

/* Two columns, 4 links each */
header .main-nav .dropdown__cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

header .main-nav .dropdown__col{
  display: grid;
  gap: 8px;
}

/* Override your global nav link margins inside dropdown */
header .main-nav .dropdown a{
  margin: 0;
  padding: 10px 10px;
  border-radius: 10px;

  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  display: block;
}

header .main-nav .dropdown a:hover,
header .main-nav .dropdown a:focus{
  color: var(--color-accent);
  background: rgba(79, 209, 197, 0.10);
  outline: none;
}

/* Open state (controlled by JS) */
header .main-nav .nav-item--dropdown.is-open .dropdown{
  display: block;
}

/* MOBILE: keep your hamburger menu behavior unchanged.
   Dropdown becomes inline content inside the opened mobile menu. */
@media (max-width: 1024px){
  header .main-nav .nav-item--dropdown{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  header .main-nav .nav-link--dropdown{
    margin-left: 0;
    padding: 16px 0;  /* matches your .main-nav a spacing on mobile */
    width: 100%;
    text-align: left;
  }

  header .main-nav .dropdown{
    position: static;
    width: 100%;
  }
}

/* ================= START-news-list-hard-disable-underline ================= */
.news-list a.news-item,
.news-list a.news-item:visited,
.news-list a.news-item:hover,
.news-list a.news-item:active,
.news-list a.news-item:focus {
  text-decoration: none !important;
  color: inherit !important;
  -webkit-text-decoration: none !important;
}

.news-list a.news-item * {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  text-decoration-color: transparent !important;
  text-decoration-thickness: 0 !important;
}

.news-list a.news-item h3,
.news-list a.news-item .news-item__type {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
}
/* ================= END-news-list-hard-disable-underline ================= */
