/* =========================================================
   THE HANDY HERO SERVICE — Design System
   Palette pulled from the brand mark: deep blue, hero red,
   tool amber, warm paper background.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root{
  --blue-deep:   #0C3A5E;
  --blue:        #1D6FA6;
  --blue-pale:   #DCEEF8;
  --blue-mist:   #F0F7FB;
  --red:         #B5291F;
  --red-dark:    #8F1F17;
  --amber:       #DE8F1E;
  --ink:         #172530;
  --steel:       #5B6B76;
  --steel-light: #8CA0AA;
  --paper:       #F8F6F1;
  --white:       #FFFFFF;
  --line:        #E1DCD1;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --container: 1160px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(12, 58, 94, 0.10);
}

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

html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  margin: 0 0 0.4em;
  color: var(--blue-deep);
  letter-spacing: 0.2px;
}

h1{ font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2{ font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3{ font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

p{ margin: 0 0 1em; color: var(--steel); max-width: 62ch; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section{ padding: 84px 0; }

:focus-visible{
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }

.btn-primary{
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover{ background: var(--red-dark); }

.btn-secondary{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-secondary:hover{ border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline{
  background: transparent;
  color: var(--blue-deep);
  border-color: var(--blue-deep);
}
.btn-outline:hover{ background: var(--blue-deep); color: var(--white); }

.btn-block{ width: 100%; }

/* ---------- Kicker / small labels (used sparingly, only for real groupings) ---------- */
.kicker{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--red);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img{
  height: 52px;
  width: auto;
}
.brand-word{
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.9;
  color: var(--blue-deep);
  font-size: 1.5rem;
}
.brand-word span{ color: var(--red); }
.brand-tag{
  font-size: 0.68rem;
  color: var(--steel);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 600;
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a{
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"]{
  color: var(--blue);
  border-bottom-color: var(--red);
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 14px;
}
.phone-link{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 0.95rem;
}
.phone-link small{
  font-weight: 500;
  color: var(--steel);
  font-size: 0.72rem;
}

.menu-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span{
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blue-deep);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 900px){
  .main-nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.open{ display: flex; }
  .main-nav a{ width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle{ display: block; }
  .header-actions .btn{ display: none; }
}

/* ---------- Hero ---------- */
.hero{
  background: var(--blue-deep);
  background-image:
    linear-gradient(100deg, rgba(29,111,166,0.9) 0%, rgba(12,58,94,0.97) 55%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 40px, transparent 40px, transparent 110px);
  color: var(--white);
  padding: 72px 0 0;
  overflow: hidden;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}
.hero-copy h1{
  color: var(--white);
  text-transform: uppercase;
}
.hero-copy h1 .accent{ color: var(--amber); }
.hero-copy p{
  color: var(--blue-pale);
  font-size: 1.15rem;
  max-width: 46ch;
}
.hero-ctas{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-art{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}
.hero-art img{
  max-height: 460px;
  width: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.35));
}

@media (max-width: 860px){
  .hero-inner{ grid-template-columns: 1fr; text-align: left; }
  .hero-art{ order: -1; max-height: 260px; overflow: hidden; }
  .hero-art img{ max-height: 260px; }
}

