/* Close UP Security — dark modern cinematic UI
   Inspired by premium villa / hospitality landings (floating pill nav, gallery rail, bento). */

:root {
  --bg: #070707;
  --bg-2: #0e0e0e;
  --panel: rgba(255, 255, 255, 0.035);
  --stroke: rgba(255, 255, 255, 0.1);
  --text: #f4f1ea;
  --muted: #a8a29a;
  --gold: #d4b978;
  --gold-2: #e8d09a;
  --ink: #0a0a0a;
  --radius: 28px;
  --radius-sm: 18px;
  --wrap: 1120px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Syne", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 1.05rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; color: inherit; background: none; border: none; }
ul { list-style: none; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.center { text-align: center; }

/* ===== FLOATING PILL NAV ===== */
.topbar {
  position: fixed;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.45rem 0.45rem 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.72);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  max-width: calc(100vw - 1.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  white-space: nowrap;
}
.brand img { width: 28px; height: 28px; }

.nav {
  display: flex;
  gap: 0.15rem;
}
.nav a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.top-actions { display: flex; align-items: center; gap: 0.45rem; }
#lang-select {
  appearance: none;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 0.45rem 1.5rem 0.45rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(0,0,0,0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='%23d4b978'/%3E%3C/svg%3E") no-repeat right 0.55rem center;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
  box-shadow: 0 10px 30px rgba(212, 185, 120, 0.2);
}
.btn:hover { transform: translateY(-2px); background: var(--gold-2); }
.btn-sm { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.75rem; box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--stroke);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--gold); color: var(--gold); }

.burger {
  display: none;
  width: 40px; height: 40px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 16px; height: 1.5px; background: var(--gold); position: relative;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.hero-media, .hero-veil { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-color: #111;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 8s ease;
}
.hero-slide.is-on { opacity: 1; transform: scale(1); }
.hero-veil {
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(7,7,7,0.35) 55%, rgba(7,7,7,0.92) 100%),
    linear-gradient(180deg, rgba(7,7,7,0.35) 0%, rgba(7,7,7,0.15) 40%, rgba(7,7,7,0.95) 100%);
}
.hero-center {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  padding: 7rem 1.5rem 4rem;
}
.kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-lead {
  color: #d7d2c8;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 34ch;
  margin: 0 auto 1.75rem;
}
.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
}
.hero-scroll span {
  display: block;
  width: 3px; height: 8px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--gold);
  animation: scrollDot 1.6s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ===== MARQUEE ===== */
