html{
  height:100%;
}

body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* Google Font */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Manrope', sans-serif;
  background:#0b1f3a;
  color:#fff;
  line-height:1.6;
}

/* Navigation */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(11,31,58,0.95);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:1rem 5%;
  min-height:72px;
}

.logo{
  font-size:1.3rem;
  font-weight:700;
  color:#f59e0b;
}

.nav-links{
  list-style:none;
  display:flex;
  gap:2rem;
}

.nav-links a.active{
  color:#f59e0b;
}

.nav-links a{
  text-decoration:none;
  color:#fff;
  font-weight:500;
  padding:6px 10px;
  border-radius:6px;
  transition:background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover{
  color:#f59e0b;
  background-color:rgba(245,158,11,0.08);
}

.nav-links a.active{
  color:#f59e0b;
}

.menu-toggle{
  display:none;
  font-size:1.8rem;
  cursor:pointer;
  color:#fff;
  -webkit-tap-highlight-color:transparent;
  -webkit-touch-callout:none;
  user-select:none;
  -webkit-user-select:none;
  outline:none;
}

.menu-toggle:focus,
.menu-toggle:active{
  outline:none;
  background:transparent;
}

/* Hero Section */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:0 5%;
  background:
    linear-gradient(rgba(11,31,58,0.75), rgba(11,31,58,0.75)),
    url('images/headerpic.jpg')
    center/cover no-repeat;
}

.hero-content{
  max-width:800px;
}

.hero h1{
  font-size:3rem;
  margin-bottom:1rem;
  line-height:1.2;
}

.hero p{
  font-size:1.1rem;
  margin-bottom:2rem;
  color:#d1d5db;
}

.hero-buttons{
  display:flex;
  gap:1rem;
  justify-content:center;
  flex-wrap:wrap;
}

/* Buttons */
.btn{
  display:inline-block;
  padding:0.9rem 1.8rem;
  border-radius:50px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.primary{
  background:#f59e0b;
  color:#0b1f3a;
}

.primary:hover{
  background:#ffb31a;
  transform:translateY(-2px);
}

.secondary{
  border:2px solid #fff;
  color:#fff;
}

.secondary:hover{
  background:#fff;
  color:#0b1f3a;
}

/* Sections */
section{
  padding:5rem 5%;
}

.section-title{
  text-align:center;
  margin-bottom:3rem;
}

.section-title h2{
  font-size:2.2rem;
  margin-bottom:0.5rem;
  color:#f59e0b;
}

.section-title p{
  color:#cbd5e1;
}

/* Services */
.services{
  background:#10294d;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:2rem;
}

.service-card{
  background:#132f57;
  padding:2rem;
  border-radius:16px;
  text-align:center;
  font-weight:600;
  transition:0.3s;
  border:1px solid rgba(255,255,255,0.08);
}

.service-card:hover{
  transform:translateY(-8px);
  background:#173a6a;
  border-color:#f59e0b;
}

/* About */
.about-content{
  max-width:1000px;
  margin:auto;
  text-align:center;
}

.about-content p{
  color:#d1d5db;
  margin-bottom:3rem;
}

.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:2rem;
}

.stat{
  background:#10294d;
  padding:2rem;
  border-radius:16px;
}

.stat h3{
  font-size:2rem;
  color:#f59e0b;
}

/* Quote Form */
.quote{
  background:#10294d;
}

.quote-container{
  max-width:700px;
  margin:auto;
  background:#132f57;
  padding:2.5rem;
  border-radius:20px;
}

.quote-container h2{
  text-align:center;
  margin-bottom:2rem;
  color:#f59e0b;
}

form{
  display:flex;
  flex-direction:column;
  gap:1rem;
}

input, select, textarea{
  width:100%;
  padding:1rem;
  border:none;
  border-radius:10px;
  background:#1e3a5f;
  color:#fff;
  font-size:1rem;
}

input::placeholder,
textarea::placeholder{
  color:#cbd5e1;
}

input:focus,
select:focus,
textarea:focus{
  outline:2px solid #f59e0b;
}

button{
  border:none;
  cursor:pointer;
}

#formMessage{
  margin-top:1rem;
  text-align:center;
  font-weight:600;
}

/* Contact */
.contact{
  text-align:center;
}

.contact-info{
  margin-bottom:2rem;
}

.contact-info p{
  margin:0.5rem 0;
  font-size:1.1rem;
}

.whatsapp-btn{
  display:inline-block;
  background:#25D366;
  color:#fff;
  padding:1rem 2rem;
  border-radius:50px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.whatsapp-btn:hover{
  transform:translateY(-3px);
}

/* Footer */
footer{
  background:#081427;
  text-align:center;
  padding:1.5rem;
  color:#94a3b8;

  /* Push footer to bottom */
  margin-top:auto;
}

.page-header{
  height:50vh;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  background:
    linear-gradient(rgba(11,31,58,0.75), rgba(11,31,58,0.75)),
    url('images/headerpic.jpg')
    center/cover no-repeat;

  /* remove the gap caused by the fixed header */
  padding-top:70px;
}

.page-header h1{
  font-size:3rem;
  color:#fff;
  font-weight:700;
}

/* Responsive */
@media (max-width:768px){

  .nav-links{
    position:absolute;
    top:70px;
    right:0;
    width:100%;
    background:#0b1f3a;
    flex-direction:column;
    text-align:center;
    padding:1rem 0;
    display:none;
  }

  .nav-links.active{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  .hero h1{
    font-size:2.2rem;
  }

  .hero p{
    font-size:1rem;
  }
}

/* Current page link */
.nav-links a.active{
  color:#f59e0b;
  background-color:rgba(245,158,11,0.08);
  pointer-events:none;   /* prevents reloading the same page */
  cursor:default;
}

/* Service card images */
.service-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:1rem;
}

.service-card h3{
  color:#f59e0b;
  margin-bottom:0.5rem;
}

.service-card p{
  color:#d1d5db;
  margin-bottom:1rem;
  font-size:0.95rem;
}

/* Professional service cards */
.service-card{
  position:relative;
  overflow:hidden;
  background:#132f57;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.08);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover{
  transform:translateY(-10px);
  box-shadow:0 15px 35px rgba(0,0,0,0.35);
  border-color:#f59e0b;
}

.service-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  transition:transform 0.5s ease;
}

