/* ============================================================
   ZIENA ABAYCHI JEWELLERY DESIGN — style.css
   Color Palette: Deep Charcoal · Warm Gold · Ivory/Champagne
   Fonts: Cormorant Garamond (serif) · Jost (sans-serif)
   ============================================================ */

/* ---- CSS VARIABLES ---- */
 :root {
  --gold:          #C9A24D;
  --gold-light:    #E1C48C;
  --gold-pale:     #F3E6C7;
  --gold-ultra:    #FAF2E3;
  --burgundy:      #710E17;
  --burgundy-deep: #580B12;
  --burgundy-soft: #8A1A25;
  --camel:         #B28F6F;
  --camel-light:   #C7AA8F;
  --alabaster:     #F2F1ED;
  --alabaster-deep:#E7E1D8;
  --ivory:         #F2F1ED;
  --ivory-mid:     #EBE7E0;
  --cream:         #F7F4EE;
  --charcoal:      #2A1618;
  --charcoal-mid:  #3D2527;
  --charcoal-soft: #5B4545;
  --text-dark:     #241618;
  --text-mid:      #6F5D57;
  --text-light:    #D7CBC0;

  --font-serif:    'Bodoni Moda', 'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Jost', 'Helvetica Neue', Arial, sans-serif;

  --transition:    0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius:        6px;
  --shadow-card:   0 12px 40px rgba(65, 31, 33, 0.10);
  --shadow-hover:  0 18px 60px rgba(65, 31, 33, 0.16);
  --max-width:     1220px;
}

/* ====================================================
   LOADER SCREEN
   ==================================================== */
#loaderScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(180deg, var(--burgundy-deep), var(--burgundy));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 1s ease, visibility 1s ease;
}
#loaderScreen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
#loaderCanvas {
  width: min(420px, 82vw);
  height: auto;
  aspect-ratio: 760 / 560;
  filter: drop-shadow(0 0 22px rgba(184,151,62,0.58))
          drop-shadow(0 0 65px rgba(184,151,62,0.24));
}
.loader-brand {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.18em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.loader-brand.show {
  opacity: 1;
  transform: translateY(0);
}
.loader-sub {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  margin-top: -0.8rem;
  transition: opacity 0.8s ease 0.25s, transform 0.8s ease 0.25s;
}
.loader-sub.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--alabaster);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---- UTILITIES ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 100px 0; }
.mt-2 { margin-top: 2rem; }

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-label.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.section-title.light { color: var(--ivory); }

.section-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 540px;
  margin: 1rem auto 0;
  font-weight: 300;
}
.section-desc.light { color: var(--text-light); }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.gold-divider {
  width: 50px; height: 1px;
  background: var(--gold);
  margin: 1rem 0;
}
.gold-divider.centered { margin: 1rem auto; }

.dark-section {
  background: linear-gradient(180deg, var(--burgundy-deep), var(--burgundy));
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border: 1.5px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,151,62,0.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: 1.5px solid #25D366;
  font-size: 0.8rem;
}
.btn-whatsapp:hover {
  background: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}
.btn.full-width { width: 100%; justify-content: center; }

/* ====================================================
   HEADER / NAVBAR
   ==================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
#navbar.scrolled {
  background: rgba(113,14,23,0.94);
  box-shadow: 0 2px 30px rgba(34,8,12,0.28);
  backdrop-filter: blur(12px);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}
/* Use actual logo image: .nav-logo img { height: 46px; width: auto; } */
.nav-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  /* Logo has black background — mix-blend-mode makes it transparent-friendly */
  mix-blend-mode: lighten;
  filter: brightness(1.05);
}
.logo-symbol {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.logo-text small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--gold) !important;
  color: #fff !important;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius);
  letter-spacing: 0.15em !important;
  transition: background 0.3s, transform 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: #fff;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(18,15,12,0.98);
  padding: 1.5rem 2rem 2rem;
  gap: 1.2rem;
  border-top: 1px solid rgba(184,151,62,0.2);
}
.mobile-menu.open { display: flex; }
.mob-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
}
.mob-link:hover { color: var(--gold-light); }

