/* ============================================================
   SEAL FOREVER – STYLES
   Tip: change a colour ONCE here in :root and it updates everywhere.
   ============================================================ */

:root {
  --teal: #05827E;        /* main brand colour (from the logo) */
  --teal-dark: #0A5F5C;   /* darker teal for headers/footer */
  --teal-light: #E6F4F3;  /* very light teal backgrounds */
  --orange: #E47027;      /* accent colour (from the logo) */
  --orange-dark: #C95D1C;
  --ink: #16232B;         /* main text colour */
  --muted: #5B6B73;       /* softer text */
  --grey-bg: #F4F6F7;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 60, 60, 0.08);
}

/* ---------- Basic reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Keeps content centred with space on the sides */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Lucide icons default size */
[data-lucide], svg.lucide { width: 22px; height: 22px; stroke-width: 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .2s, background .2s, box-shadow .2s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px rgba(232,113,42,.3); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-white { background: var(--white); color: var(--teal-dark); }
.btn-small { padding: 10px 20px; font-size: .88rem; }

/* ---------- 1. Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: var(--white);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand-logo { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) { font-weight: 500; font-size: .95rem; color: var(--ink); position: relative; white-space: nowrap; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--orange); transition: width .25s;
}
.main-nav a:not(.btn):hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); }

/* ---------- 2. Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(6,52,52,.96) 0%, rgba(8,78,76,.90) 45%, rgba(5,130,126,.72) 100%),
    url("images/pipe-supports.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 90px 0 130px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 600; opacity: .85; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); line-height: 1.15; font-weight: 800; margin-bottom: 20px; }
.highlight { color: #FFB27F; }
.lead { font-size: 1.1rem; opacity: .92; max-width: 560px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 28px;
}
.hero-card-title { font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; opacity: .8; margin-bottom: 16px; }
.threat-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.threat-list li:last-child { border-bottom: 0; }
.threat-list svg { flex-shrink: 0; background: var(--orange); border-radius: 10px; padding: 8px; width: 40px; height: 40px; }
.threat-list strong { display: block; font-size: 1.05rem; }
.threat-list span { font-size: .9rem; opacity: .9; }

/* The orange + white diagonal stripe at the bottom of the hero */
.hero-stripe {
  position: absolute; left: -5%; right: -5%; bottom: -60px; height: 120px;
  background: var(--white);
  transform: rotate(-3deg);
  border-top: 14px solid var(--orange);
  z-index: 1;
}

/* ---------- 3. Benefits bar ---------- */
.benefits-bar { position: relative; z-index: 3; margin-top: -30px; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px;
}
.benefit { display: flex; align-items: center; gap: 12px; padding: 18px; font-weight: 600; font-size: .92rem; }
.benefit svg { color: var(--teal); flex-shrink: 0; }

/* ---------- Shared section styles ---------- */
.section { padding: 100px 0; }
.section-grey { background: var(--grey-bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p:last-child:not(.section-label) { color: var(--muted); }
.section-label {
  display: inline-block; color: var(--orange); font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; margin-bottom: 10px;
}
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }

/* ---------- 4. About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about-grid p { color: var(--muted); margin-bottom: 16px; }
.mv-cards { display: grid; gap: 20px; }
.mv-card { background: var(--teal-light); border-radius: var(--radius); padding: 30px; border-left: 5px solid var(--teal); }
.mv-card svg { color: var(--teal); margin-bottom: 12px; width: 30px; height: 30px; }
.mv-card p { margin: 0; }
.mv-card-dark { background: var(--teal-dark); color: var(--white); border-left-color: var(--orange); }
.mv-card-dark svg { color: var(--orange); }
.mv-card-dark p { color: rgba(255,255,255,.88); }

/* ---------- 5. Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border-top: 4px solid var(--teal);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(10,60,60,.14); }
.product-card p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.product-code {
  align-self: flex-start;
  background: var(--teal-light); color: var(--teal-dark);
  font-weight: 700; font-size: .8rem; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tags li { font-size: .75rem; font-weight: 500; border: 1px solid #D5DEE0; border-radius: 999px; padding: 3px 10px; color: var(--muted); }
.product-card-featured { grid-column: span 2; border-top-color: var(--orange); }
.product-card-featured .product-code { background: #FDEBDF; color: var(--orange-dark); }
.partner-note { font-weight: 500; color: var(--ink) !important; }

/* ---------- 5b. Partners ---------- */
.hero-partners {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 28px; font-size: .92rem; opacity: .95;
}
.hero-partners svg { color: #FFB27F; }
.hero-partners a { font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.5); }
.hero-partners a:hover { color: #FFB27F; border-color: #FFB27F; }

.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-card {
  display: flex; flex-direction: column;
  border: 1px solid #E3E9EA; border-radius: 18px; padding: 30px;
  background: linear-gradient(180deg, var(--teal-light) 0, var(--white) 140px);
}
.partner-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.partner-name { font-size: 1.6rem; font-weight: 800; letter-spacing: 1.5px; color: var(--teal-dark); }
.partner-name sup { font-size: .6em; }
.partner-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal); color: var(--white); display: grid; place-items: center; }
.partner-icon svg { width: 26px; height: 26px; }
.partner-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.partner-badge {
  background: var(--orange); color: var(--white);
  font-size: .75rem; font-weight: 600; padding: 5px 14px; border-radius: 999px;
}
.partner-intro { color: var(--muted); margin-bottom: 20px; }
.partner-list { margin-bottom: 22px; }
.partner-list li { padding: 12px 0 12px 22px; border-top: 1px solid #E8EEEF; position: relative; font-size: .93rem; color: var(--muted); }
.partner-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.partner-list strong { display: block; color: var(--ink); }
.partner-card .tags { margin-top: 0; margin-bottom: 24px; }
.partner-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal); }
.partner-link svg { width: 18px; height: 18px; }
.partner-link:hover { color: var(--orange); }

