/* =========================================================
   Mountain View × URE — Redesign Layer
   Palette: White / Teal / Green (Creekview identity)
   Loaded after main.css and editorial.css to override.
   ========================================================= */

/* Remove legacy editorial overlays (IL CAZAR side rail, marquee, watermark) */
body.index-page::after,
body.index-page::before{
  display: none !important;
  content: none !important;
}

/* ---------- 1. TOKENS ---------- */
:root{
  --bg:           #ffffff;
  --bg-soft:      #f7fafa;
  --bg-card:      #ffffff;
  --hairline:     #d8e8e8;

  /* Creekview primary — teal/creek inspired */
  --red:          #0D7377;
  --red-deep:     #0A5C5F;
  --red-tint:     #e0f2f1;

  /* Deep nature tones (shadows + dark sections) */
  --blue:         #0a3d3f;
  --blue-mid:     #146265;
  --blue-tint:    #e0f2f1;

  /* Creekview accent — nature green */
  --gold:         #2E8B57;
  --gold-deep:    #1E6B3F;
  --gold-tint:    #e8f5e9;

  --ink:          #0e1612;
  --ink-2:        #2a3330;
  --ink-3:        #5a6b65;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-soft: 0 12px 40px -16px rgba(13,115,119,.18);
  --shadow-card: 0 18px 48px -22px rgba(13,115,119,.22);

  --ease-out:  cubic-bezier(.2,.7,.2,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
  --dur-1: 180ms;
  --dur-2: 320ms;
  --dur-3: 600ms;
  --dur-4: 900ms;

  --container: 1280px;

  /* override legacy theme vars used by main.css */
  --default-color: #2a3330;
  --heading-color: #0e1612;
  --accent-color:  #0D7377;
  --background-color: #ffffff;
  --surface-color:    #ffffff;
  --contrast-color:   #ffffff;
  --nav-color:           #0e1612;
  --nav-hover-color:     #0D7377;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #0e1612;
  --nav-dropdown-hover-color: #0D7377;
}

/* ---------- 2. BASE ---------- */
html, body{
  background: var(--bg) !important;
  color: var(--ink-2) !important;
  font-family: 'Tajawal', system-ui, -apple-system, sans-serif !important;
}

body.index-page{ background: var(--bg) !important; }

h1, h2, h3, h4, h5, h6{
  color: var(--ink) !important;
  font-family: 'Tajawal', system-ui, sans-serif !important;
  letter-spacing: -0.01em;
  line-height: 1.18;
}
h2{ font-weight: 500; }

p{ color: var(--ink-2); line-height: 1.85; }

a{ color: var(--blue-mid); transition: color var(--dur-1) var(--ease-out); }
a:hover{ color: var(--red); }

::selection{ background: var(--red); color:#fff; }

/* Lighter font weights — remove bold across the site */
strong, b{ font-weight: 500 !important; }
h1, h2, h3, h4, h5, h6{ font-weight: 500 !important; }
.hero-headline, .about-main-title, .why-main-title,
.projects-showcase-header h2, .gallery-v2 h2,
.cta-banner h2, .footer-brand-name{
  font-weight: 600 !important;
}

img{ display:block; max-width:100%; }

/* Smooth scroll, but respect reduced motion below */
html{ scroll-behavior: smooth; }

/* Reusable container width */
.container, .container-xl, .container-fluid{ max-width: var(--container); }

/* ---------- 3. HEADER ---------- */
.header, #header.header{
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
  box-shadow: none;
}
.header.is-stuck{
  background: rgba(255,255,255,0.96) !important;
  border-bottom-color: var(--hairline);
  box-shadow: 0 8px 24px -20px rgba(10,37,64,.18);
}

/* Nav links */
.ure-navmenu a{
  color: var(--ink) !important;
  font-weight: 500;
  position: relative;
  padding: 10px 14px;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: color var(--dur-1) var(--ease-out);
}
.ure-navmenu a::after{
  content:"";
  position: absolute;
  inset: auto 14px 4px 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-2) var(--ease-out);
}
.ure-navmenu a:hover{ color: var(--red) !important; }
.ure-navmenu a:hover::after{ transform: scaleX(1); }

/* Primary CTA */
.btn-getstarted, .btn-register, .btn-register-out-side{
  background: var(--red) !important;
  color: #fff !important;
  border: 1px solid var(--red) !important;
  padding: 12px 28px !important;
  border-radius: var(--r-pill) !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background var(--dur-1) var(--ease-out),
              transform var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
  box-shadow: 0 8px 24px -14px rgba(200,16,46,.55);
  text-decoration: none !important;
}
.btn-getstarted:hover, .btn-register:hover, .btn-register-out-side:hover{
  background: var(--red-deep) !important;
  border-color: var(--red-deep) !important;
  color:#fff !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -14px rgba(200,16,46,.6);
}
.btn-getstarted:active, .btn-register:active{ transform: translateY(0); }

/* Secondary CTA (outlined blue) */
.btn-register-out-side.btn-secondary-cta{
  background: #fff !important;
  color: var(--blue) !important;
  border: 1px solid var(--blue) !important;
  box-shadow: none !important;
}
.btn-register-out-side.btn-secondary-cta:hover{
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
}

/* Mobile hamburger morph */
.ure-mobile-toggle{ background: transparent; border: 0; }
.ure-mobile-toggle span{
  display:block; width: 24px; height: 2px;
  background: var(--ink);
  margin: 0;
  transition: transform var(--dur-2) var(--ease-out),
              opacity var(--dur-1) var(--ease-out);
}
.ure-mobile-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.ure-mobile-toggle.open span:nth-child(2){ opacity: 0; }
.ure-mobile-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.ure-mobile-menu{
  background: #fff !important;
  color: var(--ink) !important;
}
.ure-drawer-eyebrow{
  color: var(--red) !important;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.ure-drawer-nav a{
  color: var(--ink) !important;
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  display: block;
  font-size: 1.1rem;
  transition: color var(--dur-1) var(--ease-out), padding var(--dur-2) var(--ease-out);
}
.ure-drawer-nav a:hover{ color: var(--red) !important; padding-right: 8px; }
.ure-mobile-cta{
  background: var(--red) !important;
  color:#fff !important;
  text-align:center;
  border-radius: var(--r-pill);
  padding: 14px 22px;
  display:block;
  margin-top: 20px;
  font-weight: 400;
}

/* ---------- 4. HERO (split layout) ---------- */
#hero.hero, .hero.section{
  background: var(--bg) !important;
  min-height: auto;
  position: relative;
  display: flex;
  align-items: center;
  padding: 76px 0 40px !important;
  overflow: hidden;
}
#hero.hero::before{
  content:"";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(200,16,46,.06), transparent 35%),
    radial-gradient(circle at 92% 88%, rgba(10,37,64,.05), transparent 40%);
  pointer-events: none;
  z-index: 0;
}
#hero.hero .container{ position: relative; z-index: 1; }

@media (max-width: 767px){
  #hero.hero{ min-height: auto; padding: 70px 0 32px !important; text-align: center; }
}

/* RTL split: text right, image left */
.hero-grid{ align-items: center; }
.hero-text-col{ position: relative; }

/* Headline */
#hero.hero h1.hero-headline{
  font-size: clamp(2rem, 4.6vw, 3.6rem) !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  opacity: 0;
  transform: translateY(14px);
  animation: hero-rise 700ms var(--ease-out) 120ms forwards;
}
#hero.hero h1.hero-headline .hl{
  position: relative;
  display: inline-block;
  color: var(--ink) !important;
  white-space: nowrap;
}
#hero.hero h1.hero-headline .hl::after{
  content:"";
  position: absolute;
  inset: auto 0 4px 0;
  height: 10px;
  background: linear-gradient(90deg, #f1c34d, #d99820);
  border-radius: 6px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right; /* RTL */
  animation: hl-sweep 800ms var(--ease-out) 700ms forwards;
}

#hero.hero p.hero-sub{
  font-size: 1.08rem;
  color: var(--ink-2) !important;
  line-height: 2;
  max-width: 540px;
  margin: 0 0 32px;
  opacity: 0;
  transform: translateY(12px);
  animation: hero-rise 600ms var(--ease-out) 280ms forwards;
}

