/* ============================================================
   HAMMER BRICK & HOME LLC
   Luxury Dark + Simple UI — v3 (Fixed Navigation)
   FIXED • CLEAN • SIMPLE NAVIGATION
=============================================================== */

:root{
  --bg:#071426; /* RESTORED: Core Dark Blue Background */
  --bg-alt:#0d1a2e; /* RESTORED: Alternate Dark Blue Background */
  --ink:#ffffff;
  --muted:rgba(255,255,255,.78);
  --gold:#e7bf63; /* Kept for other elements like buttons/titles */
  --gold-soft:#f5d89b; /* Kept for other elements like buttons/titles */
  --radius-xl:22px;
  --radius:14px;
  --shadow-soft:0 14px 40px rgba(0,0,0,.6);
  --border-soft:1px solid rgba(255,255,255,.12);
  --font-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,system-ui,sans-serif;
  --font-serif:"Georgia","Times New Roman",serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}

body{
  font-family:var(--font-sans);
  background:
    radial-gradient(1200px 800px at 80% -10%,rgba(231,191,99,.06),transparent),
    radial-gradient(900px 600px at -10% 40%,rgba(32,91,158,.18),transparent),
    var(--bg); /* Using the restored dark blue background variable */
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  /* FIX: Prevents horizontal scroll/shift caused by off-screen elements */
  overflow-x: hidden; 
}

/* ============================================================
   GLOBAL AMBIENT GOLD EFFECT (Retained for site ambiance)
=============================================================== */

body::before {
  content:"";
  position:fixed;
  inset:0;
  background:radial-gradient(circle at center,
      rgba(212,175,55,0.08),
      transparent 70%);
  z-index:-1;
  animation: ambientGold 6s ease-in-out infinite;
}

/* ============================================================
   TOPBAR / NAVIGATION (FIXED & GLASS EFFECT)
=============================================================== */

.topbar {
  position: fixed !important; /* Locks header to top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* Ensures it stays on top */
  
  /* GLASS EFFECT SETTINGS */
  background: rgba(3, 8, 16, 0.85); /* 85% Opacity = See-through */
  backdrop-filter: blur(20px);      /* Blurs content behind */
  -webkit-backdrop-filter: blur(20px); /* Safari/iPhone support */
  
  border-bottom: var(--border-soft);
  transition: all 0.3s ease;
}

/* Pushes page content down so it doesn't hide behind the fixed header */
body {
  padding-top: 110px; /* MODIFIED: Increased for better clearance! */
}

.topbar-inner{
  max-width:1240px;
  margin:0 auto;
  padding:10px 18px;
  display:flex;
  align-items:center;
  gap:16px;
}

.brand-lockup{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--ink);
}

.brand-logo{
  width:54px;
  height:54px;
  border-radius:999px;
  box-shadow:0 0 16px rgba(231,191,99,.9);
  object-fit:cover;
}

.brand-text{line-height:1.2}
.brand-name{font-weight:800;letter-spacing:.03em;font-size:17px}
.brand-sub{font-size:11px;opacity:.74}

.nav-toggle{
  display:none;
  margin-left:auto;
  background:none;
  border:none;
  color:var(--ink);
  font-size:22px;
  cursor:pointer;
  /* Added transition for smoother look */
  transition: .25s;
}
.nav-toggle:hover {
  color: var(--gold-soft);
}

.main-nav{
  margin-left:auto;
  display:flex;
  gap:14px;
  align-items:center;
  font-size:13px;
}

/* Base Link Styles: Simple White/Ink */
.main-nav a,
.nav-link.dropbtn {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: .25s;
  /* Resetting all gold/shimmer effects */
  text-shadow: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  animation: none !important;
}

/* Link Hover: Subtle Highlight */
.main-nav a:hover,
.nav-link.dropbtn:hover {
  color: var(--gold-soft); /* Subtle gold text on hover */
  background: rgba(255,255,255,0.06);
}

/* Call Button (Retained original gold style) */
.main-nav .nav-call{
  background:linear-gradient(180deg,var(--gold-soft),var(--gold));
  color:#151515;
  font-weight:800;
  box-shadow:0 6px 18px rgba(0,0,0,.6);
  padding:10px 18px; /* Added padding for consistency */
  border-radius: 999px; /* Added radius for consistency */
}
.main-nav .nav-call:hover {
  color: #151515;
  background:linear-gradient(180deg,var(--gold),var(--gold-soft));
  transform: translateY(-1px);
}


/* Dropdown container */
.dropdown{
  position:relative;
  display:inline-block;
}

/* Dropdown Content */
.dropdown-content{
  display:none;
  position:absolute;
  background-color:var(--bg-alt); /* Dark background */
  min-width:190px;
  border-radius:12px;
  overflow:hidden;
  /* FIX: Removed the vertical gap to prevent the dropdown from hiding on mouse movement */
  top:100%;
  left:0;
  z-index:9999;
  border:var(--border-soft);
  box-shadow:0 12px 32px rgba(0,0,0,0.55);
}

/* Show Dropdown on Desktop Hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Dropdown Links */
.dropdown-content a{
  padding:10px 18px;
  text-decoration:none;
  display:block;
  transition:.2s;
  color: var(--ink); /* Simple white/ink color */
}

/* Dropdown Link Hover */
.dropdown-content a:hover{
  background:rgba(255,255,255,0.06); /* Simple hover background */
  color: var(--gold-soft);
}

/* MOBILE NAV OVERRIDES (Fixed) */
@media (max-width:860px){
  /* Show/Hide Toggle */
  .nav-toggle{display:block;}

  /* Main Nav Menu */
  .main-nav{
    position:absolute;
    right:10px;
    top:54px;
    flex-direction:column;
    align-items:flex-end;
    background:rgba(4,10,20,.98);
    padding:10px;
    border-radius:16px;
    box-shadow:var(--shadow-soft);
    display:none; /* HIDDEN BY DEFAULT */
    min-width: 180px; /* Ensures it has some width for links */
  }
  .main-nav.show{display:flex;} /* SHOWN BY JS TOGGLE */

  /* Dropdown in Mobile */
  .dropdown-content{
    position:static; /* Stack links vertically in the mobile menu */
    background:none;
    border:none;
    box-shadow:none;
    min-width:auto;
    padding: 0;
  }
  .dropdown-content a{
    padding-left:25px; /* Indent sub-links */
  }

  /* Other mobile layout fixes */
  .hero{flex-direction:column;}

  /* --- START MOBILE LAYOUT FIX (Services above Credentials) --- */
  /* FIX: Override desktop grid to use a flexible column for reordering */
  .split {
    display: flex;
    flex-direction: column;
    gap: 22px; /* Maintain spacing */
  }
  /* FIX: Put the Services Card (accent-card) FIRST (order: -1) */
  .split > .accent-card {
    order: -1;
  }
  /* FIX: Ensure the Credentials Text (first div) goes SECOND (order: 1) */
  .split > div:first-child {
    order: 1;
  }

  .rules-join-grid{grid-template-columns:1fr;}
  /* --- END MOBILE LAYOUT FIX --- */

  .hero-badge{display:flex;justify-content:center;}
}
@media (max-width:768px){
  .dropdown-content{
    position:static;
    background:none;
    border:none;
    box-shadow:none;
  }
}
/* End of Fixed Navigation Styles */

