/* ===================================================================
   TRUSTY HANDS — design system built around the real brand mark:
   the house-roofline + wrench logo. Palette pulled directly from it
   (#005D84 teal, black, white). Clean, professional, home-services.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --teal: #005D84;
  --teal-deep: #003F5C;
  --teal-soft: #E7F1F5;
  --teal-tint: #F3F8FA;
  --ink: #171A1C;
  --ink-soft: #545B61;
  --paper: #FFFFFF;
  --line: #E2E8ED;
  --gold: #E0A526;

  --display: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, sans-serif;

  --max: 1140px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1,h2,h3{ font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1{ font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 800; }
h2{ font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3{ font-size: 1.15rem; }
p{ margin: 0 0 1em; color: var(--ink-soft); }
.lede{ font-size: 1.12rem; max-width: 60ch; }

.eyebrow{
  font-family: var(--body);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.5em;
  font-family: var(--body); font-weight:600; font-size: .98rem;
  padding: .85em 1.6em;
  border-radius: 6px;
  text-decoration:none;
  border: 1.5px solid transparent;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--gold); color: var(--ink); box-shadow: 0 6px 16px rgba(224,165,38,.35); font-weight:700; }
.btn-primary:hover{ background: #C68E1D; }
.btn-ghost{ background: transparent; border-color: rgba(255,255,255,.55); color: var(--paper); }
.btn-ghost:hover{ border-color: var(--paper); background: rgba(255,255,255,.08); }
.btn-outline{ background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover{ background: var(--teal); color: var(--paper); }

/* ---------- nav ---------- */
header.site{
  position: sticky; top:0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 24px;
  max-width: var(--max); margin:0 auto;
  gap: 20px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; flex:none; }
.brand img{ height: 52px; width:auto; }
.brand-text{ display:flex; flex-direction:column; }
.brand-name{
  font-family: var(--display); font-weight:800; color: var(--ink);
  font-size: 1.15rem; letter-spacing:-.01em; line-height:1;
}
.brand-tag{
  font-family: var(--body); font-size:.68rem; letter-spacing:.06em;
  text-transform: uppercase; color: var(--teal); font-weight:600; margin-top:3px;
}
.nav-links{ display:flex; align-items:center; gap: 28px; list-style:none; margin:0; padding:0; }
.nav-links a{
  text-decoration:none; color: var(--ink);
  font-size:.94rem; font-weight:600;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active{ color: var(--teal); border-bottom-color: var(--teal); }
.nav-call{
  font-family: var(--body); font-weight:700; font-size:.9rem;
  color: var(--ink); background: var(--gold);
  padding:.6em 1.1em; border-radius:6px; text-decoration:none; white-space:nowrap;
}
.nav-call:hover{ background: #C68E1D; }
.nav-toggle{ display:none; background:none; border:none; color:var(--ink); font-size:1.5rem; cursor:pointer; }

/* dropdown */
.nav-dropdown{ position:relative; }
.nav-dropdown-toggle{
  display:flex; align-items:center; gap:5px; cursor:pointer;
  background:none; border:none; font-family:var(--body); font-size:.94rem; font-weight:600;
  color: var(--ink); padding: 6px 2px; border-bottom:2px solid transparent;
}
.nav-dropdown-toggle svg{ width:14px; height:14px; transition: transform .15s ease; }
.nav-dropdown:hover .nav-dropdown-toggle, .nav-dropdown.open .nav-dropdown-toggle{ color: var(--teal); }
.nav-dropdown.open .nav-dropdown-toggle svg{ transform: rotate(180deg); }
.nav-dropdown-menu{
  list-style:none; margin:0; padding:8px; position:absolute; top:100%; left:0;
  background: var(--paper); border:1px solid var(--line); border-radius:10px;
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
  min-width: 260px; display:none; z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu{ display:block; }
.nav-dropdown-menu li a{ display:block; padding: 9px 12px; border-radius:6px; font-size:.92rem; font-weight:600; border:none; }
.nav-dropdown-menu li a:hover{ background: var(--teal-tint); color: var(--teal); }

@media (max-width: 900px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background: var(--paper); border-bottom:1px solid var(--line);
    flex-direction:column; align-items:flex-start;
    padding: 10px 24px 20px; gap:14px;
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-toggle{ display:block; order:-1; margin-right:4px; }
  .nav-call{ font-size:.78rem; padding:.55em .75em; }
  .nav-dropdown-menu{ position:static; box-shadow:none; border:none; display:none; padding:4px 0 0 12px; min-width:0; }
  .nav-dropdown.open .nav-dropdown-menu{ display:block; }
}

/* ---------- hero ---------- */
.hero{
  background: radial-gradient(ellipse 900px 500px at 15% -10%, rgba(224,165,38,.10), transparent 60%),
              linear-gradient(180deg, var(--teal-tint) 0%, var(--paper) 100%);
  padding: 72px 0 92px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%);
}
.hero-single{ max-width: 760px; }
@media (max-width: 900px){ .hero{ padding-bottom:56px; clip-path:none; } }
.hero .lede{ color: var(--ink-soft); }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-top: 1.4em; }

.badge-pill{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--paper);
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-weight:700; font-size:.85rem;
  padding: .55em 1.1em;
  border-radius: 999px;
  margin-bottom: 18px;
}
.badge-pill::before{ content:"✓"; font-weight:800; color: var(--gold); }

