:root {
  --cs-red: #c8002f;
  --cs-red-dark: #980023;
  --cs-black: #0d1b3e;
  --cs-ink: #0d1b3e;
  --cs-muted: #686868;
  --cs-line: #e8e8e8;
  --cs-soft: #f7f7f7;
  --cs-white: #ffffff;
  --shadow: 0 18px 45px rgba(13, 27, 62, 0.12);
}

@font-face {
  font-family: "King Richard";
  src: url("../fonts/King Richard Rg.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "King Richard";
  src: url("../fonts/King Richard It.otf") format("opentype");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--cs-white);
  color: var(--cs-ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

#main-wrapper {
  position: relative;
  z-index: 2;
  background: var(--cs-white);
}

body.is-loading {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(1170px, calc(100% - 40px));
  margin: 0 auto;
}

.preloader-active {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow: hidden;
}

.preloader-active .preloader-area-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: var(--cs-white);
}

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

.spinner div {
  width: 20px;
  height: 20px;
  margin-right: 14px;
  border-radius: 50%;
  background: var(--cs-red);
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner div:last-child {
  margin-right: 0;
}

.spinner .bounce1 {
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

.open_tm_preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: transparent;
  transition: opacity 0.2s ease 0.5s, visibility 0.2s ease 0.5s;
}

.open_tm_preloader::before,
.open_tm_preloader::after {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--cs-white);
  content: "";
  transition: width 0.5s ease-in-out;
}

.open_tm_preloader::before {
  left: 0;
}

.open_tm_preloader::after {
  right: 0;
}

.open_tm_preloader.loaded {
  visibility: hidden;
  opacity: 0;
}

.open_tm_preloader.loaded::before,
.open_tm_preloader.loaded::after {
  width: 0;
}

.top-message {
  border-bottom: 1px solid var(--cs-line);
  background: var(--cs-white);
  color: var(--cs-muted);
  font-size: 14px;
  text-align: center;
}

.top-message .container {
  padding: 10px 0;
}

.top-message a {
  color: var(--cs-red);
  font-weight: 800;
}

.site-header__main {
  background: var(--cs-white);
}

.site-header__main-inner {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 34px;
  align-items: center;
  min-height: 106px;
}

.brand img {
  width: auto;
  height: 96px;
  object-fit: contain;
  object-position: left center;
}

.header-info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 34px;
}

.header-info__item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--cs-muted);
  font-size: 14px;
}

.header-info__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: rgba(200, 0, 47, 0.1);
  color: var(--cs-red);
  font-weight: 900;
}

.header-info strong {
  display: block;
  color: var(--cs-black);
  font-size: 15px;
}

.site-header__nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cs-black);
  color: var(--cs-white);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.site-header__nav.is-sticky {
  position: fixed;
  right: 0;
  left: 0;
  transform: translateY(0);
  box-shadow: 0 12px 30px rgba(7, 7, 7, 0.18);
  animation: stickySlideDown 0.28s ease both;
}

@keyframes stickySlideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.site-header__nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
}

.brand--nav {
  display: none;
  align-items: center;
  flex-shrink: 0;
  margin-right: 20px;
}

.brand--nav img {
  width: auto;
  height: 36px;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: brightness(0) invert(1);
}

.is-sticky .brand--nav {
  display: flex;
}

.nav-menu {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-menu a {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 0 13px;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  background: var(--cs-red);
}

.header-search {
  flex: 0 1 250px;
  display: flex;
  min-width: 210px;
  background: rgba(255, 255, 255, 0.08);
}

.header-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--cs-white);
  padding: 0 18px;
  font: inherit;
  outline: 0;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.82);
}

.header-search button {
  width: 56px;
  flex: 0 0 56px;
  border: 0;
  background: var(--cs-red);
  color: var(--cs-white);
  font-size: 22px;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 58px;
  border: 0;
  background: var(--cs-black);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--cs-white);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 27, 62, 0.94) 0%, rgba(13, 27, 62, 0.72) 44%, rgba(200, 0, 47, 0.42) 100%),
    url("../images/codestrela/home-hero-background.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 46%, rgba(255, 255, 255, 0.2), transparent 34%);
  content: "";
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
  min-height: 650px;
  padding: 74px 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cs-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h3 {
  margin: 0 0 8px;
  color: var(--cs-white);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.hero h1 {
  margin-bottom: 26px;
  color: var(--cs-white);
  font-family: "King Richard", Inter, Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1;
  letter-spacing: 0;
}

.hero__copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  font-weight: 600;
}

.hero .eyebrow {
  color: #ffffff;
}

.hero .btn {
  border-color: var(--cs-red);
  background: var(--cs-red);
}

.hero .btn:hover {
  border-color: var(--cs-white);
  background: var(--cs-white);
  color: var(--cs-black);
}

.hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.58);
  background: transparent;
  color: var(--cs-white);
}

.hero .btn--light {
  border-color: var(--cs-white);
  background: var(--cs-white);
  color: var(--cs-black);
}

.hero__image {
  position: relative;
}

.hero__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  background: transparent;
}

.animation_images {
  animation: animateUpDown 3.4s cubic-bezier(0.54, 0.085, 0.5, 0.92) infinite;
}

@keyframes animateUpDown {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--cs-black);
  background: var(--cs-black);
  color: var(--cs-white);
  font-weight: 900;
}

.btn:hover {
  border-color: var(--cs-red);
  background: var(--cs-red);
  color: var(--cs-white);
}

.btn--outline {
  border-color: var(--cs-red);
  background: transparent;
  color: var(--cs-red);
}

.btn--light {
  border-color: #d7dbe3;
  background: var(--cs-white);
  color: var(--cs-black);
}

