/* ==========================================================================
   RAFIX (Pvt) Ltd — Premium dark theme
   ========================================================================== */
:root {
  --bg: #0a0c10;
  --bg-alt: #0d1017;
  --navy: #0d1330;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.09);
  --panel-hover: rgba(255, 255, 255, 0.07);
  --text: #eef1f7;
  --text-soft: #a6acbb;
  --text-dim: #6d7386;
  --accent: #3b82f6;
  --accent-bright: #5b9dff;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --line: rgba(255, 255, 255, 0.09);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --container: 1200px;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --shadow-glow: 0 0 0 1px rgba(59,130,246,0.25), 0 20px 60px rgba(59,130,246,0.12);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
}

:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 110px 0; }
@media (max-width: 720px) { .section-pad { padding: 72px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-bright); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent-bright); border-radius: 2px; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 0.96rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 30px rgba(59,130,246,0.35); }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.06); border: 1px solid var(--panel-border); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-whatsapp { background: #22c35e; color: #fff; }
.btn-whatsapp:hover { background: #1ba851; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.28); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* Glass card */
.glass {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-m);
  backdrop-filter: blur(14px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 18px 0;
  background: rgba(10, 12, 16, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 12, 16, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.02em; color: #fff; display: inline-flex; align-items: center; }
.brand span { color: var(--accent-bright); }
.brand .logo-img { height: 38px; width: auto; display: block; }
.footer-brand .brand .logo-img { height: 34px; }
@media (max-width: 480px) { .brand .logo-img { height: 30px; } }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.94rem; font-weight: 500; color: var(--text-soft);
  position: relative; padding: 4px 0; transition: color 0.15s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent-bright); transition: right 0.22s ease;
}
.nav-links a:hover::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 30px; height: 24px; justify-content: center;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost-label { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 22px;
    background: rgba(10,12,16,0.98); border-bottom: 1px solid var(--line);
  }
  .nav-links.mobile-open a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links.mobile-open a::after { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  background: #05060a;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,10,0.55) 0%, rgba(5,6,10,0.75) 55%, rgba(5,6,10,0.96) 100%),
    linear-gradient(100deg, rgba(5,6,10,0.9) 0%, rgba(5,6,10,0.4) 55%, rgba(5,6,10,0.75) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91,157,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,157,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 25% 30%, black 30%, transparent 80%);
}
.hero-particles span {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent-bright); opacity: 0.5;
  animation: float-up linear infinite;
}
@keyframes float-up {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-120px); opacity: 0; }
}
.hero-scan {
  position: absolute; left: 0; right: 0; height: 140px;
  background: linear-gradient(180deg, rgba(91,157,255,0) 0%, rgba(91,157,255,0.06) 50%, rgba(91,157,255,0) 100%);
  animation: scan-sweep 7s ease-in-out infinite;
}
@keyframes scan-sweep { 0% { top: -140px; } 50% { top: 100%; } 100% { top: -140px; } }

.hero-content { position: relative; max-width: 720px; }
.hero-content .highlight-line {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  color: var(--text-soft); font-size: 0.9rem; font-weight: 500; margin-bottom: 22px;
}
.hero-content .highlight-line span { display: inline-flex; align-items: center; gap: 8px; }
.hero-content .highlight-line span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); }

.hero-content h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.8rem);
  color: #fff; margin-bottom: 20px;
}
.hero-content p.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-phone {
  display: inline-flex; align-items: center; gap: 12px; color: #fff;
}
.hero-phone .icon-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-phone .icon-circle svg { width: 18px; height: 18px; color: var(--accent-bright); }
.hero-phone .label { display: block; font-size: 0.78rem; color: var(--text-dim); }
.hero-phone .number { font-size: 1.1rem; font-weight: 600; }

.hero-camera {
  position: absolute; right: 6%; bottom: 10%;
  width: 220px; opacity: 0.9;
  animation: cam-pan 8s ease-in-out infinite;
  transform-origin: 60% 40%;
}
@keyframes cam-pan {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
@media (max-width: 900px) { .hero-camera { display: none; } }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: 60px; align-items: center; }
.about-copy p { color: var(--text-soft); margin-bottom: 16px; font-size: 1.02rem; }
.about-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.about-chips span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--panel-border);
  font-size: 0.88rem; font-weight: 500; color: var(--text);
}
.about-chips svg { width: 15px; height: 15px; color: var(--accent-bright); }

