/* v2 ═══════════════════════════════════════════════════════════
   AGENCIA SM ASESORES · Brand System
   Corporativo premium — blanco/crema dominante
   Colores oficiales del manual de marca:
     Azul    Pantone 2945 U  #29588c
     Naranja Pantone 1525 U  #bd6439
     Gris    Pantone 2336 U  #686666
     Gris 2  Pantone 8421 U  #828080
   Tipografía: Helvetica Neue (oficial)
   ═══════════════════════════════════════════════════════════ */

/* ─── FUENTES ─── */
@font-face {
  font-family: 'Helvetica Neue SM';
  src: url('../fonts/HelveticaNeue-Thin.otf') format('opentype');
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue SM';
  src: url('../fonts/HelveticaNeue-Light.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue SM';
  src: url('../fonts/HelveticaNeue-Roman.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue SM';
  src: url('../fonts/HelveticaNeue-Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue SM';
  src: url('../fonts/HelveticaNeue-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

/* ─── TOKENS ─── */
:root {
  /* Colores de marca */
  --sm-blue:        #29588c;
  --sm-blue-dark:   #1d4069;
  --sm-blue-deep:   #112a47;
  --sm-orange:      #bd6439;
  --sm-orange-light:#d07b4f;
  --sm-gray:        #686666;
  --sm-gray-light:  #828080;

  /* Neutrales / fondos */
  --sm-ink:         #0f1a2a;
  --sm-ink-soft:    #2c3a4f;
  --sm-body:        #475467;
  --sm-muted:       #8a94a3;
  --sm-line:        #e6e1d8;
  --sm-line-soft:   #f0ece3;
  --sm-cream:       #e6e9f0;
  --sm-cream-2:     #eceff6;
  --sm-paper:       #ffffff;

  /* Tipografía */
  --sm-font: 'Helvetica Neue SM', 'Helvetica Neue', 'Helvetica', 'Arial', system-ui, sans-serif;

  /* Sistema espacial */
  --sm-radius-sm: 8px;
  --sm-radius:    14px;
  --sm-radius-lg: 22px;
  --sm-radius-xl: 32px;

  /* Sombras refinadas (no slop) */
  --sm-shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --sm-shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
  --sm-shadow:    0 12px 32px -12px rgba(41, 88, 140, 0.18), 0 4px 12px -4px rgba(16, 24, 40, 0.06);
  --sm-shadow-lg: 0 28px 64px -20px rgba(41, 88, 140, 0.25), 0 8px 20px -8px rgba(16, 24, 40, 0.08);
  --sm-shadow-orange: 0 14px 32px -8px rgba(189, 100, 57, 0.4);

  --sm-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sm-font);
  font-weight: 400;
  color: var(--sm-body);
  background: var(--sm-cream-2);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* ─── TIPOGRAFÍA ─── */
.sm-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sm-orange);
}
.sm-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: currentColor;
}
.sm-eyebrow.center::before { display: none; }

.sm-h1 {
  font-weight: 700;
  font-size: clamp(42px, 5.8vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--sm-ink);
  text-wrap: balance;
}
.sm-h1 em { font-style: normal; font-weight: 200; color: var(--sm-blue); }
.sm-h1 .accent { color: var(--sm-orange); }

.sm-h2 {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--sm-ink);
  text-wrap: balance;
}
.sm-h2 em { font-style: normal; font-weight: 200; color: var(--sm-blue); }
.sm-h2 .accent { color: var(--sm-orange); }

.sm-h3 {
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--sm-ink);
}

.sm-lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--sm-body);
  font-weight: 400;
  max-width: 62ch;
  text-wrap: pretty;
}

.sm-text { font-size: 16px; line-height: 1.65; color: var(--sm-body); }