/* ============================================================
   PAGE LAYOUT
=============================================================== */

/* NEW: Global Content Wrapper for Centering and Max Width */
.content-wrapper {
  max-width: 1000px; /* Set max width for readability */
  margin: 0 auto;    /* Center the block horizontally */
  padding: 0 18px;   /* Add horizontal padding for mobile safety */
  width: 100%;       /* Ensure it occupies full width of its container before max-width hits */
}


.page{
  /* REMOVED: max-width:1240px; which can conflict with content-wrapper */
  margin:0 auto;
  /* Removed redundant padding, relying on inline style on content-wrapper for vertical spacing */
}

.section{margin-bottom:40px;}

.section h2{
  font-family:var(--font-serif);
  font-size:26px;
  margin-bottom:10px;
  color:var(--gold-soft);
  text-shadow:0 3px 8px rgba(0,0,0,.7);
}

.section-note{
  font-size:12px;
  color:var(--muted);
}

/* ============================================================
   HERO
=============================================================== */

.hero{
  display:flex;
  justify-content:space-between;
  gap:26px;
  margin-bottom:40px;
}

/* 🎯 FIX: HOMEPAGE HERO OVERRIDE */
.hero-home{
  /* This ensures the badge container spans full width, ignoring the content-wrapper */
  width: 100% !important; 
  max-width: none !important; 
  align-items:center;
  /* Reset padding from the main content-wrapper */
  padding-left: 0;
  padding-right: 0;
}

/* 🎯 FIX: CENTER HERO TEXT/BUTTONS */
.hero-home .hero-content {
  /* Re-apply the centering and max-width to the content *inside* the full-width hero */
  max-width: 1000px; 
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px; /* Maintain padding for small screens */
}
/* END HERO FIX */


.hero-inner{
  padding:24px 22px 26px;
  border-radius:var(--radius-xl);
  background:
    radial-gradient(circle at top,var(--gold)/9%,transparent),
    rgba(5,10,18,.88);
  box-shadow:var(--shadow-soft);
}

.hero-content h1{
  font-family:var(--font-serif);
  font-size:30px;
  margin-bottom:8px;
}

.hero-content p{
  color:var(--muted);
  font-size:14px;
  max-width:640px;
}

.hero-actions{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.trust-pills{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  list-style:none;
  font-size:10px;
}

.trust-pills li{
  padding:6px 10px;
  border-radius:999px;
  background:rgba(8,19,35,.96);
  border:1px solid rgba(231,191,99,.55);
}

.hero-badge img{
  width:170px;
  height:170px;
  border-radius:50%;
}

/* ============================================================
   BUTTONS
=============================================================== */

.btn{
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  color:#151515;
  background:linear-gradient(180deg,var(--gold-soft),var(--gold));
  border:none;
  text-decoration:none;
  box-shadow:0 6px 18px rgba(0,0,0,.7);
  cursor:pointer;
  transition:.22s;
}

.btn:hover{transform:translateY(-2px);}

.btn.ghost{
  background:transparent;
  color:var(--gold-soft);
  border:1px solid rgba(231,191,99,.8);
}

/* GOLD button (load-more etc.) */
.gold-btn{
  position:relative;
  display:inline-block;
  padding:14px 34px;
  background:linear-gradient(135deg,#e9c46a,#d4af37);
  color:#000;
  border:none;
  border-radius:12px;
  font-size:18px;
  font-weight:800;
  cursor:pointer;
  overflow:hidden;
  transition:.25s;
}

.gold-btn:hover{
  transform:scale(1.08);
  box-shadow:0 4px 16px rgba(0,0,0,0.35);
}

.gold-btn::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    135deg,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.03) 40%,
    rgba(255,255,255,0.28)
  );
  opacity:0;
  animation:goldBreath 3s ease-in-out infinite;
  pointer-events:none;
  border-radius:inherit;
}

/* Floating call button */
.sticky-call{
  position:fixed;
  right:18px;
  bottom:18px;
  padding:11px 18px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  background:linear-gradient(180deg,var(--gold-soft),var(--gold));
  color:#111;
  text-decoration:none;
  box-shadow:0 10px 26px rgba(0,0,0,.8);
  z-index:60;
}

/* ============================================================
   GRID, CARDS, CONTENT
=============================================================== */

.split{
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(260px,2.2fr);
  gap:22px;
  align-items:flex-start;
}

/* NEW FIX: Make the main content block span two rows.
 * This forces the second and third block to stack vertically in the second column.
 */
.split > div:first-child:not(.accent-card) {
  grid-row: span 2;
}


.accent-card,
.note-box{
  padding:16px 16px 18px;
  border-radius:var(--radius-xl);
  background:var(--bg-alt);
  border:var(--border-soft);
  box-shadow:var(--shadow-soft);
  font-size:13px;
}

.accent-card h3{
  font-size:15px;
  margin-bottom:6px;
  color:var(--gold-soft);
}

.bullets{
  list-style:none;
  padding-left:0;
  font-size:13px;
}

.bullets li{
  margin-bottom:6px;
  padding-left:16px;
  position:relative;
}

.bullets li::before{
  content:"•";
  position:absolute;
  left:0;
  color:var(--gold);
}

.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.pill-row span{
  padding:7px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:var(--border-soft);
  font-size:12px;
}

/* OLD CARD GRID (Preserving for older pages) */
.card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:16px;
  align-items: stretch; 
}

.pkg-card{
  background:rgba(9,16,30,.96);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-xl);
  padding:16px;
  box-shadow:var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pkg-card h3{
  margin-bottom:6px;
  color:var(--gold-soft);
}

.pkg-card .price{
  margin-top:8px;
  font-weight:800;
}
.pkg-card a.btn {
  margin-top: auto;
}

/* ============================================================
   GALLERY
=============================================================== */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:15px;
}

.gallery-grid img{
  width:100%;
  border-radius:10px;
  cursor:pointer;
  transition:.4s;
  position:relative;
}

.gallery-grid img:hover{
  transform:scale(1.03);
  box-shadow:0 0 12px rgba(212,175,55,0.45);
}

.gallery-grid img::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.35) 40%,
    transparent 100%
  );
  opacity:0;
  transition:.35s;
}

.gallery-grid img:hover::after{
  opacity:0.45;
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:80;
}

.lightbox img{
  max-width:88%;
  max-height:88%;
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-soft);
}

.lightbox.show{display:flex;}

/* ============================================================
   BEFORE / AFTER — COMPARE GRID
=============================================================== */

.compare-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:25px;
}

.compare-item{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:#111;
  box-shadow:var(--shadow-soft);
  transition:.35s;
}

.compare-item:hover{
  box-shadow:0 0 18px rgba(212,175,55,0.35);
}

.compare-item img.before-img,
.compare-item img.after-img{
  width:100%;
  display:block;
}

.compare-item .after-wrap{
  position:absolute;
  top:0;
  left:0;
  width:50%;
  height:100%;
  overflow:hidden;
}

