/* ============================================================
   NET BILLING — DISEÑO CORPORATIVO GRUPO ENERGY
============================================================ */
/* AJUSTES HERO (ADN INICIO) */
.hero-corp {
  position: relative;
  height: 90vh;
  min-height: 600px;
  max-height: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 0;
  margin: 0;
}

.hero-corp__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: bottom;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
  transform: scale(1);
  backface-visibility: hidden;
}

.hero-corp__bg.active {
  opacity: 1;
  animation: heroZoomOut 8s ease-out forwards;
}

@keyframes heroZoomOut {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1);
  }
}

.hero-corp__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2, 23, 28, 0.45) 0%, transparent 20%),
    linear-gradient(
      to top,
      rgb(0 0 0 / 89%) 0%,
      rgba(2, 23, 28, 0.7) 45%,
      rgba(2, 23, 28, 0.1) 100%
    );
  z-index: 1;
}

.hero-corp .hero-corp__content {
  position: relative;
  z-index: 2;
  padding: 0 0 4rem;
  text-align: left;
  /* Alineación a la izquierda en escritorio */
}

@media (max-width: 1023px) {
  .hero-corp .hero-corp__content {
    text-align: center;
    padding: 0 1rem 4rem;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-corp .hero-corp__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-corp__actions {
    justify-content: center !important;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #4cb79b78;
  border: 1px solid rgb(76 183 155);
  color: #f3f3fbf0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.75rem;
}

.hero-corp .hero-corp__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 30ch;
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-corp__title em {
  font-style: normal;
  color: var(--gold);
}

.hero-corp .hero-corp__sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 50ch;
  margin-left: 0;
  margin-right: 0;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero-corp__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
  /* Botones alineados a la izquierda */
}

/* Flechas del carrusel del hero (ADN Inicio) */
.hero-slider-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.25s ease;
}

.hero-corp:hover .hero-slider-nav,
.hero-corp:focus-within .hero-slider-nav {
  opacity: 1;
}

.hero-slider-btn {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.37);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-slider-btn:hover {
  transform: scale(1.04);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero-slider-btn i {
  font-size: 1rem;
}

@media (max-width: 1023px) {
  .hero-slider-btn {
    width: auto;
    height: auto;
    padding: 0.75rem;
    border-radius: 0;
    border: none;
    background: transparent;
  }

  .hero-slider-btn i {
    font-size: 1.2rem;
  }
}

/* ============================================================
   UTILITIES: HEADERS CORPORATIVOS (ADN CONTACTO)
============================================================ */
.section-head {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 3.5rem;
  gap: 0.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--gold);
  display: block;
}

.section-title-corp {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  background-image:
    linear-gradient(var(--abyss), var(--abyss)),
    linear-gradient(#9ca3af, #9ca3af);
  background-size:
    var(--reveal-progress, 0%) 100%,
    100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 auto 1rem;
  position: relative;
  display: inline-block;
  transition: background-size 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-desc-corp {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 55ch;
  line-height: 1.65;
}

/* ============================================================
   SECCIÓN: ¿QUÉ ES EL NET BILLING?
============================================================ */
.section-what-is-net-billing {
  padding: 8rem 0;
  background: var(--page);
}

.net-billing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .net-billing-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
  }
}

.net-billing-intro-col {
  height: 100%;
}

.net-billing-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--header-current-bottom, 80px) + 3rem);
  align-self: start;
  height: fit-content;
  z-index: 20;
}

.net-billing-intro-col .section-head {
  text-align: left;
  align-items: flex-start;
  margin-bottom: 0;
}

.net-billing-intro-col .section-label {
  justify-content: flex-start;
}

.net-billing-intro-col .section-title-corp {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.net-billing-intro-col .section-desc-corp {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--abyss);
}

.net-billing-benefits-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .net-billing-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centramos el contenido para un look más moderno */
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  /* Transición más fluida y elegante */
  box-shadow: var(--shmd);
  position: relative;
  z-index: 1;
}