/* Dark section overrides */
.on-dark .sm-h1, .on-dark .sm-h2, .on-dark .sm-h3 { color: #ffffff; }
.on-dark .sm-h1 em, .on-dark .sm-h2 em { color: #b9d0ec; }
.on-dark .sm-lead, .on-dark .sm-text { color: rgba(255,255,255,0.72); }

/* ─── CONTENEDOR ─── */
.sm-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.sm-container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* ─── BOTONES ─── */
.sm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.25s var(--sm-ease);
  white-space: nowrap;
  cursor: pointer;
}
.sm-btn-primary {
  background: var(--sm-orange);
  color: white;
  box-shadow: var(--sm-shadow-orange);
}
.sm-btn-primary:hover {
  background: var(--sm-orange-light);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -10px rgba(189, 100, 57, 0.5);
}
.sm-btn-dark {
  background: var(--sm-ink);
  color: white;
}
.sm-btn-dark:hover {
  background: var(--sm-blue);
  transform: translateY(-1px);
}
.sm-btn-ghost {
  background: transparent;
  color: var(--sm-ink);
  border: 1.5px solid var(--sm-line);
}
.sm-btn-ghost:hover {
  border-color: var(--sm-ink);
  background: var(--sm-paper);
}
.on-dark .sm-btn-ghost {
  color: white;
  border-color: rgba(255,255,255,0.22);
}
.on-dark .sm-btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

.sm-btn-big {
  padding: 18px 34px;
  font-size: 16px;
}

/* ─── Pulse glow — efecto de brillo pulsante ─── */
@keyframes sm-pulse-ring {
  0%   { transform: scale(1);    opacity: 0.45; }
  55%  { transform: scale(1.05); opacity: 0;    }
  100% { transform: scale(1.05); opacity: 0;    }
}
.sm-btn-pulse {
  position: relative;
  isolation: isolate;
}
.sm-btn-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--sm-orange);
  z-index: -1;
  animation: sm-pulse-ring 2.4s ease-out infinite;
  pointer-events: none;
  will-change: transform, opacity;
}

.sm-arrow {
  width: 18px; height: 18px;
  transition: transform 0.25s var(--sm-ease);
}
.sm-btn:hover .sm-arrow { transform: translateX(3px); }

/* ─── NAV ─── */
.sm-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  overflow: visible;
  transition: all 0.3s var(--sm-ease);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
}
.sm-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--sm-line);
  padding: 10px 0;
}
.sm-nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.sm-nav-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.sm-nav-logo img {
  width: 56px; height: 56px; object-fit: contain;
}
.sm-nav-logo-text {
  display: flex; flex-direction: column; line-height: 1.05;
}
.sm-nav-logo-text strong {
  font-size: 14px; font-weight: 700; color: var(--sm-ink);
  letter-spacing: 0.02em;
}
.sm-nav-logo-text span {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sm-gray);
}
.sm-nav-links {
  display: flex; gap: 4px;
}
.sm-nav-links a {
  padding: 9px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--sm-ink-soft);
  border-radius: 999px;
  transition: all 0.2s var(--sm-ease);
}
.sm-nav-links a:hover {
  background: var(--sm-cream);
  color: var(--sm-blue);
}
.sm-nav-actions {
  display: flex; align-items: center; gap: 10px;
}
.sm-nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--sm-ink);
}
.sm-nav-phone svg { width: 14px; height: 14px; color: var(--sm-orange); }

.sm-nav-burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--sm-ink);
}
.sm-nav-burger:hover { background: var(--sm-cream); }

/* ─── NAV DROPDOWN ─── */
.sm-nav-item {
  position: relative;
  overflow: visible;
}
.sm-nav-item > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--sm-ink-soft);
  border-radius: 999px;
  transition: all 0.2s var(--sm-ease);
}
.sm-nav-item:hover > a,
.sm-nav-item:focus-within > a {
  background: var(--sm-cream);
  color: var(--sm-blue);
}
.sm-nav-chevron {
  width: 13px; height: 13px;
  transition: transform 0.22s var(--sm-ease);
  flex-shrink: 0;
}
.sm-nav-item:hover .sm-nav-chevron,
.sm-nav-item:focus-within .sm-nav-chevron { transform: rotate(180deg); }

