/* ==========================================================================
   FutureBlock Home Page — page-specific polish
   Shared nav/footer/hero base: css/site-system.css
   ========================================================================== */

.site.page-home #core,
.site.page-home .fb-intro,
.site.page-home .fb-about,
.site.page-home #services,
.site.page-home .section-team,
.site.page-home .fb-contact {
  padding-top: var(--fb-section-pad, 72px);
  padding-bottom: var(--fb-section-pad, 72px);
}

@media (max-width: 991px) {
  .site.page-home #core,
  .site.page-home .fb-intro,
  .site.page-home .fb-about,
  .site.page-home #services,
  .site.page-home .section-team,
  .site.page-home .fb-contact {
    padding-top: var(--fb-section-pad-mobile, 48px);
    padding-bottom: var(--fb-section-pad-mobile, 48px);
  }
}

/* Homepage hero: 50/50 layout with right visual */
.site.page-home #Home.fb-hero {
  min-height: 100vh;
  min-height: 100dvh;
}

.site.page-home .fb-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: center;
  min-height: calc(100vh - var(--fb-nav-height) - 152px);
  min-height: calc(100dvh - var(--fb-nav-height) - 152px);
}

.site.page-home .fb-hero__copy {
  max-width: 560px;
  text-align: left;
}

/* Right-column hero visual */
.site.page-home .fb-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  min-height: 420px;
}

.site.page-home .fb-hero__visual-glow {
  position: absolute;
  width: 85%;
  height: 75%;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 59, 48, 0.28) 0%, rgba(255, 59, 48, 0.06) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.site.page-home .fb-hero__visual-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  max-height: min(72vh, 560px);
  object-fit: contain;
  object-position: center right;
  border-radius: 4px;
  filter: saturate(1.05) contrast(1.02);
  animation: fbHeroVisualFloat 8s ease-in-out infinite;
}

@keyframes fbHeroVisualFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.site.page-home .fb-hero__eyebrow {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fb-red-bright);
  border: 1px solid rgba(255, 96, 96, 0.35);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 32px;
  background: rgba(255, 59, 48, 0.06);
}

.site.page-home .fb-hero__headline {
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site.page-home .fb-hero__line {
  display: block;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.site.page-home .fb-hero__line--regular {
  font-size: clamp(2.25rem, 5vw, 3.85rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.site.page-home .fb-hero__line--bold {
  font-size: clamp(2.5rem, 5.5vw, 4.35rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
}

.site.page-home .fb-hero__subheading {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.site.page-home .fb-hero__description {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
  max-width: 520px;
}

@media (max-width: 991px) {
  .site.page-home .fb-hero__section {
    min-height: auto;
    padding: calc(var(--fb-nav-height) + 40px) 0 72px;
  }

  .site.page-home #Home.fb-hero {
    min-height: auto;
  }

  .site.page-home .fb-hero__layout {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }

  .site.page-home .fb-hero__copy {
    max-width: 100%;
    text-align: left;
  }

  .site.page-home .fb-hero__visual {
    order: 2;
    justify-content: center;
    min-height: auto;
  }

  .site.page-home .fb-hero__visual-img {
    max-width: 320px;
    max-height: none;
    margin: 0 auto;
    object-position: center;
    animation: none;
  }

  .site.page-home .fb-hero__visual-glow {
    width: 100%;
    height: 100%;
    right: 0;
  }

  .site.page-home .fb-hero__mesh,
  .site.page-home .fb-hero__bloom {
    animation: none;
  }

  .site.page-home .fb-hero__blueprint {
    animation: none;
    opacity: 0.6;
  }

  .site.page-home .fb-hero__scrim {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 100%);
  }

  .site.page-home .fb-hero__container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 575px) {
  .site.page-home .fb-hero__scrim {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site.page-home .fb-hero__mesh,
  .site.page-home .fb-hero__blueprint,
  .site.page-home .fb-hero__bloom,
  .site.page-home .fb-hero__visual-img {
    animation: none !important;
  }
}

/* ---- Intro (Trend & Approach) ------------------------------------------- */
.site.page-home .fb-intro {
  margin-top: 0;
  padding-top: 80px;
  padding-bottom: 80px;
}

.site.page-home .fb-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
  align-items: center;
}

.site.page-home .fb-intro .fb-intro__eyebrow.section-subtitle--line {
  color: var(--fb-red-bright) !important;
  font-weight: 700;
  margin-bottom: 20px;
}

.site.page-home .fb-intro .fb-intro__eyebrow.section-subtitle--line::before {
  background-color: var(--fb-red) !important;
  height: 4px;
}

.site.page-home .fb-intro__body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 14px;
  max-width: 58ch;
}

.site.page-home .fb-intro__body:last-of-type {
  margin-bottom: 0;
}

.site.page-home .fb-intro__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}

.site.page-home .fb-intro__stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site.page-home .fb-intro__stat-num {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.15rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.site.page-home .fb-intro__stat-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 991px) {
  .site.page-home .intro,
  .site.page-home .fb-intro {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .site.page-home .fb-intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site.page-home .fb-intro__stats {
    order: 2;
  }

  .site.page-home .fb-intro__copy {
    order: 1;
  }

  .site.page-home .fb-intro__body {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .site.page-home .fb-intro__stats {
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
  }

  .site.page-home .fb-intro__stat {
    padding: 16px 0;
  }

  .site.page-home .fb-intro__stat-num {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .site.page-home .fb-intro__stat-label {
    font-size: 0.78rem;
  }
}

/* ---- Core / What we do -------------------------------------------------- */
.site.page-home #core {
  padding-top: 72px;
  padding-bottom: 72px;
}

.site.page-home #core .service {
  height: 100%;
  margin-bottom: 0;
}

.site.page-home #core .service__icon {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 2rem;
  line-height: 1;
}

.site.page-home #core .service__title {
  margin-bottom: 10px;
  line-height: 1.3;
}

.site.page-home #core .service__text {
  line-height: 1.65;
  font-size: 0.95rem;
}

