/* =============================================================
   GLIDEROL PORTAL CONCEPT — "Portal: Clean Modern Tool"
   Typography: DM Sans (headings) + Inter (body/UI)
   Palette: Gliderol Blue #004f8f dominant, light surface #f4f6f7,
            crisp white cards, blue-800 accents
   ============================================================= */


/* ---- Reset & Base ------------------------------------------ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Gliderol brand */
  --blue-900: #002f5c;
  --blue-800: #003d73;
  --blue-700: #004f8f;   /* Primary brand */
  --blue-600: #0060ad;
  --blue-500: #0072cc;
  --blue-100: #deeaf6;
  --blue-050: #f0f6fb;

  /* Neutrals */
  --ink:     #202428;
  --deep:    #121821;
  --text:    #2c333b;
  --muted:   #66717b;
  --line:    #d9dee3;
  --soft:    #f4f6f7;
  --paper:   #ffffff;

  /* Semantic */
  --surface-base:  var(--paper);
  --surface-soft:  var(--soft);
  --surface-raised: var(--paper);
  --border:        var(--line);
  --text-primary:  var(--ink);
  --text-secondary: var(--muted);

  /* Bunnings secondary palette (used only for co-mark) */
  --bun-green:  #0b6d3a;
  --bun-red:    #d8232a;
  --bun-yellow: #ffc72c;

  /* Spacing scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Type */
  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-ui:      'Inter', system-ui, sans-serif;

  /* Radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 9999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);

  /* Transition */
  --ease: cubic-bezier(.25,.1,.25,1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-700);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul { list-style: none; }

/* Screen-reader only */
.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;
}

/* Focus visible */
:focus-visible {
  outline: 2.5px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---- Layout container -------------------------------------- */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--sp-8); }
}
@media (min-width: 1280px) {
  .container { padding: 0 var(--sp-10); }
}

/* ---- Sections ---------------------------------------------- */

.section {
  padding: var(--sp-16) 0;
}
@media (min-width: 1024px) {
  .section { padding: var(--sp-24) 0; }
}

.section-header {
  max-width: 640px;
  margin-bottom: var(--sp-10);
}
.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: var(--sp-3);
}
.section-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--blue-700);
  border-radius: var(--r-full);
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: var(--sp-4);
}

.section-body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
}


/* =============================================================
   BUTTONS
   ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 12px 22px;
  border-radius: var(--r-md);
  border: 1.75px solid transparent;
  cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease),
              border-color .15s var(--ease), box-shadow .15s var(--ease),
              transform .1s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--blue-700);
  color: var(--paper);
  border-color: var(--blue-700);
}
.btn-primary:hover {
  background: var(--blue-800);
  border-color: var(--blue-800);
  box-shadow: 0 4px 12px rgba(0,79,143,.3);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-600);
}
.btn-ghost:hover {
  background: var(--blue-050);
  border-color: var(--blue-700);
}

.btn-white {
  background: var(--paper);
  color: var(--blue-800);
  border-color: var(--paper);
}
.btn-white:hover {
  background: var(--blue-050);
  border-color: var(--blue-050);
}

.btn-sm {
  font-size: .875rem;
  padding: 9px 16px;
}

.btn-lg {
  font-size: 1rem;
  padding: 15px 28px;
}

.btn-full {
  width: 100%;
}


/* =============================================================
   SITE HEADER
   ============================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: 68px;
}

.header-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: none;
  flex: 1;
}
.header-nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  transition: background .12s, color .12s;
}
.nav-link:hover {
  background: var(--soft);
  color: var(--blue-700);
  text-decoration: none;
}

.header-actions {
  display: none;
  align-items: center;
  gap: var(--sp-5);
  margin-left: auto;
}

/* Bunnings co-mark in header */
.bunnings-comark {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  border-right: 1px solid var(--line);
  padding-right: var(--sp-5);
}
.comark-label {
  font-size: .6875rem;
  font-weight: 400;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.comark-bunnings {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bun-green);
  letter-spacing: -.01em;
}
.comark-sub {
  font-size: .6875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  margin-left: auto;
  border-radius: var(--r-sm);
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: var(--r-full);
  transition: opacity .15s;
}
.mobile-menu-btn:hover .hamburger-line { background: var(--blue-700); }

/* Mobile nav */
.mobile-nav {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.mobile-nav-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  transition: background .12s;
}
.mobile-nav-link:hover {
  background: var(--soft);
  text-decoration: none;
}
.mobile-bunnings {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--muted);
}
.mobile-bunnings strong { color: var(--bun-green); }

@media (min-width: 900px) {
  .header-nav { display: flex; }
  .header-actions { display: flex; }
  .mobile-menu-btn { display: none; }
}


/* =============================================================
   HERO
   ============================================================= */