.benefit-card:hover {
  background-color: var(--brand);
  /* El fondo cambia a verde */
  border-color: var(--brand);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* Efecto de "desorden" individual al pasar el ratón */
.benefit-card:nth-child(1):hover {
  transform: translateY(-12px) rotate(-3deg) translateX(-5px);
}

.benefit-card:nth-child(2):hover {
  transform: translateY(-15px) rotate(4deg) translateX(8px);
}

.benefit-card:nth-child(3):hover {
  transform: translateY(-10px) rotate(-2deg) translateX(-10px);
}

.benefit-card:nth-child(4):hover {
  transform: translateY(-18px) rotate(5deg) translateX(4px);
}

/* Adecuación del texto al fondo verde en hover */
.benefit-card:hover h3 {
  color: var(--white);
}

.benefit-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.benefit-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Adecuación del icono al fondo verde: ahora resalta en blanco */
.benefit-card:hover .benefit-icon {
  transform: scale(1.15) rotate(15deg);
  background: var(--white);
  color: var(--brand);
}

.benefit-card h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--abyss);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.benefit-card p {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Forzamos el diseño de 2 columnas en Desktop para cumplir con las 2 filas */
@media (min-width: 1024px) {
  .net-billing-benefits-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem;
  }
}

/* ============================================================
   SECCIÓN QUICK CALC (MINI SIMULADOR)
============================================================ */
.section-quick-calc {
  position: relative;
  padding: 7rem 0;
  margin: 4rem 0 !important;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.quick-calc-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1023px) {
  .quick-calc-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .quick-calc-info .section-label {
    justify-content: center;
    width: 100%;
  }

  .quick-calc-info .section-title-corp {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .quick-calc-info .section-desc-corp {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .quick-calc-cta-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .calc-disclaimer {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1024px) {
  .quick-calc-layout {
    grid-template-columns: 4.5fr 7.5fr;
    gap: 6rem;
  }
}

.quick-calc-info {
  text-align: left;
}

.quick-calc-info .section-title-corp,
.quick-calc-info .section-desc-corp {
  color: var(--abyss) !important;
}

.quick-calc-info .section-label::before {
  background: var(--gold);
}

.quick-calc-cta-wrap {
  margin-top: 2rem;
}

.calc-disclaimer {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text3);
  font-style: italic;
  line-height: 1.6;
  max-width: 45ch;
}

.calc-input-group--light {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 1.5rem;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.calc-controls-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .calc-controls-row {
    flex-direction: row;
  }
}

.input-label-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.5rem;
}

.quick-calc-tool-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 3rem 2.5rem;
  box-shadow: var(--shlg);
}

.boleta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--border2);
}

.boleta-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--abyss);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.boleta-logo {
  height: 1.75rem;
  width: auto;
}

.boleta-header span {
  font-size: 0.9rem;
  color: var(--text3);
  font-weight: 500;
}

.calc-input-group label {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  color: var(--white) !important;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-align: left;
}

/* Corrección para el texto dentro del contenedor claro */
.calc-input-group--light label,
.calc-input-group--light .input-hint,
.calc-input-group--light .range-labels {
  color: var(--abyss) !important;
}

.slider-container {
  flex: 1;
  width: 100%;
}

.input-hint {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bill-display {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1.5rem;
  border-radius: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  width: 100%;
}

@media (min-width: 768px) {
  .bill-display {
    width: 220px;
    flex-shrink: 0;
  }
}

.bill-display:focus-within {
  border-color: var(--gold);
  box-shadow: 0 10px 30px -10px rgba(191, 147, 94, 0.2);
}

.bill-display .currency {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-green-primary);
  margin-right: 0.5rem;
  user-select: none;
}

.bill-display input {
  background: transparent;
  border: none;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-green-primary);
  width: 100%;
  outline: none;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2cb490 0%, #008d6f5c 0%);
  outline: none;
  margin-top: 0;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text3);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: 4px solid var(--brand-green-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  border-color: var(--gold);
}

