/* Variables de color fáciles de adaptar a la identidad de la fundación */
:root {
  --bg-page: #f4f7f6;
  --bg-card: #ffffff;
  --primary-color: #0f766e;      /* Verde azulado: transmite confianza y crecimiento */
  --primary-hover: #115e59;
  --badge-bg: #ccfbf1;
  --badge-text: #0f766e;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

/* Contenedor principal centrado en toda la pantalla */
.construction-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* Tarjeta principal */
.construction-card {
  background: var(--bg-card);
  max-width: 1050px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

/* Sección de contenido */
.construction-content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.status-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.construction-content h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.construction-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Formulario de notificación */
.notify-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.notify-form input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.notify-form input:focus {
  border-color: var(--primary-color);
}

.notify-form button {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.notify-form button:hover {
  background-color: var(--primary-hover);
}

/* Pie de contacto */
.contact-footer {
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.contact-footer a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.contact-footer a:hover {
  text-decoration: underline;
}

/* Sección de imagen */
.construction-image {
  position: relative;
  min-height: 320px;
}

.construction-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsividad para tablets y móviles */
@media (max-width: 850px) {
  .construction-card {
    grid-template-columns: 1fr;
  }

  .construction-image {
    order: -1; /* Coloca la imagen arriba en móviles */
    height: 240px;
  }

  .construction-content {
    padding: 2rem 1.5rem;
  }

  .construction-content h1 {
    font-size: 1.65rem;
  }

  .notify-form {
    flex-direction: column;
  }
}