/* ============================================================
   RNKS SERVICES — SHARED STYLESHEET
   Reno, NV | rnksservices.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@400;500;600&display=swap');

:root {
  --black:      #0a0a0a;
  --dark:       #111111;
  --panel:      #1a1a1a;
  --panel2:     #161616;
  --border:     #2a2a2a;
  --gold:       #d4a017;
  --gold-light: #f0c040;
  --gold-dim:   #6b5000;
  --white:      #f5f0e8;
  --grey:       #888888;
  --grey-lt:    #aaaaaa;
  --font-head:  'Barlow Condensed', sans-serif;
  --font-body:  'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── GLOBAL OVERFLOW GUARD ── */
*, *::before, *::after { max-width: 100%; }
.container, section, div, p, h1, h2, h3, h4 { max-width: 100%; }


html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100vw; }
body { background: var(--black); color: var(--white); font-family: var(--font-body); line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; }
img, svg, video { max-width: 100%; height: auto; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── UTILITY ── */
.gold        { color: var(--gold); }
.container   { max-width: 1200px; margin-inline: auto; padding-inline: 2rem; }
.section-label {
  font-family: var(--font-head);
  font-size: .75rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: .75rem;
}
.divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--black);
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  letter-spacing: .12em; text-transform: uppercase; padding: .9rem 2.2rem;
  text-decoration: none;
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  transition: background .2s, transform .15s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  display: inline-block; border: 2px solid var(--gold); color: var(--gold);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  letter-spacing: .12em; text-transform: uppercase; padding: .85rem 2.2rem;
  text-decoration: none;
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  transition: background .2s, color .2s, transform .15s;
}
.btn-outline:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }

.btn-dark {
  display: inline-block; background: var(--black); color: var(--gold);
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  letter-spacing: .12em; text-transform: uppercase; padding: .9rem 2.2rem;
  text-decoration: none;
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  transition: background .2s, transform .15s;
}
.btn-dark:hover { background: #1a1a1a; transform: translateY(-2px); }

/* ── TOPBAR ── */
/* ══════════════════════════════
   TOPBAR
══════════════════════════════ */
.topbar {
  background: var(--gold);
  padding: .45rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--black);
}
.topbar a { color: var(--black); text-decoration: none; }
.topbar-left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: flex; gap: 2rem; }

/* ══════════════════════════════
   NAV — DESKTOP
══════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 999;
  background: rgba(10,10,10,.97);
  border-bottom: 2px solid var(--gold-dim);
  padding: 0 2rem;
  display: flex; align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(8px);
}
.logo {
  font-family: var(--font-head); font-size: 2rem; font-weight: 900;
  letter-spacing: .04em; color: var(--white); text-decoration: none;
  padding: 1rem 0; display: flex; align-items: center; gap: .4rem;
}
.logo .gold-dot { color: var(--gold); }
.logo-sub {
  font-size: .6rem; letter-spacing: .2em; color: var(--grey);
  text-transform: uppercase; display: block; margin-top: -4px;
}
.nav-links { display: flex; list-style: none; gap: .15rem; }
.nav-links a {
  color: var(--white); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .5rem .85rem; transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 2px; background: var(--gold);
  transition: width .2s, left .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 80%; left: 10%; }
.nav-dropdown { position: relative; }
.nav-dropdown > a::before { content: ' ▾'; font-size: .7rem; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--dark); border: 1px solid var(--border);
  border-top: 2px solid var(--gold); min-width: 220px;
  list-style: none; z-index: 1000;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block; padding: .7rem 1.25rem;
  font-size: .85rem; border-bottom: 1px solid var(--border);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.nav-cta { padding: .6rem 1.5rem; font-size: .85rem; }

/* hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: .75rem .5rem;
  background: none; border: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 44px; min-height: 44px;
}
.hamburger span {
  display: block; width: 28px; height: 2.5px;
  background: var(--white); border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* close btn inside mobile menu */
