:root {
  --blue: #0B7FE0;
  --blue-bright: #2E9BFF;
  --blue-deep: #054A96;
  --white: #FFFFFF;
  --offwhite: #F4F8FC;
  --gold: #FFC935;
  --gold-deep: #E8A400;
  --text: #1A2B3C;
  --muted: #5B6B7C;
  --line: #E1EAF4;
  --max: 1180px;
  --heading: "Fredoka", "Segoe UI", sans-serif;
  --display: "Anton", "Archivo Black", "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { font-family: var(--heading); font-weight: 600; color: var(--blue-deep); }

.btn {
  display: inline-block; font-family: var(--heading); font-weight: 600;
  font-size: 0.98rem; padding: 14px 32px; border-radius: 10px;
  transition: all 0.2s ease; cursor: pointer; border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: #4A3200; }
.btn-gold:hover { background: var(--gold-deep); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.14); }
.btn-navy { background: var(--blue-deep); color: var(--white); }
.btn-navy:hover { background: #033A78; }

/* ---- Header ---- */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; flex-wrap: wrap; row-gap: 10px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-weight: 700; color: var(--gold); font-size: 1.2rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text .name {
  font-family: var(--heading); font-weight: 700; font-size: 1.15rem; color: var(--blue-deep);
  -webkit-text-stroke: 0.5px var(--blue-deep);
}
.brand-text .tag { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-deep); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.nlink { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.nav-links a.nlink:hover { color: var(--blue); }
.nav-phone {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--heading); font-weight: 700; color: var(--blue-deep); font-size: 1rem;
}
.nav-phone svg { color: var(--gold-deep); }
@media (max-width: 900px) {
  .nav { height: auto; padding: 16px 0; }
  .nav-links { flex-basis: 100%; justify-content: center; flex-wrap: wrap; gap: 16px 22px; }
}

/* ---- Hero ---- */
.hero {
  background:
    linear-gradient(155deg, rgba(46,155,255,0.86) 0%, rgba(11,127,224,0.88) 45%, rgba(5,74,150,0.93) 100%),
    url("https://images.unsplash.com/photo-1421940943431-d392fcc1079f?auto=format&fit=crop&w=1800&h=1300&q=75") center/cover;
  padding: 64px 0 0; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 90% 10%, rgba(255,201,53,0.22) 0%, rgba(255,201,53,0) 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70'%3E%3Ccircle cx='12' cy='14' r='3' fill='white' opacity='.5'/%3E%3Ccircle cx='34' cy='36' r='2' fill='white' opacity='.35'/%3E%3Ccircle cx='54' cy='18' r='4' fill='white' opacity='.4'/%3E%3Ccircle cx='58' cy='54' r='2.5' fill='white' opacity='.3'/%3E%3Ccircle cx='18' cy='56' r='1.8' fill='white' opacity='.3'/%3E%3Ccircle cx='45' cy='60' r='1.5' fill='white' opacity='.25'/%3E%3C/svg%3E");
  background-size: 70px 70px;
}

/* ---- Floating bubbles ---- */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bubble {
  position: absolute; bottom: -80px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.98) 8%, rgba(255,255,255,0) 13%),
    radial-gradient(circle at 36% 32%, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 42%),
    radial-gradient(circle at 68% 72%, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 46%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 65%, rgba(255,255,255,0.35) 100%);
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: inset 0 0 8px rgba(255,255,255,0.32), 0 2px 6px rgba(0,0,0,0.1);
  animation: bubble-float linear infinite;
}
@keyframes bubble-float {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 0.85; }
  100% { transform: translateY(-620px) translateX(var(--drift, 24px)); opacity: 0; }
}

.hero-grid {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center; padding-bottom: 64px;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }

.hero-copy .eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--gold); margin-bottom: 20px;
}
.hero-copy h1 {
  font-family: var(--display); text-transform: uppercase; font-weight: 400;
  color: var(--white); font-size: 3.4rem; line-height: 1.08; letter-spacing: 0.01em;
  -webkit-text-stroke: 2px var(--blue-deep);
  text-shadow: 0 0 22px rgba(46,155,255,0.65), 0 4px 14px rgba(3,25,53,0.45);
}
@media (max-width: 600px) { .hero-copy h1 { font-size: 2.5rem; -webkit-text-stroke: 1.5px var(--blue-deep); } }
.hero-copy p.lead {
  color: rgba(255,255,255,0.92); font-size: 1.12rem; max-width: 52ch;
  margin: 22px 0 0; font-weight: 400;
}
@media (max-width: 940px) { .hero-copy p.lead { margin: 22px auto 0; } }
.hero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 940px) { .hero-cta { justify-content: center; } }
.hero-trust {
  margin-top: 36px; display: flex; gap: 24px; flex-wrap: wrap;
  color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 600;
}
@media (max-width: 940px) { .hero-trust { justify-content: center; } }
.hero-trust span { display: flex; align-items: center; gap: 8px; }

