/* ============================================
   IVAN DETAIL CO. — style.css
   Palette: Charcoal + Electric Red + Gold
   ============================================ */

/* ── Variables ───────────────────────────── */
:root {
  --bg:          #0e0e0e;
  --bg2:         #141414;
  --bg3:         #1a1a1a;
  --surface:     #1f1f1f;
  --border:      #2a2a2a;
  --red:         #e8192c;
  --red-dim:     #b01020;
  --red-glow:    rgba(232, 25, 44, 0.18);
  --gold:        #c9952a;
  --gold-bright: #e8b84b;
  --gold-dim:    rgba(201, 149, 42, 0.15);
  --gold-glow:   rgba(201, 149, 42, 0.25);
  --white:       #f5f5f5;
  --muted:       #888;
  --muted2:      #555;
  --font-head:   'Bebas Neue', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --font-mono:   'DM Mono', monospace;
  --radius:      8px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: var(--font-body); }

/* ── Custom Cursor ───────────────────────── */
.cursor {
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
}
.cursor-trail {
  width: 30px; height: 30px;
  border: 1px solid rgba(232,25,44,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, opacity 0.3s;
}

/* ── Container ───────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAV ─────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14,14,14,0.96);
  backdrop-filter: blur(12px);
  padding: 0.8rem 0;
  border-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  display: flex;
  gap: 0.1em;
}
.logo-apex  { color: var(--red); }
.logo-detail { color: var(--white); }
.nav-links { display: flex; gap: 2rem; margin-left: auto; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--red); color: var(--white);
  padding: 0.55rem 1.4rem; border-radius: var(--radius);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dim); transform: translateY(-1px); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  background: rgba(14,14,14,0.98);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 0.8rem; }
.nav-mobile a { font-size: 1rem; font-weight: 500; color: var(--muted); transition: color var(--transition); }
.nav-mobile a:hover { color: var(--red); }

/* ── HERO ────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 6rem 2rem 4rem;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(42,42,42,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,42,42,0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,25,44,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.1); }
}
.hero-content {
  position: relative; max-width: 1200px; margin: 0 auto; width: 100%;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(232,25,44,0.1); border: 1px solid rgba(232,25,44,0.3);
  border-radius: 100px; padding: 0.4rem 1rem;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--red); margin-bottom: 2rem;
}
.tag-dot {
  width: 6px; height: 6px; background: var(--red); border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.95; letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
  display: flex; flex-direction: column;
}
.hero-title .line-reveal { display: block; }
.hero-title span:nth-child(2) { color: var(--red); }
.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero-sub {
  font-size: 1.1rem; color: var(--muted); line-height: 1.8;
  max-width: 560px; margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  justify-content: center; margin-bottom: 3rem;
}
.btn-primary {
  background: var(--red); color: var(--white);
  padding: 0.85rem 2.2rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--red-dim); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,25,44,0.3);
}
.btn-ghost {
  border: 1px solid var(--border); color: var(--white);
  padding: 0.85rem 2.2rem; border-radius: var(--radius);
  font-weight: 500; font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
  display: inline-flex; align-items: center;
}
.btn-ghost:hover { border-color: var(--muted); background: rgba(255,255,255,0.04); }

/* Hero stats */
.hero-stats {
  display: flex; gap: 2.5rem; align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num { font-family: var(--font-head); font-size: 2.5rem; line-height: 1; }
.stat-plus { font-family: var(--font-head); font-size: 1.5rem; color: var(--red); }
.stat-label { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.stat-div { width: 1px; height: 40px; background: var(--border); }

.hero-scroll {
  position: absolute; bottom: 2rem; right: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted2);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollAnim 1.5s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%  { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

/* ── TICKER ──────────────────────────────── */
.ticker { background: var(--red); padding: 0.7rem 0; overflow: hidden; white-space: nowrap; }
.ticker-track {
  display: inline-flex; gap: 2rem;
  animation: ticker 100s linear infinite;
}
.ticker-track span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.tick-dot { color: rgba(255,255,255,0.5) !important; font-size: 0.6rem !important; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── SECTION COMMON ──────────────────────── */
.services, .process, .gallery, .testimonials, .faq, .contact { padding: 6rem 0; }
.booking { padding: 6rem 0; background: var(--bg2); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red); display: block; margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.03em; line-height: 1; margin-bottom: 1rem;
}
.section-sub { color: var(--muted); font-size: 1rem; max-width: 480px; margin: 0 auto; line-height: 1.7; }

/* ── SERVICES ────────────────────────────── */
.services { background: var(--bg2); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; align-items: start;
}
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem;
  position: relative; overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,25,44,0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.service-card--featured {
  border-color: var(--red);
  background: linear-gradient(145deg, #1f1f1f 0%, #1a1010 100%);
}
.service-card--featured:hover { box-shadow: 0 16px 48px rgba(232,25,44,0.2); }
.service-card--featured .card-accent { background: var(--red); }
.service-card--featured .card-cta { background: var(--red); border-color: var(--red); color: var(--white); }
.service-card--featured .card-cta:hover { background: var(--red-dim); border-color: var(--red-dim); }
.service-card--gold {
  border-color: var(--gold);
  background: linear-gradient(145deg, #1f1b10 0%, #1a1505 50%, #201a08 100%);
  box-shadow: 0 0 0 1px rgba(201,149,42,0.2), 0 8px 32px rgba(201,149,42,0.1);
  margin-top: -10px; padding-bottom: 2.4rem;
}
.service-card--gold:hover {
  transform: translateY(-8px);
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 1px rgba(232,184,75,0.4), 0 24px 64px rgba(201,149,42,0.3);
}
.service-card--gold .card-accent {
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
  animation: goldShimmerBar 3s ease-in-out infinite;
}
@keyframes goldShimmerBar { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }
.card-shimmer {
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(201,149,42,0.07) 50%, transparent 60%);
  animation: shimmerSweep 4s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
@keyframes shimmerSweep { 0% { left: -100%; } 60% { left: 140%; } 100% { left: 140%; } }
.service-card--gold > *:not(.card-shimmer):not(.card-accent) { position: relative; z-index: 1; }
.card-crown {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a1200; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 100px;
  z-index: 2; box-shadow: 0 2px 12px rgba(201,149,42,0.4);
}
.card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--border); transition: background var(--transition);
}
.service-card:not(.service-card--featured):not(.service-card--gold):hover .card-accent { background: var(--red); }
.card-icon { width: 44px; height: 44px; color: var(--red); margin-bottom: 1.2rem; }
.card-icon--gold { color: var(--gold-bright); }
.card-label {
  display: inline-block; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(150,150,150,0.1); color: var(--muted);
  border: 1px solid var(--border); padding: 0.25rem 0.7rem;
  border-radius: 100px; margin-bottom: 1rem;
}
.card-label--red { background: var(--red-glow); color: var(--red); border-color: rgba(232,25,44,0.3); }
.card-label--gold { background: var(--gold-dim); color: var(--gold-bright); border-color: rgba(201,149,42,0.4); }
.service-card h3 { font-family: var(--font-head); font-size: 1.8rem; letter-spacing: 0.03em; margin-bottom: 0.8rem; }
.card-title--gold { color: var(--gold-bright); }
.service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.5rem; }
.service-list { margin-bottom: 1.8rem; display: flex; flex-direction: column; gap: 0.5rem; }
.service-list li { font-size: 0.85rem; color: var(--muted); padding-left: 1.2rem; position: relative; }
.service-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; background: var(--red); border-radius: 50%;
}
.service-list--gold li { color: rgba(245,245,245,0.8); }
.service-list--gold li::before { background: var(--gold-bright); }
.card-price { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 1.2rem; }
.price-from { font-size: 0.75rem; color: var(--muted2); }
.price-num { font-family: var(--font-head); font-size: 2.2rem; color: var(--white); letter-spacing: 0.03em; }
.price-num--gold { color: var(--gold-bright); text-shadow: 0 0 20px rgba(232,184,75,0.3); }
.card-cta {
  display: block; text-align: center; padding: 0.7rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.card-cta:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.card-cta--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-color: transparent; color: #1a1200; font-weight: 700;
  letter-spacing: 0.06em; padding: 0.85rem; font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(201,149,42,0.3);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}
.card-cta--gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-color: transparent; color: #1a1200;
  transform: translateY(-1px); box-shadow: 0 8px 28px rgba(201,149,42,0.45); filter: brightness(1.1);
}

/* ── PROCESS ─────────────────────────────── */
.process { background: var(--bg); }
.process-steps { position: relative; display: flex; flex-direction: column; max-width: 700px; margin: 0 auto; }
.process-line {
  position: absolute; left: 2.5rem; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, var(--red), transparent);
}
.process-step {
  display: flex; gap: 2.5rem; padding: 2rem 0 2rem 6rem;
  position: relative; border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  position: absolute; left: 0; top: 2rem;
  width: 50px; height: 50px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--red);
  flex-shrink: 0; transition: background var(--transition), border-color var(--transition);
}
.process-step:hover .step-num { background: var(--red); border-color: var(--red); color: var(--white); }
.step-content h3 { font-family: var(--font-head); font-size: 1.5rem; letter-spacing: 0.03em; margin-bottom: 0.5rem; }
.step-content p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ── GALLERY ─────────────────────────────── */
.gallery { background: var(--bg2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 300px;
}
.gallery-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--surface) 0%, #1a1010 100%);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; position: relative; overflow: hidden;
}
.gallery-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(232,25,44,0.03) 20px, rgba(232,25,44,0.03) 21px);
}
.gp2 { background: linear-gradient(135deg, #151515 0%, #1a1515 100%) !important; }
.gp4 { background: linear-gradient(135deg, #181212 0%, #1a1a1a 100%) !important; }
.gp-inner { text-align: center; position: relative; z-index: 1; }
.gp-label { display: block; font-family: var(--font-head); font-size: 1.8rem; color: rgba(255,255,255,0.15); letter-spacing: 0.05em; }
.gp-sub { font-size: 0.75rem; color: var(--muted2); letter-spacing: 0.06em; text-transform: uppercase; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(232,25,44,0.8) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 1.2rem;
  opacity: 0; transition: opacity var(--transition); border-radius: 10px;
}
.gallery-overlay span { font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-note { text-align: center; font-size: 0.78rem; color: var(--muted2); margin-top: 1.5rem; font-family: var(--font-mono); }
.gallery-note code { color: var(--gold); }

/* ── BEFORE AFTER SLIDER ─────────────────── */
.before-after-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: ew-resize;
}
.before-image,
.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
}
.after-image {
  clip-path: inset(0 50% 0 0);
}
.before-after-slider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 20px;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
  z-index: 10;
}
.before-after-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--white);
  border: 3px solid var(--red);
  border-radius: 50%;
  cursor: ew-resize;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.before-after-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--white);
  border: 3px solid var(--red);
  border-radius: 50%;
  cursor: ew-resize;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: var(--red);
  border: 3px solid var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 15;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.slider-handle::before,
