/* OAS Theme — BeTheme-style creative side menu + chrome */
:root {
  --oas-accent: #e98400;
  --oas-accent-hover: #dc7700;
  --oas-dark: #161922;
  --oas-side-bg: #191919;
  --oas-side-w: 250px;
  --oas-text: #444;
  --oas-mobile-bar-h: 64px;
  /* BeTheme match: body Lora, UI/headings Poppins */
  --oas-font-body: "Lora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --oas-font-heading: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body.oas-theme {
  font-family: var(--oas-font-body);
  font-size: 16px;
  color: var(--oas-text);
  background: #fff;
  margin: 0;
}

body.oas-theme h1,
body.oas-theme h2,
body.oas-theme h3,
body.oas-theme h4,
body.oas-theme h5,
body.oas-theme h6 {
  font-family: var(--oas-font-heading);
}

a { color: var(--oas-accent); }
a:hover { color: var(--oas-accent-hover); }

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* —— Creative side nav (desktop always open) —— */
.oas-side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--oas-side-w);
  height: 100%;
  z-index: 1040;
  background: var(--oas-side-bg);
  box-shadow: 2px 0 4px 2px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.oas-side-nav__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 36px 18px 32px;
  box-sizing: border-box;
}

.oas-side-nav__logo {
  display: block;
  text-align: center;
  margin: 0 0 40px;
  text-decoration: none;
}
.oas-side-nav__logo img {
  display: inline-block;
  max-width: 220px;
  max-height: 120px;
  width: auto;
  height: auto;
}

.oas-side-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.oas-side-nav__link {
  display: block;
  text-align: center;
  color: #f2f2f2 !important;
  text-decoration: none !important;
  font-family: var(--oas-font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  padding: 13px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease;
}
.oas-side-nav__item:last-child > .oas-side-nav__link {
  border-bottom: 0;
}
.oas-side-nav__link:hover,
.oas-side-nav__item.is-current > .oas-side-nav__link {
  color: var(--oas-accent) !important;
}

.oas-side-nav__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}
.oas-side-nav__sub .oas-side-nav__link {
  font-size: 15px;
  font-weight: 500;
  padding: 8px;
}

.oas-side-nav__meta {
  margin-top: 36px;
  padding-top: 0;
  text-align: center;
}
.oas-side-nav__meta-label {
  display: block;
  font-family: var(--oas-font-heading);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}
