/* Customer website */
body.site{background:var(--hm-surface)}
.site-header{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--hm-border)}
.site-header .container{display:flex;align-items:center;gap:24px;height:72px}
.brand img{height:40px;width:auto}
.main-nav{display:flex;gap:4px;flex:1}
.main-nav a{padding:8px 12px;border-radius:var(--r-sm);color:var(--hm-text);font-weight:600;font-size:var(--hm-fs-sm)}
.main-nav a:hover{background:var(--hm-neutral-soft);text-decoration:none}
.main-nav a.active{color:var(--hm-primary)}
.header-actions{display:flex;gap:10px;align-items:center}
.nav-toggle{display:none}
@media (max-width:980px){
  .main-nav{position:fixed;inset:72px 0 auto 0;background:var(--hm-surface);flex-direction:column;padding:12px 20px 20px;border-bottom:1px solid var(--hm-border);box-shadow:var(--sh-3);display:none}
  .main-nav.open{display:flex}
  .main-nav a{padding:12px}
  .nav-toggle{display:inline-flex}
  .header-actions .hide-sm{display:none}
  .site-header .container{justify-content:space-between}
}
@media (max-width:420px){.brand img{height:32px}.header-actions .btn-book{padding:0 12px}}

/* Hero */
.hero{background:linear-gradient(180deg,#EEF5FD 0%,#F7FAFE 70%,#fff 100%);padding:56px 0 72px;position:relative;overflow:hidden}
.hero .container{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.hero h1{font-size:clamp(2.1rem,4.4vw,3.4rem);line-height:1.08;margin-bottom:18px;letter-spacing:-.02em}
.hero .lead{font-size:var(--hm-fs-lg);color:var(--hm-text-2);max-width:520px;margin-bottom:28px}
.hero-proof{display:flex;gap:28px;flex-wrap:wrap;margin-top:28px;font-size:var(--hm-fs-sm);color:var(--hm-text-2)}
.hero-proof strong{display:block;font-family:var(--hm-font-display);font-size:1.4rem;color:var(--hm-navy)}
@media (max-width:900px){.hero .container{grid-template-columns:1fr;gap:36px}.hero{padding:36px 0 48px}}

/* The house-shaped quick booking card: the one memorable element, echoing the logo's roof */
.house-card{position:relative;padding-top:64px;filter:drop-shadow(0 22px 40px rgba(3,52,99,.16))}
.house-card .roof{position:absolute;top:0;left:-4%;right:-4%;height:80px;background:var(--hm-primary-bright);clip-path:polygon(50% 0,100% 82%,100% 100%,0 100%,0 82%);border-radius:8px}
.house-card .roof::after{content:"";position:absolute;inset:14px 6% 0;background:#fff;clip-path:polygon(50% 0,100% 82%,100% 100%,0 100%,0 82%)}
.house-card .chimney{position:absolute;top:10px;right:16%;width:26px;height:42px;background:var(--hm-primary);border-radius:5px 5px 0 0}
.house-card .body{position:relative;background:#fff;border-radius:0 0 var(--r-xl) var(--r-xl);padding:8px 28px 28px;margin-top:-1px}
.house-card .window{display:grid;grid-template-columns:1fr 1fr;gap:4px;width:34px;margin:0 auto 14px}
.house-card .window span{aspect-ratio:1;border-radius:4px;background:var(--hm-accent)}
.house-card h2{text-align:center;font-size:var(--hm-fs-xl);margin-bottom:4px}
.house-card .qb-price{display:flex;justify-content:space-between;align-items:baseline;padding:14px 16px;background:var(--hm-secondary-soft);border-radius:var(--r-md);margin:6px 0 16px}
.house-card .qb-price strong{font-family:var(--hm-font-display);font-size:1.6rem;color:var(--hm-secondary)}

/* Sections */
.section{padding:72px 0}
.section.alt{background:var(--hm-bg)}
.section-head{max-width:640px;margin-bottom:36px}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.section-head p{color:var(--hm-text-2);font-size:var(--hm-fs-lg)}
@media (max-width:640px){.section{padding:48px 0}}

.cat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
@media (max-width:980px){.cat-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:480px){.cat-grid{grid-template-columns:repeat(2,1fr)}}

.svc-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--hm-border);border-radius:var(--r-lg);overflow:hidden;color:inherit}
.svc-card:hover{text-decoration:none;border-color:var(--hm-border-strong);box-shadow:var(--sh-2)}
.svc-card .svc-art{border-radius:0}
.svc-card .sc-body{padding:18px;display:flex;flex-direction:column;gap:6px;flex:1}
.svc-card h3{font-size:var(--hm-fs-lg);margin:0}
.svc-card .sc-meta{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:12px;font-size:var(--hm-fs-sm)}
.price-from{font-weight:700;color:var(--hm-navy)}
.price-from b{font-family:var(--hm-font-display);font-size:1.15rem;color:var(--hm-secondary)}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;counter-reset:how;list-style:none;padding:0;margin:0}
.steps li{position:relative;padding-top:56px}
.steps li::before{counter-increment:how;content:counter(how);position:absolute;top:0;left:0;width:40px;height:40px;border-radius:12px;background:var(--hm-primary);color:#fff;display:grid;place-items:center;font:800 1.1rem var(--hm-font-display)}
.steps h3{font-size:var(--hm-fs-lg)}
.steps p{color:var(--hm-text-2);font-size:var(--hm-fs-sm)}
@media (max-width:900px){.steps{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.steps{grid-template-columns:1fr}}

.testimonial{background:var(--hm-navy);color:#E6EEF8;border-radius:var(--r-xl);padding:40px;display:grid;grid-template-columns:auto 1fr;gap:32px;align-items:center}
.testimonial blockquote{margin:0;font-family:var(--hm-font-display);font-size:1.45rem;line-height:1.4;color:#fff;font-weight:700}
.testimonial .t-score{font-family:var(--hm-font-display);font-size:3.5rem;font-weight:800;color:var(--hm-accent);line-height:1}
@media (max-width:760px){.testimonial{grid-template-columns:1fr;padding:28px}.testimonial blockquote{font-size:1.15rem}}

.why{display:flex;gap:14px}
.why .k-ic{width:42px;height:42px;border-radius:12px;flex:none}
.why h3{font-size:var(--hm-fs-md);margin-bottom:4px}
.why p{font-size:var(--hm-fs-sm);color:var(--hm-text-2);margin:0}

.area-chips{display:flex;flex-wrap:wrap;gap:8px}

.faq details{border-bottom:1px solid var(--hm-border);padding:18px 0}
.faq summary{cursor:pointer;font-weight:700;color:var(--hm-navy);list-style:none;display:flex;justify-content:space-between;gap:16px;font-size:var(--hm-fs-md)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font:800 1.4rem/1 var(--hm-font-display);color:var(--hm-primary)}
.faq details[open] summary::after{content:"–"}
.faq details p{margin:12px 0 0;color:var(--hm-text-2)}

.cta-band{background:var(--hm-primary);color:#fff;border-radius:var(--r-xl);padding:40px;display:flex;justify-content:space-between;gap:24px;align-items:center;flex-wrap:wrap}
.cta-band h2{color:#fff;margin:0 0 6px}
.cta-band p{margin:0;color:#D6E8FB}
.cta-band .btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}

/* Footer */
.site-footer{background:var(--hm-navy);color:#B9C8DB;padding:56px 0 24px;font-size:var(--hm-fs-sm)}
.site-footer .f-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
.site-footer h4{color:#fff;font-size:var(--hm-fs-md);margin-bottom:12px}
.site-footer a{color:#DCE6F2;display:block;padding:3px 0}
.site-footer .f-logo{background:#fff;display:inline-block;padding:10px 14px;border-radius:var(--r-md);margin-bottom:14px}
.site-footer .f-logo img{height:34px}
.site-footer .f-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.12);margin-top:36px;padding-top:20px;font-size:var(--hm-fs-xs)}
.site-footer .f-bottom a{display:inline;margin-left:16px}
@media (max-width:860px){.site-footer .f-grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.site-footer .f-grid{grid-template-columns:1fr}}

.wa-float{position:fixed;right:18px;bottom:18px;width:56px;height:56px;border-radius:50%;background:#1F9E55;color:#fff;display:grid;place-items:center;box-shadow:var(--sh-3);z-index:120}
.wa-float .ic{width:26px;height:26px}
.wa-float:hover{background:#178246}

/* Page header (inner pages) */
.page-hero{background:var(--hm-bg);border-bottom:1px solid var(--hm-border);padding:36px 0 30px}
.page-hero h1{font-size:clamp(1.7rem,3vw,2.3rem);margin-bottom:6px}
.page-hero p{color:var(--hm-text-2);margin:0;max-width:640px}
.crumbs{display:flex;gap:6px;flex-wrap:wrap;font-size:var(--hm-fs-sm);color:var(--hm-text-2);margin-bottom:10px;list-style:none;padding:0}
.crumbs li+li::before{content:"/";margin-right:6px;color:var(--hm-text-3)}
.page-body{padding:36px 0 72px}
.page-body.tight{padding-top:24px}

/* Auth */
.auth-wrap{min-height:calc(100vh - 108px);display:grid;place-items:center;padding:40px 16px;background:var(--hm-bg)}
.auth-card{width:100%;max-width:440px;background:#fff;border:1px solid var(--hm-border);border-radius:var(--r-xl);padding:36px;box-shadow:var(--sh-2)}
.auth-card .auth-logo{height:64px;margin:0 auto 18px;width:auto}
.auth-card h1{font-size:var(--hm-fs-2xl);text-align:center;margin-bottom:6px}
.auth-card .sub{text-align:center;color:var(--hm-text-2);margin-bottom:24px}
.auth-alt{text-align:center;font-size:var(--hm-fs-sm);margin-top:18px;color:var(--hm-text-2)}
@media (max-width:480px){.auth-card{padding:24px 18px}}

/* Booking flow */
.booking-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}
.summary-card{position:sticky;top:96px}
@media (max-width:980px){.booking-layout{grid-template-columns:1fr}.summary-card{position:static}}
.svc-pick{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
@media (max-width:640px){.svc-pick{grid-template-columns:1fr 1fr}}
.svc-pick .choice{flex-direction:column;gap:4px;padding:14px}
.svc-pick .choice input{position:absolute;opacity:0}
.svc-pick .choice{position:relative}

.cal{user-select:none}
.cal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.cal-grid .dow{font-size:var(--hm-fs-xs);color:var(--hm-text-3);text-align:center;font-weight:700;padding:4px 0}
.cal-day{aspect-ratio:1;border:1px solid var(--hm-border);background:#fff;border-radius:var(--r-md);font:700 var(--hm-fs-sm) var(--hm-font-body);cursor:pointer;color:var(--hm-text);position:relative}
.cal-day:hover:not(:disabled){border-color:var(--hm-primary)}
.cal-day:disabled{background:var(--hm-surface-2);color:var(--hm-text-3);cursor:not-allowed;text-decoration:line-through}
.cal-day.selected{background:var(--hm-primary);border-color:var(--hm-primary);color:#fff}
.cal-day.today::after{content:"";position:absolute;bottom:5px;left:50%;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--hm-accent)}
.cal-day.empty{visibility:hidden}
.slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}
.slot{height:44px;border:1px solid var(--hm-border-strong);border-radius:var(--r-md);background:#fff;font:600 var(--hm-fs-sm) var(--hm-font-body);cursor:pointer;color:var(--hm-text)}
.slot:hover:not(:disabled){border-color:var(--hm-primary);color:var(--hm-primary)}
.slot.selected{background:var(--hm-primary);color:#fff;border-color:var(--hm-primary)}
.slot:disabled{background:var(--hm-surface-2);color:var(--hm-text-3);cursor:not-allowed;text-decoration:line-through}
.legend{display:flex;gap:16px;font-size:var(--hm-fs-xs);color:var(--hm-text-2);flex-wrap:wrap;margin-top:12px}
.legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px;border:1px solid var(--hm-border-strong)}

/* Result pages */

/* Account area */
.account-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start}
.account-nav{background:#fff;border:1px solid var(--hm-border);border-radius:var(--r-lg);padding:10px;position:sticky;top:96px}
.account-nav a,.account-nav button{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:var(--r-md);color:var(--hm-text);font-weight:600;font-size:var(--hm-fs-sm);width:100%;border:0;background:none;cursor:pointer;font-family:var(--hm-font-body)}
.account-nav a:hover,.account-nav button:hover{background:var(--hm-neutral-soft);text-decoration:none}
.account-nav a.active{background:var(--hm-primary-soft);color:var(--hm-primary)}
.account-nav .me{display:flex;gap:10px;align-items:center;padding:10px 12px 14px;border-bottom:1px solid var(--hm-border);margin-bottom:6px}
@media (max-width:900px){.account-layout{grid-template-columns:1fr}.account-nav{position:static;display:flex;overflow-x:auto;gap:4px;padding:6px}.account-nav .me{display:none}.account-nav a,.account-nav button{white-space:nowrap;width:auto}}

@media (max-width:560px){.track-steps{grid-template-columns:repeat(3,1fr);row-gap:12px}}

.gallery{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:10px}
.gallery .svc-art:first-child{grid-row:span 2;aspect-ratio:auto;min-height:280px}
.gallery .svc-art{aspect-ratio:auto;min-height:135px}

.legal h2{font-size:var(--hm-fs-xl);margin-top:28px}
.legal p,.legal li{color:var(--hm-text-2);max-width:72ch}

.main-nav .hide-lg{display:none}
@media (max-width:980px){.main-nav .hide-lg{display:block}}
.svc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
@media (max-width:1100px){.svc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.svc-grid{grid-template-columns:1fr}}
.svc-card .sc-meta .ic{fill:var(--hm-accent);stroke:var(--hm-accent)}

/* Service gallery photos uploaded in Admin › Services (BUG-013) */
.gallery .svc-photo{width:100%;height:100%;object-fit:cover;border-radius:var(--r-md);min-height:135px;display:block;background:var(--hm-surface-2)}
.gallery .svc-photo:first-child{grid-row:span 2;min-height:280px}
.gallery .svc-photo:only-child{grid-column:span 2}