/* ====================================================
   HERO SECTION
   ==================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(201,162,77,0.18), transparent 34%),
    radial-gradient(circle at 20% 18%, rgba(239,227,200,0.09), transparent 28%),
    radial-gradient(circle at 80% 22%, rgba(201,162,77,0.10), transparent 24%),
    linear-gradient(180deg, #080604 0%, #100c08 54%, #080604 100%);
  cursor: none;
}
#starCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: auto;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(0,0,0,0.08), transparent 28%),
    linear-gradient(to bottom, rgba(8,6,4,0.08) 0%, rgba(8,6,4,0.03) 45%, rgba(8,6,4,0.45) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 820px;
  /* content doesn't block mouse — canvas listens on the section itself */
  pointer-events: none;
}
/* Re-enable clicks on buttons only */
.hero-content .btn {
  pointer-events: all;
}
.hero-content a {
  pointer-events: all;
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.6s forwards;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--gold-pale);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
}
.hero-sub {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  margin-bottom: 2.4rem;
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.3s forwards;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  display: block;
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Hero animation keyframe */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====================================================
   ABOUT SECTION
   ==================================================== */
.about { background: var(--ivory); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-mid);
  margin-bottom: 1.1rem;
  line-height: 1.85;
}
.about-visual { position: relative; }
.about-image-frame {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
}
.about-img-placeholder {
  width: 100%; height: 100%;
  background: var(--ivory-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  gap: 0.5rem;
  /* Replace this div with <img src="images/about.jpg" alt="About"> */
}
.about-img-placeholder .placeholder-icon { font-size: 2rem; }
.about-img-placeholder p { font-size: 0.75rem; color: var(--text-mid); letter-spacing: 0.1em; }
.about-frame-accent {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 80%; height: 80%;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  z-index: -1;
  pointer-events: none;
}
.about-badge {
  position: absolute;
  bottom: -2rem; left: -1.5rem;
  background: var(--charcoal);
  color: #fff;
  padding: 1.2rem 1.5rem;
  text-align: center;
  z-index: 2;
}
.badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.badge-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1.5;
}

/* ====================================================
   GALLERY SECTION
   ==================================================== */
.gallery { background: var(--charcoal); }

.gallery-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0.5rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  transition: var(--transition);
  background: transparent;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

/* Gallery Card */
.gallery-card {
  background: var(--charcoal-mid);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}
.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--charcoal-soft);
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-card:hover .card-img-wrap img { transform: scale(1.06); }
.card-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gold);
  background: var(--charcoal-soft);
  font-size: 2rem;
}
.card-img-placeholder p { font-size: 0.7rem; color: var(--text-light); letter-spacing: 0.1em; }
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-card:hover .card-overlay { opacity: 1; }
.card-overlay-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  transition: background 0.3s, border-color 0.3s;
}
.gallery-card:hover .card-overlay-label {
  background: var(--gold);
  border-color: var(--gold);
}
.card-body {
  padding: 1.3rem 1.4rem 1.5rem;
}
.card-category {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.card-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.card-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 300;
}

/* ====================================================
   GALLERY MODAL
   ==================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,8,6,0.88);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(6px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--charcoal-mid);
  border-radius: 4px;
  width: 100%;
  max-width: 1120px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  border: 1px solid rgba(255,255,255,0.08);
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.5);
  z-index: 10;
  line-height: 1;
  transition: color 0.3s;
}
.modal-close:hover { color: var(--gold-light); }

.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Modal Slider */
.modal-slider {
  position: relative;
  background: var(--charcoal);
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-track {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}
.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-slide.active { opacity: 1; }
.slider-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.slider-slide-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 3rem;
  background: var(--charcoal-soft);
}
.slider-slide-placeholder p { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.1em; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.3s;
}
.slider-btn:hover { background: var(--gold); }
.slider-btn.prev { left: 0.75rem; }
.slider-btn.next { right: 0.75rem; }
.slider-dots {
  position: absolute;
  bottom: 0.9rem;
  left: 50%; transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}
.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s, transform 0.3s;
}
.slider-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Modal Details */
.modal-details {
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal-category {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.modal-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.modal-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
  font-weight: 300;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.modal-specs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
}
.spec-row {
  display: flex;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.spec-label {
  color: var(--text-light);
  font-weight: 400;
  min-width: 90px;
  letter-spacing: 0.08em;
}
.spec-value {
  color: var(--ivory-mid);
  font-weight: 300;
}

/* ====================================================
   OUR DESIGN SECTION
   ==================================================== */
.our-design { background: var(--ivory); }
.design-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.design-card {
  background: #fff;
  padding: 2.8rem 2rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--cream);
  transition: transform var(--transition), box-shadow var(--transition);
}
.design-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.design-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: block;
}
.design-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}
.design-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}