.intro-services {
  margin-top: -62px;
  position: relative;
  z-index: 5;
}

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

.intro-card,
.service-card,
.product-card,
.project-card,
.post-card {
  background: var(--cs-white);
  border: 1px solid var(--cs-line);
  box-shadow: 0 10px 30px rgba(7, 7, 7, 0.05);
}

.intro-card {
  padding: 34px;
  min-height: 246px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.intro-card:hover {
  border-color: var(--cs-red);
  transform: translateY(-5px);
}

.intro-card img,
.service-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 22px;
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 0, 47, 0.08);
  border-radius: 12px;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--cs-red);
}

.service-list-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
}

.post-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  padding: 0;
  margin: 24px 24px 16px;
}

.post-card > div {
  padding: 0 24px 24px;
}

.intro-card h3,
.service-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.22;
}

.intro-card p,
.service-card p,
.project-card p,
.post-card p,
.section-head p,
.split p {
  color: var(--cs-muted);
}

.move-up,
.move-up-x {
  opacity: 0;
  will-change: transform, opacity;
}

.move-up {
  transform: translateY(54px);
}

.move-up-x {
  transform: translateX(54px);
}

.move-up.animate {
  animation: moveVertical 0.65s ease forwards;
}

.move-up-x.animate {
  animation: moveHorizontal 0.65s ease forwards;
}

@keyframes moveVertical {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes moveHorizontal {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.section {
  padding: 96px 0;
  scroll-margin-top: 92px;
}

[id] {
  scroll-margin-top: 92px;
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 44px;
}

.section-head--center {
  display: block;
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head--center p {
  max-width: 720px;
  margin: 18px auto 0;
}

.section-head h2,
.split h2,
.technology h2,
.cta h2 {
  margin-bottom: 0;
  color: var(--cs-black);
  font-family: "King Richard", Inter, Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(13, 27, 62, 0.94), rgba(13, 27, 62, 0.78)),
    url("../images/codestrela/software-development.png") center / cover no-repeat;
  color: var(--cs-white);
}

.page-hero::after {
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border: 30px solid rgba(255, 255, 255, 0.08);
  content: "";
  transform: rotate(18deg);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 830px;
  padding: 68px 0;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-family: "King Richard", Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 400;
  line-height: 1;
}

.page-hero p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  font-weight: 600;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
  margin: 58px 0 70px;
}

.about-experience {
  border-left: 5px solid var(--cs-red);
  padding-left: 30px;
}

.about-experience strong {
  display: block;
  color: var(--cs-red);
  font-size: clamp(72px, 8vw, 122px);
  line-height: 0.9;
}

.about-experience span {
  display: block;
  max-width: 360px;
  margin-top: 18px;
  color: var(--cs-black);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.24;
}

.about-story__text p {
  color: var(--cs-muted);
  font-size: 18px;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.about-feature-card,
.leadership-card {
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  box-shadow: 0 10px 30px rgba(7, 7, 7, 0.05);
}

.about-feature-card {
  padding: 34px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.about-feature-card:hover {
  border-color: var(--cs-red);
  transform: translateY(-5px);
}

.about-feature-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  place-items: center;
  background: var(--cs-black);
  color: var(--cs-white);
  font-size: 13px;
  font-weight: 900;
}

.about-feature-card h3,
.leadership-card h3 {
  margin-bottom: 10px;
  color: var(--cs-black);
  font-size: 23px;
  line-height: 1.2;
}

.about-feature-card p,
.leadership-card p {
  color: var(--cs-muted);
}

.about-feature-card a {
  color: var(--cs-red);
  font-weight: 900;
}

.about-resource {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  align-items: center;
  background: var(--cs-soft);
}

.about-resource__content {
  max-width: 650px;
  margin-left: max(20px, calc((100vw - 1170px) / 2));
  padding: 86px 60px 86px 0;
}

.about-resource__content h2 {
  font-family: "King Richard", Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.08;
}

.about-resource__content p {
  color: var(--cs-muted);
}

.about-resource__media {
  min-height: 480px;
}

.about-resource__media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.about-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.about-list__item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--cs-line);
}

.about-list__item:first-child {
  padding-top: 0;
}

.about-list__item span {
  width: 14px;
  height: 14px;
  margin-top: 10px;
  background: var(--cs-red);
}

.about-list__item h3 {
  margin-bottom: 6px;
  color: var(--cs-black);
  font-size: 20px;
}

.about-list__item p {
  margin-bottom: 0;
  color: var(--cs-muted);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.leadership-card {
  padding: 28px;
}

.leadership-card span {
  display: block;
  min-height: 38px;
  margin-bottom: 16px;
  color: var(--cs-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 66px;
  align-items: center;
}

.split__media img {
  width: 100%;
  box-shadow: var(--shadow);
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--cs-red);
  font-weight: 900;
}

.video-link span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--cs-black);
  color: var(--cs-white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-list-card {
  position: relative;
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  box-shadow: 0 10px 30px rgba(7, 7, 7, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-list-card:hover {
  border-color: var(--cs-red);
  transform: translateY(-5px);
}

.service-list-card img,
.service-list-card .card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  object-fit: contain;
}

.service-list-card span {
  position: absolute;
  top: 28px;
  right: 28px;
  color: rgba(13, 27, 62, 0.18);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.service-list-card h3 {
  margin-bottom: 10px;
  color: var(--cs-black);
  font-size: 22px;
  line-height: 1.22;
}

.service-list-card p {
  color: var(--cs-muted);
}

.service-list-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--cs-red);
  font-weight: 900;
}

.service-contact-band {
  padding: 90px 0;
  background: var(--cs-soft);
}

.service-contact-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 58px;
  align-items: center;
}

