:root {
  --sm-bg: #090507;
  --sm-bg-2: #12070b;
  --sm-bg-3: #240811;
  --sm-surface: rgba(34, 13, 19, 0.68);
  --sm-surface-strong: rgba(57, 17, 27, 0.82);
  --sm-surface-soft: rgba(255, 255, 255, 0.055);
  --sm-text: #fff7f7;
  --sm-text-soft: #f3dfe2;
  --sm-muted: #bba7ad;
  --sm-primary: #ff244f;
  --sm-primary-2: #c80f34;
  --sm-secondary: #7a1024;
  --sm-accent: #ff6b7f;
  --sm-wine: #3b0a17;
  --sm-border: rgba(255, 105, 126, 0.18);
  --sm-border-strong: rgba(255, 62, 91, 0.42);
  --sm-shadow: 0 28px 90px rgba(110, 0, 24, 0.35);
  --sm-glow: 0 0 64px rgba(255, 36, 79, 0.30);
  --sm-radius-xl: 38px;
  --sm-radius-lg: 28px;
  --sm-radius-md: 20px;
  --sm-radius-sm: 14px;
  --sm-container: 1180px;
  --sm-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="light"],
body.sm-light {
  --sm-bg: #fff7f7;
  --sm-bg-2: #fff0f1;
  --sm-bg-3: #ffe2e7;
  --sm-surface: rgba(255, 255, 255, 0.80);
  --sm-surface-strong: rgba(255, 255, 255, 0.95);
  --sm-surface-soft: rgba(122, 16, 36, 0.055);
  --sm-text: #1d1115;
  --sm-text-soft: #3d242b;
  --sm-muted: #735d64;
  --sm-border: rgba(122, 16, 36, 0.13);
  --sm-border-strong: rgba(200, 15, 52, 0.32);
  --sm-shadow: 0 28px 80px rgba(70, 16, 26, 0.12);
  --sm-glow: 0 0 58px rgba(255, 36, 79, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.sm-kes-theme {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 36, 79, 0.22), transparent 32%),
    radial-gradient(circle at 16% 86%, rgba(200, 15, 52, 0.18), transparent 34%),
    linear-gradient(135deg, var(--sm-bg), var(--sm-bg-2) 50%, var(--sm-bg-3));
  color: var(--sm-text);
  font-family: var(--sm-font);
  overflow-x: hidden;
}

body.sm-kes-theme::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.020) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  opacity: 0.45;
  z-index: -1;
}

a { color: inherit; }

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

.sm-container {
  width: min(100% - 32px, var(--sm-container));
  margin-inline: auto;
}

.sm-site-header {
  position: sticky;
  top: 18px;
  z-index: 50;
  padding: 0 16px;
}

.admin-bar .sm-site-header { top: 50px; }

.sm-nav {
  width: min(100%, var(--sm-container));
  margin: 0 auto;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 10px 14px 10px 16px;
  border: 1px solid var(--sm-border);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 64px rgba(0,0,0,.22);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.sm-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.sm-brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--sm-border-strong);
  background: linear-gradient(135deg, rgba(255,36,79,.85), rgba(73,9,22,.92));
  color: #fff;
  font-weight: 950;
  letter-spacing: -0.05em;
  box-shadow: var(--sm-glow);
}

.sm-brand-text {
  font-size: .87rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sm-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-menu a,
.sm-nav-link {
  color: var(--sm-text-soft);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 700;
  opacity: .88;
}

.sm-menu a:hover,
.sm-nav-link:hover { color: #fff; opacity: 1; }

.sm-nav-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.sm-theme-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 7px;
  border: 1px solid var(--sm-border);
  border-radius: 999px;
  background: var(--sm-surface-soft);
  color: var(--sm-muted);
  cursor: pointer;
  font-weight: 800;
}

.sm-theme-toggle__dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #fff 0 12%, var(--sm-primary) 13% 70%, #7a1024 100%);
  box-shadow: 0 0 22px rgba(255, 36, 79, .45);
}

