/* ═══════════════════════════════════════════════════════════
   AMARANTA - Imagery & Visual Atmosphere
   Estilo: Luxury minimalist legal / Despacho de lujo limpio
   ═══════════════════════════════════════════════════════════ */

/* ══ HERO CON IMAGEN DE FONDO ════════════════════════════ */
.hero-imagery {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-imagery-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Imagen de despacho minimalista */
  background-image: url('../assets/images/office.png');
}

.hero-imagery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 12, 0.92) 0%,
    rgba(10, 10, 12, 0.75) 50%,
    rgba(10, 10, 12, 0.88) 100%
  );
}

.hero-imagery-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
  padding: 140px 0 100px;
}

.hero-imagery-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-imagery-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-imagery-body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-imagery-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ══ SECCIÓN AMBIENTE ════════════════════════════════════ */
.atmosphere-section {
  padding: 120px 0;
  background: var(--s900);
  position: relative;
  overflow: hidden;
}

.atmosphere-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.atmosphere-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
}

.atmosphere-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.atmosphere-visual:hover .atmosphere-image {
  transform: scale(1.03);
}

/* Imágenes específicas por sección */
.atmosphere-image.workspace {
  /* Escritorio limpio, silla de cuero, luz natural */
  background-image: url('../assets/images/workspace.png');
}

.atmosphere-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10, 10, 12, 0.4) 100%
  );
}

.atmosphere-content {
  max-width: 480px;
}

.atmosphere-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.atmosphere-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}

.atmosphere-body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ══ GRID DE IMÁGENES DE ÁREAS ════════════════════════════ */
.areas-imagery {
  padding: 100px 0;
  background: var(--bg);
}

.areas-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.area-image-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.area-image-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(10, 10, 12, 0.9) 100%
  );
  z-index: 1;
  transition: opacity 0.3s ease;
}

.area-image-card:hover::before {
  opacity: 0.8;
}

.area-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.area-image-card:hover .area-image-bg {
  transform: scale(1.05);
}

/* Imágenes por área de derecho */
.area-image-bg.constitucional {
  /* Corte Constitucional */
  background-image: url('../assets/images/constitucional.png');
}

.area-image-bg.administrativo {
  /* Consejo de Estado */
  background-image: url('../assets/images/administrativo.png');
}

.area-image-bg.laboral {
  /* Oficina ejecutiva */
  background-image: url('../assets/images/laboral.png');
}

.area-image-bg.civil {
  /* Escritura, contratos */
  background-image: url('../assets/images/civil.png');
}

.area-image-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.area-image-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 6px;
}

.area-image-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.5;
}

/* ══ FULL BLEED IMAGE SECTION ════════════════════════════ */
.full-bleed-image {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.full-bleed-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Despacho de lujo, vista panorámica */
  background-image: url('../assets/images/office.png');
}

.full-bleed-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.65);
}

.full-bleed-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 600px;
  padding: 0 24px;
}

.full-bleed-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 24px;
}

.full-bleed-attribution {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ══ RESPONSIVE ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .atmosphere-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .atmosphere-visual {
    order: -1;
  }
  
  .areas-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .full-bleed-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 600px) {
  .areas-image-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .area-image-card {
    aspect-ratio: 16/9;
  }
  
  .hero-imagery-content {
    padding: 120px 0 80px;
  }
}
