/* ═══════════════════════════════════════════════════════════════════════════════
   COMPONENTS
   Buttons, badges, cards, icons, tags
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--dur-base) var(--ease-out),
    color            var(--dur-base) var(--ease-out),
    border-color     var(--dur-base) var(--ease-out),
    transform        var(--dur-fast) var(--ease-spring),
    box-shadow       var(--dur-base) var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  min-height: 48px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary — red */
.btn--primary {
  background-color: var(--mss-red);
  color: var(--mss-white);
  border-color: var(--mss-red);
  box-shadow: var(--shadow-red);
}
.btn--primary:hover {
  background-color: var(--mss-red-light);
  border-color: var(--mss-red-light);
  color: var(--mss-white);
  box-shadow: 0 6px 32px rgba(200, 16, 46, 0.4);
}

/* Secondary — outline (light-theme default) */
.btn--outline {
  background-color: transparent;
  color: #121212;
  border-color: rgba(0,0,0,0.25);
}
.btn--outline:hover {
  background-color: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.5);
  color: #121212;
}

/* Ghost — minimal */
.btn--ghost {
  background-color: transparent;
  color: var(--mss-red-light);
  border-color: transparent;
  padding-inline: var(--space-2);
}
.btn--ghost:hover {
  color: var(--mss-white);
}

/* Call button — brand red */
.btn--call {
  background-color: var(--mss-red);
  color: var(--mss-white);
  border-color: var(--mss-red);
}
.btn--call:hover {
  background-color: var(--mss-red-dark);
  border-color: var(--mss-red-dark);
  color: var(--mss-white);
  box-shadow: 0 4px 20px rgba(200, 16, 46, 0.35);
}

/* WhatsApp — brand green, white text */
.btn--whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border-color: #25D366;
}
.btn--whatsapp:hover {
  background-color: #1aab52;
  border-color: #1aab52;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

/* Sizes */
.btn--sm  { font-size: var(--text-sm);  padding: 0.5rem 1.25rem;   min-height: 44px; }
.btn--lg  { font-size: var(--text-lg);  padding: 1rem 2.25rem;     min-height: 56px; }
.btn--xl  { font-size: var(--text-xl);  padding: 1.1rem 2.75rem;   min-height: 64px; }
.btn--full { width: 100%; }

/* ─── Button Icon ─────────────────────────────────────────────────────────── */

.btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ─── Badges ──────────────────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.badge--red   { background-color: var(--mss-red-glow); color: var(--mss-red-light); border: 1px solid var(--mss-red-border); }
.badge--gold  { background-color: rgba(196, 154, 42, 0.15); color: var(--mss-gold-light); border: 1px solid rgba(196, 154, 42, 0.3); }
.badge--green { background-color: rgba(34, 197, 94, 0.1); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.2); }

/* ─── Cards ───────────────────────────────────────────────────────────────── */

.card {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow   var(--dur-base) var(--ease-out),
    transform    var(--dur-base) var(--ease-out);
}

.card:hover {
  border-color: var(--mss-red-border);
  box-shadow: var(--shadow-red);
  transform: translateY(-4px);
}

.card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

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

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

.card__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mss-red);
  margin-bottom: var(--space-2);
  display: block;
}

.card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #121212;
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.card__text {
  font-size: var(--text-sm);
  color: #616368;
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

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

/* ─── Stat / Metric ───────────────────────────────────────────────────────── */

.stat {
  text-align: center;
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--mss-red);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--mss-light-grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Star Rating ─────────────────────────────────────────────────────────── */

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--mss-gold-light);
  font-size: var(--text-lg);
}

/* ─── Divider ─────────────────────────────────────────────────────────────── */

.divider {
  border: none;
  height: 1px;
  background: var(--mss-border);
  margin-block: var(--space-8);
}

.divider--red {
  height: 2px;
  background: var(--mss-red);
  width: 60px;
  margin-inline: auto;
}

/* ─── Tag list ────────────────────────────────────────────────────────────── */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background-color: var(--mss-dark-3);
  color: var(--mss-grey);
  border: 1px solid var(--mss-border);
}

/* ─── Icon circle ─────────────────────────────────────────────────────────── */

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--mss-red-glow);
  border: 1px solid var(--mss-red-border);
  flex-shrink: 0;
}

