/* ============================================================
   DUBAI VIZE — COMPLETE REDESIGN
   Modern, responsive (PC / Tablet / Mobile)
   Compatible with existing PHP template class names
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  --brand: #d35400;
  --brand-light: #e67e22;
  --brand-dark: #a04000;
  --brand-glow: rgba(211, 84, 0, 0.15);
  --brand-surface: #fef6f0;
  --ink: #1a1a2e;
  --ink-soft: #4a4a5a;
  --ink-muted: #8a8a9a;
  --surface: #ffffff;
  --surface-dim: #f8f7f5;
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);
  --wa-green: #25d366;
  --wa-dark: #128c7e;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.12);
  --shadow-brand: 0 8px 32px rgba(211, 84, 0, 0.2);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;
  --font-body: 'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --container-w: min(1200px, 100% - 48px);
  --section-gap: clamp(64px, 8vw, 100px);
  /* Legacy compat */
  --accent: var(--brand);
  --accent-mid: var(--brand-light);
  --accent-soft: var(--brand-surface);
  --accent-dark: var(--brand-dark);
  --accent-border: var(--border);
  --text: var(--ink);
  --text-muted: var(--ink-muted);
  --shadow: var(--shadow-lg);
  --wa-green-dark: var(--wa-dark);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100% }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%; max-width: 100vw;
}
img { max-width: 100%; height: auto; display: block }
a { color: var(--brand); text-decoration: none; transition: color 0.2s }
a:hover { color: var(--brand-dark) }
main { width: 100%; overflow-x: clip }

/* === UTILITIES === */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden }
.skip-link:focus { position: fixed; left: 16px; top: 16px; width: auto; height: auto; z-index: 9999; padding: 10px 16px; background: var(--brand-dark); color: #fff; border-radius: var(--r-md); text-decoration: none; font-weight: 600 }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0 }
.text-muted { color: var(--ink-muted) }
.hidden { display: none }
.hidden-field { position: absolute; left: -9999px }

/* === CONTAINER === */
.container { width: var(--container-w); margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px) }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.25; letter-spacing: -0.01em }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r-md); border: none;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  cursor: pointer; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none; white-space: nowrap; line-height: 1.4;
}
.btn:active { transform: scale(0.97) }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff; box-shadow: var(--shadow-brand);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(211,84,0,.3); transform: translateY(-1px); color: #fff }

.btn-secondary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff; box-shadow: 0 6px 20px rgba(211,84,0,.25);
}
.btn-secondary:hover { box-shadow: 0 8px 24px rgba(211,84,0,.35); color: #fff }

.btn-whatsapp, .btn-whatsapp:visited, .btn-whatsapp:focus {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-dark));
  color: #fff !important; text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,.3);
}
.btn-whatsapp:hover { color: #fff !important; box-shadow: 0 12px 32px rgba(37,211,102,.4); transform: translateY(-1px) }
.btn-whatsapp:active { color: #fff !important }
.btn-whatsapp:focus-visible { outline: 2px solid var(--wa-green); outline-offset: 2px }

.btn-ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--brand) }
.btn-ghost:hover { background: var(--brand); color: #fff }

.btn-danger { background: var(--danger); color: #fff }

/* === CARDS === */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--ink);
}
.card:hover { box-shadow: var(--shadow-md) }
.card.glass, .glass {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* === TOPBAR === */
.business-bar {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand), var(--brand-light));
  color: #fff; font-size: 13px; font-weight: 500; text-align: center;
  padding: 9px 16px;
}
.business-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.is-menu-open { border-bottom-color: transparent; box-shadow: none }
.site-header.scrolled { box-shadow: var(--shadow-md) }

.header-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 16px; flex-wrap: nowrap; position: relative; z-index: 1;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--ink); text-decoration: none; flex-shrink: 0; letter-spacing: -0.02em;
}
.logo img { max-height: 44px; width: auto; vertical-align: middle; display: block }

