:root{
  --black:#090909;
  --black-soft:#10100f;
  --cream:#ead9bb;
  --gold:#d39a23;
  --gold-soft:#b98219;
  --white:#f7f3eb;
  --muted:#b8afa0;
  --line:rgba(211,154,35,.32);
  --container:1440px;
  --shadow:0 22px 60px rgba(0,0,0,.42);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--black);
  color:var(--white);
  font-family:"Montserrat",Arial,sans-serif;
  line-height:1.6;
}
body.modal-open{overflow:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit}
.container{
  width:min(calc(100% - 40px),var(--container));
  margin-inline:auto;
}

.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:50;
  background:linear-gradient(#080808 0%,rgba(8,8,8,.94) 72%,rgba(8,8,8,0));
  backdrop-filter:blur(8px);
}
.nav-wrap{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.site-brand{display:block}
.header-logo{
  width:210px;
  height:72px;
  object-fit:contain;
  object-position:left center;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:28px;
}
.main-nav a{
  font-family:"Anton",Impact,sans-serif;
  font-size:18px;
  font-weight: 300;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.main-nav a{
  position:relative;
  transition:color .25s ease;
    font-weight: 300;
}

.main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-7px;
  width:100%;
  height:2px;
  background:var(--gold);
  transform:scaleX(0);
  transform-origin:right center;
  transition:transform .3s cubic-bezier(.4,0,.2,1);
}

.main-nav a:hover{color:var(--gold)}

.main-nav a:hover::after{
  transform:scaleX(1);
  transform-origin:left center;
}
.menu-toggle{
  display:none;
  width:42px;
  height:42px;
  border:0;
  background:transparent;
  padding:8px;
  cursor:pointer;
}
.menu-toggle span{
  display:block;
  height:2px;
  background:var(--cream);
  margin:6px 0;
}

.hero{
  min-height:780px;
  padding:160px 0 100px;
  position:relative;
  display:flex;
  align-items:center;
  background:url("../images/halfway-house-07.webp") center/cover no-repeat;
  overflow:hidden;font-weight: 300;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.94) 0%,rgba(0,0,0,.78) 38%,rgba(0,0,0,.38) 70%,rgba(0,0,0,.58) 100%),
    linear-gradient(0deg,var(--black) 0%,transparent 36%);
}
.hero-content{
  position:relative;
  z-index:2;
  max-width:760px;
  margin-left:max(20px,calc((100vw - var(--container))/2));
}
.hero-logo-space{
  width:min(500px,75vw);
  margin-bottom:30px;
}
.hero-logo-space img{
  width:100%;
  max-height:220px;
  object-fit:contain;
  object-position:left center;
}
.eyebrow{
  margin:0 0 8px;
  color:var(--gold);
  font-family:"Anton",Impact,sans-serif;
  font-size:18px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.18em;
}
h1,h2,h3{
  font-family:"Anton",Impact,sans-serif;
  text-transform:uppercase;
    letter-spacing: 0.05em;
    font-weight: 300;
}
.hero h1{
  margin:0;
  color:var(--cream);
  font-size:clamp(64px,8vw,112px);
  line-height:.88;
  letter-spacing:-.02em;
  font-weight: 300;    
}
.hero-copy{
  max-width:620px;
  margin:22px 0 0;
  color:#ddd5ca;
  font-size:19px;
}
.hero-actions,.contact-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:30px;
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:11px 22px;
  border:1px solid var(--gold);
  font-family:"Anton",Impact,sans-serif;
  font-size:20px;
  font-weight: 300;
  text-transform:uppercase;
  letter-spacing:.05em;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  transition:
    transform .25s ease,
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}
.button-primary{
  background:var(--gold);
  color:#111;
}
.button-primary:hover{background:#e2ab3a}

.button:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.28);
}

.button:active{
  transform:translateY(-1px);
}
.button-ghost{
  background:rgba(0,0,0,.24);
  color:var(--cream);
}
.button-ghost:hover{
  background:var(--gold);
  color:#111;
}