.design-manifesto {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--charcoal);
  border-radius: 2px;
}
.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-pale);
  letter-spacing: 0.02em;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* ====================================================
   COMING SOON SECTION
   ==================================================== */
.coming-soon { background: var(--charcoal); }
.coming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
}
.coming-card {
  background: var(--charcoal-mid);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.coming-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.coming-img-wrap {
  position: relative;
  aspect-ratio: 1;
}
.coming-placeholder {
  width: 100%; height: 100%;
  background: var(--charcoal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gold);
  /* Replace with: <img src="images/coming/..." alt="Coming Soon"> */
}
.coming-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
.coming-info {
  padding: 1.4rem 1.5rem 1.6rem;
}
.coming-info h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}
.coming-info p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1rem;
}
.coming-tag {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,151,62,0.3);
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
}

/* ====================================================
   OUR BRANCH SECTION
   ==================================================== */
.branch { background: var(--ivory-mid); }
.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.branch-info { display: flex; flex-direction: column; gap: 1.6rem; }
.branch-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.branch-icon {
  font-size: 1.2rem;
  color: var(--gold);
  margin-top: 0.1rem;
  min-width: 24px;
}
.branch-detail h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.branch-detail p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-weight: 300;
}
.branch-map iframe {
  border-radius: var(--radius);
  display: block;
  filter: grayscale(20%) contrast(1.05);
  box-shadow: var(--shadow-card);
}

/* ====================================================
   CONTACT SECTION
   ==================================================== */
.contact { background: var(--charcoal); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4.5rem;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 0.1rem;
  min-width: 24px;
}
.contact-item h4 {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.contact-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 300;
}

/* Contact Form */
.contact-form-wrap { position: relative; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color 0.3s;
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 2rem;
  background: rgba(184,151,62,0.08);
  border: 1px solid rgba(184,151,62,0.2);
  border-radius: var(--radius);
}
.form-success.visible { display: flex; }
.success-icon { font-size: 2rem; color: var(--gold); }
.form-success p { color: var(--text-light); font-weight: 300; }

/* ====================================================
   FOOTER
   ==================================================== */
.footer { background: #111; }
.footer-top { padding: 5rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand { }
.footer-logo-sym {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  margin-bottom: 0.8rem;
}
.footer-brand-name small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-sans);
}
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.5rem;
}
.footer-links,
.footer-contact,
.footer-social { }
.footer-links h5,
.footer-contact h5,
.footer-social h5 {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-links a {
  display: block;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact p {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}
.social-links { display: flex; flex-direction: column; gap: 0.6rem; }
.social-links a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.social-links a:hover { color: var(--gold-light); }

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.08em;
}

/* ====================================================
   SCROLL REVEAL ANIMATIONS
   ==================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s !important; }
.delay-2 { transition-delay: 0.30s !important; }
.delay-3 { transition-delay: 0.45s !important; }

/* ====================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ==================================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 500px; margin: 0 auto; }
  .design-cards { grid-template-columns: 1fr 1fr; }
  .branch-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-slider { aspect-ratio: 16/9; }
}

/* ====================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ==================================================== */
@media (max-width: 768px) {
  :root { font-size: 15px; }
  .section-padding { padding: 70px 0; }

  /* Navbar */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* About */
  .about-badge { bottom: -1rem; left: -0.5rem; }

  /* Design */
  .design-cards { grid-template-columns: 1fr; }

  /* Coming */
  .coming-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }

  /* Modal */
  .modal-box { max-height: 95vh; }
  .modal-details { padding: 1.8rem 1.4rem; }
  .modal-name { font-size: 1.6rem; }
}

@media (max-width: 500px) {
  .coming-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-title { font-size: 3rem; }
}

/* ====================================================
   SCROLLBAR STYLING
   ==================================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ====================================================
   SELECTION COLOUR
   ==================================================== */
::selection { background: var(--gold); color: #fff; }

.about-img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 28px;
}


/* ====================================================
   STAR HERO — CSS fallback + luxury cursor
   ==================================================== */