.menu-close-btn {
  position: fixed; top: 12px; right: 12px;
  z-index: 10001;
  background: rgba(20,20,20,.95);
  border: 1.5px solid #444;
  color: var(--white); width: 44px; height: 44px;
  border-radius: 50%; font-size: 1.2rem;
  cursor: pointer; display: none;
  align-items: center; justify-content: center;
  transition: border-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.menu-close-btn.visible { display: flex; }
.menu-close-btn:hover,
.menu-close-btn:active { border-color: var(--gold); color: var(--gold); }

/* mobile CTA inside menu — hidden on desktop */
.mobile-menu-cta { display: none; }


/* mobile CTA list item — hidden on desktop */
.mobile-cta-item { display: none !important; }

/* ══════════════════════════════
   NAV — MOBILE (≤ 1100px)
══════════════════════════════ */
@media (max-width: 1100px) {

  /* topbar: show only phone + email centered */
  .topbar {
    justify-content: center;
    padding: .5rem 1rem;
    font-size: .78rem;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
  }
  .topbar > div:first-child { display: none; }
  .topbar-right { gap: .75rem; flex-wrap: wrap; justify-content: center; }

  /* nav */
  nav { padding: 0 1rem; min-height: 58px; }
  .logo { font-size: 1.8rem; padding: .7rem 0; }
  .logo-sub { display: none; }
  .nav-cta { display: none !important; }
  .hamburger { display: flex !important; }

  /* full-screen overlay menu */
  .nav-links {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    flex-direction: column !important;
    background: #050505 !important;
    padding: 70px 0 2rem !important;
    overflow-y: auto !important;
    z-index: 9997 !important;
    gap: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }
  .nav-links.open { display: flex !important; }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid #181818;
  }
  .nav-links > li > a {
    display: block !important;
    padding: 1rem 1.75rem !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    color: var(--white) !important;
    text-transform: uppercase !important;
  }
  .nav-links > li > a:hover,
  .nav-links > li > a.active { color: var(--gold) !important; }
  .nav-links > li > a::after { display: none !important; }

  /* services sub-menu always expanded */
  .nav-dropdown > a::before { content: '' !important; }
  .dropdown-menu {
    display: block !important;
    position: static !important;
    background: #0c0c0c !important;
    border: none !important;
    min-width: 0 !important; width: 100% !important;
    box-shadow: none !important; border-radius: 0 !important;
  }
  .dropdown-menu li a {
    padding: .7rem 1.75rem .7rem 3rem !important;
    font-size: .95rem !important;
    color: #666 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid #141414 !important;
  }
  .dropdown-menu li a:hover { color: var(--gold) !important; background: #111 !important; }

  /* gold CTA list item at bottom of mobile menu */
  .mobile-cta-item {
    display: block !important;
    border-bottom: none !important;
    padding: 1.5rem 1.75rem 2rem !important;
  }
  .mobile-menu-cta {
    display: block !important;
    background: var(--gold) !important;
    color: #000 !important;
    font-family: var(--font-head) !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    padding: 1rem 2rem !important;
    text-align: center !important;
    text-decoration: none !important;
    clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%) !important;
  }
}

@media (max-width: 480px) {
  .topbar-right { flex-direction: column; gap: .1rem; font-size: .75rem; }
  nav { padding: 0 .75rem; }
  .logo { font-size: 1.65rem; }
}

/* ══════════════════════════════
   GENERAL MOBILE LAYOUT
══════════════════════════════ */
@media (max-width: 640px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  .container { padding-inline: 1rem; }
  section { padding-left: 0 !important; padding-right: 0 !important; }
  section > .container { padding-inline: 1rem; }
  .hero-content { padding: 3rem 1.25rem !important; max-width: 100% !important; }
  .hero-title { font-size: clamp(2.6rem,11vw,4rem) !important; }
  .hero-sub { font-size: .95rem !important; }
  .hero-stats { gap: 1.25rem !important; padding-top: 1.5rem !important; margin-top: 2rem !important; flex-wrap: wrap; }
  .stat-num { font-size: 1.6rem !important; }
  .stat-label { font-size: .6rem !important; }
  .hero-btns { gap: .75rem; flex-direction: column; align-items: flex-start; }
  .hero-phone { font-size: 1.1rem !important; }
  .btn-primary, .btn-outline, .btn-dark, .btn-forge { padding: .75rem 1.5rem; font-size: .9rem; }
  .trust-grid { flex-direction: column; padding: 0 1rem; gap: .75rem; }
  .trust-badge { padding: 1rem; gap: .75rem; }
  .trust-img { width: 60px; height: 42px; }
  .about-split, .pillar-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .pw-name { font-size: 1.2rem !important; }
  .why-grid, .reviews-grid { grid-template-columns: 1fr !important; }
  .cta-strip { padding: 2rem 1rem; flex-direction: column; text-align: center; gap: 1rem; }
  .cta-strip-text { font-size: 1.4rem !important; }
  .cta-strip-btns { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr !important; padding: 0 1rem; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 1.5rem 1rem 0; }
  .info-card, .why-card, .review-card { padding: 1.5rem 1.25rem; }
  .tt-wrap { flex-direction: column; padding: 0 1rem; }
  .tt-card { max-width: 100% !important; flex: 1 1 100% !important; }
  a[href^="mailto:"], a[href^="tel:"] { word-break: break-all; }
  .breadcrumb { flex-wrap: wrap; padding: 0 .5rem; }
  /* homepage booking section */
  .home-booking-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* prevent any fixed-width element from overflowing */
  [style*="width:"] { max-width: 100% !important; }
  [style*="width: "] { max-width: 100% !important; }

}

@media (max-width: 380px) {
  .logo { font-size: 1.45rem; }
  .hero-title { font-size: 2.2rem !important; }
  .stat-num { font-size: 1.4rem !important; }
}

/* ── BRAND LOGO IMAGE ── */
.logo-with-img { padding: .5rem 0 !important; gap: .6rem; align-items: center; }
.logo-img { height: 56px; width: auto; max-width: 56px; display: block; }
.logo-with-img .logo-sub { display: none; }
@media (max-width: 1100px) {
  .logo-img { height: 48px; max-width: 48px; }
}
@media (max-width: 480px) {
  .logo-img { height: 42px; max-width: 42px; }
}
footer .logo-img { height: 80px; max-width: 80px; }
footer .logo-with-img { margin-bottom: 1rem; }
