/* =========================================================
   FUTURE PROJECTS
   Uses the existing 3Hermanas site header/footer from styles.css
   and adds a focused dark navy + gold project showcase.
========================================================= */

:root {
  --future-navy: #030a1b;
  --future-navy-2: #071126;
  --future-card: #071127;
  --future-gold: #e8b63f;
  --future-gold-soft: #ffd86e;
  --future-line: rgba(232, 182, 63, .46);
  --future-white: #f7f4ed;
  --future-muted: #b8bed0;
  --future-violet: #8b5cf6;
  --future-green: #78c850;
}

.future-projects-page {
  background: var(--future-navy);
}

.future-main {
  position: relative;
  overflow: hidden;
  color: var(--future-white);
  background:
    radial-gradient(circle at 50% 6%, rgba(33, 61, 126, .22), transparent 31rem),
    radial-gradient(circle at 2% 45%, rgba(79, 49, 124, .12), transparent 30rem),
    radial-gradient(circle at 96% 72%, rgba(48, 96, 122, .12), transparent 32rem),
    linear-gradient(180deg, #050c1f 0%, #020817 100%);
}

.future-main::before,
.future-main::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 900px;
  height: 900px;
  border: 1px solid rgba(232, 182, 63, .08);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.future-main::before {
  left: -620px;
  top: 520px;
}

.future-main::after {
  right: -670px;
  bottom: 120px;
}

.future-hero {
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: center;
  padding: 85px 0 60px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.future-stars {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image:
    radial-gradient(circle at 12% 28%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 29% 65%, #cfd7ff 0 1px, transparent 1.5px),
    radial-gradient(circle at 43% 20%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 71% 33%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 68%, #ffd76b 0 1px, transparent 1.5px);
  background-size: 240px 210px, 270px 260px, 310px 250px, 250px 300px, 330px 230px;
}

.future-orbit {
  position: absolute;
  border: 1px solid rgba(232, 182, 63, .12);
  border-radius: 50%;
  pointer-events: none;
}

.future-orbit-one {
  width: 1000px;
  height: 440px;
  left: -190px;
  bottom: -320px;
  transform: rotate(12deg);
}

.future-orbit-two {
  width: 1100px;
  height: 460px;
  right: -220px;
  bottom: -330px;
  transform: rotate(-12deg);
}

.future-hero-inner {
  position: relative;
  z-index: 2;
}

.future-eyebrow {
  margin: 0 0 15px;
  color: var(--future-gold);
  letter-spacing: .22em;
  font-size: .92rem;
  font-weight: 800;
}

.future-hero h1,
.future-project h2,
.future-closing h2 {
  font-family: Fraunces, serif;
}

.future-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 1.03;
  margin: 0;
  font-weight: 600;
  letter-spacing: -.025em;
}

.future-lead {
  max-width: 800px;
  margin: 22px auto 0;
  color: rgba(236, 239, 247, .78);
  line-height: 1.8;
  font-size: 1.08rem;
}

.future-hero-rule {
  width: min(520px, 70vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 182, 63, .72), transparent);
  margin: 34px auto 0;
  position: relative;
}

.future-hero-rule span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--future-gold-soft);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 18px 6px rgba(232, 182, 63, .48);
}

.future-projects-section {
  position: relative;
  z-index: 2;
  padding: 0 0 70px;
}

.future-projects-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.future-project {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(290px, .82fr) minmax(0, 1.7fr);
  min-height: 510px;
  border: 1px solid var(--future-line);
  border-radius: 34px;
  background:
    linear-gradient(115deg, rgba(7, 14, 31, .96) 0%, rgba(6, 14, 30, .84) 42%, rgba(7, 17, 39, .62) 100%);
  box-shadow: 0 26px 65px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .03);
}

.future-project::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(3, 8, 23, .35);
}

.future-project-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 42px 26px 42px 38px;
}

.future-project-logo {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .32));
}

.future-project-logo-square {
  width: clamp(145px, 14vw, 210px);
  aspect-ratio: 1;
  border-radius: 28px;
  margin: 0 0 20px 2px;
}

.future-project-logo-crest {
  width: clamp(150px, 16vw, 220px);
  max-height: 205px;
  margin: 0 0 14px -12px;
}

.future-project h2 {
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.02em;
}

.future-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 18px;
  margin: 0 0 19px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, .03);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}

.future-status-gold {
  color: #f5c954;
  box-shadow: inset 0 0 18px rgba(245, 201, 84, .06);
}

.future-status-purple {
  color: #c281ff;
  box-shadow: 0 0 22px rgba(160, 88, 255, .11);
}

.future-status-green {
  color: #99ec75;
  box-shadow: 0 0 22px rgba(117, 215, 83, .11);
}

.future-project-description {
  max-width: 430px;
  margin: 0 0 22px;
  color: rgba(234, 237, 245, .78);
  font-size: 1rem;
  line-height: 1.7;
}

.future-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  max-width: 430px;
}

.future-feature-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: #c7ccdb;
  font-size: .77rem;
}

