/* HandyPros STL. Colours and type follow the original Duda site (Open Sans, navy #0b2e4c). */
:root {
  --navy: #0b2e4c;
  --slate: #3c5778;
  --mist: #eff6f9;
  --cloud: #d3dee4;
  --ink: #0b2e4c;
  --charcoal: #22252b;
  --red: #a3123a;
  --white: #fff;
  --radius: 14px;
  --wrap: 1104px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(30px, 4.4vw, 46px); }
h2 { font-size: clamp(25px, 3vw, 32px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 28px; border-radius: 999px; border: 0;
  background: var(--navy); color: #fff; font: inherit; font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { background: var(--slate); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.btn-red { background: var(--red); }
.btn-red:hover { background: #7f0d2c; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--cloud); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--cloud); }
.site-header .bar { display: flex; align-items: center; gap: 28px; padding: 14px 24px; }
.logo img { width: 92px; height: auto; }
.nav { display: flex; gap: 32px; flex: 1; }
.nav a { text-decoration: none; font-size: 16px; color: var(--navy); }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.header-cta { display: flex; gap: 16px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.drawer { display: none; }
@media (max-width: 1000px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .site-header .bar { padding: 10px 16px; }
  .logo img { width: 72px; }
  .drawer[data-open] { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(11,46,76,.45); }
  .drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(320px, 85vw); background: #fff; padding: 22px 24px; overflow-y: auto; }
  .drawer-panel .close { float: right; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--navy); }
  .drawer-panel h2 { font-size: 18px; margin-top: 4px; }
  .drawer-panel .stack { display: grid; gap: 12px; margin: 18px 0 26px; }
  .drawer-panel nav a { display: block; padding: 10px 0; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--cloud); }
}

/* Hero banners */
.hero { position: relative; display: flex; align-items: center; color: #fff; background: var(--navy) center / cover no-repeat; min-height: 452px; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.38); }
.hero > .wrap { position: relative; padding: 70px 0; }
.hero h1 { max-width: 820px; margin: 0; }
.hero-home { min-height: 592px; text-align: center; }
.hero-home h1 { max-width: none; font-size: clamp(32px, 4.6vw, 48px); }
.hero-home .sub { font-size: 18px; margin: 14px 0 26px; }
.hero-home .actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 64px 0; }
.bg-mist { background: var(--mist); }
.bg-cloud { background: var(--cloud); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-charcoal { background: var(--charcoal); color: #fff; }
.lede { max-width: 980px; margin-inline: auto; }

/* Home service grid */
.svc-grid { display: grid; gap: 34px 32px; grid-template-columns: repeat(6, 1fr); margin-top: 40px; }
.svc-grid .card { grid-column: span 3; }
.svc-grid .card.third { grid-column: span 2; }
.svc-grid .card.full { grid-column: 1 / -1; }
.card-img { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 530 / 400; }
.card.third .card-img { aspect-ratio: 339 / 400; }
.card.full .card-img { aspect-ratio: 1104 / 400; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.card-img:hover img { transform: scale(1.03); }
.svc-grid h3 { text-align: center; margin: 18px 0 10px; }
.svc-grid p { font-size: 15px; }
@media (max-width: 800px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid .card, .svc-grid .card.third { grid-column: auto; }
  .card.third .card-img, .card.full .card-img { aspect-ratio: 530 / 400; }
}

/* Reviews iframe: stays collapsed until Housecall Pro reports a height */
.hcp-reviews { border: 0; width: 100%; height: 0; display: block; }

/* Home about + join */
.about-band { background: #5a3a22 center / cover no-repeat; padding: 64px 0; }
.about-grid { display: grid; grid-template-columns: 1.13fr 1fr; gap: 44px; align-items: center; }
.about-card { background: #000; color: #fff; border-radius: 26px; padding: 30px 24px; }
.about-card h2 { color: #fff; }
.about-card h3 { margin-top: 28px; }
.about-card h4 { margin: 18px 0 4px; }
.join img { width: 100%; max-width: 500px; margin-inline: auto; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }

/* Areas */
.areas { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px 20px; list-style: none; padding: 0; margin: 28px 0 36px; text-align: center; font-weight: 600; }
@media (max-width: 800px) { .areas { grid-template-columns: repeat(2, 1fr); } }
.big-logo { width: min(520px, 100%); margin: 0 auto; }

/* Get in touch */
.touch { background: center / cover no-repeat; padding: 120px 0; }
.touch-box { width: min(330px, 100%); margin-left: max(0px, calc((100% - var(--wrap)) / 2 + 45px)); text-align: center; }
.touch-card { background: #fff; border-radius: 22px; padding: 16px 18px; }
.touch-card h2 { font-size: 28px; margin-bottom: 8px; }
.touch-card p { margin: 0; }
.touch .stack { display: grid; gap: 12px; width: 184px; margin: 18px auto 0; }
@media (max-width: 700px) { .touch { padding: 70px 16px; } .touch-box { margin-inline: auto; } }

/* Footer */
.site-footer { padding: 48px 0 30px; font-size: 15px; }
.site-footer .name { font-size: 22px; margin-bottom: 26px; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-grid h3 { font-size: 17px; margin-bottom: 14px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; max-width: 260px; }
.hours span:nth-child(even) { text-align: right; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-grid ul a { text-decoration: none; }
.foot-grid ul a:hover { text-decoration: underline; }
.contact-links { display: grid; gap: 8px; justify-items: start; }
.social { display: flex; gap: 14px; margin-top: 14px; }
.social a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; }
.copy { text-align: center; font-weight: 700; font-size: 13px; margin-top: 40px; }
.powered { text-align: center; font-size: 12px; margin-top: 18px; }
.powered a { text-decoration: none; font-weight: 700; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Services page */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 540 / 519; object-fit: cover; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.svc-list { display: grid; gap: 24px; margin-top: 30px; }
.svc-item { display: grid; grid-template-columns: 320px 1fr; gap: 26px; background: var(--mist); color: var(--ink); border-radius: var(--radius); padding: 24px; scroll-margin-top: 110px; }
.svc-item img { width: 320px; height: 240px; object-fit: cover; border-radius: 10px; }
.svc-item h3 { margin-top: 8px; }
.svc-item p, .svc-item li { font-size: 15px; }
.svc-item .tag { font-weight: 700; font-size: 14px; }
.svc-item ul { padding-left: 20px; margin: 0 0 1em; }
@media (max-width: 760px) { .svc-item { grid-template-columns: 1fr; } .svc-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; } }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; font-weight: 700; }
.values ul { list-style: none; padding: 0; margin: 0 0 1em; }
.values li::before { content: "\2713\00a0 "; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* About page */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.story .rule { width: 175px; height: 1px; background: #3a8bd6; margin-bottom: 36px; }
.story img { border-radius: var(--radius); width: 100%; aspect-ratio: 381 / 541; object-fit: cover; }
@media (max-width: 800px) { .story { grid-template-columns: 1fr; } }

/* Process page */
.steps { display: grid; grid-template-columns: 1fr 1.8fr; gap: 40px; align-items: start; margin-top: 30px; }
.steps img { border-radius: var(--radius); width: 100%; aspect-ratio: 367 / 245; object-fit: cover; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; }
.steps .num { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; margin: 0; font-size: 18px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 20px; margin-top: 34px; }
.why article { background: var(--slate); color: #fff; border-radius: var(--radius); padding: 22px; font-size: 15px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
.dedication p.kicker { font-size: 15px; }
.dedication h2 { font-size: clamp(18px, 2vw, 22px); }

/* Plans page */
.contact-hero { background: center / cover no-repeat; padding: 30px 0 40px; }
.contact-panel { background: var(--navy); color: #fff; border-radius: 22px; padding: 26px 30px 30px; max-width: 1100px; }
.contact-panel h2 { margin-left: 32px; font-size: 26px; }
.contact-panel h3 { margin: 18px 0 2px 32px; font-size: 18px; }
.contact-panel p { margin-left: 32px; }
.earn h2 { font-size: 22px; }
.earn .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; max-width: 840px; margin: 0 auto; }
.earn ul { margin: 0; padding-left: 20px; }
@media (max-width: 700px) { .earn .cols { grid-template-columns: 1fr; } }
.plans-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .plans-intro { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--slate); background: var(--mist); padding: 50px 40px; margin-top: 40px; }
.plan .price { font-size: clamp(28px, 3.4vw, 36px); font-weight: 700; margin: 18px 0; }
.plan .feat { margin: 14px 0 4px; font-weight: 700; font-size: 14px; }
.plan .feat::before { content: "\2713"; display: block; font-size: 22px; margin-bottom: 6px; }
.plan .notes { font-size: 14px; }
.plan .notes p { margin: 0; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--slate); background: var(--mist); }
.tiers .tier { padding: 26px; }
.tiers .tier + .tier { border-left: 1px solid var(--slate); }
.tiers ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tiers li::before { content: "\2713\00a0\00a0"; font-weight: 700; }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } .tiers .tier + .tier { border-left: 0; border-top: 1px solid var(--slate); } }
.addons { display: grid; gap: 22px; margin-top: 26px; }
.addons article { background: var(--mist); color: var(--ink); border-radius: var(--radius); padding: 28px; }
.addons ul { margin: 0 0 1em; padding-left: 22px; }
.addons .label { font-weight: 700; margin: 0 0 .3em; }

/* Home hero: the original shows Book Online in red */
.red-book .btn { background: var(--red); }
.red-book .btn:hover { background: #7f0d2c; }
.notfound { padding: 90px 0; }