.compare-item .slider-control{
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  width:75%;
  appearance:none;
  height:6px;
  background:#d4af37;
  border-radius:8px;
  cursor:pointer;
  z-index:10;
}

.compare-item .slider-control::-webkit-slider-thumb{
  appearance:none;
  width:20px;
  height:20px;
  background:#f2d27a;
  border-radius:50%;
  border:2px solid #000;
  cursor:pointer;
  box-shadow:0 0 12px rgba(212,175,55,0.75);
  transition:.3s;
}

.compare-item .slider-control::-webkit-slider-thumb:hover{
  box-shadow:0 0 16px rgba(212,175,55,1);
}

.compare-item .slider-control::-moz-range-thumb{
  width:20px;
  height:20px;
  background:#f2d27a;
  border-radius:50%;
  border:2px solid #000;
  cursor:pointer;
  box-shadow:0 0 12px rgba(212,175,55,0.75);
}

.compare-label{
  position:absolute;
  top:10px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.65);
  font-size:11px;
  color:#fff;
  z-index:10;
}

.compare-label.right{right:10px;}
.compare-label:not(.right){left:10px;}

.compare-caption{
  text-align:center;
  font-size:18px;
  font-weight:900;
  color:#d4af37;
  margin:10px 0 15px 0;
  text-shadow:0 0 10px rgba(212,175,55,0.35);
}

/* ============================================================
   BA SYSTEM (HOME PAGE ONLY)
=============================================================== */

.ba-head h2{
  font-family:var(--font-serif);
  font-size:26px;
  color:var(--gold-soft);
  margin-bottom:6px;
  text-shadow:0 3px 8px rgba(0,0,0,.7);
}

.ba-note{
  color:var(--muted);
  font-size:12px;
  margin-bottom:14px;
}

.ba-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
}

.ba-card{
  background:rgba(9,16,30,.96);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-xl);
  padding:14px;
  box-shadow:var(--shadow-soft);
}

.ba-frame{
  position:relative;
  width:100%;
  aspect-ratio:16 / 10;
  overflow:hidden;
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-soft);
}

.ba-before{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.ba-after-wrap{
  position:absolute;
  inset:0;
  width:50%;
  height:100%;
  overflow:hidden;
  transition:.25s ease;
}

.ba-after-wrap img.ba-after{
  width:100%;
  height:100%;
  object-fit:cover;
}

.ba-slider{
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  width:70%;
  appearance:none;
  height:4px;
  background:rgba(255,255,255,.25);
  border-radius:999px;
}

.ba-slider::-webkit-slider-thumb{
  appearance:none;
  width:18px;
  height:18px;
  background:var(--gold-soft);
  border-radius:50%;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(0,0,0,.6);
}

.ba-slider::-moz-range-thumb{
  width:18px;
  height:18px;
  background:var(--gold-soft);
  border-radius:50%;
  cursor:pointer;
}

/* ============================================================
   RULES / MEMBERSHIP / CONTACT
=============================================================== */

/* FIX: Target the rules grid to ensure it centers itself inside the .content-wrapper */
.rules-join-grid{
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(200px,1.5fr);
  gap:22px;
  /* Added centering fix for the grid itself */
  max-width: 964px; /* Slightly less than the wrapper to allow inner padding */
  margin: 0 auto;
}

.qr-block img{
  width:130px;
  height:130px;
  object-fit:contain;
  margin-top:6px;
  background:#fff;
  padding:4px;
  border-radius:10px;
}

.rules-scroll{
  max-height:360px;
  overflow-y:auto;
  padding:14px;
  border-radius:var(--radius-xl);
  background:var(--bg-alt);
  border:var(--border-soft);
  font-size:12px;
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap:9px;
}

.contact-form input,
.contact-form textarea{
  padding:9px 11px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(3,8,16,.96);
  color:var(--ink);
  font-size:12px;
}

.contact-form textarea{
  min-height:120px;
  resize:vertical;
}

.site-footer{
  padding:14px 18px 22px;
  text-align:center;
  font-size:10px;
  color:var(--muted);
  background:rgba(2,6,14,.98);
  border-top:var(--border-soft);
}

/* ============================================================
   CHAT BUBBLE
=============================================================== */

.chat-bubble{
  position:fixed;
  right:18px;
  bottom:78px;
  z-index:55;
}

.chat-toggle{
  padding:9px 14px;
  border-radius:999px;
  border:none;
  background:rgba(7,16,32,.98);
  color:var(--gold-soft);
  font-size:12px;
  box-shadow:0 6px 16px rgba(0,0,0,.8);
  cursor:pointer;
}

.chat-modal{
  display:none;
  flex-direction:column;
  margin-top:6px;
  padding:10px 11px;
  border-radius:var(--radius-xl);
  background:rgba(6,12,23,.98);
  border:var(--border-soft);
  box-shadow:var(--shadow-soft);
  gap:6px;
}

.chat-modal .btn,
.chat-modal .btn.ghost{
  width:100%;
  text-align:center;
}

/* ============================================================
   ANIMATIONS (Retained)
=============================================================== */

.fade-up{
  opacity:0;
  transform:translateY(18px);
  animation:fadeUp .8s ease forwards;
}

@keyframes fadeUp{
  to{
    opacity:1;
    transform:none;
  }
}

/* Your signature GOLD BREATHING effect */
@keyframes breatheGold{
  0%{
    opacity:.82;
    filter:brightness(1) drop-shadow(0 0 4px rgba(212,175,55,0.25));
    transform:scale(1);
  }
  50%{
    opacity:1;
    filter:brightness(1.32) drop-shadow(0 0 14px rgba(212,175,55,0.55));
    transform:scale(1.015);
  }
  100%{
    opacity:.82;
    filter:brightness(1) drop-shadow(0 0 4px rgba(212,175,55,0.25));
    transform:scale(1);
  }
}

.breathing-gold{
  animation:breatheGold 2.8s ease-in-out infinite;
  will-change:filter,opacity,transform;
}

/* Gold button shining pulse */
@keyframes goldBreath{
  0%{opacity:0;transform:scale(1);}
  50%{opacity:.55;transform:scale(1.05);}
  100%{opacity:0;transform:scale(1);}
}

/* Ambient background hue pulse */
@keyframes ambientGold{
  0%{opacity:0.05;transform:scale(1);}
  50%{opacity:0.15;transform:scale(1.03);}
  100%{opacity:0.05;transform:scale(1);}
}

/* ============================================================
   SAFARI DESKTOP FIX — SAFE & NON-BREAKING
=============================================================== */

@media (min-width:900px){
  @supports (-webkit-touch-callout:none) and (not (hover:none)) {

    /* Fix hero alignment on Safari desktop */
    .hero,
    .hero-home,
    .hero-inner{
      display:flex !important;
      flex-direction:row !important;
      justify-content:space-between !important;
      align-items:center !important;
      width:100% !important;
      max-width:1240px !important;
      margin:0 auto !important;
      flex-wrap:nowrap !important;
    }

    .hero-content{
      flex:1 1 50% !important;
      max-width:50% !important;
      min-width:320px !important;
    }

    .hero-badge{
      flex:0 0 auto !important;
      max-width:420px !important;
    }

    .hero-badge img{
      width:100% !important;
      height:auto !important;
      object-fit:contain !important;
    }

    /* Compare grid fix */
    .compare-grid{
      grid-template-columns:repeat(auto-fit,minmax(260px,1fr)) !important;
      gap:16px !important;
    }

    /* Services grid fallback */
    .service-grid{
      display:grid !important;
      grid-template-columns:repeat(auto-fit,minmax(230px,1fr)) !important;
      gap:14px !important;
    }

    .service-grid .card{
      white-space:normal !important;
      display:block !important;
    }
  }
}

/* ============================================================
   UNIVERSAL GOLD PILL — (Retained for site pills/badges)
=============================================================== */

.gold-pill {
  border: 1px solid rgba(231,191,99,0.95) !important;
  color: var(--gold-soft) !important;
  background: rgba(10,20,35,0.82) !important;
  padding: 8px 15px !important;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .25px;
  text-shadow: 0 0 6px rgba(212,175,55,0.55);

  /* Glow */
  box-shadow:
    0 0 10px rgba(212,175,55,0.55),
    inset 0 0 8px rgba(212,175,55,0.45);

  /* Smooth transitions */
  transition: .28s ease-out;

  /* Breathing animation */
  animation: breatheGold 2.8s ease-in-out infinite;
}

/* Hover Glow */
.gold-pill:hover {
  filter: brightness(1.25);
  background: rgba(12,25,45,0.94) !important;
  color: #fff !important;

  box-shadow:
    0 0 18px rgba(212,175,55,0.95),
    inset 0 0 12px rgba(212,175,55,0.65);
  text-shadow: 0 0 12px rgba(245,196,0,0.95);
}


/* ============================================================
   GALLERY / SERVICES CLEANUP
=============================================================== */

/* Gallery Title */
.gallery-page-title,
.section h1,
.section h2 {
  color: var(--gold-soft) !important;
  text-shadow: 0 0 12px rgba(212,175,55,0.45);
}

/* Gallery small text (subheading) */
.gallery-subtext,
.section p {
  color: var(--muted) !important;
}

/* Search Bar (Gallery + Services) */
.gallery-search input,
#gallerySearch,
#serviceSearch,
input.gallery-search-box,
.search-input {
  max-width: 420px;
  width: 100%;
  margin: 0 auto 20px auto;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(7,14,26,0.92);
  border: 1px solid rgba(231,191,99,0.35);
  color: var(--ink);
  font-size: 13px;
  display: block;
  box-shadow: 0 0 12px rgba(212,175,55,0.12);
  transition: 0.25s ease;
}

/* Glow on focus */
.gallery-search input:focus,
#gallerySearch:focus,
#serviceSearch:focus,
.search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(212,175,55,0.45);
  outline: none;
}