.future-feature-grid b {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 182, 63, .24);
  border-radius: 10px;
  color: var(--future-gold-soft);
  font-size: 1rem;
  font-weight: 500;
}

/* Bible Puzzle gallery */
.future-project-puzzle {
  background:
    radial-gradient(circle at 73% 40%, rgba(71, 67, 189, .22), transparent 32%),
    linear-gradient(115deg, #071025 0%, #071127 50%, #091337 100%);
}

.future-puzzle-showcase {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 36px 48px 42px 10px;
}

.future-phone-stage {
  position: relative;
  width: min(760px, 100%);
  height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1300px;
}

.future-phone {
  position: absolute;
  top: 50%;
  width: 210px;
  padding: 0;
  border: 0;
  border-radius: 31px;
  background: #050812;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 28px 50px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 222, 141, .28);
  transition: transform .35s ease, filter .35s ease, opacity .35s ease;
}

.future-phone img {
  width: 100%;
  height: auto;
  display: block;
}

.future-phone-left {
  left: 8%;
  transform: translateY(-49%) rotateY(8deg) rotateZ(-1.8deg) scale(.88);
  z-index: 1;
  filter: brightness(.9);
}

.future-phone-center {
  left: 50%;
  transform: translate(-50%, -51%) scale(1);
  z-index: 3;
}

.future-phone-right {
  right: 5%;
  transform: translateY(-49%) rotateY(-8deg) rotateZ(1.8deg) scale(.88);
  z-index: 2;
  filter: brightness(.9);
}

.future-phone:hover {
  filter: brightness(1.06);
}

.future-phone-left:hover {
  transform: translateY(-51%) rotateY(5deg) scale(.92);
}

.future-phone-center:hover {
  transform: translate(-50%, -53%) scale(1.035);
}

.future-phone-right:hover {
  transform: translateY(-51%) rotateY(-5deg) scale(.92);
}

.future-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 1px solid rgba(232, 182, 63, .28);
  border-radius: 50%;
  background: rgba(6, 13, 31, .72);
  backdrop-filter: blur(10px);
  color: var(--future-gold-soft);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.future-gallery-prev {
  left: 12px;
}

.future-gallery-next {
  right: 15px;
}

.future-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 8;
}

.future-gallery-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #566077;
  cursor: pointer;
}

.future-gallery-dots button.active {
  background: var(--future-gold);
  box-shadow: 0 0 12px rgba(232, 182, 63, .5);
}

/* Salvation Journey */
.future-project-salvation {
  min-height: 500px;
  background:
    radial-gradient(circle at 75% 35%, rgba(232, 182, 63, .16), transparent 26%),
    radial-gradient(circle at 54% 80%, rgba(179, 42, 28, .20), transparent 34%),
    linear-gradient(115deg, #070c18 0%, #0a1426 48%, #07121d 100%);
}

.future-project-salvation .future-project-copy {
  padding-top: 32px;
  padding-bottom: 32px;
}

.future-feature-grid-salvation b {
  color: #f1c76c;
  border-color: rgba(241, 199, 108, .22);
}

.salvation-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 223, 132, .22), transparent 18%),
    linear-gradient(180deg, rgba(9, 20, 36, .1), rgba(5, 10, 21, .46));
}

.salvation-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(255, 81, 32, .12) 0 28%, transparent 29% 100%),
    linear-gradient(35deg, transparent 0 52%, rgba(92, 151, 88, .11) 53% 100%);
}

.salvation-visual img{
  position:relative;
  z-index:2;
  width:92%;
  height:auto;
  max-height:430px;
  object-fit:contain;
  border-radius:22px;
  filter:drop-shadow(0 22px 38px rgba(0,0,0,.34));
}

.salvation-halo {
  position: absolute;
  z-index: 1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 219, 117, .26), rgba(232, 182, 63, .05) 48%, transparent 70%);
  filter: blur(2px);
}

.salvation-path {
  position: absolute;
  z-index: 1;
  bottom: -110px;
  left: 50%;
  width: 170px;
  height: 420px;
  transform: translateX(-50%) perspective(400px) rotateX(60deg);
  background: linear-gradient(90deg, transparent, rgba(232, 182, 63, .22), rgba(255, 224, 132, .55), rgba(232, 182, 63, .22), transparent);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  filter: blur(3px);
}

/* Grow Your Tree */
.future-project-grow {
  min-height: 570px;
  background:
    radial-gradient(circle at 80% 32%, rgba(220, 190, 83, .18), transparent 27%),
    radial-gradient(circle at 60% 70%, rgba(33, 116, 69, .20), transparent 39%),
    linear-gradient(115deg, #041a18 0%, #08251d 43%, #0c2430 100%);
}

.future-project-grow .future-project-copy {
  padding-top: 35px;
  padding-bottom: 35px;
}

.future-feature-grid-grow b {
  color: #a7ea75;
  border-color: rgba(151, 226, 106, .24);
}

.grow-phone-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 570px;
  padding: 32px 35px 0 0;
  overflow: hidden;
}

