:root {
  --bg: #090909;
  --panel: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.13);
  --text: #f7f7f7;
  --muted: #c9c2c2;
  --red: #d10017;
  --red-bright: #ff1430;
  --red-dark: #6f0009;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(209, 0, 23, 0.28), transparent 29%),
    radial-gradient(circle at 80% 14%, rgba(255, 255, 255, 0.10), transparent 26%),
    linear-gradient(135deg, #070707 0%, #151111 42%, #080808 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(7, 7, 7, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.76);
  background: black;
  box-shadow: 0 0 24px rgba(209, 0, 23, 0.45);
}

.brand-text {
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.nav {
  display: flex;
  gap: clamp(10px, 2.4vw, 24px);
  color: var(--muted);
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.nav a { text-decoration: none; }
.nav a:hover { color: white; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 77px);
  padding: clamp(48px, 8vw, 104px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.028) 0, rgba(255,255,255,0.028) 1px, transparent 1px, transparent 5px);
  opacity: 0.22;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.85;
}

.orb-red {
  right: 18%;
  top: 16%;
  width: 260px;
  height: 260px;
  background: rgba(209, 0, 23, 0.38);
}

.orb-white {
  right: 6%;
  bottom: 18%;
  width: 170px;
  height: 170px;
  background: rgba(255, 255, 255, 0.11);
}

.hero-content, .logo-card, .panel, .memory-item, .cta, .quote, .share-panel {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-bright);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(3.15rem, 8.8vw, 7.2rem);
  line-height: 0.91;
  letter-spacing: -0.071em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h3 { margin-bottom: 10px; font-size: 1.2rem; }

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.2vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 18px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover, .share-button:hover, .quick-share a:hover { transform: translateY(-2px); }

.button.primary {
  color: white;
  background: linear-gradient(135deg, #6f0009 0%, #d10017 48%, #ff1430 100%);
  box-shadow: 0 18px 34px rgba(209, 0, 23, 0.34);
}

.button.secondary {
  color: white;
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,255,255,0.16);
}

.button.full { width: 100%; }

.small-note, .tiny, .footer-small, .logo-caption {
  color: var(--muted);
  font-size: 0.94rem;
}

.quick-share {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.quick-share a {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  text-decoration: none;
  transition: transform 160ms ease;
  color: white;
}

.logo-card {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.042)), rgba(10,10,10,0.72);
  box-shadow: var(--shadow);
  text-align: center;
}

.logo-frame {
  display: grid;
  place-items: center;
  max-width: 360px;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(209, 0, 23, 0.32), transparent 58%), #050505;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 0 50px rgba(209,0,23,0.32);
}

.logo-frame img {
  width: 88%;
  height: 88%;
  object-fit: cover;
  border-radius: 999px;
}

.logo-caption { margin: 18px 0 0; }

.section {
  padding: clamp(56px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.section.alt {
  background: linear-gradient(180deg, rgba(209,0,23,0.075), rgba(255,255,255,0.025));
  border-block: 1px solid rgba(255,255,255,0.08);
}

.section.compact { padding-top: 26px; }

.section-heading {
  max-width: 920px;
  margin-bottom: 30px;
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel, .memory-item, .cta, .quote, .share-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel { padding: clamp(22px, 4vw, 34px); }

.panel p, .memory-item p, .cta p, .share-panel p {
  color: var(--muted);
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.memory-item { padding: 24px; }

.icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(209,0,23,0.38), rgba(255,255,255,0.08));
  font-size: 1.45rem;
  border: 1px solid rgba(255,255,255,0.10);
}

.share-panel {
  padding: clamp(24px, 5vw, 42px);
  background: radial-gradient(circle at 10% 10%, rgba(209,0,23,0.18), transparent 40%), var(--panel);
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.share-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  text-align: center;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  transition: transform 160ms ease;
}

.share-button.x { background: #111; }
.share-button.facebook { background: #173c82; }
.share-button.whatsapp { background: #0b6b38; }
.share-button.telegram { background: #155a7a; }
.share-button.mail { background: #5a1018; }

.copy-card {
  padding: 22px;
  border: 1px dashed rgba(255,255,255,0.22);
  border-radius: 22px;
  background: rgba(0,0,0,0.22);
}

.copy-card p:last-child { margin-bottom: 0; }

.hashtags {
  color: white !important;
  font-weight: 800;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag-cloud span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(209,0,23,0.18);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  font-weight: 750;
  font-size: 0.92rem;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 24px;
  padding: clamp(24px, 5vw, 42px);
  background: linear-gradient(135deg, rgba(209, 0, 23, 0.18), rgba(255, 255, 255, 0.045)), var(--panel);
}

.check-list {
  padding-left: 1.2rem;
  color: var(--muted);
}

.check-list li { margin-bottom: 8px; }

.cta-box {
  padding: 24px;
  border-radius: 22px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.13);
}

.email {
  color: white !important;
  font-weight: 950;
  word-break: break-word;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  letter-spacing: 0.01em;
}

.tiny { margin-top: 12px; margin-bottom: 0; }

.quote {
  padding: clamp(24px, 5vw, 42px);
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(209,0,23,0.22), transparent 45%), var(--panel);
}

.quote p {
  margin: 0;
  color: white;
  font-size: clamp(1.3rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.site-footer {
  padding: 34px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer p { margin-bottom: 6px; }

@media (max-width: 980px) {
  .hero, .grid.two, .cta {
    grid-template-columns: 1fr;
  }

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

  .share-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .memory-grid, .share-buttons {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero {
    padding-top: 34px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }
}


/* Mejora visual de la sección Comparte */
.share-panel {
  overflow: hidden;
  position: relative;
  padding: clamp(26px, 5vw, 50px);
}

.share-panel::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 20, 48, 0.28), transparent 65%);
  pointer-events: none;
}

.share-intro {
  max-width: 980px;
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.share-button {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  padding: 18px;
  border-radius: 22px;
  text-align: left;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.share-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 42%);
  opacity: 0.55;
  pointer-events: none;
}

.share-button:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.32);
  box-shadow: 0 24px 52px rgba(0,0,0,0.38);
}

.share-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(255,255,255,0.18);
  color: white;
  font-size: 1.35rem;
  font-weight: 950;
}

.share-button span:last-child {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
}

.share-button strong {
  color: white;
  font-size: 0.98rem;
  line-height: 1.1;
}

.share-button small {
  color: rgba(255,255,255,0.78);
  font-size: 0.78rem;
  line-height: 1.2;
}

.share-button.x {
  background: linear-gradient(135deg, #111111, #343434);
}

.share-button.facebook {
  background: linear-gradient(135deg, #123b88, #2868d8);
}

.share-button.whatsapp {
  background: linear-gradient(135deg, #075e32, #20a85a);
}

.share-button.telegram {
  background: linear-gradient(135deg, #126188, #2fa8df);
}

.share-button.mail {
  background: linear-gradient(135deg, #6f0009, #d10017);
}

.copy-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 20px;
  align-items: stretch;
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.085), rgba(255,255,255,0.025)),
    rgba(0,0,0,0.26);
}

.copy-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border-radius: 18px;
  background: rgba(209,0,23,0.18);
  border: 1px solid rgba(255,255,255,0.12);
}

.copy-highlight span {
  color: var(--red-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.copy-highlight p {
  margin: 8px 0 0;
  color: white !important;
  font-weight: 850;
}

.tag-cloud {
  margin-top: 24px;
}

.tag-cloud span {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
}

@media (max-width: 1080px) {
  .share-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .copy-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .share-buttons {
    grid-template-columns: 1fr;
  }

  .share-button {
    min-height: 82px;
  }
}