.service-card:hover img{
  transform:scale(1.08);
}

.service-content{
  padding:1.5rem;
  text-align:left;
  position:relative;
  z-index:2;
  background:#132f57;
}

.service-content h3{
  color:#f59e0b;
  margin-bottom:0.7rem;
  font-size:1.3rem;
}

.service-content p{
  color:#d1d5db;
  margin-bottom:1.2rem;
  font-size:0.95rem;
}

/* Golden sweep effect */
.service-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(245,158,11,0.15),
    transparent
  );
  transform:translateX(-120%);
  transition:0.8s;
  z-index:1;
}

.service-card:hover::before{
  transform:translateX(120%);
}

/* =========================
   LOADER
========================= */
#loader{
  position:fixed;
  inset:0;
  background:#081427;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:10001;
  transition:opacity 0.1s ease, visibility 0.1s ease;
}

#loader.hidden{
  opacity:0;
  visibility:hidden;
}

.loader-box{
  text-align:center;
}

.loader-circle{
  width:70px;
  height:70px;
  border:6px solid rgba(255,255,255,0.15);
  border-top:6px solid #f59e0b;
  border-radius:50%;
  margin:0 auto 1rem;
  animation:spin 1s linear infinite;
}

@keyframes spin{
  to{ transform:rotate(360deg); }
}

.loader-box h2{
  color:#fff;
  letter-spacing:2px;
}

/* =========================
   HERO ANIMATION
========================= */
.hero{
  position:relative;
  overflow:hidden;
}

.hero h1{
  animation:slideUp 1s ease forwards;
  opacity:0;
}

.hero p{
  animation:slideUp 1s ease 0.3s forwards;
  opacity:0;
}

.hero-buttons{
  animation:slideUp 1s ease 0.6s forwards;
  opacity:0;
}

@keyframes slideUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* =========================
   FLOATING SHAPES
========================= */
.floating-shape{
  position:absolute;
  border-radius:50%;
  background:rgba(245,158,11,0.15);
  filter:blur(2px);
  animation:float 6s ease-in-out infinite;
}

.shape1{
  width:120px;
  height:120px;
  top:10%;
  left:5%;
}

.shape2{
  width:80px;
  height:80px;
  top:20%;
  right:10%;
  animation-delay:2s;
}

.shape3{
  width:150px;
  height:150px;
  bottom:10%;
  left:40%;
  animation-delay:4s;
}

@keyframes float{
  0%,100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-20px);
  }
}

/* =========================
   BUTTON EFFECT
========================= */
.btn{
  position:relative;
  overflow:hidden;
}

.btn::before{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transition:0.6s;
}

.btn{
  position:relative;
  overflow:hidden;
}

.btn::after{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  transition:0.6s;
}

.btn:hover::after{
  left:120%;
}

.btn:hover{
  transform:translateY(-3px) scale(1.03);
}

/* ===== SMOOTH SCROLL REVEAL ===== */
.reveal{
  opacity:0;
  transform:translateY(50px);
  transition:all 0.9s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* =========================
   CARD HOVER
========================= */
.service-card,
.stat{
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.stat:hover{
  transform:translateY(-10px) scale(1.02);
  box-shadow:0 15px 30px rgba(0,0,0,0.35);
}
header{
  animation:fadeDown 0.8s ease;
}

@keyframes fadeDown{
  from{
    opacity:0;
    transform:translateY(-30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* Scroll Reveal */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:all 0.8s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}
.hero{
  position:relative;
  overflow:hidden;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    rgba(245,158,11,0.08),
    transparent,
    rgba(245,158,11,0.08)
  );
  background-size:200% 200%;
  animation:gradientMove 8s ease infinite;
}

@keyframes gradientMove{
  0%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
  100%{ background-position:0% 50%; }
}

.logo{
  text-shadow:0 0 10px rgba(245,158,11,0.4);
  animation:logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow{
  0%,100%{ text-shadow:0 0 10px rgba(245,158,11,0.4); }
  50%{ text-shadow:0 0 20px rgba(245,158,11,0.9); }
}

.nav-links li{
  opacity:0;
  transform:translateY(-15px);
  animation:navFade 0.6s ease forwards;
}

.nav-links li:nth-child(1){ animation-delay:0.2s; }
.nav-links li:nth-child(2){ animation-delay:0.3s; }
.nav-links li:nth-child(3){ animation-delay:0.4s; }
.nav-links li:nth-child(4){ animation-delay:0.5s; }
.nav-links li:nth-child(5){ animation-delay:0.6s; }

@keyframes navFade{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.scroll-indicator{
  position:absolute;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
}

.scroll-indicator span{
  display:block;
  width:24px;
  height:40px;
  border:2px solid #fff;
  border-radius:20px;
  position:relative;
}

.scroll-indicator span::before{
  content:"";
  position:absolute;
  top:8px;
  left:50%;
  width:6px;
  height:6px;
  background:#fff;
  border-radius:50%;
  transform:translateX(-50%);
  animation:scrollBounce 1.5s infinite;
}

@keyframes scrollBounce{
  0%{ opacity:1; top:8px; }
  100%{ opacity:0; top:22px; }
}

.section-title h2{
  position:relative;
  display:inline-block;
}

.section-title h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:3px;
  background:#f59e0b;
  animation:underlineGrow 1s ease forwards;
}

@keyframes underlineGrow{
  to{ width:100%; }
}

.service-card,
.stat,
.quote-container{
  background:rgba(19,47,87,0.75);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.08);
}

footer{
  border-top:1px solid rgba(245,158,11,0.2);
  box-shadow:0 -5px 20px rgba(245,158,11,0.08);
}

body{
  cursor:url('https://cur.cursors-4u.net/cursors/cur-13/cur1148.cur'), auto;
}

/* ===== Service Card Animation ===== */
.service-card{
  position:relative;
  overflow:hidden;
}

.service-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(245,158,11,0.18),
    transparent
  );
  transform:translateX(-120%);
  transition:0.8s;
}

.service-card:hover::before{
  transform:translateX(120%);
}

.service-card:hover img{
  transform:scale(1.08);
}

.service-card img{
  transition:transform 0.5s ease;
}

.service-content{
  position:relative;
  z-index:1;
}

/* ===== Button Pulse ===== */
.primary{
  animation:pulse 3s infinite;
}

@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(245,158,11,0.45); }
  70%{ box-shadow:0 0 0 18px rgba(245,158,11,0); }
  100%{ box-shadow:0 0 0 0 rgba(245,158,11,0); }
}
/* ===== FIXED SERVICE CARDS ===== */

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:2rem;
}

