/*
 * Stiluri specifice paginilor.
 * Regula: continutul paginii nu contine CSS local.
 */

/* Acasa: layout full-width, fara padding GeneratePress. */
body.home .site.grid-container,
body.home .site-content.grid-container,
body.home .content-area,
body.home .site-main,
body.home article.page,
body.home .inside-article,
body.home .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* =========================================================
   ACASA - HERO
   Reconstructie a identitatii vizuale existente HC.
   ========================================================= */
.hc-home-hero {
  min-height: 690px;
  padding-top: 0;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 80% 15%, #112f5d 0, transparent 34%),
    linear-gradient(115deg, var(--hc-navy-950) 45%, #081b3b);
  color: #bdd0e7;
}

.hc-home-hero::before {
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .16;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}

.hc-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.hc-home-hero__content {
  position: relative;
  z-index: 3;
}

.hc-home-hero h1 {
  max-width: 830px;
  margin-bottom: 28px;
  font-size: clamp(2.9rem, 4.8vw, 4.6rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
}

.hc-home-hero__lead {
  max-width: 670px;
  margin-bottom: 32px;
  color: #bdd0e7;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.68;
}

.hc-home-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 52px 0 0;
  padding: 0;
  color: #91a8c1;
  font-size: .82rem;
  list-style: none;
}

.hc-home-hero__trust li::before {
  margin-right: 8px;
  color: var(--hc-lime-400);
  content: "✓";
}

.hc-home-hero__visual {
  position: relative;
  min-height: 480px;
}

.hc-home-hero__visual::before,
.hc-home-hero__visual::after {
  position: absolute;
  top: 80px;
  left: 5%;
  width: 92%;
  height: 310px;
  border: 1px solid rgba(39,196,255,.42);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(0,174,255,.14);
  content: "";
  transform: rotate(-20deg);
}

.hc-home-hero__visual::after {
  top: 45px;
  left: 0;
  width: 100%;
  height: 380px;
  border-color: rgba(186,242,56,.27);
  transform: rotate(-12deg);
}

.hc-document {
  position: absolute;
  z-index: 2;
  top: 48px;
  left: 50%;
  width: min(290px, 72%);
  height: 370px;
  padding: 42px 34px;
  border-radius: 15px 15px 65px 15px;
  background: linear-gradient(155deg, #fff, #dcebf5);
  box-shadow: -30px 35px 70px rgba(0,0,0,.35);
  transform: translateX(-48%) rotate(5deg);
}

.hc-document::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75px;
  height: 75px;
  border-radius: 40px 0 65px;
  background: linear-gradient(135deg, #a5c6e1, #fff);
  box-shadow: -10px -10px 20px rgba(0,72,140,.12);
  content: "";
}

.hc-document__dots {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}

.hc-document__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9d6e1;
}

.hc-document__dots i:first-child { background: var(--hc-blue-600); }

.hc-document > span {
  display: block;
  width: 85%;
  height: 7px;
  margin: 18px 0;
  border-radius: 6px;
  background: #b9cfe0;
}

.hc-document > span:nth-of-type(1) {
  width: 100%;
  background: #8ab9dd;
}

.hc-document > span:nth-of-type(3) { width: 58%; }

.hc-document strong {
  position: absolute;
  right: 26px;
  bottom: 62px;
  left: 26px;
  padding: 14px;
  border-radius: 10px;
  background: var(--hc-white);
  box-shadow: 0 10px 30px rgba(0,41,80,.18);
  color: #18763e;
  font-size: .72rem;
}

.hc-orbit {
  position: absolute;
  z-index: 3;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(3,17,39,.8);
  color: #aec1d6;
  font-size: .7rem;
}

.hc-orbit b {
  margin-right: 6px;
  color: var(--hc-lime-400);
}

.hc-orbit--one { top: 90px; left: 0; }
.hc-orbit--two { top: 265px; right: 0; }
.hc-orbit--three { bottom: 28px; left: 6%; }

@media (max-width: 900px) {
  .hc-home-hero__grid {
    grid-template-columns: 1fr;
  }

  .hc-home-hero__visual {
    width: min(520px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 781px) {
  .hc-home-hero {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Gutenberg/GeneratePress applies 30px padding to Group inner containers on mobile.
     The homepage hero must start immediately below the header. */
  .hc-home-hero > .wp-block-group__inner-container {
    padding-top: 0 !important;
  }

  .hc-home-hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
    line-height: 1.02;
  }

  .hc-home-hero__lead {
    font-size: 1.02rem;
    line-height: 1.58;
  }

  .hc-home-hero__trust {
    margin-top: 34px;
    gap: 10px 18px;
  }

  .hc-home-hero__visual {
    min-height: 420px;
  }
}


/* =========================================================
   ACASA - SECTIUNEA 1: PROCES
   ========================================================= */
.hc-home-process {
  position: relative;
  overflow: hidden;
}

.hc-home-process::before {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(8,119,232,.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hc-home-process .hc-container {
  position: relative;
  z-index: 1;
}

/* v0.3.1 - Hero Acasa: neutralizeaza paddingul implicit GeneratePress/Gutenberg
   de pe toate containerele interne. Gutterul este controlat exclusiv de .hc-container. */
body.hc-site .site-main .hc-home-hero .wp-block-group__inner-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* v0.3.2 - Sectiuni HC: elimina paddingul implicit GeneratePress/Gutenberg
   de pe wrapperul intern al blocului Group. Spatierea este controlata doar
   de .hc-section si .hc-container. */
body.hc-site .site-main .hc-section > .wp-block-group__inner-container {
  padding: 0 !important;
}