/* Desktop Nav */
nav.desktop-nav {
  display: flex; gap: 4px; flex-wrap: nowrap; align-items: center;
  flex: 1 1 auto; min-width: 0;
}
.nav-item { position: relative; flex-shrink: 0 }
.nav-item > a {
  color: var(--ink-soft); text-decoration: none; padding: 8px 14px;
  display: block; border-radius: var(--r-sm); font-weight: 500; font-size: 15px;
  white-space: nowrap; transition: all 0.2s;
}
.nav-item > a:hover, .nav-item > a[aria-current="page"] {
  background: var(--brand-glow); color: var(--brand);
}
.dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); min-width: 220px; padding: 8px;
  box-shadow: var(--shadow-lg);
}
.dropdown a {
  display: block; color: var(--ink-soft); text-decoration: none;
  padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500;
}
.dropdown a:hover { background: var(--brand-surface); color: var(--brand) }
.nav-item:hover .dropdown { display: block }

/* Header Social */
.header-social { display: none }
.header-social .social-icons__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--surface-dim); border: 1px solid var(--border);
  color: var(--brand); text-decoration: none; font-size: 1.15rem;
  transition: all 0.2s;
}
.header-social .social-icons__link:hover { background: var(--surface); color: var(--brand-dark); transform: translateY(-1px) }

.footer-social { display: none }
.footer-social .social-icons__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6);
  font-size: 1.3rem; text-decoration: none; transition: all 0.2s;
}
.footer-social .social-icons__link:hover { background: var(--brand); color: #fff }

@media(min-width: 901px) {
  .header-social { display: flex; align-items: center; gap: 6px; flex-shrink: 0 }
  .footer-social { display: flex !important; justify-content: center; gap: 12px; padding: 20px 0 8px }
}
@media(max-width: 900px) {
  .header-social { display: none !important }
  .footer-social { display: flex; justify-content: center; gap: 16px; padding: 16px 0 8px }
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; align-items: center }

/* Header Live Badge */
.header-live { flex: 0 1 auto }
.header-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 5px 12px;
  border-radius: var(--r-full); white-space: nowrap;
}
.header-badge--online {
  background: rgba(16,185,129,0.12); color: #059669;
  border: 1px solid rgba(16,185,129,0.25);
}
.header-badge--online .header-live-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); animation: pulse-dot 1.5s ease-in-out infinite;
}
.header-badge--online .header-live-txt { display: inline }
.header-badge--away {
  background: rgba(0,0,0,0.04); color: var(--ink-muted);
  border: 1px solid var(--border);
}
@keyframes pulse-dot { 0%,100% { opacity: 1 } 50% { opacity: 0.35 } }
@media(prefers-reduced-motion: reduce) { .header-badge--online .header-live-dot { animation: none; opacity: 1 } }

/* === MOBILE TOGGLE === */
.mobile-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--ink); cursor: pointer; flex-shrink: 0;
  transition: all 0.2s; -webkit-tap-highlight-color: transparent;
}
.mobile-toggle:hover { background: var(--surface-dim); border-color: var(--border-strong) }
.mobile-toggle-bars {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 18px; height: 14px; pointer-events: none;
}
.mobile-toggle-bars > span {
  display: block; height: 2.5px; background: currentColor; border-radius: 999px;
  width: 100%; transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
}
.mobile-toggle-bars > span:nth-child(2) { width: 62%; align-self: center }
.mobile-toggle.is-open .mobile-toggle-bars > span:nth-child(1) { transform: translateY(5.75px) rotate(45deg) }
.mobile-toggle.is-open .mobile-toggle-bars > span:nth-child(2) { opacity: 0; transform: scaleX(0) }
.mobile-toggle.is-open .mobile-toggle-bars > span:nth-child(3) { transform: translateY(-5.75px) rotate(-45deg) }

