:root {
  --onepg-primary: #003994;
  --onepg-secondary: #000000;
  --onepg-text: #222;
  --onepg-muted: #6b7280;
  --onepg-bg: #fafafa;
  --onepg-card: #fff;
  --onepg-border: #e5e7eb;
  --onepg-star: #f5b50a;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Roboto', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  color: var(--onepg-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--onepg-primary); }
img { max-width: 100%; display: block; }

.onepg-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- NAVBAR ---------- */
.onepg-navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #ffffffee;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--onepg-border);
}
.onepg-navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.onepg-logo a {
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--onepg-text);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.1;
}
.onepg-logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--onepg-text);
}
.onepg-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.onepg-hamburger {
  display: none;
  flex-direction: column;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem;
}
.onepg-bar {
  width: 24px;
  height: 2.5px;
  background: var(--onepg-text);
  margin: 3px 0;
  border-radius: 2px;
}
.onepg-desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}
.onepg-desktop-nav a {
  text-decoration: none;
  color: var(--onepg-text);
  font-weight: 500;
  font-size: 0.95rem;
}
.onepg-desktop-nav a:hover { color: var(--onepg-primary); }
.onepg-call-button {
  background: var(--onepg-primary);
  color: #fff;
  padding: 0.6rem 1.1rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity .15s;
}
.onepg-call-button:hover { opacity: 0.9; }

.onepg-mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.15);
  transition: right 0.3s ease-in-out;
  z-index: 10000;
  display: flex;
  flex-direction: column;
}
.onepg-mobile-nav.open { right: 0; }
.onepg-mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--onepg-border);
}
.onepg-mobile-nav-title {
  font-weight: 700;
  font-size: 1.1rem;
}
.onepg-close-button {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--onepg-text);
}
.onepg-mobile-nav ul {
  list-style: none;
  padding: 1rem;
}
.onepg-mobile-nav ul li { margin-bottom: 0.25rem; }
.onepg-mobile-nav ul li a {
  display: block;
  color: var(--onepg-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.onepg-mobile-call {
  background: var(--onepg-primary);
  color: #fff !important;
  border-radius: 6px;
  text-align: center;
  margin-top: 0.75rem;
  border-bottom: none !important;
}

@media (max-width: 900px) {
  .onepg-hamburger { display: flex; }
  .onepg-desktop-nav { display: none; }
  /* Mobile: keep both logo + name visible. If the logo is present we shrink
     it slightly so the name has room next to the hamburger and Call Now. */
  .onepg-logo img { height: 32px; }
  .onepg-logo-name {
    font-size: 0.85rem;
    max-width: 50vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  /* On very narrow screens, the name alone is enough — drop the logo image
     so the hamburger and Call Now button don't get squeezed. */
  .onepg-logo img { display: none; }
  .onepg-logo-name { font-size: 0.9rem; }
}

/* ---------- HERO ---------- */
.onepg-hero {
  background: var(--onepg-bg);
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  border-bottom: 1px solid var(--onepg-border);
}
.onepg-hero-container {
  max-width: 800px;
  margin: 0 auto;
}
.onepg-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--onepg-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.onepg-hero-description {
  font-size: 1.05rem;
  color: var(--onepg-text);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.onepg-hero-cta {
  display: inline-block;
  background: var(--onepg-primary);
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 0.85rem;
  transition: opacity .15s, transform .15s;
}
.onepg-hero-cta:hover { opacity: 0.92; transform: translateY(-1px); }
.onepg-hero-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto 1.5rem;
  font-size: 0.92rem;
  color: var(--onepg-muted);
}
.onepg-stars {
  color: var(--onepg-star);
  letter-spacing: 1px;
  font-size: 1rem;
}
.onepg-rating-value {
  color: var(--onepg-text);
  font-weight: 600;
}
.onepg-rating-text { color: var(--onepg-muted); }
.onepg-hero-image img {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid var(--onepg-border);
}

/* ---------- SHARED SECTION ---------- */
.onepg-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}
.onepg-section-title {
  text-align: center;
  margin-bottom: 1.75rem;
}
.onepg-section-title h2 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--onepg-text);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}
.onepg-section-title h2::before {
  content: "—";
  margin-right: 0.6rem;
  color: var(--onepg-muted);
}
.onepg-section-title h2::after {
  content: "—";
  margin-left: 0.6rem;
  color: var(--onepg-muted);
}
.onepg-section-subtitle {
  font-size: 0.95rem;
  color: var(--onepg-muted);
  margin-top: 0.25rem;
}

