/* =====================================================================
   Premium Spray Insulation — main stylesheet
   Brand palette (from PSI logo): dark navy base + brand blue (links) +
   orange (CTAs). White header to match the logo's white background.
   ===================================================================== */

:root {
  /* Colour tokens */
  --color-base: #16243F;          /* dark navy — logo lettering, dark sections, headings */
  --color-primary: #1C6FC2;       /* brand blue — links, accents */
  --color-primary-dark: #15538F;  /* brand blue hover */
  --color-bg: #FFFFFF;
  --color-surface: #F2F6FB;       /* light blue-grey section band */
  --color-text: #1B2A44;
  --color-text-muted: #5B6781;
  --color-cta: #E87D1E;           /* orange — primary buttons + active states */
  --color-cta-hover: #CC6A12;
  --color-success: #1E9E6A;
  --color-error: #D64545;
  --color-warning: #E0A100;
  --color-border: #DEE5EE;
  --color-on-dark: #DCE4F0;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 5rem;
  --space-8: 7.5rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(22, 36, 63, 0.08);
  --shadow-md: 0 6px 24px rgba(22, 36, 63, 0.14);
  --header-h: 76px;
  --transition: 200ms ease;
}

/* --- Reset / base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--color-base); margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

/* Accessibility helpers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 0; top: -60px; background: var(--color-base);
  color: #fff; padding: 0.75rem 1rem; z-index: 1000; transition: top var(--transition);
}
.skip-link:focus { top: 0; color: #fff; }
:focus-visible {
  outline: 3px solid var(--color-cta);
  outline-offset: 2px;
  border-radius: 2px;
}
.muted { color: var(--color-text-muted); }
.center { text-align: center; }

/* --- Layout ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: var(--space-7) 0; }
.section-surface { background: var(--color-surface); }
.section-title { margin-bottom: 0.6em; }
.subsection-title { font-size: 1.3rem; margin: 1.5rem 0 0.75rem; color: var(--color-base); }
.section-lead { font-size: 1.15rem; color: var(--color-text-muted); max-width: 60ch; }
.section-cta { margin-top: 2rem; }
.section-head-row {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  justify-content: space-between; margin-bottom: 2rem;
}

/* --- Buttons --------------------------------------------------------- */
.btn {
  display: inline-block; font-weight: 600; font-family: inherit;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none; line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }
.btn-primary { background: var(--color-cta); color: #fff; }
.btn-primary:hover { background: var(--color-cta-hover); color: #fff; }
.btn-secondary { background: var(--color-base); color: #fff; }
.btn-secondary:hover { background: #20355c; color: #fff; }
.btn-ghost { background: transparent; color: var(--color-cta); border-color: var(--color-cta); }
.btn-ghost:hover { background: var(--color-cta); color: #fff; }

/* --- Header ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.brand { display: flex; align-items: center; padding: 0.35rem 0; }
.brand-text { color: var(--color-base); font-weight: 800; font-size: 1.15rem; }
.brand-home { gap: 0.4rem; color: var(--color-base); }
.brand-home:hover { color: var(--color-primary); text-decoration: none; }
.brand-home:hover .brand-text { color: var(--color-primary); }
.brand-home-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.brand-logo { max-height: 174px; width: auto; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px;
  background: var(--color-base); transition: var(--transition);
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem; color: var(--color-base);
  padding: 0.6rem 0.7rem; font-weight: 600; font-size: 0.95rem; border-radius: var(--radius-sm);
}
.nav-link:hover { color: var(--color-primary); background: rgba(28,111,194,0.08); text-decoration: none; }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }

.mega-menu {
  position: absolute; top: 100%; left: 0; min-width: 320px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 1.25rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}
.has-mega:hover .mega-menu, .has-mega:focus-within .mega-menu, .mega-menu.is-open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-heading { font-weight: 700; color: var(--color-base); margin: 0 0 0.5rem; font-size: 0.95rem; }
.mega-list { list-style: none; margin: 0 0 0.75rem; padding: 0; }
.mega-list li { margin: 0; }
.mega-list a { display: block; padding: 0.45rem 0.5rem; color: var(--color-text); border-radius: var(--radius-sm); }
.mega-list a:hover { background: var(--color-surface); color: var(--color-cta); text-decoration: none; }
.mega-supporting a { font-size: 0.9rem; color: var(--color-text-muted); }
.mega-cta { font-weight: 600; font-size: 0.9rem; }
.tag {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--color-surface); color: var(--color-text-muted);
  padding: 0.1rem 0.4rem; border-radius: 3px; margin-left: 0.3rem;
}

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-tel, .header-wa { color: var(--color-text); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.header-tel:hover, .header-wa:hover { color: var(--color-primary); }

/* --- Hero ------------------------------------------------------------ */
.hero { position: relative; background: var(--color-base); color: #fff; overflow: hidden; }
.hero--home, .hero--division, .hero--solution {
  background-image: linear-gradient(rgba(22,36,63,0.62), rgba(22,36,63,0.62)),
    radial-gradient(circle at 70% 20%, #234a85, var(--color-base));
}
.hero-overlay { position: absolute; inset: 0; background: rgba(22,36,63,0.4); }
.hero-inner { position: relative; padding: 40px 0; max-width: 760px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; font-size: 0.85rem; color: var(--color-cta); margin-bottom: 0.75rem; }
.hero-logo {
  background: #fff; padding: 1rem 1.25rem; border-radius: var(--radius);
  max-width: 540px; width: 100%; margin-bottom: 1.75rem; box-shadow: var(--shadow-md);
}
.product-detail-img {
  max-width: 240px; height: auto; margin-bottom: 1.25rem;
  background: #fff; padding: 0.75rem 1rem; border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.hero-title { color: #fff; margin-bottom: 0.5em; }
.hero-sub { font-size: 1.2rem; color: #d6dbdd; margin-bottom: 1.75rem; max-width: 55ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero--home .btn-ghost, .hero .btn-ghost { color: #fff; border-color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--color-base); }

/* --- Trust strip ----------------------------------------------------- */
.trust-strip { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 1.5rem 0; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.trust-points { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; font-weight: 600; color: var(--color-base); }
.trust-points li { position: relative; padding-left: 1.4rem; }
.trust-points li::before { content: "\2713"; position: absolute; left: 0; color: var(--color-success); font-weight: 700; }
.partner-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.partner-logo { max-height: 40px; filter: grayscale(1); opacity: 0.8; }
.partner-name { font-weight: 700; color: var(--color-text-muted); letter-spacing: 0.02em; }

/* --- Cards / grids --------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 16 / 10; background: var(--color-surface); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: var(--color-text-muted); font-weight: 600; text-align: center; padding: 1rem;
  background: linear-gradient(135deg, #e9eef0, #f4f6f7);
}
.card-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-eyebrow { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; color: var(--color-cta); font-weight: 700; margin: 0; }
.card-title { font-size: 1.25rem; margin: 0; }
.card-title a { color: var(--color-base); }
.card-title a:hover { color: var(--color-cta); }
.card-summary { color: var(--color-text-muted); margin: 0; }
.card-products { font-size: 0.85rem; color: var(--color-text-muted); margin: 0.25rem 0 0; }
.card-link { font-weight: 600; margin-top: auto; padding-top: 0.5rem; }
.project-result { font-weight: 700; color: var(--color-success); margin: 0; }

/* Divisions */
.division-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.division-card { background: var(--color-base); color: #fff; border-radius: var(--radius); overflow: hidden; }
.division-card-body { padding: 2rem; }
.division-card-title { color: #fff; }
.division-card-tag { color: var(--color-cta); font-weight: 600; }
.division-card p { color: #cfd6d9; }

/* --- Axis toggle ----------------------------------------------------- */
.axis-toggle { display: inline-flex; border: 2px solid var(--color-cta); border-radius: 999px; overflow: hidden; }
.axis-btn { padding: 0.5rem 1.1rem; font-weight: 600; font-size: 0.9rem; color: var(--color-cta); }
.axis-btn:hover { background: rgba(24,167,224,0.1); text-decoration: none; }
.axis-btn.is-active { background: var(--color-cta); color: #fff; }

/* --- How it works ---------------------------------------------------- */
.hiw-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.hiw-step { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; }
.hiw-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-cta); color: #fff; font-weight: 700; margin-bottom: 0.75rem; }
.hiw-title { font-size: 1.1rem; }
.hiw-desc { color: var(--color-text-muted); margin: 0; }

/* --- Comparison table ------------------------------------------------ */
.table-wrap { overflow-x: auto; }
.comparison-table, .spec-table { width: 100%; border-collapse: collapse; background: #fff; }
.comparison-table th, .comparison-table td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.comparison-table thead th { background: var(--color-base); color: #fff; }
.comparison-table tbody th { font-weight: 600; color: var(--color-base); }
.comparison-table tbody tr:nth-child(even) { background: var(--color-surface); }

/* --- Bullet columns / lists ------------------------------------------ */
.bullet-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--color-success); font-weight: 700; }
.supporting-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.supporting-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--color-border); }
.rich-text h2 { margin-top: 1.5em; }
.rich-text h3 { margin-top: 1.4em; margin-bottom: 0.3em; }
.rich-text ul { padding-left: 1.3em; }
.rich-text img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* --- Inline media gallery (rich-text sections) ---------------------- */
.media-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.75rem 0; }
.media-gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); margin: 0; box-shadow: var(--shadow-sm); }

/* --- Why PSI --------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.why-item { background: var(--color-surface); border-radius: var(--radius); padding: 1.75rem; border-left: 4px solid var(--color-cta); }
.why-faq { border-left-color: var(--color-warning); }

/* --- Testimonials ---------------------------------------------------- */
.testimonial-card { margin: 0; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.testimonial-quote { font-size: 1.05rem; font-style: italic; color: var(--color-text); }
.testimonial-author { font-weight: 700; color: var(--color-base); }

/* --- CTA band -------------------------------------------------------- */
.cta-band { background: var(--color-base); color: #fff; }
.cta-band .section-title { color: #fff; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band p { color: #cfd6d9; margin: 0; }

/* --- Breadcrumb ------------------------------------------------------ */
.breadcrumb { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 0.75rem 0; font-size: 0.9rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li::after { content: "\203A"; margin-left: 0.4rem; color: var(--color-text-muted); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb [aria-current="page"] span { color: var(--color-text-muted); }

/* --- Product detail -------------------------------------------------- */
.product-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
.product-spec { background: var(--color-surface); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.spec-title { font-size: 1.15rem; margin-top: 0; }
.spec-table th, .spec-table td { padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.spec-table th { color: var(--color-text-muted); font-weight: 600; width: 42%; }
.spec-note { font-size: 0.8rem; margin-top: 1rem; }
.cross-link .section-title { margin-bottom: 1.5rem; }

/* --- Projects -------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 2rem; }
.filter-btn { padding: 0.45rem 1rem; border: 1px solid var(--color-border); border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: var(--color-text); }
.filter-btn:hover { border-color: var(--color-cta); color: var(--color-cta); text-decoration: none; }
.filter-btn.is-active { background: var(--color-cta); border-color: var(--color-cta); color: #fff; }
.project-result-lg { font-size: 1.4rem; font-weight: 700; color: var(--color-success); }
.result-block { background: var(--color-surface); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; }

/* --- Project gallery --------------------------------------------------- */
.project-gallery { margin: 1.5rem 0; }
.project-gallery-main {
  display: block; width: 100%; padding: 0; border: 0; background: var(--color-surface);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 16 / 10;
}
.project-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.project-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }
.project-gallery-thumb {
  width: 84px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer; background: var(--color-surface); flex: 0 0 auto;
  transition: border-color var(--transition);
}
.project-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-gallery-thumb:hover { border-color: var(--color-border); }
.project-gallery-thumb.is-active { border-color: var(--color-cta); }

/* --- Lightbox ------------------------------------------------------------ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(22, 36, 63, 0.92);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: min(90vw, 1100px); max-height: 85vh; width: auto; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0;
  border-radius: 50%; width: 48px; height: 48px; font-size: 1.75rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* --- Forms ----------------------------------------------------------- */
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--color-base); }
.form-control, .calc-form select, .calc-form input,
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; color: var(--color-text);
  background: #fff;
}
.form-control:focus, .calc-form select:focus, .calc-form input:focus { border-color: var(--color-cta); }
.req { color: var(--color-error); }
.has-error .form-control { border-color: var(--color-error); }
.field-error { color: var(--color-error); font-size: 0.9rem; margin: 0.35rem 0 0; font-weight: 600; }
.form-alert { padding: 0.85rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-weight: 600; }
.form-alert-error { background: #fbe9e9; color: var(--color-error); }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; }
.form-check input { width: auto; margin-top: 0.3rem; }
.form-check label { font-weight: 400; }
.hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp-field { display: none; }

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.contact-list li { padding: 0.3rem 0; }
.contact-list .lbl { display: inline-block; min-width: 80px; font-weight: 600; color: var(--color-text-muted); }
.contact-list-center { display: inline-block; text-align: left; }
.contact-address { font-style: normal; line-height: 1.7; }
.map-embed iframe { width: 100%; min-height: 280px; border: 0; border-radius: var(--radius); margin-top: 1rem; }

/* --- Footer ---------------------------------------------------------- */
.site-footer { background: var(--color-base); color: #c4ccd0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; padding: var(--space-7) 1.25rem var(--space-6); }
.footer-brand { font-weight: 800; color: #fff; font-size: 1.2rem; }
.footer-strap { color: #9aa4a9; }
.footer-heading { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-subheading { color: #fff; font-size: 0.9rem; margin: 1rem 0 0.4rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a, .footer-contact-list a, .footer-social { color: #c4ccd0; }
.footer-links a:hover, .footer-contact-list a:hover { color: #fff; }
.footer-address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-contact-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.footer-contact-list .lbl { color: #9aa4a9; }
.footer-cta { margin-top: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; font-size: 0.85rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-legal { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.footer-legal a { color: #c4ccd0; }

/* --- Mobile sticky bar ----------------------------------------------- */
.mobile-bar { display: none; }

/* --- Reveal animation ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 300ms ease, transform 300ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(360px, 85vw);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 1.25rem; gap: 0.5rem; transform: translateX(100%);
    transition: transform var(--transition); overflow-y: auto;
    box-shadow: var(--shadow-md); border-left: 1px solid var(--color-border);
  }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--color-border); }
  .mega-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding: 0.5rem 0 0.75rem 1rem; min-width: 0; display: none;
    background: transparent;
  }
  .mega-menu.is-open { display: block; }
  .mega-heading { color: var(--color-text-muted); }
  .mega-list a { color: var(--color-text); }
  .mega-list a:hover { background: var(--color-surface); }
  .mega-cta { color: var(--color-primary); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; margin-top: 1rem; }
  .header-tel, .header-wa { padding: 0.5rem 0; }
}

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-steps { grid-template-columns: repeat(2, 1fr); }
  .bullet-columns { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-spec { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: var(--space-6) 0; }
  .card-grid, .division-cards, .why-grid { grid-template-columns: 1fr; }
  .hiw-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 40px 0; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  /* Mobile sticky bottom bar */
  .mobile-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: var(--color-base); border-top: 1px solid rgba(255,255,255,0.1);
  }
  .mobile-bar-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
    padding: 0.6rem 0.25rem; color: #fff; font-size: 0.75rem; font-weight: 600;
  }
  .mobile-bar-item:hover { color: #fff; text-decoration: none; }
  .mobile-bar-cta { background: var(--color-cta); }
  .mobile-bar-icon { font-size: 1.1rem; }
  body { padding-bottom: 64px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
