/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1c2b4a;
  --navy-dark: #111d33;
  --orange: #e8820c;
  --orange-dark: #c96f09;
  --grey-light: #f5f5f5;
  --grey-mid: #e0e0e0;
  --text: #222;
  --text-light: #555;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

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

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

/* ===== Layout ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--grey { background: var(--grey-light); }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo img {
  height: 52px;
  width: auto;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar__nav > li { position: relative; }

.navbar__nav > li > a {
  display: block;
  padding: 8px 14px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition);
  white-space: nowrap;
}

.navbar__nav > li > a:hover,
.navbar__nav > li > a.active {
  background: var(--orange);
  color: var(--white);
}

/* Dropdown */
.dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-dark);
  min-width: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;
  list-style: none;
  z-index: 100;
}

.dropdown:hover .dropdown__menu { display: block; }

.dropdown__menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--white);
  font-size: 14px;
  transition: background var(--transition);
}

.dropdown__menu li a:hover { background: var(--orange); color: var(--white); }

/* Mobile hamburger */
.navbar__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 900px) {
  .navbar__hamburger { display: block; }

  .navbar__nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 16px;
    gap: 0;
  }

  .navbar__nav.open { display: flex; }
  .navbar__nav > li { width: 100%; }
  .navbar__nav > li > a { padding: 12px 8px; }

  .dropdown__menu {
    position: static;
    box-shadow: none;
    padding-left: 16px;
  }
  .dropdown:hover .dropdown__menu { display: block; }
}

/* ===== Hero carousel ===== */
.hero {
  background: var(--navy-dark);
  color: var(--white);
  padding: 200px 0 180px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 1160px;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}
.hero-slide.active { opacity: 1; }

.hero-overlay { display: none; }

.hero__content {
  position: relative;
  z-index: 2;
  background: rgba(17, 29, 51, 0.80);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 20px;
  padding: 48px 56px;
  max-width: 720px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.hero-nav:hover { background: rgba(255,255,255,0.3); }
.hero-nav--prev { left: 24px; }
.hero-nav--next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.hero-dot.active { background: var(--orange); }

@media (max-width: 600px) {
  .hero-nav { display: none; }
}

/* ===== Customers logo strip ===== */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
}
.logo-strip img {
  height: 120px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(30%);
  transition: opacity 0.2s, filter 0.2s;
}
.logo-strip img:hover { opacity: 1; filter: none; }

/* ===== Certifications row ===== */
.certs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}
.certs-row img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s;
  opacity: 0.85;
}
.certs-row img:hover { opacity: 1; }

/* ===== MTESS division ===== */
.mtess-section {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.mtess-logo {
  height: 130px;
  width: auto;
  flex-shrink: 0;
}
.mtess-content h2 { color: var(--white); margin-bottom: 12px; font-size: clamp(1.4rem, 3vw, 2rem); }
.mtess-content p { color: rgba(255,255,255,0.82); max-width: 520px; margin-bottom: 24px; }
.mtess-badge { height: 72px; width: auto; }

@media (max-width: 700px) {
  .mtess-section { flex-direction: column; text-align: center; }
  .mtess-content p { max-width: 100%; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

/* ===== Section headings ===== */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 12px;
}

.section-title--light { color: var(--white); }

.section-lead {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 48px;
}

.section-divider {
  width: 52px;
  height: 4px;
  background: var(--orange);
  margin: 12px 0 36px;
  border-radius: 2px;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* Product range section */
.product-range-section { padding-top: 0; padding-bottom: 0; }
.product-range-inner {
  padding: 56px 60px;
}
.product-range-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-light);
  padding-bottom: 10px;
}
.product-range-grid {
  display: grid;
  grid-template-columns: 1fr 3px 1fr 1fr 1fr;
  gap: 0 24px;
  align-items: stretch;
}
.product-range-divider {
  background: #e5e7eb;
  border-radius: 2px;
  align-self: stretch;
}
.product-range-card {
  background: var(--white);
  border: 1px solid #e8eaed;
  border-radius: 10px;
  overflow: hidden;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-range-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.product-range-card__img-wrap {
  background: #f4f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  height: 220px;
}
.product-range-card__img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
}
.product-range-card__body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-range-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 6px 0 8px;
}
.product-range-card__text {
  font-size: 0.88rem;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 16px;
  line-height: 1.5;
}
@media (max-width: 960px) {
  .product-range-inner { padding: 40px 24px; }
  .product-range-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .product-range-divider { display: none; }
}
@media (max-width: 560px) {
  .product-range-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}

.card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card__body { padding: 24px; }

.card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.card__title {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.card__text {
  color: var(--text-light);
  font-size: 0.93rem;
  margin-bottom: 16px;
}

/* ===== Feature strips ===== */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.feature-strip__item {}

.feature-strip__icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.feature-strip__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-strip__text { color: var(--text-light); font-size: 0.9rem; }

/* ===== Spec table ===== */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--grey-mid);
  text-align: left;
}

.spec-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--grey-light); }

/* ===== Two-col layout ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col--reverse { direction: ltr; }
}

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info__icon {
  font-size: 1.4rem;
  color: var(--orange);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ===== Forms ===== */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 600;
}