.boleta-results {
  margin-top: 3rem;
}

.boleta-highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .boleta-highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.highlight-item {
  background: var(--green-bg);
  padding: 1.5rem;
  border-radius: 1.25rem;
  text-align: center;
}

.highlight-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  display: block;
}

.highlight-value {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.2;
  margin-top: 0.25rem;
}

#kit-recommendation {
  font-size: 1.2rem;
  color: var(--abyss);
}

.boleta-main-display {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px dashed var(--border2);
  border-top: 1px dashed var(--border2);
}

@media (min-width: 768px) {
  .boleta-main-display {
    grid-template-columns: 2fr 1fr;
  }
}

.new-bill-summary {
  text-align: center;
  padding-left: 2rem;
}

@media (min-width: 768px) {
  .new-bill-summary {
    border-left: 1px dashed var(--border2);
  }
}

.new-bill-summary .new-bill-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  display: block;
}

.new-bill-summary .new-bill-value {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  margin: 0.5rem 0;
}

.boleta-history-chart {
  margin-top: 0;
}

.history-chart-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.5rem;
}

.history-chart-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  /* Aumentamos el gap para hacer las barras más delgadas */
  align-items: flex-end;
  height: 120px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--border2);
}

.history-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.history-bar {
  width: 50%;
  /* Hacemos la barra más delgada dentro de su celda */
  background-color: var(--border2);
  border-radius: 3px 3px 0 0;
  transition: height 0.5s ease;
  position: relative;
  cursor: pointer;
}

.history-bar:hover {
  background-color: var(--brand);
}

.history-bar .tooltip {
  display: none;
  /* Se maneja con JS o hover */
}

.history-bar-month {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text3);
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.bar {
  width: 80%;
  background-color: var(--border2);
  border-radius: 6px 6px 0 0;
  transition: height 0.5s ease;
}

.bar--new {
  background-color: var(--brand);
}

.bar-value {
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--abyss);
}

.boleta-summary {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px dashed var(--border2);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .boleta-summary {
    grid-template-columns: 1fr 1fr;
  }
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--green-bg);
  padding: 1.5rem;
  border-radius: 1.25rem;
}

.summary-item i {
  font-size: 1.75rem;
  color: var(--brand);
}

.summary-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
}

.summary-value {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--abyss);
}

.summary-item:first-child .summary-value {
  color: var(--brand);
}

.boleta-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  text-align: center;
}

.boleta-disclaimer {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.5;
  max-width: 40ch;
  margin: 0 auto 1.5rem;
}

.boleta-disclaimer strong {
  color: var(--gold);
}

/* ============================================================
   SECCIÓN: PROYECTOS REALES — NET BILLING (CARRUSEL)
============================================================ */
.section-real-projects {
  /* Changed to light background */
  padding: 100px 0;
  background: var(--page);
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
}

.real-projects-swiper {
  width: 100%;
  padding: 40px 0 80px !important;
  overflow: visible !important;
}

.real-projects-swiper .swiper-slide {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.6;
  /* Adjusted opacity for light theme stack */
  transform: scale(0.9) translateY(10px);
  /* Adjusted scale and translateY for light theme stack */
  filter: blur(0.5px);
  /* Subtle blur */
  z-index: 1;
  /* Asegura el orden de apilamiento */
}

.real-projects-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.05);
  /* Slightly less aggressive scale for light theme */
  z-index: 10;
  filter: blur(0);
}

.project-card {
  height: 480px;
  /* Ajustado para coincidir con el carrusel de gran escala */
  border-radius: 0;
  position: relative;
  overflow: hidden;
  background: var(--white);
  /* Changed to white background */
  display: flex;
  flex-direction: column;
  transition:
    transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.3s ease;
  /* Added box-shadow transition */
  box-shadow: var(--shmd);
  /* Added subtle shadow */
  border: 1px solid var(--border);
  /* Added subtle border */
}