/* === MOBILE MENU === */
.mobile-menu {
  display: none; width: 100%;
  background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
.mobile-menu.is-open { display: block }
.mobile-menu .container { padding-top: 8px; padding-bottom: 16px }
.mobile-menu .btn { display: block; width: 100%; text-align: center; margin-top: 10px; box-sizing: border-box }
.mobile-link {
  display: block; padding: 14px 0; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-link:hover { color: var(--brand) }
.mobile-link.child { padding-left: 16px; font-weight: 500; color: var(--ink-soft); font-size: 15px }
.mobile-children { padding-bottom: 8px }

/* === TRUST BAR === */
.trust-bar {
  background: var(--surface-dim); border-bottom: 1px solid var(--border);
  padding: 14px 0; overflow: hidden;
}
.trust-bar-inner { max-width: var(--container-w); margin: 0 auto }
.trust-bar-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-muted); font-weight: 500;
}
.trust-bar-item { display: flex; align-items: center; gap: 8px; white-space: nowrap }
.trust-bar-item:nth-child(3) { grid-column: auto }
.trust-ic { color: var(--brand); font-size: 16px; line-height: 1; display: inline-flex; flex-shrink: 0 }
.trust-bar-extra {
  margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--border);
  font-size: 12px; color: var(--ink-muted); line-height: 1.45; text-align: center;
}
@media(max-width: 900px) { .trust-bar { display: none } }

/* === HERO === */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 80px);
  background: linear-gradient(160deg, #fef6f0 0%, #fff 40%, #f0f9ff 80%, #fff 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(211,84,0,0.06), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1 }
.hero-copy { text-align: left }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700; line-height: 1.15; color: var(--ink);
  margin-bottom: 20px; margin-top: 0; letter-spacing: -0.02em;
}
.price { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--brand) }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; flex-wrap: wrap; margin-bottom: 32px;
}
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--ink); margin: 0 0 6px;
}
.section-lead { margin: 0; color: var(--ink-muted); font-size: 16px; max-width: 560px; line-height: 1.6 }

/* Hero Slider */
.hero-modern .hero-slider {
  position: relative; min-height: 400px; padding: 8px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--brand-surface), #e0f2fe);
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 8px; opacity: 0; transition: opacity 0.5s ease;
  border-radius: var(--r-lg); width: calc(100% - 16px); height: calc(100% - 16px); object-fit: cover;
}
.hero-slide.is-active { opacity: 1 }

/* === SECTIONS === */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
section.page-section { margin: var(--section-gap) 0 }
section h2 { margin-bottom: 8px }

/* Service cards */
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.service-card:hover::before { transform: scaleX(1) }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px) }
.service-card .service-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--brand-surface); display: flex; align-items: center; justify-content: center;
  color: var(--brand); margin-bottom: 16px;
}
.service-card .service-icon i { font-size: 22px; line-height: 1; display: block }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px }
.service-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6 }

/* Tour & icon cards */
.tour-icon { color: var(--brand); margin-bottom: 12px }
.tour-icon i { font-size: 2rem; line-height: 1; display: block }
.icon-card img { width: 100%; max-height: 200px; object-fit: cover; border-radius: var(--r-md); margin-bottom: 12px }

/* Partner grid */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px }
.partner-logo img { width: 100%; height: 64px; object-fit: contain }

/* === FORMS === */
.lead-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; color: var(--ink) }
.lead-form input, .lead-form textarea, form input, form textarea, form select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-md);
  margin-bottom: 14px; background: var(--surface); color: var(--ink);
  font-family: var(--font-body); font-size: 15px; transition: all 0.2s;
}
.lead-form input:focus, .lead-form textarea:focus, form input:focus, form textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(211,84,0,.12);
}

/* === FAQ === */
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; transition: all 0.3s;
}
.faq-item:hover { border-color: var(--brand) }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16px;
  color: var(--ink); list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none }
.faq-item summary::after {
  content: '\F282'; font-family: 'bootstrap-icons';
  font-size: 14px; color: var(--ink-muted); transition: transform 0.3s; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg) }
.faq-item p { padding: 0 24px 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.7 }

/* === PAGES === */
.page { padding: 24px 0 }
.rich-content p { margin: 12px 0; line-height: 1.7 }
.rich-content a { color: var(--brand); font-weight: 600 }
.info-alert p { margin: 6px 0 }

/* Contact */
.contact-page .contact-grid { display: grid; gap: 24px; max-width: 720px }
@media(min-width: 768px) { .contact-page .contact-grid.two-cols { grid-template-columns: 1fr 1fr; max-width: 960px } }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 }

