@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --cb-dark: #172033;
  --cb-brown: #263B52;
  --cb-brown-2: #36566F;
  --cb-clay: #6FA7C6;
  --cb-orange: #2F6F9F;
  --cb-yellow: #8FBFD3;
  --cb-cream: #EEF4F7;
  --cb-soft: #F6F9FB;
  --cb-green: #517D89;
  --cb-muted: #64748B;
  --cb-white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--cb-dark);
  background: var(--cb-soft);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.cb-container { width: min(100% - 32px, 1180px); margin-inline: auto; }
.section-pad { padding: 96px 0; }
@media (max-width: 767px) { .section-pad { padding: 64px 0; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 249, 251, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(38, 59, 82, .08);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 40px rgba(15, 23, 42, .08);
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(15,23,42,.72);
  transition: color .22s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--cb-brown); }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cb-yellow), var(--cb-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav-link:hover {
  text-shadow: 0 0 18px rgba(111,167,198,.22);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 12px auto 12px;
  z-index: 90;
  border-radius: 28px;
  padding: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 30px 80px rgba(15,23,42,.18);
  border: 1px solid rgba(38,59,82,.1);
}
.mobile-menu.is-open { display: block; animation: menuDrop .24s ease both; }
@keyframes menuDrop { from { transform: translateY(-12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.btn-primary, .btn-secondary, .btn-outline {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  transform: translateZ(0);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease,
    color .22s ease,
    border-color .22s ease;
  will-change: transform, box-shadow;
}
.btn-primary::before,
.btn-secondary::before,
.btn-outline::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.18) 32%, rgba(255,255,255,.78) 48%, rgba(255,255,255,.18) 64%, transparent 100%);
  transform: translateX(-120%) skewX(-18deg);
  transition: opacity .22s ease;
}
.btn-primary::after,
.btn-secondary::after,
.btn-outline::after {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: -2;
  border-radius: inherit;
  opacity: 0;
  box-shadow: 0 0 0 0 rgba(111,167,198,.42), 0 0 36px rgba(47,111,159,.22);
  transition: opacity .22s ease, box-shadow .22s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cb-brown), var(--cb-orange));
  box-shadow: 0 18px 42px rgba(47, 111, 159, .25);
  animation: ctaGlow 3.2s ease-in-out infinite;
}
.btn-secondary {
  color: var(--cb-dark);
  background: linear-gradient(135deg, var(--cb-yellow), #D9EDF6);
  box-shadow: 0 18px 42px rgba(143,191,211,.26);
  animation: ctaGlowSoft 4.2s ease-in-out infinite;
}
.btn-outline {
  color: var(--cb-brown);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(38,59,82,.18);
}
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-outline:focus-visible {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 24px 54px rgba(47,111,159,.32), 0 0 0 4px rgba(143,191,211,.24);
  outline: none;
}
.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-outline:hover::before,
.btn-primary:focus-visible::before,
.btn-secondary:focus-visible::before,
.btn-outline:focus-visible::before {
  opacity: 1;
  animation: buttonShine .85s ease forwards;
}
.btn-primary:hover::after,
.btn-secondary:hover::after,
.btn-outline:hover::after,
.btn-primary:focus-visible::after,
.btn-secondary:focus-visible::after,
.btn-outline:focus-visible::after {
  opacity: 1;
  box-shadow: 0 0 0 8px rgba(143,191,211,.12), 0 0 42px rgba(47,111,159,.32);
}
.btn-primary:active,
.btn-secondary:active,
.btn-outline:active {
  transform: translateY(-1px) scale(.985);
}
@keyframes buttonShine {
  from { transform: translateX(-120%) skewX(-18deg); }
  to { transform: translateX(120%) skewX(-18deg); }
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 18px 42px rgba(47,111,159,.25); }
  50% { box-shadow: 0 20px 54px rgba(47,111,159,.38), 0 0 0 5px rgba(143,191,211,.12); }
}
@keyframes ctaGlowSoft {
  0%, 100% { box-shadow: 0 18px 42px rgba(143,191,211,.24); }
  50% { box-shadow: 0 20px 52px rgba(143,191,211,.34), 0 0 0 5px rgba(143,191,211,.1); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--cb-brown);
  background: rgba(143,191,211,.24);
  border: 1px solid rgba(143,191,211,.45);
}
.card {
  border-radius: 32px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(38,59,82,.1);
  box-shadow: 0 24px 70px rgba(15,23,42,.07);
}
.card-hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 30px 86px rgba(15,23,42,.12); border-color: rgba(47,111,159,.32); }

