/* ============================================================
   SSPL Hub + Surface Studio — Reusable Components
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease);
}

.btn:hover::after {
  opacity: 1;
}

/* Primary — luxury brushed gold fill (from official logo) */
.btn--primary {
  background: var(--gradient-gold);
  color: #161412;
  font-weight: 600;
  border: 1px solid var(--color-gold-hover);
  box-shadow: 0 4px 16px var(--color-gold-glow);
  border-radius: 10px;
}
.btn--primary:hover {
  background: var(--gradient-gold-hover);
  border-color: var(--color-gold-bright);
  color: #12100e;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(197, 155, 78, 0.45);
}

/* Secondary — outlined */
.btn--secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 10px;
}
.btn--secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
}
.view-all-materials {
  color: #3a3838;
  border: 1px solid #6e6e6e;
  border-radius: 10px;
}

.view-all-material:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
}

/* Ghost — text + underline */
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: none;
  padding-inline: 0;
  padding-block: var(--space-1);
  letter-spacing: var(--tracking-wide);
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}
.btn--ghost:hover {
  color: var(--color-accent);
}
.btn--ghost::after {
  display: none;
}

/* Light variant (on dark bg) */
.btn--light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn--light:hover {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}

/* Forest Green variant */
.btn--forest,
.btn--teal {
  background: var(--color-forest);
  color: #fff;
  border: 1px solid var(--color-forest);
}
.btn--forest:hover,
.btn--teal:hover {
  background: var(--color-forest-dark);
  border-color: var(--color-forest-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* WhatsApp button */
.btn--whatsapp {
  background: #25d366;
  color: #fff;
  border: 1px solid #25d366;
  gap: var(--space-3);
  border-radius: 10px;
}
.btn--whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
}

/* Icon button */
.btn--icon {
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}
.btn--icon:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ══════════════════════════════════════════════════════════════
   BADGES / TAGS
   ══════════════════════════════════════════════════════════════ */

.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  background: transparent;
}

.badge--accent {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.badge--teal {
  border-color: var(--color-accent-teal);
  color: var(--color-accent-teal);
}
.badge--dark {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

/* ══════════════════════════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════════════════════════ */

/* Base card */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition:
    box-shadow var(--duration-base) var(--ease),
    transform var(--duration-base) var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card__image {
  overflow: hidden;
  position: relative;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

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

.card__body {
  padding: var(--space-6) var(--space-8);
}

.card__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.card__desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: none;
}

.card__footer {
  padding: var(--space-4) var(--space-8);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  cursor: pointer;
  transition:
    box-shadow var(--duration-base) var(--ease),
    transform var(--duration-base) var(--ease);
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--color-surface-warm);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

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

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 24, 20, 0.5) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease);
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

.product-card__body {
  padding: var(--space-5) var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__category {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.product-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: var(--leading-snug);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  flex: 1;
  max-width: none;
}

.product-card__cta {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--duration-fast) var(--ease);
}

.product-card:hover .product-card__cta {
  gap: var(--space-3);
}

/* Brand route card (homepage) */
.brand-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}

.brand-card__image {
  position: absolute;
  inset: 0;
}

.brand-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease);
}

.brand-card:hover .brand-card__image img {
  transform: scale(1.05);
}

.brand-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 24, 20, 0.85) 0%,
    rgba(26, 24, 20, 0.35) 50%,
    transparent 100%
  );
  transition: background var(--duration-base) var(--ease);
}

.brand-card:hover .brand-card__overlay {
  background: linear-gradient(
    to top,
    rgba(26, 24, 20, 0.9) 0%,
    rgba(26, 24, 20, 0.45) 55%,
    rgba(26, 24, 20, 0.1) 100%
  );
}

.brand-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-10) var(--space-8);
  color: #fff;
}

.brand-card__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-3);
  display: block;
}

.brand-card__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 300;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-3);
}

.brand-card__sub {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  max-width: none;
}

.brand-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: var(--space-1);
  transition:
    gap var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease);
}

