/* ==========================================================================
   Somerset West Blinds — stylesheet
   Palette: harbour blue + cloud + mustard  |  Fonts: Gelasio + Red Hat Text
   Theme: helderberg-estate  |  Layout: grid-first mosaic hero
   Signature: the Helderberg ridgeline draws itself across the horizon band
   ========================================================================== */

:root {
  --harbour-deep: #16303b;
  --harbour: #3f7480;
  --harbour-mid: #6a9aa4;
  --harbour-soft: #d3e4e3;
  --cloud: #f6f8f7;
  --cloud-dim: #eaeeec;
  --cloud-line: #dbe2df;
  --mustard: #bb9257;
  --mustard-deep: #6e5a3c;
  --mustard-soft: #efe0c7;
  --ink: #16232a;
  --ink-soft: #4d5c63;
  --white: #ffffff;

  --font-display: "Gelasio", Georgia, serif;
  --font-body: "Red Hat Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1280px;
  --gap: clamp(1rem, 2vw, 1.75rem);
  --section-pad: clamp(4rem, 8vw, 6.5rem);
  --radius: 6px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--harbour-deep);
}
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
p { max-width: 62ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mustard-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--mustard-deep); }

.rule { height: 1px; width: 100%; background: var(--cloud-line); transform: scaleX(0); transform-origin: left; }
.js .rule.reveal { transition: transform 1.1s var(--ease); }
.rule.is-drawn { transform: scaleX(1); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible { outline: 2px solid var(--mustard-deep); outline-offset: 3px; }

.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal-scale { opacity: 0; transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-scale { opacity: 1; transform: none; }
  .rule { transform: scaleX(1); }
}
html:not(.js) .rule { transform: scaleX(1); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.9rem; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--mustard); color: var(--harbour-deep); box-shadow: 0 10px 24px -12px rgba(187, 146, 87, 0.6); }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--mustard-deep); color: var(--white);
  transform: translate(5px, -4px); box-shadow: 0 22px 38px -14px rgba(22, 48, 59, 0.55);
}
.btn-outline { border: 1.5px solid rgba(246, 248, 247, 0.6); color: var(--cloud); }
.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(246, 248, 247, 0.14); border-color: var(--cloud);
  transform: translate(5px, -4px); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.4);
}
.btn-outline.on-light { border-color: var(--harbour); color: var(--harbour); }
.btn-outline.on-light:hover, .btn-outline.on-light:focus-visible { background: var(--harbour); color: var(--cloud); }
.btn-block { width: 100%; }
.btn-dark { background: var(--harbour-deep); color: var(--cloud); }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--harbour); transform: translate(5px, -4px); box-shadow: 0 20px 34px -14px rgba(22, 48, 59, 0.6); }
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover, .btn-primary:focus-visible, .btn-outline:hover, .btn-outline:focus-visible,
  .btn-dark:hover, .btn-dark:focus-visible { transform: none; }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 90; padding: 1.1rem 0; transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease); }
