/* Page-specific styles — compact layout, quick scanning */
:root{
  --bolt:#feda3e;
  --ink:#0c0c0d;
  --muted:rgba(0,0,0,.70);
  --surface:#fffef6;
  --card:#ffffff;
  --line:rgba(0,0,0,.08);
}

/* Keep sections airy but short */
.ds-hero,
.ds-cards,
.ds-why,
.ds-process,
.ds-battery,
.ds-faq,
.ds-trust,
.ds-cta{
  padding: clamp(36px,5vw,64px) 0;
}

/* HERO */
.ds-hero{
  margin-top:64px; /* header offset */
  background: linear-gradient(110deg, #fff8d6, #ffffff 60%);
  border-bottom: 1px solid var(--line);
}
.ds-hero__inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(16px,3vw,28px);
  align-items:center;
}
@media (max-width: 900px){
  .ds-hero__inner{ grid-template-columns: 1fr; }
}
.ds-hero__copy h1{
  font-family:"Quicksand";
  font-weight:800;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height:1.12;
  margin: 6px 0 6px;
}
.ds-hero__copy .lead{ color: var(--muted); margin: 0 0 12px; }
.ds-cta-row{ display:flex; gap:.6rem; flex-wrap:wrap }

/* HERO image */
.ds-hero__img{
  margin:0; border-radius:18px; overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 12px 28px rgba(0,0,0,.10);
}
.ds-hero__img img{ display:block; width:100%; height:auto; }

/* 3-UP CARDS */
.ds-cards{ background:#fff; }
.ds-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  height: 100%;
  display: grid;
  gap: 6px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}