.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: var(--sp-12) 0 var(--sp-10);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-ui);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: var(--sp-5);
}
.eyebrow-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--blue-600);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.85); }
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: var(--sp-5);
}

.hero-body {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--blue-700);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: var(--sp-1);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
  flex-shrink: 0;
}

/* Hero image composition */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--sp-3);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.hero-img-primary {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-img-primary img,
.hero-img-secondary img,
.hero-img-tertiary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.hero-img-primary:hover img,
.hero-img-secondary:hover img,
.hero-img-tertiary:hover img {
  transform: scale(1.03);
}
.hero-img-secondary,
.hero-img-tertiary {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }
  .hero-visual {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: var(--sp-20) 0;
  }
}


/* =============================================================
   DASHBOARD STRIP
   ============================================================= */

.dashboard-strip {
  background: var(--blue-900);
  padding: var(--sp-6) 0;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
}

.dash-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  color: rgba(255,255,255,.9);
  transition: background .15s, border-color .15s, transform .12s;
  text-decoration: none;
}
.dash-card:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.25);
  text-decoration: none;
  transform: translateY(-1px);
}

.dash-card--highlight {
  background: var(--blue-600);
  border-color: var(--blue-500);
}
.dash-card--highlight:hover {
  background: var(--blue-500);
  border-color: var(--blue-500);
}

.dash-card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border-radius: var(--r-sm);
}
.dash-card-icon svg {
  width: 20px;
  height: 20px;
}

.dash-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-card-title {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--paper);
}
.dash-card-desc {
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
}

.dash-card-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255,255,255,.5);
  transition: color .15s, transform .15s;
}
.dash-card:hover .dash-card-arrow {
  color: rgba(255,255,255,.9);
  transform: translateX(3px);
}

@media (min-width: 600px) {
  .dashboard-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .dashboard-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* =============================================================
   PRODUCTS SECTION
   ============================================================= */

.products-section {
  background: var(--soft);
}

/* Tabs */
.product-tabs {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
  border-bottom: 2px solid var(--line);
  padding-bottom: 0;
}

.tab-btn {
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  padding: var(--sp-3) var(--sp-4);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.tab-btn:hover {
  color: var(--ink);
}
.tab-btn--active {
  color: var(--blue-700);
  border-bottom-color: var(--blue-700);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--soft);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-card-img img {
  transform: scale(1.04);
}

.product-card-badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  background: var(--ink);
  color: var(--paper);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.product-card-badge--blue {
  background: var(--blue-700);
}

.product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--sp-5) var(--sp-6);
  gap: var(--sp-4);
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.product-card-desc {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  border-top: 1px solid var(--line);
  padding-top: var(--sp-4);
}
.product-specs li {
  display: flex;
  justify-content: space-between;
  font-size: .8375rem;
}
.product-specs li span:first-child {
  color: var(--muted);
}
.product-specs li span:last-child {
  font-weight: 600;
  color: var(--ink);
}

.product-card-actions {
  display: flex;
  gap: var(--sp-3);
  margin-top: auto;
  flex-wrap: wrap;
}

/* Gallery strip */
.gallery-strip {
  overflow: hidden;
  border-radius: var(--r-lg);
}
.gallery-strip-inner {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--sp-2);
}
.gallery-strip-inner::-webkit-scrollbar {
  height: 4px;
}
.gallery-strip-inner::-webkit-scrollbar-track {
  background: var(--line);
  border-radius: var(--r-full);
}
.gallery-strip-inner::-webkit-scrollbar-thumb {
  background: var(--blue-600);
  border-radius: var(--r-full);
}
.gallery-strip-inner img {
  width: 280px;
  height: 190px;
  object-fit: cover;
  border-radius: var(--r-md);
  flex-shrink: 0;
  scroll-snap-align: start;
}


/* =============================================================
   PRICE ESTIMATOR
   ============================================================= */

.estimate-section {
  background: var(--paper);
}

.estimate-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}

@media (min-width: 900px) {
  .estimate-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.estimate-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.estimate-benefits li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: .9375rem;
  color: var(--text);
  font-weight: 500;
}
.benefit-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--blue-600);
}

/* Estimate form */
.estimate-tool {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

.estimate-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.form-section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}

.form-input {
  font-family: var(--font-ui);
  font-size: .9375rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 11px 14px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
.form-input::placeholder {
  color: var(--muted);
}
.form-input:hover {
  border-color: #b0b8c2;
}
.form-input:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(0,114,204,.12);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-hint {
  font-size: .8rem;
  color: var(--muted);
}

/* Radio cards */
.form-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}
.form-radio-group--3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 480px) {
  .form-radio-group--3 { grid-template-columns: 1fr 1fr; }
}