.project-card:hover {
  transform: translateY(-8px);
  /* Lift effect on hover */
  box-shadow: var(--shlg);
  /* More prominent shadow on hover */
  border-color: var(--brand);
  /* Highlight border on hover */
}

.project-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  opacity: 1;
  /* Full opacity for images on light theme */
  transition: all 0.8s ease;
  z-index: 1;
}

.project-card:hover .project-card__image {
  transform: scale(1.05);
  /* Subtle zoom on hover */
  opacity: 1;
}

.project-card__body {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: auto;
  width: calc(100% - 3rem);
  max-width: 420px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.705);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid var(--border);
  z-index: 2;
  color: var(--abyss);
  text-align: left;
}

.project-card__title {
  font-size: 1.4rem;
  color: var(--abyss);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.project-card__meta {
  font-size: 0.85rem;
  /* Ajustado para coincidir con el carrusel de gran escala */
  color: var(--text2);
  /* Changed text color to dark */
  font-weight: 400;
  line-height: 1.5;
}

/* Swiper Pagination (Dots) */
.real-projects-pagination {
  bottom: 20px !important;
}

.real-projects-pagination .swiper-pagination-bullet {
  background: var(--abyss);
  /* Changed to dark for contrast on light background */
  opacity: 0.2;
  transition: all 0.3s ease;
}

.real-projects-pagination .swiper-pagination-bullet-active {
  background: var(--brand);
  opacity: 1;
  width: 30px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .project-card__body {
    padding: 2.5rem 1.5rem;
  }

  .project-card__title {
    font-size: 1.8rem;
  }

  .project-card {
    height: 500px;
  }
}

/* ============================================================
   SECCIÓN: ¿CÓMO LO HACEMOS? — 6 pasos
============================================================ */
.section-process-netbilling {
  padding: 10rem 0;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.section-process-netbilling .process-layout {
  overflow: visible !important;
}

.section-process-netbilling .process-layout {
  overflow: visible !important;
  align-items: stretch;
  /* Ensure grid items stretch to the height of the tallest item */
}

/* Ensure the sticky column takes full height of the grid row */
.section-process-netbilling .process-sticky-col {
  height: 100%;
}

/* Forzado de Efecto Sticky */
.section-process-netbilling .process-sticky {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: calc(var(--header-current-bottom, 80px) + 3rem);
  align-self: start;
  height: fit-content;
  z-index: 20;
  /* Consistent with global.css for sticky elements */
}

.section-process-netbilling .process-sticky__intro {
  text-align: left;
}

.section-process-netbilling .section-title-corp {
  margin-top: 1rem;
  margin-left: 0;
  margin-right: 0;
  display: block;
  text-align: left;
  background-size:
    100% 100%,
    100% 100%;
}

.section-process-netbilling .section-desc-corp {
  margin-top: 2.5rem;
  color: var(--text2);
  text-align: left;
  max-width: 40ch;
}

/* Caja de Nota (Warning Box) estilo Gran Escala */
.section-process-netbilling .warning-box {
  margin-top: 4rem;
  background: var(--green-bg);
  /* border-left: 4px solid var(--brand); */
  color: var(--abyss);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  display: flex;
  gap: 1.25rem;
  box-shadow: var(--shmd);
}

.section-process-netbilling .process-steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.section-process-netbilling .step-item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: var(--white);
  padding: 4.5rem 3rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(50px);
}

.section-process-netbilling .step-item.revealed {
  opacity: 1;
  transform: translateX(0);
}

.section-process-netbilling .step-item:hover {
  border-color: var(--brand);
  transform: translateY(-5px);
  box-shadow: var(--shlg);
}

.section-process-netbilling .step-icon {
  width: 6rem;
  height: 6rem;
  background: var(--brand-green-primary);
  color: var(--abyss);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.section-process-netbilling .step-item strong {
  color: var(--abyss);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.section-process-netbilling .step-item p {
  color: var(--text2) !important;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Ajustes Responsive */
@media (max-width: 1023px) {
  .section-process-netbilling {
    padding: 6rem 0;
  }

  .section-process-netbilling .process-sticky__intro {
    text-align: center;
  }

  .section-process-netbilling .section-title-corp {
    text-align: center;
  }

  .section-process-netbilling .section-desc-corp {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-process-netbilling .warning-box {
    /* text-align: left; Eliminado para permitir el centrado automático en móvil */
    align-items: center;
  }
}

/* ============================================================
   SECCIÓN: BENEFICIOS FINALES
============================================================ */
.section-final-benefits {
  padding: 8rem 0;
  background: var(--page);
}

.final-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Default to single column on mobile */
  gap: 0;
  /* Pegadas, sin espaciado */
  /* Pegadas, sin espaciado */
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .final-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns on larger screens */
    /* 3 columns on larger screens */
    gap: 0;
    /* Pegadas, sin espaciado */
  }
}

.final-benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 650px;
  /* Más altas */
  /* Más altas */
  /* Adjust height as needed */
  overflow: hidden;
  border-radius: 0;
  /* Sin bordes redondeados */
  background-color: var(--abyss);
  /* Fallback background */
  box-shadow: none;
  /* Sin sombra inicial */
  transition:
    all 0.6s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.3s ease;
}

.final-benefit-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.final-benefit-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  /* Más opaco para que el overlay sea más visible */
  /* Slightly dimmed to allow overlay */
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.final-benefit-card:hover .final-benefit-card__image {
  transform: scale(1.1);
  /* Zoom más notorio */
}

.final-benefit-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(2, 23, 28, 0.95) 0%,
    rgba(2, 23, 28, 0.7) 50%,
    rgba(2, 23, 28, 0.1) 100%
  );
  z-index: 1;
  transition: background 0.5s ease;
}

