html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; padding: 0; background: #FFFFFF; color: #55677A; font-family: 'Source Sans 3', sans-serif; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: #1B9BC7; text-decoration: none; }
a:hover { color: #167DA3; }
input::placeholder, textarea::placeholder { color: #A3B1BE; }

@keyframes om-pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(0,0,0,0.40), 0 0 0 5px rgba(27,155,199,0.18); }
  50% { box-shadow: 0 10px 26px rgba(0,0,0,0.40), 0 0 0 9px rgba(27,155,199,0.10); }
}
@keyframes om-pulse-wa { 0%, 100% { box-shadow: 0 10px 24px rgba(0,0,0,0.30), 0 0 0 5px rgba(43,216,110,0.20), 0 0 0 1px rgba(255,255,255,0.15) inset; } 50% { box-shadow: 0 10px 24px rgba(0,0,0,0.30), 0 0 0 9px rgba(43,216,110,0.10), 0 0 0 1px rgba(255,255,255,0.15) inset; } }
@media (prefers-reduced-motion: reduce) { .mobile-call-fab { animation: none !important; } }

/* Header */
#site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(33,32,32,0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 16px 0; box-shadow: 0 1px 0 rgba(67,190,231,0.45), 0 8px 30px -6px rgba(67,190,231,0.35); transform: translateY(0); transition: padding .28s cubic-bezier(.4,0,.2,1), box-shadow .28s ease, transform .3s ease; }
#site-header.scrolled { padding: 10px 0; box-shadow: 0 6px 24px rgba(0,0,0,0.30), 0 1px 0 rgba(67,190,231,0.35); background: rgba(33,32,32,0.97); }
#site-header.hidden { transform: translateY(-100%); }
#site-header .logo-img { display: block; flex: none; height: 58px; width: auto; max-width: 100%; transition: height .28s cubic-bezier(.4,0,.2,1); }
#site-header.scrolled .logo-img { height: 46px; }
.header-inner { max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px,3vw,44px); display: flex; align-items: center; justify-content: space-between; gap: clamp(20px,3vw,40px); position: relative; }
.logo-wrap { display: flex; align-items: center; gap: 12px; flex: none; margin-left: clamp(0px,3vw,56px); }
.hamburger-btn { display: none; background: #2A2828; border: none; border-radius: 13px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; flex: none; position: relative; z-index: 1; }
.mobile-call-btn { display: none; background: #1B9BC7; border-radius: 13px; width: 46px; height: 46px; align-items: center; justify-content: center; flex: none; position: relative; z-index: 1; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(10px,1.4vw,24px); }
.desktop-nav a.nav-link { color: #CBCED0; font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: color .2s ease; }
.desktop-nav a.nav-link:hover { color: #5FD0F0; }
.desktop-nav a.nav-phone { color: #FFFFFF; font-weight: 800; font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; transition: color .2s ease; }
.desktop-nav a.nav-phone:hover { color: #5FD0F0; }
.btn-cta { background: #1B9BC7; color: #FFFFFF; transition: transform .2s ease, filter .2s ease; }
.btn-cta:hover { transform: translateY(-2px); filter: brightness(0.93); color: #FFFFFF; }
.nav-cta { padding: 12px 24px; border-radius: 8px; font-weight: 800; font-size: 15px; white-space: nowrap; margin-left: 6px; box-shadow: 0 6px 16px rgba(0,0,0,0.30); }

@media (max-width: 1039px) {
  .hamburger-btn { display: flex; }
  .mobile-call-btn { display: flex; }
  .desktop-nav { display: none; }
  .logo-wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); max-width: calc(100vw - 150px); gap: 9px; margin-left: 0; }
}
@media (min-width: 1040px) { .mobile-call-fab { display: none !important; } }
.hero-copy { order: 1; }
.hero-media { order: 2; }
@media (max-width: 1039px) {
  .hero-media { order: 1; }
  .hero-copy { order: 2; }
}

/* Mobile menu */
#mobile-menu { position: fixed; inset: 0; background: #181717; z-index: 70; display: none; flex-direction: column; padding: 16px 24px 28px; overflow: auto; }
#mobile-menu.open { display: flex; }
#mobile-menu nav a { color: #F2F2F2; font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 17px; padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,0.10); display: block; }
#mobile-menu nav a:last-child { border-bottom: none; }
.mobile-call-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1B9BC7; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,0,0,0.40), 0 0 0 5px rgba(27,155,199,0.18); animation: om-pulse 2.4s ease-in-out infinite; }

/* Trust bar */
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); text-align: left; }
.trust-item { display: grid; grid-template-columns: auto 1fr; column-gap: 15px; align-items: center; padding: clamp(24px,2.8vw,32px) clamp(18px,2.2vw,28px); position: relative; transition: transform .25s ease; }
.trust-item:hover { transform: translateY(-3px); }
.trust-item:not(:first-child)::before { content: ''; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: #E4EAEF; }
@media (max-width: 1039px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item:not(:first-child)::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
}

/* Cards */
.card-hover-lift { transition: transform .25s ease, box-shadow .25s ease; }
.card-hover-lift:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(0,0,0,0.14); }
.btn-outline-light { background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.28); color: #FFFFFF; transition: transform .2s ease, background .2s ease; }
.btn-outline-light:hover { transform: translateY(-2px); background: rgba(255,255,255,0.16); color: #FFFFFF; }
.contact-row:hover { transform: translateY(-2px); }
.contact-row { transition: transform .2s ease; }
.area-chip { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.area-chip:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.12); border-color: #C9D3DC; }

/* Before/after slider */
.ba-wrap { --ba-pos: 50%; position: relative; width: 100%; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; background: #E7ECF1; box-shadow: 0 26px 60px rgba(0,0,0,0.45); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--ba-pos); width: 3px; margin-left: -1.5px; background: #FFFFFF; box-shadow: 0 0 12px rgba(0,0,0,0.35); pointer-events: none; }
.ba-grip { position: absolute; top: 50%; left: var(--ba-pos); transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 8px 22px rgba(0,0,0,0.40); display: flex; align-items: center; justify-content: center; pointer-events: none; }

/* Tabs */
.tab-btn { padding: 10px 20px; border-radius: 8px; cursor: pointer; border: 1.5px solid #D6DEE6; background: #FFFFFF; color: #55677A; font-weight: 700; font-size: 15px; font-family: 'Source Sans 3', sans-serif; transition: all .25s ease; }
.tab-btn.active { border-color: #201F1F; background: #201F1F; color: #FFFFFF; }
.tab-photo-placeholder { width: 100%; height: 100%; background: #E7ECF1; border: 1.5px dashed #C9D3DC; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font-size: 14px; font-weight: 700; color: #8A9AAA; }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); }

/* FAQ */
.faq-q-btn { width: 100%; background: none; border: none; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; text-align: left; font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 17px; }
.faq-q-btn:hover { background: #F7F9FA; }
.faq-q-text { color: #1B1A1A; transition: color .2s ease; }
.faq-chev { transition: transform .3s ease; flex: none; color: #8A9AAA; }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.open .faq-q-text { color: #1B9BC7; }
.faq-item.open .faq-chev { transform: rotate(180deg); color: #1B9BC7; }
.faq-item.open .faq-body { grid-template-rows: 1fr; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; } }

footer a { position: relative; display: inline-block; width: fit-content; transition: color .2s ease, transform .2s ease; }
footer a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: #1B9BC7; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
footer a:hover, footer a:focus-visible { color: #FFFFFF; transform: translateX(3px); }
footer a:hover::after, footer a:focus-visible::after { transform: scaleX(1); }
footer .logo-link:hover, footer .logo-link:focus-visible { transform: none; opacity: .85; }
footer .logo-link::after { display: none; }
@media (prefers-reduced-motion: reduce) { footer a { transition: color .2s ease; } footer a:hover { transform: none; } }

/* Form */
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: #1B9BC7; box-shadow: 0 0 0 3px rgba(27,155,199,0.14); outline: none; }

/* Work gallery */
.work-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.work-tile { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; overflow: hidden; background: #2A2828; cursor: zoom-in; text-align: left; transition: transform .3s ease, border-color .3s ease; }
.work-tile:hover, .work-tile:focus-visible { transform: translateY(-4px); border-color: rgba(127,212,238,0.55); outline: none; }
.work-tile img { display: block; width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .55s ease; }
.work-tile:hover img { transform: scale(1.06); }
.work-cap { position: absolute; inset: auto 0 0 0; display: block; padding: 46px 16px 14px; background: linear-gradient(to top, rgba(10,10,10,0.92) 12%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0) 100%); pointer-events: none; }
.work-cap em { display: block; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: #7FD4EE; margin-bottom: 5px; }
.work-cap strong { display: block; font-family: 'Archivo', sans-serif; font-size: 15.5px; font-weight: 700; line-height: 1.3; color: #FFFFFF; text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { .work-tile, .work-tile img { transition: none !important; } .work-tile:hover { transform: none; } .work-tile:hover img { transform: none; } }

/* Lightbox */
#lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,8,8,0.94); display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px); }
#lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb-cap { font-family: 'Archivo', sans-serif; font-size: 16px; font-weight: 700; color: #FFFFFF; text-align: center; text-wrap: pretty; }
#lightbox button { position: absolute; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s ease; }
#lightbox button:hover { background: rgba(255,255,255,0.20); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-img { max-height: calc(100vh - 200px); }
}

/* Photo hover zoom (excludes the Our Work gallery) */
.photo-zoom { overflow: hidden; }
.photo-zoom img { transition: transform .6s cubic-bezier(.22,.61,.36,1), filter .4s ease; will-change: transform; }
.photo-zoom:hover img, .card-hover-lift:hover .photo-zoom img { transform: scale(1.07); filter: saturate(1.06); }
@media (prefers-reduced-motion: reduce) { .photo-zoom img { transition: none !important; } .photo-zoom:hover img, .card-hover-lift:hover .photo-zoom img { transform: none; filter: none; } }

/* Hero — hybrid mobile order: eyebrow/H1 → image → body → buttons → trust */
.rr-hero { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr; gap: clamp(26px, 4vw, 34px); }
.rr-img { position: relative; }
@media (min-width: 1040px) {
  .rr-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "head img" "body img"; column-gap: clamp(36px, 5vw, 64px); row-gap: 20px; align-items: center; }
  .rr-head { grid-area: head; align-self: end; }
  .rr-body { grid-area: body; align-self: start; }
  .rr-img { grid-area: img; align-self: center; }
}
.zw { overflow: hidden; }
.zw img { transition: transform .6s cubic-bezier(.22,.61,.36,1), filter .4s ease; will-change: transform; }
.zw:hover img { transform: scale(1.07); filter: saturate(1.06); }
@media (prefers-reduced-motion: reduce) { .zw img { transition: none !important; } .zw:hover img { transform: none; filter: none; } }

/* Urgency choice */
.urg-opt { position: relative; display: inline-flex; }
.urg-opt input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.urg-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1.5px solid #D6DEE6; border-radius: 8px; background: #FBFCFD; font-size: 14.5px; font-weight: 700; color: #455A6E; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.urg-opt:hover span { border-color: #B9C6D2; }
.urg-opt input:checked + span { border-color: #1B9BC7; background: #E9F6FB; color: #14708F; }
.urg-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(27,155,199,0.20); }

.work-count { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(13,13,13,0.80); color: #FFFFFF; font-size: 11.5px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; pointer-events: none; }
.lb-counter { display: block; font-family: 'Source Sans 3', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #7FD4EE; margin-bottom: 6px; }

/* Why-us rows */
.why-row { border-radius: 10px; transition: background .22s ease, transform .22s ease, box-shadow .22s ease; }
.why-row > span:first-child { transition: background .22s ease, transform .22s ease; }
.why-row:hover { background: #F7FAFC; transform: translateX(4px); box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.why-row:hover > span:first-child { background: #1B9BC7; transform: scale(1.05); }
.why-row:hover > span:first-child svg { stroke: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { .why-row, .why-row > span:first-child { transition: none !important; } .why-row:hover { transform: none; } .why-row:hover > span:first-child { transform: none; } }

/* Work gallery: 3 tiles on the first row, 4 on the second */
@media (min-width: 900px) {
  .work-gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .work-tile:nth-child(-n+3) { grid-column: span 4; }
  .work-tile:nth-child(n+4) { grid-column: span 3; }
}

/* Email address sizing */
.email-strong { display: block; font-size: 16.5px; line-height: 1.28; overflow-wrap: anywhere; }
@media (max-width: 560px) { .email-strong { font-size: 15px; } }
@media (max-width: 400px) { .email-strong { font-size: 14px; } }

/* Prime Local Sites credit: blue underline by default, white on hover */
.pls-credit::after { transform: scaleX(1); background: #FFFFFF; transition: background .25s ease; }
.pls-credit:hover::after, .pls-credit:focus-visible::after { transform: scaleX(1); background: #1B9BC7; }
