/* =========================
   GLOBAL
========================= */

/* Fondo blanco general */
body {
  background-color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  color: #222;
  line-height: 1.6;
}

/* Enlaces */
a {
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0066cc;
}

/* =========================
   HEADER / HERO
========================= */

/* Fondo degradado SVG */
header {
  background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3ClinearGradient id='grad' gradientTransform='rotate(135)'%3E%3Cstop offset='0%' stop-color='%23d0f0f7'/%3E%3Cstop offset='100%' stop-color='%23ffffff'/%3E%3C/linearGradient%3E%3Crect width='100%25' height='100%25' fill='url(%23grad)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Centrar verticalmente título y subtítulo */
header .tc-l {
  padding: 3rem 1rem 1rem 1rem;
  text-align: center;
}

/* Título principal */
.f2.f-subheadline-l {
  color: #1a1a1a;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7);
  font-weight: 300;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

/* Subtítulo */
.white-80 {
  color: #333 !important;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  font-weight: 300;
}

/* Logo bajo el título (si se inserta) */
.hero img {
  display: block;
  margin: 1rem auto 0.5rem auto;
  max-width: 150px;
}

/* =========================
   NAVBAR
========================= */

nav[role="navigation"] {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav a {
  color: #333 !important;
  font-weight: 500;
}

nav a:hover {
  color: #0066cc !important;
}

/* =========================
   MAIN CONTENT
========================= */

article.text-gray-900 {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Responsive: texto más compacto en móvil */
@media (max-width: 600px) {
  .f2.f-subheadline-l {
    font-size: 2rem;
  }

  .white-80 {
    font-size: 1rem;
  }

  article.text-gray-900 {
    padding: 1.5rem 1rem;
  }
}