.service-card{
  background:#132f57;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.08);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  display:flex;
  flex-direction:column;
}

.service-card:hover{
  transform:translateY(-8px);
  box-shadow:0 15px 35px rgba(0,0,0,0.35);
}

.service-image{
  width:100%;
  height:220px;
  overflow:hidden;
}

.service-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform 0.5s ease;
}

.service-card:hover .service-image img{
  transform:scale(1.05);
}

.service-content{
  padding:1.5rem;
  text-align:left;
  flex:1;
  display:flex;
  flex-direction:column;
}

.service-content h3{
  color:#f59e0b;
  margin-bottom:0.7rem;
  font-size:1.3rem;
}

.service-content p{
  color:#d1d5db;
  margin-bottom:1.2rem;
  flex:1;
  font-size:0.95rem;
}

.service-content .btn{
  align-self:flex-start;
}
/* ===== HERO PARTICLES ===== */
.hero{
  position:relative;
  overflow:hidden;
}

.hero-particles::before,
.hero-particles::after{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  border-radius:50%;
  background:rgba(245,158,11,0.12);
  filter:blur(10px);
  animation:floatParticle 8s ease-in-out infinite;
}

.hero-particles::before{
  top:10%;
  left:8%;
}

.hero-particles::after{
  bottom:10%;
  right:10%;
  animation-delay:4s;
}

@keyframes floatParticle{
  0%,100%{
    transform:translateY(0) translateX(0);
  }
  50%{
    transform:translateY(-25px) translateX(15px);
  }
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float{
  position:fixed;
  bottom:20px;
  right:20px;
  width:64px;
  height:64px;
  background:#25D366;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
  z-index:9999;
  animation:whatsappPulse 2s infinite;
  transition:transform 0.3s ease;
}

.whatsapp-float:hover{
  transform:scale(1.1);
}

.whatsapp-float img{
  width:34px;
  height:34px;
  filter:invert(1);
}

@keyframes whatsappPulse{
  0%{
    box-shadow:0 0 0 0 rgba(37,211,102,0.5);
  }
  70%{
    box-shadow:0 0 0 18px rgba(37,211,102,0);
  }
  100%{
    box-shadow:0 0 0 0 rgba(37,211,102,0);
  }
}


/* ===== HERO PARAGRAPH ANIMATION ===== */
.hero-paragraph{
  opacity:0;
  transform:translateY(20px);
  transition:all 1s ease;
}

.hero-paragraph.show{
  opacity:1;
  transform:translateY(0);
}

#typewriter::after{
  content:"|";
  animation:blink 0.8s infinite;
}

@keyframes blink{
  50%{ opacity:0; }
}

.hero-paragraph{
  opacity:0;
  transform:translateY(20px);
  transition:all 1s ease;
}

.hero-paragraph.show{
  opacity:1;
  transform:translateY(0);
}
/* ===== CLEAN TAP & FOCUS FEEDBACK =====
   Keeps the site's gold styling instead of the browser's blue/purple highlight.
*/
button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

#formMessage {
  min-height: 1.5em;
}

#formMessage.error {
  color: #fca5a5;
}

#formMessage.success {
  color: #86efac;
}


/* =========================
   CUSTOM HEADER UPGRADE
   Uses the client's supplied headerpic.jpg.
   Services page keeps its existing header unchanged.
========================= */
.hero.custom-hero{
  background:
    linear-gradient(120deg,rgba(5,16,31,.82),rgba(11,31,58,.58),rgba(245,158,11,.12)),
    url('images/headerpic.jpg') center/cover no-repeat;
}

.page-header.custom-page-header{
  background:
    linear-gradient(120deg,rgba(5,16,31,.84),rgba(11,31,58,.60),rgba(245,158,11,.12)),
    url('images/headerpic.jpg') center/cover no-repeat;
}

.affordable-badge{
  display:inline-block;
  margin-top:1.25rem;
  padding:.55rem 1rem;
  border:1px solid rgba(245,158,11,.45);
  border-radius:50px;
  background:rgba(5,16,31,.42);
  color:#fff;
  font-size:.82rem;
  font-weight:600;
  letter-spacing:.2px;
  backdrop-filter:blur(5px);
}