/* Before & After cards gold glow */
.gallery-card,
.ba-card {
  border: 1px solid rgba(231,191,99,0.18) !important;
  box-shadow: 0 0 12px rgba(212,175,55,0.18) !important;
}

/* Project Labels */
.ba-caption,
.gallery-item-title {
  color: var(--gold-soft) !important;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(212,175,55,0.35);
}


/* ============================================================
   FAQ — LUXURY DARK + GOLD UI (FINAL VERSION)
   HAMMER BRICK & HOME LLC
=============================================================== */

.faq-section {
  max-width: 980px;
  margin: 60px auto;
  padding: 28px 26px;
  background: rgba(6,12,23,0.88);
  border: 1px solid rgba(231,191,99,0.25);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 18px rgba(212,175,55,0.18);
  animation: fadeUp .8s ease forwards;
}

/* Category Titles */
.faq-section h2 {
  margin-top: 35px;
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--gold-soft);
  text-shadow: 0 0 14px rgba(212,175,55,0.45);
  border-left: 4px solid rgba(231,191,99,0.55);
  padding-left: 12px;
}

/* Each FAQ item container */
.faq-section details {
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(10,20,35,0.92);
  border: 1px solid rgba(231,191,99,0.25);
  box-shadow: 0 0 12px rgba(212,175,55,0.15);
  overflow: hidden;
  transition: .25s ease;
}

/* Hover glow */
.faq-section details:hover {
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(212,175,55,0.65);
  transform: translateY(-1px);
}

/* FAQ Question */
.faq-section summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-soft);
  list-style: none;
  user-select: none;
  position: relative;
  transition: .25s ease;
}

/* Remove default marker */
.faq-section summary::-webkit-details-marker {
  display: none;
}

/* Gold arrow */
.faq-section summary::after {
  content: "›";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 20px;
  color: var(--gold-soft);
  transition: transform .28s ease, color .28s ease;
}

/* Rotate on open */
.faq-section details[open] summary::after {
  transform: translateY(-50%) rotate(-90deg);
  color: #fff;
  text-shadow: 0 0 12px rgba(212,175,55,0.95);
}

/* SHIMMER underline animation */
.faq-section summary:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(245,196,0,0.85);
}

.faq-section summary:hover::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 40px;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: shimmerScan 1s ease-out forwards;
}

@keyframes shimmerScan {
  0% { opacity: 0; transform: translateX(-40%); }
  40% { opacity: 1; transform: translateX(0%); }
  100% { opacity: 0; transform: translateX(40%); }
}

/* ANSWER TEXT */
.faq-section details p {
  padding: 0 20px 18px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  animation: fadeAnswer .35s ease;
}

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

/* Smooth slide-open effect */
.faq-section details[open] > *:not(summary) {
  animation: slideDown .28s ease-out;
}

@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CONTACT BOX — FINAL GOLD VERSION
=============================================================== */

.contact-box {
  max-width: 980px;
  margin: 55px auto 90px;
  text-align: center;
  padding: 34px 26px;
  background: rgba(8,16,28,0.92);
  border: 1px solid rgba(231,191,99,0.35);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 22px rgba(212,175,55,0.28);
  animation: fadeUp .9s ease forwards;
}

.contact-box h3 {
  font-size: 24px;
  color: var(--gold-soft);
  margin-bottom: 12px;
  text-shadow: 0 0 14px rgba(212,175,55,0.55);
}

.contact-box p {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0;
}

.contact-box a {
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  margin: 6px 12px;
  transition: .25s ease;
}

/* Hover effects */
.contact-box a:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(212,175,55,1);
  transform: scale(1.12);
}

/* Mobile fixes */
@media (max-width: 600px) {
  .faq-section, .contact-box {
    padding: 20px 16px;
  }
  .faq-section summary {
    font-size: 14px;
  }
}
/* ============================================================
   CONTACT PILL BUTTONS — GOLD LUXURY VERSION
=============================================================== */

.contact-box {
  text-align: center;
  margin: 50px auto 70px;
  max-width: 680px;
}

.contact-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-box p {
  color: var(--muted);
  font-size: 14px;
}