.star-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: repeat;
  opacity: 0.95;
  mix-blend-mode: screen;
}
.star-layer-1 {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.95) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(201,162,77,0.92) 0 1.2px, transparent 1.9px);
  background-size: 90px 90px, 140px 140px;
  animation: starsMoveOne 38s linear infinite, starsTwinkle 3.8s ease-in-out infinite alternate;
}
.star-layer-2 {
  background-image:
    radial-gradient(circle, rgba(239,227,200,0.9) 0 1.4px, transparent 2.1px),
    radial-gradient(circle, rgba(201,162,77,0.75) 0 0.9px, transparent 1.7px);
  background-size: 170px 170px, 230px 230px;
  animation: starsMoveTwo 62s linear infinite, starsTwinkle 5.2s ease-in-out infinite alternate;
  opacity: 0.65;
}
.star-layer-3 {
  background-image:
    radial-gradient(circle, rgba(255,244,200,0.95) 0 1px, transparent 1.8px);
  background-size: 260px 260px;
  filter: drop-shadow(0 0 8px rgba(201,162,77,0.65));
  animation: starsMoveThree 85s linear infinite, starsTwinkle 2.9s ease-in-out infinite alternate;
  opacity: 0.45;
}
@keyframes starsMoveOne { from { background-position: 0 0, 0 0; } to { background-position: 260px 520px, -380px 420px; } }
@keyframes starsMoveTwo { from { background-position: 0 0, 0 0; } to { background-position: -420px 300px, 360px -240px; } }
@keyframes starsMoveThree { from { background-position: 0 0; } to { background-position: 300px -520px; } }
@keyframes starsTwinkle { from { opacity: 0.38; } to { opacity: 0.96; } }
.hero::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  left: var(--cursor-x, 50%);
  top: var(--cursor-y, 50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,77,0.20), transparent 62%);
  filter: blur(3px);
  pointer-events: none;
  z-index: 1;
}
.hero::before {
  content: "◆";
  position: absolute;
  left: var(--cursor-x, 50%);
  top: var(--cursor-y, 50%);
  transform: translate(-50%, -50%) rotate(45deg);
  color: #C9A24D;
  font-size: 18px;
  text-shadow: 0 0 12px rgba(201,162,77,0.95), 0 0 28px rgba(239,227,200,0.45);
  pointer-events: none;
  z-index: 4;
}
.hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  opacity: 0;
  animation: fadeUp 1s 0.6s forwards;
}
.hero-logo-img {
  width: min(90vw, 540px);
  height: auto;
  display: block;
  padding: 0.9rem 1.2rem;
  background: rgba(248, 242, 232, 0.92);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.28), 0 0 80px rgba(201,162,77,0.18);
}
@media (max-width: 768px) {
  .hero { cursor: auto; }
  .hero::before, .hero::after { display: none; }
  .hero-logo-img { width: min(92vw, 420px); padding: 0.7rem 1rem; border-radius: 18px; }
}