.final-benefit-card:hover .final-benefit-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  /* Degradado más oscuro */
}

.final-benefit-card__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--white);
  /* Texto blanco para contrastar con la imagen */
  text-align: left;
  background: transparent;
  /* Sin fondo para el texto */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  border: none;
  bottom: 1.5rem;
  /* Posicionamiento flotante sobre la imagen */
  left: 1.5rem;
  right: auto;
  width: calc(100% - 3rem);
  /* Ancho más estrecho */
  max-width: 320px;
  /* Ancho máximo para el cuadro de contenido */
}

.final-benefit-card__icon-wrap {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: flex-start;
  /* Align icon to left */
}

.final-benefit-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  /* Tamaño del círculo del icono */
  height: 4.5rem;
  /* Tamaño del círculo del icono */
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  /* Fondo semitransparente */
  color: var(--white);
  /* Icono blanco */
  font-size: 2rem;
  /* Tamaño del icono */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.final-benefit-card:hover .final-benefit-card__icon {
  transform: scale(1.1);
}

.final-benefit-card__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.4rem;
  /* Título más pequeño */
  font-weight: 800;
  color: var(--white);
  /* Texto blanco */
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.final-benefit-card__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  /* Texto blanco con ligera transparencia */
  line-height: 1.6;
}

.final-benefits-closing-phrase {
  text-align: center;
  font-size: 1.1rem;
  /* Slightly smaller to fit new design */
  font-weight: 500;
  /* Lighter weight */
  color: var(--abyss);
  /* Cambiado a color oscuro para que sea visible sobre el fondo claro */
  /* Texto blanco para el fondo oscuro de la sección */
  /* Color de texto oscuro para fondo claro */
  /* Color claro para el fondo oscuro de la sección */
  /* Default text color */
  margin-top: 4rem;
}

.final-benefits-closing-phrase em {
  color: var(--brand);
  /* Use brand color for emphasis */
  font-style: normal;
}

/* ============================================================
   CTA FINAL — Net Billing
============================================================ */
.section-cta-final-net-billing {
  padding: 10rem 0;
  background: var(--abyss);
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  border-radius: 0;
  text-align: center;
}