.brand-card:hover .brand-card__arrow {
  gap: var(--space-5);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════════════ */

.section-header {
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-label,
.section-header--center .section-title,
.section-header--center .section-desc,
.section-header--center p {
  margin-inline: auto;
  text-align: center;
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 300;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-snug);
  margin-bottom: var(--space-5);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 60ch;
}

/* ══════════════════════════════════════════════════════════════
   STAT / TRUST ITEMS
   ══════════════════════════════════════════════════════════════ */

.stat {
  text-align: center;
  padding: var(--space-8);
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 300;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ══════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════ */

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0;
  outline: none;
  transition:
    border-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

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

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(181, 113, 74, 0.12);
}

.form-control:invalid:not(:placeholder-shown) {
  border-color: #d93025;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6460' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form-error {
  font-size: var(--text-xs);
  color: #d93025;
  margin-top: var(--space-1);
}

.form-success {
  padding: var(--space-4) var(--space-6);
  background: rgba(61, 122, 120, 0.08);
  border: 1px solid var(--color-accent-teal);
  color: var(--color-accent-teal);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-top: var(--space-4);
  display: none;
}

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

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

/* Honeypot */
.form-honeypot {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   ACCORDION (FAQ)
   ══════════════════════════════════════════════════════════════ */

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-item:first-child {
  border-top: 1px solid var(--color-border);
}

.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: var(--space-6);
  transition: color var(--duration-fast) var(--ease);
}

.accordion-btn:hover {
  color: var(--color-accent);
}

.accordion-question {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: var(--leading-snug);
  color: inherit;
}

.accordion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--duration-base) var(--ease);
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease);
}

.accordion-icon::before {
  width: 14px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  width: 1px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-btn[aria-expanded="true"] .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-base) var(--ease-out);
}

.accordion-body.open {
  grid-template-rows: 1fr;
}

.accordion-inner {
  overflow: hidden;
}

.accordion-answer {
  padding-bottom: var(--space-6);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 70ch;
}

/* ══════════════════════════════════════════════════════════════
   LIGHTBOX / GALLERY
   ══════════════════════════════════════════════════════════════ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-3);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--color-surface-warm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

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

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease);
}

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

.gallery-item__icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Lightbox modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease);
}

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

.lightbox__inner {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ══════════════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════════════ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  /* color: var(--color-text-muted); */
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-weight: 500;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.breadcrumb a {
  color: inherit;
  transition: color var(--duration-fast) var(--ease);
}
.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb__sep {
  color: var(--color-border-strong);
}

/* ══════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-surface-dark);
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-20));
}

.page-hero--short {
  min-height: 340px;
  padding-bottom: clamp(var(--space-6), 3vw, var(--space-8));
}

.page-hero--short .page-hero__content {
  padding-top: calc(var(--nav-height) + var(--space-8));
  padding-bottom: var(--space-4);
}

.page-hero--short .page-hero__title {
  max-width: 100%;
  margin-bottom: var(--space-3);
}

.page-hero--short .page-hero__sub {
  max-width: 60ch;
  margin-bottom: 0;
}
.page-hero--tall {
  min-height: 600px;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 24, 20, 0.8) 0%,
    rgba(26, 24, 20, 0.45) 60%,
    rgba(26, 24, 20, 0.2) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: 30px;
}

.page-hero__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-4);
  display: block;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin-bottom: var(--space-5);
}

.page-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-relaxed);
  max-width: 52ch;
  margin-bottom: var(--space-8);
}

/* ══════════════════════════════════════════════════════════════
   TOAST NOTIFICATION
   ══════════════════════════════════════════════════════════════ */

.toast {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  padding: var(--space-4) var(--space-6);
  background: var(--color-text);
  color: var(--color-bg);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: var(--z-toast);
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--duration-base) var(--ease);
  max-width: 340px;
  box-shadow: var(--shadow-xl);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast--success {
  background: var(--color-accent-teal);
  color: #fff;
}
.toast--error {
  background: #c0392b;
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   CTA STRIP
   ══════════════════════════════════════════════════════════════ */

.cta-strip {
  background: var(--color-surface-dark);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/placeholder/texture.jpg") center/cover no-repeat;
  opacity: 0.08;
}

.cta-strip__inner {
  position: relative;
  z-index: 1;
}

.cta-strip__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-4);
  display: block;
}