/* ====================================================
   ABAYCHI BRAND THEME OVERRIDES
   Based on branding presentation: burgundy, camel, alabaster.
   ==================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: #710E17;
  cursor: default;
}
.hero::before,
.hero::after,
#starCanvas,
.star-layer,
.star-layer-1,
.star-layer-2,
.star-layer-3 {
  display: none !important;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-background-red.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
}
.hero-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(113,14,23,0.08) 0%, rgba(113,14,23,0.04) 42%, rgba(60,7,14,0.18) 100%);
}
.hero-sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.08), transparent 34%);
  z-index: 1;
  pointer-events: none;
}
.hero-overlay {
  background: linear-gradient(to bottom, rgba(113,14,23,0.10) 0%, rgba(113,14,23,0.03) 45%, rgba(59,8,15,0.14) 100%);
}
.hero-content {
  max-width: 1120px;
}
.hero-eyebrow {
  color: var(--gold-light);
  letter-spacing: 0.42em;
}
.hero-logo-wrap {
  margin-bottom: 1.25rem;
}
.hero-logo-img {
  width: min(94vw, 820px);
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 0 22px rgba(201,162,77,0.10));
}
.hero-tagline {
  color: var(--gold-pale);
  font-size: clamp(1.25rem, 2.7vw, 2rem);
  font-style: normal;
  letter-spacing: 0.01em;
}
.hero-sub {
  color: rgba(242,241,237,0.88);
  font-size: 1.02rem;
}
.scroll-line {
  background: linear-gradient(to bottom, transparent, var(--camel), transparent);
}
.section-label,
.logo-text small,
.nav-cta,
.gold-divider,
.section-label.light {
  color: var(--gold);
}
.nav-logo {
  gap: 0;
}
.logo-text { display: none; }

.nav-logo-img {
  mix-blend-mode: screen;
  filter: brightness(1.08) drop-shadow(0 0 8px rgba(201,162,77,0.08));
}
.logo-text {
  color: var(--alabaster);
  font-family: var(--font-serif);
  letter-spacing: 0.10em;
}
.nav-links a {
  color: rgba(242,241,237,0.82);
}
.nav-links a:hover,
.nav-links a:hover::after {
  color: var(--gold-light);
}
.btn-gold {
  background: var(--camel);
  border-color: var(--camel);
  color: #fff;
}
.btn-gold:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.btn-outline {
  border-color: rgba(242,241,237,0.55);
  color: var(--alabaster);
}
.about,
.our-design,
.branch,
.footer-bottom {
  background: var(--alabaster);
}
.section-title.light,
.section-desc.light,
.gallery .section-desc,
.contact .section-desc,
.coming-soon .section-desc {
  color: var(--alabaster);
}
.gallery-card,
.design-card,
.coming-card,
.contact-form-wrap,
.modal-box {
  border-color: rgba(178,143,111,0.24);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--camel);
  border-color: var(--camel);
}
.footer {
  background: var(--burgundy-deep);
}
.footer-top {
  background: var(--burgundy-deep);
}
.footer-brand-name,
.footer-links a,
.footer-contact p,
.footer-social a,
.footer-bottom p {
  color: rgba(242,241,237,0.86);
}
.footer-logo-sym,
.footer h5 {
  color: var(--gold-light);
}
@media (max-width: 768px) {
  .hero-pattern {
    background-size: cover;
    background-position: center;
    opacity: 1;
  }
  .hero-logo-img {
    width: min(94vw, 560px);
  }
}

/* ====================================================
   MG HUB CMS integration updates
   ==================================================== */