.service-contact-band img {
  width: 100%;
  background: var(--cs-white);
  box-shadow: var(--shadow);
}

.service-contact-panel {
  padding: 42px;
  background: var(--cs-white);
  box-shadow: var(--shadow);
}

.service-contact-panel h2 {
  font-family: "King Richard", Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.08;
}

.service-contact-panel p {
  color: var(--cs-muted);
}

.service-contact-panel a {
  display: block;
  margin-top: 10px;
  color: var(--cs-black);
  font-weight: 900;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.service-sidebar {
  position: sticky;
  top: 94px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  box-shadow: 0 10px 30px rgba(7, 7, 7, 0.05);
}

.service-sidebar h3 {
  margin: 0;
  padding: 22px 24px;
  background: var(--cs-black);
  color: var(--cs-white);
  font-size: 20px;
}

.service-sidebar a {
  display: block;
  margin: 0;
  padding: 15px 24px;
  border-bottom: 1px solid var(--cs-line);
  color: var(--cs-muted);
  font-weight: 800;
}

.service-sidebar a:last-child {
  border-bottom: 0;
}

.service-sidebar a:hover,
.service-sidebar a.is-active {
  color: var(--cs-white);
  background: var(--cs-red);
}

.service-detail > img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  background: var(--cs-white);
  box-shadow: var(--shadow);
}

.service-detail h2 {
  margin: 42px 0 14px;
  color: var(--cs-black);
  font-family: "King Richard", Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.08;
}

.service-detail p {
  color: var(--cs-muted);
}

.service-detail-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.service-detail-points div {
  padding: 24px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
}

.service-detail-points h3 {
  margin-bottom: 8px;
  color: var(--cs-black);
  font-size: 19px;
}

.service-detail-points p {
  margin-bottom: 0;
}

.service-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
}

.service-faq-grid h2 {
  color: var(--cs-black);
  font-family: "King Richard", Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.08;
}

.service-faq details {
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  margin-bottom: 14px;
  padding: 0 24px;
}

.service-faq summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--cs-black);
  font-size: 18px;
  font-weight: 900;
}

.service-faq p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--cs-muted);
}

.service-card {
  min-height: 254px;
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  border-color: var(--cs-red);
  transform: translateY(-5px);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  min-height: 230px;
  padding: 28px 22px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.module-card:hover {
  border-color: var(--cs-red);
  background: #fff8fa;
  transform: translateY(-5px);
}

.module-card span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  background: var(--cs-black);
  color: var(--cs-white);
  font-size: 18px;
  font-weight: 900;
}

.module-card h3 {
  margin-bottom: 10px;
  color: var(--cs-black);
  font-size: 20px;
}

.module-card p {
  color: var(--cs-muted);
  font-size: 14px;
}

.facts {
  background: var(--cs-black);
  color: var(--cs-white);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  padding: 42px 26px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  display: block;
  color: var(--cs-red);
  font-size: 46px;
  line-height: 1;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.product-card::before {
  position: absolute;
  top: -60px;
  right: -46px;
  width: 138px;
  height: 138px;
  border: 18px solid rgba(7, 7, 7, 0.06);
  content: "";
  transform: rotate(18deg);
}

.product-card:hover {
  border-color: var(--cs-red);
  background: #fafafa;
  transform: translateY(-5px);
}

.product-card div {
  position: relative;
  z-index: 1;
}

.product-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  background: var(--cs-black);
  color: var(--cs-white);
  font-size: 13px;
  font-weight: 900;
}

.product-card h3 {
  margin-bottom: 10px;
  color: var(--cs-black);
  font-size: 22px;
  line-height: 1.22;
}

.product-card p {
  color: var(--cs-muted);
}

.project-card {
  overflow: hidden;
}

.project-card img {
  aspect-ratio: 480 / 298;
  width: 100%;
  object-fit: cover;
}

.project-card div {
  padding: 24px;
}