.ds-card i{ color:#53c704; font-size:1.3rem; }
.ds-card h3{ font-weight:800; margin: 4px 0; font-size:1.1rem; }
.ds-card p{ margin:0; color:#333 }

/* WHY */
.ds-why .narrow{ max-width: 920px; margin-inline:auto; }
.ds-why h2{ font-family:"Quicksand"; font-weight:800; margin-bottom:6px; }
.ds-why p{ margin:0; }

/* PROCESS */
.ds-process{ background:#fff8d6; }
.ds-process .narrow{ max-width: 880px; margin-inline:auto; }
.ds-process h2{ font-family:"Quicksand"; font-weight:800; margin-bottom:10px; }
.ds-steps{
  list-style: none; padding:0; margin: 0 0 10px;
  display:grid; gap: 8px;
}
.ds-steps li{
  background:#fff; border:1px solid var(--line); border-radius:12px;
  padding:.6rem .7rem; box-shadow:0 6px 16px rgba(0,0,0,.06);
}

/* BATTERY + SEG */
.ds-battery__inner{
  display:grid; gap:14px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 880px){
  .ds-battery__inner{ grid-template-columns: 1fr; }
}

/* FAQ (compact) */
.ds-faq .narrow{ max-width: 820px; margin-inline:auto; }
.ds-faq h2{ font-family:"Quicksand"; font-weight:800; margin-bottom:8px; }
.ds-faq details{
  border:1px solid var(--line);
  border-radius:12px;
  padding:.6rem .8rem;
  background:#fff;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
}
.ds-faq details + details{ margin-top:8px; }
.ds-faq summary{
  font-weight:700; cursor:pointer; outline:none;
}
.ds-faq p{ margin:.45rem 0 0; }

/* TRUST */
.ds-trust{ background:#fff; padding-block: 36px; }
.ds-trust__row{
  display:flex; align-items:center; justify-content:space-between; gap: 1rem;
}
.ds-trust__logos{
  display:flex; align-items:center; gap: 16px;
}
.ds-trust__logos img{
  height: 38px; width:auto; display:block; filter:saturate(96%);
}
@media (max-width: 720px){
  .ds-trust__row{ flex-direction:column; align-items:flex-start; }
}

/* CTA */
.ds-cta{
  background: linear-gradient(180deg, #fffef6, #ffffff);
  border-top:1px solid var(--line);
}
.ds-cta__inner{
  text-align:center;
  display:grid; gap:8px;
}
.ds-cta h2{
  font-family:"Quicksand"; font-weight:800; margin:0;
}
.ds-cta p{ margin:0 0 6px; color:#333 }

/* Tighten footer spacing on this page a bit */
.site-footer{ padding-top: 20px; }

/* Keep total scroll reasonable on phones */
@media (max-width: 576px){
  .ds-hero__copy .lead{ font-size: .98rem; }
  .ds-card p, .ds-why p{ font-size: .98rem; }
}


/* ===== Reference-style split (no cards) ===== */
.ds-slim-split{ padding: clamp(40px,6vw,84px) 0; background:#fff; }

.ds-slim{
  display:grid;
  grid-template-columns: 1.05fr 1fr;     /* image a touch wider like the ref */
  gap: clamp(18px,3vw,36px);
  align-items:center;
  padding-bottom: 40px;
}

.ds-slim__media{
  margin:0; border-radius:18px; overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 12px 28px rgba(0,0,0,.10);
}
.ds-slim__media img{ display:block; width:100%; height:auto; }

.ds-slim__title{
  font-family:"Quicksand"; font-weight:800;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height:1.12; margin:6px 0 8px;
}
.ds-slim__lead{ margin:0 0 8px; color:rgba(0,0,0,.75); max-width:58ch; }

.ds-slim__rule{
  border:0; height:1px; background:rgba(0,0,0,.08);
  margin: clamp(14px,1.8vw,18px) 0;
}

/* Two features with a vertical divider (no card backgrounds) */
.ds-slim__row{
  display:grid;
  grid-template-columns: 1fr auto 1fr;  /* feat | vr | feat */
  align-items:start;
  gap: clamp(14px,2.2vw,22px);
}

.ds-slim__feat{
  display:grid; grid-template-columns:auto 1fr; gap:10px 12px; align-items:start;
}

.ds-slim__icon{
  width:44px; height:44px; border-radius:50%;
  display:grid; place-items:center;
  background:#eef3ff;       /* subtle like ref */
  color:#4a63ff;
  flex:0 0 auto;
}
.ds-slim__icon i{ font-size:1.1rem; line-height:1; }

.ds-slim__feat-title{
  margin:0 0 4px; font-weight:800; font-size:1.05rem; color:#111;
}
.ds-slim__feat-text{ margin:0; color:#333; }

.ds-slim__vr{
  width:1px; height:100%;
  background:rgba(0,0,0,.12);
  align-self:stretch; justify-self:center;
  border-radius:1px;
}

/* Stack on smaller screens; keep it short */
@media (max-width: 992px){
  .ds-slim{ grid-template-columns:1fr; }
  .ds-slim__media{ order:-1; }          /* image first, like the ref */
}
@media (max-width: 640px){
  .ds-slim__row{ grid-template-columns:1fr; gap:14px; }
  .ds-slim__vr{ display:none; }
}

/* Space below the Battery/SEG row before the CTA */
.ds-slim__row{
  margin-bottom: clamp(18px, 4vw, 44px);
}

/* (optional) ensure the CTA itself has a little top margin on very small screens */
@media (max-width: 640px){
  .ds-slim__content .cta{ margin-top: 10px; }
}

.ds-how{ padding: clamp(36px,5vw,64px) 0; }
.ds-how__grid{
  display:grid; gap: clamp(16px,3vw,28px);
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}
@media (max-width: 980px){
  .ds-how__grid{ grid-template-columns: 1fr; }
}

.ds-how__copy h2{ font-family:"Quicksand"; font-weight:800; margin: 6px 0 8px; }
.ds-how__copy .lead{ color: rgba(0,0,0,.75); margin: 0 0 10px; }
.ds-how__detail{ margin: 10px 0 16px; }
.ds-how__detail-title{ margin: 0 0 4px; font-weight:800; font-size:1.05rem; }
.ds-how__detail-text{ margin: 0; }

/* Media card */
.ds-how__media{
  position: relative;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  padding: clamp(14px,1.8vw,18px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

/* Rail with progress */
.how-rail{ position: relative; padding: 18px 6px 8px; }
.how-rail::before{
  content:""; position:absolute; left:24px; right:24px; top:26px;
  height:4px; background:rgba(0,0,0,.12); border-radius:2px;
}
.how-rail__progress{
  position:absolute; left:24px; top:26px; height:4px; width:0%;
  background:#4a63ff; border-radius:2px; transition: width .3s ease;
}
.how-rail__nodes{
  position: relative; display:flex; justify-content: space-between;
  padding: 0 16px;
}

/* Numbered nodes */
.how-node{
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid #4a63ff; background:#fff; color:#4a63ff;
  font-weight: 800; display:grid; place-items:center;
  transition: transform .12s ease, background .2s ease, color .2s ease;
}
.how-node:is(:hover,:focus){ transform: scale(1.05); outline: none; }
.how-node.is-active{ background:#4a63ff; color:#fff; }

/* Panels */
.how-panel{ margin: 8px 0 0; }
.how-panel img{ display:block; width:100%; height:auto; border-radius:18px; }
.how-panel figcaption{
  text-align:center; font-weight:800; font-size: clamp(1rem,1.4vw,1.25rem);
  padding: 10px 6px 2px;
}
/* HOW IT WORKS · swipeable cards */
.ds-steps-carousel{ background:#fffefc; padding-block: clamp(32px,5vw,56px); }
.ds-steps-carousel .steps-head h2{ font-family:"Quicksand"; font-weight:800; margin:0 0 6px; }
.ds-steps-carousel .steps-head .muted{ margin:0 0 12px; color:rgba(0,0,0,.7); }

.ds-steps-carousel .steps-wrap{
  position:relative; display:grid; grid-template-columns: auto 1fr auto; align-items:center; gap:8px;
}
.ds-steps-carousel .steps-nav{
  appearance:none; border:1px solid rgba(0,0,0,.12); background:#fff; width:40px; height:40px;
  border-radius:999px; display:grid; place-items:center; cursor:pointer;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
}
.ds-steps-carousel .steps-nav:disabled{ opacity:.4; cursor:default }

.ds-steps-carousel .steps-track{
  display:grid; grid-auto-flow:column; grid-auto-columns: min(86%, 380px);
  gap:14px; overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:6px;
}
@media (min-width: 920px){
  .ds-steps-carousel .steps-track{ grid-auto-columns: minmax(340px, 1fr); }
}
.ds-steps-carousel .steps-track::-webkit-scrollbar{ height:8px }
.ds-steps-carousel .steps-track::-webkit-scrollbar-thumb{ background:rgba(0,0,0,.12); border-radius:8px }

.ds-steps-carousel .step-card{
  scroll-snap-align:start; background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:16px;
  padding:14px; box-shadow:0 10px 22px rgba(0,0,0,.06); display:grid; align-content:start; gap:8px;
}
.ds-steps-carousel .step-chip{
  display:inline-block; font-weight:800; font-size:.85rem; padding:.25rem .55rem; border-radius:999px;
  background:#fff3b9; border:1px solid rgba(0,0,0,.08);
}
.ds-steps-carousel .step-card h3{ margin:2px 0 0; font-weight:800; }
.ds-steps-carousel .step-card p{ margin:0; color:#333 }
.ds-steps-carousel .step-media{
  margin:4px 0 0; border-radius:12px; overflow:hidden; border:1px solid rgba(0,0,0,.08);
  box-shadow:0 8px 18px rgba(0,0,0,.06);
}
.ds-steps-carousel .step-media img{ display:block; width:100%; height:auto }
.mt-8{ margin-top:8px }


/* PREMIUM STEP CARDS */
.premium-steps {
  padding-block: clamp(50px, 7vw, 90px);
  background:#ffffff;
}

.premium-steps .steps-head {
  text-align:center;
  max-width:780px;
  margin-inline:auto;
  margin-bottom:32px;
}

.premium-steps .steps-head h2 {
  font-family:"Quicksand";
  font-weight:800;
  margin-bottom:8px;
}

.premium-steps .muted {
  color:rgba(0,0,0,.7);
  font-size:1.05rem;
}

/* Track */
.steps-wrap {
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
}

.steps-track {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:min(85%, 320px);
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:10px;
  scroll-behavior:smooth;
}

.steps-track::-webkit-scrollbar { height:8px; }
.steps-track::-webkit-scrollbar-thumb { background:rgba(0,0,0,.15); border-radius:4px; }

/* Cards */
.step-card {
  scroll-snap-align:start;
  text-align:center;
  padding:28px;
  border-radius:22px;
  background:rgba(255,255,255,0.7);
  border:1px solid rgba(0,0,0,.05);
  backdrop-filter:blur(10px);
  box-shadow:0 12px 28px rgba(0,0,0,0.08);
}

.step-icon {
  font-size:2rem;
  color:#53c704;
  margin-bottom:12px;
}

.step-number {
  font-size:2.4rem;
  font-weight:800;
  color:#000;
  display:block;
  margin-bottom:8px;
}

.step-card h3 {
  font-weight:800;
  margin-bottom:6px;
}

.step-card p {
  color:#555;
  font-size:.98rem;
  margin:0;
}

/* Arrows */
.steps-nav {
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.12);
  background:white;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
}

.steps-nav:disabled {
  opacity:.3;
  cursor:default;
}

@media(max-width:768px){
  .steps-wrap { grid-template-columns:1fr; }
  .steps-nav { display:none; }
}


/* Section Background */
.premium-steps {
  padding-block: clamp(50px,7vw,90px);
  background:#fff8d6; /* SAME yellow as home */
}

/* Header */
.premium-steps .steps-head {
  text-align:center;
  max-width:780px;
  margin-inline:auto;
  margin-bottom:32px;
}
.premium-steps .steps-head h2 {
  font-family:"Quicksand";
  font-weight:800;
  margin-bottom:8px;
}
.premium-steps .muted {
  color:rgba(0,0,0,.7);
}

/* Track */
.steps-wrap {
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
}
.steps-track {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:min(85%, 320px);
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:10px;
  scroll-behavior:smooth;
}

/* Cards */
.step-card {
  scroll-snap-align:start;
  text-align:center;
  padding:28px;
  border-radius:20px;
  background:white;
  border:1px solid rgba(0,0,0,.05);
  box-shadow:0 12px 26px rgba(0,0,0,.08);
}
.step-icon {
  font-size:3rem;
  color:#53c704;
  margin-bottom:10px;
}
.step-number {
  font-size:2.2rem;
  font-weight:800;
  color:#000;
  display:block;
  margin-bottom:4px;
}
.step-card h3 { font-weight:800; margin-bottom:6px; }
.step-card p { color:#555; }

/* Arrows */
.steps-nav {
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.2);
  background:white;
  cursor:pointer;
}
.steps-nav:disabled { opacity:.3; }
@media(max-width:768px){
  .steps-nav { display:none; }
}



/* Final CTA - background hero style with 2-column grid */
.final-cta{
  position: relative;
  padding: clamp(44px, 6vw, 84px) 0;
  color: #ffffff;
  background: #3b3b3b; /* soft yellow section background */
  overflow: hidden;
}

.final-cta__bg{
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(66, 66, 66, 0.88), rgba(102, 102, 102, 0.88)),
    url(solar-store-panel-batteries-installation-menai-bridge-wales-uk.jpg) center/cover no-repeat; /* swap to your image */
  filter: saturate(105%) contrast(98%);
  pointer-events: none;
}

.final-cta__grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

@media (max-width: 940px){
  .final-cta__grid{ grid-template-columns: 1fr; }
}

/* Left copy */
.final-cta__copy h2{
  font-family: "Quicksand";
  font-weight: 800;
  margin: 6px 0 10px;
  line-height: 1.12;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}
.final-cta__copy .lead{ color: rgba(255, 255, 255, 0.8); margin-bottom: 10px; }
.final-cta__points{
  list-style: none; padding: 0; margin: 12px 0 0;
  display: grid; gap: 8px;
}
.final-cta__points i{ color:#53c704; margin-right: 6px; }

/* Right form */
.final-cta__formwrap{
  background:#000000cc;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: clamp(14px, 2.2vw, 20px);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}

.final-cta__form .form-two{
  display: grid; gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 10px;
}
@media (max-width: 640px){
  .final-cta__form .form-two{ grid-template-columns: 1fr; }
}

.final-cta__form .form-field{ display: grid; gap: 6px; }
.final-cta__form label{ font-weight: 700; font-size: .95rem; }
.final-cta__form input,
.final-cta__form select,
.final-cta__form textarea{
  width: 100%; border:1px solid rgba(0,0,0,.14);
  border-radius: 12px; padding: .7rem .85rem; font: inherit;
  background:#fff;
}
.final-cta__form input:focus,
.final-cta__form select:focus,
.final-cta__form textarea:focus{
  outline: none; border-color: #feda3e;
  box-shadow: 0 0 0 4px rgba(254,218,62,.25);
}

/* Submit - center and fluid */
.final-cta__submit{
  display: grid; gap: 6px; justify-items: center; margin-top: 6px;
}
.cta.cta--block{
  width: 100%; justify-content: center;
}

.ds-addons {
  padding-top: 5px;
  padding-bottom: 120px;
}

.ds-addon-box {
  text-align: left;
}

.ds-addon-box h2 {
  margin-top: 15px;
  margin-bottom: 12px;
}

.addon-icon {
  font-size: 52px;
  color: #53c704; /* Solar Store green */
  display: inline-block;
  margin-bottom: 12px;
}

/* adjust responsive alignment */
@media (max-width: 768px) {
  .ds-addon-box {
    text-align: center;
    margin-bottom: 40px;
  }
}