.slider-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 12px;
  background: var(--white);
  transform: translate(-50%, -50%);
}
.slider-handle::before { transform: translate(-50%, -50%) rotate(90deg); }

/* ── TESTIMONIALS ────────────────────────── */
.testimonials { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.8rem;
  transition: border-color var(--transition), transform var(--transition);
}
.testimonial-card:hover { border-color: rgba(232,25,44,0.2); transform: translateY(-3px); }
.t-stars { color: var(--gold); font-size: 1rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.t-text { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 0.8rem; }
.t-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--red-glow); border: 1px solid rgba(232,25,44,0.3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: var(--red); flex-shrink: 0;
}
.t-name { font-weight: 600; font-size: 0.9rem; }
.t-vehicle { font-size: 0.78rem; color: var(--muted2); }

/* ── BOOKING ─────────────────────────────── */
.booking-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.booking-left p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; margin-top: 1rem; }
.booking-perks { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }
.perk { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: var(--muted); }
.perk-icon {
  width: 22px; height: 22px;
  background: var(--red-glow); border: 1px solid rgba(232,25,44,0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--red); flex-shrink: 0; font-weight: 700;
}
.booking-note {
  background: rgba(201,149,42,0.08); border: 1px solid rgba(201,149,42,0.2);
  border-radius: var(--radius); padding: 0.9rem 1rem;
  font-size: 0.85rem; color: var(--muted); line-height: 1.5;
}
.booking-note a { color: var(--gold); }
.booking-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: span 2; }
.form-group label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.75rem 1rem;
  font-size: 0.9rem; color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; -webkit-appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted2); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(232,25,44,0.12);
}
.form-group select option { background: var(--surface); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.5); cursor: pointer; }
.full-btn { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }
.form-success {
  display: none;
  background: rgba(30,132,73,0.15); border: 1px solid rgba(30,132,73,0.4);
  border-radius: var(--radius); padding: 0.9rem 1.2rem;
  font-size: 0.9rem; color: #6bcf7f; text-align: center;
}
.form-error {
  display: none;
  background: var(--red-glow); border: 1px solid rgba(232,25,44,0.4);
  border-radius: var(--radius); padding: 0.9rem 1.2rem;
  font-size: 0.9rem; color: var(--red); text-align: center;
}