.quick-strip{
  background:#0d0d0c;
  border-block:1px solid #24211d;
}
.quick-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
}
.quick-grid div{
  padding:22px 16px;
  text-align:center;
  border-right:1px solid #24211d;
}
.quick-grid div:last-child{border-right:0}
.quick-grid strong{
  display:block;
  color:var(--cream);
  font-family:"Anton",Impact,sans-serif;
  font-size:22px;
  text-transform:uppercase;
    font-weight: 300;
}
.quick-grid span{
  color:var(--gold);
  font-size:13px;
  font-weight:600;
}

.quick-grid div{
  transition:background .3s ease;
}

.quick-grid strong,
.quick-grid span{
  transition:transform .3s ease,color .3s ease;
}

.quick-grid div:hover{
  background:rgba(211,154,35,.055);
}

.quick-grid div:hover strong{
  transform:translateY(-2px);
}

.quick-grid div:hover span{
  transform:translateY(2px);
}

.section{padding:92px 0}
.section-dark{
  background:var(--black-soft);
  border-block:1px solid #24211d;
}
.section-heading{max-width:760px;margin-bottom:40px}
.section-heading.center{text-align:center;margin-inline:auto}
.section-heading h2,.about-grid h2,.contact-panel h2{
  margin:0 0 18px;
  color:var(--cream);
  font-size:clamp(46px,6vw,78px);
  line-height:.92;
}
.section-heading p:not(.eyebrow),.large-copy,.contact-panel p{
  color:#d2cabf;
  font-size:17px;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.feature-card{
  min-height:420px;
  position:relative;
  overflow:hidden;
  border:1px solid #2a261f;
  background:
    linear-gradient(0deg,rgba(0,0,0,.92),rgba(0,0,0,.05) 72%),
    var(--bg) center/cover no-repeat;
  transition:
    transform .45s cubic-bezier(.2,.7,.2,1),
    border-color .35s ease,
    box-shadow .45s ease,
    filter .45s ease;
}

.feature-card:hover{
  transform:translateY(-7px);
  border-color:rgba(211,154,35,.7);
  box-shadow:0 24px 55px rgba(0,0,0,.32);
  filter:brightness(1.08);
}
.feature-card div{
  position:absolute;
  inset:auto 22px 24px;
  transition:transform .45s cubic-bezier(.2,.7,.2,1);
}

.feature-card:hover div{
  transform:translateY(-5px);
}
.feature-card h3{
  margin:0;
  color:var(--cream);
  font-size:36px;
  line-height:.92;
    font-weight: 300;
}
.feature-card p{
  margin:7px 0 0;
  color:var(--gold);
  font-weight:700;
}

.events-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:22px;
}
.event-card{
  min-height:420px;
  position:relative;
  overflow:hidden;
  border:1px solid #2a261f;
  cursor:pointer;
  transition:
    transform .4s cubic-bezier(.2,.7,.2,1),
    border-color .3s ease,
    box-shadow .4s ease;
}
.event-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.82;
  transition:
    transform .65s cubic-bezier(.2,.7,.2,1),
    opacity .4s ease;
}

.event-card:hover{
  transform:translateY(-6px);
  border-color:rgba(211,154,35,.65);
  box-shadow:0 22px 50px rgba(0,0,0,.32);
}

.event-card:hover img{
  transform:scale(1.035);
  opacity:.95;
}
.event-card::after{
  content:"";
  position:absolute;
  inset:0;
  
}
.event-info{
  position:absolute;
  z-index:2;
  inset:auto 28px 28px;
}
.event-info h3{
  margin:0;
  color:var(--cream);
  font-size:40px;
  line-height:1;
    font-weight: 300;
}
.event-info p{
  margin:8px 0 0;
  color:var(--gold);
  font-weight:700;
}

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:54px;
  align-items:center;
}
.about-image{
  overflow:hidden;
}

.about-image img{
  width:100%;
  height:540px;
  object-fit:cover;
  border:1px solid #2a261f;
  transition:
    transform .6s cubic-bezier(.2,.7,.2,1),
    filter .4s ease;
}

.about-image:hover img{
  transform:scale(1.025);
  filter:brightness(1.05);
}
.facts-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:30px;
}
.facts-grid div{
  padding:18px 0;
  border-top:1px solid var(--line);
}
.facts-grid strong{
  display:block;
  color:var(--cream);
  font-family:"Anton",Impact,sans-serif;
  font-size:30px;
  text-transform:uppercase;
}
.facts-grid span{color:var(--muted);font-size:14px}