.project-card h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.project-card span {
  display: block;
  color: var(--cs-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.success-card {
  padding: 30px 26px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  box-shadow: 0 10px 30px rgba(7, 7, 7, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.success-card:hover {
  border-color: var(--cs-red);
  transform: translateY(-5px);
}

.success-card > span {
  display: block;
  margin-bottom: 14px;
  color: var(--cs-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.success-card h3 {
  margin-bottom: 16px;
  color: var(--cs-black);
  font-size: 22px;
  line-height: 1.25;
}

.success-card p {
  color: var(--cs-muted);
  font-size: 14px;
}

.success-card strong {
  color: var(--cs-black);
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 54px;
}

.portfolio-filter button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  color: var(--cs-black);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.portfolio-filter button.is-active,
.portfolio-filter button:hover,
.portfolio-filter button:focus-visible {
  border-color: var(--cs-black);
  background: var(--cs-black);
  color: var(--cs-white);
}

.portfolio-filter strong {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  background: rgba(200, 0, 47, 0.12);
  color: var(--cs-red);
  font-size: 11px;
}

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

.portfolio-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  box-shadow: 0 10px 30px rgba(7, 7, 7, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.portfolio-card:hover {
  border-color: var(--cs-red);
  transform: translateY(-5px);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card__media {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(13, 27, 62, 0.04), rgba(200, 0, 47, 0.06)),
    var(--cs-soft);
}

.portfolio-card__media img {
  max-height: 130px;
  object-fit: contain;
}

.portfolio-card__body {
  padding: 28px;
}

.portfolio-card__body span {
  display: block;
  margin-bottom: 10px;
  color: var(--cs-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-card__body h3 {
  margin-bottom: 10px;
  color: var(--cs-black);
  font-size: 21px;
  line-height: 1.22;
}

.portfolio-card__body p {
  margin-bottom: 0;
  color: var(--cs-muted);
}

.technology {
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(7, 7, 7, 0.96), rgba(7, 7, 7, 0.85)),
    var(--cs-black);
  color: var(--cs-white);
}

.technology__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: 58px;
  align-items: center;
}

.technology h2 {
  color: var(--cs-white);
}

.technology p {
  color: rgba(255, 255, 255, 0.78);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.34);
  padding: 10px 15px;
  color: var(--cs-white);
  font-weight: 800;
}

.technology img {
  background: var(--cs-white);
  box-shadow: var(--shadow);
}

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

.post-card img {
  aspect-ratio: 370 / 230;
  width: 100%;
  object-fit: cover;
}

.post-card div {
  padding: 24px;
}

.post-card time {
  display: block;
  margin-bottom: 10px;
  color: var(--cs-red);
  font-size: 13px;
  font-weight: 900;
}

.cta {
  background: var(--cs-black);
  color: var(--cs-white);
}

.cta__inner {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
  padding: 60px 0;
}

.cta h2 {
  color: var(--cs-white);
}

.cta .btn {
  border-color: var(--cs-red);
  background: var(--cs-red);
  color: var(--cs-white);
}

.cta .btn--outline {
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  color: var(--cs-white);
}

.pricing-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.pricing-demo h2 {
  margin-bottom: 18px;
  color: var(--cs-black);
  font-family: "King Richard", Inter, Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
}

.pricing-demo p {
  color: var(--cs-muted);
}

.pricing-demo__cards {
  display: grid;
  gap: 16px;
}

.pricing-card {
  padding: 24px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pricing-card:hover {
  border-color: var(--cs-red);
  transform: translateY(-4px);
}

.pricing-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--cs-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin-bottom: 8px;
  color: var(--cs-black);
  font-size: 21px;
}

.pricing-card p {
  margin-bottom: 12px;
  color: var(--cs-muted);
  font-size: 14px;
}

.pricing-card a {
  color: var(--cs-red);
  font-size: 14px;
  font-weight: 900;
}

.site-footer {
  background: #f2f2f2;
  color: var(--cs-muted);
}

.reveal-footer {
  position: relative;
  width: 100%;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: 42px;
  padding: 76px 0;
}

.footer-brand img {
  width: 240px;
  height: 84px;
  object-fit: contain;
  object-position: left center;
}

.site-footer h3 {
  margin-bottom: 18px;
  color: var(--cs-black);
  font-size: 17px;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: var(--cs-red);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  margin: 0;
  color: var(--cs-black);
  font-size: 13px;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid #dddddd;
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  font-size: 13px;
}

.footer-bottom a {
  display: inline;
  margin-bottom: 0;
}

.scroll-top {
  position: fixed;
  right: 30px;
  bottom: -60px;
  z-index: 999;
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--cs-black);
  color: var(--cs-white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 20px 40px rgba(7, 7, 7, 0.18);
  transition: all 0.45s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.scroll-top.show {
  bottom: 90px;
  opacity: 1;
  visibility: visible;
}

/* ── WHATSAPP FLOAT ─────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 26px;
  z-index: 9000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}
.wa-float svg { width: 28px; height: 28px; }

@media (max-width: 640px) {
  .wa-float { bottom: 16px; right: 16px; width: 46px; height: 46px; }
  .wa-float svg { width: 24px; height: 24px; }
  .scroll-top.show { bottom: 74px; }
  .scroll-top { right: 16px; }
}

.scroll-top span {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.45s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.scroll-top .arrow-top {
  transform: translate(-50%, -42%);
}

.scroll-top .arrow-bottom {
  transform: translate(-50%, 70px);
}

.scroll-top:hover {
  background: var(--cs-black);
}

.scroll-top:hover .arrow-top {
  transform: translate(-50%, -80px);
}

.scroll-top:hover .arrow-bottom {
  transform: translate(-50%, -42%);
}

@media (max-width: 1100px) {
  .header-info {
    gap: 18px;
  }

  .nav-menu {
    font-size: 13px;
  }

  .nav-menu a {
    padding: 0 10px;
  }

  .header-search {
    flex-basis: 210px;
    min-width: 180px;
  }

  .service-grid,
  .services-list-grid,
  .projects-grid,
  .portfolio-grid,
  .product-grid,
  .module-grid,
  .success-grid,
  .about-feature-grid,
  .leadership-grid,
  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header__main-inner {
    grid-template-columns: 1fr auto;
  }

  .header-info {
    display: none;
  }

  .site-header__nav-inner {
    position: relative;
  }

  .nav-toggle {
    display: block;
    min-height: 62px;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    background: var(--cs-black);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .nav-menu a {
    min-height: 48px;
  }

  .header-search {
    flex: 1;
    min-width: 0;
  }

  .hero__inner,
  .section-head,
  .split,
  .about-story,
  .about-list-grid,
  .about-resource,
  .service-contact-band__inner,
  .service-detail-layout,
  .service-faq-grid,
  .technology__inner,
  .pricing-demo {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
    padding: 64px 0 100px;
  }

  .page-hero__inner {
    padding: 58px 0;
  }

  .about-resource__content {
    max-width: none;
    margin: 0 auto;
    padding: 72px 20px;
  }

  .about-resource__media,
  .about-resource__media img {
    min-height: 360px;
  }

  .service-sidebar {
    position: static;
  }

  .service-detail-points {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .cta__inner,
  .footer-bottom__inner {
    display: grid;
  }

}

@media (max-width: 700px) {
  .reveal-footer {
    position: static;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1170px);
  }

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

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

  .service-grid,
  .services-list-grid,
  .projects-grid,
  .portfolio-grid,
  .product-grid,
  .module-grid,
  .success-grid,
  .about-feature-grid,
  .leadership-grid,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding: 48px 0;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 15px;
  }

  .about-story {
    gap: 34px;
    margin: 42px 0 54px;
  }

  .about-experience {
    padding-left: 22px;
  }

  .about-feature-card,
  .leadership-card,
  .service-contact-panel,
  .service-list-card {
    padding: 26px;
  }

  .fact {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .scroll-top {
    right: 18px;
    width: 50px;
    height: 50px;
  }
}

/* ====== CLIENT LOGOS MARQUEE ====== */
.clients-marquee-section {
  padding: 60px 0 56px;
  background: var(--cs-soft);
  overflow: hidden;
}

.clients-marquee-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--cs-black);
}

.marquee-outer {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.marquee-outer::before,
.marquee-outer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--cs-soft), transparent);
}

.marquee-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--cs-soft), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
}

.marquee-inner img {
  height: 60px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.65);
  transition: filter 0.3s ease;
  flex-shrink: 0;
}

