/* ============================================================
   Renewit Solutions — Components CSS
   Product Cards · Modals · Filters · Forms · Tables · Misc
   ============================================================ */

/* ── Product Card ─────────────────────────────────────── */
.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(37, 99, 235, 0.25); /* Static blue line */
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease-normal);
  position: relative;
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 0 15px 1px rgba(37, 99, 235, 0.12); /* Static blur shadow of blue color */
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--off-white) 100%);
  overflow: hidden;
}

.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--sp-6);
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__image-wrap img {
  transform: scale(1.04);
}

.product-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--off-white) 100%);
}

.product-card__img-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--border-strong);
}

/* Availability badge on image */
.product-card__avail {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  display: flex;
  gap: var(--sp-2);
}

.avail-tag {
  padding: 3px var(--sp-2);
  font-size: 10px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.avail-tag--sale { background: var(--teal); color: var(--white); }
.avail-tag--rent { background: var(--navy-light); color: var(--teal); border: 1px solid var(--border); }

/* Grade badge on image */
.product-card__grade {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
}

.product-card__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--sp-3);
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}

.product-card__brand {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.product-card__name {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-3);
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.spec-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.spec-row svg {
  width: 12px;
  height: 12px;
  color: var(--teal);
  flex-shrink: 0;
}

.spec-row strong {
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  min-width: 0;
}

.product-card__actions {
  display: flex;
  gap: var(--sp-2);
  margin-top: auto;
}

.product-card__actions .btn { flex: 1; }

/* ── Product Grid ─────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-6);
}

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

/* Empty state */
.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-16);
  color: var(--text-muted);
}

.products-empty svg {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
  color: var(--border-strong);
}

.products-empty h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-2);
  color: var(--text-secondary);
}

/* ── Filter Bar ───────────────────────────────────────── */
.filter-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  margin-bottom: var(--sp-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  align-items: flex-start;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
  min-width: 180px;
}

.filter-group label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Category Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.filter-tab {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--ease-fast);
  white-space: nowrap;
}

.filter-tab:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: var(--bg-primary);
}

.filter-tab.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* Select Dropdown */
.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-8) var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text-primary);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A8FA6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-3) center;
  transition: border-color var(--ease-fast);
  width: 100%;
}

.filter-select:hover, .filter-select:focus {
  border-color: var(--teal);
  outline: none;
}

.filter-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Search Input */
.filter-search {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.filter-search input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-3) var(--sp-2) var(--sp-10);
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: border-color var(--ease-fast), background var(--ease-fast);
}

.filter-search input::placeholder { color: var(--text-muted); }

.filter-search input:focus {
  border-color: var(--teal);
  background: rgba(255,255,255,0.07);
  outline: none;
}

.filter-search svg {
  position: absolute;
  left: var(--sp-3);
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

/* Filter Results Count */
.filter-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
}

.filter-results p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: none;
}

.filter-results strong { color: var(--teal); }

.filter-reset-btn {
  font-size: var(--text-sm);
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--ease-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.filter-reset-btn:hover { color: var(--teal); }

/* ── Product Modal / Drawer ───────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-normal);
  backdrop-filter: blur(4px);
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

@media (min-width: 768px) {
  .modal-overlay {
    align-items: center;
  }
}

.modal {
  background: var(--navy-light);
  border: 1px solid var(--border-strong);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transform: translateY(100%);
  transition: transform var(--ease-slow);
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .modal {
    border-radius: var(--radius-xl);
    transform: translateY(40px) scale(0.96);
  }
  .modal-overlay.is-open .modal {
    transform: translateY(0) scale(1);
  }
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--navy-light);
  z-index: 1;
}

.modal__close {
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--ease-fast);
  flex-shrink: 0;
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--teal);
}
.modal__close svg { width: 18px; height: 18px; }

.modal__body {
  padding: var(--sp-6);
}

.modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}

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

.modal__image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0e2040, #132a4e);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.modal-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.modal-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-slider__slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-slider__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--sp-6);
}

.modal-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 32, 64, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.modal-slider__arrow:hover {
  background: var(--teal);
  color: var(--navy-dark);
}

.modal-slider__arrow:active {
  transform: translateY(-50%) scale(0.9);
}

.modal-slider__arrow svg {
  width: 16px;
  height: 16px;
}

.modal-slider__arrow--prev {
  left: 12px;
}

.modal-slider__arrow--next {
  right: 12px;
}

.modal-slider__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.modal-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.modal-slider__dot.active {
  background: var(--teal);
  transform: scale(1.3);
}

.modal__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.modal__brand {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.modal__name {
  font-size: var(--text-2xl);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
}

.modal__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.modal__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

/* Spec Table */
.spec-table {
  width: 100%;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: var(--sp-6);
}

.spec-table-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
  margin-top: var(--sp-6);
}

.spec-table tr:nth-child(even) td {
  background: var(--bg-primary);
}

.spec-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.spec-table tr:last-child td { border-bottom: none; }

.spec-table td:first-child {
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  width: 40%;
  white-space: nowrap;
}

.spec-table td:last-child {
  color: var(--text-primary);
}