.site-header .nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.logo-mark { width: 40px; height: 40px; flex: none; display: block; border-radius: 9px; object-fit: cover; box-shadow: 0 2px 6px rgba(22, 48, 59, 0.4); }
.chat-header-mark.logo-mark { width: 30px; height: 30px; border-radius: 7px; }
.brand-word { font-family: var(--font-display); font-size: 1.26rem; font-weight: 600; color: var(--cloud); letter-spacing: -0.01em; transition: color 0.35s var(--ease); }
.brand-word em { font-style: italic; color: var(--mustard); }
.site-header.is-solid .brand-word { color: var(--harbour-deep); }

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a:not(.nav-cta) { font-size: 0.88rem; font-weight: 500; color: var(--cloud); padding-bottom: 3px; border-bottom: 1px solid transparent; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.site-header.is-solid .nav-links a:not(.nav-cta) { color: var(--ink); }
.nav-links a:not(.nav-cta):hover { border-color: var(--mustard); color: var(--mustard-deep); }
.nav-cta { padding: 0.65rem 1.35rem; border-radius: 999px; background: var(--mustard); color: var(--harbour-deep); font-size: 0.85rem; font-weight: 600; transition: background 0.25s var(--ease), transform 0.25s var(--ease); }
.nav-cta:hover { background: var(--mustard-deep); color: var(--white); transform: translateY(-1px); }

.site-header.is-solid { background: rgba(246, 248, 247, 0.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--cloud-line); padding: 0.75rem 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; }
.nav-toggle span { height: 2px; width: 100%; background: var(--cloud); transition: background 0.3s var(--ease); }
.site-header.is-solid .nav-toggle span { background: var(--harbour); }

.mobile-nav { display: none; position: fixed; inset: 0; z-index: 95; background: var(--harbour-deep); padding: 6.5rem 1.75rem 2rem; flex-direction: column; gap: 1.75rem; }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { color: var(--cloud); font-size: 1.2rem; font-family: var(--font-display); }
.mobile-nav .nav-cta { align-self: flex-start; }
.mobile-nav-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 34px; height: 34px; color: var(--cloud); }

@media (max-width: 860px) { .nav-links { display: none; } .nav-toggle { display: flex; } }

/* ==========================================================================
   Hero — mosaic grid, headline carved into it
   ========================================================================== */