.hero-bg {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(248,251,252,.88), rgba(238,244,247,.92)),
    url('../img/generated/soft-abstract-bg.png') center/cover no-repeat,
    linear-gradient(135deg, #F8FBFC 0%, #EEF4F7 52%, #DCE8EE 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -150px;
  top: 110px;
  border-radius: 50%;
  background: rgba(111,167,198,.14);
  filter: blur(2px);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: auto -12% -18% auto;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(143,191,211,.22), rgba(47,111,159,.06));
}
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(248,251,252,.92), rgba(229,238,243,.95)),
    url('../img/generated/soft-abstract-bg.png') center/cover no-repeat,
    linear-gradient(135deg, #F8FBFC 0%, #E5EEF3 100%);
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -110px;
  border-radius: 50%;
  background: rgba(143,191,211,.28);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0)),
    #DCE8EE;
  border: 1px solid rgba(38,59,82,.1);
  box-shadow: 0 26px 80px rgba(15,23,42,.14);
}
.image-frame::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(to top, rgba(23,32,51,.14), transparent);
  pointer-events: none;
}
.image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 22px 22px 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border: 1px solid rgba(38,59,82,.08);
  box-shadow: 0 18px 50px rgba(15,23,42,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(143,191,211,.95), rgba(47,111,159,.95));
}
.stat-card::after {
  content: '';
  position: absolute;
  right: -24px;
  top: -24px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,191,211,.28), rgba(143,191,211,0) 70%);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(15,23,42,.12);
  border-color: rgba(47,111,159,.2);
}
.stat-card b {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--cb-dark);
}
.stat-card span {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 12ch;
  line-height: 1.55;
  color: var(--cb-muted) !important;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.grain-bg {
  background-image: radial-gradient(rgba(38,59,82,.08) 1px, transparent 1px);
  background-size: 18px 18px;
}

.form-control {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(38,59,82,.16);
  border-radius: 18px;
  padding: 14px 16px;
  outline: none;
  background: rgba(255,255,255,.9);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus { border-color: var(--cb-orange); box-shadow: 0 0 0 4px rgba(47,111,159,.14); }
textarea.form-control { min-height: 140px; resize: vertical; }

.footer-link { color: rgba(255,255,255,.7); transition: color .2s ease, transform .2s ease; }
.footer-link:hover { color: #fff; transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.map-frame {
  min-height: 460px;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(38,59,82,.12);
  background: #DCE8EE;
  box-shadow: 0 26px 80px rgba(15,23,42,.12);
}
.map-frame iframe { display: block; width: 100%; min-height: 460px; }
@media (max-width: 767px) {
  .map-frame, .map-frame iframe { min-height: 360px; }
}


.site-logo-img {
  display: block;
  width: auto;
  height: 50px;
  max-width: 235px;
  object-fit: contain;
  object-position: left center;
}
.footer-logo-img {
  display: block;
  width: auto;
  height: 60px;
  max-width: 275px;
  object-fit: contain;
  object-position: left center;
  padding: 8px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}
@media (max-width: 767px) {
  .site-logo-img { height: 42px; max-width: 196px; }
  .footer-logo-img { height: 52px; max-width: 235px; }
  .stat-card {
    min-height: 112px;
    padding: 18px 18px 16px;
    border-radius: 24px;
  }
  .stat-card b { font-size: 1.15rem; }
}


/* Products page: fixed image height inside product cards */
body[data-page="products"] .product-card {
  align-items: stretch;
}

body[data-page="products"] .product-card__image {
  display: block;
  width: 100%;
  height: 320px !important;
  min-height: 320px !important;
  max-height: 320px !important;
  object-fit: cover;
  object-position: center;
  align-self: stretch;
}

body[data-page="products"] .product-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  body[data-page="products"] .product-card {
    grid-template-rows: none;
  }

  body[data-page="products"] .product-card__image {
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
    align-self: center;
  }
}

@media (max-width: 767px) {
  body[data-page="products"] .product-card__image {
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
  }
}


.process-slider {
  position: relative;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,249,251,.95));
  border: 1px solid rgba(38,59,82,.1);
  box-shadow: 0 28px 80px rgba(15,23,42,.1);
  overflow: hidden;
}
.process-slider__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 28px 0;
}
.process-slider__count {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cb-muted);
}
.process-slider__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.process-slider__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(38,59,82,.12);
  background: rgba(255,255,255,.95);
  color: var(--cb-brown);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.process-slider__arrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15,23,42,.12);
  border-color: rgba(47,111,159,.24);
  background: #fff;
}
.process-slider__body {
  position: relative;
  min-height: 560px;
}
.process-slide {
  display: none;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-height: 560px;
}
.process-slide.is-active { display: grid; }
.process-slide__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(220,232,238,.55), rgba(220,232,238,.9));
}
.process-slide__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.process-slide__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(23,32,51,.24), transparent);
}
.process-slide__step-badge {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--cb-brown);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(15,23,42,.12);
}
.process-slide__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 42px;
}
.process-slide__eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cb-muted);
}
.process-slide__title {
  margin-top: 18px;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  color: var(--cb-dark);
}
.process-slide__text {
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--cb-muted);
}
.process-slide__meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.process-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #EEF4F7;
  color: #263B52;
  font-size: 13px;
  font-weight: 800;
}
.process-slider__steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 10px;
  padding: 26px 28px 28px;
}
.process-slider__step {
  position: relative;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(38,59,82,.1);
  background: rgba(255,255,255,.82);
  color: var(--cb-dark);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.process-slider__step:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
  border-color: rgba(47,111,159,.18);
}
.process-slider__step.is-active {
  background: linear-gradient(135deg, rgba(143,191,211,.22), rgba(255,255,255,.96));
  border-color: rgba(47,111,159,.24);
  box-shadow: 0 18px 36px rgba(15,23,42,.08);
}
.process-slider__step-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cb-yellow), #dbeef5);
  color: var(--cb-brown);
  font-size: 13px;
  font-weight: 900;
}
.process-slider__step-label {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}
@media (max-width: 1023px) {
  .process-slide,
  .process-slide.is-active {
    grid-template-columns: 1fr;
  }
  .process-slider__body,
  .process-slide {
    min-height: auto;
  }
  .process-slide__media {
    min-height: 320px;
  }
  .process-slide__content {
    padding: 28px;
  }
  .process-slider__steps {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}
@media (max-width: 767px) {
  .process-slider {
    border-radius: 28px;
  }
  .process-slider__top {
    padding: 20px 20px 0;
  }
  .process-slide__media {
    min-height: 260px;
  }
  .process-slide__content {
    padding: 22px 20px 24px;
  }
  .process-slider__steps {
    grid-template-columns: repeat(2, minmax(0,1fr));
    padding: 18px 20px 20px;
  }
  .process-slider__step {
    min-height: 64px;
    padding: 12px 12px;
    gap: 10px;
  }
  .process-slider__step-label {
    font-size: 12px;
  }
}
