:root {
  --bg: #0c1118;
  --bg-soft: #121a24;
  --text: #f7f3ea;
  --muted: #aeb7c3;
  --line: rgba(255,255,255,0.12);
  --accent: #d9b86c;
  --accent-2: #7fa6c9;
  --card: rgba(255,255,255,0.055);
  --shadow: 0 25px 80px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 80% 10%, rgba(127,166,201,0.16), transparent 34%),
    radial-gradient(circle at 20% 20%, rgba(217,184,108,0.12), transparent 32%),
    var(--bg);
  color: var(--text);
}

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

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 92vh;
  padding: 28px 0 72px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  font-size: 0.98rem;
}

.logo {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.95;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 70px;
  padding-top: 88px;
}

.eyebrow, .section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  margin: 22px 0 20px;
}

.subtitle {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: #dce3ec;
  margin: 0 0 26px;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions, .author-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.primary {
  background: var(--accent);
  color: #14110a;
}

.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}

.visual-card {
  position: relative;
  height: min(520px, 70vw);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-card::before {
  content: "Sistema bajo tensión";
  position: absolute;
  left: 28px;
  bottom: 28px;
  color: rgba(247,243,234,0.7);
  font-weight: 600;
}

.orbit, .core, .node, .line { position: absolute; }

.orbit {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  inset: 18%;
}

.orbit-two {
  inset: 30%;
  border-color: rgba(217,184,108,0.28);
}

.core {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), #b27b28);
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  box-shadow: 0 0 55px rgba(217,184,108,0.45);
}

.node {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 22px rgba(127,166,201,0.5);
}

.n1 { left: 18%; top: 30%; }
.n2 { right: 19%; top: 24%; }
.n3 { left: 26%; bottom: 22%; }
.n4 { right: 25%; bottom: 28%; }
.n5 { left: 50%; top: 13%; }
.n6 { right: 12%; top: 55%; background: #d46a5e; }

.line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent);
  transform-origin: left center;
}

.l1 { width: 250px; left: 24%; top: 34%; transform: rotate(23deg); }
.l2 { width: 280px; left: 26%; top: 58%; transform: rotate(-19deg); }
.l3 { width: 230px; left: 48%; top: 25%; transform: rotate(66deg); }
.l4 { width: 260px; left: 50%; top: 53%; transform: rotate(-5deg); background: linear-gradient(90deg, transparent, rgba(212,106,94,0.75), transparent); }

.section {
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.large-statement {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
  margin-top: 24px;
  max-width: 1000px;
}

.cards-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 32px;
  min-height: 260px;
}

.card span {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
}

.card h2, .content-section h2, .author-card h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 2rem;
  letter-spacing: -0.035em;
  margin: 24px 0 16px;
}

.card p, .content-list p, .author-card p {
  color: var(--muted);
  line-height: 1.75;
}

.quote-section blockquote {
  margin: 0;
  padding: 46px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(217,184,108,0.15), rgba(127,166,201,0.08));
  border: 1px solid var(--line);
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.content-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}

.content-section h2 { font-size: clamp(2rem, 3vw, 3.4rem); }

.author-card {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255,255,255,0.055);
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 60px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 880px) {
  .hero-grid, .content-section { grid-template-columns: 1fr; gap: 42px; }
  .hero-grid { padding-top: 48px; }
  .visual-card { height: 420px; }
  .cards-section { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .page-shell, footer { width: min(100% - 24px, 1180px); }
  .hero { padding-top: 14px; }
  .nav { align-items: flex-start; gap: 14px; }
  .nav-link { display: none; }
  .hero-actions, .author-links { width: 100%; }
  .button { width: 100%; }
  .section { padding: 66px 0; }
  .quote-section blockquote, .author-card, .card { padding: 26px; }
  .visual-card { height: 350px; border-radius: 24px; }
  .visual-card::before { left: 20px; bottom: 20px; }
}