.sm-nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 480px;
  max-width: none !important; /* override *, max-width:100% from mobile.css */
  min-width: 480px;
  height: auto;
  background: var(--sm-paper);
  border: 1px solid var(--sm-line-soft);
  border-radius: var(--sm-radius-lg);
  box-shadow: var(--sm-shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: visible;
  transition: opacity 0.2s var(--sm-ease), transform 0.2s var(--sm-ease), visibility 0.2s;
  z-index: 300;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.sm-nav-item:hover .sm-nav-dropdown,
.sm-nav-item:focus-within .sm-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.sm-nav-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--sm-radius-sm);
  font-size: 13px; font-weight: 500;
  color: var(--sm-ink-soft);
  transition: all 0.15s var(--sm-ease);
  white-space: nowrap;
}
.sm-nav-dd-item:hover {
  background: var(--sm-cream);
  color: var(--sm-blue);
}
.sm-nav-dd-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(41, 88, 140, 0.07);
  color: var(--sm-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.sm-nav-dd-item:hover .sm-nav-dd-icon {
  background: rgba(41, 88, 140, 0.14);
}
.sm-nav-dd-icon svg { width: 13px; height: 13px; }

/* ─── LANG TOGGLE ─── */
.sm-lang-toggle {
  position: relative;
  display: inline-flex;
  background: var(--sm-cream);
  border: 1px solid var(--sm-line);
  border-radius: 999px;
  padding: 3px;
  gap: 0;
  margin-right: 4px;
}
.sm-lang-toggle button {
  position: relative;
  z-index: 2;
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sm-gray);
  padding: 6px 11px;
  border-radius: 999px;
  transition: color 0.25s var(--sm-ease);
}
.sm-lang-toggle button.active {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.sm-lang-toggle button:hover:not(.active) {
  color: var(--sm-ink);
  background: rgba(41, 88, 140, 0.06);
}
.sm-lang-pill {
  position: absolute;
  top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px);
  background: linear-gradient(135deg, var(--sm-blue) 0%, var(--sm-blue-dark) 100%);
  border-radius: 999px;
  transition: transform 0.35s var(--sm-ease);
  z-index: 1;
  box-shadow:
    0 4px 10px -2px rgba(41, 88, 140, 0.4),
    0 1px 2px rgba(41, 88, 140, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.sm-lang-toggle[data-lang="en"] .sm-lang-pill {
  transform: translateX(100%);
  background: linear-gradient(135deg, var(--sm-orange) 0%, var(--sm-orange-dark, #a05432) 100%);
  box-shadow:
    0 4px 10px -2px rgba(189, 100, 57, 0.4),
    0 1px 2px rgba(189, 100, 57, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.sm-lang-toggle[data-lang="en"] { border-color: rgba(189, 100, 57, 0.3); }
@media (max-width: 1024px) {
  .sm-lang-toggle { padding: 2px; }
  .sm-lang-toggle button { padding: 5px 9px; font-size: 10px; }
}

@media (max-width: 1024px) {
  .sm-nav-links { display: none; }
  .sm-nav-phone { display: none; }
  .sm-nav-burger { display: inline-flex; }
  .sm-nav-actions .sm-btn { padding: 10px 18px; font-size: 13px; }
}

/* ─── WHATSAPP FLOAT ─── */
.sm-wa {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25D366;
  color: white;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.55);
  transition: all 0.25s var(--sm-ease);
}
.sm-wa:hover { transform: translateY(-2px); background: #1fbd5a; }
.sm-wa svg { width: 22px; height: 22px; fill: white; }
@media (max-width: 640px) {
  .sm-wa span { display: none; }
  .sm-wa { padding: 14px; }
}

/* ─── FOOTER ─── */
.sm-footer {
  background: var(--sm-blue-deep);
  color: rgba(255,255,255,0.75);
  padding: 88px 0 32px;
}
.sm-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sm-footer-brand img {
  height: 56px; width: auto; margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.sm-footer-brand p {
  font-size: 14px; line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 320px; margin-bottom: 22px;
}
.sm-footer-tag {
  font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,0.5);
  border-left: 2px solid var(--sm-orange);
  padding-left: 14px;
  max-width: 300px;
}
.sm-footer h5 {
  color: white; font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 22px;
}
.sm-footer ul { display: flex; flex-direction: column; gap: 12px; }
.sm-footer ul a {
  font-size: 14px; color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.sm-footer ul a:hover { color: var(--sm-orange-light); }
.sm-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 32px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.sm-footer-bottom a { color: inherit; margin-left: 20px; }
.sm-footer-bottom a:hover { color: var(--sm-orange-light); }

@media (max-width: 900px) {
  .sm-footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .sm-footer-top { grid-template-columns: 1fr; }
  .sm-footer-bottom { flex-direction: column; align-items: flex-start; }
  .sm-footer-bottom > div a:first-child { margin-left: 0; }
}

/* ─── SECTION HELPERS ─── */
.sm-section {
  padding: clamp(72px, 8vw, 120px) 0;
  position: relative;
}
.sm-section.tight { padding: clamp(56px, 6vw, 88px) 0; }
.sm-section-head {
  max-width: 720px; margin-bottom: 56px;
}
.sm-section-head.center { margin: 0 auto 64px; text-align: center; }
.sm-section-head.center .sm-lead { margin-left: auto; margin-right: auto; }

.sm-divider {
  height: 1px; background: var(--sm-line);
  margin: 0 auto; max-width: 1280px;
}

/* ─── REVEAL ─── */
html.js-ready .sm-reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--sm-ease), transform 0.7s var(--sm-ease);
}
html.js-ready .sm-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-ready .sm-reveal { opacity: 1; transform: none; transition: none; }
}
.sm-reveal.d1 { transition-delay: 0.08s; }
.sm-reveal.d2 { transition-delay: 0.16s; }
.sm-reveal.d3 { transition-delay: 0.24s; }
.sm-reveal.d4 { transition-delay: 0.32s; }

/* ─── FORM ELEMENTS ─── */
.sm-field {
  display: flex; flex-direction: column; gap: 6px;
}
.sm-field label {
  font-size: 12px; font-weight: 600;
  color: var(--sm-ink-soft);
  letter-spacing: 0.02em;
}
.sm-field input,
.sm-field select,
.sm-field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--sm-paper);
  border: 1.5px solid var(--sm-line);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--sm-ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.sm-field select {
  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='%23686666' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.sm-field input:focus,
.sm-field select:focus,
.sm-field textarea:focus {
  outline: none;
  border-color: var(--sm-blue);
  box-shadow: 0 0 0 4px rgba(41, 88, 140, 0.12);
}
.sm-field textarea { resize: vertical; min-height: 120px; }

/* ─── LEAD FORM CARD ─── */
.sm-lead-form {
  background: var(--sm-paper);
  border-radius: var(--sm-radius-lg);
  padding: 32px;
  box-shadow: var(--sm-shadow-lg);
  border: 1px solid var(--sm-line-soft);
}
.sm-lead-form-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sm-line-soft);
}
.sm-lead-form-head h3 {
  font-size: 22px; font-weight: 700; color: var(--sm-ink);
  letter-spacing: -0.015em; margin-bottom: 6px;
}
.sm-lead-form-head p {
  font-size: 13.5px; color: var(--sm-body);
}
.sm-lead-form-fields {
  display: flex; flex-direction: column; gap: 14px;
}
.sm-lead-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.sm-lead-form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  background: var(--sm-orange);
  color: white;
  border-radius: 10px;
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.2s;
  box-shadow: var(--sm-shadow-orange);
}
.sm-lead-form-submit:hover {
  background: var(--sm-orange-light);
  transform: translateY(-1px);
}
.sm-lead-form-privacy {
  display: flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 11.5px; color: var(--sm-muted);
  justify-content: center;
}
.sm-lead-form-privacy svg { width: 12px; height: 12px; }

/* ─── TCPA consent checkbox ─── */
.sm-consent-field {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  margin-top: 4px;
  background: var(--sm-cream-2);
  border: 1px solid var(--sm-line-soft);
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--sm-body);
  cursor: pointer;
}
.sm-consent-field:hover { border-color: var(--sm-line); }
.sm-consent-field input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1.5px solid var(--sm-muted);
  border-radius: 4px;
  background: white;
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
}
.sm-consent-field input[type="checkbox"]:hover { border-color: var(--sm-blue); }
.sm-consent-field input[type="checkbox"]:checked {
  background: var(--sm-blue);
  border-color: var(--sm-blue);
}
.sm-consent-field input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.sm-consent-field input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--sm-blue);
  outline-offset: 2px;
}
.sm-consent-field a { color: var(--sm-blue); text-decoration: underline; }
.sm-consent-field a:hover { color: var(--sm-orange); }
.sm-consent-field strong { color: var(--sm-ink); font-weight: 600; }

