.chroma-home {
  --cv-orange: #ff9900;
  --cv-blue: #007bff;
  --cv-dark: #0b0f19;
  --cv-light: #f4f6f9;
  --cv-gray: #666;
  background: var(--cv-light);
  color: #1a1a1a;
}

.chroma-home .cv-container {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

.chroma-home .cv-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 172px;
  background-color: #080808;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0) 72%), url("../img/index/slider/chico_sin_texto.png");
  background-position: center -14px;
  background-size: cover;
  color: #fff;
}

.chroma-home .cv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(460px, 52vw, 720px);
}

.chroma-home .cv-hero-copy {
  max-width: 600px;
  padding: 20px 0;
}

.chroma-home .cv-hero-copy h2 {
  margin: 0 0 10px;
  color: #aaa;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.chroma-home .cv-hero-copy h1 {
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(2.7rem, 5.6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}

.chroma-home .cv-hero-copy h1 sup {
  font-size: 1.15rem;
  vertical-align: super;
}

.chroma-home .cv-hero-copy > p {
  max-width: 500px;
  margin: 0 0 30px;
  color: #ccc;
  font-size: 1.2rem;
}

.chroma-home .cv-features-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.chroma-home .cv-feature-item {
  display: grid;
  justify-items: center;
  align-content: start;
  color: #ddd;
  font-size: .82rem;
  text-align: center;
}

.chroma-home .cv-feature-item svg {
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.chroma-home .cv-feature-item:first-child svg {
  color: var(--cv-orange);
}

.chroma-home .cv-feature-item span {
  color: #aaa;
  font-size: .77rem;
}

.chroma-home .cv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 30px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color .2s, color .2s, border-color .2s;
}

.chroma-home .cv-btn-orange {
  background: var(--cv-orange);
  color: #000;
}

.chroma-home .cv-btn-orange:hover {
  background: #e68a00;
}

.chroma-home .cv-benefits-bar {
  padding: 25px 0;
  border-top: 1px solid #1f2d42;
  background: #0d1625;
  color: #fff;
}

.chroma-home .cv-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.chroma-home .cv-benefit-item {
  border-right: 1px solid #333;
}

.chroma-home .cv-benefit-item:last-child {
  border-right: 0;
}

.chroma-home .cv-benefit-item svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  fill: none;
  stroke: #ccc;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.chroma-home .cv-benefit-item p {
  margin: 0;
  color: #ddd;
  font-size: .95rem;
}

.chroma-home .cv-tech-section {
  padding: 80px 0;
  background: #f2f6fd;
}

.chroma-home .cv-section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.chroma-home .cv-eyebrow {
  margin: 0 0 10px;
  color: var(--cv-blue);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.chroma-home .cv-section-header h2,
.chroma-home .cv-portfolio-header h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
}

.chroma-home .cv-section-header h2 span,
.chroma-home .cv-portfolio-header h2 span {
  color: var(--cv-blue);
}

.chroma-home .cv-section-header > p {
  margin: 0;
  color: var(--cv-gray);
  font-size: 1rem;
}

.chroma-home .cv-tech-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.chroma-home .cv-tech-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 20px;
  transition: transform .3s;
}

.chroma-home .cv-tech-card:hover {
  transform: translateY(-4px);
}

.chroma-home .cv-tech-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform .3s;
}

.chroma-home .cv-tech-card:hover img {
  transform: scale(1.08);
}

.chroma-home .cv-portfolio-section {
  padding: 80px 0;
  background: var(--cv-light);
}

.chroma-home .cv-portfolio-header {
  margin-bottom: 60px;
  text-align: center;
}

.chroma-home .cv-portfolio-header p {
  margin: 10px 0 0;
  color: var(--cv-gray);
}

.chroma-home .cv-portfolio-category {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
  margin-bottom: 40px;
  scroll-margin-top: 90px;
}

.chroma-home .cv-category-info h3 {
  margin: 0 0 10px;
  padding-left: 15px;
  border-left: 4px solid var(--cv-blue);
  color: #1a1a1a;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 600;
}

.chroma-home .cv-category-info p {
  margin: 0;
  padding-left: 15px;
  color: var(--cv-gray);
  font-size: .9rem;
}

.chroma-home .cv-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.chroma-home .cv-design-card {
  position: relative;
  display: flex;
  height: 184px;
  align-items: flex-end;
  overflow: hidden;
  padding: 15px;
  border-radius: 15px;
  background: #26384d;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
  transition: box-shadow .3s;
}