.hero { position: relative; background: var(--harbour-deep); }
.hero-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, minmax(140px, 1fr)); gap: 3px; height: 92vh; min-height: 640px; }
.tile { position: relative; overflow: hidden; }
.tile-photo-1 { grid-column: 1 / 4; grid-row: 1 / 4; }
.tile-photo-2 { grid-column: 4 / 6; grid-row: 3 / 4; }
.tile-copy {
  grid-column: 4 / 7; grid-row: 1 / 3; background: var(--harbour-deep); color: var(--cloud);
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.75rem, 4vw, 3.25rem);
  display: flex; flex-direction: column; justify-content: center; gap: 0.9rem;
  border-left: 1px solid rgba(246, 248, 247, 0.08);
}
.tile-cta { grid-column: 6 / 7; grid-row: 3 / 4; background: var(--mustard); color: var(--harbour-deep); padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; gap: 0.85rem; }
.tile-copy .eyebrow { color: var(--mustard); }
.tile-copy .eyebrow::before { background: var(--mustard); }
.tile-headline { font-family: var(--font-display); font-size: clamp(1.65rem, 3vw, 2.9rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; color: var(--cloud); }
.tile-headline .word-wrap { display: inline-block; overflow: hidden; vertical-align: top; }
.tile-headline .word { display: inline-block; will-change: transform; }
.tile-sub { color: var(--cloud-dim); font-size: 0.96rem; max-width: 42ch; }

.tile-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.tile-photo-1 .tile-img { object-position: 32% 40%; }
.tile-photo-2 .tile-img { object-position: 62% 55%; }
.tile-photo:hover .tile-img { transform: scale(1.045); }

/* signature-adjacent hero mechanic: a single solid harbour panel wipes UP off
   each photo on load (not a striped slat-lift — see .ridgeline below for the
   real signature moment). Resting state clear; on hover the panel eases back
   partway for a wink of texture. */
.tile-wipe {
  position: absolute; inset: 0; background: var(--harbour-deep);
  transform: translateY(-100%); transition: transform 0.6s var(--ease);
}
.tile-photo:hover .tile-wipe, .tile-photo:focus-within .tile-wipe { transform: translateY(-86%); }
@media (prefers-reduced-motion: reduce) {
  .tile-photo:hover .tile-wipe, .tile-photo:focus-within .tile-wipe { transform: translateY(-100%); }
}
.tile-cta-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.tile-cta .btn { width: 100%; }

.hero-bar { background: var(--harbour-deep); border-top: 1px solid rgba(246, 248, 247, 0.12); padding: 1.75rem 0; }
.hero-bar-inner { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.trust-item { display: flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; color: var(--cloud-dim); }
.trust-item svg { width: 17px; height: 17px; color: var(--mustard); flex: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto auto; height: auto; }
  .tile-photo-1 { grid-column: 1 / 3; grid-row: 1; height: 46vh; min-height: 320px; }
  .tile-copy { grid-column: 1 / 3; grid-row: 2; }
  .tile-photo-2 { grid-column: 1 / 2; grid-row: 3; height: 220px; }
  .tile-cta { grid-column: 2 / 3; grid-row: 3; }
  .hero-bar-inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Ridgeline — THE signature moment. A thin line trace of the Helderberg
   ridge + a level sea-horizon draws itself in on scroll, sun rising between
   them. Sits as a horizon band directly under the hero, above the marquee.
   ========================================================================== */
.ridgeline { background: var(--harbour-deep); padding: 0 0 clamp(1.5rem, 4vw, 2.75rem); position: relative; overflow: hidden; }
.ridgeline-inner { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.ridgeline svg { width: 100%; height: auto; display: block; overflow: visible; }
.ridge-path { fill: none; stroke: var(--mustard); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sea-path { fill: none; stroke: var(--harbour-mid); stroke-width: 1.2; stroke-dasharray: 2 6; }
.sun-disc { fill: var(--mustard); opacity: 0; transform-origin: center; }
.ridge-label { font-family: var(--font-body); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; fill: var(--cloud-dim); }
.js .ridgeline [data-draw] { stroke-dasharray: 900; stroke-dashoffset: 900; }
.js .ridgeline.is-drawn [data-draw] { stroke-dashoffset: 0; transition: stroke-dashoffset 2.1s var(--ease); }
.js .ridgeline.is-drawn .sea-path { transition: stroke-dashoffset 2.1s var(--ease), stroke-dasharray 0s; stroke-dasharray: 2 6; }
.js .ridgeline .sun-disc { opacity: 0; transform: translateY(6px) scale(0.7); }
.js .ridgeline.is-drawn .sun-disc { opacity: 1; transform: translateY(0) scale(1); transition: opacity 0.9s var(--ease) 1.1s, transform 1.3s var(--ease) 1.1s; }
@media (prefers-reduced-motion: reduce) {
  .js .ridgeline [data-draw] { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
  .js .ridgeline .sun-disc { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { background: var(--ink); color: var(--cloud-dim); overflow: hidden; padding: 0.9rem 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 34s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-size: 1.02rem; color: var(--cloud-dim); display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: "—"; color: var(--mustard); margin-left: 3rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }

/* ==========================================================================
   Section shells
   ========================================================================== */
section { padding: var(--section-pad) 0; }
.section-head { max-width: 58ch; margin-bottom: 3rem; display: flex; flex-direction: column; gap: 1rem; }
.section-head p { color: var(--ink-soft); }
.section-alt { background: var(--white); }

/* ==========================================================================
   Product grid — unique photorealistic photography per product, no infographics
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--cloud-line); border: 1px solid var(--cloud-line); }
.product-card { background: var(--white); padding: 2.1rem 1.9rem; display: flex; flex-direction: column; gap: 1rem; transition: background 0.3s var(--ease); }
.product-card:hover { background: var(--cloud-dim); }
.product-icon { width: 100%; aspect-ratio: 4 / 3; display: block; overflow: hidden; background: var(--cloud); border-radius: var(--radius); }
.product-icon img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.product-card:hover .product-icon img { transform: scale(1.055); }
.product-card h3 { font-size: 1.1rem; }
.product-card p { font-size: 0.9rem; color: var(--ink-soft); }
.product-link { margin-top: auto; font-size: 0.84rem; font-weight: 600; color: var(--harbour); display: inline-flex; align-items: center; gap: 0.4rem; }
.product-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); stroke: currentColor; }
.product-card:hover .product-link svg { transform: translateX(4px); }
.product-card--note { background: var(--mustard-soft); border-left: 3px solid var(--mustard-deep); }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Editorial photo section
   ========================================================================== */
.editorial-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, minmax(180px, auto)); gap: var(--gap); }
.ed-figure { position: relative; overflow: hidden; border-radius: var(--radius); }
.ed-figure img { width: 100%; height: 100%; object-fit: cover; }
.ed-1 { grid-column: 1 / 5; grid-row: 1 / 3; min-height: 460px; }
.ed-2 { grid-column: 5 / 7; grid-row: 1 / 2; }
.ed-3 { grid-column: 5 / 7; grid-row: 2 / 3; }
.ed-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; background: linear-gradient(0deg, rgba(22, 35, 42, 0.82), transparent 70%); color: var(--cloud); font-size: 0.92rem; max-width: 42ch; }
.ed-figure figcaption strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.2rem; }
@media (max-width: 900px) { .editorial-grid { grid-template-columns: 1fr; grid-template-rows: none; } .ed-1, .ed-2, .ed-3 { grid-column: 1; grid-row: auto; min-height: 320px; } }

/* ==========================================================================
   Locale storytelling
   ========================================================================== */
.locale-section { background: var(--harbour-deep); color: var(--cloud); }
.locale-section .eyebrow { color: var(--mustard); }
.locale-section .eyebrow::before { background: var(--mustard); }
.locale-section h2 { color: var(--cloud); }
.locale-section .section-head p { color: var(--cloud-dim); }
.locale-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; }
.locale-item { display: flex; gap: 1.1rem; }
.locale-item .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--mustard); flex: none; width: 2.2rem; }
.locale-item h3 { color: var(--cloud); font-size: 1.06rem; margin-bottom: 0.4rem; }
.locale-item p { color: var(--cloud-dim); font-size: 0.95rem; }
@media (max-width: 760px) { .locale-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Process
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.process-step { position: relative; padding-top: 2.5rem; border-top: 1px solid var(--cloud-line); }
.process-step .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--mustard); line-height: 1; margin-bottom: 1rem; display: block; }
.process-step h3 { margin-bottom: 0.6rem; }
.process-step p { font-size: 0.94rem; color: var(--ink-soft); }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Area chips
   ========================================================================== */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.area-chip { display: block; border: 1px solid var(--cloud-line); border-radius: var(--radius); padding: 1.6rem 1.5rem; background: var(--white); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.area-chip:hover { border-color: var(--mustard); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(22, 48, 59, 0.35); }
.area-chip .eyebrow { margin-bottom: 0.75rem; }
.area-chip h3 { font-size: 1.14rem; margin-bottom: 0.5rem; }
.area-chip p { font-size: 0.88rem; color: var(--ink-soft); }
.area-chip .go { margin-top: 1rem; font-size: 0.82rem; font-weight: 600; color: var(--harbour); display: inline-flex; align-items: center; gap: 0.35rem; }
@media (max-width: 900px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--cloud-line); padding: 1.6rem 0; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; cursor: pointer; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--harbour-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--mustard-deep); transition: transform 0.3s var(--ease); }
.faq-icon::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { top: 0; left: 50%; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item[open] summary { color: var(--mustard-deep); }
.faq-item p { padding-top: 1rem; font-size: 0.96rem; color: var(--ink-soft); }

/* ==========================================================================
   Closing CTA — animated drifting glow
   ========================================================================== */
.closing-cta { position: relative; overflow: hidden; background: var(--harbour-deep); color: var(--cloud); text-align: center; }
.closing-cta .glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; pointer-events: none; }
.glow-1 { width: 480px; height: 480px; background: var(--mustard); top: -160px; left: -120px; animation: drift-a 22s ease-in-out infinite alternate; }
.glow-2 { width: 420px; height: 420px; background: var(--harbour-mid); bottom: -180px; right: -100px; animation: drift-b 26s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(80px, 60px) scale(1.15); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1); } to { transform: translate(-70px, -40px) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .glow-1, .glow-2 { animation: none; } }
.closing-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.closing-cta h2 { color: var(--cloud); }
.closing-cta p { color: var(--cloud-dim); }
.closing-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   Enquiry form
   ========================================================================== */