/* Blog */
.blog-cover {
  width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--r-lg);
  margin-bottom: 20px; border: 1px solid var(--border);
}
.blog-meta { color: var(--ink-muted); font-size: 14px; margin: 8px 0 16px }
.related-blogs { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border) }
.related-blogs h2 { font-size: 1.15rem }
.related-blogs a { color: var(--brand); font-weight: 600 }

/* === FLOATING ELEMENTS === */
.floating-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 98;
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-dark));
  color: #fff; padding: 14px 22px; border-radius: var(--r-full);
  text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 32px rgba(37,211,102,.4); transition: all 0.3s;
}
.floating-wa:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,211,102,.5); color: #fff }

.floating-cards {
  position: fixed; right: 24px; bottom: 88px;
  display: grid; gap: 10px; z-index: 97; max-width: 200px;
}
.glass-card {
  display: block; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px);
  color: var(--brand); padding: 12px 16px; border-radius: var(--r-md);
  text-decoration: none; border: 1px solid var(--border); font-weight: 600;
  box-shadow: var(--shadow-md); transition: all 0.2s;
}
.glass-card:hover { background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-2px) }

/* === COUNTDOWN === */
.countdown-strip {
  background: linear-gradient(90deg, var(--brand-surface), #fff, var(--brand-surface));
  border: 1px solid rgba(211,84,0,.1); border-radius: var(--r-lg);
  padding: 20px 28px; margin: 20px auto; max-width: var(--container-w);
  text-align: center;
}
.countdown-strip strong { color: var(--brand-dark); font-size: 1.1rem }
.countdown-digits { display: flex; justify-content: center; gap: 12px; margin-top: 10px; flex-wrap: wrap }
.countdown-digits span {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 10px 18px; font-weight: 800; color: var(--brand); min-width: 60px;
  font-family: var(--font-display);
}

/* === EXIT MODAL === */
.exit-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px;
}
.exit-modal.is-open { display: flex }
.exit-modal-inner {
  background: var(--surface); border-radius: var(--r-xl);
  padding: 32px; max-width: 420px; width: 100%;
  box-shadow: var(--shadow-xl); border: 1px solid var(--border);
}
.exit-modal-inner h3 { margin-top: 0; color: var(--brand-dark) }

/* === COOKIE BAR === */
.cookie-bar {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 165;
  max-width: 560px; margin: 0 auto;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 20px 24px; box-shadow: var(--shadow-xl); display: none;
}
.cookie-bar.is-visible { display: block }
.cookie-bar p { margin: 0 0 14px; font-size: 14px; color: var(--ink-soft); line-height: 1.5 }
.cookie-bar .cta-row { margin: 0 }

/* === FOOTER === */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 64px 0 0; margin-top: var(--section-gap);
  border-top: none; box-shadow: none;
}
.site-footer .container { padding: 0 clamp(16px, 4vw, 24px) 40px }
.site-footer a {
  color: rgba(255,255,255,0.6); text-decoration: none; font-weight: 500;
  transition: color 0.2s; border-bottom: none;
}
.site-footer a:hover { color: #fff }

.footer-brand-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 16px 24px; margin-bottom: 22px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-row .footer-logo-link {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; color: #fff;
}
.footer-brand-row .footer-logo-link img { max-height: 44px; width: auto }
.footer-links {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: center; margin-bottom: 16px;
}
.footer-copy {
  text-align: center; color: rgba(255,255,255,0.4);
  font-size: 13px; line-height: 1.5; max-width: 52ch; margin: 0 auto;
}
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px }
.lang-switch a {
  color: rgba(255,255,255,0.6); padding: 6px 12px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05);
}
.lang-switch a:hover { background: rgba(255,255,255,0.1); color: #fff }
.lang-switch a.is-active { background: var(--brand-glow); color: var(--brand-light); border-color: rgba(211,84,0,.3) }

/* === MOBILE STICKY CTA === */
.mobile-sticky-cta { display: none }

/* === FLASH === */
.flash-msg {
  background: var(--brand-surface); border: 1px solid rgba(211,84,0,.15);
  padding: 14px 20px; border-radius: var(--r-md); margin: 16px 0;
  font-weight: 500; color: var(--brand-dark);
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-body { background: var(--surface-dim); color: var(--ink) }
.admin-body .card {
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.admin-body .card label { display: block; font-weight: 600; margin: 10px 0 5px; font-size: 13px; color: var(--ink) }
.admin-body .card input:not([type=checkbox]):not([type=file]):not([type=hidden]) {
  width: 100%; max-width: 420px; padding: 10px 14px; border-radius: var(--r-md);
  border: 1.5px solid var(--border-strong); margin-bottom: 6px;
  font-family: var(--font-body); font-size: 14px; transition: all 0.2s;
}
.admin-body .card input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(211,84,0,.12); outline: none }
.admin-body .card form .btn { margin-top: 12px }
.admin-container { padding: 24px 0 }
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px }
.row-between {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--border);
}
.switch-row { display: flex; gap: 16px }
.action-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.apply-choice-box { margin-top: 4px }