.chroma-home .cv-design-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .6));
  content: "";
}

.chroma-home .cv-design-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
}

.chroma-home .cv-design-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .8;
  transition: opacity .3s, transform .3s;
}

.chroma-home .cv-design-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.chroma-home .cv-design-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
}

.chroma-home .cv-design-card-content strong {
  font-size: 1.05rem;
  font-weight: 700;
  font-style: italic;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .8);
}

.chroma-home .cv-arrow-circle {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  font-size: .9rem;
}

.chroma-home .cv-lab-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 27, .38), rgba(5, 12, 27, .08)),
    url("../img/index/laboratorio_fondo_sin_letras.png") center / cover no-repeat;
  color: #fff;
}

.chroma-home .cv-lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.chroma-home .cv-lab-copy .cv-eyebrow {
  color: #00c6ff;
}

.chroma-home .cv-lab-copy h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
}

.chroma-home .cv-lab-copy h2 span {
  color: #00c6ff;
}

.chroma-home .cv-lab-copy > p:not(.cv-eyebrow) {
  max-width: 400px;
  margin: 0 0 30px;
  color: #aaa;
}

.chroma-home .cv-lab-rule {
  display: block;
  width: 50px;
  height: 3px;
  margin: 0 0 20px;
  background: #00c6ff;
}

.chroma-home .cv-btn-outline {
  border: 1px solid #fff;
  color: #fff;
}

.chroma-home .cv-btn-outline:hover {
  background: #fff;
  color: #000;
}

.chroma-home .cv-footer-cta {
  position: relative;
  padding: 80px 0;
  background-color: #091522;
  background-image: linear-gradient(90deg, #091522, rgba(9, 21, 34, .64)), url("../img/index/montanas_fondo_sin_letras.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

.chroma-home .footer {
  background: #091522;
}

.chroma-home .cv-footer-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.chroma-home .cv-footer-content h2 {
  max-width: 500px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
}

.chroma-home .cv-footer-content h2 span {
  color: #00c6ff;
}

.chroma-home .cv-btn-blue {
  flex: none;
  padding: 15px 40px;
  background: #00c6ff;
  color: #000;
  font-weight: 700;
}

.chroma-home .cv-btn-blue:hover {
  background: #fff;
}

@media (max-width: 968px) {
  .chroma-home .cv-hero-grid,
  .chroma-home .cv-section-header,
  .chroma-home .cv-lab-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .chroma-home .cv-hero-copy h1 {
    font-size: 2.8rem;
  }

  .chroma-home .cv-hero-copy > p,
  .chroma-home .cv-lab-copy > p:not(.cv-eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .chroma-home .cv-hero-copy {
    margin: 0 auto;
  }

  .chroma-home .cv-features-row {
    justify-items: center;
  }

  .chroma-home .cv-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chroma-home .cv-benefit-item:nth-child(2) {
    border-right: 0;
  }

  .chroma-home .cv-tech-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chroma-home .cv-portfolio-category {
    grid-template-columns: 1fr;
  }

  .chroma-home .cv-category-info h3 {
    display: inline-block;
    padding: 0 0 5px;
    border: 0;
    border-bottom: 3px solid var(--cv-blue);
  }

  .chroma-home .cv-category-info p {
    padding-left: 0;
  }

  .chroma-home .cv-lab-rule {
    margin-right: auto;
    margin-left: auto;
  }

  .chroma-home .cv-footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .chroma-home .cv-hero {
    padding-top: 42px;
  }

  .chroma-home .cv-hero-copy h1 {
    font-size: 2.2rem;
  }

  .chroma-home .cv-features-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }

  .chroma-home .cv-benefits-grid,
  .chroma-home .cv-tech-cards,
  .chroma-home .cv-cards-grid {
    grid-template-columns: 1fr;
  }

  .chroma-home .cv-benefit-item {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid #333;
  }

  .chroma-home .cv-benefit-item:last-child {
    border-bottom: 0;
  }

  .chroma-home .cv-tech-section,
  .chroma-home .cv-portfolio-section,
  .chroma-home .cv-lab-section,
  .chroma-home .cv-footer-cta {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .chroma-home .cv-section-header {
    gap: 18px;
    margin-bottom: 32px;
  }

  .chroma-home .cv-portfolio-header {
    margin-bottom: 40px;
  }
}