.find-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:28px;
  align-items:stretch;
}

.contact-panel{
  padding:34px;
  border:1px solid #2a261f;
  background:#0d0d0c;
}

.map-placeholder{
  min-height:420px;
  padding:0;
  border:1px solid #2a261f;
  overflow:hidden;
  background:#0d0d0c;
}

.map-placeholder iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:420px;
  border:0;
}

.site-footer{
  padding:38px 0 28px;
  border-top:1px solid #25231f;
  background:#070707;
}
.footer-top,.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}
.footer-logo-space img{
  width:180px;
  height:90px;
  object-fit:contain;
  object-position:left center;
}
.footer-links{
  display:flex;
  gap:22px;
  align-items:center;
}
.footer-links a,.link-button{
  color:var(--cream);
  font-family:"Anton",Impact,sans-serif;
  font-size:18px;
  font-weight:400;
  text-transform:uppercase;
}
.link-button{
  border:0;
  background:none;
  padding:0;
  cursor:pointer;
}
.footer-links a:hover,.link-button:hover,.partner-links a:hover{color:var(--gold)}
.footer-bottom{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid #1f1e1b;
  color:#8f887c;
  font-size:13px;
}
.partner-links{
  display:flex;
  align-items:center;
  gap:8px;
}

.floating-whatsapp{
  position:fixed;
  z-index:45;
  right:22px;
  bottom:22px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px 10px 10px;
  border-radius:999px;
  background:#1fbd63;
  color:#fff;
  font-weight:700;
  box-shadow:var(--shadow);
}
.wa-icon{
  width:34px;height:34px;
  display:grid;place-items:center;
  border:2px solid rgba(255,255,255,.7);
  border-radius:50%;
  font:800 11px Montserrat;
}
.back-to-top{
  position:fixed;
  z-index:44;
  right:24px;
  bottom:88px;
  width:56px;
  height:56px;
  border:1px solid var(--gold);
  border-radius:50%;
  background:#0b0b0b;
  color:var(--gold);
  font-size:22px;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:.2s ease;
}
.back-to-top.visible{
  opacity:1;
  visibility:visible;
  transform:none;
}

/* Modal */
.modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
}
.modal.is-open{display:block}
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(6px);
}
.modal-dialog{
  position:relative;
  z-index:2;
  width:min(760px,calc(100% - 28px));
  max-height:calc(100vh - 40px);
  overflow:auto;
  margin:20px auto;
  padding:36px;
  border:1px solid #3b3427;
  background:#0d0d0c;
  box-shadow:var(--shadow);
}
.modal-close{
  position:absolute;
  right:16px;
  top:12px;
  border:0;
  background:none;
  color:var(--cream);
  font-size:34px;
  line-height:1;
  cursor:pointer;
}
.modal-content h2{
  margin:0 0 24px;
  color:var(--cream);
  font-size:48px;
  line-height:1;
}
.modal-content h3{
  margin:26px 0 6px;
  color:var(--gold);
  font-size:27px;
}
.modal-content p{color:#d1c9bd}

@media(max-width:960px){
  .main-nav{
    display:none;
    position:absolute;
    top:82px;
    left:20px;
    right:20px;
    padding:20px;
    flex-direction:column;
    align-items:flex-start;
    background:#0b0b0b;
    border:1px solid #2a261f;
  }
  .main-nav.is-open{display:flex}
  .menu-toggle{display:block}
  .quick-grid{grid-template-columns:1fr 1fr}
  .quick-grid div{border-bottom:1px solid #24211d}
  .feature-grid{grid-template-columns:1fr 1fr}
  .about-grid,.find-grid{grid-template-columns:1fr}
}

@media(max-width:640px){
  .container{width:min(calc(100% - 24px),var(--container))}
  .nav-wrap{min-height:76px}
  .header-logo{width:160px;height:58px}
  .hero{min-height:690px;padding:125px 0 76px}
  .hero-content{margin-left:12px}
  .hero h1{font-size:68px}
  .hero-copy{font-size:16px}
  .quick-grid{grid-template-columns:1fr}
  .feature-grid,.events-grid,.facts-grid{grid-template-columns:1fr}
  .event-card{min-height:420px}
  .about-image img{height:420px}
  .footer-top,.footer-bottom{flex-direction:column;align-items:flex-start}
  .footer-links{flex-wrap:wrap}
  .floating-whatsapp{right:14px;bottom:14px}
  .wa-label{display:none}
  .back-to-top{right:22px;bottom:92px}
  .modal-dialog{padding:28px 22px}
}
.floating-messenger {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #d39a23;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .2s ease, opacity .2s ease;
}

.floating-messenger:hover {
  transform: translateY(-2px);
}

.floating-messenger i {
  font-size: 28px;
}

/* =========================================================
   Gallery
========================================================= */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-auto-rows:280px;
  gap:16px;
}

.gallery-item{
  position:relative;
  display:block;
  overflow:hidden;
  border:1px solid #2a261f;
  background:#111;
}

.gallery-item-large{grid-row:span 2}
.gallery-item-wide{grid-column:span 2}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:
    transform .7s cubic-bezier(.2,.7,.2,1),
    filter .5s ease;
}