.marquee-inner img:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.section-nudge {
  text-align: center;
  color: var(--cs-muted);
  font-size: 15px;
}

.section-nudge a {
  color: var(--cs-red);
  font-weight: 700;
}

/* ====== INDUSTRIES GRID ====== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.industry-card {
  display: block;
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.industry-card:hover {
  border-color: var(--cs-red);
  background: #fff8fa;
  transform: translateY(-5px);
}

.industry-card__num {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: rgba(200, 0, 47, 0.09);
  color: var(--cs-red);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 16px;
}

.industry-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
  color: var(--cs-black);
}

.industry-card p {
  color: var(--cs-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.industry-link {
  color: var(--cs-red);
  font-size: 13px;
  font-weight: 700;
}

/* ====== PROCESS / HOW WE WORK ====== */
.process-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  padding: 32px 24px;
  background: var(--cs-white);
  border: 1px solid var(--cs-line);
  min-height: 260px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.process-step:hover {
  border-color: var(--cs-red);
  transform: translateY(-5px);
}

.process-step__num {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--cs-red);
  color: var(--cs-white);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 20px;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--cs-black);
}

.process-step p {
  color: var(--cs-muted);
  font-size: 14px;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-size: 26px;
  color: var(--cs-red);
  margin-top: 80px;
  flex-shrink: 0;
}

/* ====== TESTIMONIALS ====== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  background: var(--cs-white);
  border: 1px solid var(--cs-line);
  padding: 30px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.testimonial-card:hover {
  border-color: var(--cs-red);
  transform: translateY(-5px);
}

.testimonial-card__stars {
  color: #f5a623;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  color: var(--cs-ink);
  font-size: 15px;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
  border-left: 3px solid var(--cs-red);
  padding-left: 16px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  display: grid;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  place-items: center;
  background: var(--cs-red);
  color: var(--cs-white);
  font-size: 13px;
  font-weight: 900;
}

.testimonial-card__author strong {
  display: block;
  font-size: 14px;
  color: var(--cs-black);
}

.testimonial-card__author span {
  display: block;
  font-size: 12px;
  color: var(--cs-muted);
  margin-top: 2px;
}

/* ====== CONTACT PAGE ====== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 46px;
  align-items: start;
}

.contact-intro h2 {
  margin-bottom: 18px;
  color: var(--cs-black);
}

.contact-intro p {
  color: var(--cs-muted);
  font-size: 16px;
}

.contact-quick-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-quick-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.contact-quick-list a:hover {
  border-color: var(--cs-red);
  background: #fff8fa;
  transform: translateY(-4px);
}

.contact-quick-list span {
  color: var(--cs-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-quick-list strong {
  color: var(--cs-black);
  font-size: 15px;
  text-align: right;
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  box-shadow: 0 18px 55px rgba(13, 27, 62, 0.08);
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--cs-black);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--cs-line);
  background: #f8fafc;
  color: var(--cs-ink);
  font: inherit;
  font-size: 15px;
  padding: 14px 15px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  height: 52px;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23686868' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cs-red);
  background: var(--cs-white);
  box-shadow: 0 0 0 4px rgba(200, 0, 47, 0.08);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.contact-info-card {
  min-height: 230px;
  padding: 28px 24px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-info-card:hover {
  border-color: var(--cs-red);
  transform: translateY(-5px);
}

.contact-info-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  background: var(--cs-black);
  color: var(--cs-white);
  font-size: 18px;
}

.contact-info-card h3 {
  margin-bottom: 10px;
  color: var(--cs-black);
  font-size: 20px;
}

.contact-info-card p,
.contact-info-card strong {
  display: block;
  color: var(--cs-muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-info-card a {
  color: var(--cs-red);
  font-weight: 700;
}

.contact-location {
  padding: 90px 0;
  background:
    linear-gradient(90deg, rgba(13, 27, 62, 0.96), rgba(13, 27, 62, 0.86)),
    url("../images/codestrela/dynamic-website-designing.png") center / cover no-repeat;
  color: var(--cs-white);
}

.contact-location__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 42px;
  align-items: center;
}

.contact-location h2 {
  color: var(--cs-white);
  max-width: 760px;
}

.contact-location p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-location .btn--outline {
  color: var(--cs-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.contact-location__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.contact-location__panel span {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cs-white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

/* ====== CAREERS PAGE ====== */
.career-job-list {
  display: grid;
  gap: 16px;
}