/* Admin Top */
.admin-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 24px;
}
.admin-top h1 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink);
}
.admin-top-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0 }

/* Admin Nav Toggle (mobile) */
.admin-nav-toggle {
  display: none; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--brand); font-weight: 600; font-size: 14px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.admin-nav-toggle:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px }
.admin-nav-toggle-bars {
  display: inline-flex; flex-direction: column; justify-content: space-between;
  width: 18px; height: 14px; flex-shrink: 0;
}
.admin-nav-toggle-bars span {
  display: block; height: 2px; background: currentColor; border-radius: 1px; width: 100%;
}

/* Admin Nav Backdrop */
.admin-nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 198; backdrop-filter: blur(2px) }
.admin-nav-backdrop.is-visible { display: block }

/* Admin Nav */
.admin-nav { position: relative }
.admin-nav-head {
  display: none; align-items: center; justify-content: space-between;
  padding: 0 0 12px; margin: 0 0 4px; border-bottom: 1px solid var(--border);
}
.admin-nav-title { font-weight: 800; font-size: 1rem; color: var(--brand-dark) }
.admin-nav-close {
  border: none; background: var(--brand-glow); color: var(--brand);
  width: 38px; height: 38px; border-radius: var(--r-sm); font-size: 1.4rem;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}

/* Admin Tabs */
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 }
.tab-btn {
  border: 1px solid var(--border); background: var(--surface);
  color: var(--ink-soft); padding: 10px 16px; border-radius: var(--r-sm);
  cursor: pointer; font-size: 13px; font-weight: 600;
  font-family: var(--font-body); transition: all 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.tab-btn:hover { border-color: var(--brand); color: var(--brand) }
.tab-btn.active {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff; border-color: transparent;
}
.tab-panel { display: none }
.tab-panel.active { display: block }
.admin-body .tab-panel { display: none !important }
.admin-body .tab-panel.active { display: block !important }

/* Analytics */
.analytics-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px; margin: 16px 0;
}
.analytics-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 16px 18px; text-align: center;
}
.analytics-stat strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--brand) }
.analytics-stat span { font-size: 12px; color: var(--ink-muted) }
.analytics-two-col { display: grid; grid-template-columns: 1fr; gap: 16px }
@media(min-width: 900px) { .analytics-two-col { grid-template-columns: 1fr 1fr } }
.visit-map-wrap {
  height: min(420px, 70vh); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); margin-top: 12px; z-index: 0;
}
.analytics-table { width: 100%; font-size: 13px; border-collapse: collapse }
.analytics-table th, .analytics-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border) }
.analytics-table th {
  color: var(--ink-muted); font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em; background: var(--surface-dim);
}

/* App card & badges */
.app-card { margin-top: 10px }
.file-list { margin-top: 8px; font-size: 14px }
.badge {
  display: inline-flex; padding: 4px 10px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.badge-warn { background: rgba(245,158,11,.1); color: #d97706 }

/* Kanban */
.kanban-wrap {
  display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr));
  gap: 12px; overflow: auto; padding-bottom: 4px;
}
.kanban-col {
  background: var(--surface-dim); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px; min-height: 260px;
}
.kanban-col h3 { margin: 0 0 8px; color: var(--brand); font-size: 15px }
.kanban-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px; margin-bottom: 8px }
.kanban-card p { margin: 4px 0; color: var(--ink-soft); font-size: 13px }