/* ---------- SERVICES ---------- */
.onepg-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.onepg-service-card {
  background: var(--onepg-card);
  border: 1px solid var(--onepg-border);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
.onepg-service-image {
  margin: -1.25rem -1.25rem 0.85rem;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  aspect-ratio: 16/10;
}
.onepg-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.onepg-service-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--onepg-text);
}
.onepg-service-description {
  font-size: 0.9rem;
  color: var(--onepg-muted);
  margin-bottom: 0.85rem;
  flex: 1;
}
.onepg-service-cta {
  color: var(--onepg-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

@media (max-width: 900px) { .onepg-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .onepg-services-grid { grid-template-columns: 1fr; } }

/* ---------- UPDATES ---------- */
.onepg-updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.onepg-update-card {
  background: var(--onepg-card);
  border: 1px solid var(--onepg-border);
  border-radius: 6px;
  padding: 1rem;
}
.onepg-update-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.onepg-update-date {
  font-size: 0.8rem;
  color: var(--onepg-muted);
  margin-bottom: 0.4rem;
}
.onepg-update-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.onepg-update-description { font-size: 0.9rem; color: var(--onepg-text); }

@media (max-width: 900px) { .onepg-updates-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .onepg-updates-grid { grid-template-columns: 1fr; } }

/* ---------- TESTIMONIALS ---------- */
.onepg-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.onepg-testimonial-card {
  background: var(--onepg-card);
  border: 1px solid var(--onepg-border);
  border-radius: 6px;
  padding: 1.25rem;
  text-align: center;
}
.onepg-testimonial-time {
  font-size: 0.8rem;
  color: var(--onepg-muted);
  margin-bottom: 0.5rem;
}
.onepg-testimonial-quote {
  font-style: italic;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.onepg-testimonial-customer {
  font-weight: 600;
  font-size: 0.9rem;
}
.onepg-testimonial-buttons {
  text-align: center;
  margin-top: 1.75rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.onepg-review-button {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  background: var(--onepg-primary);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.onepg-review-button-secondary {
  background: #fff;
  color: var(--onepg-primary);
  border: 1px solid var(--onepg-primary);
}

@media (max-width: 900px) { .onepg-testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .onepg-testimonials-grid { grid-template-columns: 1fr; } }

/* ---------- ABOUT ---------- */
.onepg-about-section {
  max-width: 880px;
  text-align: center;
  border: 1px solid var(--onepg-border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  background: var(--onepg-bg);
}
.onepg-about-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--onepg-text);
  margin-bottom: 1rem;
  text-align: center;
}
.onepg-about-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--onepg-text);
  text-align: left;
  margin: 0 auto;
  max-width: 720px;
}
.onepg-about-content p { margin-bottom: 1rem; }
.onepg-about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}
.onepg-about-feature {
  background: #fff;
  border: 1px solid var(--onepg-border);
  border-radius: 6px;
  padding: 1rem;
}
.onepg-about-feature h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.onepg-about-feature p { font-size: 0.9rem; color: var(--onepg-muted); }
@media (max-width: 700px) { .onepg-about-features { grid-template-columns: 1fr; } }

/* ---------- GALLERY ---------- */
.onepg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.onepg-gallery-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--onepg-border);
  padding: 0;
  margin: 0;
  background: none;
  cursor: zoom-in;
  display: block;
}
.onepg-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.onepg-gallery-item:hover img { transform: scale(1.04); }
.onepg-gallery-item:focus-visible {
  outline: 2px solid var(--onepg-primary);
  outline-offset: 2px;
}

@media (max-width: 900px) { .onepg-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .onepg-gallery-grid { grid-template-columns: 1fr; } }

/* ---------- LIGHTBOX ---------- */
.onepg-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 11000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.onepg-lightbox.open { display: flex; }
.onepg-lightbox-figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.onepg-lightbox-figure img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  background: #111;
}
.onepg-lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-align: center;
  max-width: 100%;
}
.onepg-lightbox-close,
.onepg-lightbox-prev,
.onepg-lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  transition: background .15s, transform .15s;
}
.onepg-lightbox-close:hover,
.onepg-lightbox-prev:hover,
.onepg-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
.onepg-lightbox-close { top: 1rem; right: 1rem; }
.onepg-lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.onepg-lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.onepg-lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.onepg-lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
@media (max-width: 600px) {
  .onepg-lightbox-prev { left: 0.4rem; }
  .onepg-lightbox-next { right: 0.4rem; }
}