/* Stats row */
.hero-stats{
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 0 0 36px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  opacity: 0;
  transform: translateY(12px);
  animation: hero-rise 600ms var(--ease-out) 440ms forwards;
}
.hero-stat{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 92px;
}
.hero-stat .num{
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat .label{
  font-size: 0.86rem;
  color: var(--ink-3);
  font-weight: 500;
}

/* CTA row */
.hero-cta-row{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  animation: hero-rise 600ms var(--ease-out) 600ms forwards;
}
.hero-cta-row.hero-cta-centered{
  justify-content: center;
  margin-top: 56px;
  animation-delay: 760ms;
}
.hero-cta-row.hero-cta-centered .btn-hero-primary,
.hero-cta-row.hero-cta-centered .btn-hero-secondary{
  min-width: 240px;
  justify-content: center;
  padding: 18px 40px !important;
  font-size: 1.05rem !important;
}
@media (max-width: 600px){
  .hero-cta-row.hero-cta-centered .btn-hero-primary,
  .hero-cta-row.hero-cta-centered .btn-hero-secondary{
    min-width: unset;
    width: 100%;
  }
}

/* Scroll cue v2 */
.hero-scroll-cue-v2{
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-2) !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  animation: hero-rise 600ms var(--ease-out) 900ms forwards;
}
.hero-scroll-cue-v2 .cue-arrow{
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  animation: cue-bounce 1.6s ease-in-out infinite;
}
.hero-scroll-cue-v2:hover{ color: var(--red) !important; }
.hero-scroll-cue-v2:hover .cue-arrow{ color: var(--red); }
.btn-hero-primary{
  background: var(--blue) !important;
  color: #fff !important;
  padding: 14px 30px !important;
  border-radius: var(--r-pill) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0 !important;
  font-size: 1rem;
  transition: background var(--dur-1) var(--ease-out),
              transform var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
  box-shadow: 0 14px 32px -14px rgba(10,37,64,.55);
}
.btn-hero-primary:hover{
  background: var(--blue-mid) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(10,37,64,.6);
}
.btn-hero-secondary{
  background: var(--blue-tint) !important;
  color: var(--blue) !important;
  padding: 14px 30px !important;
  border-radius: var(--r-pill) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent !important;
  font-size: 1rem;
  transition: background var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out),
              color var(--dur-1) var(--ease-out);
}
.btn-hero-secondary:hover{
  background: #fff !important;
  border-color: var(--blue) !important;
}

/* Tilted image */
.hero-img-col{ position: relative; display: flex; justify-content: center; }
.hero-img-tilt{
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  transform: rotate(-3deg);
  box-shadow: 0 30px 80px -22px rgba(10,37,64,.32);
  animation: tilt-in 1000ms var(--ease-out) 200ms backwards;
  transition: transform 600ms var(--ease-out);
  width: 80%;
  max-width: 460px;
}
.hero-img-tilt:hover{ transform: rotate(-1.2deg) translateY(-4px); }
.hero-img-tilt img{
  width: 100%;
  height: clamp(280px, 42vh, 420px);
  object-fit: cover;
  display: block;
}
@keyframes tilt-in{
  from{ opacity: 0; transform: rotate(-9deg) translateY(50px); }
  to  { opacity: 1; transform: rotate(-3deg) translateY(0); }
}

/* Decorative red accent dot beneath the image (cosmetic) */
.hero-img-col::after{
  content:"";
  position: absolute;
  width: 140px;
  height: 140px;
  background: var(--red-tint);
  border-radius: 50%;
  bottom: -32px;
  left: -32px; /* visual on left in RTL flow */
  z-index: -1;
  filter: blur(2px);
  opacity: 0;
  animation: hero-rise 800ms var(--ease-out) 700ms forwards;
}

@media (max-width: 767px){
  .hero-text-col{ text-align: center; }
  .hero-sub{ margin-left: auto !important; margin-right: auto !important; }
  .hero-stats{ justify-content: center; }
  .hero-cta-row{ justify-content: center; }
  .hero-img-tilt{ margin-top: 32px; transform: rotate(-2deg); }
  .hero-img-tilt:hover{ transform: rotate(-0.8deg) translateY(-4px); }
}

@keyframes hl-sweep{ to{ transform: scaleX(1); } }
@keyframes hero-rise{
  to{ opacity: 1; transform: translateY(0); }
}
@keyframes hero-rise-cta{
  to{ opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-bar{
  to{ opacity: 1; transform: scaleX(1); }
}

/* Scroll cue */
.hero-scroll-cue{
  margin-top: 64px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-3) !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--dur-1) var(--ease-out);
}
.hero-scroll-cue:hover{ color: var(--red) !important; }
.hero-scroll-cue .scroll-cue-icon{
  display: inline-flex;
  width: 40px; height: 40px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  animation: cue-bounce 1.6s ease-in-out infinite;
  transition: border-color var(--dur-2) var(--ease-out);
}
.hero-scroll-cue:hover .scroll-cue-icon{ border-color: var(--red); }
@keyframes cue-bounce{
  0%, 100%{ transform: translateY(0); }
  50%     { transform: translateY(6px); }
}

/* ---------- 5. SECTION HEADING PATTERN ---------- */
.section-title{ position: relative; }
.section-title h2{
  font-size: clamp(1.6rem, 3vw, 2.5rem) !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
}
.section-title h2::before{
  content: "—";
  color: var(--red);
  margin-left: 10px;
  font-weight: 500;
}
.section-title p{
  color: var(--ink-3);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.section-title::after{
  content:"";
  display:block;
  width: 56px;
  height: 3px;
  background: var(--red);
  margin: 22px auto 0;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right; /* RTL */
  transition: transform var(--dur-3) var(--ease-out);
}
.section-title.is-in::after{ transform: scaleX(1); }

/* ---------- 6. GALLERY ---------- */
.ure-gallery-section{
  background: var(--bg) !important;
  padding: 96px 0 !important;
}
.ure-gallery-title{
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  font-weight: 500;
  text-align: center;
  margin-bottom: 12px;
}
.ure-gallery-line{
  width: 56px; height: 3px;
  background: var(--red);
  margin: 0 auto 48px;
  border-radius: 2px;
}

.ure-gallery-carousel{
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--ink);
}
.ure-gallery-carousel .carousel-item img{
  height: clamp(320px, 60vh, 640px);
  object-fit: cover;
}
.ure-gallery-carousel .carousel-caption{
  inset: auto 0 32px 0;
  background: linear-gradient(180deg, transparent, rgba(14,17,22,.7));
  padding: 28px 16px 16px;
  text-align: center;
}
.ure-gallery-carousel .carousel-caption span{
  display: inline-block;
  background: rgba(255,255,255,.95);
  color: var(--ink) !important;
  font-weight: 500;
  padding: 8px 22px;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
}

/* Indicators -> red active bar */
.ure-gallery-carousel .carousel-indicators{
  margin-bottom: 18px;
}
.ure-gallery-carousel .carousel-indicators [data-bs-target]{
  width: 8px; height: 8px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.55);
  border: 0;
  margin: 0 4px;
  transition: width var(--dur-2) var(--ease-out),
              background var(--dur-2) var(--ease-out);
  opacity: 1;
}
.ure-gallery-carousel .carousel-indicators .active{
  width: 28px;
  background: var(--red);
}

/* Carousel arrows */
.ure-gallery-carousel .carousel-control-prev,
.ure-gallery-carousel .carousel-control-next{
  width: 6%;
  opacity: 0.85;
}
.ure-gallery-carousel .carousel-control-prev-icon,
.ure-gallery-carousel .carousel-control-next-icon{
  background-color: rgba(255,255,255,.95);
  border-radius: 50%;
  padding: 22px;
  background-size: 50% 50%;
  filter: invert(1);
}

/* ---------- 7. LOCATIONS STRIP ---------- */
.lavista-mini-locations{
  background: var(--bg-soft) !important;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 56px 0 !important;
}
.lavista-mini-locations h4{
  color: var(--ink) !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
}
.lavista-mini-locations h4::after{
  content:"";
  display:block;
  width: 36px; height: 3px;
  background: var(--red);
  margin: 12px auto 0;
}
.lavista-mini-locations p{ color: var(--ink-3); margin-top: 12px; }

