/* ============================================
   Energy Starter 2 - Figma-accurate
   ============================================ */

:root {
  --es-gradient: linear-gradient(90deg, #69eefd 0%, #efc052 54.33%, #f19231 100%);
  --es-navy: #0d192e;
  --es-orange: #f19231;
}

/* ===== HERO ===== */
.es-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  max-height: 1080px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.es-hero-bg {
  position: absolute;
  inset: 0;
}

.es-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.es-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1208px;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.es-hero-title {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
}

.es-hero-small {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 40px);
  line-height: 1.17;
  background: var(--es-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.es-hero-big {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 60px);
  line-height: 1.17;
  background: var(--es-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.es-hero-sub {
  font-size: clamp(1rem, 1.8vw, 30px);
  line-height: 1.38;
  color: #fff;
  max-width: 1180px;
}

.es-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 5px 24px 5px 5px;
  background: #fff;
  border: 2px solid #69eefd;
  border-radius: 73px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}

.es-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(105, 238, 253, 0.3);
}

.es-hero-cta-icon {
  width: 47px;
  height: 47px;
  border-radius: 50%;
}

/* ===== SHARED ===== */
.es-label {
  display: block;
  font-weight: 500;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--es-orange);
}

.es-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 42px);
  line-height: 1.15;
  color: rgba(13, 25, 46, 0.8);
}

/* ===== THE RISK ===== */
.es-risk {
  padding: 80px 0 60px;
}

.es-risk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.es-risk-left .es-heading {
  margin-bottom: 20px;
  line-height: 1.17;
}

.es-risk-text p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--es-navy);
  margin-bottom: 4px;
}

.es-risk-illustration {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.es-risk-img {
  width: 100%;
  max-width: 550px;
  height: auto;
}

.es-risk-icon {
  position: absolute;
  right: 0;
  bottom: 15%;
  width: 120px;
  height: auto;
}

.es-risk-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fffbed;
  border: 1.5px solid #ff7171;
  border-radius: 12px;
  padding: 14px 20px;
  margin-top: 16px;
}

.es-risk-alert-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: #f22;
  flex-shrink: 0;
}

.es-risk-alert-text {
  font-weight: 500;
  font-size: 14px;
  color: #f22;
  line-height: 1.3;
}

/* ===== BUILT RIGHT (STANDARD) ===== */
.es-standard {
  background: #d1dbe1;
  padding: 144px 0 100px;
  position: relative;
}
.es-standard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../images/energy-starter/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.10;
  pointer-events: none;
}

.es-standard-header {
  text-align: center;
  margin-bottom: 80px;
}

.es-standard-header .es-heading {
  margin-top: 8px;
  margin-bottom: 11px;
}

.es-standard-sub {
  font-size: clamp(1rem, 1.5vw, 26px);
  color: var(--es-navy);
  max-width: 922px;
  margin: 0 auto;
  line-height: 1.5;
}

.es-standard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.es-std-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 4.4px rgba(0, 0, 0, 0.06);
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  background: var(--es-navy);
}

.es-std-img {
  height: 500px;
  overflow: hidden;
}

.es-std-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.es-std-body {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.es-std-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 1.8vw, 30px);
  background: var(--es-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.es-std-line {
  width: 115px;
  height: 2px;
  background: rgba(0, 0, 0, 0.15);
}

.es-std-body p {
  font-size: 16px;
  color: #fff;
  line-height: 1.5;
  max-width: 364px;
}

/* ===== ECONOMICS ===== */
.es-economics {
  padding: 100px 0 80px;
}

.es-economics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.es-economics-illustration {
  width: 100%;
}

.es-economics-illustration img {
  width: 100%;
  height: auto;
}

.es-economics-content .es-heading {
  margin-bottom: 32px;
}

.es-economics-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--es-navy);
  margin-bottom: 12px;
}

.es-economics-stats {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 32px;
}

.es-econ-stat {
  text-align: center;
}

.es-econ-stat-value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 70px);
  line-height: 0.97;
  background: var(--es-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.es-econ-stat-label {
  display: block;
  font-weight: 500;
  font-size: clamp(12px, 1.2vw, 24px);
  text-transform: uppercase;
  color: var(--es-navy);
  margin-top: 12px;
}

.es-econ-stat-divider {
  width: 2px;
  height: 128px;
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

/* ===== AFTERCARE ===== */
.es-aftercare {
  background: #e9e9e9;
  padding: 105px 0 100px;
}

.es-aftercare-header {
  text-align: center;
  margin-bottom: 50px;
}

.es-aftercare-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 60px);
  line-height: 1.04;
  color: #000;
  margin-top: 4px;
  white-space: nowrap;
}

.es-aftercare-sub {
  font-size: clamp(1rem, 1.5vw, 26px);
  color: #000;
  margin-top: 4px;
}

.es-aftercare-icons {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1284px;
  margin: 0 auto;
  padding: 50px 0;
}

.es-after-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0 20px;
}

.es-after-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.es-after-icon img {
  max-width: 100%;
  max-height: 100%;
}

.es-after-col h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1.2rem, 2vw, 30px);
  line-height: 1.1;
  color: var(--es-navy);
}

.es-after-col p {
  font-size: 16px;
  color: var(--es-navy);
  line-height: 1.5;
  max-width: 289px;
}

.es-after-divider {
  width: 1px;
  height: 279px;
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  align-self: center;
}

/* ===== CTA ===== */
.es-cta {
  background: var(--es-navy);
  padding: 143px 0 100px;
  text-align: center;
}

.es-cta-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 60px);
  line-height: 1.04;
  color: #fff;
  max-width: 1320px;
  margin: 0 auto 8px;
  white-space: nowrap;
}

.es-cta-sub {
  font-size: clamp(1rem, 1.5vw, 26px);
  color: #fff;
  margin-bottom: 48px;
}

.es-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 400px;
  height: 82px;
  padding: 0 60px;
  background: var(--es-gradient);
  border-radius: 73px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #000;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.es-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(241, 146, 49, 0.4);
}

/* ===== FOOTER IMAGE ===== */
.es-footer-img {
  width: 100%;
  height: 410px;
  overflow: hidden;
}

.es-footer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .es-hero {
    height: auto;
    min-height: 80vh;
    padding: 140px 0 80px;
  }

  .es-risk-grid,
  .es-economics-grid {
    gap: 32px;
  }

  .es-standard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .es-std-img {
    height: 350px;
  }

  .es-after-divider {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .es-hero {
    min-height: 80vh;
    padding: 140px 0 80px;
  }

  .es-hero-content {
    padding: 0 16px;
  }

  .es-risk-grid,
  .es-economics-grid {
    grid-template-columns: 1fr;
  }

  .es-standard-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .es-aftercare-icons {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .es-after-divider {
    width: 200px;
    height: 1px;
  }

  .es-economics-stats {
    flex-direction: column;
    gap: 24px;
  }

  .es-econ-stat-divider {
    width: 128px;
    height: 2px;
  }

  .es-cta-btn {
    min-width: auto;
    width: 100%;
    max-width: 400px;
    height: 64px;
    font-size: 18px;
    padding: 0 32px;
  }

  .es-footer-img {
    height: 250px;
  }

  .es-risk-alert {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .es-hero-small {
    font-size: 1.2rem;
  }

  .es-hero-big {
    font-size: 1.6rem;
  }

  .es-hero-sub {
    font-size: 1rem;
  }

  .es-label {
    font-size: 16px;
  }

  .es-std-img {
    height: 280px;
  }
}