.nav-container { padding-top: 0.8rem; padding-bottom: 0.8rem; }
.nav-logo-img { height: 76px !important; max-width: 220px; object-fit: contain; }
.footer-logo-img { width: min(240px, 72vw); max-height: 150px; object-fit: contain; mix-blend-mode: screen; filter: brightness(1.08) drop-shadow(0 0 10px rgba(201,162,77,0.10)); display:block; margin-bottom: 1rem; }
.footer-credit { margin-top: 1.2rem; color: rgba(242,241,237,0.70); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.8; }
.footer-credit a { color: var(--gold-light); border: 1px solid rgba(201,162,77,.28); padding: .18rem .55rem; border-radius: 999px; text-decoration: none; transition: .25s ease; }
.footer-credit a:hover { background: rgba(201,162,77,.14); color: #fff; }
.footer-bottom a { color: var(--gold-light); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.admin-managed-note { color: rgba(242,241,237,0.62); font-size: .92rem; }
@media (max-width: 768px) { .nav-logo-img { height: 58px !important; max-width: 180px; } }

/* ====================================================
   MOBILE APP-LIKE EXPERIENCE / PWA polish
   ==================================================== */
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 92px;
}
button,
a,
.btn,
.filter-btn,
.gallery-card,
.mobile-app-nav-link {
  -webkit-tap-highlight-color: rgba(201,162,77,0.18);
}
.btn,
.filter-btn,
.nav-cta,
.form-group input,
.form-group textarea,
.mobile-app-nav-link {
  touch-action: manipulation;
}
.btn,
.filter-btn {
  min-height: 44px;
}
.form-group input,
.form-group textarea {
  min-height: 48px;
}
.mobile-app-nav {
  display: none;
}
@supports (height: 100svh) {
  .hero { min-height: 100svh; }
}

@media (hover: none) {
  .gallery-card:hover,
  .design-card:hover,
  .coming-card:hover {
    transform: none;
  }
  .gallery-card:hover .card-img-wrap img {
    transform: none;
  }
  .card-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(8,6,4,0.58), rgba(8,6,4,0.06));
    align-items: flex-end;
    padding-bottom: 1rem;
  }
  .card-overlay-label {
    background: rgba(8,6,4,0.56);
    backdrop-filter: blur(8px);
  }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 82px; }
  body {
    overflow-x: hidden;
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  #navbar {
    top: 0;
    padding-top: env(safe-area-inset-top);
    background: rgba(113,14,23,0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  #navbar.scrolled {
    background: rgba(113,14,23,0.94);
  }
  .nav-container {
    padding: 0.55rem max(1rem, env(safe-area-inset-left)) 0.55rem max(1rem, env(safe-area-inset-right));
    min-height: 68px;
  }
  .nav-logo-img {
    height: 64px !important;
    max-width: 205px;
  }
  .hamburger {
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
  }
  .mobile-menu {
    position: fixed;
    top: calc(78px + env(safe-area-inset-top));
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    max-height: 68svh;
    overflow-y: auto;
    border-radius: 0 0 24px 24px;
    padding: 1.1rem 1.15rem 1.25rem;
    box-shadow: 0 24px 60px rgba(0,0,0,0.34);
  }
  .mob-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .mob-link:last-child { border-bottom: 0; }

  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .section-padding { padding: 64px 0; }
  .section-title { font-size: clamp(2rem, 9vw, 3rem); }
  .section-desc { font-size: 0.92rem; }

  .hero {
    height: 100svh;
    min-height: 680px;
    padding-top: calc(88px + env(safe-area-inset-top));
    align-items: center;
  }
  .hero-content {
    width: 100%;
    padding: 0 1rem;
  }
  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    margin-bottom: 0.9rem;
  }
  .hero-logo-img {
    width: min(92vw, 420px) !important;
  }
  .hero-tagline {
    font-size: clamp(1.05rem, 5vw, 1.42rem);
    line-height: 1.45;
  }
  .hero-sub {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .hero-buttons {
    width: 100%;
    gap: 0.7rem;
  }
  .hero-buttons .btn {
    width: min(100%, 310px);
    justify-content: center;
    border-radius: 999px;
  }
  .scroll-hint { display: none; }

  .about-grid,
  .branch-grid,
  .contact-grid {
    gap: 2rem;
  }
  .about-image-frame {
    border-radius: 22px;
  }
  .about-img {
    min-height: 360px;
  }
  .about-badge {
    left: 1rem;
    bottom: 1rem;
    border-radius: 18px;
    background: rgba(18,15,12,0.86);
    backdrop-filter: blur(12px);
  }

  .gallery-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    scrollbar-width: none;
  }
  .gallery-filters::-webkit-scrollbar { display: none; }
  .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 999px;
    padding: 0.58rem 1.05rem;
    font-size: 0.68rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.05rem;
  }
  .gallery-card {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0,0,0,0.18);
  }
  .card-img-wrap {
    aspect-ratio: 4 / 3.25;
  }
  .card-body {
    padding: 1.1rem 1.1rem 1.25rem;
  }
  .card-name {
    font-size: 1.25rem;
  }
  .card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .modal-overlay {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(8,6,4,0.78);
  }
  .modal-box {
    max-height: calc(94svh - env(safe-area-inset-top));
    border-radius: 26px 26px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-slider {
    aspect-ratio: 4 / 3.2;
    border-radius: 26px 26px 0 0;
  }
  .modal-details {
    padding: 1.5rem 1.15rem calc(1.7rem + env(safe-area-inset-bottom));
  }
  .modal-close {
    top: 0.75rem;
    right: 0.85rem;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    color: #fff;
  }
  .slider-btn {
    width: 44px;
    height: 44px;
  }
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
    border-radius: 999px;
  }

  .branch-map iframe {
    height: 330px;
    border-radius: 22px;
  }
  .contact-form-wrap,
  .design-card {
    border-radius: 22px;
  }
  .form-group input,
  .form-group textarea {
    border-radius: 16px;
    font-size: 16px;
  }
  .footer-top {
    padding-bottom: calc(2.2rem + env(safe-area-inset-bottom));
  }
  .footer-logo-img {
    width: min(250px, 74vw);
    margin-left: auto;
    margin-right: auto;
  }
  .footer-brand,
  .footer-links,
  .footer-contact,
  .footer-social,
  .footer-bottom {
    text-align: center;
  }
  .footer-links a,
  .social-links a {
    min-height: 40px;
    justify-content: center;
  }

  .mobile-app-nav {
    position: fixed;
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(0.65rem + env(safe-area-inset-bottom));
    z-index: 1800;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.42rem;
    background: rgba(18,15,12,0.86);
    border: 1px solid rgba(201,162,77,0.20);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .mobile-app-nav-link {
    min-width: 0;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    border-radius: 18px;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
  }
  .mobile-app-nav-link span {
    font-size: 1.05rem;
    line-height: 1;
    color: var(--gold-light);
  }
  .mobile-app-nav-link small {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .mobile-app-nav-link:active {
    transform: scale(0.96);
    background: rgba(201,162,77,0.13);
  }
  .mobile-app-whatsapp {
    background: rgba(37,211,102,0.14);
  }
  .mobile-app-whatsapp span { color: #25D366; }
}

@media (max-width: 390px) {
  .nav-logo-img {
    height: 56px !important;
    max-width: 170px;
  }
  .hero { min-height: 640px; }
  .mobile-app-nav-link small { font-size: 0.52rem; }
  .mobile-app-nav-link { min-height: 50px; }
}

/* ====================================================
   MG HUB FINAL POLISH — ABAYCHI CMS
   ==================================================== */
.contact-icon,
.branch-icon,
.design-icon,
.mobile-app-nav-link span,
.social-icon-link {
  color: var(--gold);
}
.contact-icon svg,
.branch-icon svg,
.design-icon svg,
.mobile-app-nav-link svg,
.social-icon-link svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: currentColor;
}
.contact-icon,
.branch-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 1px solid rgba(201,162,77,0.28);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,162,77,0.08);
  box-shadow: inset 0 0 18px rgba(201,162,77,0.06);
}
.design-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(201,162,77,0.30);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(201,162,77,0.12), rgba(113,14,23,0.04));
}
.design-icon svg { width: 30px; height: 30px; }
.branch-grid-enhanced {
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1.25fr) minmax(240px, 0.85fr);
  gap: 2rem;
}
.branch-card,
.coming-soon-panel,
.coming-branch-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(216,194,163,0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.branch-card { padding: 1.6rem; }
.branch-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.branch-mini-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  font-weight: 600;
}
.branch-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.branch-status.open {
  color: #4e3a08;
  background: rgba(201,162,77,0.16);
  border: 1px solid rgba(201,162,77,0.42);
}
.branch-status.coming {
  color: var(--gold-light);
  background: rgba(113,14,23,0.88);
  border: 1px solid rgba(201,162,77,0.42);
}
.coming-soon-panel {
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(18,16,13,0.96), rgba(113,14,23,0.92));
  color: #fff;
}
.coming-soon-panel .section-label { color: var(--gold-light); display: inline-block; margin-bottom: 1rem; }
.coming-branch-card {
  background: rgba(255,255,255,0.055);
  border-color: rgba(201,162,77,0.24);
  padding: 1.1rem;
  margin-top: 0.85rem;
}
.coming-branch-card h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  font-weight: 400;
  margin: 0.35rem 0;
}
.coming-branch-card p {
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  line-height: 1.55;
}
.social-links {
  flex-direction: row;
  align-items: center;
}
.social-icon-link {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201,162,77,0.30);
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(201,162,77,0.08);
  color: var(--gold) !important;
}
.social-icon-link:hover {
  background: rgba(201,162,77,0.16);
  color: var(--gold-light) !important;
  transform: translateY(-2px);
}
.footer-social .social-icon-link svg { width: 22px; height: 22px; }
.mobile-app-nav-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-app-nav-link svg {
  width: 21px;
  height: 21px;
}

@media (max-width: 1180px) {
  .branch-grid-enhanced { grid-template-columns: 1fr 1fr; }
  .coming-soon-panel { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .branch-grid-enhanced { grid-template-columns: 1fr; gap: 1.4rem; }
  .branch-card, .coming-soon-panel { padding: 1.25rem; }
  .contact-icon, .branch-icon { width: 40px; height: 40px; min-width: 40px; }
  .mobile-app-nav-link span { height: 22px; }
  .mobile-app-nav-link svg { width: 19px; height: 19px; }
}