.oas-side-nav__phone {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--oas-accent) !important;
  text-decoration: none !important;
  margin-bottom: 6px;
}
.oas-side-nav__city {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.oas-side-nav__close {
  display: none;
}

/* Mobile top bar — hidden on desktop */
.oas-mobile-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #111;
  min-height: var(--oas-mobile-bar-h);
  padding: 8px 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.oas-mobile-bar__logo {
  margin-left: auto;
}
.oas-mobile-bar__logo img {
  display: block;
  max-height: 48px;
  width: auto;
}

.oas-nav-toggle {
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: #fff;
}
.oas-nav-toggle__box {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.oas-nav-toggle__box span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.oas-nav-backdrop {
  display: none;
}

/* Content offset for creative sidebar */
.oas-page {
  margin-left: var(--oas-side-w);
  min-height: 100vh;
}
.oas-top-anchor {
  position: relative;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Footer */
.oas-footer { margin-top: 0; color: #f2f2f2; }
.oas-footer a { color: #fff; text-decoration: none; }
.oas-footer a:hover { color: var(--oas-accent); }
.oas-footer__cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(10, 10, 12, 0.92) 0%, rgba(22, 25, 34, 0.88) 45%, rgba(12, 12, 14, 0.9) 100%),
    var(--oas-footer-cta-img, linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #121212 100%));
  background-size: cover;
  background-position: center right;
  padding: 36px 16px;
  border-top: 1px solid rgba(233, 132, 0, 0.35);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.35);
}
.oas-footer__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(233, 132, 0, 0.18) 0%, transparent 55%);
  pointer-events: none;
}
.oas-footer__cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.oas-footer__cta-copy {
  text-align: left;
}
.oas-footer__cta-title {
  margin: 0 0 6px;
  color: #fff !important;
  font-family: var(--oas-font-heading);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.2;
}
.oas-footer__cta-phone {
  display: inline-block;
  font-family: var(--oas-font-heading);
  font-size: clamp(24px, 4.5vw, 36px);
  font-weight: 900;
  color: var(--oas-accent) !important;
  text-decoration: none !important;
  letter-spacing: 0.02em;
}
.oas-footer__cta-media img {
  display: block;
  max-width: 160px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}
.oas-footer__cta-icon {
  color: var(--oas-accent);
  opacity: 0.95;
  flex-shrink: 0;
}
.oas-footer__bottom {
  background: var(--oas-dark);
  padding: 20px 0;
  font-size: 13px;
}
.oas-footer__copy,
.oas-footer__credit { color: #ccc !important; }

@media (max-width: 640px) {
  .oas-footer__cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .oas-footer__cta-copy {
    text-align: center;
  }
  .oas-footer__cta-media img {
    max-width: 120px;
  }
}

/* Call Now — green icon-only FAB (legacy Call Now Button look) */
.oas-callnow {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: #00bb00;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 140, 0, 0.4);
}
.oas-callnow:hover { background: #009900; color: #fff !important; }
.oas-callnow svg { display: block; }

/* Generic page shell */
.oas-theme-main { padding: 48px 0 64px; min-height: 45vh; }
.oas-theme-entry__title {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: 900;
  color: #1a1a1a;
}
.oas-privacy-page,
.oas-theme-main .oas-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}
.oas-privacy__title {
  margin: 0 0 24px;
  font-size: 34px;
  font-weight: 900;
  color: #1a1a1a;
}
.oas-prose p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; }
.oas-prose h2 { margin: 28px 0 12px; font-size: 22px; font-weight: 800; line-height: 1.3; color: #1a1a1a; }
.oas-prose h3, .oas-prose h4 { margin: 22px 0 10px; font-size: 18px; font-weight: 700; line-height: 1.35; color: #1a1a1a; }
.oas-prose ul, .oas-prose ol { margin: 0 0 18px; padding-left: 1.25em; }
.oas-prose li { margin: 0 0 8px; font-size: 16px; line-height: 1.65; }
.oas-prose-table-wrap { margin: 24px 0; overflow-x: auto; }
.oas-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.oas-prose th,
.oas-prose td { padding: 10px 12px; border: 1px solid #e5e5e5; text-align: left; vertical-align: top; }
.oas-prose th { background: #1a1a1a; color: #fff; font-weight: 700; }
.oas-prose tr:nth-child(even) td { background: #f7f7f7; }

/* —— Scroll reveal (Geo-Ada style) —— */
html[data-oas-reveal] body.oas-has-reveal .oas-reveal {
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--oas-reveal-delay, 0s);
  will-change: opacity, transform;
}
html[data-oas-reveal="up"] body.oas-has-reveal .oas-reveal {
  opacity: 0;
  transform: translateY(2rem);
}
html[data-oas-reveal] body.oas-has-reveal .oas-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html[data-oas-reveal] body.oas-has-reveal .oas-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* —— Mobile / tablet: drawer —— */
@media (max-width: 991.98px) {
  .oas-page {
    margin-left: 0;
  }

  .oas-mobile-bar {
    display: flex;
  }

  .oas-side-nav {
    left: 0;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    background: #191919;
    color: #fff;
    box-shadow: none;
  }
  .oas-side-nav.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
  }

  .oas-side-nav__close {
    display: flex;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }

  .oas-side-nav__logo {
    margin-top: 0;
    margin-bottom: 36px;
  }
  .oas-side-nav__logo img {
    filter: none;
    max-width: 200px;
    max-height: 110px;
  }

  .oas-side-nav__link {
    color: #eee !important;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    font-weight: 500;
    font-size: 16px;
  }
  .oas-side-nav__link:hover,
  .oas-side-nav__item.is-current > .oas-side-nav__link {
    color: var(--oas-accent) !important;
  }

  .oas-side-nav__meta-label,
  .oas-side-nav__city {
    color: #aaa;
  }

  .oas-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1035;
  }
  .oas-nav-backdrop[hidden] {
    display: none !important;
  }

  html.oas-nav-lock {
    overflow: hidden;
  }
}

@media (min-width: 992px) {
  .oas-callnow.d-lg-none {
    display: none !important;
  }
  .oas-nav-backdrop {
    display: none !important;
  }
}