.enquiry-section { background: var(--white); }
.enquiry-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.enquiry-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--harbour-deep); }
.field input, .field select, .field textarea { border: 1px solid var(--cloud-line); border-radius: 4px; padding: 0.85rem 1rem; background: var(--cloud); font-size: 0.95rem; transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mustard-deep); background: var(--white); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.legend { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--harbour-deep); text-transform: none; margin-bottom: 0.6rem; display: block; }
.interest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem 1rem; }
.interest-grid label { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: var(--ink-soft); }
.interest-grid input { width: 15px; height: 15px; accent-color: var(--harbour); }
.form-popia { font-size: 0.82rem; color: var(--ink-soft); border-left: 2px solid var(--mustard); padding-left: 0.85rem; }
.form-success { display: none; border: 1px solid var(--mustard); background: var(--mustard-soft); border-radius: var(--radius); padding: 1.1rem 1.3rem; font-size: 0.92rem; color: var(--harbour-deep); }
.form-success.is-visible { display: block; }
.enquiry-form.is-sent { display: none; }
@media (max-width: 900px) { .enquiry-wrap { grid-template-columns: 1fr; gap: 2.5rem; } .field-row, .interest-grid { grid-template-columns: 1fr; } }
.enquiry-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.aside-card { background: var(--cloud); border: 1px solid var(--cloud-line); border-radius: var(--radius); padding: 1.75rem; }
.aside-card h3 { font-size: 1.02rem; margin-bottom: 0.6rem; }
.aside-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--cloud-dim); padding: 4.5rem 0 2.25rem; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.footer-brand .brand-word { color: var(--cloud); }
.footer-tagline { margin-top: 1rem; font-size: 0.92rem; max-width: 34ch; color: var(--cloud-dim); }
.footer-links { display: grid; gap: 0.65rem; }
.footer-links a { font-size: 0.9rem; color: var(--cloud-dim); transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--mustard); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cloud); margin-bottom: 1rem; font-weight: 700; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(246, 248, 247, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: rgba(234, 238, 236, 0.55); }
.footer-popia { max-width: 60ch; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ==========================================================================
   Chat widget
   ========================================================================== */
.chat-widget { position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 120; }
.chat-toggle { width: 58px; height: 58px; border-radius: 50%; background: var(--mustard); color: var(--harbour-deep); display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(22, 48, 59, 0.55); transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.chat-toggle:hover { transform: scale(1.06); background: var(--mustard-deep); color: var(--white); }
.chat-toggle svg { width: 26px; height: 26px; }
.chat-toggle .icon-close { display: none; }
.chat-widget.is-open .chat-toggle .icon-open { display: none; }
.chat-widget.is-open .chat-toggle .icon-close { display: block; }
.chat-panel { position: absolute; right: 0; bottom: 74px; width: min(370px, calc(100vw - 2.5rem)); max-height: min(560px, 72vh); background: var(--white); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(22, 35, 42, 0.4); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--cloud-line); }
.chat-panel[hidden] { display: none; }
.chat-header { background: var(--harbour-deep); color: var(--cloud); padding: 1rem 1.1rem; display: flex; align-items: center; gap: 0.75rem; }
.chat-header-mark { width: 30px; height: 30px; flex: none; }
.chat-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.chat-sub { font-size: 0.74rem; color: var(--cloud-dim); }
.chat-close { margin-left: auto; width: 26px; height: 26px; font-size: 1.3rem; color: var(--cloud-dim); }
.chat-close:hover { color: var(--cloud); }
.chat-body { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; background: var(--cloud); }
.msg { max-width: 84%; padding: 0.7rem 0.95rem; border-radius: 12px; font-size: 0.88rem; line-height: 1.5; }
.msg-bot { align-self: flex-start; background: var(--white); border: 1px solid var(--cloud-line); border-bottom-left-radius: 3px; color: var(--ink); }
.msg-user { align-self: flex-end; background: var(--harbour); color: var(--cloud); border-bottom-right-radius: 3px; }
.msg-popia { font-size: 0.76rem; color: var(--ink-soft); background: transparent; border: none; padding: 0 0.2rem; max-width: 100%; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1.1rem 0.9rem; background: var(--cloud); }
.chip { border: 1px solid var(--harbour); color: var(--harbour); border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.82rem; font-weight: 500; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.chip:hover { background: var(--harbour); color: var(--cloud); }
.chat-input-row { display: flex; border-top: 1px solid var(--cloud-line); background: var(--white); }
.chat-input-row input { flex: 1; border: none; padding: 0.9rem 1rem; font-size: 0.9rem; background: transparent; }
.chat-input-row input:focus { outline: none; }
.chat-input-row button { padding: 0 1.2rem; font-weight: 600; font-size: 0.85rem; color: var(--harbour); }
.chat-input-row button:hover { color: var(--mustard-deep); }

/* ==========================================================================
   Sub-page hero (products / areas)
   ========================================================================== */
.sub-hero { position: relative; padding-top: 9.5rem; padding-bottom: 5rem; background: var(--harbour-deep); color: var(--cloud); overflow: hidden; }
.sub-hero .eyebrow { color: var(--mustard); }
.sub-hero .eyebrow::before { background: var(--mustard); }
.sub-hero h1 { color: var(--cloud); font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 18ch; margin: 1rem 0 1.25rem; }
.sub-hero p.lede { color: var(--cloud-dim); font-size: 1.06rem; max-width: 56ch; }
.sub-hero-media { position: absolute; inset: 0; z-index: 0; }
.sub-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.sub-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 48, 59, 0.65), var(--harbour-deep) 92%); }
.sub-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.82rem; color: var(--cloud-dim); margin-bottom: 1.75rem; }
.breadcrumb a { color: var(--cloud-dim); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--mustard); border-color: var(--mustard); }