.site.page-home #core .row > .col-lg-6 {
  margin-bottom: 24px;
}

@media (max-width: 991px) {
  .site.page-home #core {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .site.page-home #core .col-lg-6.offset-lg-1 {
    margin-left: 0;
    margin-top: 24px;
  }
}

/* ---- Results stats ------------------------------------------------------ */
.site.page-home .section-results .about {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.site.page-home .section-results .about > .row {
  margin-left: 0;
  margin-right: 0;
}

.site.page-home .section-results {
  position: relative;
}

.site.page-home .section-results::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 0;
}

.site.page-home .section-results .about {
  position: relative;
  z-index: 1;
}

.site.page-home .results {
  padding: 32px 24px;
}

.site.page-home .results__counter {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.site.page-home .results__text {
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .site.page-home .results-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.12);
  }

  .site.page-home .results {
    min-height: auto !important;
    text-align: center;
    align-items: center;
  }
}

/* ---- About (How We Do It) ----------------------------------------------- */
.site.page-home .fb-about {
  padding-top: 72px;
  padding-bottom: 72px;
}

.site.page-home .fb-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  align-items: center;
}

.site.page-home .fb-about__media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 380px;
}

.site.page-home .fb-about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 22%, transparent 78%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, 0.3) 100%);
}

.site.page-home .fb-about__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.site.page-home .fb-about__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.site.page-home .fb-about__badge {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 28px;
  padding-bottom: 10px;
  display: inline-block;
  border-bottom: 1px solid rgba(255, 59, 48, 0.55);
  position: relative;
}

.site.page-home .fb-about__badge::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fb-red);
}

.site.page-home .fb-about__body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 18px;
  max-width: 60ch;
}

.site.page-home .fb-about__body:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .site.page-home .fb-about,
  .site.page-home .section-about.fb-about {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .site.page-home .fb-about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site.page-home .fb-about__media {
    order: 1;
    min-height: auto;
    max-height: 320px;
  }

  .site.page-home .fb-about__img {
    min-height: 0;
    max-height: 320px;
  }

  .site.page-home .fb-about__content {
    order: 2;
    text-align: center;
  }

  .site.page-home .fb-about__title {
    font-size: clamp(1.5rem, 5vw, 1.85rem);
  }

  .site.page-home .fb-about__badge {
    margin-bottom: 22px;
  }

  .site.page-home .fb-about__body {
    max-width: none;
    text-align: left;
  }
}

/* ---- Services cards ----------------------------------------------------- */
.site.page-home #services {
  padding-top: 72px;
  padding-bottom: 72px;
}

.site.page-home .pado {
  padding-left: 0;
  max-width: 1200px;
  margin: 0 auto 32px;
  padding-right: 20px;
  padding-left: 20px;
}

.site.page-home .section-tit {
  margin-left: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.25;
  margin-top: 8px;
}

.site.page-home .section-subtit {
  margin-left: 0;
}

@media (max-width: 480px) {
  .site.page-home .section-subtit,
  .site.page-home .section-tit {
    margin-left: 0;
    font-size: 1.2rem;
  }
}

.site.page-home .container2 {
  gap: 24px;
  padding: 0 20px 20px;
}

.site.page-home .container2 .card {
  height: 260px;
}

.site.page-home .container2 .box:hover {
  transform: translateY(-6px);
}

.site.page-home .container2 .box:hover .content img {
  transform: scale(1.08);
  animation: none;
}

.site.page-home .container2 .content img {
  animation: fbCardFloat 4s ease-in-out infinite;
}

@keyframes fbCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.site.page-home .container2 .content p {
  font-size: 1.05rem;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .site.page-home #services {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .site.page-home .container2 .card {
    height: 220px;
  }
}

