/* Alem Supermarkt – Premium Frontend */
:root {
  --primary: #52525b;
  --primary-light: #71717a;
  --primary-dark: #3f3f46;
  --accent: #dc2626;
  --accent-dark: #b91c1c;
  --accent-light: #fef2f2;
  --accent-glow: rgba(220, 38, 38, 0.35);
  --white: #ffffff;
  --muted: #f4f4f5;
  --muted-warm: #fafafa;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --text: #18181b;
  --text-muted: #71717a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-accent: 0 8px 32px var(--accent-glow);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  padding-bottom: 88px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

[dir=rtl] { text-align: right; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

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

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-head { margin-bottom: 2.5rem; max-width: 640px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-muted); margin: 0.75rem 0 0; font-size: 1.05rem; }

.tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: 780px;
  line-height: 1.7;
}

.subtitle { color: var(--text-muted); }

/* ── Scroll reveal ── */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-blur {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-scale { transform: scale(0.92); }
.reveal-blur { transform: translateY(24px); filter: blur(8px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible,
.reveal-blur.visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.54s; }
.reveal-stagger.visible > *:nth-child(n) { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.reveal-hero {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .reveal-hero { opacity: 1; transform: translateY(0); }
.hero-slide.active .reveal-hero:nth-child(1) { transition-delay: 0.1s; }
.hero-slide.active .reveal-hero:nth-child(2) { transition-delay: 0.2s; }
.hero-slide.active .reveal-hero:nth-child(3) { transition-delay: 0.35s; }
.hero-slide.active .reveal-hero:nth-child(4) { transition-delay: 0.5s; }
.hero-slide.active .reveal-hero:nth-child(5) { transition-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur,
  .reveal-stagger > *, .reveal-hero {
    opacity: 1; transform: none; filter: none; transition: none;
  }
  .hero-slide { transition: opacity 0.5s !important; }
  .hero-slide.active .hero-bg { animation: none !important; }
  .marquee-track { animation: none !important; }
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 200;
  box-shadow: var(--shadow-sm);
}

.site-header::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 50%, var(--primary) 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.logo:hover { color: var(--primary-dark); }

.logo-mark {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.main-nav {
  display: none;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition);
}

.main-nav a:hover { background: var(--muted); color: var(--primary-dark); }

.main-nav a.active {
  background: var(--primary-dark);
  color: var(--white);
}

.lang-switch {
  position: relative;
  flex-shrink: 0;
}

.lang-dropdown { position: relative; }

.lang-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  transition: all var(--transition);
}

.lang-dropdown-toggle:hover,
.lang-dropdown.open .lang-dropdown-toggle {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.lang-flag { font-size: 1.1rem; line-height: 1; }

.lang-chevron {
  transition: transform var(--transition);
  opacity: 0.6;
}

.lang-dropdown.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 300;
}

.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background var(--transition);
}

.lang-dropdown-menu a:hover { background: var(--muted); color: var(--primary-dark); }

.lang-dropdown-menu a.active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
}

.lang-dropdown-menu a svg { margin-left: auto; color: var(--accent); }

/* Legacy lang-switch links – fallback */
.lang-switch a {
  padding: 0.3rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 7px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.lang-switch a.active {
  background: var(--white);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.mobile-toggle {
  display: block;
  background: var(--muted);
  border: none;
  font-size: 1.35rem;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--transition);
}

.mobile-toggle:hover { background: var(--border); }

body.menu-open .main-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Notification bar ── */
.notification-bar {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: var(--white);
  padding: 0.65rem 1.25rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.notification-bar button {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: background var(--transition);
}

.notification-bar button:hover { background: rgba(255, 255, 255, 0.3); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: clamp(480px, 75vh, 720px);
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-elite::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 5;
  opacity: 0.4;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-slide.active .hero-bg {
  animation: kenBurns 8s ease forwards;
}

@keyframes kenBurns {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(110deg, rgba(24, 24, 27, 0.92) 0%, rgba(24, 24, 27, 0.6) 50%, rgba(24, 24, 27, 0.2) 100%);
  color: var(--white);
  min-height: clamp(480px, 75vh, 720px);
  display: flex;
  align-items: center;
  padding: 4rem 0 6rem;
}

.hero-fallback {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: var(--white);
  min-height: clamp(480px, 75vh, 720px);
  display: flex;
  align-items: center;
  position: relative;
  padding: 4rem 0 6rem;
}

.hero-fallback::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(220, 38, 38, 0.15));
}

.hero-content { max-width: 620px; }

.hero-content h1 {
  margin: 0 0 1rem;
  animation: fadeUp 0.8s ease both;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin: 0 0 1.75rem;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-content .btn { animation: fadeUp 0.8s 0.3s ease both; }

.hero-accent {
  display: inline-block;
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero-dots {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.hero-dot.active {
  background: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 12px var(--accent-glow);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Sections ── */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }

.section-muted {
  background: var(--muted-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: var(--primary-dark);
  color: var(--white);
}

.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.8); }

.section-accent {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-accent::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.section-accent h2, .section-accent h3 { color: var(--white); position: relative; }
.section-accent p { color: rgba(255, 255, 255, 0.85); position: relative; }

.section-primary { background: var(--primary-dark); color: var(--white); }

/* ── Intro band ── */
.intro-band {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
}

.intro-band .tagline {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary-dark);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.6;
}

/* ── Quick actions ── */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .quick-actions-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .quick-actions-grid { grid-template-columns: repeat(5, 1fr); }
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--primary-dark);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.quick-action:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.quick-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--accent-light);
  color: var(--accent);
  transition: all var(--transition);
}

.quick-action:hover .quick-action-icon {
  background: var(--accent);
  color: var(--white);
}

.quick-action.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.quick-action.accent .quick-action-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.quick-action.accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

/* ── Grids ── */
.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1.5rem; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-center { text-align: center; }

.card-highlight {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.card-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
  transition: all var(--transition);
}

.card:hover .feature-icon {
  background: var(--accent-light);
  transform: scale(1.05);
}

.parking-card {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--accent-light), var(--white));
}