.locations-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.locations-list a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.92rem;
  transition: border-color var(--dur-1) var(--ease-out),
              color var(--dur-1) var(--ease-out),
              transform var(--dur-1) var(--ease-out),
              background var(--dur-1) var(--ease-out);
}
.locations-list a:hover{
  border-color: var(--red);
  color: var(--red) !important;
  transform: translateY(-1px);
}
.locations-list a small{
  background: var(--red-tint);
  color: var(--red);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 500;
}
.locations-list a.location-new small{ background: var(--red); color:#fff; }

/* ---------- 8. PROJECT HIGHLIGHTS (alternating splits) ---------- */
.new-launch-section{
  background: var(--bg) !important;
  padding: 96px 0 !important;
  position: relative;
}
.new-launch-section:nth-of-type(even){ background: var(--bg-soft) !important; }

.new-launch-section .launch-tag{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-tint);
  color: var(--red) !important;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.new-launch-section .launch-tag::before{
  content:"";
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: dot-pulse 1.6s ease-in-out infinite;
}
@keyframes dot-pulse{
  0%,100%{ box-shadow: 0 0 0 0 rgba(200,16,46,.5); }
  70%   { box-shadow: 0 0 0 8px rgba(200,16,46,0); }
}

.new-launch-section h2{
  font-size: clamp(1.7rem, 3vw, 2.6rem) !important;
  font-weight: 500 !important;
  margin-bottom: 6px;
  color: var(--ink) !important;
}
.new-launch-section h4{
  color: var(--blue) !important;
  font-weight: 500 !important;
  font-size: 1.05rem !important;
  margin-bottom: 22px !important;
}
.new-launch-section .launch-desc{
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.95;
  margin-bottom: 18px;
}
.new-launch-section .launch-desc strong{ color: var(--ink); }

.new-launch-section .launch-features{
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.new-launch-section .launch-features li{
  position: relative;
  padding-right: 22px; /* RTL inside */
  margin-bottom: 10px;
  color: var(--ink-2);
}
.new-launch-section .launch-features li::before{
  content:"";
  position: absolute;
  right: 0;
  top: 10px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 1px;
}

.new-launch-section .launch-units{
  background: var(--blue-tint);
  border-right: 4px solid var(--blue); /* RTL: right side */
  padding: 18px 22px;
  border-radius: var(--r-md);
  margin-bottom: 24px;
}
.new-launch-section .launch-units p{ margin: 4px 0; color: var(--ink-2); }
.new-launch-section .launch-units strong{ color: var(--blue); }

/* Image side reveal */
.new-launch-section .launch-image{
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.new-launch-section .launch-image img{
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 12s var(--ease-out);
}
.new-launch-section .launch-image::after{
  content:"";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1100ms var(--ease-out);
}
.new-launch-section[data-in="true"] .launch-image::after,
.new-launch-section.is-in .launch-image::after{
  transform: scaleX(0);
}
.new-launch-section.is-in .launch-image img{
  transform: scale(1.05);
}

/* Alternate sides */
.new-launch-section:nth-of-type(even) .row{ flex-direction: row-reverse; }

/* ---------- 9. PROJECT CARDS GRID ---------- */
.projects.section{
  background: var(--bg) !important;
  padding: 96px 0 !important;
}
.projects.section.light-background{ background: var(--bg-soft) !important; }

.project-card{
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.project-card:hover{
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.project-card > img{
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform var(--dur-3) var(--ease-out);
}
.project-card:hover > img{ transform: scale(1.04); }

.project-content{
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-content h3{
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink) !important;
}
.project-content .location{
  color: var(--ink-3);
  font-size: 0.92rem;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-content .location i{ color: var(--red); }

.project-content .project-desc{
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 16px;
}
.project-content .project-desc strong{ color: var(--ink); }

.project-content .features{
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
  row-gap: 8px;
}
@media (max-width: 540px){
  .project-content .features{ grid-template-columns: 1fr; }
}
.project-content .features li{
  position: relative;
  padding-right: 16px;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.project-content .features li::before{
  content:"";
  position: absolute;
  right: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 1px;
}

.project-content .launch-units{
  background: var(--blue-tint);
  border-right: 3px solid var(--blue);
  padding: 12px 16px;
  border-radius: var(--r-sm);
  margin: 0 0 18px;
  font-size: 0.9rem;
}
.project-content .launch-units p{ margin: 0; color: var(--ink-2); }
.project-content .launch-units strong{ color: var(--blue); }

.project-content .btn-div{ margin-top: auto; }

/* Outlined variant of register button used inside cards */
.project-card .btn-register{
  width: 100%;
  justify-content: center;
}

/* ---------- 10. MODAL ---------- */
#staticBackdrop .modal-content{
  border-radius: var(--r-lg) !important;
  border: 0 !important;
  overflow: hidden;
  position: relative;
  background: #fff;
  box-shadow: 0 24px 80px -20px rgba(10,37,64,.35);
}
#staticBackdrop .modal-content::before{
  content:"";
  display:block;
  height: 4px;
  background: var(--red);
}
#staticBackdrop .modal-body{ padding: 36px !important; }
#staticBackdrop h3{
  color: var(--ink) !important;
  font-weight: 500 !important;
  font-size: 1.45rem !important;
}
#staticBackdrop p{ color: var(--ink-3); }

/* Inputs: bottom-border only */
#staticBackdrop .form-control{
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hairline) !important;
  border-radius: 0 !important;
  padding: 14px 4px !important;
  font-size: 1rem !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  transition: border-color var(--dur-1) var(--ease-out);
}
#staticBackdrop .form-control:focus{
  border-bottom-color: var(--red) !important;
  outline: none !important;
}
#staticBackdrop .form-control::placeholder{ color: var(--ink-3); }

#staticBackdrop .btn-register{
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

#staticBackdrop .btn-close{
  background-color: transparent;
  opacity: 0.7;
  transition: opacity var(--dur-1) var(--ease-out);
}
#staticBackdrop .btn-close:hover{ opacity: 1; }

.modal-backdrop.show{
  background: rgba(10,37,64,.5) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1 !important;
}

.modal.fade .modal-dialog{
  transition: transform var(--dur-2) var(--ease-out),
              opacity var(--dur-2) var(--ease-out);
  transform: scale(.96);
  opacity: 0;
}
.modal.show .modal-dialog{ transform: scale(1); opacity: 1; }

/* ---------- 11. FOOTER (dark navy) ---------- */
.footer, footer.footer, .footer.dark-background{
  background: #0a1929 !important;
  color: #e6eaf0 !important;
  border-top: 0 !important;
  padding-top: 80px !important;
  position: relative;
}

.footer .footer-top{
  padding-bottom: 40px;
}