.about-visual { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/5; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,6,10,0.7) 100%); }
.about-visual .corner {
  position: absolute; width: 30px; height: 30px; border: 2px solid rgba(255,255,255,0.6); z-index: 2;
}
.about-visual .corner.tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.about-visual .corner.br { bottom: 16px; right: 16px; border-left: none; border-top: none; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin: 0 auto; order: -1; }
}

/* ==========================================================================
   Card grids
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }

@media (max-width: 1080px) { .grid-4, .grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; } }

.solution-card, .why-card {
  padding: 30px 26px; transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.solution-card:hover, .why-card:hover { transform: translateY(-5px); border-color: rgba(91,157,255,0.35); background: var(--panel-hover); }
.solution-card .icon-box, .why-card .icon-box {
  width: 52px; height: 52px; border-radius: var(--radius-s);
  background: var(--accent-soft); color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.solution-card .icon-box svg, .why-card .icon-box svg { width: 24px; height: 24px; }
.solution-card h3, .why-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.solution-card p, .why-card p { color: var(--text-soft); font-size: 0.94rem; }

.service-card {
  padding: 26px 22px; text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(91,157,255,0.3); }
.service-card .icon-box {
  width: 44px; height: 44px; border-radius: var(--radius-s);
  background: var(--accent-soft); color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-card .icon-box svg { width: 21px; height: 21px; }
.service-card h3 { font-size: 1rem; margin-bottom: 8px; }
.service-card p { color: var(--text-soft); font-size: 0.9rem; }

/* ==========================================================================
   Site visit
   ========================================================================== */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.visit-card { padding: 36px 32px; position: relative; overflow: hidden; }
.visit-card.free { border-color: rgba(34,195,94,0.35); }
.visit-card .visit-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  margin-bottom: 18px;
}
.visit-card.free .visit-tag { background: rgba(34,195,94,0.16); color: #4ee08a; }
.visit-card.charge .visit-tag { background: var(--accent-soft); color: var(--accent-bright); }
.visit-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.visit-card p { color: var(--text-soft); font-size: 0.96rem; }
.visit-note { margin-top: 26px; text-align: center; color: var(--text-dim); font-size: 0.9rem; }

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

/* ==========================================================================
   Equipment
   ========================================================================== */
.equip-card {
  padding: 24px 18px; text-align: center; transition: transform 0.2s ease, border-color 0.2s ease;
}
.equip-card:hover { transform: translateY(-4px); border-color: rgba(91,157,255,0.3); }
.equip-card .icon-box {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.equip-card .icon-box svg { width: 22px; height: 22px; }
.equip-card span { font-size: 0.88rem; font-weight: 500; }

.hikvision-panel {
  margin-top: 40px; padding: 40px; display: flex; align-items: center; gap: 34px;
  background: linear-gradient(120deg, rgba(59,130,246,0.14) 0%, rgba(255,255,255,0.03) 100%);
}
.hikvision-panel .hik-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: 0.04em;
  color: #fff; white-space: nowrap;
}
.hikvision-panel p { color: var(--text-soft); font-size: 0.98rem; }
@media (max-width: 700px) { .hikvision-panel { flex-direction: column; text-align: center; gap: 16px; } }

/* ==========================================================================
   Flow animation (Camera -> Cable -> NVR -> Monitor -> Mobile)
   ========================================================================== */
.flow-wrap { padding: 50px 30px; overflow-x: auto; }
.flow-track { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 640px; position: relative; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; z-index: 2; }
.flow-node .node-icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--bg-alt); border: 1.5px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center; color: var(--accent-bright);
}
.flow-node .node-icon svg { width: 26px; height: 26px; }
.flow-node span { font-size: 0.82rem; color: var(--text-soft); font-weight: 500; white-space: nowrap; }
.flow-line {
  position: absolute; top: 31px; left: 62px; right: 62px; height: 2px;
  background: var(--line); z-index: 1;
}
.flow-line .signal {
  position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-bright); box-shadow: 0 0 12px 3px rgba(91,157,255,0.7);
  animation: signal-travel 4s linear infinite;
}
@keyframes signal-travel { 0% { left: 0%; opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.flow-caption { text-align: center; color: var(--text-soft); margin-top: 30px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   How it works
   ========================================================================== */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline-step { position: relative; padding-top: 10px; }
.timeline-step .step-num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent-bright); margin-bottom: 14px; display: block;
}
.timeline-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.timeline-step p { color: var(--text-soft); font-size: 0.92rem; }
.timeline-step:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; left: calc(100% - 6px); width: calc(100% - 30px);
  border-top: 2px dashed var(--line);
}
@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline-step:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* ==========================================================================
   Gallery / Our Work
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,6,10,0.85) 100%); }
.gallery-item .tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-size: 0.86rem; font-weight: 600; color: #fff;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Video section
   ========================================================================== */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.video-card { overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease; }