.radio-card {
  position: relative;
  cursor: pointer;
}
.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.radio-card-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--paper);
  transition: all .15s;
  text-align: center;
}
.radio-card:hover .radio-card-label {
  border-color: var(--blue-500);
  color: var(--blue-700);
}
.radio-card input[type="radio"]:checked + .radio-card-label {
  border-color: var(--blue-700);
  background: var(--blue-050);
  color: var(--blue-800);
  box-shadow: 0 0 0 3px rgba(0,79,143,.1);
}
.radio-card input[type="radio"]:focus-visible + .radio-card-label {
  outline: 2.5px solid var(--blue-600);
  outline-offset: 2px;
}

.form-footer-note {
  font-size: .8375rem;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  margin-top: var(--sp-2);
}


/* =============================================================
   COLOUR SECTION
   ============================================================= */

.colour-section {
  background: var(--soft);
}

.colour-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
@media (min-width: 480px) {
  .colour-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
  .colour-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .colour-grid { grid-template-columns: repeat(8, 1fr); }
}

.swatch-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line);
  transition: box-shadow .15s, transform .15s;
}
.swatch-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.swatch-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.swatch-card figcaption {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text);
  padding: var(--sp-2) var(--sp-3);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.colour-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.colour-cta p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}


/* =============================================================
   WHY GLIDEROL
   ============================================================= */

.why-section {
  background: var(--paper);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 640px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

.why-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.why-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.why-card:hover .why-img img {
  transform: scale(1.04);
}

.why-body {
  padding: var(--sp-6);
}
.why-body h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}
.why-body p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* =============================================================
   RESOURCES
   ============================================================= */

.resources-section {
  background: var(--soft);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
@media (min-width: 640px) {
  .resources-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .resources-grid { grid-template-columns: repeat(3, 1fr); }
}

.resource-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  text-decoration: none;
  transition: box-shadow .15s, border-color .15s, transform .12s;
}
.resource-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--blue-100);
  transform: translateY(-1px);
  text-decoration: none;
}

.resource-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-050);
  border-radius: var(--r-md);
  color: var(--blue-700);
}
.resource-icon svg {
  width: 22px;
  height: 22px;
}

.resource-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.resource-type {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.resource-title {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.resource-size {
  font-size: .8rem;
  color: var(--muted);
}

.resource-dl-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: color .15s, transform .15s;
}
.resource-card:hover .resource-dl-icon {
  color: var(--blue-700);
  transform: translateY(2px);
}


/* =============================================================
   BUNNINGS PARTNER STRIP
   ============================================================= */

.bunnings-strip {
  background: linear-gradient(135deg, #002f5c 0%, #004f8f 60%, #005ca8 100%);
  padding: var(--sp-16) 0;
}

.bunnings-strip-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
}
@media (min-width: 768px) {
  .bunnings-strip-inner { grid-template-columns: 1fr 1fr; }
}

.bunnings-strip-copy .section-label {
  color: rgba(255,255,255,.7);
}
.bunnings-strip-copy .section-label::before {
  background: rgba(255,255,255,.4);
}
.bunnings-strip-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--paper);
  margin-bottom: var(--sp-4);
}
.bunnings-strip-copy p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
  max-width: 520px;
}

/* Large Bunnings wordmark lockup */
.bunnings-strip-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.bunnings-wordmark-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-10);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-xl);
  backdrop-filter: blur(8px);
}
.bwm-available {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: var(--sp-2);
}
.bwm-brand {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--bun-yellow);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.bwm-sub {
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .05em;
  text-transform: uppercase;
}


/* =============================================================
   CONTACT
   ============================================================= */

.contact-section {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1.4fr; align-items: start; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}
.contact-info-item > svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--blue-600);
  margin-top: 2px;
}
.contact-info-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-info-value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--blue-700);
}

.contact-form {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}


/* =============================================================
   FOOTER
   ============================================================= */

.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,.85);
  padding-top: var(--sp-16);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.2fr 2fr; }
}

.footer-logo {
  margin-bottom: var(--sp-4);
  /* Light logo on dark bg — add filter to invert/brighten if logo is dark */
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  max-width: 260px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
.footer-nav-col h3 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: var(--sp-4);
}
.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-nav-col a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .12s;
}
.footer-nav-col a:hover {
  color: var(--paper);
  text-decoration: none;
}

.footer-base {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--sp-5) 0;
}
.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
}
.footer-legal {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}
.footer-bunnings-note {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}
.footer-bunnings-note strong {
  color: var(--bun-yellow);
}


/* =============================================================
   PRODUCT PANEL VISIBILITY
   ============================================================= */

.product-panel {
  display: none;
}
.product-panel--active {
  display: block;
}


/* =============================================================
   REDUCED MOTION
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
