
.gallery-wrapper{
  position:relative;
  width:100%;
  overflow:hidden;
  padding:0 0.35rem;
}

.gallery-wrapper .gallery-scroll{
  flex:1;
  min-width:0;
  width:100%;
}

.gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,0.05);
  background:#FFFFFF;
  box-shadow:0 15px 35px rgba(0,0,0,0.15);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.15rem;
  transition:transform 0.2s ease, opacity 0.2s ease;
  z-index:2;
}

.gallery-arrow.left{
  left:-12px;
}

.gallery-arrow.right{
  right:-12px;
}

.gallery-arrow:hover{
  transform:translateY(-50%) scale(1.05);
}

.gallery-arrow[disabled]{
  opacity:0.35;
  cursor:not-allowed;
}

@media (max-width:640px){
  .gallery-arrow.left{
    left:-4px;
  }
  .gallery-arrow.right{
    right:-4px;
  }
}
html{
  scroll-behavior: smooth;
}

body.no-scroll{
  overflow:hidden;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:0.2rem 0.8rem;
  border-radius:999px;
  background-color:#FFFFFF1A;
  border:1px solid #FFFFFF33;
  font-size:0.85rem;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding:0.15rem 0.7rem;
  border-radius:999px;
  background-color:#F6D8E0;
}

.hero::before,
.hero::after{
  content:"";
  position:absolute;
  border-radius:999px;
  filter:blur(50px);
  opacity:0.5;
  pointer-events:none;
  z-index:0;
}

.hero::before{
  width:220px;
  height:220px;
  top:-60px;
  left:-40px;
  background:#FFFFFF;
}

.hero::after{
  width:260px;
  height:260px;
  bottom:-80px;
  right:-40px;
  background:#C72A3C;
}

.hero > *{
  position:relative;
  z-index:1;
}

.hero-latest{
  margin-top:0 !important;
  padding-top:4.75rem;
}

@media (max-width:640px){
  .hero-latest{
    padding-top:3.5rem;
  }
}

.role-text{
  transition:opacity 0.25s ease, transform 0.25s ease;
}

.role-fade{
  opacity:0;
  transform:translateY(-8px);
}

.hero-cta{
  width:100%;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0.45rem;
  border-radius:999px;
  padding:0.95rem 2rem;
  font-weight:600;
  text-align:center;
  text-decoration:none;
  transition:transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease, background 0.35s ease;
  box-shadow:0 18px 35px rgba(0,0,0,0.12);
  min-width:0;
  width:100%;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  border:1px solid transparent;
  color:inherit;
}

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

.btn::after{
  content:"";
  position:absolute;
  inset:-25%;
  background:radial-gradient(circle at 25% 25%, rgba(255,255,255,0.65), transparent 55%);
  opacity:0;
  transform:scale(0.75);
  transition:opacity 0.35s ease, transform 0.45s ease;
  pointer-events:none;
  mix-blend-mode:soft-light;
}

.btn:hover::after{
  opacity:1;
  transform:scale(1.1);
}

.btn:focus-visible{
  outline:3px solid rgba(199,42,60,0.4);
  outline-offset:4px;
}

.btn-label,
.btn-icon{
  position:relative;
  z-index:1;
}

.btn-icon{
  font-size:1.15rem;
  transition:transform 0.25s ease;
}

.btn:hover .btn-icon{
  transform:translateX(4px);
}