.video-card:hover { transform: translateY(-4px); border-color: rgba(91,157,255,0.3); }
.video-thumb {
  position: relative; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #12183a 0%, #05060a 100%);
  display: flex; align-items: center; justify-content: center;
}
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.video-thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 14px);
}
.play-btn {
  position: relative; width: 66px; height: 66px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-card:hover .play-btn { transform: scale(1.08); background: var(--accent); }
.play-btn svg { width: 24px; height: 24px; color: #fff; margin-left: 3px; }
.video-body { padding: 22px 24px; }
.video-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.video-body p { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 18px; }

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

/* ==========================================================================
   Social
   ========================================================================== */
.social-strip { text-align: center; }
.social-icons { display: flex; justify-content: center; gap: 16px; margin-top: 28px; }
.social-icons a {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-icons a:hover { background: var(--accent); transform: translateY(-3px); }
.social-icons svg { width: 22px; height: 22px; color: #fff; }

/* ==========================================================================
   Contact CTA
   ========================================================================== */
.contact-band {
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(59,130,246,0.16) 0%, transparent 60%), var(--bg-alt);
  text-align: center;
}
.contact-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.contact-band > .container > p { color: var(--text-soft); max-width: 560px; margin: 0 auto 50px; font-size: 1.05rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.contact-card { padding: 30px 24px; text-align: center; }
.contact-card .icon-box {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.contact-card .icon-box svg { width: 22px; height: 22px; }
.contact-card .label { color: var(--text-dim); font-size: 0.82rem; display: block; margin-bottom: 6px; }
.contact-card .value { font-size: 1.05rem; font-weight: 600; margin-bottom: 18px; word-break: break-word; }
.contact-final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

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

/* ==========================================================================
   Find Rafix / Map
   ========================================================================== */
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.map-visual {
  aspect-ratio: 16/11; border-radius: var(--radius-l); position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(59,130,246,0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0d1330 0%, #0a0c10 100%);
}
.map-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-visual iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.map-copy h3 { font-size: 1.2rem; margin-bottom: 10px; }
.map-copy .addr { color: var(--text-soft); margin-bottom: 20px; font-size: 1.02rem; }
.map-hours { list-style: none; margin: 0 0 26px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-m); background: rgba(255,255,255,0.02); }
.map-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 0.92rem; color: var(--text-soft); border-bottom: 1px solid var(--line); }
.map-hours li:last-child { border-bottom: none; }
.map-hours li span:first-child { color: #fff; font-weight: 500; }

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #05060a; border-top: 1px solid var(--line); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { display: inline-block; margin-bottom: 10px; }
.footer-brand .tagline { color: var(--accent-bright); font-size: 0.92rem; font-weight: 500; margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; max-width: 300px; }
.footer-col h4 { font-size: 0.96rem; margin-bottom: 18px; color: #fff; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 0.9rem; color: var(--text-soft); transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; margin-bottom: 12px; color: var(--text-soft); }
.footer-contact svg { width: 15px; height: 15px; margin-top: 3px; flex-shrink: 0; color: var(--accent-bright); }
.footer-bottom { padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: var(--text-dim); flex-wrap: wrap; }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ==========================================================================
   Floating WhatsApp + mobile contact bar
   ========================================================================== */
.float-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 600;
  width: 58px; height: 58px; border-radius: 50%;
  background: #22c35e; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(34,195,94,0.4);
}
.float-whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #22c35e; animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.9); opacity: 0; } }
.float-whatsapp svg { position: relative; width: 28px; height: 28px; color: #fff; }

.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 550;
  background: rgba(10,12,16,0.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
}
.mobile-bar-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px; border-radius: var(--radius-s); font-size: 0.72rem; font-weight: 600; color: var(--text-soft);
}
.mobile-bar a svg { width: 20px; height: 20px; }
.mobile-bar a.wa { color: #4ee08a; }
.mobile-bar a.call { color: var(--accent-bright); }

@media (max-width: 760px) {
  .mobile-bar { display: block; }
  .float-whatsapp { bottom: 84px; }
  body { padding-bottom: 64px; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
