/* AREAS PAGE - reuse page-hero from proyectos.css */
.page-hero {
  position: relative;
  padding: 5rem 2.5rem 4rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(185,239,37,0.15);
}
.ph-content { position: relative; z-index: 1; max-width: 800px; }
.ph-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}
.ph-content p {
  font-size: 1.1rem;
  color: rgba(245,245,245,0.6);
  margin-top: 1rem;
  max-width: 500px;
}

/* AREA SECTIONS */
.area-section {
  padding: 5rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.area-section.alt-bg { background: var(--dark2); }

.area-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.area-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.area-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--dark);
  font-weight: 900;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  flex-shrink: 0;
}

.area-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.area-title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* AREA GRID - 5 items */
.area-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.area-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: all 0.35s ease;
  cursor: pointer;
}

.area-card:hover {
  border-color: rgba(249,81,162,0.5);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.area-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.area-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.area-card:hover .area-card-img img {
  transform: scale(1.08);
}

.placeholder-card-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px dashed rgba(185,239,37,0.2);
  color: rgba(245,245,245,0.3);
  text-align: center;
  padding: 1rem;
  min-height: 140px;
  transition: border-color 0.3s ease;
}

.area-card:hover .placeholder-card-img {
  border-color: rgba(249,81,162,0.4);
}

.placeholder-card-img span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245,245,245,0.4);
}

.placeholder-card-img small {
  font-size: 0.6rem;
  font-family: monospace;
  color: rgba(245,245,245,0.2);
  line-height: 1.4;
}

.area-card-text {
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(245,245,245,0.6);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .area-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .area-section { padding: 3rem 1.5rem; }
  .area-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .area-grid { grid-template-columns: 1fr 1fr; }
}