.parking-card .feature-icon { background: var(--accent); color: var(--white); }

.announcement-card {
  border-left: 4px solid var(--accent);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-display);
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--white);
  box-shadow: 0 4px 16px var(--accent-glow);
  position: relative;
  overflow: hidden;
}

.btn-accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.2) 100%);
  pointer-events: none;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  border: 2px solid var(--primary-dark);
  color: var(--primary-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-white:hover {
  background: var(--muted);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: transparent;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-dark);
}

/* ── Offer cards ── */
.offer-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.offer-card.highlight {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.offer-card.highlight::after {
  content: '★';
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: var(--shadow-accent);
}

.offer-card { position: relative; }

.offer-image {
  aspect-ratio: 3/4;
  background: linear-gradient(180deg, var(--muted) 0%, var(--white) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 100%;
}

.offer-image.ratio-4-3 { aspect-ratio: 4/3; }
.offer-image.ratio-1-1 { aspect-ratio: 1/1; }
.offer-image.ratio-3-4 { aspect-ratio: 3/4; }

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.5s ease;
}

.offer-card:hover .offer-image img { transform: scale(1.04); }

.offer-body { padding: 1.15rem 1.25rem 1.35rem; }

.offer-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.offer-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.offer-price { margin-bottom: 0.35rem; }

.price-new {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--accent);
}

.price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-left: 0.5rem;
}

/* ── Department cards ── */
.dept-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.dept-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.dept-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dept-card:hover img { transform: scale(1.06); }

.dept-card .dept-body { padding: 1.15rem 1.25rem 1.35rem; }

.dept-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }

.dept-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── CTA band ── */
.cta-band {
  display: grid;
  gap: 2rem;
  position: relative;
}

.cta-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.cta-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-3px);
}

.cta-item h2 { margin: 0 0 0.75rem; font-size: 1.5rem; }
.cta-item p { margin: 0 0 1.25rem; }

