/* ===== VARIABLES ===== */
:root {
  --bg: #0d0b0a;
  --panel: #171311;
  --text: #fff7ef;
  --muted: #cdbfb2;
  --gold: #d9a441;
  --gold2: #f0c873;
  --line: rgba(255,255,255,.12);
}

/* ===== HIGH CONTRAST MODE ===== */
html.high-contrast {
  --bg: #000000;
  --panel: #111111;
  --text: #ffffff;
  --muted: #eeeeee;
  --gold: #ffcc00;
  --gold2: #ffdd33;
  --line: rgba(255,255,255,.5);
}
html.high-contrast .site-header { background: #000 !important; }
html.high-contrast .pricing-card,
html.high-contrast blockquote { border-width: 2px; }

/* ===== LARGE FONT MODES ===== */
html.font-lg1 { font-size: 112%; }
html.font-lg2 { font-size: 124%; }

/* ===== RESET & BASE ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Heebo, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; }
a { color: inherit; text-decoration: none; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 6vw; background: rgba(13,11,10,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; }
.logo-img { max-height: 55px; width: auto; display: block; }
.nav { display: flex; gap: 22px; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); }

/* Header right-side actions group */
.header-actions { display: flex; align-items: center; gap: 10px; }

/* ===== ACCESSIBILITY TOGGLE BUTTON ===== */
.a11y-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, color .2s;
  flex-shrink: 0;
}
.a11y-toggle:hover,
.a11y-toggle[aria-expanded="true"] {
  border-color: var(--gold2);
  color: var(--gold2);
}

/* ===== ACCESSIBILITY PANEL ===== */
.a11y-panel {
  position: fixed;
  top: 75px;
  left: 6vw;
  z-index: 800;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .25s, visibility .25s, transform .25s;
  box-shadow: 0 18px 48px rgba(0,0,0,.5);
}
.a11y-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.a11y-panel-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold2);
  margin: 0 0 2px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.a11y-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: Heebo, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-align: right;
  width: 100%;
  direction: rtl;
}
.a11y-option:hover,
.a11y-option[aria-pressed="true"] {
  border-color: var(--gold2);
  background: rgba(217,164,65,.12);
}
.a11y-icon {
  font-size: 15px;
  font-weight: 900;
  color: var(--gold2);
  min-width: 22px;
  text-align: center;
}

/* ===== HAMBURGER BUTTON (mobile only) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 9px;
  flex-shrink: 0;
  transition: border-color .2s;
}
.hamburger:hover { border-color: var(--gold2); }
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(13,11,10,.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s, visibility .3s;
}
.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px 32px 32px;
  width: 100%;
}
.mobile-nav-close {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--text);
  width: 48px;
  height: 48px;
  font-size: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s;
}
.mobile-nav-close:hover { background: rgba(255,255,255,.22); }
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.mobile-nav-links a {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  transition: color .2s;
  letter-spacing: .02em;
}
.mobile-nav-links a:hover { color: var(--gold2); }
.mobile-nav-wa { margin-top: 12px; font-size: 18px; padding: 14px 36px; }

/* ===== BUTTONS ===== */
.header-cta, .button { border-radius: 999px; padding: 12px 20px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.header-cta, .primary { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #24170a; }
.secondary { border: 1px solid var(--line); color: var(--text); }

/* ===== HERO ===== */
.hero { min-height: 78vh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; padding: 70px 6vw; background: radial-gradient(circle at top left, rgba(217,164,65,.22), transparent 35%), linear-gradient(180deg, #120f0d, var(--bg)); }
.eyebrow, .section-label { color: var(--gold2); font-weight: 800; letter-spacing: .06em; }
.hero h1 { font-size: clamp(42px, 7vw, 86px); line-height: 1.02; margin: 12px 0; }
.hero-text { font-size: 22px; color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-card { aspect-ratio: 4/5; border-radius: 36px; padding: 14px; background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04)); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 26px; }

/* ===== TRUST STRIP ===== */
.trust-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: 0 6vw; transform: translateY(-34px); background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.trust-strip div { background: var(--panel); padding: 24px; }
.trust-strip strong { display: block; font-size: 20px; }
.trust-strip span { color: var(--muted); }

/* ===== SECTIONS ===== */
.section { padding: 80px 6vw; }
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.1; margin: 8px 0 18px; }
.text-block p, .section-head p, .card p, .contact p { color: var(--muted); font-size: 18px; }
.section-head { max-width: 760px; margin-bottom: 34px; }

/* ===== ABOUT READ MORE ===== */
.about-extra { display: block; }

.read-more-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--gold2);
  font-family: Heebo, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 0;
  margin-top: 4px;
  transition: color .2s;
}
.read-more-btn:hover { color: var(--gold); }

/* ===== GALLERY FILTERS ===== */
.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 24px;
  font-family: Heebo, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.filter-btn:hover {
  border-color: var(--gold2);
  color: var(--text);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-color: transparent;
  color: #24170a;
}

/* ===== GALLERY MASONRY GRID ===== */
.gallery-grid { columns: 4; column-gap: 14px; }

.gallery-grid .gallery-item {
  display: block;
  height: auto;
  border: none;
  background: none;
  border-radius: 14px;
  overflow: hidden;
  break-inside: avoid;
  margin-bottom: 14px;
  cursor: pointer;
  transition: transform .25s, opacity .25s;
}
.gallery-grid .gallery-item:hover { transform: scale(1.02); opacity: 0.88; }
.gallery-grid .gallery-item img { width: 100%; height: auto; display: block; }