.affordable-note{
  margin-bottom:1.25rem;
  padding:.85rem 1rem;
  text-align:center;
  border:1px solid rgba(245,158,11,.25);
  border-radius:12px;
  background:rgba(245,158,11,.07);
  color:#f8fafc;
  font-size:.92rem;
  font-weight:500;
}

@media(max-width:768px){
  .affordable-badge{
    font-size:.74rem;
    line-height:1.5;
  }
}

/* Small affordability message added during the website upgrade. */
.affordable-header-note{
  margin:.75rem 0 0;
  color:#fff;
  font-size:.95rem;
  font-weight:500;
  letter-spacing:.2px;
}

.affordable-service-note{
  margin-top:.5rem;
  color:#f59e0b;
  font-weight:600;
}


/* Supplied Eric's Construction mark */
.navbar .logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}
.navbar .logo img {
  display: block;
  width: auto;
  height: 48px;
  max-width: min(34vw, 210px);
  object-fit: contain;
}
footer {
  position: relative;
  padding-bottom: 2rem;
}
.navbar .logo img {
  height: 58px;
  max-width: min(38vw, 240px);
}
.site-credit {
  position: absolute;
  right: 1rem;
  bottom: .45rem;
  margin: 0;
  font-size: .66rem;
  line-height: 1.3;
  color: #718096;
}
@media (max-width: 480px) {
  .navbar .logo img { height: 52px; }
  .site-credit { right: .65rem; font-size: .6rem; }
}
/* Subtle feedback while individual images are still arriving. */
img.media-loading {
  animation: image-loading-pulse 1s ease-in-out infinite alternate;
}
@keyframes image-loading-pulse {
  from { opacity: .58; }
  to { opacity: .86; }
}
@media (prefers-reduced-motion: reduce) {
  img.media-loading { animation: none; opacity: .75; }
}