/* ── Forms ── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.hours-list { list-style: none; padding: 0; margin: 0; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.hours-list li:last-child { border-bottom: none; }

/* ── Footer ── */
.site-footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0 0;
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark), var(--primary));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p { color: rgba(255, 255, 255, 0.7); line-height: 1.7; }

.site-footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin: 0.35rem 0;
  transition: color var(--transition);
}

.site-footer a:hover { color: var(--white); }

.footer-bottom {
  text-align: center;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Mobile bar & contact ── */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 150;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-bar .btn {
  padding: 0.9rem 0.5rem;
  font-size: 0.8rem;
  border-radius: 12px;
}

.desktop-contact {
  display: none;
  gap: 1rem;
  margin: 0 auto 2rem;
  max-width: 1240px;
  padding: 0 1.25rem;
}

.contact-card {
  flex: 1;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-card::before {
  content: '📞';
  font-size: 1.1rem;
}

.contact-card.accent {
  border-color: var(--accent);
  background: var(--accent-light);
}

.contact-card.accent::before { content: '🥩'; }

.contact-card.whatsapp {
  background: #ecfdf5;
  border-color: #86efac;
}

.contact-card.whatsapp::before { content: '💬'; }

.contact-card.maps::before { content: '📍'; }

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Utilities ── */
.alert { padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 1rem; }
.alert.success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.login-form input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}

.login-form .btn { width: 100%; margin-top: 0.35rem; }

.login-error {
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.footer-social a {
  display: inline-block;
  font-size: 0.88rem;
}

.legal-company-card p { margin: 0.35rem 0; }

.rounded { border-radius: var(--radius); width: 100%; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.small { font-size: 0.875rem; color: var(--text-muted); }

.brochure-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.brochure-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.brochure-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  background: var(--muted);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
}

.legal-content h2 { color: var(--primary-dark); margin-top: 2rem; }

.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  margin-bottom: 0;
}

.page-hero h1 { margin: 0; }
.page-hero p { margin: 0.75rem 0 0; opacity: 0.85; font-size: 1.1rem; }

/* ══════════════════════════════════════
   ELITE HOMEPAGE
   ══════════════════════════════════════ */

body.header-scrolled .site-header {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.97);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color var(--transition);
  animation: bounceScroll 2s ease infinite;
}

.hero-scroll:hover { color: var(--white); }

@keyframes bounceScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 14px;
}

.floating-bar-wrap {
  position: relative;
  z-index: 20;
  margin-top: -3.5rem;
  margin-bottom: 0;
}

.floating-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .floating-bar { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .floating-bar { grid-template-columns: repeat(5, 1fr); }
}

.floating-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 0.5rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--primary-dark);
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.floating-item:hover {
  background: var(--muted);
  color: var(--accent);
  transform: translateY(-2px);
}

.floating-item.accent {
  background: var(--accent);
  color: var(--white);
}

.floating-item.accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition);
}

.floating-item.accent .floating-icon { background: rgba(255, 255, 255, 0.2); }
.floating-item:hover .floating-icon { transform: scale(1.08); }

.marquee-band {
  background: var(--primary-dark);
  color: var(--white);
  padding: 0.85rem 0;
  overflow: hidden;
  border-bottom: 2px solid var(--accent);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-item {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.85;
}

.marquee-dot {
  color: var(--accent);
  font-size: 0.5rem;
  align-self: center;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stats-bar {
  padding: 2.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-number.stat-text { color: var(--accent); }

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.intro-elite {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--muted-warm) 100%);
}

.intro-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .intro-split { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
}

.display-headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  background: linear-gradient(135deg, var(--primary-dark) 60%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 1rem;
}

.tagline-sm {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 0;
}

.intro-card-stack {
  position: relative;
  height: 320px;
}

.intro-card {
  position: absolute;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.5rem;
  transition: transform var(--transition);
}

.intro-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary-dark);
}

