:root{
  --bg:#0b1220;
  --card:#0f1a33;
  --muted:#98a2b3;
  --text:#e6eaf2;
  --brand:#4f8cff;
  --brand2:#22c55e;
  --border:rgba(255,255,255,.10);
  --shadow: 0 16px 40px rgba(0,0,0,.35);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}

body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  background:
    radial-gradient(1100px 700px at 15% 0%, rgba(79,140,255,.35), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(34,197,94,.18), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{color:inherit;text-decoration:none}
.container{width:min(1100px,92%);margin:0 auto}

/* ===== HEADER ===== */
.topbar{
  position:sticky;top:0;z-index:50;
  backdrop-filter:blur(12px);
  background:rgba(11,18,32,.72);
  border-bottom:1px solid var(--border);
}
.nav{
  position:relative; /* IMPORTANT: anchor the dropdown */
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0;
}

.brand{
  display:flex;gap:12px;align-items:center;
  min-width:0;
}
.brand h1{margin:0;font-size:16px;font-weight:800}
.brand p{margin:0;font-size:12px;color:var(--muted)}
.brandLogoImg{
  width:40px;height:40px;
  border-radius:12px;
  object-fit:contain;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
}

.navlinks{display:flex;gap:16px}
.navlinks a{padding:10px 12px;border-radius:12px}
.navlinks a:hover,
.navlinks a.active{background:rgba(255,255,255,.08)}

.menuBtn{
  display:none;
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 12px;
  color:var(--text);
  position:relative;
  z-index:1001; /* ensure it is clickable */
  cursor:pointer;
  pointer-events:auto;
  -webkit-tap-highlight-color: transparent;
}

/* ===== HERO ===== */
.hero{padding:70px 0 30px}
.kicker{
  display:inline-flex;gap:8px;align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  font-size:13px;
}
.kickerDot{width:8px;height:8px;border-radius:50%;background:var(--brand2)}
.hero h2{
  font-size:clamp(30px,4vw,46px);
  line-height:1.15;
  margin:14px 0 10px;
}

/* Buttons */
.ctaRow{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.btn{
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  cursor:pointer;
  transition:.2s;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.1)}
.btn.primary{
  border-color: rgba(79,140,255,.55);
  background:linear-gradient(135deg,#4f8cff,#5f9bff);
}
.btn.whatsapp{
  border-color: rgba(34,197,94,.55);
  background:linear-gradient(135deg,#22c55e,#16a34a);
}

/* ===== CARDS ===== */
.card{
  background:rgba(15,26,51,.75);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:.2s;
}
.card:hover{transform:translateY(-2px)}
.feature{padding:16px}

.section{padding:26px 0}
.sectionHeader{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px;gap:14px}
.sectionHeader p{margin:0;color:var(--muted);font-size:13px}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}

.small{color:var(--muted);font-size:13px;margin:0}

/* ============================================================
   ✅ MISSING PART (THIS FIXES INDEX HERO + MINI IMAGES SHAPE)
   Add these rules so hero pictures fit into frames nicely
   ============================================================ */

.heroGrid{display:grid;gap:26px}
.heroGridWithMedia{grid-template-columns:1.05fr .95fr}
.heroMedia{display:flex;flex-direction:column;gap:14px}

/* Big hero image panel */
.heroMediaTop{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
}

.heroMediaTop img{
  width: 100% !important;
  height: 320px !important;
  display: block !important;
  object-fit: contain !important;    /* show whole image */
  object-position: center center !important;
  background: rgba(255,255,255,.04) !important; /* nice letterbox */
}

/* Overlay text inside hero image */
.heroMediaOverlay{
  position:absolute;
  left:14px; right:14px; bottom:14px;
  background:rgba(11,18,32,.70);
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  backdrop-filter: blur(10px);
}
.heroMediaTitle{font-weight:900}
.heroMediaSub{color:rgba(230,234,242,.78);font-size:13px;margin-top:2px}

/* Mini images row */
.heroMediaRow{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.heroMediaMini{
  overflow:hidden;
  border-radius:var(--radius);
}
.heroMediaMini img{
  width:100%;
  height:150px;
  object-fit:cover;
  object-position:center;
  display:block;
}
.miniCaption{
  padding:10px 12px;
  border-top:1px solid var(--border);
  font-size:13px;
  color: rgba(230,234,242,.85);
  background: rgba(255,255,255,.03);
}

/* Contact card in hero (if used) */
.heroContactCard{padding:14px;background:rgba(255,255,255,.04)}

/* ===== FOOTER ===== */
.footer{border-top:1px solid var(--border);padding:26px 0 40px;margin-top:24px}
.footerGrid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}
.links{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.links a{
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
}
.links a:hover{background:rgba(255,255,255,.09)}

/* ===== WHATSAPP FLOAT ===== */
.whatsappFloat{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;
  height:58px;
  border-radius:18px;
  background:linear-gradient(135deg,#25D366,#128C7E);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 40px rgba(0,0,0,.45);
  z-index:999;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsappFloat:hover{
  transform: translateY(-2px);
  box-shadow:0 22px 46px rgba(0,0,0,.55);
}
.whatsappFloat img{
  width:30px;
  height:30px;
  display:block;
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
.heroEnter{opacity:0;transform:translateY(18px);animation:heroIn .9s forwards}
.delay1{animation-delay:.1s}
.delay2{animation-delay:.2s}
.delay3{animation-delay:.3s}
@keyframes heroIn{to{opacity:1;transform:none}}

.reveal{opacity:0;transform:translateY(14px);transition:.7s}
.reveal.is-visible{opacity:1;transform:none}

/* ===== GALLERY: PERFECTLY UNIFORM ON ALL DEVICES ===== */
.galleryGrid{align-items:stretch}
.galleryCard{
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow:hidden;
}

/* IMPORTANT: keep this ONLY for gallery photos */
.galleryPhoto{
  width:100%;
  aspect-ratio:4 / 3;
  height:auto;
  object-fit:cover;
  object-position:center;
  border-radius:14px;
  border:1px solid var(--border);
  display:block;
  background:#0b1220;
}

/* Optional hover */
.galleryCard:hover .galleryPhoto{
  transform:scale(1.05);
  transition:transform .6s ease;
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px){
  .heroGridWithMedia{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr} /* 1 column on mobile/tablet */
  .split{grid-template-columns:1fr}
  .links{justify-content:flex-start}
  .heroMediaTop img{height:260px}
  .heroMediaMini img{height:140px}
}

@media(max-width:700px){
  .nav{ position: relative; }  /* anchor */

  .navlinks{ display:none; }

  .menuBtn{
    display:block;
    z-index:2000;
    position:relative;
    pointer-events:auto;
  }

  .navlinks.open{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:62px;
    left:4%;
    width:92%;
    background:#0b1220;
    border:1px solid rgba(255,255,255,.10);
    border-radius:16px;
    padding:10px;
    z-index:1999;
  }
}

@media(max-width:480px){
  .heroMediaTop img{height:220px}
  .heroMediaMini img{height:130px}
}

/* Facebook iframe responsive */
.fbIframeWrap{
  width:100%;
  max-width:520px;
  margin:0 auto;
  overflow:hidden;
  border-radius:18px;
}

.fbIframeWrap iframe{
  width:100%;
  height:600px;
  border:0;
  display:block;
}