.career-job {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.35fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  box-shadow: 0 10px 30px rgba(7, 7, 7, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.career-job:hover {
  border-color: var(--cs-red);
  transform: translateY(-4px);
}

.career-job h3 {
  margin-bottom: 8px;
  color: var(--cs-black);
  font-size: 20px;
}

.career-job span {
  display: block;
  color: var(--cs-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.career-job p {
  color: var(--cs-muted);
  font-size: 15px;
}

.career-job .btn {
  min-width: 128px;
  justify-content: center;
  padding: 13px 18px;
}

.career-culture-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.career-culture-grid h2 {
  color: var(--cs-black);
}

.career-culture-grid p {
  color: var(--cs-muted);
}

.career-culture-card {
  padding: 34px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  box-shadow: 0 18px 55px rgba(13, 27, 62, 0.08);
}

.career-culture-card h3 {
  margin-bottom: 18px;
  color: var(--cs-black);
  font-size: 22px;
}

.career-culture-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.career-culture-card li {
  position: relative;
  padding-left: 24px;
  color: var(--cs-muted);
  font-size: 15px;
  line-height: 1.65;
}

.career-culture-card li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--cs-red);
  content: "";
}

.career-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.career-perk {
  padding: 28px 24px;
  border: 1px solid var(--cs-line);
  background: var(--cs-white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.career-perk:hover {
  border-color: var(--cs-red);
  transform: translateY(-5px);
}

.career-perk span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  background: var(--cs-black);
  color: var(--cs-white);
  font-size: 12px;
  font-weight: 900;
}

.career-perk h3 {
  margin-bottom: 10px;
  color: var(--cs-black);
  font-size: 20px;
}

.career-perk p {
  color: var(--cs-muted);
  font-size: 14px;
}

.career-apply-band {
  padding: 88px 0;
  background:
    linear-gradient(90deg, rgba(13, 27, 62, 0.96), rgba(13, 27, 62, 0.86)),
    url("../images/codestrela/software-development.png") center / cover no-repeat;
  color: var(--cs-white);
}

.career-apply-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 42px;
  align-items: center;
}

.career-apply-band h2 {
  max-width: 760px;
  color: var(--cs-white);
}

.career-apply-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
}

.career-apply-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.career-apply-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.career-apply-card > a:not(.btn) {
  display: inline-block;
  margin: 10px 0 18px;
  color: var(--cs-white);
  font-size: 22px;
  font-weight: 900;
}

.career-apply-card .btn {
  margin-top: 12px;
}

/* ====== RESPONSIVE — new sections ====== */
@media (max-width: 1100px) {
  .clients-industries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

  .career-job,
  .career-culture-grid,
  .career-apply-band__inner {
    grid-template-columns: 1fr;
  }

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

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

  .process-arrow {
    display: none;
  }
}

@media (max-width: 620px) {
  .clients-industries,
  .industry-grid,
  .testimonial-grid,
  .contact-card-grid,
  .career-perks-grid,
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .career-job {
    padding: 22px 18px;
  }

  .career-job .btn {
    width: 100%;
  }

  .career-culture-card,
  .career-apply-card {
    padding: 24px 18px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .contact-quick-list a {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-quick-list strong {
    text-align: left;
  }

  .contact-location__panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .move-up,
  .move-up-x {
    opacity: 1;
    transform: none;
  }
}

/* ====== HEADING COLOR UPDATE ====== */
.section :is(h1, h2) {
  color: var(--cs-red);
}

.section :is(h3, h4, h5, h6),
.intro-card h3,
.site-footer h3 {
  color: var(--cs-black);
}

/* ====== PRODUCT HERO ====== */
.product-hero {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2f5e 55%, #0d1b3e 100%);
  color: var(--cs-white);
  overflow: hidden;
}

.product-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 580px;
  padding: 80px 0 80px;
}

.product-hero h1 {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  line-height: 1;
  margin: 0 0 16px;
  color: var(--cs-white);
}

.product-hero .eyebrow { color: rgba(200,0,47,0.9); }

.product-hero__sub {
  font-size: 18px;
  line-height: 1.7;
  opacity: .88;
  margin-bottom: 28px;
  max-width: 540px;
}

.product-hero__modules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.product-hero__modules span {
  background: rgba(255,255,255,.12);
  color: var(--cs-white);
  border: 1px solid rgba(255,255,255,.2);
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
}

.product-hero__trust {
  margin-top: 20px;
  font-size: 13px;
  opacity: .7;
}

.product-hero__image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
}

.btn--white {
  background: var(--cs-white);
  color: var(--cs-black);
  font-weight: 800;
}

.btn--outline-white {
  background: transparent;
  color: var(--cs-white);
  border: 2px solid rgba(255,255,255,.5);
  font-weight: 800;
}

.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--cs-white);
}

.btn--light {
  background: rgba(255,255,255,.12);
  color: var(--cs-white);
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 700;
}

/* ====== MODULE DEEP GRID ====== */
.module-deep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.module-deep-card {
  display: flex;
  gap: 24px;
  background: var(--cs-white);
  border: 1px solid var(--cs-line);
  padding: 32px 28px;
  transition: box-shadow .2s ease, transform .2s ease;
}

.module-deep-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.module-deep-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(200,0,47,.08);
  color: var(--cs-red);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
  border-radius: 2px;
}

.module-deep-card h3 {
  font-size: 17px;
  color: var(--cs-black);
  margin: 0 0 8px;
}

.module-deep-card p {
  font-size: 14px;
  color: var(--cs-muted);
  margin-bottom: 14px;
}

.module-deep-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-deep-card ul li {
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid var(--cs-line);
  color: var(--cs-ink);
}

.module-deep-card ul li::before {
  content: '✓ ';
  color: var(--cs-red);
  font-weight: 700;
}