/* ── FAQ ─────────────────────────────────── */
.faq { background: var(--bg2); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.3rem 0; background: none; border: none; cursor: pointer;
  font-size: 0.95rem; font-weight: 500; color: var(--white); text-align: left; gap: 1rem;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--red); }
.faq-icon {
  font-size: 1.3rem; font-weight: 300; color: var(--red); flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; padding-bottom: 1.2rem; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ── CONTACT ─────────────────────────────── */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.8rem; text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.contact-card:hover { border-color: rgba(232,25,44,0.3); transform: translateY(-3px); }
.contact-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.contact-card h4 { font-family: var(--font-head); font-size: 1.1rem; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.contact-card a { color: var(--red); transition: color var(--transition); }
.contact-card a:hover { color: var(--white); }

/* ── FOOTER ──────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); max-width: 240px; line-height: 1.6; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; transition: color var(--transition); }
.footer-links a:hover { color: var(--red); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--muted2); flex-wrap: wrap; gap: 0.5rem;
}

/* ── BACK TO TOP ─────────────────────────── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 42px; height: 42px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50%; color: var(--white);
  font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), border-color var(--transition);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--red); border-color: var(--red); }

/* ── Reveal Animations ───────────────────── */
.line-reveal { opacity: 0; transform: translateY(20px); }
.line-reveal.visible { animation: revealUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.delay-1 { animation-delay: 0.1s !important; }
.delay-2 { animation-delay: 0.2s !important; }
.delay-3 { animation-delay: 0.3s !important; }
.delay-4 { animation-delay: 0.4s !important; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-visible { opacity: 1; transform: translateY(0); }
[data-aos][data-aos-delay="50"]  { transition-delay: 0.05s; }
[data-aos][data-aos-delay="80"]  { transition-delay: 0.08s; }
[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="150"] { transition-delay: 0.15s; }
[data-aos][data-aos-delay="160"] { transition-delay: 0.16s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-right"].aos-visible { transform: translateX(0); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card--gold { margin-top: 0; grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .booking-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--gold { grid-column: span 1; margin-top: 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat-div { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .process-line { display: none; }
  .process-step { padding-left: 4.5rem; }
  .hero-scroll { display: none; }
  .back-to-top { bottom: 1.2rem; right: 1.2rem; }
}
@media (max-width: 480px) {
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { display: none; }
}

/* ── Scrollbar ───────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-dim); }

/* ── Custom Calendar Widget ──────────────── */
.cal-wrapper {
  position: relative;
}
.cal-display {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.75rem 1rem;
  font-size: 0.9rem; color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; width: 100%; cursor: pointer;
  user-select: none;
}
.cal-display::placeholder { color: var(--muted2); }
.cal-display--open,
.cal-display:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(232,25,44,0.12);
}
.cal-dropdown {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 1rem;
  z-index: 500; box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  min-width: 260px;
}
.cal-dropdown.open { display: block; }
.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem;
}
.cal-month-label {
  font-family: var(--font-head); font-size: 1.1rem; letter-spacing: 0.04em;
  color: var(--white);
}
.cal-nav {
  background: none; border: 1px solid var(--border); color: var(--muted);
  width: 28px; height: 28px; border-radius: 6px; cursor: pointer;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  line-height: 1;
}
.cal-nav:hover { border-color: var(--red); color: var(--white); background: var(--red-glow); }
.cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px; margin-bottom: 4px;
}
.cal-weekdays span {
  text-align: center; font-size: 0.68rem; font-weight: 600;
  color: var(--muted2); letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.2rem 0;
}
.cal-days {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px;
}
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 0.82rem; font-weight: 500;
  border: none; cursor: pointer; background: none; color: var(--white);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.cal-day--empty { pointer-events: none; }
.cal-day--past {
  color: var(--muted2); cursor: not-allowed; opacity: 0.4;
}
.cal-day--booked {
  background: rgba(232,25,44,0.12);
  color: rgba(232,25,44,0.5);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: rgba(232,25,44,0.4);
}
.cal-day--booked::after {
  content: '';
  position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--red); opacity: 0.6;
}
.cal-day--avail:hover {
  background: rgba(232,25,44,0.15); color: var(--white);
}
.cal-day--selected {
  background: var(--red) !important; color: var(--white) !important;
  box-shadow: 0 2px 10px rgba(232,25,44,0.4);
}
.cal-day--avail { color: var(--white); }
.cal-legend {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem; color: var(--muted2);
}
.cal-legend-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.cal-legend-dot--booked { background: var(--red); opacity: 0.5; }
.cal-legend-dot--avail { background: var(--white); opacity: 0.6; }