.icon-circle svg {
  width: 26px;
  height: 26px;
  color: var(--mss-red-light);
}

/* ─── Page Hero (used on interior pages: brands, contact, etc.) ───────────── */

.page-hero {
  background-color: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  padding-block: var(--space-16) var(--space-12);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--mss-red);
}

.page-hero .container {
  position: relative;
}

.page-hero__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mss-red);
  margin-bottom: var(--space-3);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: #121212;
  line-height: 1.05;
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.page-hero__sub {
  font-size: var(--text-lg);
  color: #616368;
  max-width: 600px;
  line-height: 1.65;
  margin: 0;
}

/* ─── Article Detail Page ────────────────────────────────────────────────── */

.single-post {
  background:
    radial-gradient(circle at top right, rgba(200,16,46,0.16), transparent 34%),
    linear-gradient(180deg, #101010 0%, #161616 22%, #f3f3f3 22%, #f3f3f3 100%);
}

.article-hero {
  position: relative;
  padding-block: var(--space-16) var(--space-12);
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(200,16,46,0.12), transparent 38%),
    radial-gradient(circle at 82% 18%, rgba(200,16,46,0.28), transparent 30%);
  pointer-events: none;
}

.article-hero__shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: var(--space-10);
  align-items: end;
}

.article-hero__content {
  max-width: 760px;
}

.article-hero__shell--no-media {
  grid-template-columns: 1fr;
}

.article-hero__eyebrow-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: var(--space-5);
}

.article-hero__eyebrow,
.article-hero__dealer {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-hero__eyebrow {
  background: rgba(200,16,46,0.16);
  border: 1px solid rgba(200,16,46,0.28);
  color: #ffd9df;
}

.article-hero__dealer {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88);
}

.article-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: var(--space-5);
  text-wrap: balance;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.62);
}

.article-hero__excerpt {
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--space-8);
}

.article-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.article-hero__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.03);
}

.article-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.32) 100%);
  pointer-events: none;
}

.article-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.article-shell {
  position: relative;
  padding-top: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--space-10);
  align-items: start;
}

.article-entry__surface {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.08);
  overflow: hidden;
}

.article-entry__body {
  padding: clamp(1.4rem, 2vw, 2.6rem);
}

.article-prose {
  color: #3f434a;
  font-size: clamp(1.02rem, 1.05vw, 1.12rem);
  line-height: 1.9;
}

.article-prose > *:first-child {
  margin-top: 0;
}

.article-prose p {
  color: #474c54;
  margin: 0 0 1.35rem;
}

.article-prose h2,
.article-prose h3,
.article-prose h4 {
  font-family: var(--font-display);
  color: #151515;
  letter-spacing: -0.02em;
}

.article-prose h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.02;
  margin: 3rem 0 1rem;
}

.article-prose h3 {
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  line-height: 1.08;
  margin: 2.2rem 0 0.85rem;
}

.article-prose h4 {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.2;
  margin: 1.8rem 0 0.75rem;
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 1.5rem 1.2rem;
  padding-left: 0.4rem;
  color: #474c54;
}

.article-prose ul {
  list-style: disc;
}

.article-prose ol {
  list-style: decimal;
}

.article-prose li {
  margin-bottom: 0.55rem;
  padding-left: 0.15rem;
}

.article-prose a {
  color: var(--mss-red);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

.article-prose a:hover {
  color: var(--mss-red-dark);
}

.article-prose strong {
  color: #151515;
  font-weight: 700;
}

.article-prose blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--mss-red);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: linear-gradient(135deg, rgba(200,16,46,0.07), rgba(200,16,46,0.02));
  color: #222;
}

.article-prose blockquote p:last-child {
  margin-bottom: 0;
}

.article-prose img {
  display: block;
  width: 100%;
  height: auto;
  margin: 2rem auto;
  border-radius: 18px;
  border: 1px solid #ececec;
  box-shadow: 0 18px 42px rgba(0,0,0,0.10);
}

.article-prose figure {
  margin: 2.2rem 0;
}

.article-prose figcaption,
.article-prose .wp-caption-text,
.article-prose .blocks-gallery-caption {
  margin-top: 0.85rem;
  font-size: var(--text-sm);
  color: #737983;
  text-align: center;
}