/* ===== GALLERY LOAD MORE ===== */
@keyframes galleryFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gallery-item--enter {
  animation: galleryFadeIn .35s ease both;
}
.gallery-load-more {
  text-align: center;
  margin-top: 32px;
}
#load-more-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 14px 44px;
  font-family: Heebo, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  display: none;
}
#load-more-btn:hover {
  border-color: var(--gold2);
  color: var(--gold2);
}

/* ===== PRICING GRID ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.pricing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.pricing-card.featured {
  border-color: rgba(217,164,65,.5);
  background: linear-gradient(160deg, var(--panel), #1e1710);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #24170a;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
}
.pricing-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.pricing-title small {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-features li {
  color: var(--muted);
  font-size: 15px;
  padding-right: 22px;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--gold2);
  font-weight: 700;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.price-from { font-size: 14px; color: var(--muted); }
.price-amount { font-size: 28px; font-weight: 900; color: var(--gold2); }
.pricing-cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #24170a;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  padding: 13px 16px;
  transition: opacity .2s, transform .2s;
  margin-top: auto;
}
.pricing-cta:hover { opacity: .88; transform: translateY(-2px); }

/* Carousel dots — hidden on desktop */
.pricing-dots { display: none; }

/* ===== REVIEWS ===== */
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
blockquote { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 28px; color: var(--text); font-size: 19px; }
cite { display: block; margin-top: 18px; color: var(--gold2); font-style: normal; }

/* ===== CONTACT ===== */
.contact { display: grid; grid-template-columns: 1fr .8fr; gap: 40px; background: linear-gradient(180deg, var(--bg), #15100d); }
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-card a:not(.button) { font-size: 20px; color: var(--muted); }
.full { text-align: center; display: flex; justify-content: center; width: 100%; }
.contact-link { display: flex; align-items: center; gap: 12px; transition: color .2s; }
.contact-link:hover { color: var(--text); }
.contact-link svg { flex-shrink: 0; color: var(--gold2); }

/* ===== FOOTER ===== */
.footer { padding: 28px 6vw; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }
.footer-legal { margin-top: 6px; font-size: 14px; }
.footer-a11y-link {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: Heebo, Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color .2s;
}
.footer-a11y-link:hover { color: var(--gold2); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s, visibility .3s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 88vh;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  display: block;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,.13);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  line-height: 1;
  backdrop-filter: blur(6px);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.28); }
.lightbox-close { top: 20px; right: 20px; font-size: 34px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37,211,102,.6);
}

/* ===== ACCESSIBILITY STATEMENT MODAL ===== */
.a11y-statement-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s, visibility .3s;
}
.a11y-statement-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.a11y-statement-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 40px 36px;
  max-width: 580px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  position: relative;
}
.a11y-statement-box h2 { margin-top: 0; font-size: 28px; }
.a11y-statement-box h3 { color: var(--gold2); font-size: 18px; margin-top: 24px; }
.a11y-statement-box p,
.a11y-statement-box li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.a11y-statement-box ul { padding-right: 22px; margin: 8px 0; }
.a11y-statement-box a { color: var(--gold2); text-decoration: underline; }
.a11y-statement-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--text);
  width: 40px;
  height: 40px;
  font-size: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s;
}
.a11y-statement-close:hover { background: rgba(255,255,255,.22); }

/* ===== MOBILE STICKY ACTION BAR ===== */
.mobile-sticky-bar { display: none; }

/* ===== RESPONSIVE — 1200px ===== */
@media (max-width: 1200px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== RESPONSIVE — 900px ===== */
@media (max-width: 900px) {
  /* Navigation */
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-cta { display: none; }

  /* Layout stacking */
  .hero, .two-col, .contact { grid-template-columns: 1fr; }
  .trust-strip, .review-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .site-header { padding: 14px 5vw; }
  .hero, .section { padding-left: 5vw; padding-right: 5vw; }

  /* About read-more */
  .about-extra { display: none; }
  .about-extra.expanded { display: block; }
  .read-more-btn { display: block; }

  /* ===== PRICING CAROUSEL ===== */
  .pricing-carousel-wrapper {
    /* Bleed to full viewport width for carousel feel */
    margin-left: -5vw;
    margin-right: -5vw;
    position: relative;
  }
  .pricing-grid {
    /* Override grid → horizontal scroll carousel */
    display: flex;
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 14px;
    padding: 8px 8vw 20px;
    align-items: stretch;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .pricing-card {
    flex: 0 0 78vw;
    max-width: 320px;
    min-width: 250px;
    scroll-snap-align: center;
    /* Re-apply hover without grid transform conflict */
    height: auto;
  }

  /* Carousel dots */
  .pricing-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 4px 0 8px;
  }
  .pricing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    border: none;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
  }
  .pricing-dot.active {
    background: var(--gold2);
    transform: scale(1.35);
  }

  /* Floating WA hidden — sticky bar replaces it on mobile */
  .whatsapp-float { display: none; }

  /* Sticky action bar */
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 997;
    background: rgba(13,11,10,.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    gap: 10px;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 10px;
    border-radius: 14px;
    font-family: Heebo, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition: transform .15s, opacity .15s;
    white-space: nowrap;
  }
  .sticky-btn:active { transform: scale(.96); opacity: .88; }
  .sticky-call {
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--text);
  }
  .sticky-wa {
    background: linear-gradient(135deg, #1ca94e, #25D366);
    color: #fff;
    border: none;
  }

  /* Push page content above the sticky bar */
  body { padding-bottom: 78px; }
}

/* ===== RESPONSIVE — 520px ===== */
@media (max-width: 520px) {
  .gallery-grid { columns: 1; }
  .hero h1 { font-size: 38px; }
  .whatsapp-float { display: none; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .pricing-card { flex: 0 0 86vw; }
  .a11y-statement-box { padding: 32px 20px; }
}