.gallery-item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.48),rgba(0,0,0,0) 60%);
  opacity:.55;
  transition:opacity .35s ease;
}

.gallery-hover{
  position:absolute;
  z-index:2;
  right:18px;
  bottom:18px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid rgba(234,217,187,.55);
  border-radius:50%;
  background:rgba(0,0,0,.55);
  color:var(--cream);
  opacity:0;
  transform:translateY(10px);
  transition:
    opacity .3s ease,
    transform .3s ease,
    background .3s ease,
    color .3s ease;
}

.gallery-item:hover img{
  transform:scale(1.045);
  filter:brightness(1.06);
}

.gallery-item:hover::after{opacity:1}

.gallery-item:hover .gallery-hover{
  opacity:1;
  transform:none;
  background:var(--gold);
  color:#111;
}

/* =========================================================
   Scroll reveal
========================================================= */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:
    opacity .8s cubic-bezier(.2,.7,.2,1),
    transform .8s cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible{
  opacity:1;
  transform:none;
}

.reveal-delay-1{transition-delay:.08s}
.reveal-delay-2{transition-delay:.16s}

/* =========================================================
   Additional motion polish
========================================================= */
.site-brand{
  transition:transform .25s ease,opacity .25s ease;
}

.site-brand:hover{
  transform:translateY(-2px);
  opacity:.94;
}

.facts-grid div{
  transition:border-color .3s ease,transform .3s ease;
}

.facts-grid div:hover{
  transform:translateX(4px);
  border-color:var(--gold);
}

.floating-messenger{
  transition:
    transform .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

.floating-messenger:hover{
  transform:translateY(-4px) scale(1.04);
  background:#e2ab3a;
  box-shadow:0 14px 32px rgba(0,0,0,.42);
}

.back-to-top:hover{
  background:var(--gold);
  color:#111;
  transform:translateY(-3px);
}

.glightbox-clean .gslide-description{
  background:#0d0d0c;
}

.glightbox-clean .gdesc-inner{
  padding:14px 18px;
}

.glightbox-clean .gslide-title{
  margin:0;
  color:var(--cream);
  font-family:"Anton",Impact,sans-serif;
  font-size:22px;
  font-weight:400;
  text-transform:uppercase;
}

@media(max-width:960px){
  .gallery-grid{
    grid-template-columns:1fr 1fr;
  }

  .gallery-item-large,
  .gallery-item-wide{
    grid-column:auto;
    grid-row:auto;
  }
}

@media(max-width:640px){
  .gallery-grid{
    grid-template-columns:1fr;
    grid-auto-rows:260px;
  }

  .gallery-hover{
    opacity:1;
    transform:none;
  }
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}

  *,
  *::before,
  *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }

  .reveal{
    opacity:1;
    transform:none;
  }
}

@media(max-width:960px){

  .find-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .contact-panel{
    padding:28px;
  }

  .map-placeholder{
    min-height:360px;
  }

  .map-placeholder iframe{
    min-height:360px;
  }

}

@media(max-width:640px){

  .contact-panel{
    padding:24px 20px;
  }

  .contact-panel h2{
    font-size:42px;
  }

  .contact-actions{
    margin-top:22px;
  }

  .contact-actions .button{
    width:100%;
  }

  .map-placeholder{
    min-height:300px;
  }

  .map-placeholder iframe{
    min-height:300px;
  }

}