/* Brand column */
.footer-about{ text-align: right; }
.footer-brand-logo{
  display: inline-block;
  margin-bottom: 22px;
}
.footer-brand-logo img{
  max-height: 84px;
  width: auto;
  filter: brightness(1.05);
}
.footer-brand-name{
  color: #fff !important;
  font-weight: 500 !important;
  font-size: 1.7rem !important;
  margin: 0 0 14px;
  line-height: 1.3;
}
.footer-brand-tagline{
  color: rgba(255,255,255,.55) !important;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Column headers */
.footer h4{
  color: #fff !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  margin: 0 0 26px !important;
  padding: 0 !important;
  text-align: right;
}
.footer h4::after{ display: none !important; }

/* Lists */
.footer ul{
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.footer ul li{
  padding: 8px 0 !important;
  color: rgba(255,255,255,.7) !important;
  display: block !important;
  text-align: right;
  font-size: 1rem;
  border: 0 !important;
}
.footer ul li i{ color: inherit; font-size: inherit; }
.footer ul li a{
  color: rgba(255,255,255,.7) !important;
  text-decoration: none !important;
  transition: color var(--dur-1) var(--ease-out),
              padding var(--dur-2) var(--ease-out);
  display: inline-block;
}
.footer ul li a:hover{
  color: #fff !important;
  padding-right: 6px;
}

/* Contact column */
.footer-contact-item{
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
}
.footer-contact-item .contact-icon{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  transition: background var(--dur-1) var(--ease-out);
}
.footer-contact-item:hover .contact-icon{
  background: var(--red);
}
.footer-contact-item .contact-text{
  color: rgba(255,255,255,.85);
  direction: ltr;
}

/* Hide the legacy mark/rule decoration */
.footer-mark, .footer-mark-row{ display: none !important; }

/* Copyright */
.copyright p{ color: rgba(255,255,255,.5) !important; }
.copyright a{ color: rgba(255,255,255,.7) !important; }
.copyright a:hover{ color: #fff !important; }

/* URE bottom bar — dark variant */
.ure-bottom-bar{
  background: rgba(0,0,0,.25) !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.7) !important;
  margin-top: 32px !important;
}
.ure-bottom-bar div, .ure-bottom-bar p{
  color: rgba(255,255,255,.7) !important;
  opacity: 1 !important;
}
.ure-bottom-bar a, .ure-bottom-bar nav a{
  color: rgba(255,255,255,.7) !important;
  opacity: 1 !important;
  text-decoration: none !important;
  transition: color var(--dur-1) var(--ease-out);
}
.ure-bottom-bar a:hover, .ure-bottom-bar nav a:hover{ color: #fff !important; }
.ure-bottom-bar i.bi-headset,
.ure-bottom-bar i.bi-patch-check-fill,
.ure-bottom-bar strong,
.ure-bottom-bar span[style]{
  color: #fff !important;
}

@media (max-width: 767px){
  .footer{ padding-top: 56px !important; }
  .footer-about{ text-align: center; }
  .footer-about h4, .footer-links h4, .footer-links ul li,
  .footer-links ul li a, .footer-contact-item{ text-align: center !important; justify-content: center; }
}

/* ---------- 12. SCROLL TO TOP (left side) ---------- */
.scroll-top{
  background: var(--blue) !important;
  color: #fff !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  box-shadow: 0 14px 32px -14px rgba(10,37,64,.55) !important;
  border: 0 !important;
  position: fixed !important;
  left: 22px !important;
  right: auto !important;
  bottom: 26px !important;
  z-index: 998;
  transition: transform var(--dur-1) var(--ease-out),
              background var(--dur-1) var(--ease-out);
}
.scroll-top:hover{
  background: var(--blue-mid) !important;
  transform: translateY(-2px);
  color: #fff !important;
}
@media (max-width: 600px){
  .scroll-top{ left: 16px !important; bottom: 20px !important; width: 44px !important; height: 44px !important; }
}

/* ---------- 13. SCROLL REVEAL ---------- */
[data-reveal]{
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out),
              transform var(--dur-3) var(--ease-out),
              clip-path var(--dur-4) var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal="fade-up"]{ transform: translateY(28px); }
[data-reveal="fade-in"]{ }
[data-reveal="mask-x"]{ clip-path: inset(0 0 0 100%); } /* RTL: from right */

[data-reveal].is-in{
  opacity: 1;
  transform: none;
  clip-path: inset(0);
}

/* ---------- 14. FOCUS ---------- */
a:focus-visible, button:focus-visible, .form-control:focus-visible{
  outline: 2px solid var(--blue) !important;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 15. ALERTS (form feedback) ---------- */
.alerts{
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.alerts > div{
  padding: 14px 20px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
  font-weight: 500;
}
.alerts .success{ border-color: #1ea968; color: #0f6c41; }
.alerts .error  { border-color: var(--red); color: var(--red); }

/* ---------- 16. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #hero.hero h2{ clip-path: none; }
  .new-launch-section .launch-image::after{ display: none; }
  [data-reveal]{ opacity: 1; transform: none; clip-path: none; }
}

/* ---------- 17a-v2. ABOUT V2 (centered header + feature cards + quality badge) ---------- */
.about-v2{
  background: var(--bg-soft) !important;
  padding: 96px 0 !important;
}

.about-v2 .about-header{
  margin-bottom: 64px;
}
.about-v2 .about-eyebrow-pill{
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 8px 28px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.about-v2 .about-main-title{
  font-size: clamp(1.9rem, 4.4vw, 3.4rem) !important;
  font-weight: 400 !important;
  color: var(--blue) !important;
  margin: 0 0 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.about-v2 .about-main-sub{
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.95;
}

/* Story title (right column) */
.about-v2 .about-story-title{
  font-size: clamp(1.4rem, 2.4vw, 2rem) !important;
  font-weight: 500 !important;
  color: var(--blue) !important;
  margin: 0 0 22px;
  position: relative;
  padding-right: 18px;
  line-height: 1.3;
}
.about-v2 .about-story-title::before{
  content:"";
  position: absolute;
  right: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: var(--red);
  border-radius: 2px;
}
.about-v2 p{
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 2;
  margin-bottom: 18px;
}
.about-v2 p strong{ color: var(--ink); font-weight: 500; }

/* Simple centered story layout (no side cards) */
.about-v2.about-simple .about-story{
  max-width: 820px;
  margin: 0 auto;
}
.about-v2.about-simple .about-story-title{
  padding-right: 0;
  margin-bottom: 28px;
}
.about-v2.about-simple .about-story-title::before{
  display: none;
}

/* Feature cards (left column) */
.about-feature-card{
  background: #fff;
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 16px 40px -22px rgba(10,37,64,.22);
  border: 1px solid var(--hairline);
  transition: transform var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out);
  position: relative;
  /* Hidden until in view */
  opacity: 0;
  transform: translateX(28px) scale(.97);
}
.about-feature-card.is-in{
  animation: about-pulse-in 800ms var(--ease-out) forwards;
}
.about-feature-card.is-in:nth-of-type(1){ animation-delay: 0ms; }
.about-feature-card.is-in:nth-of-type(2){ animation-delay: 130ms; }
.about-feature-card.is-in:nth-of-type(3){ animation-delay: 260ms; }

@keyframes about-pulse-in{
  0%   { opacity: 0; transform: translateX(28px) scale(.97); }
  55%  { opacity: 1; transform: translateX(-6px) scale(1.03); box-shadow: 0 24px 50px -22px rgba(20,70,122,.32); }
  75%  { transform: translateX(2px) scale(.99); }
  100% { opacity: 1; transform: translateX(0) scale(1); box-shadow: 0 16px 40px -22px rgba(10,37,64,.22); }
}
.about-feature-card:last-child{ margin-bottom: 0; }
.about-feature-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 48px -22px rgba(10,37,64,.28);
  border-color: rgba(217,152,32,.4);
}
.about-feature-card .card-content{
  flex: 1;
  text-align: right;
}
.about-feature-card h4{
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: var(--blue) !important;
  margin: 0 0 6px !important;
}
.about-feature-card p{
  font-size: 0.92rem;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.55;
}
.about-feature-card .card-icon{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f1c34d, #d99820);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 10px 22px -8px rgba(217,152,32,.5);
  transition: transform var(--dur-2) var(--ease-out);
}
.about-feature-card:hover .card-icon{
  transform: scale(1.06) rotate(-3deg);
}

/* Quality badge */
.about-quality-badge{
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  box-shadow: 0 16px 40px -18px rgba(10,37,64,.4);
}
.about-quality-badge .badge-icon{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.about-quality-badge .badge-text{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
.about-quality-badge strong{
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
}
.about-quality-badge span{
  font-size: 0.92rem;
  opacity: 0.85;
  color: #fff;
}

@media (max-width: 991px){
  .about-v2{ padding: 64px 0 !important; }
  .about-v2 .about-header{ margin-bottom: 40px; }
  .about-quality-badge{ flex-direction: column; text-align: center; }
  .about-quality-badge .badge-text{ justify-content: center; flex-direction: column; }
}

/* ---------- 17a. ABOUT SECTION ---------- */
.about-section{
  background: var(--bg) !important;
  padding: 96px 0 !important;
}
.about-section .section-eyebrow{
  display: inline-block;
  color: var(--red);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
  padding-bottom: 8px;
  position: relative;
}
.about-section .section-eyebrow::after{
  content:"";
  position: absolute;
  right: 0; bottom: 0;
  width: 32px; height: 2px;
  background: var(--red);
}
.about-section .section-h2{
  font-size: clamp(1.7rem, 3vw, 2.4rem) !important;
  font-weight: 500 !important;
  margin-bottom: 22px;
  color: var(--ink) !important;
  line-height: 1.2;
}
.about-section p{
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 2;
  margin-bottom: 16px;
}
.about-section p strong{ color: var(--ink); }

.about-image-wrap{
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-image-wrap img{
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}
.about-stat{
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 4px solid var(--red);
}
.about-stat-num{
  color: var(--red);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}
.about-stat-label{
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 400;
}

/* ---------- PROJECT DETAIL PAGE ---------- */
.project-hero .project-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-tint);
  color: var(--blue);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.project-hero .project-eyebrow i{ color: var(--red); }

.project-stats{
  background: var(--bg-soft) !important;
  padding: 56px 0 !important;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.project-stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991px){ .project-stats-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .project-stats-grid{ grid-template-columns: 1fr; } }

.stat-tile{
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: transform var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
}
.stat-tile:hover{
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 18px 40px -22px rgba(10,37,64,.28);
}
.stat-icon{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 8px;
  box-shadow: 0 10px 22px -8px rgba(10,37,64,.45);
}
.stat-value{
  color: var(--blue);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stat-label{
  color: var(--ink-3);
  font-size: 0.92rem;
}

/* ---------- PROJECT CONTENT SECTION ---------- */
.project-content{
  background: var(--bg) !important;
  padding: 96px 0 !important;
}
.project-content-header{
  margin-bottom: 56px;
}
.project-content-header .eyebrow-pill{
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 8px 28px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.project-content-header h2{
  font-size: clamp(1.9rem, 4.4vw, 3rem) !important;
  font-weight: 600 !important;
  color: var(--blue) !important;
  margin: 0 0 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.project-content-intro{
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.95;
}

.project-content-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.project-content-block{
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  box-shadow: 0 14px 36px -22px rgba(10,37,64,.18);
  transition: transform var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
  position: relative;
}
.project-content-block:hover{
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 24px 50px -22px rgba(10,37,64,.28);
}
.project-content-block .block-icon{
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 12px 24px -10px rgba(10,37,64,.5);
}
.project-content-block .block-body{ flex: 1; }
.project-content-block h3{
  color: var(--blue) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin: 0 0 10px !important;
  line-height: 1.4;
}
.project-content-block p{
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.95;
  margin: 0;
}

@media (max-width: 600px){
  .project-content{ padding: 64px 0 !important; }
  .project-content-block{
    flex-direction: column;
    padding: 26px;
    text-align: center;
    align-items: center;
  }
}

/* ---------- 17a-v3. PROJECTS SHOWCASE ---------- */
.projects-showcase{
  background: var(--bg) !important;
  padding: 96px 0 !important;
}
.projects-showcase-header{
  margin-bottom: 56px;
}
.projects-showcase-header .eyebrow-pill{
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 8px 28px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.projects-showcase-header h2{
  font-size: clamp(1.9rem, 4.4vw, 3.2rem) !important;
  font-weight: 400 !important;
  color: var(--blue) !important;
  margin: 0 0 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.projects-showcase-header p{
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.85;
}

.projects-showcase-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1199px){
  .projects-showcase-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .projects-showcase-grid{ grid-template-columns: 1fr; gap: 22px; }
}

.project-show-card{
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: 0 18px 44px -22px rgba(10,37,64,.18);
  transition: transform 480ms var(--ease-out),
              box-shadow 480ms var(--ease-out),
              border-color 320ms var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
  /* Hidden until scroll-into-view */
  opacity: 0;
  transform: translateY(28px) scale(.94);
}
/* When in view (added by reveal.js IntersectionObserver) — pulse-in */
.project-show-card.is-in{
  animation: card-pulse-in 900ms var(--ease-out) forwards;
}
.project-show-card.is-in:nth-of-type(1){ animation-delay: 0ms; }
.project-show-card.is-in:nth-of-type(2){ animation-delay: 140ms; }
.project-show-card.is-in:nth-of-type(3){ animation-delay: 280ms; }
.project-show-card.is-in:nth-of-type(4){ animation-delay: 420ms; }

@keyframes card-pulse-in{
  0%   { opacity: 0; transform: translateY(28px) scale(.94); }
  55%  { opacity: 1; transform: translateY(-6px) scale(1.04); box-shadow: 0 30px 60px -22px rgba(20,70,122,.32); }
  75%  { transform: translateY(2px) scale(.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); box-shadow: 0 18px 44px -22px rgba(10,37,64,.18); }
}

/* Continuous gentle pulse-glow on the card while at rest */
.project-show-card.is-in::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(20,70,122,0);
  animation: card-resting-pulse 3.6s var(--ease-out) infinite;
  animation-delay: 1.2s;
  z-index: 0;
}
.project-show-card:nth-of-type(1).is-in::after{ animation-delay: 1.2s; }
.project-show-card:nth-of-type(2).is-in::after{ animation-delay: 1.5s; }
.project-show-card:nth-of-type(3).is-in::after{ animation-delay: 1.8s; }
.project-show-card:nth-of-type(4).is-in::after{ animation-delay: 2.1s; }
.project-show-card:hover::after{ animation-play-state: paused; }

@keyframes card-resting-pulse{
  0%   { box-shadow: 0 0 0 0 rgba(20,70,122,.18); }
  60%  { box-shadow: 0 0 0 12px rgba(20,70,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,70,122,0); }
}

/* Soft outer glow that animates on hover */
.project-show-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(10,37,64,0);
  transition: box-shadow 600ms var(--ease-out);
  z-index: 0;
}
.project-show-card:hover{
  transform: translateY(-10px) scale(1.012);
  box-shadow: 0 32px 64px -22px rgba(10,37,64,.32);
  border-color: var(--blue-tint);
}
.project-show-card:hover::before{
  box-shadow: 0 0 0 6px rgba(20,70,122,.06);
}

/* Image: subtle Ken-Burns at rest, brighter zoom on hover */
.project-show-card .img-wrap img{
  animation: card-img-drift 14s ease-in-out infinite alternate;
}
.project-show-card:hover .img-wrap img{
  animation-play-state: paused;
}
@keyframes card-img-drift{
  0%   { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.06) translate(-1.5%, -1%); }
}

/* Title shifts on hover */
.project-show-card h3{
  transition: color var(--dur-1) var(--ease-out),
              transform 360ms var(--ease-out);
}
.project-show-card:hover h3{
  color: var(--red) !important;
  transform: translateX(-3px); /* RTL: subtle slide outward */
}

/* Tags lift in sequence on hover */
.project-show-card .tag{
  transition: transform 320ms var(--ease-out),
              background var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out);
}
.project-show-card:hover .tag:nth-child(1){ transform: translateY(-2px); transition-delay: 0ms; }
.project-show-card:hover .tag:nth-child(2){ transform: translateY(-2px); transition-delay: 60ms; }

/* Action buttons gentle pop on card hover */
.project-show-card:hover .btn-whatsapp-card{
  box-shadow: 0 10px 22px -10px rgba(37,211,102,.55);
}
.project-show-card:hover .btn-details{
  border-color: var(--blue);
  background: var(--blue-tint);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .project-show-card{
    opacity: 1;
    transform: none;
    animation: none;
  }
  .project-show-card .img-wrap img{ animation: none; }
}

.project-show-card .img-wrap{
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4f6f9;
}
.project-show-card .img-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.project-show-card:hover .img-wrap img{ transform: scale(1.06); }

/* New launch badge (top-left in RTL = top-right visually... use start) */
.project-show-card .new-badge{
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: #25d366;
  color: #fff !important;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 500;
  z-index: 2;
  box-shadow: 0 8px 18px -6px rgba(37,211,102,.5);
}

/* Top meta pills (location + size) */
.project-show-card .meta-top{
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  z-index: 2;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--dur-2) var(--ease-out),
              transform var(--dur-2) var(--ease-out);
}
.project-show-card:hover .meta-top{ opacity: 1; transform: translateY(0); }
.project-show-card .meta-pill{
  background: rgba(255,255,255,.96);
  color: var(--blue);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 16px -6px rgba(10,37,64,.25);
}
.project-show-card .meta-pill i{ color: var(--red); }

/* Hover overlay with explore button */
.project-show-card .img-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,37,64,.15), rgba(10,37,64,.55));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--dur-2) var(--ease-out);
  z-index: 1;
}
.project-show-card:hover .img-overlay{ opacity: 1; }
.project-show-card .explore-btn{
  background: #fff;
  color: var(--blue) !important;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  font-weight: 500;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  transform: translateY(10px) scale(.96);
  opacity: 0;
  transition: transform var(--dur-2) var(--ease-out),
              opacity var(--dur-2) var(--ease-out),
              background var(--dur-1) var(--ease-out);
  box-shadow: 0 14px 32px -10px rgba(10,37,64,.4);
}
.project-show-card:hover .explore-btn{
  transform: translateY(0) scale(1);
  opacity: 1;
}
.project-show-card .explore-btn:hover{
  background: var(--blue);
  color: #fff !important;
}

/* Card body */
.project-show-card .body{
  padding: 26px 26px 24px;
  text-align: right;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-show-card h3{
  color: var(--blue) !important;
  font-weight: 800 !important;
  font-size: 1.35rem !important;
  margin: 0 0 12px !important;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.project-show-card .desc{
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-show-card .tags{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.project-show-card .tag{
  background: var(--bg-soft);
  color: var(--ink-2);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--hairline);
}
.project-show-card .tag i{ color: var(--blue); font-size: 0.85rem; }

.project-show-card .actions{
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.project-show-card .btn-whatsapp-card,
.project-show-card .btn-details{
  flex: 1;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--dur-1) var(--ease-out),
              color var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out),
              transform var(--dur-1) var(--ease-out);
}
.project-show-card .btn-whatsapp-card{
  background: #25d366;
  color: #fff !important;
  border: 1px solid #25d366;
}
.project-show-card .btn-whatsapp-card:hover{
  background: #1bb958;
  border-color: #1bb958;
  transform: translateY(-1px);
}
.project-show-card .btn-details{
  background: #fff;
  color: var(--blue) !important;
  border: 1px solid var(--hairline);
}
.project-show-card .btn-details:hover{
  border-color: var(--blue);
  background: var(--blue-tint);
  transform: translateY(-1px);
}

@media (max-width: 600px){
  .project-show-card .meta-top{ opacity: 1; transform: none; }
}

/* ---------- 17a-v4. GALLERY V2 ---------- */
.gallery-v2{
  background: var(--bg-soft) !important;
  padding: 96px 0 !important;
}
.gallery-v2 .gallery-header{
  margin-bottom: 56px;
}
.gallery-v2 .eyebrow-pill{
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 8px 28px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.gallery-v2 h2{
  font-size: clamp(1.9rem, 4.4vw, 3.2rem) !important;
  font-weight: 400 !important;
  color: var(--blue) !important;
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.gallery-v2 .gallery-header p{
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.85;
}

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991px){ .gallery-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .gallery-grid{ grid-template-columns: 1fr; } }

.gallery-item{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f0f3f7;
  box-shadow: 0 14px 36px -22px rgba(10,37,64,.18);
  transition: transform var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
  cursor: pointer;
  display: block;
  text-decoration: none !important;
  /* Hidden until in view */
  opacity: 0;
  transform: translateY(24px) scale(.95);
}
.gallery-item.is-in{
  animation: gallery-pulse-in 800ms var(--ease-out) forwards;
}
/* Stagger by column position (3-col grid) */
.gallery-item.is-in:nth-child(3n+1){ animation-delay: 0ms; }
.gallery-item.is-in:nth-child(3n+2){ animation-delay: 100ms; }
.gallery-item.is-in:nth-child(3n+3){ animation-delay: 200ms; }

@keyframes gallery-pulse-in{
  0%   { opacity: 0; transform: translateY(24px) scale(.95); }
  55%  { opacity: 1; transform: translateY(-4px) scale(1.03); box-shadow: 0 24px 48px -22px rgba(20,70,122,.32); }
  75%  { transform: translateY(2px) scale(.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); box-shadow: 0 14px 36px -22px rgba(10,37,64,.18); }
}

/* Resting pulse-glow on gallery items (subtle) */
.gallery-item.is-in::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(20,70,122,0);
  animation: gallery-resting-pulse 4s var(--ease-out) infinite;
  z-index: 0;
}
.gallery-item.is-in:nth-child(3n+1)::before{ animation-delay: 1.4s; }
.gallery-item.is-in:nth-child(3n+2)::before{ animation-delay: 1.7s; }
.gallery-item.is-in:nth-child(3n+3)::before{ animation-delay: 2.0s; }
.gallery-item:hover::before{ animation-play-state: paused; }

@keyframes gallery-resting-pulse{
  0%   { box-shadow: 0 0 0 0 rgba(20,70,122,.14); }
  60%  { box-shadow: 0 0 0 10px rgba(20,70,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,70,122,0); }
}

@media (prefers-reduced-motion: reduce){
  .gallery-item{ opacity: 1; transform: none; }
  .gallery-item.is-in{ animation: none; }
  .gallery-item.is-in::before{ animation: none; }
}
.gallery-item:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 48px -22px rgba(10,37,64,.32);
}
.gallery-item > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms var(--ease-out);
}
.gallery-item:hover > img{ transform: scale(1.06); }

.gallery-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,25,41,0.55), rgba(10,25,41,0.78));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease-out);
}
.gallery-item:hover .gallery-overlay{ opacity: 1; }
.gallery-overlay-icon{
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  transform: translateY(8px) scale(.96);
  opacity: 0;
  transition: transform var(--dur-2) var(--ease-out),
              opacity var(--dur-2) var(--ease-out);
}
.gallery-item:hover .gallery-overlay-icon{
  transform: translateY(0) scale(1);
  opacity: 1;
}
.gallery-overlay-text{
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
  transform: translateY(8px);
  opacity: 0;
  transition: transform var(--dur-2) var(--ease-out) 60ms,
              opacity var(--dur-2) var(--ease-out) 60ms;
}
.gallery-item:hover .gallery-overlay-text{
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 991px){
  .gallery-v2{ padding: 64px 0 !important; }
  .gallery-v2 .gallery-header{ margin-bottom: 40px; }
}