/* ---------- sections ---------- */
section{ padding: 60px 0; }
.section-tint{ background: var(--teal-tint); }
.section-teal{ background: var(--teal); color: var(--paper); }
.section-teal h2, .section-teal .eyebrow{ color: var(--paper); }
.section-teal .eyebrow{ color: #9FD4E8; }
.section-teal p{ color: rgba(255,255,255,.82); }

.section-head{ max-width: 62ch; margin-bottom: 36px; position:relative; }
.section-head::before{
  content:""; display:block; width:44px; height:4px; border-radius:4px;
  background: var(--gold); margin-bottom: 14px;
}
.section-teal .section-head::before{ background: var(--gold); }

/* ---------- grid + cards ---------- */
.grid{ display:grid; gap: 22px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
  position: relative;
  text-decoration:none;
  color: var(--ink);
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
  display:flex; flex-direction:column; gap: 10px;
}
a.card:hover{ transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 14px 30px rgba(0,63,92,.12); }
.card-icon{
  width:48px; height:48px; border-radius:10px;
  background: var(--teal-soft);
  display:flex; align-items:center; justify-content:center;
  color: var(--teal);
  margin-bottom: 6px;
  transition: background .15s ease, color .15s ease;
}
a.card:hover .card-icon{ background: var(--gold); color: var(--ink); }
.card-icon svg{ width:26px; height:26px; }
.card h3{ margin: 2px 0 2px; }
.card p{ margin:0; font-size:.95rem; }
.card-more{ margin-top:auto; font-family: var(--body); font-size:.82rem; font-weight:700; color: var(--teal); }

/* ---------- feature list ---------- */
.checklist{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.checklist li{ display:flex; gap:12px; align-items:flex-start; }
.checklist li::before{
  content:"✓"; flex:none; width:22px; height:22px; border-radius:50%;
  background: var(--teal); color: var(--paper); font-weight:700; font-size:.8rem;
  display:flex; align-items:center; justify-content:center; margin-top:2px;
}
.section-teal .checklist li::before{ background: var(--paper); color: var(--teal); }

/* ---------- reviews ---------- */
.review{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
}
.stars{ color: var(--gold); letter-spacing:.08em; font-size:1rem; margin-bottom:8px; }
.review p{ color: var(--ink); font-style: italic; }
.review-name{ font-family: var(--body); font-size:.8rem; color: var(--ink-soft); font-weight:600; }

/* ---------- contact strip ---------- */
.contact-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:26px; }
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-item{
  background: var(--paper); border:1px solid var(--line); border-radius:10px; padding:22px;
}
.contact-item .eyebrow{ display:block; margin-bottom:8px; }
.contact-item a{ text-decoration:none; font-weight:700; font-size:1.05rem; }
.contact-item a:hover{ color: var(--teal); }

/* ---------- footer ---------- */
footer.site{
  background: var(--ink); color: rgba(255,255,255,.72);
  padding: 44px 0 26px; font-size:.88rem;
}
footer.site .wrap{ display:flex; justify-content:space-between; flex-wrap:wrap; gap: 28px; }
footer.site a{ color: rgba(255,255,255,.85); text-decoration:none; }
footer.site a:hover{ color: #9FD4E8; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.footer-brand img{ height:44px; }
.footer-brand-name{ font-family: var(--display); font-weight:800; color:var(--paper); font-size:1.1rem; }
.footer-cols{ display:flex; gap:60px; flex-wrap:wrap; }
.footer-cols h4{ font-family: var(--body); font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color: #9FD4E8; margin:0 0 10px; }
.footer-cols ul{ list-style:none; margin:0; padding:0; display:grid; gap:7px; }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,.14); margin-top: 30px; padding-top: 18px; font-size:.78rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ---------- service page banner ---------- */
.service-banner{ background: var(--teal); color: var(--paper); padding: 52px 0 76px;
  background-image: radial-gradient(ellipse 700px 400px at 90% -20%, rgba(224,165,38,.14), transparent 60%);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%); }
@media (max-width: 900px){ .service-banner{ clip-path:none; padding-bottom: 44px; } }
.service-banner .eyebrow{ color: #9FD4E8; }
.service-banner h1{ color: var(--paper); margin-bottom: .3em; }
.service-banner p, .service-banner .lede{ color: var(--paper); }
.icon-badge{
  width:56px; height:56px; border-radius:12px;
  background: rgba(255,255,255,.14);
  display:flex; align-items:center; justify-content:center;
  color: var(--paper);
  margin-bottom: 16px;
}
.icon-badge svg{ width:30px; height:30px; }
.breadcrumb{ font-family: var(--body); font-size:.8rem; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.breadcrumb a{ color: rgba(255,255,255,.9); text-decoration:none; }
.breadcrumb a:hover{ color: var(--paper); }

.cta-band{
  background: linear-gradient(135deg, #FDF3DF 0%, var(--teal-tint) 100%);
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band .wrap{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap: 20px; }
.cta-band h2{ color: var(--ink); margin:0; }

/* ---------- carousel ---------- */
.carousel{ position:relative; overflow:hidden; border-radius: 14px; }
.carousel-track{ display:flex; transition: transform .45s ease; }
.carousel-slide{ flex: 0 0 100%; position:relative; }
.carousel-slide img{ width:100%; height: 100%; object-fit: cover; display:block; }
.photo-placeholder{
  width:100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--teal-tint), var(--teal-soft));
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  color: var(--teal); gap:10px;
}
.photo-placeholder svg{ width:44px; height:44px; opacity:.6; }
.photo-placeholder span{ font-family: var(--body); font-weight:600; font-size:.85rem; color: var(--ink-soft); }
.carousel-arrow{
  position:absolute; top:50%; transform: translateY(-50%);
  background: rgba(255,255,255,.92); border:1px solid var(--line);
  width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; z-index:10; color: var(--ink);
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
}
.carousel-arrow:hover{ background: var(--gold); color: var(--ink); }
.carousel-arrow.prev{ left:14px; }
.carousel-arrow.next{ right:14px; }
.carousel-arrow svg{ width:20px; height:20px; }
.carousel-dots{ display:flex; justify-content:center; gap:8px; margin-top:14px; }
.carousel-dot{ width:9px; height:9px; border-radius:50%; background: var(--line); border:none; cursor:pointer; padding:0; }
.carousel-dot.active{ background: var(--teal); }
.review-carousel .carousel-slide{ padding: 4px 4px 4px 4px; }

/* ---------- why-us ---------- */
.why-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:22px; }
@media (max-width: 860px){ .why-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .why-grid{ grid-template-columns: 1fr; } }
.why-item{ text-align:center; padding: 10px; }
.why-item .why-emoji{ font-size:2rem; display:block; margin-bottom:10px; }
.why-item h3{ font-size:1.02rem; margin-bottom:6px; }
.why-item p{ font-size:.9rem; margin:0; }
.mt-0{ margin-top:0; }
.center{ text-align:center; }
.mx-auto{ margin-left:auto; margin-right:auto; }
