:root {
  --bg-dark: #0a0a0a;          
  --bg-card: #141414;          
  --bg-panel: #1a1a1a;         
  --gold-primary: #d4af37;     
  --gold-hover: #b5952f;       
  --gold-light: #f5e4aa;       
  --gray-text: #8c8c8c;        
  --white: #ffffff;            
  --white-off: #f9f9f9;        
  --line: rgba(255, 255, 255, 0.08);
  --line-dark: rgba(0, 0, 0, 0.08);
  
  --display: 'Oswald', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--white);
  color: var(--bg-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3, h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.05; }
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-primary); font-weight: 600;
}
::selection { background: var(--gold-primary); color: var(--bg-dark); }

.fade-in { animation: fadeIn 0.8s ease-in forwards; opacity: 0; }
.slide-up { animation: slideUp 0.8s ease-out forwards; opacity: 0; transform: translateY(20px); }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

.btn-primary {
  background: var(--gold-primary); color: var(--bg-dark); padding: 15px 26px;
  border-radius: 4px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s; box-shadow: 0 8px 20px -8px rgba(212, 175, 55, 0.5);
  border: none; cursor: pointer; text-transform: uppercase; font-family: var(--display); letter-spacing: 0.05em;
}
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(212, 175, 55, 0.7); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.28); color: var(--white); padding: 15px 26px;
  border-radius: 4px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 10px;
  transition: border-color 0.3s, background 0.3s;
}
.btn-ghost:hover { border-color: var(--gold-primary); background: rgba(212, 175, 55, 0.05); }
/* --- Global Mobile-Friendly & Responsive Fixes --- */
* {
    box-sizing: border-box;
}

body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Mobile Screen Adjustments */
@media (max-width: 768px) {
    /* Stack navigation bars vertically on mobile */
    .site-header, header {
        flex-direction: column !important;
        padding: 15px 20px !important;
        text-align: center;
        gap: 15px;
    }

    .nav-menu, .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px !important;
    }

    /* Scale down large headings for phones */
    h1 {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 20px !important;
    }

    /* Force multi-column grids to stack in a single column */
    .services-grid, .reviews-grid, .grid-container, [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        padding: 0 10px;
    }

    /* Prevent iOS auto-zoom on form inputs */
    input, textarea, select, button {
        width: 100% !important;
        font-size: 16px !important;
    }
  @media (max-width: 768px) {
    /* --- Master Mobile Layout Fix --- */
    html, body {
        width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Fix floating/broken headers in portrait mode */
    .site-header, header {
        position: relative !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        left: auto !important;
        right: auto !important;
    }

    /* Force all wrapper boxes to stay inside mobile screen boundaries */
    .wrap, .page-wrapper, section, div {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Fix service columns or split cards breaking the screen width */
    [style*="grid-template-columns"], [style*="min-width"] {
        grid-template-columns: 1fr !important;
        min-width: 0 !important;
        width: 100% !important;
    }
}
}
/* --- Ultimate Mobile Layout Force-Fix --- */
@media (max-width: 768px) {
    /* Force any grid or flex container to single-column stack */
    div[style*="grid-template-columns"], 
    div[style*="display: grid"], 
    div[style*="display:flex"] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }

    /* Force columns or cards to take full width */
    div[style*="min-width"] {
        min-width: 100% !important;
        width: 100% !important;
    }

    /* Fix body and main layout wrappers */
    body, html {
        width: 100% !important;
        overflow-x: hidden !important;
        position: relative;
    }
}