/* ---------- 17b. WHY SECTION (v2) ---------- */
.why-section{
  background: var(--bg) !important;
  padding: 96px 0 !important;
}
.why-v2 .why-main-title{
  font-size: clamp(1.9rem, 4.4vw, 3rem) !important;
  font-weight: 400 !important;
  color: var(--blue) !important;
  margin: 0 0 56px;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}
@media (max-width: 991px){ .why-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .why-grid{ grid-template-columns: 1fr; } }

.why-v2 .why-card{
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 40px 28px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 14px 36px -22px rgba(10,37,64,.18);
  transition: transform var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
  position: relative;
  /* Hidden until in view */
  opacity: 0;
  transform: translateY(28px) scale(.94);
}
.why-v2 .why-card.is-in{
  animation: why-pulse-in 850ms var(--ease-out) forwards;
}
.why-v2 .why-card.is-in:nth-child(3n+1){ animation-delay: 0ms; }
.why-v2 .why-card.is-in:nth-child(3n+2){ animation-delay: 130ms; }
.why-v2 .why-card.is-in:nth-child(3n+3){ animation-delay: 260ms; }

@keyframes why-pulse-in{
  0%   { opacity: 0; transform: translateY(28px) scale(.94); }
  55%  { opacity: 1; transform: translateY(-6px) scale(1.04); box-shadow: 0 26px 52px -22px rgba(20,70,122,.32); }
  75%  { transform: translateY(2px) scale(.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); box-shadow: 0 14px 36px -22px rgba(10,37,64,.18); }
}

