/* AWTech 2.0 — identidad visual centralizada
   Basado en A Window Tech - Mini Guide.pdf.
   Cargar después de Bootstrap u otras hojas de estilo, si existen. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  /* Colores corporativos principales del manual */
  --awtech-black: #1E1E1E;
  --awtech-yellow: #FFD700;
  --awtech-white: #FFFFFF;

  /* Colores complementarios del manual */
  --awtech-orange: #FF5A32;
  --awtech-blue: #1987FF;
  --awtech-turquoise: #00BEA5;

  /* Neutros funcionales para interfaz */
  --awtech-gray-900: #252525;
  --awtech-gray-700: #555555;
  --awtech-gray-500: #929292;
  --awtech-gray-300: #D7D7D7;
  --awtech-gray-100: #F5F5F5;
  --awtech-surface: #FFFFFF;
  --awtech-page: #F4F4F2;
  --awtech-border: #E2E2DE;
  --awtech-text: #252525;
  --awtech-muted: #666666;

  /* Tipografías oficiales: Poppins para títulos, Roboto para cuerpo */
  --awtech-font-heading: 'Poppins', Arial, sans-serif;
  --awtech-font-body: 'Roboto', Arial, sans-serif;

  --awtech-radius-sm: 6px;
  --awtech-radius-md: 10px;
  --awtech-radius-lg: 14px;
  --awtech-shadow-card: 0 5px 20px rgba(30, 30, 30, .07);
}

/* Aplicar esta clase al contenedor principal de cada pantalla AWTech. */
.awtech-app {
  min-height: 100vh;
  color: var(--awtech-text);
  background: var(--awtech-page);
  font-family: var(--awtech-font-body);
  font-size: 15px;
}
.awtech-app h1, .awtech-app h2, .awtech-app h3,
.awtech-app h4, .awtech-app h5, .awtech-app .awtech-heading {
  font-family: var(--awtech-font-heading);
  color: var(--awtech-black);
  font-weight: 600;
}
.awtech-app a { color: var(--awtech-black); }
.awtech-app a:hover { color: #555000; }

/* Barra principal: negro corporativo con acento amarillo. */
.awtech-topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 28px;
  color: var(--awtech-white);
  background: var(--awtech-black);
  border-bottom: 4px solid var(--awtech-yellow);
}
.awtech-topbar a { color: inherit; text-decoration: none; }
.awtech-brand-logo {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 46px;
  object-fit: contain;
}
.awtech-brand-logo--dark { background: var(--awtech-yellow); padding: 5px 9px; border-radius: 4px; }

/* Superficies, tarjetas y controles reutilizables. */
.awtech-card {
  background: var(--awtech-surface);
  border: 1px solid var(--awtech-border);
  border-radius: var(--awtech-radius-lg);
  box-shadow: var(--awtech-shadow-card);
  padding: 22px;
}
.awtech-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: var(--awtech-radius-sm);
  font: 500 14px var(--awtech-font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.awtech-btn--primary { color: var(--awtech-black); background: var(--awtech-yellow); border-color: var(--awtech-yellow); }
.awtech-btn--primary:hover { color: var(--awtech-black); background: #F0C900; border-color: #F0C900; }
.awtech-btn--dark { color: var(--awtech-white); background: var(--awtech-black); border-color: var(--awtech-black); }
.awtech-btn--dark:hover { color: var(--awtech-yellow); background: #333333; }
.awtech-btn--outline { color: var(--awtech-black); background: transparent; border-color: var(--awtech-gray-300); }
.awtech-btn--outline:hover { background: var(--awtech-gray-100); }
.awtech-app input, .awtech-app select, .awtech-app textarea {
  font-family: var(--awtech-font-body);
}
.awtech-app input:focus, .awtech-app select:focus, .awtech-app textarea:focus {
  border-color: var(--awtech-yellow);
  outline: 3px solid rgba(255, 215, 0, .20);
  box-shadow: none;
}
.awtech-accent-line { width: 48px; height: 4px; background: var(--awtech-yellow); border-radius: 99px; }
.awtech-badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 99px; background: rgba(255,215,0,.22); color: var(--awtech-black); font-size: 12px; font-weight: 500; }

@media (max-width: 640px) {
  .awtech-topbar { padding: 12px 16px; }
  .awtech-brand-logo { max-width: 175px; max-height: 40px; }
  .awtech-card { padding: 17px; }
}