.sm-section {
  position: relative;
  padding: clamp(58px, 8vw, 116px) 0;
}

.sm-hero {
  min-height: calc(100vh - 96px);
  display: grid;
  align-items: center;
  padding-top: clamp(84px, 10vw, 150px);
}

.sm-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .85fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
}

.sm-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--sm-accent);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.sm-title,
.sm-page-title {
  margin: 0;
  color: var(--sm-text);
  font-size: clamp(3.1rem, 7vw, 6.5rem);
  font-weight: 620;
  line-height: .93;
  letter-spacing: -.075em;
  text-wrap: balance;
}

.sm-title--section,
.sm-section__header .sm-title {
  font-size: clamp(2.25rem, 4.8vw, 4.4rem);
}

.sm-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--sm-text-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.68;
}

.sm-muted { color: var(--sm-muted); }

.sm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.sm-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

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

.sm-btn--primary {
  background: linear-gradient(135deg, #ff315d, #b30c2e 70%, #7a1024);
  color: #fff;
  border-color: rgba(255, 138, 153, .28);
  box-shadow: 0 22px 52px rgba(255, 36, 79, .28);
}

.sm-btn--secondary {
  background: rgba(255,255,255,.08);
  color: var(--sm-text);
  border-color: var(--sm-border);
}

.sm-btn--ghost {
  background: transparent;
  color: var(--sm-text);
  border-color: var(--sm-border);
}

.sm-btn--light {
  background: #fff;
  color: #1d1115;
  border-color: rgba(255,255,255,.8);
}

.sm-btn--small {
  min-height: 42px;
  padding-inline: 16px;
  border-radius: 14px;
  font-size: .9rem;
}

.sm-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.8vw, 34px);
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-lg);
  background: linear-gradient(145deg, var(--sm-surface), rgba(255,255,255,.035));
  box-shadow: var(--sm-shadow);
}

.sm-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 107, 127, .18), transparent 34%),
    radial-gradient(circle at 88% 94%, rgba(255, 36, 79, .12), transparent 32%);
  pointer-events: none;
}

.sm-card > * { position: relative; z-index: 1; }

.sm-showcase {
  min-height: 520px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  border-color: rgba(255, 36, 79, .42);
  background:
    radial-gradient(circle at 76% 18%, rgba(255,36,79,.32), transparent 31%),
    linear-gradient(155deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.025), 0 34px 110px rgba(255,36,79,.20);
}

.sm-logo-xl {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border: 1px solid var(--sm-border-strong);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,36,79,.58), rgba(64,8,20,.82));
  color: #fff;
  font-size: 3.15rem;
  font-weight: 950;
  letter-spacing: -.08em;
  box-shadow: var(--sm-glow);
}

.sm-showcase-title {
  margin: 0 0 36px;
  font-size: 1.8rem;
  font-weight: 650;
  letter-spacing: .24em;
  line-height: 1.35;
  text-transform: uppercase;
}

.sm-chip-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sm-chip-card {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid var(--sm-border);
  border-radius: 20px;
  background: rgba(255,255,255,.045);
  color: var(--sm-text);
  font-weight: 850;
}

.sm-icon {
  color: var(--sm-accent);
}

.sm-section__header {
  max-width: 790px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.sm-section__header.center {
  margin-inline: auto;
  text-align: center;
}

.sm-grid {
  display: grid;
  gap: 22px;
}

.sm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.sm-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--sm-border);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  color: var(--sm-accent);
  font-size: 1.45rem;
}

.sm-card__title {
  margin: 0 0 12px;
  color: var(--sm-text);
  font-size: 1.32rem;
  font-weight: 680;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.sm-card__text {
  margin: 0;
  color: var(--sm-muted);
  font-size: 1rem;
  line-height: 1.62;
}

.sm-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 11px;
  border: 1px solid var(--sm-border);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--sm-accent);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sm-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.sm-step__num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,36,79,.24), rgba(255,255,255,.04));
  color: var(--sm-accent);
  font-weight: 950;
}