/* Resting pulse ring */
.why-v2 .why-card.is-in::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(20,70,122,0);
  animation: why-resting-pulse 4s var(--ease-out) infinite;
  z-index: 0;
}
.why-v2 .why-card.is-in:nth-child(3n+1)::before{ animation-delay: 1.4s; }
.why-v2 .why-card.is-in:nth-child(3n+2)::before{ animation-delay: 1.7s; }
.why-v2 .why-card.is-in:nth-child(3n+3)::before{ animation-delay: 2.0s; }
.why-v2 .why-card:hover::before{ animation-play-state: paused; }

@keyframes why-resting-pulse{
  0%   { box-shadow: 0 0 0 0 rgba(20,70,122,.16); }
  60%  { box-shadow: 0 0 0 12px rgba(20,70,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,70,122,0); }
}

@media (prefers-reduced-motion: reduce){
  .why-v2 .why-card{ opacity: 1; transform: none; }
  .why-v2 .why-card.is-in, .why-v2 .why-card.is-in::before{ animation: none; }
}
.why-v2 .why-card:hover{
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 24px 54px -22px rgba(10,37,64,.32);
}
.why-v2 .why-icon{
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.85rem;
  margin: 0 auto 22px;
  box-shadow: 0 10px 24px -8px rgba(10,37,64,.45);
  transition: transform var(--dur-2) var(--ease-out),
              background var(--dur-2) var(--ease-out);
}
.why-v2 .why-card:hover .why-icon{
  transform: scale(1.08) rotate(-4deg);
}
.why-v2 .why-card h3{
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  margin: 0 0 14px !important;
  color: var(--blue) !important;
}
.why-v2 .why-card p{
  color: var(--ink-3);
  font-size: 0.95rem;
  line-height: 1.85;
  margin: 0;
  max-width: 280px;
}

@media (max-width: 991px){
  .why-section{ padding: 64px 0 !important; }
  .why-v2 .why-main-title{ margin-bottom: 40px; }
}