/* ── REVIEWS SYSTEM ──────────────────────── */
.testimonials { background: var(--bg); }

/* Summary bar */
.reviews-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
}
.reviews-score {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  min-width: 100px;
}
.reviews-big-num {
  font-family: var(--font-head);
  font-size: 4rem; line-height: 1;
  color: var(--white);
}
.reviews-stars-big {
  color: var(--gold); font-size: 1.3rem; letter-spacing: 0.05em;
}
.reviews-count-label {
  font-size: 0.75rem; color: var(--muted); text-align: center; letter-spacing: 0.04em;
}
.reviews-bars {
  display: flex; flex-direction: column; gap: 0.45rem; flex: 1;
}
.rbar-row {
  display: grid; grid-template-columns: 24px 1fr 24px;
  align-items: center; gap: 0.6rem;
  font-size: 0.75rem; color: var(--muted2);
}
.rbar-track {
  height: 6px; background: var(--border); border-radius: 99px; overflow: hidden;
}
.rbar-fill {
  height: 100%; background: var(--gold);
  border-radius: 99px; width: 0%;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.rbar-fill--4 { background: #b8a030; }
.rbar-fill--3 { background: #888; }
.rbar-fill--2 { background: var(--red-dim); }
.rbar-fill--1 { background: var(--red); }
.rbar-n { text-align: right; }
.btn-leave-review {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: none; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.75rem 1.2rem;
  font-size: 0.82rem; font-weight: 600; color: var(--white);
  letter-spacing: 0.04em; white-space: nowrap;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.btn-leave-review:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(201,149,42,0.07);
}

/* Carousel */
.reviews-carousel-wrap { position: relative; }
.reviews-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  min-height: 200px;
}
.reviews-loading {
  grid-column: 1 / -1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; color: var(--muted); font-size: 0.9rem; padding: 3rem 0;
}
.reviews-spinner {
  width: 32px; height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Card animations */
.t-card-anim {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.t-card-visible { opacity: 1; transform: translateY(0); }

/* Card top row (stars + Google logo) */
.t-card-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.8rem;
}
.t-source {
  display: flex; align-items: center; opacity: 0.75;
  transition: opacity var(--transition);
}
.testimonial-card:hover .t-source { opacity: 1; }

/* Nav */
.reviews-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 2rem;
}
.rnav-btn {
  width: 38px; height: 38px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50%; color: var(--white); font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.rnav-btn:hover:not(:disabled) { background: var(--red); border-color: var(--red); }
.rnav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.rnav-dots { display: flex; gap: 0.5rem; align-items: center; }
.rnav-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}
.rnav-dot.active { background: var(--red); transform: scale(1.3); }

/* Empty state */
.reviews-empty {
  text-align: center; padding: 3rem 0;
  color: var(--muted); font-size: 0.95rem;
}
.reviews-empty p { margin-bottom: 1.5rem; }

/* Responsive */
@media (max-width: 1024px) {
  .reviews-carousel { grid-template-columns: repeat(2, 1fr); }
  .reviews-summary { grid-template-columns: auto 1fr; grid-template-rows: auto auto; }
  .btn-leave-review { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 768px) {
  .reviews-carousel { grid-template-columns: 1fr; }
  .reviews-summary { grid-template-columns: 1fr; text-align: center; padding: 1.5rem; }
  .reviews-score { flex-direction: row; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
  .reviews-big-num { font-size: 3rem; }
  .rbar-row { grid-template-columns: 28px 1fr 20px; }
  .btn-leave-review { justify-self: center; }
}

/* ── REVIEW MODAL (NEW) ───────────────────── */
.review-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
}
.review-modal-content {
  background: var(--surface);
  margin: 10% auto;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.review-modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--transition);
}
.review-modal-close:hover {
  color: var(--red);
}
.review-modal-content h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: var(--white);
}
.review-modal-content .form-group {
  margin-bottom: 1rem;
}
.review-modal-content input,
.review-modal-content select,
.review-modal-content textarea {
  width: 100%;
}
#reviewModalMsg {
  margin-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
}