.article-prose .wp-caption {
  max-width: 100%;
}

.article-entry__footer {
  padding: 0 clamp(1.4rem, 2vw, 2.6rem) clamp(1.4rem, 2vw, 2rem);
}

.article-entry__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200,16,46,0.18) 20%, rgba(0,0,0,0.08) 50%, transparent 100%);
  margin-bottom: 1.5rem;
}

.article-entry__footer-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  align-items: center;
  padding: 1.4rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #111111, #1c1c1c);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;
}

.article-entry__footer-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.article-entry__footer-title {
  color: #ffffff;
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin: 0;
}

.article-entry__footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}

.article-sidebar {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.article-sidecard {
  padding: 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
}

.article-sidecard--cta,
.article-sidecard--recent {
  background: linear-gradient(180deg, #161616 0%, #101010 100%);
}

.article-sidecard--trust {
  background: linear-gradient(135deg, rgba(200,16,46,0.92), rgba(160,13,36,0.98));
}

.article-sidecard__eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.64);
}

.article-sidecard__title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: #ffffff;
}

.article-sidecard__text {
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
}

.article-sidecard__actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.article-sidecard__actions .btn-servixa,
.article-sidecard__actions .btn,
.article-sidecard--trust .btn {
  width: 100%;
  justify-content: center;
}

.article-sidecard--trust .btn--outline {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.26);
  color: #ffffff;
}

.article-sidecard--trust .btn--outline:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.38);
  color: #ffffff;
}

.article-sidecard__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
}

.article-mini-post {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  transition: transform var(--dur-fast), border-color var(--dur-fast), background-color var(--dur-fast);
}

.article-mini-post:hover {
  transform: translateY(-2px);
  border-color: rgba(200,16,46,0.28);
  background: rgba(255,255,255,0.05);
}

.article-mini-post__media {
  overflow: hidden;
  border-radius: 12px;
}

.article-mini-post__media img {
  display: block;
  width: 100%;
  height: 76px;
  object-fit: cover;
}

.article-mini-post__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.article-mini-post__meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.46);
}

.article-mini-post__title {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.12;
}

@media (max-width: 1100px) {
  .article-hero__shell,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-hero {
    padding-block: var(--space-12) var(--space-8);
  }

  .article-hero__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .article-hero__meta {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .article-hero__media img {
    min-height: 240px;
  }

  .article-entry__surface {
    border-radius: 18px;
  }

  .article-entry__body,
  .article-entry__footer {
    padding-inline: 1.1rem;
  }

  .article-prose {
    font-size: 1rem;
    line-height: 1.82;
  }

  .article-prose h2 {
    font-size: 1.75rem;
    margin-top: 2.3rem;
  }

  .article-prose h3 {
    font-size: 1.35rem;
  }

  .article-entry__footer-inner,
  .article-entry__footer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .article-entry__footer-actions {
    justify-content: flex-start;
  }

  .article-mini-post {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}

/* ─── Archive Pagination ──────────────────────────────────────────────────── */

.archive-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.archive-pagination .nav-previous a,
.archive-pagination .nav-next a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mss-red);
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid rgba(200,16,46,0.2);
  border-radius: var(--radius-full);
  background: transparent;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.archive-pagination .nav-previous a:hover,
.archive-pagination .nav-next a:hover {
  background: var(--mss-red);
  color: var(--mss-white);
  border-color: var(--mss-red);
}

/* ─── Archive / Blog Empty State ─────────────────────────────────────────── */

.archive-empty {
  text-align: center;
  padding: 80px 24px;
}

.archive-empty__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--mss-red-glow);
  border: 1px solid var(--mss-red-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.archive-empty__icon svg {
  width: 28px;
  height: 28px;
  color: var(--mss-red);
}

.archive-empty h2 {
  font-size: var(--text-3xl);
  color: #121212;
  margin-bottom: 12px;
}

.archive-empty p {
  color: #616368;
  max-width: 420px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* ─── WhatsApp float pulse ────────────────────────────────────────────────── */

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.pulse-ring {
  position: relative;
}

.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring 2s ease-out infinite;
}