.section-cta-final-net-billing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 100%,
      rgba(76, 183, 155, 0.178) 0%,
      #00000073 70%
    ),
    url("https://grupoenergy.cl/wp-content/uploads/2024/11/green-business-company-and-solar-energy-environmen-2024-11-01-22-11-49-utc-scaled.jpg")
      center/cover;
  opacity: 0.25;
  z-index: 0;
}

.section-cta-final-net-billing .container {
  position: relative;
  z-index: 1;
}

.section-cta-final-net-billing .cta-corp__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.section-cta-final-net-billing .cta-corp__title em {
  font-style: normal;
  color: var(--gold);
}

.section-cta-final-net-billing .cta-corp__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}

.section-cta-final-net-billing .btn-sample {
  font-size: 1.1rem;
  padding: 0.8rem 0.8rem 0.8rem 2rem;
}

.section-cta-final-net-billing .btn-sample .btn-icon-circle {
  width: 42px;
  height: 42px;
}

.section-cta-final-net-billing .btn-sample.btn-ghost-corp {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.section-cta-final-net-billing .btn-sample.btn-ghost-corp:hover {
  border-color: var(--brand-green-primary);
  color: var(--brand-green-primary);
  background: rgba(76, 183, 155, 0.08);
}

/* ============================================================
   CTA CALCULADORA EXTERNA (banda oscura, acento dorado)
============================================================ */
.nb-calc-cta {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  background-color: var(--abyss);
}

.nb-calc-cta__bg {
  position: absolute;
  inset: 0;
  background: url("https://grupoenergy.cl/wp-content/uploads/2024/11/solar-panel-2023-11-27-05-14-07-utc-scaled.jpg")
    center/cover;
  opacity: 0.28;
  z-index: 0;
}

.nb-calc-cta__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 85% at 85% 30%,
      rgba(76, 183, 155, 0.35) 0%,
      transparent 60%
    ),
    linear-gradient(
      90deg,
      rgba(2, 23, 28, 0.96) 0%,
      rgba(2, 23, 28, 0.78) 55%,
      rgba(2, 23, 28, 0.55) 100%
    );
  z-index: 1;
}

.nb-calc-cta .container {
  position: relative;
  z-index: 2;
}

.nb-calc-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.nb-calc-cta__text {
  flex: 1 1 380px;
}

.nb-calc-cta__text h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.nb-calc-cta__text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 54ch;
}

.nb-calc-cta__actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.nb-calc-cta__btn {
  font-size: 1.15rem;
  padding: 1rem 1rem 1rem 2.25rem;
  box-shadow: 0 10px 30px rgba(191, 147, 94, 0.45);
}

.nb-calc-cta__btn .btn-icon-circle {
  width: 44px;
  height: 44px;
}

.nb-calc-cta__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.nb-calc-cta__note i {
  color: var(--brand-green-primary);
}

@media (max-width: 767px) {
  .nb-calc-cta {
    padding: 5rem 0;
  }

  .nb-calc-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nb-calc-cta__actions {
    width: 100%;
  }

  .nb-calc-cta__btn {
    width: 100%;
    justify-content: space-between;
  }
}

/* ============================================================
   PROCESO "¿CÓMO LO HACEMOS?" — INTRO EN FILA + GRID 3x2
============================================================ */
.section-process-netbilling {
  padding: 8rem 0;
  overflow: visible;
}

.process-intro {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.process-intro .section-title-corp {
  display: block;
  text-align: center;
  margin: 0 auto 1rem;
}

.process-intro .section-desc-corp {
  text-align: center;
  margin: 0 auto;
  max-width: 60ch;
}

.process-intro .warning-box {
  max-width: 680px;
  margin: 2rem auto 0;
  text-align: left;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  box-shadow: var(--shmd);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.process-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shlg);
  border-color: var(--brand);
}

.process-step-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.process-step-card__icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--brand-green-primary);
  color: var(--abyss);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.process-step-card__num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--border2);
  line-height: 1;
}

.process-step-card__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--abyss);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.process-step-card__desc {
  color: var(--text2);
  font-size: 0.98rem;
  line-height: 1.6;
}