/* ---------- 17c. CTA BANNER ---------- */
.cta-banner{
  background: var(--blue) !important;
  color: #fff !important;
  padding: 80px 0 !important;
  position: relative;
  overflow: hidden;
}
.cta-banner::before{
  content:"";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(200,16,46,.25), transparent 55%);
  pointer-events: none;
}
.cta-banner .container{ position: relative; z-index: 1; }
.cta-banner h2{
  color: #fff !important;
  font-size: clamp(1.7rem, 3vw, 2.6rem) !important;
  font-weight: 500 !important;
  margin-bottom: 12px;
}
.cta-banner p{
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.cta-banner-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-banner .btn-cta-primary{
  background: #25d366;
  color: #fff !important;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  font-weight: 500;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
  box-shadow: 0 14px 32px -14px rgba(37,211,102,.6);
}
.cta-banner .btn-cta-primary:hover{ background: #1bb958; transform: translateY(-1px); }
.cta-banner .btn-cta-secondary{
  background: transparent;
  color: #fff !important;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  font-weight: 500;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.5);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.cta-banner .btn-cta-secondary:hover{
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

/* ---------- 17d. FLOATING CONTACT BUTTONS (halo ring style) ---------- */
.floating-contact{
  position: fixed;
  right: 22px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 998;
}
.fc-btn{
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 1.55rem;
  text-decoration: none !important;
  border: 0;
  transition: transform var(--dur-1) var(--ease-out);
}
.fc-btn::before{
  /* Outer halo ring (static) */
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.07);
  z-index: -1;
}
.fc-btn::after{
  /* Animated pulse ring */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  z-index: -1;
  animation: fc-pulse 2.2s var(--ease-out) infinite;
}
.fc-btn.fc-whatsapp::after{ color: #25d366; }
.fc-btn.fc-call::after    { color: #1a3460; }

@keyframes fc-pulse{
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Gentle breathing bounce on the icon */
.fc-btn i{
  animation: fc-breathe 2.4s var(--ease-out) infinite;
}
.fc-btn.fc-call i{
  animation-delay: 0.3s;
}

@keyframes fc-breathe{
  0%, 100% { transform: scale(1) rotate(0); }
  50%      { transform: scale(1.12) rotate(-6deg); }
}

/* Pause animations on hover so the button feels responsive */
.fc-btn:hover::after,
.fc-btn:hover i{
  animation-play-state: paused;
}
.fc-btn.fc-whatsapp{
  background: #25d366;
  box-shadow: 0 8px 18px -6px rgba(37,211,102,.45);
}
.fc-btn.fc-call{
  background: linear-gradient(160deg, #1a3460, #0a1929);
  box-shadow: 0 8px 18px -6px rgba(10,25,41,.55);
}
.fc-btn:hover{
  transform: translateY(-3px) scale(1.04);
  color: #fff !important;
}
.fc-btn:hover::before{
  background: rgba(0, 0, 0, 0.1);
}
.fc-btn i{
  position: relative;
  z-index: 1;
  line-height: 1;
}

@media (max-width: 600px){
  .floating-contact{ right: 16px; bottom: 20px; gap: 14px; }
  .fc-btn{ width: 52px; height: 52px; font-size: 1.4rem; }
  .fc-btn::before, .fc-btn::after{ inset: -8px; }
}

/* ---------- 17e. HEADER WHATSAPP CTA ---------- */
.btn-getstarted.btn-whatsapp,
body .header .btn-getstarted.btn-whatsapp,
body.scrolled .header .btn-getstarted.btn-whatsapp,
body.sticked .header .btn-getstarted.btn-whatsapp{
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 8px 24px -14px rgba(37,211,102,.55) !important;
}
.btn-getstarted.btn-whatsapp:hover,
body.scrolled .header .btn-getstarted.btn-whatsapp:hover,
body.sticked .header .btn-getstarted.btn-whatsapp:hover{
  background: #1bb958 !important;
  border-color: #1bb958 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.btn-getstarted.btn-whatsapp::before,
body.scrolled .header .btn-getstarted.btn-whatsapp::before,
body.sticked .header .btn-getstarted.btn-whatsapp::before{
  display: none !important;
}
.btn-getstarted.btn-whatsapp i,
.btn-getstarted.btn-whatsapp:hover i{
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  display: inline-block !important;
}

/* ---------- 17f. HEADER LAYOUT (3-col flex with proper RTL) ---------- */
.header-inner{
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  position: relative;
}
.header-side{
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px; /* WCAG touch target */
}
.header-side-start{ justify-content: flex-start; }
.header-side-end  { justify-content: flex-end; }

/* Desktop: 3-column grid layout (right logo / center nav / left CTA) */
@media (min-width: 992px){
  .header, #header.header{
    padding: 10px 0 !important;
    background: #fff !important;
  }
  .header-inner{
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    min-height: 104px;
    padding-inline: 32px;
    gap: 24px;
    position: relative;
  }
  .header-inner > .header-side-start{
    grid-column: 1;
    justify-self: start;
  }
  .header-inner > .ure-navmenu{
    grid-column: 2;
    justify-self: center;
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    gap: 40px !important;
  }
  .header-inner > .header-side-end{
    grid-column: 3;
    justify-self: end;
  }
  .ure-navmenu a{
    padding: 26px 0 !important;
    font-size: 1.02rem !important;
    font-weight: 500 !important;
    color: #000 !important;
    opacity: 1 !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #000 !important;
  }
  .ure-navmenu a:hover{ color: var(--red) !important; -webkit-text-fill-color: var(--red) !important; }
  .ure-navmenu a.active{
    color: #000 !important;
    font-weight: 500 !important;
  }
  .ure-navmenu a::after{
    bottom: 14px !important;
  }
  .header-brand img{ height: 80px; }
  .header .btn-getstarted.btn-whatsapp{
    padding: 14px 28px !important;
    font-size: 1rem !important;
    height: auto !important;
    border-radius: var(--r-pill) !important;
  }
}

@media (min-width: 1280px){
  .ure-navmenu{ gap: 48px !important; }
}

/* Brand logo (right side, all viewports) */
.header-brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}
.header-brand img{
  height: 80px;
  width: auto;
  display: block;
  transition: transform var(--dur-1) var(--ease-out);
}
.header-brand:hover img{ transform: scale(1.04); }
@media (max-width: 991px){
  .header-brand img{ height: 60px; }
}
@media (max-width: 480px){
  .header-brand img{ height: 48px; }
}

/* Nav item badge */
.ure-navmenu a.nav-with-badge{
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding-left: 4px !important;
}
.nav-badge{
  background: #25d366;
  color: #fff !important;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 10px -4px rgba(37,211,102,.5);
  display: inline-block;
}
.ure-navmenu a.nav-with-badge::after{
  display: none !important;
}

/* ---------- MOBILE HEADER (≤991px) ---------- */
@media (max-width: 991px){
  .header, #header.header{
    padding: 8px 0 !important;
    height: 64px;
  }
  .header-inner{
    padding-inline: 14px;
    gap: 10px;
    position: relative;
  }
  .header-mobile-logo img{
    height: 36px;
  }
}
@media (max-width: 480px){
  .header-mobile-logo img{ height: 30px; }
}
@media (min-width: 992px){
  .header-mobile-logo{ display: none !important; }
}
@media (max-width: 991px){

  /* Compact WhatsApp CTA — never wraps, fixed height */
  .header .btn-getstarted.btn-whatsapp{
    height: 44px !important;
    padding: 0 16px !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    gap: 8px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-shadow: 0 6px 16px -8px rgba(37,211,102,.55) !important;
  }
  .header .btn-getstarted.btn-whatsapp i{
    font-size: 1.05rem;
    line-height: 1;
  }
  .header .btn-getstarted.btn-whatsapp .btn-label{
    line-height: 1;
  }

  /* Hamburger — contained rounded box with brand blue */
  .header .ure-mobile-toggle{
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--red-tint) ;
    border: 1px solid var(--red) !important;
    border-radius: var(--r-sm) !important;
    cursor: pointer;
    gap: 5px;
    transition: background 200ms var(--ease-out),
                border-color 200ms var(--ease-out),
                box-shadow 200ms var(--ease-out);
  }
  .header .ure-mobile-toggle span{
    width: 22px !important;
    height: 2.5px !important;
    background: var(--red);
    border-radius: 2px !important;
    transition: transform 300ms var(--ease-out),
                opacity 200ms var(--ease-out),
                background 200ms var(--ease-out) !important;
  }
  .header .ure-mobile-toggle span:nth-child(1){ width: 22px !important; }
  .header .ure-mobile-toggle span:nth-child(2){ width: 22px !important; }
  .header .ure-mobile-toggle span:nth-child(3){ width: 22px !important; }

  .header .ure-mobile-toggle:hover{
    background: var(--red) !important;
    border-color: var(--red) !important;
    box-shadow: 0 4px 12px -4px rgba(0,61,165,.35);
  }
  .header .ure-mobile-toggle:hover span{
    background: #fff !important;
  }
  .header .ure-mobile-toggle:hover span{
    background: #fff !important;
  }

  /* Open → X morph — filled brand blue, white X */
  .header .ure-mobile-toggle.open{
    background: var(--red) !important;
    border-color: var(--red) !important;
    box-shadow: 0 4px 12px -4px rgba(0,61,165,.35);
  }
  .header .ure-mobile-toggle.open span{
    background: #fff !important;
  }
  .header .ure-mobile-toggle.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); width: 22px !important; }
  .header .ure-mobile-toggle.open span:nth-child(2){ opacity: 0; }
  .header .ure-mobile-toggle.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); width: 22px !important; }

  /* Keep toggle visible on scroll — editorial override */
  body.scrolled .header .ure-mobile-toggle,
  body.sticked .header .ure-mobile-toggle{
    background: var(--red-tint) !important;
    border-color: var(--red) !important;
  }
  body.scrolled .header .ure-mobile-toggle:hover,
  body.sticked .header .ure-mobile-toggle:hover{
    background: var(--red) !important;
    border-color: var(--red) !important;
  }
  body.scrolled .header .ure-mobile-toggle.open,
  body.sticked .header .ure-mobile-toggle.open{
    background: var(--red) !important;
    border-color: var(--red) !important;
  }
}