/* Condition Grade Explanation */
.grade-explainer {
  margin-top: var(--sp-6);
  padding: var(--sp-4);
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.grade-explainer h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.grade-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* ── Contact Form ─────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

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

.form-group label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
}

.form-group label .required {
  color: var(--teal);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: border-color var(--ease-fast), background var(--ease-fast);
}

/* Fix autofill input text/background visibility in Chrome/Safari */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover, 
.form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary) !important;
  -webkit-box-shadow: 0 0 0px 1000px var(--bg-secondary) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.form-select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: border-color var(--ease-fast), background var(--ease-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: var(--sp-10);
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--teal);
  background: var(--bg-secondary);
  outline: none;
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus {
  border-color: var(--teal);
  background: var(--bg-secondary);
  outline: none;
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-control.error { border-color: #ef4444; }

textarea.form-control {
  min-height: 140px;
  resize: vertical;
  line-height: var(--leading-relaxed);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.form-error {
  font-size: var(--text-xs);
  color: #ef4444;
}

/* Honeypot (spam prevention) */
.form-honey { display: none !important; }

/* Form Success / Error States */
.form-message {
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.form-message--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--grade-a);
}

.form-message--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* ── Stats Block ──────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-1);
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-1); }
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  transition: all var(--ease-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--teal);
  border-radius: var(--radius-full);
  transform-origin: center;
  transition: width var(--ease-slow);
}

.stat-card:hover::before { width: 100%; }

.stat-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--weight-extrabold);
  color: var(--teal);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-snug);
  font-weight: var(--weight-medium);
}

/* ── Testimonial Card ─────────────────────────────────── */
.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--ease-normal), box-shadow var(--ease-normal);
}

.testimonial-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--grade-b);
  fill: var(--grade-b);
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-style: italic;
  flex: 1;
}

.testimonial-text::before { content: '"'; }
.testimonial-text::after  { content: '"'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  color: var(--teal);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.testimonial-author-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.testimonial-author-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── Process Steps ────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-2);
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-6);
  position: relative;
}

.process-step__number {
  width: 56px;
  height: 56px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  margin-bottom: var(--sp-4);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--teal-glow);
}

.process-step__title {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  margin-bottom: var(--sp-2);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  max-width: 24ch;
}

/* ── Pillar Card ──────────────────────────────────────── */
.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: all var(--ease-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease-slow);
}

.pillar-card:hover::after { transform: scaleX(1); }

.pillar-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-glow);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 201, 167, 0.2);
}

.pillar-icon svg { width: 28px; height: 28px; color: var(--teal); }

.pillar-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
}

.pillar-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  flex: 1;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--teal);
  transition: gap var(--ease-fast);
}

.pillar-link:hover { gap: var(--sp-3); }

/* ── Brand Strip ──────────────────────────────────────── */
#brands-heading {
  text-align: center !important;
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--sp-8);
  display: block;
  width: 100%;
}

.brands-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4) var(--sp-8);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  min-width: 160px;
  height: 64px;
  transition: all var(--ease-normal);
  box-shadow: var(--shadow-sm);
}

.brand-item:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 15px rgba(0, 201, 167, 0.15);
  border-color: var(--teal);
}

.brand-item img {
  height: auto;
  max-height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--ease-normal);
}

.brand-item:hover img {
  transform: scale(1.08);
}

/* ── Gallery Grid ─────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--ease-normal);
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__overlay svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-normal);
  flex-direction: column;
  gap: var(--sp-4);
  color: #FFFFFF; /* High contrast text color */
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img-wrap {
  max-width: min(90vw, 1100px);
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.lightbox__controls {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.lightbox__btn {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease-fast);
  border: 1px solid rgba(255,255,255,0.2);
  color: #FFFFFF; /* White button icons */
}

.lightbox__btn:hover { background: rgba(255,255,255,0.2); }
.lightbox__btn svg { width: 20px; height: 20px; }

.lightbox__close {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease-fast);
  border: 1px solid rgba(255,255,255,0.2);
  color: #FFFFFF; /* White close icon */
}

.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__close svg { width: 22px; height: 22px; }

.lightbox__caption {
  font-size: var(--text-sm);
  color: #E2E8F0; /* Soft light grey text */
  text-align: center;
  font-weight: var(--weight-medium);
}

/* ── Info Cards / Fact Sheet ──────────────────────────── */
.fact-sheet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 900px) {
  .fact-sheet { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .fact-sheet { grid-template-columns: 1fr; }
}

.fact-item {
  padding: var(--sp-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--ease-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.fact-item:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  background: var(--bg-card);
  box-shadow: var(--shadow-md), 0 0 15px rgba(37, 99, 235, 0.05);
}

.fact-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: var(--sp-3);
}

.fact-value {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: var(--leading-normal);
}

/* ── Map Embed ────────────────────────────────────────── */
.map-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%) invert(5%);
}

/* ── Alert / Notice ───────────────────────────────────── */
.notice {
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.notice--info {
  background: rgba(0, 201, 167, 0.08);
  border: 1px solid rgba(0, 201, 167, 0.2);
  color: var(--teal);
}

.notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