/* ---------- 6. Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-item { padding: 28px; border-radius: var(--radius); border: 1px solid #E3E9EA; transition: border-color .25s; }
.why-item:hover { border-color: var(--teal); }
.why-item svg { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--teal-light); color: var(--teal); margin-bottom: 16px; }
.why-item p { color: var(--muted); font-size: .95rem; }

/* ---------- 7. Industries ---------- */
.section-dark { background: var(--teal-dark); color: var(--white); }
.label-light { color: #FFB27F; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 24px; font-weight: 600;
}
.industry svg { color: var(--orange); width: 30px; height: 30px; flex-shrink: 0; }

/* ---------- 8. Owners & team ---------- */
.owner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1000px; margin: 0 auto; }
.owner-card { background: var(--grey-bg); border-radius: 18px; padding: 36px; border-top: 4px solid var(--orange); }
.owner-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.owner-head .avatar { margin: 0; flex-shrink: 0; }
.owner-head h3 { font-size: 1.25rem; margin-bottom: 2px; }
.owner-role { color: var(--teal); font-weight: 600; font-size: .92rem; }
.owner-bio { color: var(--muted); }
.team-row { display: flex; justify-content: center; margin-top: 28px; }
.team-member { display: flex; align-items: center; gap: 16px; padding: 18px 28px; border: 1px solid #E3E9EA; border-radius: 999px; }
.team-member h3 { margin-bottom: 0; font-size: 1rem; }
.team-member p { color: var(--muted); font-size: .9rem; }
.avatar.avatar-small { width: 56px; height: 56px; font-size: 1.05rem; margin: 0; border-width: 3px; box-shadow: 0 0 0 2px var(--orange); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.team-card { text-align: center; padding: 36px 24px; border-radius: var(--radius); background: var(--grey-bg); }
.avatar {
  width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white); display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 700; border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--orange);
}
.team-card p { color: var(--muted); font-size: .92rem; }

/* ---------- 9. CTA band ---------- */
.cta-band { background: var(--orange); color: var(--white); padding: 56px 0; }
.cta-wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }

/* ---------- 10. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  display: block; background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); text-align: center;
  transition: transform .25s;
  overflow-wrap: anywhere;
}
a.contact-card:hover { transform: translateY(-4px); }
.contact-card svg { width: 54px; height: 54px; padding: 14px; border-radius: 50%; background: var(--teal); color: var(--white); margin: 0 auto 16px; }
.contact-card p { color: var(--muted); font-size: .95rem; }

/* ---------- 11. Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 64px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { color: var(--white); font-weight: 800; letter-spacing: 1px; font-size: 1.1rem; margin-bottom: 8px; }
.footer-title { color: var(--white); font-weight: 600; margin-bottom: 12px; }
.site-footer a { display: block; margin-bottom: 8px; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .82rem; }
.trademark { opacity: .6; }

/* ============================================================
   RESPONSIVE: rules for tablets and phones
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .why-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  /* Mobile menu (hamburger) for tablets and phones */
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); box-shadow: 0 12px 20px rgba(0,0,0,.08);
    padding: 10px 20px 20px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #EEF1F2; }
  .main-nav .btn { margin-top: 14px; text-align: center; }
}

@media (max-width: 760px) {
  .hero { padding: 60px 0 110px; }
  .section { padding: 70px 0; }
  .benefits-grid, .product-grid, .why-grid, .industry-grid, .team-grid, .contact-grid, .footer-grid, .partner-grid, .owner-grid { grid-template-columns: 1fr; }
  .partner-card, .owner-card { padding: 26px; }
  .owner-head { flex-direction: column; text-align: center; }
  .owner-bio { text-align: center; }
  .product-card-featured { grid-column: span 1; }
  .cta-wrap { text-align: center; justify-content: center; }
}

/* ---------- 5a. Before & after ---------- */
.result-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.result-photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.result-photo img { width: 100%; }
.result-tag {
  position: absolute; bottom: 16px; padding: 6px 16px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff;
}
.result-before { left: 16px; background: rgba(22,35,43,.85); }
.result-after { right: 16px; background: var(--teal); }
.result-text { color: var(--muted); margin-bottom: 20px; }
.check-list { margin-bottom: 30px; }
.check-list li { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-weight: 500; }
.check-list svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--teal-light); color: var(--teal); flex-shrink: 0; }

/* ---------- 6b. Photo gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.gallery-item { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--teal-dark); }
.gallery-big { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(8,30,32,.88));
  color: #fff; font-size: .85rem;
}
.gallery-item figcaption strong { display: block; font-size: 1rem; }
.gallery-cta {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 22px;
  background: var(--orange); color: #fff; transition: background .25s;
}
.gallery-cta:hover { background: var(--orange-dark); }
.gallery-cta svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(255,255,255,.2); margin-bottom: auto; }
.gallery-cta strong { font-size: 1.15rem; }

/* ---------- Footer logo ---------- */
.footer-logo { height: 84px; width: auto; margin-bottom: 16px; }

@media (max-width: 960px) {
  .result-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-big { grid-column: span 1; grid-row: span 1; }
}