.logo-preview { max-height: 48px; margin-top: 8px }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width: 900px) {
  :root { --container-w: min(1200px, 100% - 32px) }

  .hero-grid, .grid-3, .admin-grid { grid-template-columns: 1fr }
  .desktop-nav, .header-wrap .cta-row { display: none !important }
  .mobile-toggle { display: inline-flex !important }

  .business-bar { padding: 6px 12px; font-size: 12px; line-height: 1.35 }

  .header-wrap {
    justify-content: space-between; align-items: center;
    flex-wrap: wrap; column-gap: 14px; row-gap: 8px;
    padding-block: 10px; height: auto;
  }
  .header-wrap .header-live {
    order: -1; flex: 1 1 100%; width: 100%; text-align: center; margin-bottom: 6px;
  }
  .header-wrap .header-live .header-badge--online {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 8px 16px; border-radius: 0; border: none;
    font-size: 12.5px; font-weight: 600; color: #fff;
    background: linear-gradient(90deg, #075e54, #128c7e, #25d366, #128c7e, #075e54);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  }
  .header-wrap .header-live .header-badge--online .header-live-dot {
    width: 9px; height: 9px; background: #fff;
  }
  .header-wrap .header-live .header-badge--away {
    display: block; width: 100%; padding: 7px 12px; border-radius: 0; border: none;
    font-size: 12.5px; font-weight: 600; color: #fafaf9;
    background: linear-gradient(90deg, #44403c, #57534e, #44403c);
  }

  .header-wrap .logo { flex: 1 1 auto; min-width: 0; order: 0 }
  .header-wrap .mobile-toggle { order: 1; flex-shrink: 0 }

  .partner-grid { grid-template-columns: repeat(2, 1fr) }
  .floating-cards { display: none }
  .hero-copy { text-align: center }
  .cta-row { justify-content: center }
  .section-head { align-items: center; text-align: center }

  .mobile-sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 12px 20px; gap: 10px; justify-content: center; align-items: center;
    box-shadow: 0 -8px 24px rgba(0,0,0,.06);
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .mobile-sticky-cta .btn { flex: 1; max-width: 200px; padding: 10px 14px; font-size: 14px }
  .site-body--light { padding-bottom: max(64px, env(safe-area-inset-bottom)) }

  .floating-wa { display: none !important }

  /* Admin mobile */
  .admin-nav-toggle { display: inline-flex }
  .admin-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 88vw);
    z-index: 199; background: var(--surface); border-left: 1px solid var(--border);
    box-shadow: -12px 0 40px rgba(0,0,0,.14);
    padding: 16px 14px 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.25s ease; will-change: transform;
  }
  .admin-nav.is-open { transform: translateX(0) }
  .admin-nav-head { display: flex }
  .admin-tabs { flex-direction: column; align-items: stretch; gap: 6px; margin: 8px 0 0 }
  .tab-btn { width: 100%; text-align: left; padding: 12px 14px; font-size: 15px; border-radius: var(--r-sm) }
}
@media(min-width: 901px) {
  .admin-nav { position: static !important; transform: none !important; width: auto !important; background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; overflow: visible !important }
  .admin-nav-head { display: none !important }
  .admin-nav-toggle { display: none !important }
  .admin-nav-backdrop.is-visible { display: none !important }
}

/* Extra small screens */
@media(max-width: 480px) {
  :root { --container-w: min(1200px, 100% - 24px); --section-gap: clamp(40px, 8vw, 64px) }
  .hero { padding: 28px 0 32px }
  .hero h1 { font-size: clamp(1.4rem, 6vw, 1.8rem) }
  .hero-modern .hero-slider { min-height: 240px }
  .countdown-strip { padding: 16px 16px }
}

/* Google Fonts loader (embedded in layout for production) */
.site-body--light {
  background: linear-gradient(180deg, #fef6f0 0%, #fff 35%);
  color: var(--ink);
}