/* =========================================================
   WARM WORKSHOP — shared site refresh
========================================================= */
:root {
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --linen: #ece4d7;
  --ink: #29383a;
  --muted: #68746f;
  --pine: #24473f;
  --pine-deep: #17332f;
  --copper: #bf7541;
  --honey: #dda45f;
  --line: #ded4c5;
  --warm-shadow: 0 18px 42px rgba(54, 49, 39, .11);
}
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  cursor: auto;
}
header {
  background: rgba(23, 51, 47, .97);
  border-bottom: 1px solid rgba(255, 253, 248, .12);
  box-shadow: 0 8px 28px rgba(17, 40, 36, .14);
}
.navbar { min-height: 78px; }
.nav-links { gap: clamp(.55rem, 1.35vw, 1.5rem); }
.nav-links a {
  color: #f6f1e7;
  border-radius: 999px;
  padding: .55rem .85rem;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: #f4c17f;
  background: rgba(244, 193, 127, .11);
}
.nav-links a:hover { transform: translateY(-1px); }
.menu-toggle { color: #fffdf8; }
.hero.custom-hero {
  background:
    linear-gradient(115deg, rgba(20, 43, 39, .82), rgba(25, 51, 48, .58) 58%, rgba(171, 99, 48, .24)),
    url('images/headerpic.jpg') center/cover no-repeat;
}
.page-header.custom-page-header {
  background:
    linear-gradient(115deg, rgba(20, 43, 39, .84), rgba(25, 51, 48, .60) 58%, rgba(171, 99, 48, .24)),
    url('images/headerpic.jpg') center/cover no-repeat;
}
.hero h1, .page-header h1 { color: #fffdf8; text-shadow: 0 3px 24px rgba(0,0,0,.25); }
.hero p { color: #f1e8da; }
.hero-overlay {
  background: radial-gradient(ellipse at 50% 70%, rgba(213, 151, 82, .12), transparent 60%);
  animation: none;
}
.hero-particles::before, .hero-particles::after { background: rgba(221, 164, 95, .14); }
section { scroll-margin-top: 76px; }
.services, .services-preview { background: var(--linen); }
.section-title { margin-bottom: 2.6rem; }
.section-title h2 { color: var(--pine); }
.section-title h2::after { background: var(--copper); }
.section-title p { color: var(--muted); }
.about-content p, .contact-info p, .service-content p { color: var(--muted); }
.services-grid { gap: 1.35rem; }
.service-card, .stat {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 8px 26px rgba(54, 49, 39, .06);
}
.service-card:hover, .stat:hover {
  background: var(--paper);
  border-color: rgba(191, 117, 65, .55);
  box-shadow: var(--warm-shadow);
}
.service-content { background: var(--paper); }
.service-content h3, .service-card h3, .stat h3 { color: var(--pine); }
.service-content p, .service-card p { color: var(--muted); }
.stat h3 { font-size: 2.2rem; }
.quote { background: var(--linen); }
.quote-container {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--warm-shadow);
}
.quote-container h2 { color: var(--pine); }
input, select, textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffefa;
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(54, 49, 39, .03);
}
input::placeholder, textarea::placeholder { color: #89918b; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--copper); border-color: transparent; }
.btn { border-radius: 999px; letter-spacing: .01em; }
.primary {
  background: var(--honey);
  color: #243432;
  box-shadow: 0 8px 20px rgba(191, 117, 65, .2);
  animation: none;
}
.primary:hover { background: #e8b779; }
.secondary { color: var(--pine); border: 1.5px solid var(--pine); }
.hero .secondary, .service-hero .secondary, .page-header .secondary {
  color: #fffdf8;
  border-color: rgba(255,253,248,.82);
}
.secondary:hover { background: var(--pine); color: #fffdf8; }
.hero .secondary:hover, .service-hero .secondary:hover { background: #fffdf8; color: var(--pine); }
.whatsapp-btn { box-shadow: 0 8px 20px rgba(31, 131, 82, .16); }
.affordable-badge {
  border-color: rgba(231, 177, 111, .65);
  background: rgba(23, 51, 47, .62);
  color: #fff7e9;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.affordable-note { background: #f5ecdc; border-color: var(--line); color: var(--ink); }
footer {
  background: var(--pine-deep);
  color: #e8e3d8;
  border-top: 1px solid rgba(221,164,95,.35);
  box-shadow: 0 -8px 28px rgba(17,40,36,.08);
}
.site-credit { color: #b8c2b8; }
#loader { background: var(--cream); }
.loader-circle { border-color: rgba(36,71,63,.16); border-top-color: var(--copper); }
.loader-box h2 { color: var(--pine); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}
#formMessage.error { color: #9d3e2f; }
#formMessage.success { color: #276b4b; }
@media (max-width: 768px) {
  header { background: rgba(23, 51, 47, .98); }
  .nav-links { background: var(--pine-deep); border-top: 1px solid rgba(255,253,248,.1); }
  .service-card:hover, .stat:hover { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* =========================================================
   LOGO-ALIGNED CREATIVE SYSTEM
   Charcoal, safety orange, tool yellow and a measured teal accent.
========================================================= */
:root {
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --linen: #ece5d8;
  --ink: #232a29;
  --muted: #626d69;
  --pine: #202928;
  --pine-deep: #151b1b;
  --copper: #f15a24;
  --honey: #ffd43b;
  --line: #ddd4c5;
  --warm-shadow: 0 18px 42px rgba(36,31,25,.12);
}
body, button, input, select, textarea { font-family: 'Manrope', sans-serif; }
h1, h2, h3, .section-title h2, .stat h3, .loader-box h2 {
  font-family: 'Sora', 'Arial', sans-serif;
  font-weight: 700;
  letter-spacing: -.015em;
}
header { background: rgba(21,27,27,.98); }
.nav-links a:hover, .nav-links a.active { color: var(--honey); background: rgba(241,90,36,.12); }
.menu-toggle { color: var(--honey); }
.hero.custom-hero {
  background:
    radial-gradient(ellipse at 82% 28%, rgba(0,183,190,.16), transparent 27%),
    linear-gradient(112deg, rgba(17,22,22,.88), rgba(29,35,34,.64) 56%, rgba(241,90,36,.30)),
    url('images/headerpic.jpg') center/cover no-repeat;
}
.page-header.custom-page-header {
  background:
    radial-gradient(ellipse at 82% 28%, rgba(0,183,190,.15), transparent 27%),
    linear-gradient(112deg, rgba(17,22,22,.88), rgba(29,35,34,.64) 56%, rgba(241,90,36,.30)),
    url('images/headerpic.jpg') center/cover no-repeat;
}
.hero-overlay {
  background: radial-gradient(ellipse at 50% 76%, rgba(255,212,59,.10), transparent 58%);
}
.hero-particles::before, .hero-particles::after { background: rgba(0,183,190,.11); }
.hero h1, .page-header h1 {
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.025em;
}
.page-header h1 { font-size: clamp(3rem, 6vw, 5.2rem); }
.section-title h2 {
  font-size: clamp(2.25rem, 4vw, 3.2rem);
  line-height: 1;
}
.section-title h2::after {
  width: 3.6rem;
  height: 4px;
  background: linear-gradient(90deg, var(--copper) 72%, var(--honey) 72%);
  animation: none;
}
.eyebrow, .section-kicker, .quick-label {
  color: #08777a;
  font-family: 'Manrope', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.hero .section-kicker, .service-hero .eyebrow { color: var(--honey); }
.navbar { min-height: 82px; }
.nav-links a { font-weight: 700; }
.service-card, .stat, .quote-container, .benefit-card, .process-step, .review-card, .faq-list details, .contact-card {
  border-radius: 14px;
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(36,31,25,.075);
}
.service-card { border-top: 3px solid var(--copper); }
.service-card:hover, .stat:hover { border-color: var(--copper); }
.stat { border-left: 3px solid #08777a; }
.service-content h3, .service-card h3, .stat h3, .quote-container h2 { color: var(--pine); }
.primary {
  background: var(--copper);
  color: #fffdf8;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(241,90,36,.2);
}
.primary:hover { background: var(--honey); color: #202524; }
.secondary { border-radius: 9px; }
.whatsapp-btn { border-radius: 9px; }
input, select, textarea { border-radius: 9px; }
.affordable-badge {
  border: 1px solid rgba(255,212,59,.78);
  background: rgba(21,27,27,.78);
  box-shadow: inset 4px 0 0 var(--copper), 0 8px 24px rgba(0,0,0,.18);
}
#loader { background: var(--pine-deep); }
.loader-box h2 { color: var(--honey); letter-spacing: .08em; }
.loader-circle { border-color: rgba(255,255,255,.18); border-top-color: var(--copper); }
footer { background: var(--pine-deep); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline-color: #08777a;
}
@media (max-width: 768px) {
  .nav-links { background: var(--pine-deep); }
  .hero h1 { font-size: clamp(3.2rem, 13vw, 4.8rem); }
  .page-header h1 { font-size: clamp(2.8rem, 11vw, 4rem); }
}


/* Display type and home-page polish */
h1, h2, h3, .section-title h2, .stat h3, .loader-box h2 {
  font-family: 'Sora', 'Arial', sans-serif;
  font-weight: 700;
  letter-spacing: -.035em;
}
.hero-content { max-width: 900px; }
.hero h1 { font-size: clamp(3rem, 6.2vw, 5.35rem); line-height: 1.04; text-wrap: balance; }
.hero p { max-width: 760px; margin-left: auto; margin-right: auto; }
.page-header h1 { font-size: clamp(2.8rem, 5.4vw, 4.6rem); }
.section-title h2 { font-size: clamp(2.05rem, 3.3vw, 2.8rem); line-height: 1.12; }
.scroll-indicator { display: none; }
.home-service-grid { gap: 1rem; }
.preview-service-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 112px;
  padding: 1.15rem 1.3rem;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  border-top: 2px solid var(--copper);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.preview-service-card:hover {
  transform: translateY(-5px);
  color: var(--ink);
  border-color: #08777a;
  box-shadow: 0 18px 35px rgba(36,31,25,.13);
}
.preview-service-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 12px 3px;
  background: #fff0bb;
  color: #202524;
  font: 700 1.8rem/1 'Sora', sans-serif;
}
.preview-service-card:nth-child(even) .preview-service-icon { background: #d8f0ed; color: #08777a; }
.preview-service-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .13rem; }
.preview-service-number { color: #08777a; font-size: .64rem; font-weight: 800; letter-spacing: .11em; }
.preview-service-copy strong { color: var(--pine); font: 700 1.3rem/1.2 'Sora', sans-serif; letter-spacing: -.035em; }
.preview-service-copy > span:last-child { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.preview-service-arrow { margin-left: auto; align-self: flex-start; color: var(--copper); font-size: 1.2rem; font-weight: 800; transition: transform .2s ease; }
.preview-service-card:hover .preview-service-arrow { transform: translate(3px,-3px); }
.preview-service-card:focus-visible { outline: 3px solid #08777a; outline-offset: 3px; }
@media (max-width: 768px) {
  .hero h1 { font-size: clamp(2.7rem, 9.5vw, 4.2rem); line-height: 1.06; }
  .section-title { margin-bottom: 2rem; }
  .preview-service-card { min-height: 100px; padding: 1rem; }
}
@media (max-width: 480px) {
  .preview-service-copy > span:last-child { font-size: .76rem; }
  .preview-service-icon { width: 44px; height: 44px; flex-basis: 44px; }
  .hero-buttons { gap: .7rem; }
  .hero-buttons .btn { padding: .85rem 1.2rem; }
}


/* Mobile polish: compact navigation, bigger tap targets and calmer spacing */
.menu-toggle {
  appearance: none;
  border: 1px solid rgba(255,212,59,.35);
  background: rgba(255,212,59,.08);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.55rem;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.menu-toggle:active { transform: scale(.96); background: rgba(255,212,59,.17); }
@media (max-width: 768px) {
  header { z-index: 1000; }
  .navbar { min-height: 70px; padding: .55rem 4.5%; }
  .navbar .logo img { height: 48px; max-width: min(58vw, 220px); }
  .menu-toggle { display: inline-flex; flex: 0 0 46px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
    margin: 0;
    padding: .5rem 1rem 1rem;
    background: rgba(21,27,27,.99);
    border-top: 1px solid rgba(255,212,59,.2);
    border-bottom: 1px solid rgba(255,212,59,.28);
    box-shadow: 0 18px 28px rgba(0,0,0,.25);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .nav-links.active {
    display: flex;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links li { opacity: 1; transform: none; animation: none; }
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: .65rem .9rem;
    border-radius: 10px;
    font-size: .98rem;
  }
  section { padding: 3.6rem 5%; }
  .hero {
    min-height: 100svh;
    padding: 104px 6% 56px;
  }
  .hero-content { width: 100%; }
  .hero h1 { max-width: 12ch; margin: 0 auto .85rem; font-size: clamp(2.35rem, 8.3vw, 3.5rem); line-height: 1.08; }
  .hero p { font-size: .98rem; line-height: 1.7; margin-bottom: 1.4rem; }
  .hero-buttons { width: 100%; gap: .65rem; }
  .hero-buttons .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1rem; }
  .affordable-badge { max-width: 100%; margin-top: 1rem; padding: .55rem .8rem; font-size: .72rem; line-height: 1.5; }
  .services-preview, .services { padding-top: 3.2rem; padding-bottom: 3.2rem; }
  .home-service-grid { grid-template-columns: 1fr; gap: .8rem; }
  .preview-service-card { min-height: 92px; border-radius: 12px; }
  .preview-service-icon { border-radius: 10px 10px 10px 3px; }
  .quote-container { padding: 1.4rem; border-radius: 18px; }
  input, select, textarea { min-height: 48px; font-size: 16px; }
  .whatsapp-float { width: 54px; height: 54px; right: 14px; bottom: 14px; animation: none; }
  .whatsapp-float img { width: 28px; height: 28px; }
  footer { padding: 1.25rem 1rem 2.5rem; }
  footer > p:first-child { font-size: .83rem; }
  .site-credit { right: .75rem; bottom: .45rem; font-size: .58rem; }
}
@media (max-width: 390px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
  .preview-service-copy > span:last-child { font-size: .72rem; }
  .preview-service-card { gap: .75rem; padding: .85rem; }
}


/* Signature animated menu mark */
.menu-toggle {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg, rgba(241,90,36,.18), rgba(0,183,190,.12));
  border-color: rgba(255,212,59,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 5px 16px rgba(0,0,0,.14);
}
.menu-toggle::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: -1;
  border: 1px solid rgba(0,183,190,.25);
  border-radius: 9px;
  pointer-events: none;
}
.menu-toggle::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00b7be;
  box-shadow: 0 0 8px rgba(0,183,190,.7);
  transition: transform .25s ease, background .25s ease;
}
.menu-glyph { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 23px; height: 20px; }
.menu-glyph > span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 3px;
  background: linear-gradient(90deg, #f15a24, #ffd43b);
  transform-origin: center;
  transition: transform .24s ease, opacity .18s ease, width .2s ease;
}
.menu-glyph > span:nth-child(2) { width: 15px; align-self: flex-end; }
.menu-toggle:hover .menu-glyph > span:nth-child(2) { width: 22px; }
.menu-toggle[aria-expanded="true"] .menu-glyph > span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-glyph > span:nth-child(2) { opacity: 0; transform: scaleX(.25); }
.menu-toggle[aria-expanded="true"] .menu-glyph > span:last-child { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle[aria-expanded="true"]::after { background: #ffd43b; transform: scale(1.25); }
@media (min-width: 769px) {
  .menu-toggle { display: none; }
}

/* Alternate hamburger concept: round construction badge */
.menu-toggle {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 2px solid #00b7be;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #34433f 0, #202a28 62%, #151b1b 100%);
  box-shadow: 0 0 0 3px rgba(0,183,190,.12), 0 5px 16px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.menu-toggle::before {
  inset: 4px;
  border: 1px dashed rgba(255,212,59,.46);
  border-radius: 50%;
  transition: transform .35s ease;
}
.menu-toggle::after {
  right: 3px;
  bottom: 5px;
  width: 8px;
  height: 8px;
  border: 2px solid #202a28;
  background: #f15a24;
  box-shadow: 0 0 0 2px #ffd43b, 0 0 10px rgba(241,90,36,.55);
}
.menu-glyph {
  width: 24px;
  height: 22px;
  gap: 5px;
  align-items: flex-start;
}
.menu-glyph > span {
  height: 3px;
  background: linear-gradient(90deg, #ffd43b, #f15a24);
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.menu-glyph > span:first-child { width: 19px; }
.menu-glyph > span:nth-child(2) { width: 13px; align-self: flex-start; }
.menu-glyph > span:last-child { width: 22px; }
.menu-toggle:hover { transform: rotate(-8deg); border-color: #ffd43b; box-shadow: 0 0 0 4px rgba(0,183,190,.17), 0 7px 18px rgba(0,0,0,.3); }
.menu-toggle:hover::before { transform: rotate(18deg); }
.menu-toggle:hover .menu-glyph > span:nth-child(2) { width: 19px; }
.menu-toggle[aria-expanded="true"] { transform: rotate(90deg); border-color: #f15a24; }
.menu-toggle[aria-expanded="true"]::before { transform: rotate(-45deg); }
.menu-toggle[aria-expanded="true"]::after { background: #00b7be; box-shadow: 0 0 0 2px #ffd43b, 0 0 10px rgba(0,183,190,.7); }
.menu-toggle[aria-expanded="true"] .menu-glyph > span:first-child { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-glyph > span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menu-toggle[aria-expanded="true"] .menu-glyph > span:last-child { transform: translateY(-8px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .menu-toggle, .menu-toggle::before, .menu-glyph > span { transition: none; }
}

.whatsapp-float svg{width:34px;height:34px;display:block}





/* Scaffold drawing + word-by-word heading assembly; homepage title keeps its typewriter. */
.page-header h1:not(#typewriter),.service-hero h1:not(#typewriter){position:relative;isolation:isolate;width:max-content;max-width:100%;margin-inline:auto;overflow:visible;clip-path:none}
.header-title-text{position:relative;display:block}
.header-title-word{display:inline-block;opacity:0;filter:blur(5px);transform:translate3d(0,26px,0) rotateX(-36deg) scale(.94);transform-origin:50% 100%;animation:titlePieceSet .62s cubic-bezier(.17,.75,.25,1.18) calc(.11s + var(--word-index)*.14s) forwards}
.page-header h1:not(#typewriter)::before,.service-hero h1:not(#typewriter)::before{content:"";position:absolute;z-index:-1;inset:-.3em -.52em;pointer-events:none;border:1px solid rgba(255,212,59,.62);background-color:rgba(0,183,190,.025);background-image:repeating-linear-gradient(90deg,rgba(0,183,190,.09) 0 1px,transparent 1px 22px),repeating-linear-gradient(0deg,rgba(0,183,190,.07) 0 1px,transparent 1px 18px),linear-gradient(#ffd43b,#ffd43b),linear-gradient(#ffd43b,#ffd43b),linear-gradient(#ffd43b,#ffd43b),linear-gradient(#ffd43b,#ffd43b),linear-gradient(#ffd43b,#ffd43b),linear-gradient(#ffd43b,#ffd43b),linear-gradient(#ffd43b,#ffd43b),linear-gradient(#ffd43b,#ffd43b);background-size:100% 100%,100% 100%,18px 2px,2px 14px,18px 2px,2px 14px,18px 2px,2px 14px,18px 2px,2px 14px;background-position:center,left top,left top,left top,right top,right top,left bottom,left bottom,right bottom,right bottom;background-repeat:no-repeat;clip-path:inset(0 100% 0 0);animation:scaffoldDraw .85s cubic-bezier(.2,.7,.2,1) .05s forwards}
.page-header h1:not(#typewriter)::after,.service-hero h1:not(#typewriter)::after,.hero h1#typewriter::after{content:"";position:absolute;z-index:4;top:-52px;right:-44px;width:50px;height:54px;background:url('images/header-worker.svg') center/contain no-repeat;pointer-events:none;animation:workerBuildPop 2.45s cubic-bezier(.2,.7,.2,1) .5s both}
.page-header .affordable-badge,.service-hero .eyebrow,.service-hero p,.service-hero .hero-buttons,.service-hero .affordable-badge{animation:headerSupportReveal .55s ease-out .72s both}
@keyframes titlePieceSet{to{opacity:1;filter:blur(0);transform:translate3d(0,0,0) rotateX(0) scale(1)}}
@keyframes scaffoldDraw{to{clip-path:inset(0 0 0 0)}}
@keyframes headerSupportReveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes workerBuildPop{0%{opacity:0;transform:translate(12px,10px) scale(.65)}18%{opacity:1;transform:translate(0,0) scale(1)}31%{transform:translateY(-5px) rotate(4deg)}39%{transform:translateY(0) rotate(-3deg)}48%{transform:translateY(-4px) rotate(3deg)}57%{transform:translateY(0) rotate(0)}100%{opacity:1;transform:translate(0,0) scale(1)}}
@media(max-width:600px){.page-header h1:not(#typewriter)::after,.service-hero h1:not(#typewriter)::after,.hero h1#typewriter::after{top:-45px;right:-29px;width:42px;height:46px}.page-header h1:not(#typewriter)::before,.service-hero h1:not(#typewriter)::before{inset:-.25em -.28em}}
@media(prefers-reduced-motion:reduce){.header-title-word{opacity:1;filter:none;transform:none;animation:none}.page-header h1:not(#typewriter)::before,.service-hero h1:not(#typewriter)::before{clip-path:none;animation:none}.page-header h1:not(#typewriter)::after,.service-hero h1:not(#typewriter)::after,.hero h1#typewriter::after{animation:none;opacity:1;transform:none}.page-header .affordable-badge,.service-hero .eyebrow,.service-hero p,.service-hero .hero-buttons,.service-hero .affordable-badge{animation:none}}


/* Cleaner title reveal: no surrounding rectangle; cartoon worker only on service pages. */
.page-header h1:not(#typewriter)::before,.service-hero h1:not(#typewriter)::before{inset:auto auto -.14em 50%;width:clamp(48px,3.4em,88px);height:4px;border:0;border-radius:4px;background:linear-gradient(90deg,#f15a24 0 34%,#ffd43b 34% 70%,#00b7be 70%);background-size:100% 100%;background-position:left center;background-repeat:no-repeat;box-shadow:none;clip-path:inset(0 100% 0 0);transform:translateX(-50%);animation:titleAccentDraw .6s cubic-bezier(.2,.7,.2,1) .55s forwards}
.page-header h1:not(#typewriter)::after,.hero h1#typewriter::after{content:none;background:none;animation:none}
.page-header.services-page h1:not(#typewriter)::after,.service-hero h1:not(#typewriter)::after{content:"";position:absolute;z-index:4;top:-52px;right:-44px;width:50px;height:54px;background:url('images/header-worker.svg') center/contain no-repeat;pointer-events:none;animation:workerBuildPop 2.45s cubic-bezier(.2,.7,.2,1) .5s both}
@keyframes titleAccentDraw{to{clip-path:inset(0 0 0 0)}}
@media(max-width:600px){.page-header.services-page h1:not(#typewriter)::after,.service-hero h1:not(#typewriter)::after{top:-44px;right:-28px;width:42px;height:46px}}
@media(prefers-reduced-motion:reduce){.page-header h1:not(#typewriter)::before,.service-hero h1:not(#typewriter)::before{clip-path:none;animation:none}.page-header.services-page h1:not(#typewriter)::after,.service-hero h1:not(#typewriter)::after{animation:none;opacity:1;transform:none}}


/* Keep page titles inside phone-sized viewports, including long quote headings. */
@media(max-width:600px){
  .page-header>div{width:100%;min-width:0;padding-inline:1rem;box-sizing:border-box}
  .page-header h1{width:100%;max-width:100%;margin-inline:auto;font-size:clamp(2rem,8vw,2.65rem);line-height:1.08;overflow-wrap:normal}
  .page-header .header-title-text{display:block;width:100%;max-width:100%;text-wrap:balance}
  .page-header .header-title-word{white-space:normal}
}


/* Branded loading screen */
.loader-box{display:flex;flex-direction:column;align-items:center;gap:.9rem;width:min(82vw,280px);text-align:center}
.loader-box .loader-logo{display:block;width:min(100%,230px);height:auto;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.18));animation:loaderLogoFloat 2.2s ease-in-out infinite}
.loader-box .loader-track{position:relative;display:block;width:112px;height:3px;overflow:hidden;border-radius:99px;background:rgba(255,253,248,.18)}
.loader-box .loader-track>span{position:absolute;inset:0 auto 0 -40%;width:40%;border-radius:inherit;background:linear-gradient(90deg,#f15a24,#ffd43b,#00b7be);animation:loaderTrackMove 1.15s ease-in-out infinite}
@keyframes loaderLogoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes loaderTrackMove{0%{transform:translateX(0)}100%{transform:translateX(350%)}}
@media(prefers-reduced-motion:reduce){.loader-box .loader-logo,.loader-box .loader-track>span{animation:none}.loader-box .loader-track>span{left:0;width:100%}}

/* Keep the cartoon worker active with a calm repeating hammer tap and bounce. */
.page-header.services-page h1:not(#typewriter)::after,.service-hero h1:not(#typewriter)::after{animation:workerBuildPop 2.45s cubic-bezier(.2,.7,.2,1) .5s both,workerIdleLoop 1.8s ease-in-out 3.05s infinite}
@keyframes workerIdleLoop{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-3px) rotate(1.5deg)}55%{transform:translateY(-3px) rotate(-1deg)}}
@media(prefers-reduced-motion:reduce){.page-header.services-page h1:not(#typewriter)::after,.service-hero h1:not(#typewriter)::after{animation:none}}

/* Keep page content visible behind the loader; only the logo and progress line overlay it. */
#loader{background:transparent}