.sm-resource-card {
  min-height: 100%;
}

.sm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.sm-meta span {
  border: 1px solid var(--sm-border);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--sm-muted);
  font-size: .82rem;
  font-weight: 800;
}

.sm-cta {
  padding-block: clamp(70px, 9vw, 130px);
}

.sm-cta .sm-card {
  padding: clamp(34px, 6vw, 76px);
  text-align: center;
  background:
    radial-gradient(circle at 50% -10%, rgba(255,36,79,.30), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
}

.sm-cta .sm-lead {
  margin-inline: auto;
}

.sm-cta .sm-actions {
  justify-content: center;
}

.sm-page {
  padding-top: clamp(72px, 9vw, 134px);
}

.sm-content {
  max-width: 860px;
  margin-inline: auto;
  color: var(--sm-text-soft);
  font-size: 1.08rem;
  line-height: 1.78;
}

.sm-content h1,
.sm-content h2,
.sm-content h3 {
  color: var(--sm-text);
  letter-spacing: -.04em;
}

.sm-content a {
  color: var(--sm-accent);
  font-weight: 800;
}

.sm-post-grid {
  margin-top: 34px;
}

.sm-post-card a {
  text-decoration: none;
}

.sm-post-card__thumb {
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255,36,79,.20), rgba(255,255,255,.05));
}

.sm-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-site-footer {
  margin-top: 60px;
  padding: 44px 0;
  border-top: 1px solid var(--sm-border);
  color: var(--sm-muted);
}

.sm-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.sm-footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sm-footer-menu a {
  color: var(--sm-muted);
  text-decoration: none;
  font-weight: 750;
}

.wp-block-button__link {
  border-radius: 18px;
  background: linear-gradient(135deg, #ff315d, #b30c2e 70%, #7a1024);
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--sm-border);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  color: var(--sm-text);
  padding: 14px 16px;
  font: inherit;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--sm-text-soft);
  font-weight: 850;
}

@media (max-width: 960px) {
  .sm-nav {
    grid-template-columns: 1fr auto;
  }

  .sm-menu {
    display: none;
  }

  .sm-split,
  .sm-grid--2,
  .sm-grid--3,
  .sm-grid--4 {
    grid-template-columns: 1fr;
  }

  .sm-showcase {
    min-height: 430px;
  }

  .sm-title,
  .sm-page-title {
    font-size: clamp(3rem, 13vw, 5rem);
  }
}

@media (max-width: 620px) {
  .sm-container { width: min(100% - 24px, var(--sm-container)); }
  .sm-site-header { top: 10px; padding-inline: 10px; }
  .admin-bar .sm-site-header { top: 56px; }

  .sm-nav {
    min-height: 64px;
    padding: 9px 10px;
    gap: 10px;
    border-radius: 24px;
  }

  .sm-brand-text {
    font-size: .72rem;
    letter-spacing: .14em;
  }

  .sm-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .sm-theme-toggle span:last-child {
    display: none;
  }

  .sm-nav-actions .sm-btn {
    display: none;
  }

  .sm-hero {
    min-height: auto;
    padding-top: 104px;
  }

  .sm-section {
    padding-block: 52px;
  }

  .sm-title,
  .sm-page-title {
    letter-spacing: -.06em;
  }

  .sm-lead {
    font-size: 1rem;
  }

  .sm-actions {
    flex-direction: column;
  }

  .sm-btn {
    width: 100%;
  }

  .sm-chip-grid {
    grid-template-columns: 1fr;
  }

  .sm-showcase-title {
    font-size: 1.35rem;
  }

  .sm-footer-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.0.1 · Ajuste editorial: títulos más delgados sin modificar layout */
.sm-content h1,
.sm-content h2,
.sm-content h3 {
  font-weight: 650;
}

.sm-section__header .sm-title,
.sm-title--section {
  font-weight: 620;
}

.sm-page-title {
  font-weight: 620;
}
