
/* Values measured from the live WordPress site (OceanWP + Beaver Builder + Smart Slider 3). */
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* Same declared fonts as the live site. "Open Sans" and "AlpengeistJF" are never loaded there,
   so browsers fall back to their default sans-serif / serif, exactly as here. */
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #0a0a0a; font: 400 14px/1.8 "Open Sans", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 20px; }
h2, h3, h4 { margin: 0 0 20px; color: #333; font-weight: 600; line-height: 1.4; }
h2, h4 { font-size: 20px; }
h3 { font-size: 18px; }
a { color: #333; }

/* Top bar with centered menu */
.top-bar { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid #f1f1f1; }
.top-bar ul { display: flex; justify-content: center; gap: 15px; margin: 0; padding: 20px 0; list-style: none; }
.top-bar a { display: block; color: #333; font-size: 12px; line-height: 22px; text-decoration: none; }
.top-bar a:hover { color: #13aff0; }

/* Smart Slider hero, rebuilt with the slider's own sizing rules (measured at 768-1366px):
   - text stays 50px / 30px; content area is the viewport minus 69px, capped at 1240px
   - logo column = a quarter of (content - 40px gap), minus 10px; text fills the rest
   - height = 30% of the viewport width, or the content + 40px top/bottom, whichever is taller */
body { container-type: inline-size; }
.hero { position: relative; z-index: 0; display: flex; align-items: center; overflow: hidden; min-height: 30cqw;
  margin: -10px 0 39px;
  padding: 40px calc((100% - min(100% - 69px, 1240px)) / 2 + 5px) 40px calc((100% - min(100% - 69px, 1240px)) / 2 - 5px); }
.page-location .hero { margin: -30px 0 19px; }
.page-contact .hero { margin: -50px 0 -1px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-logo { flex: none; width: calc((100% - 40px) / 4 - 10px); margin-right: 40px; animation: bounce-from-right .9s ease-out both; }
.hero-text { flex: 1; min-width: 0; text-align: center; }
.hero-title { font: 400 50px/75px "AlpengeistJF", serif; color: #ff9800; text-shadow: 2px 2px 0 #000; animation: bounce-from-left .9s .05s ease-out both; }
.hero-line { margin: 0; font: 400 30px/45px "Roboto", sans-serif; color: #fff200; text-shadow: 3px 3px 0 #000; }
.hero-line a { color: #fff200; text-decoration: none; }
.hero-line.l1 { animation: bounce-from-left .9s .1s ease-out both; }
.hero-line.l2 { animation: bounce-from-left .9s .2s ease-out both; }
@keyframes bounce-from-right { 0% { opacity: 0; transform: translateX(3000px); } 66% { opacity: 1; transform: translateX(-25px); } 83% { transform: translateX(10px); } 100% { transform: translateX(0); } }
@keyframes bounce-from-left { 0% { opacity: 0; transform: translateX(-3000px); } 66% { opacity: 1; transform: translateX(25px); } 83% { transform: translateX(-10px); } 100% { transform: translateX(0); } }

/* Fixed-width rows (1100px) */
.row { width: 1100px; max-width: 100%; margin: 0 auto; }

/* Scrolling marquee row (its clouds.png background is a 404 on the live site, so it shows white) */
.marquee-row { padding: 50px 50px 68px; margin-bottom: 10px; }
.marquee { overflow: hidden; white-space: nowrap; font-size: 36px; line-height: 64.8px; height: 65px; color: #02004b; }
.marquee span { display: inline-block; padding-left: 100%; animation: marquee 42s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

.areas { padding: 20px 20px 20px; margin-bottom: 1px; text-align: center; color: #cc0000; }
.areas p { margin: 0 0 20px; }

/* Three columns, dashed red bottom border */
.main-row { display: grid; grid-template-columns: 353px 354px 353px; align-items: start; padding: 0 20px 20px; border-bottom: 1px dashed #f00; }
.col1 h2 { margin: 20px 0 20px 20px; }
.col1 h4 { color: #d19900; }
.col1 ul { margin: 0 0 19px; padding: 0 0 0 20px; }
.col1 li + li { margin-top: 20px; }
.col2 { padding: 40px 11px 0 0; text-align: center; }
.col2 img { margin: 0 auto 20px; }
.col3 { padding: 0 0 0 10px; border-left: 1px dashed #f00; text-align: center; }
.col3 h4 { color: #d19900; }
.col3 h3 { margin-top: 20px; }
.col3 .big { font-size: 26px; line-height: 36.4px; }
.col3 .mid { font-size: 20px; line-height: 28px; }
.col3 .phone { color: #f00; }

/* Social icons + service area */
.social-row { display: grid; grid-template-columns: 116px 117px 20px 787px; padding: 20px 20px 20px 20px; height: 155px; }
.social-row a { display: block; margin: 20px auto 0; width: 75px; }
.social-row p { grid-column: 4; margin: 33px 0 0; text-align: center; color: #f00; font-weight: 700; }

/* Empty gray footer widget bar, as on the live site */
.footer { height: 60px; background: #dbdbdb; }

/* ---------- Interior pages ---------- */
.title-row { padding: 20px; }
.title-row h1 { margin: 0; color: #333; font-size: 50px; font-weight: 600; line-height: 70px; text-align: center; }
.map-row { padding: 40px 40px 61px; }
.map-row p { margin: 0; }
.map-row iframe { width: 100%; height: 450px; border: 0; vertical-align: baseline; }
.quote-box { min-height: 290px; margin-bottom: 18px; padding: 77px 20px 20px; border-radius: 10px; background: linear-gradient(#0093dd 0%, rgba(255, 255, 255, 0) 100%); text-align: center; }
.quote-box p { text-shadow: 2px 2px 5px #cee500; }
.quote-box .q1 { font-size: 24px; }
.quote-box .q2 { font-size: 30px; }

/* ---------- Tablets (768px to 1099px): rows go fluid, like the original Beaver Builder layout ---------- */
@media (min-width: 768px) and (max-width: 1099px) {
  .row { width: auto; }
  .main-row { grid-template-columns: repeat(3, 1fr); }
  .col1, .col2, .col3 { min-width: 0; }
  .col3 { overflow-wrap: anywhere; }
  .social-row { grid-template-columns: 11% 11% 0 1fr; height: auto; }
  .social-row a { width: 60%; max-width: 75px; }
  .social-row p { margin: 20px 0 20px; }
  .quote-box { margin-left: 0; margin-right: 0; }
}

/* ---------- Phones (theme breakpoint 767px) ---------- */
@media (max-width: 767px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; margin: 40px 0; padding: 40px 40px 40px 30px; }
  .page-location .hero { margin: 20px 0; }
  .page-contact .hero { margin: 0; }
  .hero-logo { width: 100%; margin: 0 0 40px; }

  .marquee-row { padding: 50px 0 68px; margin-bottom: 0; }
  .areas { margin-bottom: 0; padding-bottom: 19px; }
  .main-row { display: block; padding: 0 0 20px; }
  .col1 h2 { margin: 20px; }
  .col1 p { margin-bottom: 21px; }
  .col2 { padding: 41px 10px 0 0; }
  .col3 { padding: 0; }
  .social-row { display: block; height: auto; padding: 20px 0; }
  .social-row a { margin: 20px auto 0; }
  .social-row a + a { margin-top: 40px; }
  .social-row p { margin: 40px 20px 19px; }
  .footer { height: 150px; }

  .map-row { padding: 40px 20px 60px; }
  .quote-box { margin-bottom: 0; padding: 76px 0 20px; }
}

/* ---------- 404 page ---------- */
.not-found { padding: 20px 20px 60px; text-align: center; font-size: 18px; }
.not-found a { color: #333; }