.contact-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pill-btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 999px;
  color: var(--gold-soft);
  border: 1px solid rgba(231,191,99,0.85);
  background: rgba(10,20,35,0.9);
  text-decoration: none;
  letter-spacing: .3px;
  transition: .28s ease-out;
  text-shadow: 0 0 6px rgba(212,175,55,0.55);
  box-shadow:
    0 0 10px rgba(212,175,55,0.35),
    inset 0 0 8px rgba(212,175,55,0.25);
}

/* HOVER — bright gold shimmer */
.pill-btn:hover {
  color: #fff;
  border-color: var(--gold);
  background: rgba(15,30,50,0.95);
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 0 20px rgba(245,196,0,0.95),
    inset 0 0 14px rgba(245,196,0,0.65);
  text-shadow: 0 0 12px rgba(245,196,0,0.95);
}

/* MOBILE — full-width buttons */
@media (max-width: 600px) {
  .pill-btn {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
}

/* ============================================
   FAQ TITLE — GOLD • SHIMMER • GLOW • HOVER
   ============================================ */

.faq-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 900;
  text-align: center;
  margin: 45px 0 28px;
  color: var(--gold-soft);
  letter-spacing: 0.5px;
  text-shadow:
    0 0 8px rgba(212,175,55,0.55),
    0 0 16px rgba(212,175,55,0.35);
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Continuous shimmer line */
.faq-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f5c400, transparent);
  transform: translateX(-50%);
  animation: faqShimmer 2.4s infinite ease-in-out;
  border-radius: 999px;
}

/* Gold pulsing glow */
.shimmer-gold {
  animation: faqGlow 3s infinite ease-in-out alternate;
}

/* Hover = brighter + stronger shimmer */
.faq-title:hover {
  filter: brightness(1.25);
  text-shadow:
    0 0 12px rgba(245,196,0,0.95),
    0 0 24px rgba(245,196,0,0.75);
  transform: scale(1.02);
  transition: .25s ease-out;
}

/* Shimmer animation */
@keyframes shimmerScan {
  0% { opacity: 0; transform: translateX(-40%); }
  40% { opacity: 1; transform: translateX(0%); }
  100% { opacity: 0; transform: translateX(40%); }
}

/* Gold breathing glow */
@keyframes faqGlow {
  0% {
    opacity: 0.85;
    text-shadow:
      0 0 8px rgba(212,175,55,0.45),
      0 0 14px rgba(212,175,55,0.25);
  }
  50% {
    opacity: 1;
    text-shadow:
      0 0 16px rgba(245,196,0,0.75),
      0 0 32px rgba(245,196,0,0.55);
  }
  100% {
    opacity: 0.85;
    text-shadow:
      0 0 8px rgba(212,175,55,0.45),
      0 0 14px rgba(212,175,55,0.25);
  }
}
/* ============================================================
   PROJECT ESTIMATOR — GOLD SHIMMER / HOVER (TWO TITLES ONLY)
=============================================================== */

.shimmer-title {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  font-family: var(--font-serif);
  color: var(--gold-soft);
  margin: 38px auto 10px;
  text-shadow:
    0 0 10px rgba(212,175,55,0.55),
    0 0 20px rgba(212,175,55,0.35);
  display: block;
  animation: shimmerTitle 3s linear infinite;
  transition: .25s ease-out;
  cursor: pointer;
}

/* Hover Glow */
.shimmer-title:hover {
  filter: brightness(1.25);
  transform: scale(1.03);
  text-shadow:
    0 0 16px rgba(245,196,0,1),
    0 0 28px rgba(245,196,0,.9),
    0 0 40px rgba(245,196,0,.7);
}

/* Shimmer breathing animation */
@keyframes shimmerTitle {
  0%   { filter: brightness(85%); }
  50%  { filter: brightness(150%); }
  100% { filter: brightness(85%); }
}

/* ============================================================
   FIX PROJECT ESTIMATOR ALIGNMENT (NO HTML CHANGES)
=============================================================== */

/* Center ONLY the estimator heading block */
.hero-inner .hero-content,
.hero-inner .hero-content h1,
.hero-inner .hero-content p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* First title (Project Estimator) */
.hero-inner .hero-content h1 {
  font-size: 36px !important;
  font-weight: 900 !important;
  color: var(--gold-soft) !important;
  text-shadow:
    0 0 10px rgba(212,175,55,0.55),
    0 0 20px rgba(212,175,55,0.35);
  animation: shimmerTitle 3s linear infinite;
}

/* Subtitle under Project Estimator */
.hero-inner .hero-content p {
  max-width: 780px;
  margin-top: 8px;
  margin-bottom: 20px;
  color: var(--muted) !important;
  font-size: 14px !important;
}

/* Second title (NYC & NJ Project Estimator) */
.section h2 {
  text-align: center !important;
  width: 100%;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  animation: shimmerTitle 3s linear infinite;
}

/* Hover glow on both titles */
.hero-inner .hero-content h1:hover,
.section h2:hover {
  filter: brightness(1.25);
  transform: scale(1.03);
  text-shadow:
    0 0 16px rgba(245,196,0,1),
    0 0 28px rgba(245,196,0,.9),
    0 0 40px rgba(245,196,0,.7);
}

/* Continuous shimmer animation */
@keyframes shimmerTitle {
  0%   { filter: brightness(85%); }
  50%  { filter: brightness(150%); }
  100% { filter: brightness(85%); }
}

/* ============================================================
   MOBILE MENU PLUS Z-INDEX FIX (Replace existing media query)
=============================================================== */

/* Ensure Header Bar is always on top */
.topbar {
  z-index: 1000; /* Give the entire sticky bar a high Z-Index */
}