/* ── GALLERY MODAL BUTTON ──────────────────── */
.gallery-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.btn-see-photos {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: transparent;
  border: 1.5px solid var(--red);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-see-photos:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,25,44,0.3);
}
.btn-see-photos svg { flex-shrink: 0; }

/* ── GALLERY MODAL ─────────────────────────── */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}
.gallery-modal.open { display: flex; }

.gallery-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  z-index: 0;
  cursor: pointer;
}

.gallery-modal-panel {
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 920px;
  margin: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  animation: modalSlideIn 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.gallery-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.8rem 2rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.gallery-modal-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.03em;
  line-height: 1;
}
.gallery-modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.4rem;
  transition: color var(--transition);
  margin-top: -0.2rem;
}
.gallery-modal-close:hover { color: var(--red); }

/* Column headers */
.gallery-modal-cols-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.gallery-col-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}
.gallery-col-label--after { justify-content: flex-end; }
.col-label-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.col-label-dot--before { background: var(--muted2); }
.col-label-dot--after  { background: var(--red); }

/* Body */
.gallery-modal-body {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Each before/after row */
.gm-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0;
  align-items: center;
}

.gm-cell {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gm-img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.gm-img-wrap:hover { border-color: var(--red); }
.gm-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}
.gm-img-wrap:hover img { transform: scale(1.03); }