@media (max-width: 575px) {
  .site.page-home .container2 .card {
    height: 200px;
    min-width: 0;
  }

  .site.page-home .container2 .content img {
    width: 64px;
    height: 64px;
  }
}

/* ---- Innovation / Team -------------------------------------------------- */
.site.page-home .section-team {
  padding-top: 72px;
  padding-bottom: 72px;
}

.site.page-home .section-team .title-row {
  margin-bottom: 48px;
}

.site.page-home .section-team .row > [class*="col-"] {
  margin-bottom: 24px;
}

.site.page-home .section-team .team {
  height: 100%;
  margin-bottom: 0;
}

.site.page-home .section-team .team img {
  height: 220px;
  object-fit: cover;
}

.site.page-home .section-team .entry__body h4 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.site.page-home .section-team .service__text {
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .site.page-home .section-team {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* ---- Contact ------------------------------------------------------------ */
.site.page-home .fb-contact,
.site.page-home .contact-section.fb-contact {
  padding-top: 48px;
  padding-bottom: 56px;
  background: transparent !important;
}

.site.page-home .contact-section.fb-contact.pb-72 {
  padding-bottom: 56px !important;
}

.site.page-home .fb-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  align-items: center;
}

.site.page-home .fb-contact__info {
  align-self: center;
}

.site.page-home .fb-contact__heading {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #ffffff;
}

.site.page-home .fb-contact__lead {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
  margin: 0;
  max-width: 36ch;
}

.site.page-home .fb-contact__form-wrap {
  display: flex;
  justify-content: flex-end;
}

.site.page-home .fb-contact__card.w-form {
  width: 100%;
  max-width: 480px;
  padding: 24px 26px !important;
  margin: 0;
  background: rgba(16, 16, 16, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site.page-home .fb-contact__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site.page-home .fb-field {
  position: relative;
  margin-bottom: 14px;
}

.site.page-home .fb-field input,
.site.page-home .fb-field textarea {
  width: 100%;
  height: 44px;
  padding: 18px 12px 6px;
  font-size: 16px;
  font-family: 'Inter', system-ui, sans-serif;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
  min-height: auto;
  margin-bottom: 0;
}

.site.page-home .fb-field textarea {
  height: auto;
  min-height: 72px;
  padding-top: 22px;
  resize: vertical;
  line-height: 1.45;
}

.site.page-home .fb-field label {
  position: absolute;
  left: 12px;
  top: 13px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.site.page-home .fb-field input:focus,
.site.page-home .fb-field textarea:focus {
  border-color: rgba(255, 96, 96, 0.45) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.site.page-home .fb-field input:focus + label,
.site.page-home .fb-field input:not(:placeholder-shown) + label,
.site.page-home .fb-field textarea:focus + label,
.site.page-home .fb-field textarea:not(:placeholder-shown) + label {
  top: 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fb-red-bright);
}

.site.page-home .fb-contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  margin-top: 6px;
  padding: 11px 22px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(180deg, #ff4a42 0%, #e83228 100%);
  border: 1px solid rgba(255, 96, 96, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 12px rgba(255, 59, 48, 0.22);
}

.site.page-home .fb-contact__submit:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 59, 48, 0.3);
}

@media (max-width: 991px) {
  .site.page-home .fb-contact,
  .site.page-home .contact-section.fb-contact {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .site.page-home .fb-contact__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site.page-home .fb-contact__info {
    text-align: left;
  }

  .site.page-home .fb-contact__lead {
    max-width: none;
  }

  .site.page-home .fb-contact__form-wrap {
    justify-content: stretch;
  }

  .site.page-home .fb-contact__card.w-form {
    max-width: none;
  }

  .site.page-home .fb-contact__submit {
    width: 100%;
  }
}

/* ---- Section headings (homepage) ---------------------------------------- */
.site.page-home .section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.site.page-home .section-subtitle {
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

/* ---- AOS: subtler scroll animations ------------------------------------- */
.site.page-home [data-aos] {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.site.page-home [data-aos="fade-up"] {
  transform: translate3d(0, 24px, 0);
}

.site.page-home [data-aos="fade-right"] {
  transform: translate3d(-24px, 0, 0);
}

.site.page-home [data-aos="fade-left"] {
  transform: translate3d(24px, 0, 0);
}

@media (max-width: 768px) {
  .site.page-home .intro,
  .site.page-home .fb-intro,
  .site.page-home #core,
  .site.page-home .section-about,
  .site.page-home .fb-about,
  .site.page-home #services,
  .site.page-home .section-team,
  .site.page-home .contact-section,
  .site.page-home .fb-contact {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site.page-home .fb-hero__mesh,
  .site.page-home .fb-hero__blueprint,
  .site.page-home .fb-hero__bloom,
  .site.page-home .fb-hero__visual-img,
  .site.page-home .container2 .content img,
  .site.page-home [data-aos] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