/* ---------- ULTRA-COMPACT (≤420px): keep label + icon ---------- */
@media (max-width: 420px){
  .header .btn-getstarted.btn-whatsapp{
    padding: 0 12px !important;
    font-size: 0.8rem !important;
    gap: 6px !important;
  }
  .header .btn-getstarted.btn-whatsapp i{
    font-size: 1rem;
  }
}

/* Drawer close (X) button */
.ure-drawer-close{
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink-3);
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 2;
  transition: background var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out),
              color var(--dur-1) var(--ease-out);
}
.ure-drawer-close:hover{
  background: var(--red-tint);
  border-color: var(--red);
  color: var(--red);
}
.ure-drawer-close i{ line-height: 1; }

/* Mobile drawer backdrop — fades in with the panel */
.ure-mobile-menu::before{
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(10,25,41,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
  pointer-events: none;
}
.ure-mobile-menu.open::before{
  opacity: 1;
  pointer-events: auto;
}

/* Mobile drawer — white panel, off-screen by default, hidden on desktop */
.ure-mobile-menu{
  background: #ffffff !important;
  color: var(--ink) !important;
  padding: 64px 24px 20px !important;
  flex-direction: column;
  gap: 20px;
  position: fixed !important;
  top: 0;
  right: 0;
  width: min(78vw, 360px);
  height: 100vh;
  display: flex;
  transform: translateX(100%);
  z-index: 1050;
  overflow-y: auto;
  visibility: hidden;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 380ms;
}
.ure-mobile-menu.open{
  transform: translateX(0);
  box-shadow: -20px 0 48px -12px rgba(10,37,64,.16);
  visibility: visible;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 0s;
}
@media (min-width: 992px){
  .ure-mobile-menu{ display: none !important; }
}

.ure-drawer-eyebrow{
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ure-drawer-eyebrow::after{
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.ure-drawer-nav{
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ure-drawer-nav a{
  position: relative;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  padding: 14px 16px 14px 0 !important;
  display: flex !important;
  align-items: center;
  font-size: 1.05rem !important;
  font-weight: 500;
  text-decoration: none !important;
  transform: translateX(16px);
  opacity: 0;
  transition: color var(--dur-1) var(--ease-out),
              transform 340ms var(--ease-out),
              opacity 340ms var(--ease-out);
}
.ure-drawer-nav a::before{
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: 6px !important;
  bottom: 6px !important;
  width: 3px !important;
  height: auto !important;
  background: var(--red) !important;
  border-radius: 2px !important;
  transform: scaleY(0) !important;
  font: unset !important;
  counter-increment: none !important;
  transition: transform var(--dur-2) var(--ease-out) !important;
}
.ure-drawer-nav a:nth-child(1){ transition-delay: 0s, 0.05s, 0.05s; }
.ure-drawer-nav a:nth-child(2){ transition-delay: 0s, 0.10s, 0.10s; }
.ure-drawer-nav a:nth-child(3){ transition-delay: 0s, 0.15s, 0.15s; }
.ure-drawer-nav a:nth-child(4){ transition-delay: 0s, 0.20s, 0.20s; }
.ure-drawer-nav a:nth-child(5){ transition-delay: 0s, 0.25s, 0.25s; }
.ure-mobile-menu.open .ure-drawer-nav a{
  transform: translateX(0);
  opacity: 1;
}
.ure-drawer-nav a:hover,
.ure-drawer-nav a:active{
  color: var(--red) !important;
  -webkit-text-fill-color: var(--red) !important;
}
.ure-drawer-nav a:hover::before,
.ure-drawer-nav a:active::before{
  transform: scaleY(1);
}

.ure-mobile-cta{
  background: #25d366 !important;
  color: #fff !important;
  text-align: center;
  border-radius: var(--r-pill);
  padding: 16px 22px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 500;
  box-shadow: 0 14px 32px -10px rgba(37,211,102,.55);
  transition: background var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.ure-mobile-cta:hover{
  background: #1bb958 !important;
  transform: translateY(-2px);
}

.ure-drawer-foot{
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.ure-drawer-brand{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--ink);
}
.ure-drawer-brand em{
  font-style: normal;
  font-weight: 500;
  color: var(--blue);
  display: block;
  font-size: 1rem;
}
.ure-drawer-brand small{
  display: block;
  font-size: 0.7rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ure-drawer-divider{
  width: 1px;
  height: 24px;
  background: var(--hairline);
}
.ure-drawer-disclaimer{
  font-size: 0.75rem;
  color: var(--ink-3);
  line-height: 1.7;
  margin: 0;
  text-align: center;
}

/* Expanded nav (clean underline style) */
.ure-navmenu{ gap: 22px; }
.ure-navmenu a{
  color: var(--blue) !important;
  font-weight: 400;
  padding: 22px 6px !important;
  font-size: 1rem;
  border-radius: 0 !important;
  background: transparent !important;
  letter-spacing: 0.01em;
  position: relative;
}
.ure-navmenu a::after{
  content: "" !important;
  position: absolute !important;
  inset: auto !important;
  bottom: 12px !important;
  left: 50% !important;
  right: auto !important;
  width: 28px !important;
  height: 3px !important;
  background: var(--red) !important;
  border-radius: 2px !important;
  transform: translateX(-50%) scaleX(0) !important;
  transform-origin: center !important;
  transition: transform var(--dur-2) var(--ease-out) !important;
}
.ure-navmenu a:hover{ color: var(--red) !important; }
.ure-navmenu a:hover::after,
.ure-navmenu a.active::after{
  transform: translateX(-50%) scaleX(1) !important;
}
.ure-navmenu a.active{
  color: var(--blue) !important;
  background: transparent !important;
}

/* ---------- 17. RTL POLISH ---------- */
[dir="rtl"] .ure-navmenu a::after{ transform-origin: left; }
[dir="rtl"] .section-title::after{ transform-origin: left; }

/* ---------- 18. LIGHT-WEIGHT POLISH ---------- */
.btn-div{ display: flex; }
.margin-mob-5{ }
@media (max-width: 991px){
  .margin-mob-5{ margin-bottom: 32px; }
  .new-launch-section{ padding: 64px 0 !important; }
  .projects.section{ padding: 64px 0 !important; }
  .ure-gallery-section{ padding: 64px 0 !important; }
}

/* ---------- 19. TOGGLE OVERRIDE (beat editorial ivory) ---------- */
@media (max-width: 991px){
  body.index-page .header .ure-mobile-toggle span{
    background: var(--red) ;
    display: block !important;
    visibility: visible !important;
  }
  body.index-page .header .ure-mobile-toggle.open span{
    background: #fff !important;
  }
  body.index-page.scrolled .header .ure-mobile-toggle span,
  body.index-page.sticked .header .ure-mobile-toggle span{
    background: var(--red) !important;
  }
}
