/* =========================================================
   PETRO WEBSITE
   HOME — 01 HERO
   FINAL / INDEPENDENT
   ========================================================= */

.petro-home [data-home-section="01"],
.petro-home [data-home-section="01"] *,
.petro-home [data-home-section="01"] *::before,
.petro-home [data-home-section="01"] *::after {
  box-sizing: border-box;
}

.petro-home [data-home-section="01"] a {
  color: inherit;
  text-decoration: none;
}


/* =========================================================
   HERO
   ========================================================= */

.petro-home [data-home-section="01"].home-hero {
  position: relative;

  width: 100%;

  height: 500px;
  min-height: 500px;
  max-height: 500px;

  overflow: hidden;

  background:
    url("../../images/home/01-hero/hero-bg.png")
    center center / cover no-repeat;

  border-bottom:
    1px solid rgba(221, 177, 127, .18);

  scroll-margin-top: 125px;
}


/* =========================================================
   CONTROLLED DARK OVERLAY
   keeps original visual visible
   ========================================================= */

.petro-home [data-home-section="01"] .home-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 50% 52%,
      rgba(6, 16, 28, .72) 0%,
      rgba(6, 16, 28, .52) 28%,
      rgba(6, 16, 28, .18) 54%,
      transparent 76%
    ),
    linear-gradient(
      90deg,
      rgba(4, 13, 23, .10) 0%,
      rgba(4, 13, 23, .22) 28%,
      rgba(4, 13, 23, .48) 46%,
      rgba(4, 13, 23, .58) 58%,
      rgba(4, 13, 23, .20) 100%
    );
}


/* =========================================================
   INNER GRID
   ========================================================= */

.petro-home [data-home-section="01"] .home-hero-inner {
  position: relative;
  z-index: 2;

  width: min(1380px, calc(100% - 96px));
  height: 100%;
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

.petro-home [data-home-section="01"] .home-hero-copy {
  width: min(620px, 100%);
  margin: 0 auto;
  text-align: center;
  direction: rtl;
  transform: translate(40px, -33px);
}


/* =========================================================
   COPY
   ========================================================= */

.petro-home [data-home-section="01"] .home-hero-copy {
  grid-column: 2;

  width: min(650px, 100%);

  justify-self: center;

  text-align: center;
  direction: rtl;

  transform: translateY(-2px);
}


/* =========================================================
   BRAND LINE
   ========================================================= */

.petro-home [data-home-section="01"] .home-hero-brandline {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 16px;

  margin-bottom: 15px;
}

.petro-home [data-home-section="01"] .home-hero-brandline span {
  display: block;

  width: 46px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(221, 177, 127, .92)
    );
}

.petro-home [data-home-section="01"]
.home-hero-brandline span:last-child {
  background:
    linear-gradient(
      90deg,
      rgba(221, 177, 127, .92),
      transparent
    );
}

.petro-home [data-home-section="01"] .home-hero-brandline p {
  margin: 0;
  color: #ddb17f;

  font-size: 16px;
  font-weight: 700;
  line-height: 1;

  white-space: nowrap;
}


/* =========================================================
   TITLE
   ========================================================= */

.petro-home [data-home-section="01"] .home-hero-copy h1 {
  margin: 0;

  color: #f5f6f7;

  font-size: clamp(34px, 3vw, 50px);
   font-size: clamp(32px, 2.8vw, 46px);
  line-height: 1.42;
}