/* ---------- SERVICE AREAS ---------- */
.onepg-areas-block {
  background: var(--onepg-card);
  border: 1px solid var(--onepg-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.onepg-areas-block-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--onepg-text);
}
.onepg-areas-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
}
.onepg-areas-zips {
  grid-template-columns: repeat(6, 1fr);
}
.onepg-areas-item {
  font-size: 0.9rem;
  color: var(--onepg-text);
  padding: 0.4rem 0;
  border-bottom: 1px dotted #f3f4f6;
}
.onepg-areas-zip {
  font-variant-numeric: tabular-nums;
  color: var(--onepg-muted);
}
@media (max-width: 900px) {
  .onepg-areas-list { grid-template-columns: repeat(3, 1fr); }
  .onepg-areas-zips { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 500px) {
  .onepg-areas-list { grid-template-columns: repeat(2, 1fr); }
  .onepg-areas-zips { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- FAQS ---------- */
.onepg-faqs-list {
  max-width: 820px;
  margin: 0 auto;
}
.onepg-faq-item {
  background: var(--onepg-card);
  border: 1px solid var(--onepg-border);
  border-radius: 6px;
  margin-bottom: 0.6rem;
  padding: 0;
}
.onepg-faq-question {
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  position: relative;
  user-select: none;
}
.onepg-faq-question::-webkit-details-marker { display: none; }
.onepg-faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 0.95rem;
  font-size: 1.25rem;
  color: var(--onepg-primary);
}
.onepg-faq-item[open] .onepg-faq-question::after { content: "−"; }
.onepg-faq-answer {
  padding: 0 1.1rem 1rem;
  color: var(--onepg-text);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- CONTACT FOOTER ---------- */
.onepg-contact-footer {
  background: var(--onepg-bg);
  border-top: 1px solid var(--onepg-border);
  margin-top: 3rem;
}
.onepg-map-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 0.5rem;
}
.onepg-map-container iframe {
  width: 100%;
  height: 360px;
  border: 1px solid var(--onepg-border);
  border-radius: 6px;
}
.onepg-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 1.75rem 1rem;
}
.onepg-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.onepg-footer-col h3 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  color: var(--onepg-text);
}
.onepg-footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 42px;
  padding: 0 1.2rem;
  background: var(--onepg-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.95rem;
  transition: opacity .15s, transform .15s;
  white-space: nowrap;
}
.onepg-footer-button:hover { opacity: 0.92; transform: translateY(-1px); }
.onepg-footer-button-secondary {
  background: #fff;
  color: var(--onepg-primary);
  border: 1px solid var(--onepg-primary);
}
.onepg-footer-info {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.6rem;
  font-size: 0.95rem;
  align-items: baseline;
}
.onepg-footer-info dt {
  color: var(--onepg-muted);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.onepg-footer-info dd {
  margin: 0;
  color: var(--onepg-text);
  word-break: break-word;
}
.onepg-footer-info a {
  color: var(--onepg-text);
  text-decoration: none;
}
.onepg-footer-info a:hover { color: var(--onepg-primary); }
.onepg-footer-address {
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}
.onepg-hours-list {
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
  width: 100%;
  max-width: 280px;
}
.onepg-hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  border-bottom: 1px dotted #f3f4f6;
}
.onepg-hours-day { color: var(--onepg-muted); }
.onepg-footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
.onepg-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--onepg-border);
  text-decoration: none;
  transition: transform .15s, border-color .15s;
}
.onepg-social-link:hover {
  transform: translateY(-1px);
  border-color: var(--onepg-primary);
}
.onepg-social-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
/* Unconfigured platforms: dim the icon a bit so the configured ones pop,
   but still legible/clickable (link points to the platform homepage). */
.onepg-social-link[data-onepg-configured="false"] {
  opacity: 0.45;
  background: #fafafa;
}
.onepg-social-link[data-onepg-configured="false"]:hover {
  opacity: 0.85;
  background: #fff;
}
.onepg-social-fallback {
  font-size: 0.7rem;
  color: var(--onepg-text);
  padding: 0 0.4rem;
}
.onepg-powered-by {
  text-align: center;
  padding: 0.75rem 1rem 1.25rem;
  font-size: 0.8rem;
  color: var(--onepg-muted);
}

@media (max-width: 750px) {
  .onepg-footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
    padding: 0.5rem 1.25rem 1.5rem;
  }
  /* Subtle dividers between stacked columns so each block reads as its own
     unit instead of one long undifferentiated list. */
  .onepg-footer-col {
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--onepg-border);
  }
  .onepg-footer-col:last-child { border-bottom: none; }
  .onepg-footer-col h3 { margin-bottom: 0.85rem; font-size: 1rem; }
  /* Stack the dl labels above their values on narrow screens — the
     two-column grid steals too much width when centered, leaving the
     phone/email values squished against the right edge. */
  .onepg-footer-info {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.15rem;
    margin-top: 0.5rem;
  }
  .onepg-footer-info dt {
    margin-top: 0.4rem;
    font-size: 0.75rem;
  }
  .onepg-footer-info dt:first-child { margin-top: 0; }
  .onepg-footer-info dd { font-size: 0.95rem; }
  .onepg-footer-address {
    font-size: 0.95rem;
    margin: 0.5rem 0 0;
  }
  .onepg-footer-socials { justify-content: center; margin-top: 1rem; }
  .onepg-hours-list { margin: 0 auto; max-width: 240px; }
  .onepg-hours-list li {
    justify-content: space-between;
    gap: 1rem;
    padding: 0.3rem 0.5rem;
    font-size: 0.92rem;
  }
  .onepg-map-container { padding: 1rem 0.75rem 0; }
  .onepg-map-container iframe { height: 240px; }
  .onepg-powered-by { padding: 1rem 1rem 1.25rem; }
}