.cta-strip__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 300;
  color: #fff;
  line-height: var(--leading-tight);
  max-width: 18ch;
  margin: 0 auto var(--space-8);
  letter-spacing: var(--tracking-snug);
}

.cta-strip__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-strip--sspl {
  background: linear-gradient(180deg, #1f1b17 0%, #141210 100%);
  border-top: 1px solid rgba(200, 162, 89, 0.25);
  border-bottom: 1px solid rgba(200, 162, 89, 0.15);
}

.cta-strip__sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-base);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   TESTIMONIAL CARD
   ══════════════════════════════════════════════════════════════ */

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-8);
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-6);
  position: relative;
}

.testimonial-card__quote::before {
  content: "\201C";
  font-size: 4em;
  line-height: 0;
  vertical-align: -0.45em;
  color: var(--color-accent);
  margin-right: var(--space-1);
  font-family: var(--font-display);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-surface-warm);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-4);
  color: #f4b400;
}

/* ══════════════════════════════════════════════════════════════
   BACK-TO-TOP
   ══════════════════════════════════════════════════════════════ */

.back-to-top {
  position: fixed;
  bottom: calc(clamp(1.75rem, 3.5vw, 2.5rem) + 58px + 12px);
  right: calc(clamp(1.75rem, 3.5vw, 2.5rem) + 7px);
  left: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-charcoal, #161412);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity var(--duration-base) var(--ease),
    transform var(--duration-base) var(--ease),
    background var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease);
  z-index: 991;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent);
}

/* ══════════════════════════════════════════════════════════════
   MEDIA QUERIES (component-level)
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .back-to-top {
    bottom: 76px;
    right: 20px;
    left: auto;
    width: 42px;
    height: 42px;
  }
  .card__body {
    padding: var(--space-5) var(--space-5);
  }
  .brand-card {
    aspect-ratio: 3/4;
  }
  .stat {
    padding: var(--space-5);
  }
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL BADGES & LABELS
   ══════════════════════════════════════════════════════════════ */

.label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px 12px;
  font-family: var(--font-nav);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  background: var(--color-surface-warm);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.label--accent,
.label--gold {
  background: var(--color-gold-subtle);
  color: var(--color-gold);
  border-color: var(--color-gold-border);
}

.label--teal,
.label--forest {
  background: rgba(53, 76, 71, 0.12);
  color: var(--color-forest);
  border-color: rgba(53, 76, 71, 0.25);
}

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

/* ══════════════════════════════════════════════════════════════
   GLOBAL FILTER BARS (Gallery & Products)
   ══════════════════════════════════════════════════════════════ */

.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
}

.filter-bar__label {
  font-family: var(--font-nav);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-muted);
  margin-right: var(--space-2);
}

.filter-btn {
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-nav);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-charcoal);
  color: #fff;
  border-color: var(--color-charcoal);
}

/* ══════════════════════════════════════════════════════════════
   CATALOG DOWNLOAD CARD (Testimonials & Products)
   ══════════════════════════════════════════════════════════════ */

.catalog-download-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-top: var(--space-16);
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════════════════════════════════════
   LEGAL PAGES (Privacy Policy & Terms of Service)
   ══════════════════════════════════════════════════════════════ */

.legal-content {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  background-color: var(--color-bg);
}

.legal-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--color-charcoal);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.legal-content h3 {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-charcoal);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-content p {
  font-size: 1rem;
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
  list-style: disc;
}

.legal-content li {
  margin-bottom: var(--space-2);
  font-size: 0.98rem;
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

.legal-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-xs);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  font-size: 0.95rem;
  line-height: var(--leading-relaxed);
  color: var(--color-charcoal);
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════════ */

.reveal,
[data-reveal] {
  opacity: 1; /* Fallback safe baseline */
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.counter {
  font-variant-numeric: tabular-nums;
}

.sspl-feature__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  color: var(--color-charcoal);
  margin-block: var(--space-2) var(--space-4);
  line-height: 1.15;
}