@media (max-width: 960px) {

  /* --- 1. FULL WIDTH MENU DRAWER (Z-Index Fix) --- */
  .main-nav {
    position: absolute;
    top: 100%;         /* Attach exactly below the header bar */
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: rgba(4, 12, 22, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold);
    padding: 0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.9);

    /* Z-Index is the key here. It must be higher than the content (e.g., the Hero) */
    z-index: 999;

    /* Hide by default */
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Show animation */
  .main-nav.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  /* --- 2. BIGGER TOUCH TARGETS --- */
  .main-nav a,
  .nav-link.dropbtn {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
  }

  .main-nav a:hover,
  .nav-link.dropbtn:hover {
    background: rgba(255,255,255,0.05);
    padding-left: 30px;
  }

  .main-nav a:hover::after {
    display: none;
  }

  /* --- 3. BETTER MOBILE DROPDOWNS --- */
  .dropdown-content {
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,0.3);
    border: none;
    border-left: 2px solid var(--gold);
    width: 100%;
    min-width: unset;
    /* Ensure the dropdown content itself also stacks above page content */
    z-index: 1000;
  }

  .dropdown-content a {
    padding-left: 35px;
    font-size: 15px;
    color: var(--muted);
  }

  /* --- 4. BIGGER HAMBURGER ICON --- */
  .nav-toggle {
    display: block;
    font-size: 30px;
    padding: 5px 15px;
    color: var(--gold);
  }

  /* --- 5. BALANCED HERO SECTION --- */
  .hero, .hero-home {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-content {
    max-width: 100% !important;
    padding: 0 10px;
  }

  .hero-actions, .trust-pills {
    justify-content: center;
  }

  .hero-badge {
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .sticky-call {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 14px;
  }
}
/* ============================================================
   HOMEPAGE — NEW SECTIONS (SPECIAL, PROCESS, REVIEWS, RESOURCE)
   Hammer Brick & Home LLC
=============================================================== */

/* Masonry Tune-Up Special */
.section-special {
  padding: 22px 18px 24px;
  border-radius: var(--radius-xl);
  background: rgba(6, 12, 23, 0.96);
  border: 1px solid rgba(231,191,99,0.35);
  box-shadow: 0 0 22px rgba(212,175,55,0.25);
}

.section-special h2 {
  text-align: left;
  font-size: 22px;
  margin-bottom: 8px;
}

.section-special .lead {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.section-special .bullets {
  margin: 12px 0;
  font-size: 13px;
}

.section-special .fine-print {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
  margin-top: 8px;
}

.section-special .hero-actions {
  margin-top: 16px;
}

/* Our Process */
.section-process {
  margin-top: 32px;
  padding: 22px 18px 24px;
  border-radius: var(--radius-xl);
  background: rgba(5, 11, 22, 0.96);
  border: 1px solid rgba(231,191,99,0.25);
  box-shadow: 0 0 20px rgba(0,0,0,0.75);
}

.section-process h2 {
  text-align: left;
  margin-bottom: 14px;
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  gap: 14px 20px;
}

.process-steps li {
  padding: 12px 12px 14px;
  border-radius: 14px;
  background: rgba(9,16,30,0.96);
  border: 1px solid rgba(231,191,99,0.18);
  box-shadow: 0 0 12px rgba(0,0,0,0.85);
}

.process-steps h3 {
  font-size: 14px;
  color: var(--gold-soft);
  margin-bottom: 4px;
}

.process-steps p {
  font-size: 13px;
  color: var(--muted);
}

/* Review Highlight Strip */
.section-reviews-highlight {
  margin-top: 38px;
  padding: 18px 20px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, rgba(212,175,55,0.12), transparent 60%),
              rgba(5, 11, 22, 0.96);
  border: 1px solid rgba(231,191,99,0.3);
  box-shadow: 0 0 18px rgba(212,175,55,0.3);
  text-align: center;
}

.review-score {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--gold-soft);
}

.review-quote {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 6px;
}

.review-note {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
}

/* Free Resource / Checklist */
.section-resource {
  margin-top: 32px;
  padding: 22px 18px 24px;
  border-radius: var(--radius-xl);
  background: rgba(6, 12, 23, 0.96);
  border: 1px solid rgba(231,191,99,0.25);
  box-shadow: 0 0 18px rgba(212,175,55,0.22);
}

.section-resource h2 {
  text-align: left;
  margin-bottom: 8px;
}

.section-resource p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.section-resource .bullets {
  font-size: 13px;
}

.section-resource .btn {
  margin-top: 12px;
}

.section-resource .fine-print {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
}

/* CTA Band */
.cta-band {
  margin-top: 40px;
  padding: 22px 18px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(7,14,26,0.96), rgba(9,18,34,0.96));
  border: 1px solid rgba(231,191,99,0.28);
  box-shadow: 0 0 24px rgba(0,0,0,0.85);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.cta-text {
  flex: 1 1 260px;
}

.cta-text h2 {
  text-align: left;
  margin-bottom: 6px;
}

.cta-text p {
  font-size: 14px;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Small screens */
@media (max-width: 720px) {
  .section-special,
  .section-process,
  .section-reviews-highlight,
  .section-resource,
  .cta-band {
    padding: 18px 14px 20px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }
}

/* Generic fine-print utility (if needed globally) */
.fine-print {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
}

/* ============================================================
   CONTACT OPTIONS PANEL (Slide-Up Modal)
   Matches dark + gold luxury theme
=============================================================== */

.contact-panel {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  display: none; /* toggled via JS inline in index.html */
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
}

.contact-panel-inner {
  width: 100%;
  max-width: 520px;
  margin: 0 12px 18px;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(212,175,55,0.16), transparent 70%),
              rgba(6, 12, 23, 0.98);
  border: 1px solid rgba(231,191,99,0.55);
  box-shadow:
    0 0 22px rgba(212,175,55,0.45),
    0 22px 40px rgba(0,0,0,0.95);
  transform: translateY(40px);
  opacity: 0;
  animation: contactPanelIn .3s ease-out forwards;
}

/* Panel Title + Text */
.contact-panel-inner h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 4px;
  color: var(--gold-soft);
  text-align: left;
}

.contact-panel-inner .muted {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Close button (X) */
.contact-panel-close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--gold-soft);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 6px;
  transition: 0.25s ease;
}

.contact-panel-close:hover {
  color: #fff;
  transform: scale(1.1);
}

/* Contact actions list */
.contact-panel-actions {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.contact-panel-actions li a {
  display: block;
  padding: 9px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--gold-soft);
  border: 1px solid rgba(231,191,99,0.75);
  background: rgba(10,20,35,0.95);
  text-shadow: 0 0 6px rgba(212,175,55,0.55);
  box-shadow:
    0 0 12px rgba(212,175,55,0.25),
    inset 0 0 8px rgba(212,175,55,0.15);
  letter-spacing: 0.3px;
  font-weight: 800;
  transition: 0.25s ease-out;
}

/* Hover: brighter gold */
.contact-panel-actions li a:hover {
  color: #fff;
  border-color: var(--gold);
  background: rgba(15,30,50,0.98);
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 20px rgba(245,196,0,0.95),
    inset 0 0 14px rgba(245,196,0,0.65);
}

