/* Layout and components. Colours, fonts and rounding come from theme.css. */

/* Self-hosted variable fonts (Latin set). One file per family covers every weight we use. */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--primary-deep); color: #e8edf3; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-text);
  margin-bottom: .75rem;
}
.section-dark .eyebrow { color: var(--primary); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.section-dark .section-head p:not(.eyebrow) { color: #b8c4d2; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: .85em 1.4em;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--primary-deep); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--bg); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: .55em 1.05em; font-size: .9rem; }
.btn-block { width: 100%; }

/* Logo */
.brand-mark { width: auto; height: 56px; }
.mark-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: #fff; }
.mark-badge img { width: auto; height: 41px; }
.mark-badge-sm { width: 38px; height: 38px; }
.mark-badge-sm img { height: 29px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-text {
  display: flex; flex-direction: column;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.1;
  color: var(--logo-text);
}
.brand-text small { font-family: var(--font); font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); }
.site-nav a:not(.btn):hover { color: var(--primary-text); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .94rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--success-bg) center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%230c2236' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border: 1px solid var(--primary);
}
.hero-art { position: relative; }
/* With a real photo: portrait frame, illustration hidden, card overlapping the corner */
.hero-art:has(.hero-photo) { aspect-ratio: 4 / 5; width: 100%; max-width: 430px; justify-self: end; }
.hero-art:has(.hero-photo) .hero-svg { display: none; }
.hero-art:has(.hero-photo) .hero-card { left: -36px; bottom: 28px; }
.hero-svg { width: 100%; height: auto; }
.hero-svg .sun { fill: var(--primary); }
.hero-svg .rays line { stroke: var(--primary); stroke-width: 6; stroke-linecap: round; }
.hero-svg .roof { fill: var(--primary-deep); }
.hero-svg .panels path { fill: #2a5b8a; stroke: #9cc3e6; stroke-width: 2; }
.hero-svg .panels .faint { opacity: .55; }
.hero-svg .wall { fill: #fff; stroke: var(--line); stroke-width: 3; }
.hero-svg .window { fill: #d9e8f5; }
.hero-svg .door { fill: var(--primary-deep); opacity: .85; }
.hero-svg .ground { stroke: var(--line); stroke-width: 4; stroke-linecap: round; }
.hero-card {
  position: absolute; left: 0; bottom: 8%;
  display: flex; flex-direction: column; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 14px 18px; box-shadow: 0 14px 34px rgba(12, 34, 54, .12);
  font-size: .86rem; color: var(--muted); max-width: 250px;
}
.hero-card strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.hero-card-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* Trust strip */
.trust { background: var(--primary-deep); color: #fff; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 20px 0; font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.trust-row span { display: flex; align-items: center; gap: 10px; }
.trust-row span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: var(--bg); }
.why-card p { color: var(--muted); margin: 0; }
.icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--success-bg); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--primary-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Services */
.group-title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 18px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 52px; }
.service { background: var(--bg); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--line); }
.service::before { content: ""; display: block; width: 32px; height: 4px; border-radius: 2px; background: var(--primary); margin-bottom: 16px; }
.service p { color: var(--muted); margin: 0; font-size: .96rem; }
.elec-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.elec-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.elec-list strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps li { position: relative; padding-top: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: .96rem; }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--primary-deep);
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 30px; left: 56px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}