.btn-primary{
  background:linear-gradient(120deg, #C72A3C 0%, #F67A9A 100%);
  color:#FFFFFF;
  box-shadow:0 18px 40px rgba(199,42,60,0.35);
  animation:btnPulse 3.5s ease-in-out infinite;
}

.btn-secondary{
  background:linear-gradient(#FFFFFF,#FFFFFF) padding-box,
    linear-gradient(120deg, rgba(199,42,60,0.45), rgba(246,216,224,0.85)) border-box;
  border:1px solid transparent;
  color:#8C1A29;
  box-shadow:0 18px 30px rgba(199,42,60,0.18);
}

.btn-ghost{
  background:transparent;
  color:#222222;
  border:1px dashed rgba(34,34,34,0.35);
  box-shadow:none;
}

.btn-ghost:hover{
  border-color:#C72A3C;
  color:#C72A3C;
}

@media (min-width:640px){
  .btn{
    width:auto;
  }
}

.featured-project{
  width:100%;
  overflow:hidden;
}

.featured-project > *{
  min-width:0;
}

.gallery-progress{
  display:flex;
  align-items:center;
  gap:0.4rem;
  min-height:1rem;
}

.gallery-progress-dot{
  width:12px;
  height:12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.18);
  background:rgba(255,255,255,0.7);
  cursor:pointer;
  transition:transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gallery-progress-dot.is-active{
  background:#C72A3C;
  border-color:#C72A3C;
  transform:scale(1.15);
}

.gallery-progress-dot:focus-visible{
  outline:2px solid #C72A3C;
  outline-offset:2px;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

@keyframes btnPulse{
  0%,100%{
    box-shadow:0 18px 40px rgba(199,42,60,0.32);
  }
  50%{
    box-shadow:0 24px 48px rgba(199,42,60,0.42);
  }
}

.process-step{
  position:relative;
}

.process-step .step-index{
  width:32px;
  height:32px;
  border-radius:50%;
  background:#C72A3C;
  color:#FFFFFF;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
}

@media (min-width:768px){
  .process-step:not(:last-child)::after{
    content:"";
    position:absolute;
    top:50%;
    right:-18px;
    width:36px;
    height:1px;
    background:#C72A3C;
  }
}

.testimonial-card .quote-mark{
  line-height:0.6;
}

.gallery-scroll{
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:0.5rem;
  scrollbar-width:none;
}

.gallery-scroll::-webkit-scrollbar{
  display:none;
}

.gallery-scroll::-webkit-scrollbar-track,
.gallery-scroll::-webkit-scrollbar-thumb{
  display:none;
}

.gallery-card{
  scroll-snap-align:center;
  min-width:250px;
  border-radius:24px;
  overflow:hidden;
  position:relative;
  cursor:pointer;
}

@media (min-width:768px){
  .gallery-card{
    min-width:280px;
  }
}

.gallery-card-img{
  width:100%;
  height:320px;
  object-fit:cover;
  display:block;
}

.gallery-card-label{
  position:absolute;
  bottom:1rem;
  left:1rem;
  background:rgba(0,0,0,0.75);
  color:#FFFFFF;
  font-size:0.65rem;
  letter-spacing:0.3em;
  text-transform:uppercase;
  padding:0.4rem 1rem;
  border-radius:999px;
}

.gallery-card:focus-visible{
  outline:3px solid #C72A3C;
  outline-offset:4px;
}

.gallery-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.7);
  display:none;
  align-items:center;
  justify-content:center;
  padding:1.5rem;
  z-index:100;
}

.gallery-modal.is-visible{
  display:flex;
}

.gallery-modal-overlay{
  position:absolute;
  inset:0;
  background:transparent;
}

.gallery-modal-content{
  position:relative;
  max-width:960px;
  width:100%;
  border-radius:24px;
  overflow:hidden;
  background:#111111;
  padding:1.5rem;
  z-index:1;
}

.gallery-modal-content img{
  width:100%;
  border-radius:16px;
  max-height:70vh;
  object-fit:cover;
}

.gallery-modal-close{
  position:absolute;
  top:1rem;
  right:1rem;
  width:40px;
  height:40px;
  border-radius:50%;
  background:#C72A3C;
  color:#FFFFFF;
  border:none;
  font-size:1.25rem;
  cursor:pointer;
}

.mobile-nav-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);
  z-index:40;
}

.mobile-nav{
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  width:80%;
  max-width:320px;
  background:#FFFFFF;
  padding:2rem;
  box-shadow:-10px 0 40px rgba(0,0,0,0.1);
  z-index:50;
  transform:translateX(100%);
  transition:transform 0.3s ease;
  display:flex;
  flex-direction:column;
}

.mobile-nav.open{
  transform:translateX(0);
}

.mobile-nav.hidden{
  display:none;
}

.mobile-nav-link{
  padding-bottom:0.5rem;
  border-bottom:1px solid rgba(0,0,0,0.05);
}