:root {
  --ink: #12202c;
  --ink-soft: #3a4d5e;
  --muted: #6a7d8d;
  --line: #d4dde6;
  --surface: #edf2f6;
  --white: #ffffff;
  --brand: #0a4d63;
  --brand-mid: #156987;
  --brand-dark: #062f3d;
  --accent: #d2642e;
  --accent-deep: #a84a1c;
  --accent-soft: #f8ebe2;
  --success: #1f7a4d;
  --danger: #b42318;
  --radius: 8px;
  --shadow: 0 14px 40px rgba(10, 40, 58, 0.12);
  --shadow-soft: 0 6px 18px rgba(10, 40, 58, 0.07);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1160px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1000px 420px at 0% -5%, rgba(21, 105, 135, 0.12), transparent 55%),
    radial-gradient(800px 360px at 100% 0%, rgba(210, 100, 46, 0.08), transparent 50%),
    linear-gradient(180deg, #f5f8fb 0%, var(--surface) 40%, #e8eef3 100%);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1rem; color: var(--ink-soft); }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Top bar */
.topbar {
  background: linear-gradient(90deg, var(--brand-dark), #0a4558 55%, #1a3a2e);
  color: #c9dbe5;
  font-size: 0.86rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.42rem 0;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #f3c9b0; }

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(10, 40, 58, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  transition: padding 0.25s ease;
}
.site-header.is-scrolled .header-inner { padding: 0.65rem 0; }

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.logo span { color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.55rem 0.8rem;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle-bars {
  width: 18px;
  height: 12px;
  display: inline-block;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}
.site-header.is-open .nav-toggle-bars {
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  transform: rotate(45deg);
  height: 14px;
  position: relative;
}
.site-header.is-open .nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset: 6px 0 auto;
  height: 2px;
  background: currentColor;
  transform: rotate(-90deg);
}
body.nav-locked { overflow: hidden; touch-action: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.05rem;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  position: relative;
  padding: 0.2rem 0;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn).active::after { transform: scaleX(1); }
.nav a:hover,
.nav a.active { color: var(--brand); }

.search-wrap {
  position: relative;
  flex: 1;
  max-width: 280px;
  min-width: 160px;
}
.search-form { width: 100%; }
.search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  border: 1px solid #dfe1e5;
  border-radius: 999px;
  background: #fff;
  padding: 0 0.35rem 0 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-bar:focus-within {
  border-color: #c5c9cf;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.18);
}
.search-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.55rem 0.35rem 0.55rem 0;
}
.search-bar input::-webkit-search-decoration,
.search-bar input::-webkit-search-cancel-button,
.search-bar input::-webkit-search-results-button,
.search-bar input::-webkit-search-results-decoration { display: none; }
.search-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}
.search-clear,
.search-go {
  appearance: none;
  border: 0;
  background: transparent;
  color: #70757a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
}
.search-clear:hover,
.search-go:hover { color: var(--brand); background: #f1f3f4; }
.search-bar-sep {
  width: 1px;
  height: 22px;
  background: #dfe1e5;
  margin: 0 0.1rem;
}
.btn {
  appearance: none;
  border: none;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.68rem 1.15rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 8px 20px rgba(210, 100, 46, 0.25);
}
.btn-accent:hover { background: linear-gradient(135deg, #e07038, var(--accent-deep)); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  box-shadow: none;
}
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }

.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #dfe1e5;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(32, 33, 36, 0.16);
  z-index: 60;
  max-height: 320px;
  overflow: auto;
  display: none;
  padding: 0.35rem 0;
}
.search-suggest.is-open { display: block; animation: fadeDown 0.2s ease; }
.search-suggest a {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
}
.search-suggest a::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.45;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M20 20l-3.5-3.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M20 20l-3.5-3.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.search-suggest a .suggest-body { min-width: 0; }
.search-suggest a .meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.1rem;
}
.search-suggest a:hover,
.search-suggest a.is-active { background: #f1f3f4; color: var(--brand); }
.search-suggest .empty {
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Hero — one composition, brand-first, full-bleed */
.hero {
  position: relative;
  min-height: min(88vh, 700px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(6, 47, 61, 0.94) 0%, rgba(10, 77, 99, 0.82) 42%, rgba(10, 77, 99, 0.45) 100%),
    url("../images/hero-pattern.svg") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 85% 20%, rgba(210, 100, 46, 0.28), transparent 60%),
    linear-gradient(0deg, rgba(6, 30, 40, 0.35), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.2rem;
  max-width: 680px;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: #fff;
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-brand em {
  font-style: normal;
  color: #f0b18a;
}
.hero h1 {
  color: #e8f2f7;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  max-width: 28ch;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.hero .lead {
  color: #c5d8e3;
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
  max-width: 42ch;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.hero-scroll {
  position: absolute;
  right: max(1rem, calc((100% - var(--max)) / 2));
  bottom: 1.4rem;
  z-index: 1;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: pulseY 2s ease-in-out infinite;
}
.hero-scroll::before {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.7));
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulseY {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

.section { padding: 4rem 0; }
.section-muted {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.2)),
    repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(10,77,99,0.02) 12px, rgba(10,77,99,0.02) 24px);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.section-head p { margin: 0; max-width: 48ch; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

/* Product / category interactive tiles */
.product-card,
.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover,
  .category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #b9c9d6;
  }
  .product-card:hover img,
  .category-card:hover img { transform: scale(1.05); }
}
.product-card .media,
.category-card .media {
  position: relative;
  overflow: hidden;
  background: #dfe8ef;
}
.product-card img,
.category-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  transition: transform 0.45s ease;
}
.product-card .body,
.category-card .body {
  padding: 1.05rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.product-card h3,
.category-card h3 {
  font-size: 1.12rem;
  margin: 0;
}
.product-card h3 a,
.category-card h3 a {
  color: inherit;
  text-decoration: none;
}
.meta { color: var(--muted); font-size: 0.86rem; }
.card-actions { margin-top: auto; padding-top: 0.75rem; }
.card-actions .btn { width: 100%; font-size: 0.92rem; }

.category-card .count-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(6, 47, 61, 0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.intro-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.intro-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.intro-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.stat {
  text-align: left;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--brand-dark);
  line-height: 1;
}
.stat span { font-size: 0.82rem; color: var(--muted); }

.why-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.why-item {
  padding: 1.5rem 1.25rem;
  border-top: 3px solid var(--brand);
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.why-item .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: rgba(10, 77, 99, 0.18);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.why-item h3 { font-size: 1.15rem; }

.cta-band {
  background:
    radial-gradient(500px 200px at 90% 0%, rgba(210, 100, 46, 0.35), transparent 55%),
    linear-gradient(120deg, var(--brand-dark), var(--brand-mid));
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 2.2rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin: 0 0 0.4rem; font-size: clamp(1.5rem, 2.5vw, 1.9rem); }
.cta-band p { color: #d0e3ed; margin: 0; }

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.contact-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-tile:hover {
  border-color: var(--brand-mid);
  transform: translateY(-2px);
}
.contact-tile strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.contact-tile a,
.contact-tile span { color: var(--ink); text-decoration: none; font-weight: 600; }

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }

.page-hero {
  padding: 2.4rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.35)),
    radial-gradient(600px 180px at 0% 0%, rgba(21,105,135,0.08), transparent);
}
.page-hero h1 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); }

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.2rem;
  padding: 2.2rem 0 3rem;
}
.gallery-main {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.gallery-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
  flex-wrap: wrap;
}
.gallery-thumbs button {
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.gallery-thumbs button.is-active,
.gallery-thumbs button:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}
.gallery-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.spec-table th,
.spec-table td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
  text-align: left;
}
.spec-table th { width: 40%; background: #f4f8fb; color: var(--ink); }
.spec-table tr { transition: background 0.15s ease; }
.spec-table tr:hover td { background: #fafcfd; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.2rem 0 1.5rem;
  align-items: end;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
}
.filters label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.filters input,
.filters select,
.form-control {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 1rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filters label { flex: 1 1 160px; min-width: 0; }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border-radius: var(--radius);
}
.table-scroll .spec-table { margin: 0; min-width: 420px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.2rem;
  align-items: start;
}
.filters input:focus,
.filters select:focus,
.form-control:focus {
  outline: none;
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(21, 105, 135, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; }
.alert {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.alert-success { background: #e8f6ee; color: var(--success); border: 1px solid #b7e0c7; }
.alert-error { background: #fdecec; color: var(--danger); border: 1px solid #f3c1c1; }

.pagination {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.pagination a,
.pagination span {
  min-width: 2.3rem;
  height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink-soft);
  background: #fff;
  padding: 0 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.catalogue-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.6);
}

.site-footer {
  margin-top: 2.5rem;
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(210,100,46,0.12), transparent 50%),
    #0d1f2b;
  color: #c5d3de;
  padding: 3.2rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h3 { color: #fff; font-size: 1.08rem; margin: 0 0 0.75rem; }
.site-footer p {
  color: #d7e3ed;
  margin: 0 0 0.55rem;
  line-height: 1.55;
  max-width: 36ch;
}
.site-footer a { color: #d7e3ed; text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  color: #b7c8d4;
}
.dev-credit a {
  color: #f0b18a;
  font-weight: 600;
  text-decoration: none;
}
.dev-credit a:hover {
  color: #fff;
  text-decoration: underline;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin-top: 1rem;
}
.social-links a {
  color: #f0b18a;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.social-links a:hover { color: #fff; }

.prose { max-width: 75ch; }
.prose h2 { margin-top: 1.5rem; }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Sticky mobile enquiry */
.mobile-enquiry {
  display: none;
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 70;
  justify-content: center;
}
.mobile-enquiry .btn {
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 30px rgba(10, 40, 58, 0.28);
}

.product-card.is-dimmed {
  opacity: 0.28;
  transform: scale(0.98);
  pointer-events: none;
}

@media (max-width: 1100px) {
  .nav { gap: 0.25rem 0.75rem; }
  .nav a { font-size: 0.88rem; }
  .search-wrap { max-width: 220px; min-width: 140px; }
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3,
  .why-list,
  .footer-grid,
  .product-layout,
  .intro-band,
  .contact-strip,
  .contact-layout { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .search-wrap { max-width: 200px; }
}

/* Mobile navigation + compact layout */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-inner {
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    padding: 0.75rem 0;
  }
  .logo { font-size: 1.25rem; max-width: calc(100% - 7rem); white-space: normal; line-height: 1.1; }
  .nav,
  .search-wrap {
    display: none;
    width: 100%;
  }
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    order: 3;
    width: 100%;
    gap: 0.15rem;
    padding: 0.35rem 0 0.55rem;
    border-top: 1px solid var(--line);
    animation: fadeDown 0.25s ease;
  }
  .site-header.is-open .nav a {
    display: block;
    padding: 0.85rem 0.2rem;
    font-size: 1rem;
    min-height: 44px;
  }
  .site-header.is-open .nav a:not(.btn)::after { display: none; }
  .site-header.is-open .search-wrap {
    display: block;
    order: 4;
    max-width: none;
    min-width: 0;
    padding-bottom: 0.85rem;
  }
  .search-suggest {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: auto;
    max-height: min(50vh, 320px);
  }
}

@media (max-width: 760px) {
  .container { width: min(100% - 1.25rem, var(--max)); }
  .topbar { font-size: 0.8rem; }
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.5rem 0;
  }
  .grid-4,
  .form-grid,
  .stat-row { grid-template-columns: 1fr; }
  .hero {
    min-height: min(72vh, 560px);
    align-items: center;
  }
  .hero-inner {
    padding: 3rem 0 2.6rem;
    max-width: none;
  }
  .hero-brand { font-size: clamp(2.1rem, 11vw, 3.2rem); }
  .hero h1 { max-width: none; font-size: 1.1rem; }
  .hero .lead { font-size: 0.98rem; margin-bottom: 1.25rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; min-height: 48px; }
  .page-hero { padding: 1.6rem 0 1rem; }
  .page-hero h1 { font-size: clamp(1.65rem, 7vw, 2.1rem); }
  .section { padding: 2.4rem 0; }
  .section-head { margin-bottom: 1.2rem; }
  .btn { min-height: 44px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .filters {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .filters label { flex: 1 1 auto; width: 100%; }
  .filters .btn { width: 100%; }
  .product-layout { gap: 1.4rem; padding: 1.4rem 0 2.4rem; }
  .gallery-thumbs img { width: 64px; height: 64px; }
  .site-footer { padding: 2.4rem 0 1.25rem; }
  .site-footer p { max-width: none; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
  .mobile-enquiry {
    display: flex;
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
  body.has-mobile-cta {
    padding-bottom: calc(4.8rem + env(safe-area-inset-bottom));
  }
  .cta-band {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 1rem;
  }
  .cta-band .btn { width: 100%; }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .product-card h3,
  .category-card h3 { font-size: 1.05rem; }
  .search-bar { min-height: 46px; }
  .logo { font-size: 1.15rem; }
}

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