/* =========================================================
   PALETA DE COLORES Y VARIABLES
   ========================================================= */
:root {
  --verde-principal: #7cc55b;
  --verde-claro: #c5ff9b;
  --fondo: #0b0c0d;
  --fondo-osc: #0f1316;
  --borde: #2a3138;
  --texto-sec: #aab3bb;
}

/* =========================================================
   ESTILO GENERAL
   ========================================================= */
body {
  margin: 0;
  font-family: Georgia, serif;
  background-color: var(--fondo);
  color: var(--verde-claro);
}

h1, h2 {
  font-family: Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* =========================================================
   HEADER
   ========================================================= */
header {
  background-color: var(--fondo-osc);
  border-bottom: 1px solid var(--borde);
  padding: 20px;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* LOGO */
.logo {
  width: clamp(55px, 6vw, 90px);
  height: clamp(55px, 6vw, 90px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
  border: 2px solid var(--verde-principal);
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TÍTULOS */
.title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

#titulo {
  font-size: 32px;
  color: var(--verde-claro);
}

#subtitulo {
  font-size: 32px;
  color: var(--verde-principal);
}

/* =========================================================
   MENÚ PRINCIPAL (NUEVO)
   ========================================================= */
.menu-tojo ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; } .menu-tojo a { text-decoration: none; color: var(--verde-principal); font-family: Georgia, serif; font-weight: bold; letter-spacing: 1px; padding: 6px 14px; /* espacio para el rectángulo */ border-radius: 12px; /* esquinas redondeadas */ transition: background-color 0.25s ease, color 0.25s ease; } /* ✅ Rectángulo al pasar el ratón */ .menu-tojo a:hover { background-color: rgba(124, 197, 91, 0.25); /* verde suave translúcido */ color: var(--verde-claro); }

/* =========================================================
   CONTENIDO GENERAL
   ========================================================= */
main {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

section {
  margin-bottom: 40px;
}

h2 {
  border-bottom: 1px solid var(--borde);
  padding-bottom: 6px;
  margin-bottom: 16px;
  color: var(--verde-claro);
}

p, li, label {
  color: var(--verde-claro);
}

ul {
  padding-left: 20px;
}

/* =========================================================
   FORMULARIOS
   ========================================================= */
label {
  display: block;
  margin-top: 12px;
  font-weight: bold;
}

input, select, textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid var(--borde);
  border-radius: 6px;
  background-color: #15181c;
  color: var(--verde-claro);
}

button {
  margin-top: 16px;
  padding: 10px 16px;
  background-color: var(--verde-principal);
  color: var(--fondo);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: var(--verde-claro);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background-color: var(--fondo-osc);
  border-top: 1px solid var(--borde);
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--texto-sec);
}
.header-content {
  display: flex;
  align-items: center; /* centra logo y textos verticalmente */
  gap: 16px;
}

/* LOGO */
.logo {
  width: clamp(55px, 6vw, 90px);
  height: clamp(55px, 6vw, 90px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
  border: 2px solid var(--verde-principal);
  flex-shrink: 0;
  align-self: center; /* asegura centrado perfecto */
}

/* BLOQUE DE TÍTULOS */
.title-block {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra verticalmente los textos */
  line-height: 1;
}

#titulo, #subtitulo {
  margin: 0;
  font-family: Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  display: inline-block;
}

#titulo {
  font-size: 32px;
  color: var(--verde-claro);
}

#subtitulo {
  font-size: 32px; /* el script ajustará este tamaño */
  color: var(--verde-principal);
}
.foto-inicio {
  margin-top: 20px;
  text-align: center;
}

.foto-inicio img {
  width: 100%;
  max-width: 900px;
  border-radius: 10px;
  border: 2px solid var(--borde);
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