/* Packages */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pkg {
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg); padding: 26px;
}
.pkg-featured { border-color: var(--primary); background: rgba(242, 169, 0, .07); box-shadow: 0 0 0 1px var(--primary), 0 24px 50px rgba(0, 0, 0, .25); }
.pkg-tag { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: .5rem; }
.pkg h3 { font-size: 1.3rem; }
.pkg-lead { color: #c8d3de; font-size: .96rem; }
.pkg-spec { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.pkg-spec span {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 4px 10px;
}
.pkg-best { font-size: .88rem; color: #9fb0c3; }
.pkg-best strong { color: #e8edf3; }
.pkg ul { list-style: none; padding: 0; margin: 4px 0 14px; }
.pkg li { padding: 6px 0 6px 22px; position: relative; font-size: .95rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pkg li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border-radius: 2px; background: var(--primary); }
.pkg-note { font-size: .88rem; color: #9fb0c3; }
.pkg-price { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: #fff; margin: auto 0 16px; white-space: nowrap; }
.pkg-price span { font-family: var(--font); font-size: .82rem; font-weight: 500; color: #9fb0c3; }
.pkg-includes {
  margin-top: 28px; padding: 20px 24px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: .94rem;
}
.pkg-includes span { background: rgba(255, 255, 255, .08); padding: 4px 12px; border-radius: 999px; }
.pkg-includes p { flex-basis: 100%; margin: 4px 0 0; font-size: .85rem; color: #9fb0c3; }

/* Upgrade buttons on the cards */
.pkg-amount { font: inherit; }
.pkg-upgrades { display: grid; gap: 8px; margin: 4px 0 18px; }
.pkg-upgrades-title { margin: 0 0 2px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: #fff; }
.pkg-upgrades-title small { font-family: var(--font); font-weight: 500; color: #9fb0c3; margin-left: 6px; }
.upgrade {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 10px 12px; border-radius: var(--radius); cursor: pointer; text-align: left;
  font: inherit; font-size: .9rem; color: #e8edf3;
  background: transparent; border: 1px dashed rgba(255, 255, 255, .28);
  transition: background .15s, border-color .15s;
}
.upgrade:hover { border-color: var(--primary); }
.upgrade em { font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--primary); white-space: nowrap; }
.upgrade[aria-pressed="true"] { background: var(--primary); border: 1px solid var(--primary); color: var(--primary-deep); }
.upgrade[aria-pressed="true"] em { color: var(--primary-deep); }
.upgrade[aria-pressed="true"] span::before { content: "✓ "; font-weight: 800; }
.pkg-upgrades-none { font-size: .88rem; color: #9fb0c3; font-style: italic; margin: 4px 0 18px; }
.pkg-upnote { margin: -10px 0 14px; font-size: .84rem; color: var(--primary); }

/* Supply-only kit, kept apart from the installed systems */
.pkg-kit {
  margin-top: 28px; padding: 22px 24px; border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.pkg-kit h3 { font-size: 1.1rem; }
.pkg-kit p:not(.pkg-tag):not(.pkg-price) { margin: 0; color: #b8c4d2; font-size: .94rem; max-width: 640px; }
.pkg-kit-buy { display: flex; align-items: center; gap: 18px; flex: none; }
.pkg-kit-buy .pkg-price { margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.tile { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.tile-tall { grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.ph { position: absolute; inset: 0; }
.ph::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .10) 0 2px, transparent 2px 34px);
}
.ph-1 { background: linear-gradient(160deg, #1f4d78, #0c2236); }
.ph-2 { background: linear-gradient(160deg, #6b7a89, #2c3a48); }
.ph-3 { background: linear-gradient(160deg, #3d6e94, #17324d); }
.ph-4 { background: linear-gradient(160deg, #f2a900, #b86e00); }
.ph-5 { background: linear-gradient(160deg, #2a5b8a, #0f2a44); }
.ph-6 { background: linear-gradient(160deg, #8c99a6, #46525e); }
.tile figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(8, 24, 40, .78); color: #fff; font-size: .84rem; font-weight: 500;
  padding: 5px 12px; border-radius: 999px;
}

/* Credentials */
.cred-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 8px 0 0; }
.check-list li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 12px;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: var(--primary-deep); font-size: .8rem; font-weight: 800;
}
.warranty-card { background: var(--primary-deep); color: #dfe6ee; border-radius: var(--radius-lg); padding: 30px; }
.warranty-card h3 { color: #fff; font-size: 1.3rem; }
.warranty-card dl { margin: 18px 0; }
.warranty-card dl div { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.warranty-card dt { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--primary); min-width: 96px; }
.warranty-card dd { margin: 0; }
.warranty-card p { font-size: .9rem; color: #9fb0c3; margin: 0; }

/* About: the person behind the business */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.about-photo { margin: 0; position: sticky; top: 96px; }
.about-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(12, 34, 54, .16);
}
.about-photo figcaption { margin-top: 12px; font-size: .88rem; color: var(--muted); text-align: center; }
.about-copy p:not(.eyebrow):not(.signature) { font-size: 1.06rem; color: var(--muted); }
.about-copy p:nth-of-type(2) { color: var(--ink); font-size: 1.14rem; }
.signature {
  margin: 24px 0 28px; padding-left: 16px; border-left: 3px solid var(--primary);
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--ink); line-height: 1.3;
}
.signature span { display: block; font-family: var(--font); font-weight: 500; font-size: .9rem; color: var(--muted); }
.promise { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; }
.promise h3 { font-size: 1.15rem; margin-bottom: 4px; }
.promise ul { list-style: none; padding: 0; margin: 10px 0 0; }
.promise li { position: relative; padding: 11px 0 11px 32px; border-top: 1px solid var(--line); font-weight: 500; }
.promise li::before {
  content: "✓"; position: absolute; left: 0; top: 11px;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: var(--primary-deep); font-size: .78rem; font-weight: 800;
}

.reviews-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  font-family: var(--font-head); font-weight: 700; color: var(--ink); text-decoration: none;
  padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg);
}
.reviews-link:hover { border-color: var(--primary); }
.stars { color: var(--primary); letter-spacing: 2px; }

/* Urgent call-out in the contact section */
.urgent {
  display: flex; flex-direction: column; gap: 4px; margin: 24px 0 8px; padding: 16px 18px;
  border-radius: var(--radius-lg); background: rgba(242, 169, 0, .12); border: 1px solid rgba(242, 169, 0, .45);
  text-decoration: none; color: #e8edf3; transition: background .15s;
}
.urgent:hover { background: rgba(242, 169, 0, .2); }
.urgent strong { font-family: var(--font-head); color: var(--primary); font-size: 1.05rem; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-grid > div > p { color: #b8c4d2; font-size: 1.06rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact-list span { width: 64px; color: #9fb0c3; font-size: .9rem; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--primary); }
.quote-form { background: var(--bg); color: var(--ink); border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.field { margin-bottom: 16px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 14px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink);
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--success-bg); }
.form-status { margin: 14px 0 0; font-size: .92rem; min-height: 1.2em; }
.form-status.ok { color: #1b7a43; }
.form-status.error { color: #b3261e; }

/* Footer */
.site-footer { background: var(--footer-bg); color: #9fb0c3; padding: 36px 0; font-size: .9rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.brand-footer .brand-text { color: #fff; }
.brand-footer .brand-text small { color: #9fb0c3; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--primary); }
.copyright { margin: 0; flex-basis: 100%; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); }

/* Chat panel */
.chatbot-widget {
  position: fixed; right: 20px; bottom: 92px; z-index: 60;
  width: min(360px, calc(100% - 32px)); height: min(500px, calc(100vh - 120px));
  display: none; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(12, 34, 54, .22); overflow: hidden;
}
.chatbot-widget.open { display: flex; }
.chatbot-widget.fullscreen { inset: 16px; width: auto; height: auto; }
.chatbot-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--primary-deep); color: #fff; }
.chatbot-title { display: flex; align-items: center; gap: 10px; }
.chatbot-title h3 { margin: 0; font-size: 1rem; color: #fff; }
.chatbot-title span { font-size: .76rem; color: #9fb0c3; }
.chatbot-header-buttons { display: flex; gap: 4px; }
.chatbot-header button { background: none; border: 0; color: #fff; cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-size: 1rem; }
.chatbot-header button:hover { background: rgba(255, 255, 255, .1); }
.chatbot-header svg { width: 18px; height: 18px; }
.chatbot-messages { flex: 1; overflow: auto; padding: 14px; display: grid; gap: 8px; align-content: start; background: var(--bg-soft); }
.chat-msg { padding: 9px 13px; border-radius: 14px; max-width: 85%; font-size: .92rem; line-height: 1.5; }
.chat-msg.user { justify-self: end; background: var(--primary); color: var(--primary-deep); border-bottom-right-radius: 4px; }
.chat-msg.bot { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chatbot-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; background: var(--bg-soft); }
.chatbot-suggestions button {
  font: inherit; font-size: .82rem; cursor: pointer;
  background: var(--bg); color: var(--ink); border: 1px solid var(--primary); border-radius: 999px; padding: 5px 11px;
}
.chatbot-suggestions button:hover { background: var(--success-bg); }
.chatbot-input-area { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--bg); }
.chatbot-input { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 9px 11px; font: inherit; font-size: .92rem; }
.chatbot-input:focus { outline: none; border-color: var(--primary); }
.chatbot-send { border: 0; background: var(--primary); color: var(--primary-deep); border-radius: var(--radius); padding: 0 16px; font-family: var(--font-head); font-weight: 700; cursor: pointer; }
.chatbot-send:hover { background: var(--primary-dark); }
.chatbot-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--primary-deep);
  box-shadow: 0 10px 28px rgba(12, 34, 54, .28);
  transition: transform .15s;
}
.chatbot-toggle:hover { transform: scale(1.06); }
.chatbot-toggle svg { width: 26px; height: 26px; }

/* Real photos sit on top of their coloured placeholder once added */
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo { border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(12, 34, 54, .18); }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Keyboard users: first Tab shows a jump-to-content link */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary-deep); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 12px; }

/* Form extras: hidden spam trap and privacy line */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-privacy { margin: 10px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.quote-form button[disabled] { opacity: .6; cursor: wait; }

/* Footer contact line (same name, number and area as the Google listing) */
.footer-contact { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; flex-basis: 100%; }
.footer-contact a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: var(--primary); }

/* Tablet */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
  .hero-art:has(.hero-photo) { aspect-ratio: 4 / 3; max-width: 620px; justify-self: start; }
  .hero-art:has(.hero-photo) .hero-photo { object-position: center 22%; }
  .hero-art:has(.hero-photo) .hero-card { left: 16px; bottom: 16px; }
  .why-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .elec-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps li::after { display: none; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 620px; }
  .pkg-kit { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cred-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { position: static; max-width: 440px; }
}

/* Phone */
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .hero-actions .btn { width: 100%; }
  .trust-row { justify-content: flex-start; flex-direction: column; gap: 10px; }
  .why-grid, .service-grid, .elec-list, .steps, .pkg-grid { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 160px; }
  .tile-wide { grid-column: span 2; }
  .field-row { flex-direction: column; gap: 0; }
  .quote-form { padding: 22px; }
  .hero-card { position: static; margin-top: 12px; max-width: none; }
  .site-footer { padding-bottom: 96px; }   /* room for the floating chat button */
  .hero-art:has(.hero-photo) { aspect-ratio: 1 / 1; }
  .hero-art:has(.hero-photo) .hero-card { display: none; }
}