.grow-phone-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 116, .20), rgba(61, 133, 83, .10) 46%, transparent 71%);
}

.grow-phone {
  position: relative;
  z-index: 2;
  width: min(410px, 75%);
  max-height: 540px;
  object-fit: cover;
  object-position: top center;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 35px 65px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 218, 112, .22);
}

.future-closing {
  padding:18px 20px 24px;
  text-align: center;
}

.future-branch{
  color:#90711d;
  font-size:1.65rem;
  line-height:1;
  margin-bottom:2px;
}

.future-closing h2 {
  margin:0 0 8px;
  color: #f2c762;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
}

.future-closing p {
  max-width: 700px;
  margin:0 auto 10px;
  color: rgba(229, 233, 243, .72);
  line-height: 1.55;
}

.future-closing strong {
  color: #eabf55;
  font-family: Fraunces, serif;
  font-size: 1.18rem;
  font-weight: 500;
}

/* Lightbox */
.future-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px 70px;
  background: rgba(1, 5, 15, .92);
  backdrop-filter: blur(14px);
}

.future-lightbox.open {
  display: flex;
}

.future-lightbox figure {
  margin: 0;
  text-align: center;
  max-height: 92vh;
}

.future-lightbox img {
  max-width: min(460px, 74vw);
  max-height: 83vh;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .5);
}

.future-lightbox figcaption {
  margin-top: 10px;
  color: #cdd2df;
  font-size: .9rem;
}

.future-lightbox-close,
.future-lightbox-prev,
.future-lightbox-next {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}

.future-lightbox-close {
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.9rem;
}

.future-lightbox-prev,
.future-lightbox-next {
  top: 50%;
  width: 52px;
  height: 64px;
  transform: translateY(-50%);
  border-radius: 16px;
  font-size: 2.2rem;
}

.future-lightbox-prev {
  left: 25px;
}

.future-lightbox-next {
  right: 25px;
}

body.future-lightbox-lock {
  overflow: hidden;
}

/* Keep footer visually connected to the dark project page */
.future-projects-page footer {
  margin-top: 0;
}

@media(max-width:1100px) {
  .future-project {
    grid-template-columns: 1fr;
  }

  .future-project-copy {
    text-align: center;
    padding: 38px 30px 12px;
  }

  .future-project-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .future-project-description,
  .future-feature-grid {
    margin-left: auto;
    margin-right: auto;
  }

  .future-puzzle-showcase {
    padding: 10px 42px 45px;
  }

  .future-phone-stage {
    height: 470px;
  }

  .salvation-visual {
    min-height: 440px;
  }

  .grow-phone-wrap {
    min-height: 560px;
    padding: 20px 0 0;
  }
}

@media(max-width:760px) {
  .future-hero {
    min-height: 340px;
    padding: 60px 0 42px;
  }

  .future-lead br {
    display: none;
  }

  .future-projects-wrap {
    gap: 20px;
  }

  .future-project {
    border-radius: 25px;
  }

  .future-project-copy {
    padding: 30px 20px 10px;
  }

  .future-project-logo-square {
    width: 150px;
    border-radius: 22px;
  }

  .future-project-logo-crest {
    width: 165px;
    max-height: 160px;
  }

  .future-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .future-puzzle-showcase {
    padding: 5px 14px 40px;
    overflow: hidden;
  }

  .future-phone-stage {
    height: 385px;
    width: 100%;
  }

  .future-phone {
    width: 160px;
    border-radius: 23px;
  }

  .future-phone-left {
    left: 0;
    transform: translateY(-49%) rotateY(6deg) scale(.82);
  }

  .future-phone-center {
    left: 50%;
    transform: translate(-50%, -50%) scale(.93);
  }

  .future-phone-right {
    right: -2%;
    transform: translateY(-49%) rotateY(-6deg) scale(.82);
  }

  .future-gallery-arrow {
    display: none;
  }

  .salvation-visual {
    min-height: 350px;
  }

  .salvation-visual img{
    width:94%;
    height:auto;
    max-height:320px;
  }

  .grow-phone-wrap {
    min-height: 500px;
  }

  .grow-phone {
    width: min(330px, 82%);
    max-height: 470px;
  }

  .future-lightbox {
    padding: 30px 15px;
  }

  .future-lightbox-prev,
  .future-lightbox-next {
    width: 42px;
    height: 54px;
    opacity: .85;
  }

  .future-lightbox-prev {
    left: 8px
  }

  .future-lightbox-next {
    right: 8px
  }
}

@media(max-width:480px) {
  .future-project h2 {
    font-size: 2.05rem;
  }

  .future-feature-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .future-feature-grid span {
    justify-content: flex-start;
  }

  .future-phone-stage {
    height: 345px;
  }

  .future-phone {
    width: 142px;
  }

  .future-phone-left {
    left: -7%;
  }

  .future-phone-right {
    right: -8%;
  }

  .future-phone-center {
    transform: translate(-50%, -50%) scale(.91);
  }
}