.gm-badge {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  pointer-events: none;
}
.gm-badge--before {
  background: rgba(0,0,0,0.65);
  color: var(--muted);
  border: 1px solid var(--border);
}
.gm-badge--after {
  background: var(--red);
  color: var(--white);
  left: auto; right: 0.6rem;
}
.gm-cell--after .gm-badge--after { left: auto; right: 0.6rem; }

.gm-caption {
  font-size: 0.75rem;
  color: var(--muted2);
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* Divider column between before/after */
.gm-divider-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding-bottom: 1.6rem; /* align with image center, offset caption */
}
.gm-divider-line {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.gm-divider-arrow {
  color: var(--red);
  font-size: 1rem;
  line-height: 1;
}

/* Footer */
.gallery-modal-footer {
  padding: 1.2rem 2rem 1.8rem;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--border);
}

/* ── RESPONSIVE: tablet ────────────────────── */
@media (max-width: 640px) {
  .gallery-modal { padding: 0; align-items: flex-end; }
  .gallery-modal-panel {
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    overflow-y: auto;
    margin: 0;
    width: 100%;
    animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  @keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .gallery-modal-header { padding: 1.2rem 1.2rem 1rem; }
  .gallery-modal-cols-header { padding: 0.6rem 1.2rem; }
  .gallery-modal-body { padding: 1rem 1.2rem; gap: 1.8rem; }

  /* Stack before/after vertically on mobile */
  .gm-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.75rem;
  }
  .gm-divider-col {
    flex-direction: row;
    padding-bottom: 0;
    justify-content: center;
  }
  .gm-divider-line {
    width: 40px;
    height: 1px;
  }
  .gm-divider-arrow {
    transform: rotate(90deg);
  }
  .gallery-modal-footer { padding: 1rem 1.2rem 1.5rem; }
  .btn-see-photos { font-size: 0.85rem; padding: 0.8rem 1.5rem; }
}