/* themes/garageconversion/assets/css/site.css */

:root{
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --subtle: #6b7280;
  --border: #e5e7eb;
  --brand: #0f172a;      /* conservative navy */
  --brand-2: #111827;
  --accent: #2b4a6f;     /* primary accent color */
  --accent-hover: #243f60; /* slightly darker for hover */
  --accent-soft: rgba(43, 74, 111, 0.08); /* very light tint for backgrounds */
  --max: 980px;

  --radius: 14px;
  --shadow: 0 8px 30px rgba(0,0,0,.06);

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }
html,body{ height:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

header.site-header{
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 20px 0;
  position: relative;
}

.brand{
  font-weight: 700;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand-link{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo{
  height: 36px;
  width: auto;
  display: block;
}

.brand-text{
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.footer-logo{
  margin: 0 0 var(--space-3);
}

.footer-logo img{
  height: 40px;
  width: auto;
  display: block;
}

.menu-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 100;
}

.menu-toggle span{
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1){
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2){
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3){
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a{
  color: var(--muted);
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.nav a.is-active{
  color: var(--accent);
  background: var(--accent-soft);
}
.nav a:hover:not(.is-active){
  color: var(--accent);
}

.nav-cta{
  margin-left: auto;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.btn-primary{
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}
.btn-primary:hover{ 
  text-decoration:none; 
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}
.btn-primary:focus{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-secondary{
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-secondary:hover{
  background: var(--accent-soft);
  text-decoration: none;
}

/* CTA helper text */
.cta-helper{
  font-size: 13px;
  color: var(--subtle);
  margin-top: var(--space-2);
  display: block;
}

main{
  padding: var(--space-7) 0;
}

/* Section spacing improvements */
.prose > * + * {
  margin-top: var(--space-4);
}

.prose > h2 {
  margin-top: var(--space-7) !important;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.prose > h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.prose > h3 {
  margin-top: var(--space-6) !important;
}

/* Pre-headline trust signal */
.prose .pre-headline{
  font-size: 12px;
  color: var(--accent);
  opacity: 0.7;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  margin: 0 0 var(--space-2);
  font-weight: 400;
}

.prose h1{
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
  font-weight: 700;
}

.prose .hero-subtitle{
  font-size: 18px;
  color: var(--text);
  margin: 0 0 var(--space-4);
  font-weight: 500;
  line-height: 1.5;
}

/* Hero intro lines */
.prose .hero-intro{
  margin: var(--space-4) 0;
  line-height: 1.7;
}

.prose .hero-intro p{
  margin: 0 0 var(--space-2);
  font-size: 17px;
  color: var(--muted);
}

.prose .hero-intro p:last-child{
  margin-bottom: 0;
}
.prose h2{
  font-size: 26px;
  line-height: 1.3;
  margin: var(--space-6) 0 var(--space-3);
  font-weight: 600;
  color: var(--text);
}
.prose h3{
  font-size: 18px;
  margin: var(--space-5) 0 var(--space-2);
}
.prose p{
  color: var(--muted);
  margin: 0 0 var(--space-3);
  font-size: 17px;
}
.prose p.lead{
  font-size: 19px;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.section{
  margin-top: var(--space-6);
}

.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-5);
  background: var(--surface);
  margin: var(--space-6) 0;
}

/* Two-column layout for "Who we're for" sections */
.who-for-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin: var(--space-6) 0;
}

.who-for-grid > div{
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fafafa;
}

.who-for-grid h3{
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

/* Use-case cards */
.use-case-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.use-case-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: var(--surface);
  transition: box-shadow 0.2s ease;
}

.use-case-card:hover{
  box-shadow: var(--shadow);
}

.use-case-card h3{
  margin-top: 0;
  margin-bottom: var(--space-2);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.use-case-card p{
  font-size: 14px;
  color: var(--subtle);
  margin: 0 0 var(--space-2);
}

.use-case-card a{
  color: var(--brand);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.use-case-card a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.callout{
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-4);
  background: #fafafa;
  color: var(--muted);
  margin: var(--space-6) 0;
  font-size: 15px;
  line-height: 1.6;
}

.callout strong{
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-1);
}

.footer{
  border-top: 1px solid var(--border);
  padding: var(--space-6) 0;
  color: var(--subtle);
  font-size: 14px;
}

.footer-content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.footer-section h3{
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 var(--space-2);
}

.footer-section ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li{
  margin: var(--space-1) 0;
}

.footer-section ul li a{
  color: var(--subtle);
  font-size: 14px;
  text-decoration: none;
}

.footer-section ul li a:hover{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Image styles */
.prose img{
  max-width: 100% !important;
  height: auto !important;
  max-height: 500px !important;
  object-fit: cover !important;
  border-radius: var(--radius);
  margin: var(--space-4) 0;
  box-shadow: var(--shadow);
  display: block;
}

.image-card{
  margin: var(--space-5) 0;
}

.image-card img{
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  max-height: 400px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.image-card figcaption{
  margin-top: var(--space-2);
  font-size: 13px;
  color: var(--subtle);
  font-style: normal;
  line-height: 1.6;
  padding: var(--space-2) 0;
  border-top: 1px solid var(--border);
}

.image-card figcaption::before{
  content: "Representative example";
  font-weight: 600;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* Image caption above image */
.image-card .image-label{
  font-size: 12px;
  color: var(--subtle);
  margin-bottom: var(--space-2);
  font-weight: 400;
  letter-spacing: 0.3px;
  display: block;
}

/* FAQ Styles */
.faq-list{
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.faq-item:hover{
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(43, 74, 111, 0.1);
}

.faq-item.active{
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(43, 74, 111, 0.12);
}

.faq-item dt{
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  padding: var(--space-4);
  margin: 0;
  cursor: pointer;
  position: relative;
  padding-right: calc(var(--space-4) + 32px);
  user-select: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.faq-item dt::after{
  content: "+";
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.3s ease, color 0.2s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
}

.faq-item.active dt::after{
  content: "−";
  background: var(--accent);
  color: #ffffff;
}

.faq-item dt:hover{
  color: var(--accent);
}

.faq-item dt:focus{
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: var(--radius);
}

.faq-item dd{
  margin: 0;
  padding: 0 var(--space-4) var(--space-4);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s ease 0.1s, 
              padding 0.3s ease;
}

.faq-item.active dd{
  max-height: 2000px;
  opacity: 1;
  padding-top: 0;
  padding-bottom: var(--space-4);
}

.faq-item dd a{
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.faq-item dd a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Related guides block - accent links only */
.related-guides a{
  color: var(--accent);
  text-decoration: none;
}
.related-guides a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Also target Related guides sections in pages (h2 followed by ul with internal links) */
/* This uses :has() which is supported in modern browsers */
@supports selector(:has(*)) {
  .prose > h2 + ul:has(li a[href*="garage-conversion"]) a,
  .prose > h2 + ul:has(li a[href*="canterbury"]) a,
  .prose > h2 + ul:has(li a[href*="christchurch"]) a,
  .prose > h2 + ul:has(li a[href*="our-process"]) a,
  .prose > h2 + ul:has(li a[href*="contact"]) a{
    color: var(--accent);
    text-decoration: none;
  }
  .prose > h2 + ul:has(li a[href*="garage-conversion"]) a:hover,
  .prose > h2 + ul:has(li a[href*="canterbury"]) a:hover,
  .prose > h2 + ul:has(li a[href*="christchurch"]) a:hover,
  .prose > h2 + ul:has(li a[href*="our-process"]) a:hover,
  .prose > h2 + ul:has(li a[href*="contact"]) a:hover{
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.image-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  margin: var(--space-5) 0;
}

.image-grid .image-card img{
  max-height: 400px !important;
  object-fit: cover !important;
}

/* Form styles */
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
form textarea{
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s;
}

form input:focus,
form select:focus,
form textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

form label{
  display: block;
  margin-bottom: var(--space-1);
  font-weight: 600;
  color: var(--text);
}

form button[type="submit"]{
  width: 100%;
  margin-top: var(--space-2);
}

@media (max-width: 720px){
  .prose h1{ font-size: 34px; }
  .image-grid{ grid-template-columns: 1fr; }
  
  .faq-item dt{
    font-size: 15px;
    padding: var(--space-3) var(--space-3) var(--space-3) calc(var(--space-3) + 24px);
  }
  
  .faq-item dt::after{
    right: var(--space-3);
  }
  
  .faq-item dd{
    padding: 0 var(--space-3) var(--space-3);
    font-size: 14px;
  }
  
  .faq-item.active dd{
    padding-bottom: var(--space-3);
  }
  
  .menu-toggle{
    display: flex;
  }
  
  .nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 22px 22px;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    visibility: hidden;
    display: flex;
  }
  
  .nav.menu-open{
    transform: translateX(0);
    visibility: visible;
  }
  
  .nav a{
    width: 100%;
    padding: 14px 10px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    display: block;
  }
  
  .nav a.nav-cta{
    margin: 20px 0 0 0;
    width: 100%;
    text-align: center;
    border-bottom: none;
    padding: 14px;
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  
  .nav > div{
    width: 100%;
    align-items: center;
  }
  
  .nav > div span{
    text-align: center;
    display: block;
    width: 100%;
  }
  
  .nav a.nav-cta:hover{
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  .header-row{
    align-items: center;
  }
  
  .footer-content{
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .footer-section{
    margin-bottom: var(--space-3);
  }
  
  .who-for-grid{
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .use-case-cards{
    grid-template-columns: 1fr;
  }
  
  .prose h1{
    font-size: 36px;
  }
  
  .prose h2{
    font-size: 22px;
  }
}

/* ========== Homepage ========== */
.page-home .home-main{ padding: 0; }

.home-section{
  padding: var(--space-7) 0;
}
.home-section:nth-child(even){
  background: rgba(43, 74, 111, 0.03);
}

/* Reveal-up animation (respects prefers-reduced-motion) */
.page-home.motion-ok .home-section{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.page-home.motion-ok .home-section.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .page-home.motion-ok .home-section{
    opacity: 1;
    transform: none;
  }
}
.home-section-title{
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.02em;
}
.home-section-lead{
  font-size: 18px;
  color: var(--muted);
  max-width: 65ch;
  margin: 0 0 var(--space-5);
  line-height: 1.6;
}

/* Hero */
.home-hero{
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.home-hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.home-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.1) 100%);
}
.home-hero-inner{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-6);
  align-items: center;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-6) 22px;
}
.home-hero-content{ color: #fff; }
.home-hero-eyebrow{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.85);
  margin: 0 0 var(--space-2);
  font-weight: 500;
}
.home-hero-title{
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-3);
  color: #fff;
}
.home-hero-subtitle{
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 var(--space-2);
  color: rgba(255,255,255,.92);
  max-width: 52ch;
}
.home-hero-tagline{
  font-size: 15px;
  color: rgba(255,255,255,.78);
  margin: 0 0 var(--space-4);
}
.home-hero-ctas{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.home-hero-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.home-hero-cta:hover{ text-decoration: none; color: #fff; }
.home-hero-cta-secondary{
  color: #fff !important;
  border-color: rgba(255,255,255,.7);
  background: transparent;
}
.home-hero-cta-secondary:hover{
  background: rgba(255,255,255,.15);
  color: #fff !important;
  text-decoration: none;
  border-color: #fff;
}
.home-hero-reassurance{
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin: 0;
  max-width: 42ch;
}
.home-hero-caption{
  position: absolute;
  bottom: var(--space-3);
  left: 22px;
  z-index: 2;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-trust-card{
  background: rgba(255,255,255,.96);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.5);
}
.home-trust-title{
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--space-3);
}
.home-trust-list{
  list-style: none;
  padding: 0;
  margin: 0;
}
.home-trust-list li{
  position: relative;
  padding-left: var(--space-4);
  margin: var(--space-2) 0;
  font-size: 15px;
  color: var(--muted);
}
.home-trust-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Value props bar */
.home-value-props{
  padding: var(--space-4) 0;
  background: var(--accent-soft);
  border-bottom: 1px solid var(--border);
}
.home-value-props-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  text-align: center;
}
.home-value-prop{
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}
.home-value-prop-icon{
  color: var(--accent);
  font-weight: 700;
}

/* Who it's for (home) */
.home-who .who-for-grid{ margin-top: var(--space-4); }
.home-who .who-for-block{
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fafafa;
}
.home-who .who-for-block h3{ margin-top: 0; font-size: 18px; }

/* Use cases (home) */
.home-use-cases-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.home-use-case-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.home-use-case-card:hover{
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.home-use-case-image{
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--border);
}
.home-use-case-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-use-case-card h3{
  margin: var(--space-3) var(--space-4) var(--space-2);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.home-use-case-card p{
  margin: 0 var(--space-4) var(--space-3);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.home-use-case-link{
  display: inline-block;
  margin: 0 var(--space-4) var(--space-4);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.home-use-case-link:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* Process steps */
.home-process-steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.home-process-step{
  text-align: center;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.home-process-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: var(--space-2);
}
.home-process-step h3{
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.home-process-cta{ margin-top: var(--space-5); text-align: center; }

/* Gallery */
.home-gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.home-gallery-item{
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--border);
}
.home-gallery-item img{
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.home-gallery-item figcaption{
  padding: var(--space-2) var(--space-3);
  font-size: 12px;
  color: var(--subtle);
  background: #fafafa;
  border-top: 1px solid var(--border);
}

/* Proof block (featured example + quote) */
.home-proof-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}
.home-proof-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.home-proof-card-title{
  margin: 0 0 var(--space-3);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.home-proof-stats{
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0;
}
.home-proof-stats li{
  margin: var(--space-2) 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.home-proof-stats strong{
  color: var(--text);
  margin-right: 6px;
}
.home-proof-thumbs{
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}
.home-proof-thumb{
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.home-proof-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-proof-disclaimer{
  font-size: 12px;
  color: var(--subtle);
  margin: var(--space-3) 0 0;
  line-height: 1.5;
}
.home-proof-blockquote{
  margin: 0;
  padding: 0;
  border: none;
}
.home-proof-blockquote p{
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 var(--space-2);
  font-style: italic;
}
.home-proof-blockquote footer{
  font-size: 14px;
  color: var(--muted);
}
.home-proof-blockquote cite{ font-style: normal; }

/* What's typically included checklist */
.home-checklist-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  background: var(--surface);
  box-shadow: var(--shadow);
  max-width: 640px;
}
.home-checklist-list{
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
}
.home-checklist-item{
  position: relative;
  padding-left: var(--space-5);
  margin: var(--space-2) 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}
.home-checklist-item::before{
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.home-checklist-note{
  font-size: 13px;
  color: var(--subtle);
  margin: 0;
  line-height: 1.5;
}

/* Cost expectations */
.home-cost-bullets{
  margin: var(--space-4) 0 0;
  padding-left: var(--space-5);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.home-cost-bullets li{ margin: var(--space-1) 0; }

/* Compliance section */
.home-compliance-nz{
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 var(--space-4);
  line-height: 1.5;
}
.home-compliance-links{
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
}
.home-compliance-links li{ margin: var(--space-2) 0; }
.home-compliance-links a{
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.home-compliance-links a:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* Final CTA */
.home-cta-card{
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow);
}
.home-cta-title{
  margin: 0 0 var(--space-3);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}
.home-cta-body{
  font-size: 18px;
  color: var(--muted);
  max-width: 55ch;
  margin: 0 auto var(--space-4);
  line-height: 1.6;
}
.home-cta-card .btn{ margin-bottom: var(--space-2); }
.home-cta-card .cta-helper{ display: block; }

/* Home FAQ */
.home-faq .faq-list{ margin-top: var(--space-4); }

/* Home related guides */
.home-related{ padding-bottom: var(--space-7); }
.home-related ul{ list-style: none; padding: 0; margin: var(--space-4) 0 0; }
.home-related li{ margin: var(--space-2) 0; }
.home-related a{ color: var(--accent); text-decoration: none; font-weight: 500; }
.home-related a:hover{ text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px){
  .home-hero-inner{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .home-hero-content{ text-align: center; }
  .home-hero-subtitle{ margin-left: auto; margin-right: auto; }
  .home-hero-trust{ order: -1; max-width: 400px; margin: 0 auto var(--space-4); }
  .home-value-props-grid{ grid-template-columns: repeat(2, 1fr); }
  .home-use-cases-grid{ grid-template-columns: repeat(2, 1fr); }
  .home-process-steps{ grid-template-columns: repeat(2, 1fr); }
  .home-gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px){
  .home-hero{ min-height: 75vh; }
  .home-hero-title{ font-size: 32px; }
  .home-value-props-grid{ grid-template-columns: 1fr; }
  .home-proof-grid{ grid-template-columns: 1fr; }
  .home-use-cases-grid{ grid-template-columns: 1fr; }
  .home-process-steps{ grid-template-columns: 1fr; }
  .home-gallery-grid{ grid-template-columns: 1fr; }
  .home-who .who-for-grid{ grid-template-columns: 1fr; }
}