/* Service Area links inside panel */
.contact-panel-service-links {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.contact-panel-service-links a {
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 600;
}

.contact-panel-service-links a:hover {
  text-decoration: underline;
}

/* Disabled item (Leave a Review coming soon) */
.contact-panel-disabled {
  font-size: 13px;
  color: var(--muted);
  opacity: 0.8;
  padding: 4px 2px 2px;
}

/* Mobile / small screens: panel more full-screen */
@media (max-width: 600px) {
  .contact-panel-inner {
    margin: 0 8px 16px;
    border-radius: 18px 18px 0 0;
  }
}

/* Slide-Up Animation */
@keyframes contactPanelIn {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================================
   ⭐ FLOATING CONTACT BUBBLE — GOLD LUXURY
=============================================================== */

.contact-float-btn {
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(231,191,99,0.85);
  background: rgba(7,14,26,0.92);
  color: #e7bf63;
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 0 18px rgba(212,175,55,0.45),
    inset 0 0 12px rgba(212,175,55,0.35);
  text-shadow: 0 0 8px rgba(245,196,0,0.85);
  z-index: 9999;
  transition: 0.28s ease;
}

/* Hover glow */
.contact-float-btn:hover {
  transform: scale(1.10);
  filter: brightness(1.25);
  box-shadow:
    0 0 24px rgba(245,196,0,0.95),
    inset 0 0 14px rgba(245,196,0,0.75);
  text-shadow: 0 0 12px rgba(245,196,0,1);
}

/* Mobile sizing */
@media (max-width: 520px) {
  .contact-float-btn {
    width: 54px;
    height: 54px;
    font-size: 22px;
    right: 16px;
    bottom: 18px;
  }
}


/* Sticky Quick Contact Button */
.sticky-quick-btn {
  position: fixed;
  bottom: 88px;
  right: 20px;
  background: #e7bf63;
  color: #071426;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 0 14px rgba(231,191,99,0.5);
  cursor: pointer;
  z-index: 9990;
}

/* Panel */
.quick-contact-panel {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.quick-contact-inner {
  background: #0b1628;
  border-radius: 18px;
  padding: 22px 26px;
  border: 1px solid rgba(231,191,99,0.45);
  width: 92%;
  max-width: 380px;
  box-shadow: 0 0 18px rgba(231,191,99,0.4);
}

.quick-contact-inner h2 {
  color: #e7bf63;
  margin-bottom: 12px;
  font-size: 22px;
}

.quick-contact-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-contact-inner ul li {
  margin: 10px 0;
}

.quick-contact-inner a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
}

.quick-close {
  float: right;
  font-size: 20px;
  background: none;
  border: none;
  color: #e7bf63;
  cursor: pointer;
}

/* ============================================================
   MEMBERSHIP PAGE FIXES + PERKS LIST STYLING (HAMMER BRICK)
=============================================================== */

/* FIX: Ensure the How to Join content is centered on mobile when the grid collapses */
@media (max-width: 860px) {
  .rules-join-grid {
    grid-template-columns: 1fr !important;
    justify-items: center !important; /* Center grid items */
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Resetting the first column to align content left and take full width */
  .rules-join-grid > div:first-child {
    text-align: left !important;
    width: 100% !important;
    padding: 0 10px; /* Add slight padding for mobile balance */
  }

  /* Ensure the button block keeps buttons left-aligned */
  .rules-join-grid > div:first-child div[style*="display:flex"] {
    justify-content: flex-start !important;
  }

  /* Center the QR code block if it has a max-width */
  .qr-block {
    text-align: center !important;
    width: 100%;
    margin-top: 20px;
  }
}


/* PERKS LIST STYLING */
.perks-list {
  list-style: none;
  padding: 0;
  line-height: 1.6;
  font-size: 14px;
}

.perks-list li {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--bg-alt); /* Dark Alt Background */
  border: 1px solid rgba(231,191,99,0.2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: .25s ease;
}

.perks-list li:hover {
  border-color: var(--gold-soft);
  box-shadow: 0 0 14px rgba(212,175,55,0.5);
  transform: translateY(-2px);
}

.perks-list strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--gold-soft);
  text-shadow: 0 0 8px rgba(212,175,55,0.4);
}

/* Styles that were in the inline block and needed to be preserved or generalized */
.rules-accordion-section { background:#0b0b0b; padding:40px 20px; }
.rules-accordion-title { text-align:center; font-size:42px; color:#d4af37; margin-bottom:30px; font-weight:700; }

.accordion { max-width:900px; margin:auto; border:1px solid #d4af37; border-radius:6px; background:#0b0b0b; }
.accordion-item { border-bottom:1px solid #d4af37; }
.accordion-header {
  width:100%; padding:18px 20px; font-size:20px; background:#0b0b0b; color:#d4af37; border:none; text-align:left; position:relative; cursor:pointer; font-weight:600; letter-spacing:.3px;
}
.accordion-header::after { content:"+"; position:absolute; right:20px; font-size:22px; }
.accordion-header.active::after { content:"-"; }
.accordion-content { max-height:0; overflow:hidden; background:#0b0b0b; padding:0 20px; color:#e0e0e0; border-top:1px solid rgba(212,175,55,0.3); transition:max-height .3s ease; }
.accordion-content p { margin:0; padding:15px 0; line-height:1.6; font-size:16px; }

.rules-scroll { font-size:16px; line-height:1.6; }
.rules-scroll ol { list-style:decimal; margin-left:1.25rem; }
.rules-scroll li { margin:10px 0; }
.rules-scroll strong { color:#f5d89b; font-weight:900; }

.qr-block img { width:150px; height:150px; background:#fff; padding:8px; border-radius:14px; box-shadow:0 4px 14px rgba(0,0,0,.5); }

/* Ensure the rules grid collapses correctly on smaller screens based on original HTML */
@media(max-width:800px) { .rules-join-grid { grid-template-columns:1fr !important; } }


/* ============================================================
   MONTHLY SPECIALS – 4-CARD LAYOUT (New Fix)
=============================================================== */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 1.75rem;
  /* Ensure all cards are equal height */
  align-items: stretch;
}

.special-card {
  background: rgba(5, 12, 25, .96);
  border-radius: 18px;
  border: 1px solid rgba(231, 191, 99, .35);
  padding: 18px 18px 20px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
  /* Make card a flex container to align contents vertically */
  display: flex;
  flex-direction: column;
}

.special-card h3 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-size: 1.1rem;
}

.special-card p {
  margin: .35rem 0;
}

.special-card ul {
  margin: .5rem 0 .75rem;
  padding-left: 1.2rem;
  /* Flex shrink 0 prevents the list from collapsing */
  flex-shrink: 0; 
}

.special-price {
  font-weight: 600;
  color: var(--gold, #e7bf63);
  margin-top: .4rem;
  flex-shrink: 0;
}

.special-note {
  font-size: .85rem;
  opacity: .8;
  flex-shrink: 0;
}

/* Bonus badge */
.special-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .8rem;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(231, 191, 99, .55);
  margin-left: .5rem;
}

/* CTA button line inside cards - push to bottom */
.special-cta {
  margin-top: auto; /* Pushes element to the bottom */
  padding-top: 10px;
  flex-shrink: 0;
}

/* --- FIX: OVERLAPPING SERVICES & SPACING --- */

/* 1. Give the pills breathing room */
.pill-row {
  gap: 12px !important; /* More space between buttons */
  margin-top: 15px;
  margin-bottom: 25px; /* Push the next section down */
  line-height: 2.5; /* Force lines apart */
}

/* 2. Ensure pills don't crash into lines above/below */
.gold-pill {
  display: inline-block;
  margin-bottom: 8px; /* Spacing when they wrap to next line */
}

/* 3. Fix the Mobile Layout Overlap */
@media (max-width: 860px) {
  /* Push the Services card away from the Trust section below it */
  .split > .accent-card {
    margin-bottom: 40px !important; 
    padding-bottom: 30px !important;
  }
  
  /* Ensure container height adapts to content */
  .accent-card {
    height: auto !important;
    min-height: auto !important;
  }
}

/* 4. Style the Restored Floating Button */
.contact-float-btn {
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(231,191,99,0.85);
  background: rgba(7,14,26,0.92);
  color: #e7bf63;
  font-size: 26px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(212,175,55,0.45);
  z-index: 9999;
  transition: 0.28s ease;
}
.contact-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 24px rgba(212,175,55,0.8);
}
/* ============================================================
   TIERED PRICING SECTION (HOMEPAGE)
=============================================================== */

.tier-section {
  margin-top: 60px;
}

.tier-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
}

.tier-header h2 {
  font-size: 28px;
  color: var(--gold-soft);
  margin-bottom: 10px;
}

.tier-header p {
  color: var(--muted);
  font-size: 15px;
}

/* Grid Layout */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

/* Card Base Style */
.tier-card {
  background: rgba(8, 16, 28, 0.95);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tier-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* TIER SPECIFIC COLORS */
/* Foundation (Blue) */
.tier-card.foundation {
  border-top: 4px solid #4a90e2;
}
.tier-card.foundation .tier-badge { background: rgba(74, 144, 226, 0.15); color: #4a90e2; }

/* Premium (Gold) */
.tier-card.premium {
  border-top: 4px solid #e7bf63;
  background: linear-gradient(145deg, rgba(8, 16, 28, 0.95), rgba(231, 191, 99, 0.05));
  border-color: rgba(231, 191, 99, 0.3);
}
.tier-card.premium .tier-badge { background: rgba(231, 191, 99, 0.15); color: #e7bf63; border: 1px solid rgba(231, 191, 99, 0.2); }

/* Signature (Bronze/Orange) */
.tier-card.signature {
  border-top: 4px solid #e67e22;
}
.tier-card.signature .tier-badge { background: rgba(230, 126, 34, 0.15); color: #e67e22; }

/* Card Internals */
.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tier-top h3 {
  font-size: 20px;
  color: #fff;
  margin: 0;
}

.tier-badge {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.tier-desc {
  font-size: 13px;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 60px; /* Aligns buttons if descriptions vary */
}

.tier-card .bullets {
  margin-bottom: 20px;
  flex-grow: 1; /* Pushes content down */
}

.tier-best {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: var(--muted);
}

.tier-best strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

/* Bottom Hook */
.tier-hook {
  text-align: center;
  background: rgba(231, 191, 99, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(231, 191, 99, 0.2);
  margin-top: 10px;
}

.tier-hook p {
  color: var(--gold-soft);
  margin-bottom: 15px;
  font-size: 14px;
}

/* Mobile Fix */
@media (max-width: 600px) {
  .tier-desc { min-height: auto; }
}

/* ============================================================
   NEW SIGNATURE SERVICES GLOW GRID
=============================================================== */

/* Layout Adjustments */
.trust-content {
  padding-right: 20px;
}

.mini-brand-strip {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  opacity: 0.6;
  letter-spacing: 1px;
}

/* Container for the Grid */
.services-glow-container {
  background: rgba(4, 10, 20, 0.6);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* The Grid Itself (2 columns) */
.glow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns side by side */
  gap: 12px;
}

/* Base Card Style */
.glow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 10px;
  background: rgba(15, 25, 40, 0.95);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: 0.3s ease;
  border: 1px solid transparent; /* Prepare for border color */
  position: relative;
  overflow: hidden;
}

.glow-icon {
  font-size: 20px;
  margin-bottom: 6px;
  display: block;
}

/* HOVER EFFECTS - MOVEMENT */
.glow-card:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(25, 35, 55, 1);
}

/* --- THE COLORS --- */

/* 1. White/Concrete */
.style-white {
  color: #e0e0e0;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05), inset 0 0 10px rgba(255, 255, 255, 0.05);
}
.style-white:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

/* 2. Gold/Sun */
.style-gold {
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1), inset 0 0 10px rgba(255, 215, 0, 0.05);
}
.style-gold:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  border-color: #ffd700;
}

/* 3. Blue/Water */
.style-blue {
  color: #4a90e2;
  border-color: rgba(74, 144, 226, 0.3);
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.1), inset 0 0 10px rgba(74, 144, 226, 0.05);
}
.style-blue:hover {
  box-shadow: 0 0 20px rgba(74, 144, 226, 0.4);
  border-color: #4a90e2;
}

/* 4. Red/Structure */
.style-red {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.3);
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.1), inset 0 0 10px rgba(255, 107, 107, 0.05);
}
.style-red:hover {
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
  border-color: #ff6b6b;
}

/* 5. Green/Fresh */
.style-green {
  color: #2ecc71;
  border-color: rgba(46, 204, 113, 0.3);
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.1), inset 0 0 10px rgba(46, 204, 113, 0.05);
}
.style-green:hover {
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
  border-color: #2ecc71;
}

/* 6. Cyan/Clean */
.style-cyan {
  color: #00d2d3;
  border-color: rgba(0, 210, 211, 0.3);
  box-shadow: 0 0 10px rgba(0, 210, 211, 0.1), inset 0 0 10px rgba(0, 210, 211, 0.05);
}
.style-cyan:hover {
  box-shadow: 0 0 20px rgba(0, 210, 211, 0.4);
  border-color: #00d2d3;
}

/* Mobile Fix */
@media (max-width: 600px) {
  .glow-grid {
    grid-template-columns: 1fr 1fr; /* Keep 2 columns even on mobile for better fit */
    gap: 10px;
  }
  .glow-card {
    font-size: 11px;
    padding: 12px 6px;
  }
}
/* ============================================================
   NEW: LUXURY POLISH & FLOATING BUTTON
=============================================================== */

/* 1. Luxury Gold Divider Line */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231,191,99,0.5), transparent);
  margin: 50px auto;
  width: 80%;
  border: none;
  opacity: 0.6;
}