/* ---------- Trust strip ---------- */
.trust-strip{
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust-strip .container{
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
}
.trust-item{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--blue-deep);
  font-size: 0.95rem;
}
.trust-item .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ---------- Section header ---------- */
.section-head{
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Services grid (homepage teaser) ---------- */
.service-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card{
  background: var(--white);
  padding: 32px 28px;
  transition: background-color 0.15s ease;
}
.service-card:hover{ background: var(--blue-mist); }
.service-card .icon{
  width: 44px; height: 44px;
  margin-bottom: 18px;
  color: var(--red);
}
.service-card h3{ margin-bottom: 8px; font-size: 1.25rem; }
.service-card p{ font-size: 0.96rem; margin-bottom: 0; }

/* ---------- Category blocks (services page) ---------- */
.category-block{
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.category-block:last-child{ border-bottom: none; }
.category-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.category-head h2{ margin-bottom: 0; }
.task-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px 24px;
}
.task-list li{
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.task-list li::before{
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  flex-shrink: 0;
  transform: rotate(45deg);
}

/* ---------- Placeholder photo blocks ----------
   Deliberately styled DIFFERENT from real photography so nobody
   mistakes them for verified project photos. */
.photo-placeholder{
  background: repeating-linear-gradient(45deg, #EDEAE1, #EDEAE1 12px, #E4E0D3 12px, #E4E0D3 24px);
  border: 2px dashed var(--steel-light);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 30px 18px;
  min-height: 200px;
  color: var(--steel);
}
.photo-placeholder svg{ width: 34px; height: 34px; color: var(--steel-light); }
.photo-placeholder .label{
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 0.92rem;
}
.photo-placeholder .sub{
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--red);
  font-weight: 700;
}

/* ---------- Why choose (feature list) ---------- */
.why-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.why-item{ display: flex; gap: 16px; }
.why-item .num{
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue-pale);
  -webkit-text-stroke: 1.5px var(--blue);
  line-height: 1;
  flex-shrink: 0;
}
.why-item h3{ margin-bottom: 6px; font-size: 1.15rem; }
.why-item p{ font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Process steps (real sequence, numbered legitimately) ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  counter-reset: step;
}
.step{
  position: relative;
  padding-top: 46px;
}
.step-num{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  background: var(--red);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0; left: 0;
}
.step h3{ font-size: 1.1rem; margin-bottom: 6px; }
.step p{ font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Reviews ---------- */
.review-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.review-card{
  background: var(--white);
  border: 1px solid var(--blue-pale);
  border-radius: var(--radius);
  padding: 24px;
}
.review-stars{
  display: flex;
  gap: 3px;
  color: var(--amber);
  margin-bottom: 12px;
}
.review-stars svg{ width: 18px; height: 18px; }
.review-quote{
  font-size: 0.98rem;
  color: var(--blue-deep);
  margin-bottom: 10px;
}
.review-author{
  font-weight: 700;
  color: var(--steel);
  margin: 0;
}

/* ---------- Service area ---------- */
.area-panel{
  background: var(--blue-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.area-panel h2{ color: var(--white); }
.area-panel p{ color: var(--blue-pale); }
.area-note{
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.4);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 0.92rem;
  color: var(--blue-pale);
}
.area-note strong{ color: var(--amber); display:block; margin-bottom: 4px; }

@media (max-width: 760px){
  .area-panel{ grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ---------- Testimonial / verification notice ---------- */
.verify-note{
  border: 1px solid var(--line);
  background: var(--white);
  border-left: 4px solid var(--amber);
  padding: 22px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--steel);
}
.verify-note strong{ color: var(--blue-deep); }

/* ---------- Social strip ---------- */
.social-strip{
  background: var(--blue-mist);
  text-align: center;
}
.social-icons{
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 20px;
}
.social-icons a{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.social-icons a:hover{ background: var(--red); transform: translateY(-3px); }
.social-icons svg{ width: 20px; height: 20px; }

/* ---------- Final CTA band ---------- */
.cta-band{
  background: var(--red);
  color: var(--white);
  text-align: center;
}
.cta-band h2{ color: var(--white); }
.cta-band p{ color: rgba(255,255,255,0.9); margin-left: auto; margin-right: auto; }
.cta-band .btn-secondary{ border-color: rgba(255,255,255,0.7); }

/* ---------- Gallery ---------- */
.filter-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn{
  padding: 9px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--ink);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-btn:hover{ border-color: var(--blue); }
.filter-btn.active{ background: var(--blue-deep); color: var(--white); border-color: var(--blue-deep); }

.masonry{
  columns: 3 240px;
  column-gap: 18px;
}
.masonry-item{
  break-inside: avoid;
  margin-bottom: 18px;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  width: 100%;
  text-align: left;
}
.masonry-item .photo-placeholder{ min-height: 160px; }
.masonry-item figcaption{
  font-size: 0.82rem;
  color: var(--steel);
  padding: 8px 2px 0;
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(9, 26, 40, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.lightbox.open{ display: flex; }
.lightbox-box{
  background: var(--white);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  padding: 30px;
  position: relative;
  text-align: center;
}
.lightbox-close{
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--steel);
}

/* ---------- About page ---------- */
.about-hero{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px){ .about-hero{ grid-template-columns: 1fr; } }

.pillar-list{
  display: grid;
  gap: 20px;
}
.pillar{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pillar .icon{ width: 30px; height: 30px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.pillar h3{ font-size: 1.05rem; margin-bottom: 4px; }
.pillar p{ font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Quote form / Contact form ---------- */
.form-shell{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
@media (max-width: 600px){ .form-shell{ padding: 26px 20px; } }

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full{ grid-column: 1 / -1; }
@media (max-width: 620px){ .form-grid{ grid-template-columns: 1fr; } }

.field{ display: flex; flex-direction: column; gap: 6px; }
.field label{
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-deep);
}
.field .required{ color: var(--red); }
.field input,
.field select,
.field textarea{
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.field textarea{ resize: vertical; min-height: 120px; }
.field .error{
  font-size: 0.82rem;
  color: var(--red);
  display: none;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea{ border-color: var(--red); }
.field.invalid .error{ display: block; }

.form-note{
  background: var(--blue-mist);
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--steel);
  margin-bottom: 28px;
}
.form-note strong{ color: var(--blue-deep); }

.form-success{
  display: none;
  background: #E9F6EC;
  border-left: 4px solid #2E9A47;
  padding: 20px 22px;
  border-radius: var(--radius);
  color: #1E6E30;
  font-weight: 600;
}
.form-success.show{ display: block; }

/* ---------- Contact page ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }

.contact-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-row{
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child{ border-bottom: none; }
.contact-row .icon{ width: 24px; height: 24px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.contact-row h4{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 3px;
  color: var(--blue-deep);
}
.contact-row p{ margin: 0; font-size: 0.92rem; }
.placeholder-tag{
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--red);
  background: #FBEAE8;
  border-radius: 3px;
  padding: 2px 7px;
  margin-left: 6px;
}

.map-placeholder{
  background: var(--blue-mist);
  border: 2px dashed var(--steel-light);
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--steel);
  text-align: center;
  padding: 24px;
}
.map-placeholder svg{ width: 36px; height: 36px; color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--blue-deep);
  color: var(--blue-pale);
  padding: 64px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 780px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px){
  .footer-grid{ grid-template-columns: 1fr; }
}
.footer-brand{ display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img{ height: 44px; }
.footer-brand .brand-word{ color: var(--white); font-size: 1.3rem; }
.site-footer h4{
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.site-footer ul{ list-style: none; margin: 0; padding: 0; }
.site-footer li{ margin-bottom: 10px; }
.site-footer a{ color: var(--blue-pale); font-size: 0.92rem; }
.site-footer a:hover{ color: var(--white); text-decoration: underline; }
.footer-social{ display: flex; gap: 12px; margin-top: 6px; }
.footer-social a{
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover{ background: var(--red); }
.footer-social svg{ width: 16px; height: 16px; }
.footer-bottom{
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--steel-light);
}

/* ---------- Utility ---------- */
.text-center{ text-align: center; }
.mt-0{ margin-top: 0; }
.stack-gap{ display: grid; gap: 18px; }

.page-hero{
  background: var(--blue-deep);
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 40px, transparent 40px, transparent 110px);
  color: var(--white);
  padding: 60px 0;
  text-align: left;
}
.page-hero h1{ color: var(--white); }
.page-hero p{ color: var(--blue-pale); font-size: 1.1rem; }
.breadcrumb{
  font-size: 0.85rem;
  color: var(--blue-pale);
  margin-bottom: 14px;
}
.breadcrumb a{ color: var(--amber); }

.checklist-banner{
  background: #FFF7E6;
  border: 1px solid #F1CE7E;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.9rem;
  color: #6B5215;
  margin-bottom: 8px;
}
.checklist-banner strong{ color: #4A3A10; }