/* ====== CHECKLIST ====== */
.checklist { margin: 20px 0; }

.checklist__item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cs-line);
  align-items: flex-start;
}

.checklist__item span {
  color: var(--cs-red);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist__item p { margin: 0; font-size: 15px; }

/* ====== PRICING GRID ====== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  align-items: stretch;
}

.pricing-card {
  background: var(--cs-white);
  border: 2px solid var(--cs-line);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: var(--cs-red);
  box-shadow: var(--shadow);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cs-red);
  color: var(--cs-white);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 18px;
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cs-red);
  margin-bottom: 10px;
}

.pricing-card__price {
  font-size: 36px;
  font-weight: 900;
  color: var(--cs-black);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card__sub {
  color: var(--cs-muted);
  font-size: 13px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--cs-line);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}

.pricing-card__features li {
  padding: 9px 0;
  border-bottom: 1px solid var(--cs-line);
  font-size: 14px;
}

.pricing-card__features li::before {
  content: '✓ ';
  color: var(--cs-red);
  font-weight: 700;
}

/* ====== CASE STUDY GRID ====== */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.case-study-card {
  background: var(--cs-white);
  border: 1px solid var(--cs-line);
  overflow: hidden;
}

.case-study-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.case-study-card__body { padding: 28px; }

.case-study-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--cs-red);
  margin-bottom: 10px;
}

.case-study-card h3 {
  font-size: 17px;
  color: var(--cs-black);
  margin-bottom: 14px;
  line-height: 1.4;
}

.case-study-card p {
  font-size: 14px;
  margin-bottom: 8px;
}

/* ====== COMPARE TABLE ====== */
.compare-table-wrap {
  overflow-x: auto;
  margin-top: 36px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  border: 1px solid var(--cs-line);
  text-align: left;
  vertical-align: middle;
}

.compare-table thead th {
  background: var(--cs-black);
  color: var(--cs-white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.compare-table thead th.compare-table__ours {
  background: var(--cs-red);
}

.compare-table tbody tr:nth-child(even) td { background: var(--cs-soft); }

.compare-table__ours {
  font-weight: 700;
  color: #1a7a3f;
}

/* ====== ROADMAP ====== */
.roadmap-list { margin-top: 28px; }

.roadmap-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--cs-line);
  align-items: flex-start;
}

.roadmap-item__year {
  background: var(--cs-red);
  color: var(--cs-white);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  flex-shrink: 0;
  margin-top: 3px;
}

.roadmap-item h3 {
  font-size: 16px;
  color: var(--cs-black);
  margin: 0 0 4px;
}

.roadmap-item p { font-size: 14px; color: var(--cs-muted); margin: 0; }

/* ====== SUCCESS GRID ====== */
.success-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.success-card {
  background: var(--cs-white);
  border: 1px solid var(--cs-line);
  padding: 32px 28px;
}

.success-card > span {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cs-red);
  margin-bottom: 12px;
}

.success-card h3 { font-size: 18px; color: var(--cs-black); margin-bottom: 16px; }
.success-card p { font-size: 14px; margin-bottom: 8px; }

/* ====== BLOG HERO ====== */
.blog-hero {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2f5e 100%);
  color: var(--cs-white);
  padding: 72px 0 80px;
}

.blog-hero__inner { max-width: 820px; }

.blog-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  opacity: .8;
}

.blog-hero h1 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--cs-white);
}

.blog-hero__sub {
  font-size: 18px;
  opacity: .85;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 680px;
}

.blog-hero__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.blog-hero__avatar {
  width: 48px;
  height: 48px;
  background: var(--cs-red);
  color: var(--cs-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
}

.blog-hero__author strong { display: block; color: var(--cs-white); font-size: 15px; }
.blog-hero__author span { font-size: 13px; opacity: .7; }

/* ====== BLOG LAYOUT ====== */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: flex-start;
}

/* ====== BLOG CONTENT ====== */
.blog-content__hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  margin-bottom: 36px;
  border-radius: 2px;
}

.blog-content__lead {
  font-size: 20px;
  line-height: 1.7;
  font-weight: 600;
  color: var(--cs-black);
  margin-bottom: 28px;
}

.blog-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--cs-black) !important;
  margin: 44px 0 18px;
}

.blog-content h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--cs-black);
  margin: 32px 0 12px;
}

.blog-content p { font-size: 16px; line-height: 1.8; margin-bottom: 18px; }

.blog-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.blog-content ul li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.blog-content img:not(.blog-content__hero-img) {
  width: 100%;
  height: 320px;
  object-fit: cover;
  margin: 28px 0;
  border-radius: 2px;
}

.blog-content blockquote {
  border-left: 4px solid var(--cs-red);
  margin: 32px 0;
  padding: 20px 28px;
  background: var(--cs-soft);
}

.blog-content blockquote p {
  font-size: 18px;
  font-style: italic;
  color: var(--cs-black);
  margin-bottom: 8px;
}

.blog-content blockquote cite {
  font-size: 13px;
  color: var(--cs-muted);
  font-style: normal;
}

/* ====== BLOG STEPS ====== */
.blog-steps { margin: 28px 0; }

.blog-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--cs-line);
  align-items: flex-start;
}

.blog-step > span {
  width: 44px;
  height: 44px;
  background: var(--cs-red);
  color: var(--cs-white);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
  border-radius: 2px;
}

.blog-step h3 { font-size: 16px; color: var(--cs-black); margin: 0 0 4px; }
.blog-step p { font-size: 14px; color: var(--cs-muted); margin: 0; }

/* ====== BLOG STATS ====== */
.blog-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.blog-stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--cs-soft);
  border: 1px solid var(--cs-line);
}