/* ---------- SFL-005 featured card with photo ---------- */
.product-card-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.featured-text { display: flex; flex-direction: column; height: 100%; }
.featured-img { width: 100%; height: auto; }

/* ---------- Wide gallery tiles ---------- */
.gallery-wide { grid-column: span 2; }

/* ============================================================
   PHONE POLISH (small screens)
   ============================================================ */
@media (max-width: 760px) {
  .product-card-featured { grid-template-columns: 1fr; }
  .featured-img { order: -1; margin: -8px 0 4px; }

  /* Bigger, easier-to-tap menu */
  .menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -8px; }
  .menu-toggle svg { width: 28px; height: 28px; }
  .main-nav { max-height: calc(100vh - 76px); overflow-y: auto; }
  .main-nav a:not(.btn) { font-size: 1.05rem; }

  /* Full-width buttons in the hero are easier to tap */
  .hero-buttons .btn { flex: 1 1 100%; text-align: center; }
  .lead { font-size: 1rem; }
  .hero-card { padding: 22px; }

  .section-head { margin-bottom: 36px; }
  .result-grid { gap: 32px; }
  .result-grid .btn { display: block; text-align: center; }
  .cta-wrap .btn { width: 100%; text-align: center; }
  .contact-card { padding: 26px 20px; }
  .footer-logo { height: 70px; }
  .team-member { border-radius: 18px; padding: 16px 20px; }
  /* Footer links: taller rows so they are easy to tap */
  .site-footer a { padding: 9px 0; margin-bottom: 0; }
  .hero-partners a { padding: 6px 0; }
}
@media (max-width: 560px) {
  .gallery-wide { grid-column: span 1; }
}
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .brand-logo { height: 40px; }
}

/* Respect visitors who turn off animations */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Product photos & specs ---------- */
.product-media {
  margin: -32px -32px 22px; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--teal-light);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media-graphic {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}