.marquee {
  border-block: 1px solid var(--stroke);
  background: var(--bg-2);
  overflow: hidden;
  padding: 1rem 0;
}
.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-track i { color: var(--gold); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; }
.section-tight { padding-bottom: 2rem; }
.section-head { margin-bottom: 2.5rem; }
.section-lead {
  color: var(--muted);
  max-width: 42ch;
  margin: 0.85rem auto 0;
  font-size: 1.05rem;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h3 { font-size: 1.15rem; font-weight: 700; }

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.about-copy p {
  color: var(--muted);
  max-width: 48ch;
  margin-top: 0.9rem;
}
.stat-orb {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(circle at 30% 30%, rgba(212,185,120,0.18), transparent 55%),
    var(--panel);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1.5rem;
  max-width: 280px;
  margin-left: auto;
}
.stat-orb strong {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: 0.9;
  color: var(--gold);
}
.stat-orb span {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 16ch;
  margin-inline: auto;
}

.value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.value-row article {
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--stroke);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.value-row article:hover {
  transform: translateY(-4px);
  border-color: rgba(212,185,120,0.45);
}
.value-row h3 { color: var(--gold); margin-bottom: 0.35rem; font-size: 0.95rem; }
.value-row p { color: var(--muted); font-size: 0.9rem; }

/* ===== GALLERY RAIL ===== */
.gallery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 22vw);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem max(1.25rem, calc((100vw - var(--wrap)) / 2)) 1.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.shot {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  background-color: #151515;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
}
.shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.75) 100%);
}
.shot span, .shot figcaption {
  position: absolute; z-index: 1;
}
.shot span {
  top: 1rem; left: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.shot figcaption {
  left: 1rem; right: 1rem; bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.shot:hover { transform: translateY(-3px); transition: transform 0.35s var(--ease); }

/* ===== BENTO ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}
.bento-item {
  grid-column: span 2;
  min-height: 160px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--panel);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.bento-item:hover {
  transform: translateY(-4px);
  border-color: rgba(212,185,120,0.4);
}
.bento-item.wide {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  background-color: #151515;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 1.75rem;
}
.bento-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.78));
}
.bento-item.wide h3,
.bento-item.wide p { position: relative; z-index: 1; }
.bento-item.wide h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.bento-item.wide p { color: #ddd; max-width: 28ch; }
.bento-item.accent {
  background: linear-gradient(145deg, rgba(212,185,120,0.18), rgba(212,185,120,0.04));
  border-color: rgba(212,185,120,0.35);
}

/* ===== WHY BAND ===== */
.band {
  background:
    radial-gradient(ellipse at top, rgba(212,185,120,0.08), transparent 55%),
    var(--bg-2);
  border-block: 1px solid var(--stroke);
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2rem;
  max-width: 52rem;
  margin-inline: auto;
}
.pill-list span {
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.03);
  font-size: 0.88rem;
  color: #ddd;
}

/* ===== PARTNERS ===== */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.partner-card {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #151515;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  transition: transform 0.45s var(--ease);
}
.partner-card:hover { transform: translateY(-6px); }
.partner-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 20%, rgba(0,0,0,0.82) 100%);
}
.partner-body {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
}
.partner-body .sub {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.partner-body h3 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 0.55rem;
}
.partner-body p { color: #d5d0c6; max-width: 32ch; margin-bottom: 1rem; }
.linkish {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
}
.linkish::after { content: "→"; transition: transform 0.25s; }
.partner-card:hover .linkish::after { transform: translateX(4px); }

/* ===== COMMIT ===== */
.commit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.commit-grid article {
  padding: 1.75rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--stroke);
  text-align: left;
}
.commit-grid .num {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  margin-bottom: 1rem;
}
.commit-grid p { color: var(--muted); margin-top: 0.55rem; font-size: 0.95rem; }

/* ===== COVERAGE ===== */
.coverage {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  background-color: #111;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
}
.coverage-veil {
  position: absolute; inset: 0;
  background: rgba(7,7,7,0.72);
}
.coverage .wrap { position: relative; z-index: 1; }
.chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 1rem;
}
.chips span {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(212,185,120,0.35);
  background: rgba(0,0,0,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}
.hours {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.contact-copy p { color: var(--muted); max-width: 40ch; margin-top: 0.85rem; }
.contact-lines { margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact-lines small {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.contact-lines a { display: block; }
.contact-lines a:hover { color: var(--gold); }

.glass-form {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 1rem;
  align-content: start;
}
.glass-form h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
}
.glass-form label { display: grid; gap: 0.35rem; }
.glass-form label span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.glass-form input,
.glass-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,0.35);
}
.glass-form input:focus,
.glass-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.fine { color: var(--muted); font-size: 0.85rem; }

/* ===== FOOTER / TOP ===== */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 1.5rem 0 5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ===== RTL ===== */
[dir="rtl"] .center, [dir="rtl"] .hero, [dir="rtl"] .section-head { text-align: center; }
[dir="rtl"] .commit-grid article, [dir="rtl"] .contact-copy, [dir="rtl"] .about-copy { text-align: right; }
[dir="rtl"] .stat-orb { margin-left: 0; margin-right: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .nav { display: none; }
  .topbar.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0; right: 0;
    padding: 0.75rem;
    border-radius: 22px;
    background: rgba(14,14,14,0.96);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(16px);
  }
  .burger { display: grid; }
  .about-grid, .partner-grid, .contact-grid, .commit-grid { grid-template-columns: 1fr; }
  .value-row { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item, .bento-item.wide { grid-column: span 1; }
  .bento-item.wide { grid-column: 1 / -1; min-height: 280px; }
  .stat-orb { margin: 0 auto; max-width: 220px; }
  .gallery-rail { grid-auto-columns: minmax(220px, 70vw); }
}

@media (max-width: 560px) {
  .value-row { grid-template-columns: 1fr; }
  .top-actions .btn-sm { display: none; }
  .hero h1 { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .hero-slide, .reveal, .hero-scroll span { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