/* ─── BADGE ─── */
.sm-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: rgba(189, 100, 57, 0.08);
  border: 1px solid rgba(189, 100, 57, 0.18);
  color: var(--sm-orange);
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.02em;
}
.sm-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sm-orange);
  box-shadow: 0 0 0 3px rgba(189, 100, 57, 0.2);
  animation: sm-pulse 2s ease-in-out infinite;
}
@keyframes sm-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(189, 100, 57, 0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(189, 100, 57, 0); }
}
.on-dark .sm-pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
.on-dark .sm-pill .dot { background: var(--sm-orange-light); }

/* ─── CTA STRIPE ─── */
.sm-cta-stripe {
  background: linear-gradient(135deg, var(--sm-blue) 0%, var(--sm-blue-deep) 100%);
  border-radius: var(--sm-radius-xl);
  padding: clamp(48px, 6vw, 80px);
  color: white;
  position: relative;
  overflow: hidden;
}
.sm-cta-stripe::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 100% 0%, rgba(189,100,57,0.25), transparent 50%),
    radial-gradient(400px circle at 0% 100%, rgba(255,255,255,0.06), transparent 50%);
  pointer-events: none;
}
.sm-cta-stripe-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr auto;
  gap: 40px; align-items: center;
}
.sm-cta-stripe h2 { color: white; }
.sm-cta-stripe p {
  color: rgba(255,255,255,0.72);
  font-size: 17px; line-height: 1.6;
  margin-top: 16px; max-width: 560px;
}
.sm-cta-stripe-actions { display: flex; flex-direction: column; gap: 10px; }
/* Footer social link (icon only) */
.sm-footer-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s;
}
.sm-footer-social span { display: none; }
.sm-footer-social:hover {
  background: var(--sm-orange);
  border-color: var(--sm-orange);
  color: white !important;
  transform: translateY(-2px);
}
/* Ghost button readable on blue CTA stripe */
.sm-cta-stripe .sm-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(8px);
}
.sm-cta-stripe .sm-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}
@media (max-width: 800px) {
  .sm-cta-stripe-inner { grid-template-columns: 1fr; }
  .sm-cta-stripe-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ─── PLACEHOLDER IMAGE (SVG-based, tasteful) ─── */
.sm-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #e9eef6, #d6e0ee 70%);
  border-radius: var(--sm-radius-lg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.sm-ph svg { width: 52%; height: auto; opacity: 0.45; }
.sm-ph::after {
  content: attr(data-label);
  position: absolute;
  bottom: 14px; left: 14px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(41, 88, 140, 0.45);
  background: rgba(255,255,255,0.6);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ─── TWEAKS PANEL ─── */
.sm-tweaks {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 95;
  width: 280px;
  background: var(--sm-paper);
  border: 1px solid var(--sm-line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--sm-shadow-lg);
  display: none;
  font-size: 13px;
}
.sm-tweaks.open { display: block; }
.sm-tweaks h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sm-muted);
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.sm-tweaks h4 button {
  font-size: 16px; color: var(--sm-muted);
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
}
.sm-tweaks h4 button:hover { background: var(--sm-cream); color: var(--sm-ink); }
.sm-tweak-row { margin-bottom: 14px; }
.sm-tweak-row:last-child { margin-bottom: 0; }
.sm-tweak-row label {
  display: block;
  font-size: 12px; font-weight: 600; color: var(--sm-ink-soft);
  margin-bottom: 8px;
}
.sm-tweak-swatches { display: flex; gap: 8px; }
.sm-tweak-swatch {
  width: 30px; height: 30px; border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s;
  position: relative;
}
.sm-tweak-swatch.active { border-color: var(--sm-ink); transform: scale(1.08); }
.sm-tweak-seg {
  display: flex; gap: 4px;
  background: var(--sm-cream);
  padding: 3px; border-radius: 10px;
}
.sm-tweak-seg button {
  flex: 1;
  padding: 7px 10px;
  font-size: 12px; font-weight: 500;
  color: var(--sm-ink-soft);
  border-radius: 7px;
  transition: all 0.15s;
}
.sm-tweak-seg button.active {
  background: var(--sm-paper);
  color: var(--sm-ink);
  box-shadow: var(--sm-shadow-xs);
}