.petro-home [data-home-section="01"] .home-hero-copy h1 strong {
  display: block;
  margin-top: 3px;
  color: #e1aa68;
  font-weight: 750;

  text-shadow:
    0 3px 12px rgba(0, 0, 0, .50),
    0 1px 3px rgba(0, 0, 0, .80);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.petro-home [data-home-section="01"] .home-hero-description {
  width: 610px !important;
  max-width: 610px !important;
  margin: 16px auto 0 !important;

  color: rgba(255, 255, 255, .92);

  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 2.05 !important;

  text-align: center !important;

  text-shadow:
    0 2px 7px rgba(0, 0, 0, .75),
    0 1px 2px rgba(0, 0, 0, .95);
}


/* =========================================================
   CTA
   ========================================================= */

.petro-home [data-home-section="01"] .home-hero-actions {
  display: flex;
  justify-content: center;

  margin-top: 17px;
}

.petro-home [data-home-section="01"] .home-hero-button {
  min-width: 158px !important;
  height: 42px !important;

 padding: 0 20px !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 14px;

  border:
    1px solid rgba(236, 190, 128, .92);

  border-radius: 8px !important;

  background:
    linear-gradient(
      180deg,
      #e4b36f 0%,
      #c9904c 100%
    );

  color: #151b20;

  font-size: 14px !important;
  font-weight: 800 !important;

  box-shadow:
    0 9px 22px rgba(0, 0, 0, .22);

  transition:
    transform .22s ease,
    filter .22s ease,
    box-shadow .22s ease;
}

.petro-home [data-home-section="01"] .home-hero-button span {
  font-size: 18px;
  font-weight: 800;
}

.petro-home [data-home-section="01"] .home-hero-button:hover {
  transform: translateY(-2px);

  filter: brightness(1.055);

  box-shadow:
    0 12px 28px rgba(0, 0, 0, .27);
}

.petro-home [data-home-section="01"]
.home-hero-button:focus-visible {
  outline:
    2px solid #ddb17f;

  outline-offset: 4px;
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media (max-width: 1280px) {

  .petro-home [data-home-section="01"]
  .home-hero-inner {

    width:
      min(1160px, calc(100% - 64px));

    grid-template-columns:
      .88fr
      1.12fr;
  }

  .petro-home [data-home-section="01"]
  .home-hero-copy {

    width: min(590px, 100%);
  }

  .petro-home [data-home-section="01"]
  .home-hero-copy h1 {

    font-size:
      clamp(32px, 3.2vw, 45px);
  }

  .petro-home [data-home-section="01"]
  .home-hero-description {

    font-size: 13.5px;
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .petro-home [data-home-section="01"].home-hero {

    height: 520px;
    min-height: 520px;
    max-height: 520px;

    background-position:
      42% center;
  }

  .petro-home [data-home-section="01"]
  .home-hero-inner {

    width:
      calc(100% - 48px);

    grid-template-columns:
      .65fr
      1.35fr;
  }

  .petro-home [data-home-section="01"]
  .home-hero-copy h1 {

    font-size: 35px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .petro-home [data-home-section="01"].home-hero {

    height: auto;
    min-height: 570px;
    max-height: none;

    display: flex;
    align-items: flex-end;

    background-position:
      38% center;
  }

  .petro-home [data-home-section="01"]
  .home-hero-shade {

    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 25, .10) 0%,
        rgba(5, 16, 27, .30) 36%,
        rgba(5, 16, 27, .78) 72%,
        rgba(5, 16, 27, .96) 100%
      );
  }

  .petro-home [data-home-section="01"]
  .home-hero-inner {

    width:
      calc(100% - 32px);

    display: block;

    height: auto;

    margin-top: auto;
    padding-bottom: 34px;
  }

  .petro-home [data-home-section="01"]
  .home-hero-copy {

    width: 100%;

    text-align: right;

    transform: none;
  }

  .petro-home [data-home-section="01"]
  .home-hero-brandline {

    justify-content: flex-start;

    margin-bottom: 12px;
  }

  .petro-home [data-home-section="01"]
  .home-hero-brandline span {

    display: none;
  }

  .petro-home [data-home-section="01"]
  .home-hero-copy h1 {

    font-size: 32px;
    line-height: 1.5;

    text-align: right;
  }

  .petro-home [data-home-section="01"]
  .home-hero-description {

    margin:
      14px 0 0;

    font-size: 13.5px;

    text-align: right;
  }

  .petro-home [data-home-section="01"]
  .home-hero-actions {

    justify-content: flex-start;

    margin-top: 20px;
  }

  .petro-home [data-home-section="01"]
  .home-hero-button {

    min-width: 170px;
    height: 48px;

    border-radius: 8px;
  }
/* =========================================================
   PETRO HOME — 01 HERO — FINAL VISUAL OVERRIDE
   ========================================================= */

@media (min-width: 1101px) {

  .petro-home [data-home-section="01"] .home-hero-copy {
    width: 600px !important;
    margin: 0 auto !important;
    text-align: center !important;
    direction: rtl !important;
    transform: translate(40px, -28px) !important;
  }

  .petro-home [data-home-section="01"] .home-hero-copy h1 {
    font-size: 42px !important;
    line-height: 1.38 !important;
    margin: 0 0 14px !important;
  }

  .petro-home [data-home-section="01"] .home-hero-copy h1 strong {
    margin-top: 2px !important;
    font-size: 42px !important;
  }

  .petro-home [data-home-section="01"] .home-hero-description {
    width: 545px !important;
    margin: 14px auto 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 2 !important;
  }

  .petro-home [data-home-section="01"] .home-hero-actions {
    margin-top: 88px !important;
  }

  .petro-home [data-home-section="01"] .home-hero-button {
    min-width: 178px !important;
    height: 46px !important;
    padding: 0 24px !important;
    font-size: 13.5px !important;
  }
}
