/* Ellipse Solar: mobile-first stylesheet
   Palette from the logo: sun orange #F36A25, wordmark navy #1A213D */

@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("assets/fonts/zilla-slab-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("assets/fonts/zilla-slab-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --sun: #F36A25;          /* logo orange: buttons (navy text on it), accents */
  --sun-soft: #FDE8DC;
  --rust: #B04516;         /* orange for small text/links, AA on off-white */
  --ink: #1A213D;          /* logo navy: text + dark bands */
  --ink-2: #4A4F63;        /* secondary text, 7.6:1 on off-white */
  --paper: #FAF6F0;        /* page background */
  --paper-2: #F3ECE2;      /* alternate band */
  --white: #FFFFFF;
  --line: #E4D9CB;
  --line-strong: #CDBFAE;

  --f-head: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;   /* 17px body */
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: 1.875rem;
  --step-4: 2rem;

  --gap: 1.25rem;
  --wrap: 72rem;
  --radius: 6px;
  --header-h: 64px;
}

@media (min-width: 900px) {
  :root {
    --step-0: 1.125rem;  /* 18px */
    --step-2: 1.75rem;
    --step-3: 2.375rem;
    --step-4: 3.125rem;
    --gap: 2rem;
    --header-h: 76px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  padding-bottom: 76px; /* room for mobile sticky bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.btn-wa:focus-visible, .chip:focus-visible { outline-color: var(--ink); }
.kusum :focus-visible, .contact :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 900px) { .wrap { padding: 0 2rem; } }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.small { font-size: var(--step--1); color: var(--ink-2); }
.hint { font-size: var(--step--1); color: var(--ink-2); margin: .4rem 0 0; }
.light { color: rgba(255,255,255,.78); }

/* Placeholder text: easy to spot, remove when filled */
.todo { background: #FFF1B8; color: #5B4300; padding: 0 .25em; border-radius: 3px; font-size: .92em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.kusum .todo, .contact .todo { background: #FFE58A; color: #3D2D00; }

/* Eyebrow with a short sun-ray rule */
.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rust); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 3px; background: var(--sun); border-radius: 2px; flex: none; }
.eyebrow-light { color: #FFB48C; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.25rem;
  font: 700 1rem/1.2 var(--f-body); text-decoration: none; letter-spacing: .01em;
  border-radius: var(--radius); border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn .ico { width: 1.25em; height: 1.25em; flex: none; }
.btn-wa { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.btn-wa:hover { background: #F7894F; border-color: #F7894F; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: .5rem .9rem; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: .85rem 1.4rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

.link, .link-wa { font-weight: 700; color: var(--rust); text-decoration: none; border-bottom: 2px solid var(--sun-soft); padding: .55rem 0 .15rem; display: inline-block; }
.link:hover, .link-wa:hover { color: var(--ink); border-color: var(--sun); }
.link-wa::after, .link::after { content: " →"; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; background: transparent; color: var(--ink); border-radius: var(--radius); cursor: pointer;
}
.icon-btn .ico { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 246, 240, .96);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand img { height: 46px; width: auto; }
@media (min-width: 900px) { .brand img { height: 54px; } }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.hide-sm { display: none; }
.show-sm { display: inline-grid; }

.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav { display: none; }
.nav.open {
  display: block; position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(26,33,61,.08);
}
.nav ul { list-style: none; padding: .5rem 1.25rem 1rem; }
.nav a { display: block; padding: .8rem 0; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav li:last-child a { border-bottom: 0; }

@media (min-width: 1080px) {
  .menu-btn, .show-sm { display: none; }
  .hide-sm { display: inline-flex; }
  .nav, .nav.open { display: block; position: static; box-shadow: none; border: 0; background: none; margin-left: 1.5rem; }
  .nav ul { display: flex; gap: 1.4rem; padding: 0; }
  .nav a { border: 0; padding: .5rem 0; font-size: .98rem; position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
  .nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
}

/* ---------- Photo placeholders ---------- */
.ph {
  margin: 0; position: relative; display: grid; place-items: center; text-align: center;
  min-height: 220px; padding: 1.25rem;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(176,69,22,.05) 14px 15px),
    var(--paper-2);
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  color: var(--ink-2); font-size: .92rem; font-weight: 600;
}
.ph span { max-width: 26ch; }
.ph-dark { background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.04) 14px 15px), #252D4E; border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.8); }

/* ---------- Hero ---------- */
.hero { padding: 2rem 0 2.5rem; }
.hero-grid { display: grid; gap: 1.75rem; }
.hero h1 { max-width: 20ch; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 38rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.cta-row .btn { flex: 1 1 15rem; }
@media (min-width: 640px) { .cta-row .btn { flex: 0 0 auto; } }
.hero-photo { min-height: 0; aspect-ratio: 4 / 3; }

.trust { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); margin-top: .5rem; }
.trust li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.trust strong { font-weight: 700; }
.trust span { color: var(--ink-2); text-align: right; }
.star { color: var(--sun); }

@media (min-width: 640px) {
  .trust { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .trust li { flex-direction: column; justify-content: flex-start; gap: .1rem; border-bottom: 0; padding: 1rem 1rem 1rem 0; }
  .trust li + li { border-left: 1px solid var(--line); padding-left: 1rem; }
  .trust span { text-align: left; }
}
@media (min-width: 900px) {
  .hero { padding: 3.5rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
  .hero-photo { aspect-ratio: 4 / 5; min-height: 0; height: 100%; max-height: 600px; }
}

/* ---------- About ---------- */
.about { background: var(--white); border-block: 1px solid var(--line); padding: 3rem 0; }
.about-grid { display: grid; gap: 1rem; }
.about h2 { max-width: 18ch; }
.about-body p { max-width: 40rem; }
.scope { list-style: none; counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.scope li { counter-increment: s; padding: .75rem 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .98rem; }
.scope li::before { content: counter(s, decimal-leading-zero); color: var(--rust); font: 700 .8rem var(--f-body); margin-right: .55rem; }
@media (min-width: 900px) {
  .about { padding: 5rem 0; }
  .about-grid { grid-template-columns: 1fr 1.3fr; gap: 4rem; }
  .scope { grid-template-columns: repeat(3, 1fr); column-gap: 1.5rem; }
}

/* ---------- Generic sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--paper-2); }
.section-head { margin-bottom: 2rem; max-width: 40rem; }
.section-head p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .section { padding: 5.5rem 0; } .section-head { margin-bottom: 3rem; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; box-shadow: 0 1px 0 rgba(26,33,61,.04); }
@media (min-width: 640px) { .card { padding: 1.75rem; } }

/* ---------- Services: numbered editorial list ---------- */
.service-list { border-top: 2px solid var(--ink); }
.service { display: grid; grid-template-columns: 1fr; gap: .25rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .service { grid-template-columns: 3rem 1fr; gap: .5rem; } }
.num { font: 700 1.15rem/1.4 var(--f-head); color: var(--rust); }
.service-body > p { max-width: 42rem; }
.service-body h3 { font-size: var(--step-2); }
@media (min-width: 900px) {
  .service-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
  .service { grid-template-columns: 3.5rem 1fr; padding: 2.25rem 0; }
  .service-wide { grid-column: 1 / -1; }
}

.table-wrap { margin: 1rem 0 1.25rem; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
/* Mobile: each system is a stacked card */
.compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
.compare tr { background: var(--white); border: 1px solid var(--line); border-radius: 8px; margin-bottom: .75rem; padding: .25rem 1rem .5rem; }
.compare tr.pick { border-color: var(--sun); box-shadow: inset 4px 0 0 var(--sun); }
.compare tbody th { text-align: left; font: 700 1.2rem var(--f-head); padding: .6rem 0 .4rem; border-bottom: 1px solid var(--line); }
.compare td { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.compare td:last-child { border-bottom: 0; }
.compare td::before { content: attr(data-label); font-weight: 700; color: var(--ink-2); font-size: .88rem; }
@media (min-width: 900px) {
  .compare { display: table; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
  .compare thead { position: static; width: auto; height: auto; clip: auto; display: table-header-group; }
  .compare tbody { display: table-row-group; }
  .compare tr { display: table-row; border: 0; padding: 0; margin: 0; box-shadow: none; }
  .compare tr.pick { box-shadow: none; }
  .compare th, .compare td { display: table-cell; padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
  .compare td::before { content: none; }
  .compare thead th { font: 700 .82rem var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); background: var(--paper); border-bottom: 2px solid var(--ink); }
  .compare tbody th { font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .compare tr.pick th { color: var(--rust); }
  .compare tbody tr:last-child > * { border-bottom: 0; }
  .compare td:first-of-type { width: 34%; }
}

/* ---------- Catalogue ---------- */
.catalogue-grid { display: grid; gap: 2rem; }
.catalogue-intro .ph-tall { margin-top: 1.5rem; aspect-ratio: 16 / 10; min-height: 0; }
.parts { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.parts > div { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.parts > div:last-child { border-bottom: 0; }
.parts dt { font: 700 var(--step-1)/1.3 var(--f-head); margin-bottom: .25rem; }
.parts dd { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .catalogue-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
  .parts > div { display: grid; grid-template-columns: 13rem 1fr; gap: 1.5rem; padding: 1.25rem 1.75rem; }
}

/* ---------- Calculator ---------- */
.calc-section { background: var(--white); border-block: 1px solid var(--line); }
.calc-grid { display: grid; gap: 1.75rem; }
.calc { border-top: 4px solid var(--sun); }
.seg { border: 0; padding: 0; margin: 0 0 1.25rem; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.seg legend { font-weight: 700; font-size: .95rem; margin-bottom: .5rem; padding: 0; width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 600; font-size: .95rem; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

.field { display: block; font-weight: 700; font-size: .95rem; margin: 0 0 .4rem; }
.input {
  width: 100%; min-height: 48px; padding: .6rem .85rem;
  font: 400 1.0625rem var(--f-body); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
}
.input:focus { outline: 3px solid var(--sun); outline-offset: 0; border-color: var(--ink); }
.input-lg { font-size: 1.5rem; font-weight: 700; min-height: 58px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 1.25rem; }
.chip { min-height: 44px; min-width: 64px; padding: 0 .9rem; border: 1.5px solid var(--line-strong); background: var(--paper); border-radius: 999px; font: 600 .95rem var(--f-body); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--sun); background: var(--sun-soft); }

.calc-result { border-top: 1px solid var(--line); padding-top: 1.1rem; margin-bottom: 1.25rem; }
.calc-big { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.calc-big .label { font-weight: 700; }
.calc-big output { font: 700 2.5rem/1 var(--f-head); color: var(--ink); }
.calc-rows { margin: 0; }
.calc-rows > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.calc-rows dt { color: var(--ink-2); }
.calc-rows dd { margin: 0; font-weight: 700; text-align: right; }
@media (min-width: 900px) {
  .calc-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .calc-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 2.5rem; }
.why-note { border-left: 4px solid var(--sun); padding-left: 1.25rem; }
.why-note h2 { max-width: 16ch; }
.why-note p { max-width: 36rem; }
.sign { font: 700 1.1rem var(--f-head); margin-top: 1.5rem; }
.sign span { font: 400 .95rem var(--f-body); color: var(--ink-2); }
.reasons { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.reasons li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.reasons h3 { margin-bottom: .3rem; }
.reasons p { margin: 0; color: var(--ink-2); }
@media (min-width: 640px) {
  .reasons { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
@media (min-width: 900px) {
  .why-grid { grid-template-columns: .85fr 1.15fr; gap: 4.5rem; align-items: start; }
  .why-note { position: sticky; top: calc(var(--header-h) + 2rem); padding-left: 1.75rem; }
}

/* ---------- Process (vertical timeline) ---------- */
.process-grid { display: grid; gap: 1rem; }
.steps { list-style: none; counter-reset: st; position: relative; }
.steps li { counter-increment: st; position: relative; padding: 0 0 1.75rem 3.75rem; }
.steps li::before {
  content: counter(st); position: absolute; left: 0; top: -.15rem;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  background: var(--sun); color: var(--ink); border-radius: 50%;
  font: 700 1.1rem var(--f-head);
}
.steps li::after { content: ""; position: absolute; left: calc(1.25rem - 1px); top: 2.6rem; bottom: .2rem; width: 2px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps li:last-child { padding-bottom: 0; }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .process-grid { grid-template-columns: .9fr 1.1fr; gap: 4.5rem; align-items: start; }
  .sticky-head { position: sticky; top: calc(var(--header-h) + 2rem); }
  .steps li { padding-left: 4.5rem; padding-bottom: 2.25rem; }
  .steps li::before { width: 3rem; height: 3rem; font-size: 1.25rem; }
  .steps li::after { left: calc(1.5rem - 1px); top: 3.2rem; }
}

/* ---------- PM-KUSUM (dark band) ---------- */
.kusum { background: var(--ink); color: #fff; padding: 3.5rem 0; }
.kusum h2 { color: #fff; }
.kusum h3 { color: #fff; margin-top: 1.75rem; font-size: var(--step-1); }
.kusum p { color: rgba(255,255,255,.88); max-width: 40rem; }
.kusum a:not(.btn) { color: #FFB48C; }
.kusum-grid { display: grid; gap: 2rem; }
.ticks { list-style: none; }
.ticks li { position: relative; padding: .45rem 0 .45rem 1.75rem; color: rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.12); }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .95rem; width: .7rem; height: .4rem; border-left: 2.5px solid var(--sun); border-bottom: 2.5px solid var(--sun); transform: rotate(-45deg); }
.kusum-steps { padding-left: 1.4rem; }
.kusum-steps li { padding: .35rem 0 .35rem .3rem; color: rgba(255,255,255,.9); }
.kusum-steps li::marker { color: var(--sun); font-weight: 700; font-family: var(--f-head); }
.kusum-photo { min-height: 0; aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .kusum { padding: 6rem 0; }
  .kusum-grid { grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: start; }
  .kusum-photo { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Gallery: uneven grid ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; display: flex; flex-direction: column; }
.gallery .ph, .gallery img { flex: 1; min-height: 150px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); width: 100%; }
.gallery .ph { font-size: .82rem; padding: .75rem; }
.gallery figcaption { font-size: .85rem; color: var(--ink-2); padding-top: .45rem; font-weight: 600; }
.gallery .g-a, .gallery .g-f { grid-column: 1 / -1; }
.gallery .g-a .ph, .gallery .g-a img, .gallery .g-f .ph, .gallery .g-f img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 1.25rem; }
  .gallery figure { min-height: 0; }
  .gallery .ph, .gallery img, .gallery .g-a .ph, .gallery .g-a img, .gallery .g-f .ph, .gallery .g-f img { aspect-ratio: auto; min-height: 0; }
  .gallery .g-a { grid-column: span 2; grid-row: span 2; }
  .gallery .g-b { grid-column: span 2; }
  .gallery .g-e { grid-column: span 2; }
  .gallery .g-f { grid-column: span 2; }
}

/* ---------- Reviews ---------- */
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem; }
.section-head-row h2 { margin-bottom: 0; }
.google-score { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .75rem 1rem; min-height: 44px; font-size: .95rem; line-height: 1.35; }
.google-score .score { font: 700 1.6rem var(--f-head); display: flex; align-items: center; gap: .2rem; }
.google-score u { color: var(--rust); text-decoration-thickness: 1.5px; }
.reviews { display: grid; gap: 1rem; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem 1.4rem 1.2rem; position: relative; }
.review::before { content: ""; position: absolute; top: -1px; left: 1.4rem; width: 2.5rem; height: 4px; background: var(--sun); border-radius: 0 0 2px 2px; }
.review p { margin-top: .4rem; font-size: 1.05rem; }
.review footer { font-size: .92rem; color: var(--ink-2); }
@media (min-width: 640px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .reviews { gap: 1.5rem; align-items: start; }
  .review:nth-child(even) { margin-top: 2.5rem; }
}

/* ---------- Money ---------- */
.money { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.money section { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.money h3 { font-size: var(--step-2); }
.money p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .money { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
@media (min-width: 1080px) {
  .money { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .money section { padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 0; }
  .money section + section { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}

/* ---------- Branches ---------- */
.branches { display: grid; gap: 1rem; }
.branch { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem; }
.branch h3 { font-size: var(--step-2); margin-bottom: .4rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rust); margin-bottom: .5rem; }
.branch address { margin-bottom: .75rem; }
.branch-meta { color: var(--ink-2); }
.branch-meta a { font-weight: 700; display: inline-block; padding: .35rem 0; }
.branch-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; margin: 0; }
.map { margin-top: 1.25rem; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 768px) {
  .branches { grid-template-columns: 1fr 1fr; }
  .branch-main { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: stretch; }
  .branch-main .map { margin-top: 0; aspect-ratio: auto; min-height: 280px; }
}
@media (min-width: 900px) { .branch { padding: 2rem; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: .5rem; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.1rem 0; min-height: 56px;
  font: 700 var(--step-1)/1.3 var(--f-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 2rem; height: 2rem; display: grid; place-items: center; border: 1.5px solid var(--line-strong); border-radius: 50%; font: 400 1.3rem/1 var(--f-body); color: var(--rust); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--rust); }
.faq details p { color: var(--ink-2); max-width: 44rem; padding-bottom: .5rem; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: .75fr 1.25fr; gap: 4rem; align-items: start; }
}

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #fff; padding: 3.5rem 0; }
.contact h2 { color: #fff; max-width: 18ch; }
.contact p { color: rgba(255,255,255,.85); }
.contact-grid { display: grid; gap: 2rem; }
.call-big { display: inline-flex; align-items: center; gap: .9rem; color: #fff; text-decoration: none; margin: .5rem 0 .75rem; padding: .5rem 0; }
.call-big .ico { width: 2.75rem; height: 2.75rem; padding: .7rem; border: 2px solid var(--sun); border-radius: 50%; color: var(--sun); flex: none; }
.call-big span { font: 700 1.75rem/1.1 var(--f-head); }
.call-big small { display: block; font: 600 .85rem var(--f-body); color: rgba(255,255,255,.75); letter-spacing: .05em; text-transform: uppercase; }
.call-big:hover span { color: #FFB48C; }
.enquiry { color: var(--ink); }
.field-group { margin-bottom: 1rem; }
.form-error { color: #A11D1D; font-weight: 700; font-size: .95rem; }
.contact .enquiry .hint { text-align: center; margin-top: .75rem; color: var(--ink-2); }
.contact .enquiry .form-error { color: #A11D1D; }
@media (min-width: 900px) {
  .contact { padding: 6rem 0; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .enquiry .field-group:nth-child(-n+4) { margin-bottom: 1.1rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 3rem 0 0; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand img { height: 56px; width: auto; margin-bottom: .75rem; }
.footer-brand p { color: var(--ink-2); max-width: 22rem; }
.footer-h { font: 700 .8rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--rust); margin-bottom: .5rem; }
.footer-list { list-style: none; }
.footer-list a, .footer-list > li > span { display: inline-block; padding: .55rem 0; color: var(--ink); text-decoration: none; }
.footer-list a:hover { color: var(--rust); text-decoration: underline; }
.footer-base { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.25rem; padding-bottom: 1.25rem; color: var(--ink-2); font-size: .88rem; }
.footer-base p { margin: 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Sticky mobile bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 2fr; gap: .6rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(26,33,61,.08);
}
.sticky-bar .btn { min-height: 50px; }
@media (min-width: 900px) { .sticky-bar { display: none; } }

/* ---------- Popup ---------- */
.popup {
  border: 0; padding: 1.5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); width: 100%; max-width: 100%;
  margin: auto 0 0; border-radius: 16px 16px 0 0;
  background: var(--white); color: var(--ink);
  box-shadow: 0 -10px 40px rgba(26,33,61,.2);
  max-height: 88vh; overflow-y: auto;
}
.popup[open] { animation: rise .25s ease-out; }
.popup::backdrop { background: rgba(26,33,61,.45); }
.popup h2 { font-size: 1.5rem; padding-right: 2.5rem; margin-bottom: .25rem; }
.popup .field { margin-top: .85rem; }
.popup .btn { margin-top: 1.1rem; }
.popup-close-form { position: absolute; top: .6rem; right: .6rem; margin: 0; }
.popup-x { width: 44px; height: 44px; border: 0; background: var(--paper); border-radius: 50%; font-size: 1.6rem; line-height: 1; color: var(--ink); cursor: pointer; }
.popup-x:hover { background: var(--paper-2); }
.popup-call { display: block; text-align: center; padding: .8rem 0 0; font-weight: 700; min-height: 44px; }
@media (min-width: 640px) {
  .popup { margin: auto; max-width: 26rem; border-radius: 14px; padding: 2rem; box-shadow: 0 20px 60px rgba(26,33,61,.25); }
  .popup[open] { animation: fade .2s ease-out; }
}
@keyframes rise { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Gentle fade-in ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .popup[open] { animation: none; }
}

/* ---------- District pages ---------- */
.crumbs { font-size: .9rem; color: var(--ink-2); margin-bottom: 1.5rem; }
.crumbs a { color: var(--ink-2); }
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.areas li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font-size: .95rem; }
.local-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .local-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }

@media print {
  .site-header, .sticky-bar, .popup, .map { display: none !important; }
  body { padding: 0; background: #fff; }
}
.reasons-1 { grid-template-columns: 1fr !important; }
.hero-grid > *, .service-body, .calc-grid > *, .why-grid > *, .process-grid > *, .kusum-grid > *, .faq-grid > *, .contact-grid > *, .catalogue-grid > *, .local-grid > * { min-width: 0; }

/* ---------- Photos ---------- */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.photo { border-radius: 10px; }
.trust a { color: var(--rust); font-weight: 600; text-align: right; }
@media (min-width: 640px) { .trust a { text-align: left; } }

/* 30-year highlight */
.warranty-badge { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0 0; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: 8px; }
.warranty-badge strong { font: 700 1.9rem/1 var(--f-head); white-space: nowrap; }
.warranty-badge span { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.big-figure strong { display: block; font: 700 2.25rem/1.05 var(--f-head); color: var(--ink); }
.big-figure { margin-bottom: .5rem; }

/* Reviews band */
.rating-band { display: grid; gap: 1.5rem; align-items: center; }
.rating-band h2 { margin-bottom: .4rem; }
.rating-band p:last-child { margin: 0; color: var(--ink-2); }
.google-score .star { font-size: 1rem; letter-spacing: .05em; }
@media (min-width: 768px) { .rating-band { grid-template-columns: 1fr auto; } }

/* Paperwork list */
.paperwork { margin-top: 2.5rem; background: var(--paper-2); border-radius: 10px; padding: 1.4rem 1.25rem; }
.paperwork h3 { font-size: var(--step-2); }
.paperwork ul { list-style: none; display: grid; gap: 0; margin-top: .5rem; }
.paperwork li { padding: .55rem 0 .55rem 1.5rem; position: relative; border-bottom: 1px solid var(--line); }
.paperwork li:last-child { border-bottom: 0; }
.paperwork li::before { content: ""; position: absolute; left: .1rem; top: 1.05rem; width: .65rem; height: .35rem; border-left: 2.5px solid var(--sun); border-bottom: 2.5px solid var(--sun); transform: rotate(-45deg); }
@media (min-width: 900px) {
  .paperwork { padding: 2rem 2.25rem; display: grid; grid-template-columns: 1fr 1.3fr; column-gap: 3rem; }
  .paperwork h3, .paperwork > p { grid-column: 1; }
  .paperwork ul { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
.credits { list-style: none; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.credits li { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.credits strong { color: var(--ink); }
@media (max-width: 479px) { .warranty-badge { flex-direction: column; align-items: flex-start; gap: .35rem; } }