.alert--success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert--error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ===== Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card__body { padding: 20px 24px 24px; }

.blog-card__date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-card__title {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

/* Blog post detail */
.post-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 40px;
}

.post-hero__date { opacity: 0.7; font-size: 0.9rem; margin-bottom: 10px; }
.post-hero h1 { font-size: clamp(1.4rem, 3vw, 2.2rem); }

.post-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text);
}

.post-body p { margin-bottom: 20px; }
.post-body h2, .post-body h3 { margin: 32px 0 12px; color: var(--navy); }
.post-body ul, .post-body ol { margin: 0 0 20px 24px; }
.post-body li { margin-bottom: 6px; }

.post-body img {
  border-radius: 6px;
  margin: 28px auto;
  width: 100%;
  max-width: 680px;
  object-fit: cover;
}

/* Post image gallery */
.post-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.post-gallery__item {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-dark);
}
.post-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.post-gallery__item:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}
/* Wide posts (2 images) get 2-col layout, single image gets full-width */
.post-gallery:has(> :nth-child(2)):not(:has(> :nth-child(3))) {
  grid-template-columns: repeat(2, 1fr);
}
.post-gallery:not(:has(> :nth-child(2))) {
  grid-template-columns: 1fr;
  max-width: 600px;
}
@media (max-width: 600px) {
  .post-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .post-gallery__item { aspect-ratio: 1; }
}

/* ===== Page hero (non-home) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 60px 0 52px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { opacity: 0.8; max-width: 520px; margin: 0 auto; }

/* ===== Products page ===== */
.product-hero-img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.coming-soon-badge {
  display: inline-block;
  background: var(--grey-mid);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}

/* ===== Stats bar ===== */
.stats-bar {
  background: var(--orange);
  color: var(--white);
  padding: 40px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.stats-bar__number {
  font-size: 2.4rem;
  font-weight: 700;
  display: block;
}

.stats-bar__label { font-size: 0.88rem; opacity: 0.9; margin-top: 4px; }

/* ===== Used stock ===== */
.used-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}

.used-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.used-card__title { font-size: 1.15rem; color: var(--navy); font-weight: 700; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.badge--sold { background: #f8d7da; color: #721c24; }
.badge--available { background: #d4edda; color: #155724; }

.used-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0;
  font-size: 0.88rem;
  color: var(--text-light);
}

.used-card__features { font-size: 0.92rem; color: var(--text); margin-top: 12px; }

/* ===== Used stock listings ===== */
.used-listing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.used-listing__gallery {
  background: var(--grey-light);
  display: flex;
  flex-direction: column;
}

.used-listing__hero {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.used-listing__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 3px;
  padding: 3px;
  background: var(--grey-mid);
}

.used-listing__thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}
.used-listing__thumbs img:hover { opacity: 0.8; }

.used-listing__gallery--placeholder {
  min-height: 220px;
  align-items: center;
  justify-content: center;
}
.used-listing__no-img {
  color: var(--text-light);
  font-size: 0.95rem;
  padding: 40px;
  text-align: center;
}

.used-listing__info {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
}

.used-listing__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.used-listing__head h2 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0;
}

.used-listing__desc {
  color: var(--text-light);
  font-size: 0.92rem;
  margin: 0 0 16px;
  line-height: 1.55;
}

.used-listing__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  background: var(--grey-light);
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.used-listing__stats > div { display: flex; flex-direction: column; gap: 2px; }
.used-stat__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-light); font-weight: 600; }
.used-stat__value { font-size: 0.95rem; color: var(--navy); font-weight: 700; }

.used-listing__features {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.used-listing__features li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 5px 0 5px 18px;
  position: relative;
  border-bottom: 1px solid var(--grey-light);
}
.used-listing__features li:last-child { border-bottom: none; }
.used-listing__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .used-listing { grid-template-columns: 1fr; }
  .used-listing__info { padding: 20px; }
  .used-listing__thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__logo img { height: 52px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.85; }

.footer__tagline { font-size: 0.9rem; margin-bottom: 16px; }

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color var(--transition); }
.footer ul li a:hover { color: var(--orange); }

.footer__contact-line { display: flex; gap: 10px; font-size: 0.88rem; margin-bottom: 10px; align-items: flex-start; }
.footer__contact-line span:first-child { color: var(--orange); flex-shrink: 0; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

.footer__bottom a { color: rgba(255,255,255,0.6); }
.footer__bottom a:hover { color: var(--orange); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Partnerships ===== */
.partner-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 6px;
  padding: 32px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

@media (max-width: 600px) {
  .partner-card { flex-direction: column; }
}

.partner-card__logo { width: 160px; flex-shrink: 0; }
.partner-card__logo img { width: 100%; height: auto; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  display: block;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,0.28); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__prev.hidden,
.lightbox__next.hidden { display: none; }

/* Make gallery images show a zoom cursor */
.used-listing__hero,
.used-listing__thumbs img,
.post-gallery__item img { cursor: zoom-in; }

/* Prevent drag-to-save on all images */
img { -webkit-user-drag: none; user-drag: none; user-select: none; -webkit-user-select: none; }