.product-media-graphic svg { width: 64px; height: 64px; color: #fff; opacity: .9; stroke-width: 1.5; }
.spec-list { margin: 0 0 18px; border-top: 1px solid #E8EEEF; }
.spec-list li { display: grid; grid-template-columns: 100px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid #E8EEEF; font-size: .88rem; color: var(--ink); }
.spec-list span { color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; padding-top: 2px; }
.product-card { overflow: hidden; }

/* Phone numbers inside the Call card */
.contact-card p a { color: var(--ink); font-weight: 500; display: inline-block; padding: 4px 0; }
.contact-card p a:hover { color: var(--orange); }

/* 9 industry tiles: keep 3 columns on tablets so no tile sits alone */
@media (max-width: 960px) and (min-width: 761px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .industry { padding: 18px; font-size: .92rem; }
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.main-nav a.is-active { color: var(--teal); }
.main-nav a.is-active::after { width: 100%; }

.page-hero {
  background: linear-gradient(115deg, rgba(6,52,52,.96), rgba(5,130,126,.82)),
              url("images/pipeline-coating-trench.jpg") center / cover no-repeat;
  color: var(--white); padding: 72px 0 64px;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; font-weight: 800; margin-bottom: 12px; }
.page-hero .lead { margin-bottom: 0; }

.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.gallery-head h2 { margin-bottom: 0; }
.gallery-head-note { color: var(--muted); }

/* Filter buttons */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid #D5DEE0; background: var(--white); color: var(--ink);
  transition: background .2s, border-color .2s, color .2s;
}
.chip span { font-weight: 500; color: var(--muted); margin-left: 4px; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.chip[aria-pressed="true"] span { color: rgba(255,255,255,.8); }
.chip:focus-visible, .media-item:focus-visible, .project-card:focus-visible, .lb-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Photo & video grid */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.media-item {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3;
  border: 0; padding: 0; cursor: zoom-in; overflow: hidden;
  border-radius: 14px; background: var(--teal-dark); font: inherit; text-align: left;
}
.media-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media-item:hover img { transform: scale(1.05); }
.media-item::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(transparent, rgba(8,30,32,.85)); }
.media-cat {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: rgba(255,255,255,.92); color: var(--teal-dark);
  font-size: .72rem; font-weight: 700; letter-spacing: .5px; padding: 4px 10px; border-radius: 999px;
}
.media-title { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: var(--white); font-weight: 600; font-size: .95rem; }
.play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 60px; height: 60px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.play-badge svg { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }

/* Project albums */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.project-card {
  display: flex; flex-direction: column; text-align: left; font: inherit; color: inherit; cursor: pointer;
  border: 1px solid #E3E9EA; border-radius: 18px; overflow: hidden; background: var(--white); padding: 0;
  transition: transform .25s, box-shadow .25s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal-light); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; }
.project-count {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(8,30,32,.8); color: #fff; font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
}
.project-count svg { width: 16px; height: 16px; }
.sample-badge {
  position: absolute; left: 12px; top: 12px; background: #FFF4D6; color: #7A5200;
  border: 1px dashed #C9962B; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 8px;
}
.project-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 26px; }
.media-cat-inline { color: var(--orange); font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.project-title { font-size: 1.15rem; font-weight: 700; }
.project-meta { display: flex; align-items: center; gap: 6px; color: var(--teal); font-size: .88rem; font-weight: 500; }
.project-meta svg { width: 16px; height: 16px; flex-shrink: 0; }
.project-summary { color: var(--muted); font-size: .93rem; }
.empty-note { color: var(--muted); padding: 32px; border: 1.5px dashed #D5DEE0; border-radius: 14px; text-align: center; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(6,18,20,.95);
  display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center;
  padding: max(16px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom));
}
.lightbox[hidden] { display: none !important; }
.lb-stage { grid-column: 2; grid-row: 1; height: 100%; min-height: 0; display: grid; place-items: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100vh - 170px); border-radius: 8px; object-fit: contain; }
.lb-stage iframe { width: min(100%, 1100px); aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }
.lb-caption { grid-column: 1 / -1; grid-row: 2; text-align: center; color: #fff; padding: 14px 16px 4px; }
.lb-title { font-weight: 700; }
.lb-text { color: rgba(255,255,255,.8); font-size: .92rem; }
.lb-count { color: rgba(255,255,255,.55); font-size: .82rem; margin-top: 4px; }
.lb-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; justify-self: center;
}
.lb-btn:hover { background: var(--orange); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 2; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { visibility: hidden; }

/* "View full gallery" button under the homepage photos */
.gallery-more { display: flex; justify-content: center; margin-top: 32px; }
.btn-outline-teal { border-color: var(--teal); color: var(--teal); display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-teal:hover { background: var(--teal); color: var(--white); }
.btn-outline-teal svg { width: 18px; height: 18px; }

@media (max-width: 760px) {
  .page-hero { padding: 48px 0 44px; }
  .media-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .media-title { font-size: .82rem; left: 10px; right: 10px; bottom: 8px; }
  .media-cat { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 22px; padding: 0 20px 6px; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  /* Phone lightbox: arrows sit over the photo, swipe also works */
  .lightbox { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; }
  .lb-stage { grid-column: 1; }
  .lb-stage img, .lb-stage video { border-radius: 0; max-height: calc(100vh - 180px); }
  .lb-prev, .lb-next { grid-column: 1; position: relative; z-index: 2; background: rgba(0,0,0,.45); }
  .lb-prev { justify-self: start; margin-left: 8px; }
  .lb-next { justify-self: end; margin-right: 8px; }
}
@media (max-width: 380px) {
  .filter-bar { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
}
/* Lightbox: scale every photo up to fill the available space */
.lightbox { background: rgba(6,18,20,.97); }
.lb-stage img { width: 100%; height: 100%; max-width: 1400px; object-fit: contain; }
@media (max-width: 760px) { .lb-stage img { max-height: calc(100vh - 190px); } }

/* Own-work label in the gallery */
.media-cat.media-own, .legend-own { background: var(--orange); color: #fff; }
.legend-own { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-right: 4px; }
.play-badge-sm { width: 52px; height: 52px; }
@media (max-width: 760px) { .media-cat.media-own { display: inline-block; font-size: .65rem; top: 8px; left: 8px; padding: 3px 8px; } }

/* ============================================================
   POLISH ROUND: ideas borrowed from partner websites
   ============================================================ */

/* Top contact bar */
.topbar { background: var(--teal-dark); color: rgba(255,255,255,.85); font-size: .84rem; }
.topbar-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.topbar-note, .topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links { display: flex; gap: 22px; }
.topbar svg { width: 15px; height: 15px; }
.topbar-links a:hover { color: #fff; }
.topbar-wa { color: #fff; font-weight: 600; }
.show-sm { display: none; }

/* Section labels with icons */
.section-label { display: inline-flex; align-items: center; gap: 8px; }
.section-label svg { width: 16px; height: 16px; }

/* Hero: text + own video */
.hero {
  background:
    linear-gradient(115deg, rgba(6,52,52,.97) 0%, rgba(8,78,76,.92) 50%, rgba(5,130,126,.80) 100%),
    url("images/plant-pipe-run.jpg") center / cover no-repeat;
}
.hero-grid { grid-template-columns: 1.35fr 1fr; }
.hero-buttons .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.hero-buttons svg { width: 18px; height: 18px; }
.hero-standards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-standards li {
  font-size: .78rem; font-weight: 600; letter-spacing: .5px;
  padding: 5px 12px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08);
}
.hero-video {
  position: relative; margin: 0; justify-self: center;
  width: min(100%, 330px); aspect-ratio: 9 / 16;
  border-radius: 22px; overflow: hidden;
  border: 6px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  background: #0a2e2e;
}
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video figcaption {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(8,30,32,.75); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(228,112,39,.35); }

/* Key numbers */
.facts { padding: 64px 0 8px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fact { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 8px 4px; }
.fact svg { grid-row: 1 / 3; width: 50px; height: 50px; padding: 12px; border-radius: 14px; background: #FDEBDF; color: var(--orange); }
.fact strong { font-size: 2.2rem; line-height: 1; font-weight: 800; color: var(--teal-dark); }
.fact span { color: var(--muted); font-size: .88rem; line-height: 1.4; }

/* Featured projects (dark band) */
.section-dark .gallery-head h2 { color: #fff; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.featured-card {
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s, background .25s;
}
.featured-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); }
.featured-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0a2e2e; }
.featured-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.featured-card:hover .featured-cover img { transform: scale(1.05); }
.featured-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.featured-body .media-cat-inline { color: #FFB27F; }
.featured-body strong { font-size: 1.12rem; }
.featured-summary { color: rgba(255,255,255,.75); font-size: .92rem; }
.featured-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #FFB27F; }
.featured-link svg { width: 18px; height: 18px; }
.section-dark .btn-outline-light { display: inline-flex; align-items: center; gap: 8px; }
.section-dark .btn-outline-light svg { width: 18px; height: 18px; }

/* How we work */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.process li { position: relative; background: var(--white); border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--shadow); }
.process li > svg { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--teal-light); color: var(--teal); margin-bottom: 14px; }
.process p { color: var(--muted); font-size: .93rem; }
.step-num {
  position: absolute; top: 18px; right: 20px;
  font-size: 2.4rem; font-weight: 800; line-height: 1; color: #E6EDEE;
}
.process li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -16px; width: 12px; height: 12px;
  border-top: 3px solid var(--orange); border-right: 3px solid var(--orange); transform: translateY(-50%) rotate(45deg);
}

/* Standards strip */
.standards { margin-top: 48px; background: var(--white); border-radius: 18px; padding: 28px 30px; border: 1px solid #E3E9EA; }
.standards-title { font-weight: 600; margin-bottom: 18px; text-align: center; }
.standards ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.standards li { text-align: center; padding: 12px 8px; border-radius: 12px; background: var(--grey-bg); }
.standards strong { display: block; color: var(--teal-dark); font-size: .95rem; }
.standards span { display: block; color: var(--muted); font-size: .76rem; line-height: 1.35; margin-top: 4px; }

/* Contact + quote form */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-intro { color: var(--muted); margin-bottom: 26px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list li > svg { flex-shrink: 0; width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--teal); color: #fff; }
.contact-list strong { display: block; margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--muted); overflow-wrap: anywhere; }
.contact-list div > a { display: inline-block; padding: 2px 0; }
.contact-list div > a { display: block; }
.contact-list a:hover { color: var(--orange); }

.quote-form {
  background: var(--grey-bg); border-radius: 20px; padding: 32px;
  border-top: 5px solid var(--orange); display: grid; gap: 16px;
}
.quote-form h3 { font-size: 1.4rem; margin-bottom: 0; }
.form-note { color: var(--muted); font-size: .84rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; font-weight: 400; font-size: .95rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #D5DEE0; border-radius: 10px; background: #fff; width: 100%;
}
.quote-form textarea { resize: vertical; min-height: 110px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(5,130,126,.15); }
.quote-form .invalid { border-color: #C0392B; }
.form-error { color: #C0392B; font-size: .88rem; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: inherit; }
.form-actions svg { width: 18px; height: 18px; }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 300;
  display: inline-flex; align-items: center; gap: 8px;
  background: #1FA855; color: #fff; font-weight: 600; font-size: .92rem;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0,0,0,.25); transition: transform .2s;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; }

/* ---------- Responsive for the new parts ---------- */
@media (max-width: 1024px) {
  .standards ul { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li:nth-child(2)::after { display: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-video { width: min(100%, 300px); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid .featured-card:nth-child(3) { grid-column: span 2; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .topbar-note { display: none; }
  .topbar-wrap { justify-content: center; }
  .topbar-links { gap: 18px; }
  .main-nav { top: 76px; }
  .hero-video { width: min(78%, 270px); }
  .facts { padding-top: 48px; }
  .fact strong { font-size: 1.8rem; }
  .fact svg { width: 44px; height: 44px; padding: 10px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid .featured-card:nth-child(3) { grid-column: span 1; }
  .process { grid-template-columns: 1fr; }
  .process li::after { display: none; }
  .standards { padding: 22px 16px; }
  .standards ul { grid-template-columns: repeat(2, 1fr); }
  .quote-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .form-actions .btn { flex: 1 1 100%; justify-content: center; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}
@media (max-width: 480px) {
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .fact { grid-template-columns: 1fr; text-align: left; }
  .fact svg { grid-row: auto; margin-bottom: 8px; }
}

/* ---------- Hero showreel ---------- */
.hero-video .reel-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease;
}
.hero-video .reel-video.is-active { opacity: 1; }
.hero-video figcaption { z-index: 2; max-width: calc(100% - 24px); }
.reel-dots { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; gap: 4px; }
.reel-dots span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); }
.reel-dots span.on { background: #fff; }

/* ---------- Top bar: two WhatsApp numbers ---------- */
.topbar-wa { display: inline-flex; align-items: center; gap: 6px; }
.topbar-wa a { color: #fff; font-weight: 600; }
.topbar-wa a:hover { color: #FFB27F; }
.topbar-wa .sep { opacity: .6; }
@media (max-width: 1024px) { .hide-md { display: none !important; } }

/* ---------- Floating WhatsApp menu ---------- */
.wa-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 300; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-fab .wa-float { position: static; border: 0; cursor: pointer; font-family: inherit; }
.wa-menu {
  background: #fff; border-radius: 16px; padding: 14px; min-width: 220px;
  box-shadow: 0 15px 40px rgba(0,0,0,.25); display: grid; gap: 8px;
}
.wa-menu[hidden] { display: none; }
.wa-menu p { font-size: .82rem; font-weight: 600; color: var(--muted); padding: 0 4px 2px; }
.wa-menu a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px;
  background: #E9F8EF; color: #137A3D; font-weight: 700;
}
.wa-menu a:hover { background: #1FA855; color: #fff; }
.wa-menu svg { width: 20px; height: 20px; }

/* ============================================================
   COLOUR ROUND: bigger logo + company colours throughout
   ============================================================ */
:root {
  --mint: #EAF5F3;      /* soft teal tint */
  --sand: #FFF3EA;      /* soft orange tint */
  --deep: linear-gradient(135deg, #073F3D 0%, #0A5F5C 45%, #05827E 100%);
}
html { scroll-padding-top: 100px; }

/* Bigger logo */
.nav-wrap { height: 88px; }
.brand-logo { height: 60px; }
.main-nav { top: 100%; }
@media (max-width: 1024px) { .main-nav { top: 100%; } }
@media (max-width: 760px) {
  .nav-wrap { height: 74px; }
  .brand-logo { height: 50px; }
  .main-nav { top: 100%; }
}

/* Benefits card floats between the hero and the teal numbers band */
.benefits-bar { background: linear-gradient(to bottom, transparent 0 50%, var(--teal-dark) 50%); }

/* Numbers band: dark teal */
.theme-teal { background: var(--teal-dark); padding: 44px 0 56px; }
.theme-teal .fact strong { color: #fff; }
.theme-teal .fact span { color: rgba(255,255,255,.78); }
.theme-teal .fact svg { background: rgba(255,255,255,.1); color: #FFB27F; }
.facts-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Mint sections, with the pinwheel from the logo as a faint watermark */
.theme-mint { background: var(--mint); position: relative; overflow: hidden; }
.theme-mint::before {
  content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -120px;
  background: url("favicon.svg") center / contain no-repeat; opacity: .06; pointer-events: none;
}
.theme-mint > .container { position: relative; }
.theme-mint .mv-card:not(.mv-card-dark) { background: #fff; }
.theme-mint .why-item { background: #fff; border-color: transparent; box-shadow: var(--shadow); }
.theme-mint .why-item:nth-child(even) svg { background: #FDEBDF; color: var(--orange); }
.theme-mint .owner-card { background: #fff; box-shadow: var(--shadow); }
.theme-mint .team-member { background: #fff; }

/* Sand (warm orange tint) sections */
.theme-sand { background: var(--sand); }
.theme-sand .product-card { box-shadow: 0 10px 30px rgba(120,60,20,.08); }
.theme-sand .process li:nth-child(even) > svg { background: #FDEBDF; color: var(--orange); }
.theme-sand .standards { border-color: #F6DCC8; }
.theme-sand .standards li { background: var(--sand); }

/* White section with an orange glow behind the photo */
.theme-white-accent {
  background:
    radial-gradient(circle at 18% 50%, rgba(228,112,39,.16) 0, rgba(228,112,39,.16) 230px, transparent 232px),
    radial-gradient(circle at 92% 12%, rgba(5,130,126,.10) 0, rgba(5,130,126,.10) 140px, transparent 142px),
    #fff;
}

/* Deep teal gradient (partners) */
.theme-deep { background: var(--deep); color: #fff; }
.theme-deep .section-head h2 { color: #fff; }
.theme-deep .section-head p:last-child { color: rgba(255,255,255,.8); }
.theme-deep .partner-card { background: #fff; color: var(--ink); border: 0; box-shadow: 0 20px 40px rgba(0,0,0,.2); }

/* Contact: warm tint with an orange top edge */
.theme-contact { background: linear-gradient(180deg, var(--sand) 0%, #FFE9D9 100%); border-top: 6px solid var(--orange); }
.theme-contact .quote-form { background: #fff; box-shadow: 0 20px 40px rgba(120,60,20,.1); }
.theme-contact .contact-list li > svg { background: var(--orange); }
.theme-contact .contact-list li:nth-child(even) > svg { background: var(--teal); }

/* Trusted by */
.clients { background: #fff; padding: 36px 0; border-bottom: 1px solid #E3E9EA; }
.clients[hidden] { display: none; }
.clients-title { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.clients-title svg { width: 16px; height: 16px; color: var(--orange); }
.clients-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; }
.client-logo img { height: 46px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.client-logo:hover img { filter: none; opacity: 1; }
.client-name { font-weight: 700; font-size: 1.05rem; color: var(--teal-dark); padding: 8px 18px; border-radius: 999px; background: var(--mint); }

/* Footer: same colour and details as the top bar */
.site-footer { background: var(--teal-dark); color: rgba(255,255,255,.82); }
.site-footer a { display: flex; align-items: center; gap: 8px; }
.site-footer a svg, .footer-place svg { width: 16px; height: 16px; flex-shrink: 0; color: #FFB27F; }
.footer-place { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-weight: 600; }
.footer-grid { border-bottom-color: rgba(255,255,255,.18); }
.site-footer a:hover { color: #FFB27F; }
.theme-sand .chip:not([aria-pressed="true"]) { background: #fff; }
.fact[hidden] { display: none; }
.facts-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
@media (max-width: 480px) { .facts-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   MULTI-PAGE ROUND: page banners, explore tiles, industries,
   and company colours everywhere (no plain white page areas)
   ============================================================ */
body { background: var(--mint); }
.section:not(.section-dark):not([class*="theme-"]) { background: var(--mint); }
.theme-white-accent {
  background:
    radial-gradient(circle at 18% 50%, rgba(228,112,39,.18) 0, rgba(228,112,39,.18) 230px, transparent 232px),
    radial-gradient(circle at 92% 12%, rgba(5,130,126,.14) 0, rgba(5,130,126,.14) 140px, transparent 142px),
    var(--mint);
}

/* Page banner on every inner page (photo behind a teal overlay) */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 64px 0 96px;
  background:
    linear-gradient(115deg, rgba(6,52,52,.96) 0%, rgba(8,78,76,.9) 55%, rgba(5,130,126,.78) 100%),
    var(--hero-img, url("images/plant-pipe-run.jpg")) center / cover no-repeat;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.15; font-weight: 800; margin-bottom: 14px; max-width: 820px; text-wrap: balance; }
.page-hero .lead { max-width: 640px; margin-bottom: 0; }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #FFB27F; opacity: 1; }
.page-hero .eyebrow svg { width: 18px; height: 18px; }
.page-hero .hero-stripe { bottom: -70px; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.crumbs a { color: #fff; font-weight: 600; }
.crumbs a:hover { color: #FFB27F; }
.page-hero + .section { padding-top: 70px; }

/* Active menu item */
.main-nav a.is-active:not(.btn) { color: var(--teal); font-weight: 600; }
.main-nav a.is-active:not(.btn)::after { width: 100%; }
.main-nav a.btn.is-active { background: var(--orange-dark); }

/* Deep sections: text colours */
.theme-deep .gallery-head h2 { color: #fff; }
.theme-deep .gallery-head-note { color: rgba(255,255,255,.75); }
.theme-deep .why-item { background: rgba(255,255,255,.96); border: 0; }
.theme-deep .project-card { border: 0; }

/* Homepage "Explore SFE" tiles */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.explore-card {
  display: flex; flex-direction: column; gap: 6px; padding: 26px;
  border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(120,60,20,.08);
  border-bottom: 4px solid var(--teal); transition: transform .25s, box-shadow .25s;
}
.explore-card:nth-child(even) { border-bottom-color: var(--orange); }
.explore-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(120,60,20,.14); }
.explore-card svg { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--teal-light); color: var(--teal); margin-bottom: 8px; }
.explore-card:nth-child(even) svg { background: #FDEBDF; color: var(--orange); }
.explore-card strong { font-size: 1.1rem; }
.explore-card span { color: var(--muted); font-size: .92rem; }
.explore-card-cta { background: var(--orange); border-bottom-color: var(--orange-dark); color: #fff; }
.explore-card-cta span { color: rgba(255,255,255,.9); }
.explore-card-cta svg { background: rgba(255,255,255,.2) !important; color: #fff !important; }

/* Industries page cards */
.industry-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.industry-card {
  display: flex; flex-direction: column; gap: 12px; padding: 28px;
  border-radius: 18px; background: #fff; color: var(--ink);
  border-top: 5px solid var(--teal); box-shadow: 0 20px 40px rgba(0,0,0,.18);
  scroll-margin-top: 110px;
}
.industry-card-alt { border-top-color: var(--orange); }
.industry-card-head { display: flex; align-items: center; gap: 14px; }
.industry-card-head svg { flex-shrink: 0; width: 50px; height: 50px; padding: 12px; border-radius: 14px; background: var(--teal-light); color: var(--teal); }
.industry-card-alt .industry-card-head svg { background: #FDEBDF; color: var(--orange); }
.industry-card-head h3 { margin: 0; font-size: 1.1rem; }
.industry-card > p { color: var(--muted); font-size: .94rem; }
.industry-list { display: grid; gap: 8px; }
.industry-list li { display: flex; gap: 8px; font-size: .9rem; }
.industry-list svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--teal); margin-top: 2px; }
.industry-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--orange); }
.industry-link svg { width: 18px; height: 18px; }
.industry-link:hover { color: var(--teal); }

/* Contact page: map link */
.map-link { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; color: var(--teal) !important; }
.map-link svg { width: 16px; height: 16px; }

@media (max-width: 960px) {
  .explore-grid, .industry-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 40px 0 80px; }
  .explore-grid, .industry-cards { grid-template-columns: 1fr; }
  .explore-card { padding: 20px; }
}
a.industry { transition: background .2s, transform .2s; }
a.industry:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }

/* ============================================================
   COMPACT ROUND: less scrolling, tabs, product picker
   ============================================================ */

/* Tighter spacing everywhere */
.section { padding: 60px 0; }
.section-head { margin-bottom: 30px; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.hero { padding: 56px 0 104px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.hero-video { width: min(100%, 290px); }
.theme-teal { padding: 30px 0 38px; }
.page-hero { padding: 38px 0 84px; }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.page-hero + .section, .tabbar-wrap + .section { padding-top: 48px; }
.cta-band { padding: 38px 0; }
.site-footer { padding: 44px 0 20px; }
.footer-grid { padding-bottom: 24px; }
.footer-bottom { padding-top: 16px; }

/* Tab bar under the page banner (sticks under the menu while scrolling) */
.tabbar-wrap { position: sticky; top: 88px; z-index: 60; margin-top: -40px; margin-bottom: -40px; pointer-events: none; }
.tabbar {
  pointer-events: auto;
  display: flex; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%;
  background: #fff; padding: 6px; border-radius: 16px; box-shadow: 0 12px 30px rgba(6,52,52,.18);
}
.tabbar [role="tab"] {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: 12px 20px; border: 0; border-radius: 12px; background: transparent;
  transition: background .2s, color .2s;
}
.tabbar [role="tab"] svg { width: 18px; height: 18px; color: var(--teal); }
.tabbar [role="tab"]:hover { background: var(--mint); }
.tabbar [role="tab"][aria-selected="true"] { background: var(--orange); color: #fff; }
.tabbar [role="tab"][aria-selected="true"] svg { color: #fff; }
.tabbar [role="tab"]:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.tab-panel[hidden] { display: none !important; }
.tab-panel { padding-top: 72px !important; }

/* Product picker: list on the left, one product on the right */
.product-grid.is-picker { display: grid; grid-template-columns: 290px 1fr; gap: 24px; align-items: start; }
.picker-list { display: grid; gap: 10px; position: sticky; top: 170px; }
.picker-list button {
  display: grid; gap: 2px; text-align: left; cursor: pointer; font: inherit;
  padding: 14px 16px; border-radius: 14px; border: 2px solid transparent;
  background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem;
  box-shadow: 0 6px 18px rgba(120,60,20,.07); transition: border-color .2s, background .2s;
}
.picker-list button span { font-size: .72rem; font-weight: 700; letter-spacing: 1px; color: var(--teal); }
.picker-list button:hover { border-color: var(--teal-light); }
.picker-list button[aria-selected="true"] { background: var(--teal-dark); color: #fff; border-color: var(--teal-dark); }
.picker-list button[aria-selected="true"] span { color: #FFB27F; }
.is-picker article[hidden] { display: none !important; }
.is-picker .product-card, .is-picker .product-card-featured { grid-column: 2; grid-row: 1; transform: none !important; }
.is-picker .product-media { aspect-ratio: 21 / 9; }
.is-picker .product-card-featured { grid-template-columns: 1fr 1fr; }

/* Gallery "Show more" */
.gallery-more-btn { display: block; margin: 24px auto 0; cursor: pointer; font-family: inherit; }
.gallery-more-btn[hidden] { display: none; }

/* Industries page: a little more compact */
.industry-card { padding: 22px; gap: 10px; }

@media (max-width: 960px) {
  .product-grid.is-picker { grid-template-columns: 1fr; }
  .picker-list { position: static; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .is-picker .product-card, .is-picker .product-card-featured { grid-column: 1; grid-row: auto; }
}
@media (max-width: 760px) {
  .section { padding: 44px 0; }
  .tabbar-wrap { top: 74px; margin-top: -32px; margin-bottom: -32px; }
  .tabbar { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabbar::-webkit-scrollbar { display: none; }
  .tabbar [role="tab"] { flex: 1 0 auto; padding: 10px 14px; font-size: .88rem; }
  .tab-panel { padding-top: 60px !important; }
  .picker-list { grid-template-columns: 1fr 1fr; }
  .is-picker .product-card-featured { grid-template-columns: 1fr; }
  .page-hero { padding: 28px 0 70px; }
}

/* Extra compacting */
.footer-grid > div:nth-child(2) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-content: start; }
.footer-grid > div:nth-child(2) .footer-title { grid-column: 1 / -1; }
.site-footer a { margin-bottom: 4px; }
.footer-logo { height: 64px; margin-bottom: 10px; }
.featured-cover, .project-cover { aspect-ratio: 16 / 9; }
.featured-summary, .project-summary {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.featured-body, .project-body { padding: 18px 20px 20px; }
.industry-card { padding: 20px; }
.industry-card > p { font-size: .9rem; }
.industry-list li { font-size: .86rem; }
.partner-card { padding: 24px; }
.partner-list li { padding: 8px 0 8px 22px; }
.partner-intro { margin-bottom: 12px; }
.theme-teal { padding: 24px 0 30px; }
.hero { padding: 48px 0 96px; }

/* Owner photo instead of initials */
.avatar.avatar-photo { object-fit: cover; padding: 0; display: block; }
.owner-bio + .owner-bio { margin-top: 10px; }
.owner-facts { display: grid; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #E3E9EA; }
.owner-facts li { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--teal-dark); }
.owner-facts svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
@media (max-width: 760px) { .owner-facts li { justify-content: center; } }
/* SFL-005 range list: codes a bit wider */
.range-list li { grid-template-columns: 110px 1fr; }
.range-list span { color: var(--teal-dark); font-weight: 700; }
.product-card-sfl5 { border-top-color: var(--orange); }
.product-card-sfl5 .product-code { background: #FDEBDF; color: var(--orange-dark); }
.product-card-sfl5 .spec-list li { grid-template-columns: 116px 1fr; }

/* Certificate on the team page */
.cert-link { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 10px; border-radius: 14px; background: var(--mint); transition: background .2s; }
.cert-link:hover { background: var(--teal-light); }
.cert-link img { width: 120px; height: auto; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.12); flex-shrink: 0; }
.cert-link span { display: flex; flex-direction: column; font-weight: 700; font-size: .9rem; color: var(--teal-dark); }
.cert-link span svg { width: 18px; height: 18px; color: var(--orange); margin-bottom: 4px; }
.cert-link small { font-weight: 500; color: var(--muted); font-size: .8rem; }
@media (max-width: 760px) { .cert-link { flex-direction: column; text-align: center; } .cert-link span { align-items: center; } .cert-link img { width: 100%; max-width: 320px; } }
/* Training photos: own label colour */
.media-cat.media-training { background: #FFB27F; color: #3a1c06; display: inline-block; }
#training .media-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 760px) { #training .media-grid { grid-template-columns: repeat(2, 1fr); } .media-cat.media-training { font-size: .65rem; top: 8px; left: 8px; padding: 3px 8px; } }
#training-grid .media-item[hidden] { display: none; }
/* Owner phone on the team page, names in the WhatsApp menu */
.owner-phone { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .9rem; font-weight: 600; color: var(--teal-dark); }
.owner-phone svg { width: 15px; height: 15px; color: var(--orange); }
.owner-phone:hover { color: var(--orange); }
.wa-text { display: flex; flex-direction: column; line-height: 1.25; }
.wa-who { font-size: .72rem; font-weight: 600; color: #3C6B52; }
.wa-menu a:hover .wa-who { color: #fff; }

/* ---------- Team members with phone (business development) ---------- */
.team-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.member-phone { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .9rem; font-weight: 600; color: var(--teal-dark, #0A5F5C); text-decoration: none; }
.member-phone svg { width: 15px; height: 15px; color: var(--orange, #E47027); }
.member-phone:hover { color: var(--orange, #E47027); }
.team-member .avatar { flex-shrink: 0; }