.content-block { max-width: 72ch; }
.content-block h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.content-block h2:first-child { margin-top: 0; }
.content-block p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.content-block ul { display: grid; gap: 0.65rem; margin-bottom: 1.3rem; }
.content-block ul li { padding-left: 1.3rem; position: relative; color: var(--ink-soft); font-size: 0.96rem; }
.content-block ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--mustard); }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.callout { background: var(--cloud); border-left: 3px solid var(--mustard); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.5rem 1.75rem; margin: 1.5rem 0; }
.callout p { margin: 0; color: var(--ink); font-size: 0.92rem; }
.callout .callout-label { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mustard-deep); font-weight: 700; margin-bottom: 0.5rem; }

.side-card { background: var(--harbour-deep); color: var(--cloud); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 6.5rem; }
.side-card h3 { color: var(--cloud); font-size: 1.15rem; }
.side-card p { color: var(--cloud-dim); font-size: 0.9rem; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { border: 1px solid var(--cloud-line); border-radius: var(--radius); padding: 1.5rem; background: var(--white); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.related-card:hover { border-color: var(--mustard); transform: translateY(-3px); }
.related-card .product-icon { margin-bottom: 1rem; }
.related-card h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--harbour-deep); }
.related-card p { font-size: 0.88rem; color: var(--ink-soft); }

.area-hero-figure { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.area-hero-figure img { width: 100%; height: 360px; object-fit: cover; }
.spec-list { display: grid; gap: 1.4rem; }
.spec-list li { display: flex; gap: 1rem; }
.spec-list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mustard); margin-top: 0.5em; flex: none; }

/* roller shutters are shading products, not security products */
.rs-note { font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft); margin-top: 0.4rem; padding-left: 0.85rem; border-left: 2px solid var(--mustard); }
.rs-note strong { font-weight: 600; color: var(--harbour-deep); }