.blog-stat strong {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: var(--cs-red);
  line-height: 1;
  margin-bottom: 8px;
}

.blog-stat span { font-size: 13px; color: var(--cs-muted); line-height: 1.4; }

/* ====== BLOG CTA BOX ====== */
.blog-cta-box {
  background: var(--cs-black);
  color: var(--cs-white);
  padding: 40px;
  margin: 44px 0 0;
  border-radius: 2px;
}

.blog-cta-box h3 {
  font-size: 22px;
  color: var(--cs-white) !important;
  margin-bottom: 12px;
}

.blog-cta-box p { font-size: 15px; opacity: .85; margin-bottom: 24px; }

/* ====== BLOG SIDEBAR ====== */
.blog-sidebar { position: sticky; top: 80px; }

.blog-sidebar__widget {
  background: var(--cs-soft);
  border: 1px solid var(--cs-line);
  padding: 24px;
  margin-bottom: 24px;
}

.blog-sidebar__widget h3 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cs-black);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cs-red);
}

.blog-sidebar__author {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.blog-sidebar__author p { font-size: 13px; color: var(--cs-muted); margin: 0; }

.blog-sidebar__link {
  display: block;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--cs-line);
  color: var(--cs-ink);
  font-weight: 600;
  transition: color .2s;
}

.blog-sidebar__link:hover { color: var(--cs-red); }

.blog-sidebar__cta { background: var(--cs-black); border-color: var(--cs-black); }
.blog-sidebar__cta h3 { color: var(--cs-white); border-bottom-color: var(--cs-red); }
.blog-sidebar__cta p { color: rgba(255,255,255,.75); font-size: 13px; margin-bottom: 16px; }

/* ====== BLOG FEATURED ====== */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--cs-line);
  overflow: hidden;
  color: var(--cs-ink);
  transition: box-shadow .2s ease;
}

.blog-featured:hover { box-shadow: var(--shadow); }

.blog-featured__img img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.blog-featured__body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured__body h2 {
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--cs-black) !important;
  margin: 10px 0 16px;
  line-height: 1.35;
}

.blog-featured__body p { font-size: 15px; color: var(--cs-muted); margin-bottom: 16px; }

.blog-featured__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--cs-muted);
  margin-bottom: 16px;
}

.blog-featured__read {
  font-weight: 800;
  color: var(--cs-red);
  font-size: 15px;
}

/* ====== BLOG GRID (listing) ====== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--cs-white);
  border: 1px solid var(--cs-line);
  overflow: hidden;
  display: block;
  color: var(--cs-ink);
  transition: box-shadow .2s ease, transform .2s ease;
}

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

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card__body { padding: 24px; }

.blog-card__tag {
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--cs-red);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 17px;
  color: var(--cs-black) !important;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p { font-size: 14px; color: var(--cs-muted); margin-bottom: 14px; }

.blog-card__meta { font-size: 13px; color: var(--cs-muted); }

/* ====== NEWSLETTER ====== */
.newsletter-box {
  background: var(--cs-black);
  color: var(--cs-white);
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.newsletter-box .eyebrow { color: rgba(200,0,47,.9); }

.newsletter-box h2 {
  color: var(--cs-white) !important;
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 12px;
}

.newsletter-box p { opacity: .8; font-size: 15px; }

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-form input {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--cs-white);
  font: inherit;
  font-size: 15px;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }

/* ====== SECTION HEAD CENTER ====== */
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 12px;
}

.section-head--center > * { max-width: 680px; }

/* ====== BLOG HERO IN HERO SECTION ====== */
.section .blog-hero__avatar {
  background: var(--cs-red);
}

/* ====== RESPONSIVE: NEW COMPONENTS ====== */
@media (max-width: 1100px) {
  .product-hero__inner { grid-template-columns: 1fr; min-height: auto; padding: 60px 0; }
  .product-hero__image { display: none; }
  .module-deep-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .case-study-grid { grid-template-columns: 1fr; }
  .success-grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__img img { min-height: 260px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-box { grid-template-columns: 1fr; padding: 40px; }
  .blog-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-stats { grid-template-columns: 1fr 1fr; }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 13px; }
  .newsletter-box { padding: 28px 20px; }
  .blog-content__hero-img { height: 220px; }
  .blog-hero { padding: 48px 0 52px; }
}

/* ── COOKIE CONSENT BANNER ──────────────────────────────────────────────── */
#cs-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--cs-black);
  color: #fff;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
}
#cs-cookie-banner.cs-cookie--show {
  transform: translateY(0);
  opacity: 1;
}
#cs-cookie-banner.cs-cookie--hide {
  transform: translateY(100%);
  opacity: 0;
}
.cs-cookie__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cs-cookie__text {
  flex: 1;
  min-width: 240px;
}
.cs-cookie__text strong {
  font-size: 15px;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.cs-cookie__text p {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
  margin: 0 0 4px;
}
.cs-cookie__link {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
}
.cs-cookie__link:hover { color: #fff; }
.cs-cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cs-cookie__btn {
  padding: 9px 18px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cs-cookie__btn--primary {
  background: var(--cs-red);
  color: #fff;
}
.cs-cookie__btn--primary:hover { background: #a8001f; }
.cs-cookie__btn--secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.cs-cookie__btn--secondary:hover { background: rgba(255,255,255,0.22); }
.cs-cookie__btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1.5px solid rgba(255,255,255,0.15);
}
.cs-cookie__btn--ghost:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

@media (max-width: 640px) {
  .cs-cookie__inner { padding: 18px 20px; gap: 16px; }
  .cs-cookie__actions { width: 100%; }
  .cs-cookie__btn { flex: 1; text-align: center; }
}