/* 2. Floating "Text Us Photos" Button (Mobile Friendly) */
.floating-sms-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #e7bf63, #d4af37);
  color: #071426;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(212,175,55,0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 14px;
  border: 2px solid rgba(255,255,255,0.2);
}

.floating-sms-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(212,175,55,0.6);
  color: #000;
}

/* 3. Hero Readability Gradient */
.hero-home {
  position: relative;
  /* Add a subtle dark overlay to make text pop against any image */
  background: radial-gradient(circle at center, rgba(7,20,38,0.7) 0%, rgba(7,20,38,0.9) 100%); 
}

/* Mobile Adjustment for FAB */
@media (max-width: 600px) {
  .floating-sms-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 13px;
  }
}

/* Luxury Text Gradient for H1 */
.hero-content h1 {
  /* 1. The Gradient: Starts White, fades to Soft Gold */
  background: linear-gradient(135deg, #ffffff 45%, #f5d89b 100%);
  
  /* 2. Clip the background to the text shape */
  -webkit-background-clip: text;
  background-clip: text;
  
  /* 3. Make the text transparent so the background shows through */
  -webkit-text-fill-color: transparent;
  color: transparent;
  
  /* 4. Add a slight drop shadow to lift it off the dark background */
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
  
  /* Optional: Tighten letter spacing slightly for a more modern look */
  letter-spacing: -0.5px;
}
/* FORCE LUXURY GRADIENT ON H1 */
    .hero-content h1 {
      background: linear-gradient(135deg, #ffffff 30%, #f5d89b 100%);
      -webkit-background-clip: text !important;
      background-clip: text !important;
      -webkit-text-fill-color: transparent !important;
      color: transparent !important;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
      padding-bottom: 5px; /* Prevents letters like 'g' from being cut off */
    }

}
