@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Display&family=Roboto:wght@400;500&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f5f4f0;
  color: #1a1a1a;
  font-family: 'Roboto','DM Sans', sans-serif;
  min-height: 100vh;
}

.page {
  padding: 3rem 1.5rem 4rem;
  min-height: 100vh;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 3rem;
}

.header-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.75rem;
}

.header h1 {
  font-family: 'Roboto','DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.1;
}

.header p {
  margin-top: 0.75rem;
  font-size: 15px;
  color: #555;
  max-width: 420px;
  margin-inline: auto;
  line-height: 1.6;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin-inline: auto;
}

/* Card */
.card {
  background: #ffffff;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.card:hover {
  border-color: rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

/* Card preview area */
.card-preview {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.card-preview.teal   { background: #E1F5EE; }
.card-preview.purple { background: #EEEDFE; }
.card-preview.amber  { background: #FAEEDA; }

.card-preview.elancoganaderia { background-image:url('images/elancoganaderia.jpg'); background-size:cover; }
.card-preview.calculadora { background-image:url('images/calculadora.jpg'); background-size:cover; }
.card-preview.calendario { background-image:url('images/calendario.jpg'); background-size:cover; }




.card-preview svg {
  width: 72px;
  height: 72px;
  opacity: 0.7;
}

.preview-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 500;
}

.badge-teal   { background: #9FE1CB; color: #085041; }
.badge-purple { background: #CECBF6; color: #26215C; }
.badge-amber  { background: #FAC775; color: #412402; }

/* Card body */
.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.card-title {
  font-family: 'Roboto','DM Serif Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.2;
}

.card-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  flex: 1;
}

/* Tags */
.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 8px;
  background: #f1efea;
  color: #666;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
}

/* Card footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
  padding: 0.85rem 1.25rem;
}

.btn-demo {
  font-family: 'Roboto','DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  background: none;
  border: 0.5px solid rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-demo:hover {
  background: #f1efea;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1D9E75;
  display: inline-block;
  margin-right: 5px;
}

.status-label {
  font-size: 11px;
  color: #888;
}

.b1 {
  border:1px orange solid;
}




/* Responsive adjustments */
@media (max-width: 600px) {
  .page {
    padding: 2rem 1rem 3rem;
  }

  .card-preview {
    height: 150px;
  }
}