/* ---- Floating decorative graphics ---- */
.motion-lines { position: absolute; top: -10px; right: -10px; width: 130px; height: 130px; z-index: 1; opacity: 0.5; }
@media (max-width: 940px) { .motion-lines { display: none; } }

/* ---- Quick estimate card (embedded in hero) ---- */
.quick-card {
  background: var(--blue-deep); border-radius: 18px; padding: 32px;
  box-shadow: 0 24px 50px rgba(3,25,53,0.35); border: 1px solid rgba(255,255,255,0.12);
}
.quick-card h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--white); font-size: 1.6rem; }
.quick-card > p { color: rgba(255,255,255,0.78); font-size: 0.92rem; margin-top: 8px; }
.quick-form { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.quick-form select,
.quick-form input,
.quick-form textarea {
  width: 100%; font-family: var(--sans); font-size: 0.94rem; color: var(--text);
  background: var(--white); border: none; border-radius: 10px;
  padding: 13px 14px;
}
.quick-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%235B6B7C' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.quick-form .form-row { display: flex; gap: 12px; }
.quick-form .form-row > * { flex: 1; min-width: 0; }
.quick-form textarea { resize: vertical; }
.quick-form input:focus, .quick-form select:focus, .quick-form textarea:focus { outline: 2px solid var(--gold); }
.quick-form button { width: 100%; margin-top: 4px; }
@media (max-width: 600px) { .quick-form .form-row { flex-direction: column; } }

/* ---- Splash divider (PNG tile, transparent bg, fill matches the section that follows) ---- */
.hero-wave {
  height: 60px;
  background-image: url("images/splash-divider.png");
  background-repeat: repeat-x; background-size: 120px 60px;
}

/* ---- Quick services glance strip ---- */
.quick-services { background: var(--blue-deep); padding: 30px 0; }
.qs-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px 12px; }
.qs-item {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: var(--white); font-size: 0.8rem; font-weight: 600; text-align: center;
  flex: 1 1 110px; transition: transform 0.2s ease;
}
.qs-item:hover { transform: translateY(-3px); }
.qs-icon {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.qs-item.qs-more { color: var(--gold); }
.qs-item.qs-more .qs-icon { background: var(--gold); color: var(--blue-deep); }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--stagger, 0ms);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Sections ---- */
section { padding: 84px 0; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--gold-deep);
}
.section-head { text-align: center; max-width: 62ch; margin: 0 auto 52px; }
.section-head .eyebrow { display: block; margin-bottom: 12px; }
.section-head h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2.3rem; letter-spacing: 0.01em; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

.alt-bg { background: linear-gradient(155deg, #E7F3FF 0%, #FFF6E1 100%); }

/* ---- Color-glow accents behind white sections ---- */
#services, #gallery { position: relative; overflow: hidden; }
#services::before, #gallery::before,
#services::after, #gallery::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
#services::before {
  top: -140px; right: -120px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(11,127,224,0.14) 0%, rgba(11,127,224,0) 70%);
}
#services::after {
  bottom: -160px; left: -140px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,201,53,0.16) 0%, rgba(255,201,53,0) 70%);
}
#gallery::before {
  top: -120px; left: -100px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,201,53,0.14) 0%, rgba(255,201,53,0) 70%);
}
#gallery::after {
  bottom: -140px; right: -120px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(11,127,224,0.14) 0%, rgba(11,127,224,0) 70%);
}
#services > .wrap, #gallery > .wrap { position: relative; z-index: 1; }

