:root {
  --color-bg: #050608;
  --color-bg-overlay: rgba(0, 0, 0, 0.85);
  --color-panel: rgba(12, 13, 18, 0.95);
  --color-border: rgba(255, 255, 255, 0.06);
  --color-text: #f2f2f2;
  --color-subtle: #a0a0a0;
  --color-bronze: #c27b32;
  --color-blue: #4db4ff;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
}

/* Fondo general con textura */
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: url("assets/fondo.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Contenedor principal */
.page-wrapper {
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
  background: var(--color-bg-overlay);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Menú superior */
.nav-links.nav-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.4rem;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-subtle);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  transition: color 0.2s ease, transform 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-blue);
  transform: translateY(-1px);
}

/* Logo + nombre */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.logo-mark img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.brand-title {
  font-family: "Bebas Neue", system-ui, sans-serif;
  font-size: 2.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.9rem;
}

/* SECCIONES Y PANELS */
.section {
  margin-bottom: 1.5rem;
}

.panel {
  border-radius: 1.2rem;
  border: 1px solid var(--color-border);
  background: radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.03),
      transparent 55%
    ),
    var(--color-panel);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

/* Hero */
.hero-panel {
  text-align: left;
}

.hero-lead {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Botones */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-family: "Bebas Neue", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #8a5722, #104a70); /* bronce más oscuro + azul más oscuro */
  color: #ffffff;
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
}

.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.9;
}

/* Grid tarjetas en “Qué hago” */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.card {
  padding: 1.1rem 1.2rem;
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  margin-bottom: 0.9rem;
  color: var(--color-subtle);
}

/* CTA bloques */
.block-actions {
  margin-top: 1.1rem;
}

/* Textos de color */
.text-bronze {
  color: var(--color-bronze);
}

.text-blue {
  color: var(--color-blue);
}

/* HEADINGS */
h1,
h2,
h3 {
  margin: 0 0 0.6rem;
  font-family: "Bebas Neue", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.2rem;
}

/* Párrafos */
p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Enlaces dentro de texto */
.panel a {
  color: var(--color-blue);
}

/* FOOTER */
.site-footer {
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-subtle);
}

.site-footer a {
  color: var(--color-blue);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .page-wrapper {
    padding: 1rem;
  }

  .brand-title {
    font-size: 2.1rem;
  }

  .nav-links.nav-top {
    font-size: 0.8rem;
    gap: 0.6rem 1rem;
  }
}

@media (max-width: 768px) {
  .site-logo {
    flex-direction: column;
    text-align: center;
  }

  .hero-panel {
    text-align: left;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