.intro-card-1 { top: 0; left: 0; width: 55%; transform: rotate(-3deg); z-index: 1; }
.intro-card-2 { top: 30%; right: 0; width: 55%; transform: rotate(2deg); z-index: 2; border-color: var(--accent); }
.intro-card-3 { bottom: 0; left: 15%; width: 60%; transform: rotate(-1deg); z-index: 3; background: var(--primary-dark); color: var(--white); }
.intro-card-3 strong { color: var(--white); }

.intro-visual:hover .intro-card-1 { transform: rotate(-5deg) translateY(-4px); }
.intro-visual:hover .intro-card-2 { transform: rotate(4deg) translateY(-6px); }
.intro-visual:hover .intro-card-3 { transform: rotate(0deg) translateY(-8px); }

.section-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--muted);
  line-height: 1;
  margin-bottom: -0.5rem;
  letter-spacing: -0.04em;
}

.section-head .section-number + .section-eyebrow { margin-top: 0; }

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.section-offers {
  background: var(--white);
  position: relative;
}

.section-offers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.offers-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .offers-showcase { grid-template-columns: repeat(4, 1fr); }
}

.offer-wrap { height: 100%; }

.offer-featured {
  grid-column: span 2;
  grid-row: span 2;
}

@media (min-width: 768px) {
  .offer-featured .offer-image { aspect-ratio: 1/1; }
  .offer-featured .offer-body { padding: 1.5rem; }
  .offer-featured .price-new { font-size: 2rem; }
}

.bento-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
}

.bento-item {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.bento-wide {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .bento-wide { grid-column: span 2; }
}

.bento-accent {
  background: linear-gradient(145deg, var(--accent-light), var(--white));
  border-color: var(--accent);
}

.bento-item .feature-icon { margin: 0 0 1rem; }
.bento-item h3 { margin: 0 0 0.5rem; }
.bento-item p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

.dept-scroll-wrap {
  overflow: hidden;
  padding: 0 0 1rem;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.dept-scroll {
  display: flex;
  gap: 1.25rem;
  padding: 0 1.25rem 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dept-scroll::-webkit-scrollbar { display: none; }

.dept-scroll-item {
  flex: 0 0 clamp(260px, 70vw, 300px);
  scroll-snap-align: start;
}

.dept-scroll-item .dept-card { height: 100%; }

.section-cta { padding: clamp(4rem, 8vw, 6rem) 0; }

.contact-final {
  display: grid;
  gap: 2.5rem;
  padding: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-final::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, transparent 65%);
  pointer-events: none;
}

.contact-final h2 { color: var(--white); margin: 0 0 0.75rem; }
.contact-final .section-eyebrow { color: var(--accent); }
.contact-final .tagline-sm { color: rgba(255, 255, 255, 0.75); border-color: var(--accent); }

.contact-final-content,
.contact-final-hours { position: relative; z-index: 1; }

.contact-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-final .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.contact-final .btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
}

.contact-final-hours h3 {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 1rem;
}

.contact-final .hours-list li {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 768px) {
  .contact-final { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}

/* ── Responsive ── */
@media (min-width: 768px) {
  .main-nav { display: flex; }
  .mobile-toggle { display: none; }
  body { padding-bottom: 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .mobile-bar { display: none; }
  .desktop-contact { display: grid; grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .desktop-contact { grid-template-columns: repeat(4, 1fr); }
}

/* ── Admin (unchanged structure, updated colors) ── */
.admin-body { background: #f8f8f9; font-family: var(--font-body); margin: 0; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px;
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 1rem;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar h2 { color: var(--primary-dark); font-size: 1.1rem; }
.admin-sidebar nav a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  color: var(--text);
  margin: 0.15rem 0;
  transition: all var(--transition);
}
.admin-sidebar nav a.active,
.admin-sidebar nav a:hover { background: var(--primary-dark); color: var(--white); }
.admin-main { margin-left: 260px; padding: 2rem; flex: 1; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
}
.admin-table th, .admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.admin-table th { background: var(--muted); }
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.login-box {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}
.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-published { background: #dcfce7; color: #166534; }
.badge-draft { background: #fef9c3; color: #854d0e; }