/* ---- Light bubbles (for light-background sections) ---- */
.bubbles-light { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bubble-light {
  background:
    radial-gradient(circle at 30% 24%, rgba(11,127,224,0.85) 0%, rgba(11,127,224,0.85) 8%, rgba(11,127,224,0) 13%),
    radial-gradient(circle at 36% 32%, rgba(11,127,224,0.3) 0%, rgba(11,127,224,0) 42%),
    radial-gradient(circle at 68% 72%, rgba(255,201,53,0.4) 0%, rgba(255,201,53,0) 46%),
    radial-gradient(circle at 50% 50%, rgba(11,127,224,0.05) 0%, rgba(11,127,224,0.02) 65%, rgba(11,127,224,0.18) 100%);
  border: 1px solid rgba(11,127,224,0.2);
  box-shadow: inset 0 0 8px rgba(255,255,255,0.6), 0 2px 6px rgba(11,127,224,0.1);
}

/* ---- Service category filter pills ---- */
.service-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-pill {
  font-family: var(--heading); font-weight: 600; font-size: 0.88rem; cursor: pointer;
  padding: 10px 20px; border-radius: 999px; border: 2px solid var(--line);
  background: var(--white); color: var(--blue-deep); transition: all 0.2s ease;
}
.filter-pill:hover { border-color: var(--blue-bright); }
.filter-pill.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ---- Services ---- */
.service-group { margin-bottom: 44px; transition: opacity 0.25s ease, transform 0.25s ease; }
.service-group:last-child { margin-bottom: 0; }
.service-group.is-hidden { display: none; }
.service-group h3 {
  font-size: 1.2rem; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 3px solid var(--gold);
  display: inline-block;
}
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }
.service-item {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  font-size: 0.94rem; font-weight: 500; cursor: default;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-item:hover {
  transform: translateY(-4px); border-color: var(--blue-bright);
  box-shadow: 0 12px 26px rgba(11,127,224,0.16);
}
.service-item svg { flex-shrink: 0; color: var(--blue); transition: transform 0.2s ease; }
.service-item:hover svg { transform: scale(1.15); }

/* ---- Why choose us ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { text-align: center; padding: 8px; }
.why-icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(140deg, var(--blue-bright), var(--blue-deep));
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--gold);
  transition: transform 0.3s ease;
}
.why-card:hover .why-icon { transform: scale(1.1) rotate(-6deg); }
.why-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 0.96rem; }

/* ---- Interactive before/after slider ---- */
.ba-slider { max-width: 760px; margin: 0 auto 40px; }
.ba-frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  box-shadow: 0 22px 46px rgba(11,127,224,0.2); cursor: ew-resize; touch-action: pan-y;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-label {
  position: absolute; top: 16px; font-family: var(--heading); font-weight: 700; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--white);
  background: rgba(5,74,150,0.75); padding: 6px 14px; border-radius: 999px; pointer-events: none;
}
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--white);
  transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 0 1px rgba(5,74,150,0.15);
}
.ba-handle-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,0.28);
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 100%; }
.ba-range::-moz-range-thumb { width: 46px; height: 100%; border: none; background: transparent; }

/* ---- Gallery (stock placeholder photos — swap for real work photos) ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-slot {
  aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; position: relative;
  background: var(--offwhite);
}
.gallery-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-slot .sample-tag {
  position: absolute; top: 12px; left: 12px; background: rgba(5,74,150,0.82); color: var(--white);
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 5px 10px; border-radius: 6px;
}

/* ---- Full quote form (further down page) ---- */
.quote-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .quote-wrap { grid-template-columns: 1fr; } }
.quote-info h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2.2rem; }
.quote-info p { color: var(--muted); margin-top: 16px; font-size: 1.02rem; }
.quote-contact { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.quote-contact .row { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.quote-contact .row svg { color: var(--blue); flex-shrink: 0; }

.quote-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 36px; box-shadow: 0 20px 44px rgba(11,127,224,0.14);
}
.form-row { display: flex; gap: 14px; }
.form-row > * { flex: 1; }
.quote-form label {
  display: block; font-size: 0.8rem; font-weight: 600; color: var(--blue-deep);
  margin-bottom: 6px; margin-top: 16px;
}
.quote-form label:first-child { margin-top: 0; }
.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form input[type="email"],
.quote-form textarea {
  width: 100%; font-family: var(--sans); font-size: 0.96rem; color: var(--text);
  background: var(--offwhite); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px;
}
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--blue); }
.quote-form textarea { resize: vertical; }
.checkbox-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; margin-top: 4px;
}
@media (max-width: 500px) { .checkbox-grid { grid-template-columns: 1fr; } }
.quote-form label.checkbox-item,
.quote-form label.radio-item {
  display: flex; align-items: center; gap: 8px; font-size: 0.88rem;
  font-weight: 400; text-transform: none; letter-spacing: normal;
  color: var(--text); margin-top: 0;
}
.checkbox-item input { width: auto; }
.radio-row { display: flex; gap: 20px; margin-top: 6px; flex-wrap: wrap; }
.radio-item input { width: auto; }
.quote-form button { width: 100%; margin-top: 24px; font-size: 1.02rem; }

/* ---- Wave divider into the footer ---- */
#quote { padding-bottom: 0; }
.section-wave-footer {
  height: 60px; margin-top: 84px;
  background-image: url("images/splash-divider.png");
  background-repeat: repeat-x; background-size: 120px 60px;
}

/* ---- Footer ---- */
footer.site { background: var(--blue-deep); color: rgba(255,255,255,0.85); padding: 56px 0 28px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 36px; position: relative; z-index: 1; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .footer-heading { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 4px; }
.footer-col a, .footer-col span.line { font-size: 0.86rem; color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: var(--white); }
.footer-brand .name { font-family: var(--heading); font-weight: 700; font-size: 1.25rem; color: var(--white); }
.footer-brand p { font-size: 0.86rem; color: rgba(255,255,255,0.68); max-width: 34ch; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18); padding-top: 22px; position: relative; z-index: 1;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.76rem; color: rgba(255,255,255,0.62);
}
